Commit Graph

63 Commits (67153bbb0782d825d51cbc6f395dc2a5ca22ac2b)

Author SHA1 Message Date
Audric Ackermann 242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver (#2347)
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
3 years ago
Audric Ackermann 55869fbe37
fix: swap confirm and cancel buttons in the confirmDialog 3 years ago
Audric Ackermann ec76057c5e
Merge integration test (#2313)
* Testing playwright for Desktop automation

* add more data-testid field

* remove commited test-results

* test: skip group upkeep for now

* test: mention test create group instead of restoring from seed

* test: run on testnet

* fix: revert messagebanner unread count changes

from commit 8107d75e89

Co-authored-by: Emily <emily@oxen.io>
3 years ago
Audric Ackermann 8de8f014dd
fix: password input errors in seeddialog 3 years ago
Audric Ackermann da9df532b0
Merge pull request #2242 from Bilb/node-side-in-ts
Node side + web worker in typescript
3 years ago
warrickct 3eb6bec908 fix group members sorting causing error. 3 years ago
Audric Ackermann 9f8920ef2c mostly working but need to improve perfs 3 years ago
Audric Ackermann 280cc494e8 test with webpack - not working 3 years ago
Audric Ackermann 2dfd09a7b1 app kind of start background side 3 years ago
Audric Ackermann ff43cfa593 move worker_interface and logs and i18n to TS 3 years ago
Audric Ackermann 449751a891
remove some refs to Signal.Data in ts 3 years ago
Audric Ackermann 6bd835dfc3
move storage.js to ts 3 years ago
Audric Ackermann e1f2393c3a
cleanup translated strings 3 years ago
Audric Ackermann ceb5317160
remove profile_images as we are not using it 3 years ago
Audric Ackermann 6f5bca6660
allow more characters to be used in display name
We just deny the one used to add markers around a mentions on the
desktop client. which is ᅭ

Relates #2132
3 years ago
audric a21751c611
open convo on last unread, and can scroll up 3 years ago
audric e515ce3ca5 Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment 3 years ago
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 3 years ago
Audric Ackermann 580a59ba3c
refactor menu items to react components 3 years ago
Audric Ackermann 790120f484
add data-testid to sessionIdEditable 3 years ago
Audric Ackermann 18e13b9b98
move confirm action on right on all dialogs 3 years ago
Audric Ackermann 38325215e6
Unban UI (#2091)
* adding basic functionaliy for unbanning a user

* merge ban and unban user dialog in to one dialog

Co-authored-by: warrickct <warrickct@gmail.com>
3 years ago
Audric Ackermann b68cb07e3e
add crown icon for closed group admins (#2084) 3 years ago
Audric Ackermann 58dc3e26ca
reactify group updates text bubble from redux store (#2083) 3 years ago
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
3 years ago
Audric Ackermann 48e7a0e25f
Various UI fixes (#2070)
* cleanup unused convo json fields in db

* display a toast if the user is not approved yet on call OFFER received

* enable CBR for calls

* do not update active_at on configMessage if !!active_at

* remove mkdirp dependency

* disable call button if focused convo is blocked

* quote: do not include the full body in quote, but just the first 100

* click on the edit profile qr code padding

* Allow longer input for opengroup join overlay

Fixes #2068

* Fix overlay feature for start new session button

* make ringing depend on redux CALL status

* turn ON read-receipt by default
3 years ago
Audric Ackermann 651b1c4376
Fetch translations (#2056)
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

* show incoming dialog if we have a pending call when enable call receptio

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

also, merge that notification with the timer and group notification
component

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety

* add type for i18n to run update after crowdin  fetch with tools/updateI18nKeysType.py

* update to latest translations
3 years ago
Audric Ackermann cf44896a03
Minor call tweaks (#2051)
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

* show incoming dialog if we have a pending call when enable call receptio

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

also, merge that notification with the timer and group notification
component

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety
3 years ago
Audric Ackermann 894349e710
cleanup props passing of avatar and name with a custom hook 3 years ago
Audric Ackermann 4ce1b7813a
add data-testid for leftpane sections and edit profile dialog 3 years ago
Audric Ackermann f91ed7729b
cleanup SessionCompositionBox 3 years ago
Audric Ackermann 55313deb91
add a show user details option in the menu
Fixes #1971
4 years ago
Audric Ackermann fa32e61982
network delete_all force retries if we get a 421 4 years ago
Audric Ackermann 76100903cb
show ip of onion path on hover of country name 4 years ago
Audric Ackermann 0382d703c5
Merge pull request #1929 from ianmacd/pr1
Display the service node's IP address after its country.
4 years ago
Ian Macdonald 14bcbe4ab6
Display the service node's IP address after its country. 4 years ago
Warrick 1d459ba533
Unsend messages (only message hashes saving for now is enabled) (#1891)
* WIP unsending message.

* retrieving message with hash from db on receiving unsend request.

* outgoing messages hashes updated on message sent success

* unsend messaging

* unsend message - deleting messages and marking as isDeleted.

* add msg hash to unprocessed records.

* Message unsending working for closed groups provided the message has been updated with a hash from server.

* adding 2-stage confirmation modal for message deletion

* adding rendering of removed incoming messages, disabling rendering of unsent outgoing messages in coversation screen.

* Adding logging

* debugging.

* outgoing only saved for sync message instead of regular message.

* deleting locally

* adding post unsend deletioncode.

* starting adding feature flag.

* Added feature flag.

* addding mandatory messageHash  pollling pipeline methods swarm polling.

* Conversation list item message preview showing deletion placeholder text if deleted.

* add condition to drop unsend requests not send by message author

* refactoring deleteMessage. Saving response hash for closed group message sending

* running yarn ready

* removing logging.

* Adding PR fixes

* Minor changes and running yarn ready

* fix typo

* Moved feature flag to lokiFeatureFlags. Fixing linting errors


Co-authored-by: Audric Ackermann <audric@loki.network>
4 years ago
Audric Ackermann ab75f945ff
Ask confirm before delete account (#1910)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* fix app start delete db when passowrd error

* fix double dialog issue with delete account

* fixup login screen
4 years ago
Audric Ackermann 25453ee807
Speedup body update composition box (#1911)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* move drafts outside of redux to speedup body message writing
4 years ago
audric bd7d88e170 remove theme from css and used variables instead 4 years ago
audric 350f00283b move tsx and theme to css variables part1 4 years ago
audric a30876fd65 removed the enum from SessionIconType. Just rely on the type itself 4 years ago
audric 8ebcb2d1e1 replace SessionIcon size enum with type 4 years ago
audric 7fa50b4a73 do not pass props not needed between message list components 4 years ago
Warrick Corfe-Tan ebb37b44b6 Merge branch 'clearnet' into registration-progress-banner 4 years ago
Audric Ackermann eed48094fe
Merge pull request #1851 from warrickct/simplify-onboarding
Combining registration steps.
4 years ago
Warrick Corfe-Tan dbc19adeb8 Adding PR changes, running yarn ready 4 years ago
Warrick Corfe-Tan f9ad63d58b Merge branch 'clearnet' into registration-progress-banner 4 years ago
audric 8a19b50c0f fix attachment not being uploaded since electron upgrade 4 years ago
Warrick Corfe-Tan f255f674c8 Refactoring subcomponents to fix ts-lint errors. 4 years ago