Commit Graph

565 Commits (203e4992c358ad45e9ab5bb9c66ddb1bed7aae64)

Author SHA1 Message Date
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 247cb7c065 cleanup dependencies 3 years ago
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 3 years ago
Audric Ackermann 3d87f0d5a2
enable calls and bump Session to 1.8.0 3 years ago
Audric Ackermann ce1e81a3e3
disable call for now + fix left pane actions overflow (#2085) 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 1a699879cf
Add call duration (#2059)
* add call duration once connected

* close incoming call dialog if endCall from same sender

* disable message request toggle if featureFlag is OFF
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
warrickct 9823a700e2 Addressing PR fixes 3 years ago
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 3 years ago
warrickct 2e2941ba9b message request refactoring. 3 years ago
warrickct 2eab74246b PR changes. Disabling message requests behind feature flags. 3 years ago
Audric Ackermann 390af96514
WIP 4 years ago
Audric Ackermann dd281de903
cleanup feature flags 4 years ago
Audric Ackermann 5d9565a559
fix menu action for unsending messages 4 years ago
Audric Ackermann 314b76388f
WIP 4 years ago
Audric Ackermann f74ce2a3ae
msg with attachments gets no bigger than the attachment container 4 years ago
Audric Ackermann 99b139f5c4
split settings folder and start adding the settings for video call 4 years ago
Audric Ackermann bd53490d80
enable unsend requests 4 years ago
Audric Ackermann 6bd8b3695a
remove deferred promise unused 4 years ago
Audric Ackermann 1e8c8991ad
more cleanup 4 years ago
Audric Ackermann fa32e61982
network delete_all force retries if we get a 421 4 years ago
Audric Ackermann d55c96cb67
setup webrtc between two pubkey 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 b45109985c
use timestamp offset in for messages storage requests (#1892)
* add using timestamp offset from network for sending part1

* remove MessageController as we now rely on the database

* fix tests for message sending overriding timestamp
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 1af08311dd fix tray cannot be destroyed
Relates #https://github.com/electron/electron/issues/17622
4 years ago
audric e5dab2781e remove spectron dependency 4 years ago
audric 1ffadad2ad remove ip_url from seed nodes as this is unused 4 years ago
audric c58312e853 do not render typing animation at all if not typing 4 years ago
audric 751a8f1882 start in tray setting directly creates the tray icon 4 years ago
audric 612e99af4a add a setting to start the app with a tray icon
Relates #1759
4 years ago
audric c276bf8dbe fix delete_all endpoint for testnet 4 years ago
Brice-W c415c715a5 added access to camera check 4 years ago
Brice-W 347038cf82 added microphone access check 4 years ago
audric 4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 4 years ago
Brice-W 8256451ec6 enable pinning conversations 4 years ago
Audric Ackermann af00c31a54
remove blake2b unused stuff 4 years ago
Audric Ackermann 02bc52f5ec
remove decrypt-lns unused 4 years ago
Audric Ackermann 85e0c9cf36
remove backup_test, backup and crypto related to backup only 4 years ago
Audric Ackermann 5b0b165ba9
Merge remote-tracking branch 'upstream/clearnet' into perf-improv 4 years ago
Brice-W ff7f201e04 add feature flag 4 years ago
Audric Ackermann c8aa73626e
do not load right panel data unless it is visibl 4 years ago
Audric Ackermann ef0b07bb7a
WIP 4 years ago
Audric Ackermann e090b8e8c6
remove getInstance on swarmPolling 4 years ago
Audric Ackermann e9e718bfcb
remove getInstance on MessageController=> getMessageController 4 years ago
Audric Ackermann 0b410404a3
remove keypair request manager 4 years ago
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 4 years ago
Audric Ackermann 9204d2f5dd
remove importer 4 years ago
Audric Ackermann 93e43fe929
move conversation dialogs to redux store 4 years ago
Audric Ackermann b4fc19fa78
remove lodash calls left from window 4 years ago
Audric Ackermann 744be229b7
move the PN server notify() to not use dot_net_api 4 years ago
Audric Ackermann 6f8c8ee1b3
remove most of sogsv1 and fsv1 and update version fetch url
version fetch is used to know when we have a new update
4 years ago
Audric Ackermann a2ee3ac98f
Merge remote-tracking branch 'upstream/clearnet' into scoring-system 4 years ago
Audric Ackermann 8c726fd745
reupload avatar every 10 days 4 years ago
Audric Ackermann a2ea02960e
add some retries for not already retries requests 4 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 4 years ago
Audric Ackermann c599d0b629
WIP 4 years ago
Audric Ackermann 12d40aa94e
Fix attachment extension vnd (#1628)
* allow openoffice document extension and don't use

* allow opendocument to be shared with the extension rather than mimetype

Fixes #1593

* allow message without padding

* add test for odt files
4 years ago
Audric Ackermann 8cb50ebc91
move onionPath building to outside of index.ts 4 years ago
Audric Ackermann 58abd08e6d
Get snode from snode (#1614)
* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo
4 years ago
Audric Ackermann 5525312542
syncConf every 7 days and fix link device 4 years ago
Audric Ackermann 7ec663df71
move SwarmPolling from window to require singleton 4 years ago
Audric Ackermann 9bf3cb1880
cleanup actionPanel 4 years ago
Audric Ackermann 710c9fa269
fix http request over onion 4 years ago
Audric Ackermann cca4de710b
remove featureFlag onion v2 => if onion enabled it is v2 4 years ago
Audric Ackermann 0c0da48150
remove pow 4 years ago
Audric Ackermann 98b69c17f0
add userblocking opengroupv2 and quoting back of messages 4 years ago
Audric Ackermann 8a77c2bc9d
enable outgoing padded attachments 4 years ago
Audric Ackermann 34148e67ec
add return of url after v2 attachment upload 4 years ago
Audric Ackermann 786cd384fb
add the OpenGroupManagerV2 logic to add and remove rooms 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann 6896cffd75
Merge branch 'clearnet' into HEAD 4 years ago
Audric Ackermann 27323a12f4
Merge branch 'master' into clearnet 4 years ago
Audric Ackermann b9586c90ce
working open group v2 getInfo for https only 4 years ago
Audric Ackermann d98700b17f
allow unpadding of attachments if needed
currently, the padding of attachments is disabled behind  a featureFlags
4 years ago
Audric Ackermann ccf8a31ae3
move Attachments and Attachments_test to typescript 4 years ago
Audric Ackermann b588edb243
fix update of locale moment 4 years ago
Audric Ackermann b28687980c
fix update of locale moment 4 years ago
Audric Ackermann 35e57f2509
move mnemonic.js to typescript 4 years ago
Audric Ackermann 6fbe060973
move deleteAccount() to AccountManager 4 years ago
Audric Ackermann e6cf28cb2a prettier on pre-commit 4 years ago
Audric Ackermann 5d6d81b9ef Move accountManager to typescript 4 years ago
Audric Ackermann c55f204440
Merge branch 'clearnet' into restore-handle-configuration 4 years ago
Audric Ackermann 0a82bf98fa
Add displayName and avatar pointer to ConfigurationMessage 4 years ago
Audric Ackermann e466062f15 WIP 4 years ago
Audric Ackermann 1fc672da28 adress review 4 years ago
Audric Ackermann 5ab3680903 make OnionPath a singleton and build path on app Start only 4 years ago
Audric Ackermann 3ee0ccfac8 remove the forceSave logic for a message, always insert or replace 4 years ago
Audric Ackermann 8ea9f02cec Move data.js to data.ts 4 years ago
Audric Ackermann 7b81c4213a
Merge clearnet 4 years ago
Audric Ackermann 78e7255cb8
send the keypair to added members if we are admin
and remove request encryption keypair handling
4 years ago
Audric Ackermann 36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann df0b44db4c
Merge remote-tracking branch 'upstream/clearnet' into multi-device-v2 4 years ago
Audric Ackermann b76ce0f2ff
update models to TS part2 4 years ago
Audric Ackermann 65ed81e980
enable explicit group updates on the sending side 4 years ago
Audric Ackermann 60afbe7b06
fallback to es for moment when given locale is es-419 4 years ago
Audric Ackermann 0d3e515843
fix max size of closed group back to 100 4 years ago
Audric Ackermann 89ea946b3f
disable sending of explicit group updates for now - only receiving is ON 4 years ago
Audric Ackermann 0fe026ab15
Fix the password length limit when not setting a new password
Relates #1446
4 years ago