Commit Graph

15 Commits

Author SHA1 Message Date
jolavillette
2748b44fb2 webui v144: remembered friends must expire, and go when the friend goes
refreshGpgDetails() re-injects every remembered friend the core does not return,
and nothing ever removed one: a short-invite peer that never validates, or one
the user deletes, came back on the next refresh and survived a browser restart,
with no way to get rid of it from the web UI.

A remembered friend is a placeholder for the seconds the core needs to catch up
with an add that has just returned, so it now carries the time it was made and
is dropped once that window has passed. Removing a friend drops it immediately,
before the refresh that would have restored it -- and that refresh now waits for
removeFriend to answer instead of racing it.

The store is also keyed per node: it lives in localStorage, which is shared by
every RetroShare profile reached from the same browser, and their friend lists
have nothing to do with each other.
2026-08-16 13:08:25 +02:00
defnax
71688feac2 Fixes Ui issues
- Correct full-certificate friends being incorrectly marked “Pending validation.”
- Refresh identity lists immediately after creating an identity.
Update open chat-room and distant-chat identity selectors automatically.
- Replace the broken signed-identity password popup with a responsive mobile form.
- Allow creation of the first signed identity without requiring an existing signed identity.
Filter temporary all-zero GXS IDs.
- Wait for RetroShare to expose the real generated identity ID.
- Retry identity-detail loading when RetroShare temporarily returns empty data.
- Display the fetched nickname instead of “Unknown.”
2026-08-15 22:43:19 +02:00
defnax
1c615bdb89 Fixing adding friends via Short ID 2026-08-15 17:33:08 +02:00
defnax
e7e2c3365e Added to show Location datails 2026-08-12 18:24:54 +02:00
defnax
f670319331 Added to show pgp fingerprint 2026-08-12 17:53:35 +02:00
defnax
41e995e3c8 Added to show custom status on network page 2026-08-09 14:05:08 +02:00
jolavillette
d5fb6a532b lint: apply eslint --fix to the new code
master gained an eslint config in 35c5c17 and the code added here predates
it, so `npm run lint` fails on this branch. This commit is the mechanical
part only, produced by `eslint app --fix` with no hand editing:
object-shorthand, quote style, trailing whitespace, prefer-const.

Twenty-two problems are left because they need a decision rather than a
rewrite rule, the two worth looking at first being real:

  boards/board_view.js:499,503  'forumId' is not defined  (no-undef)

`renderComment` calls `util.voteForPost(forumId, ...)` for the up and down
vote buttons, but no `forumId` exists in that scope - it looks like it came
over from the forums code. Voting on a board comment therefore throws
ReferenceError and silently does nothing.

The other twenty are unused bindings left behind by the refactors
(`get64Num`, `loadLobbyDetails`, `Message`, `SubscribedLobbies`,
`PublicLobbies`, `LayoutSingle` in chat.js, `closePopup` in
board_kanban.js, `bsubscribed`/`bposts`/`createDate`/`lastActivity` in
boards_util.js, `displaycomment` in channel_view.js) plus a few dead
assignments. `npm run lint` lists them all.

Drop this commit if you would rather keep the diff to your own changes.
2026-08-08 17:10:58 +02:00
defnax
8157f6dd16 disabled getAvatar api call 2026-07-26 21:00:28 +02:00
defnax
4742a87040 Added identicon display 2026-07-06 15:46:55 +02:00
defnax
c1eb3a767c Improved Network page 2026-07-05 18:49:22 +02:00
Avinash Kumar
53fa5aeec4
UI improvement && logic code for people Webpage (#33)
* fix checkout alignmnet

* fixed create identity issue

* added logic for edit identity as well as create identity

* final changes

* UX changes

* minor fixes

* Signed Create identity is working now

* minor changes

* friend node profile pic is aligned now

* People->Edit && create identity popup responsive

* updated & refactor code

* changes added

* Update people_ownids.js

* Update people_util.js

* feat: people Web page  UI

* minor-fix

* fix prettier & eslint issue

* updated changes

* updated changes

* minor fix

* update changes
2021-04-27 00:08:15 +05:30
zeners
f09d6b0ca9
try to fix eslint and prettier issues (#32)
* fix eslint + prettier issues

* fix eslint config (remove with prettier clashing indent rules)

* fix eslint warnings
2021-04-20 18:30:39 +05:30
Mohammed Saud
93fa7c430e use Promises and awaits for fetching data 2019-10-08 20:19:55 +05:30
Mohammed Saud
0fd9010dfc display last seen, online for each node separately 2019-10-06 22:05:13 +05:30
Mohammed Saud
653d977130 separate data from component 2019-10-06 19:26:18 +05:30