Commit Graph

3746 Commits (ca3da7a603c449c609d79e1bee6022df0ccf2079)

Author SHA1 Message Date
Audric Ackermann d9bc2c5c47
fix: revert unread count color 3 years ago
Audric Ackermann 8de8f014dd
fix: password input errors in seeddialog 3 years ago
Audric Ackermann 26187da521
force duplicates to -10 and 0 for closed groups between HF 3 years ago
Audric Ackermann 02ed40455f
fix: run the cleaning opengroup transaction on startup 3 years ago
Audric Ackermann cfab7057fb
fix moment locale globally 3 years ago
Will G 511567bc78
fix: emoji panel light mode support (#2292)
* fix: emoji panel light mode support

* fix: link darkMode prop to redux state

* fix: use getTheme selector directly
3 years ago
Audric Ackermann 2b1601df2e
Merge pull request #2271 from Bilb/fix-start-app-no-account
fix start of app without account setup
3 years ago
Audric Ackermann 623ad33923
fix start of app without account setup 3 years ago
Audric Ackermann e4e9d535fc
Merge pull request #2290 from Bilb/pre-hf-inboxes
Add inboxes to retrieve & polling of messages and detection of hardfork
3 years ago
Audric Ackermann 6c05ff3c07
move useTestNet to featureFlag dependent on ENV variables 3 years ago
Audric Ackermann 0199e9e027
Merge pull request #2284 from ianmacd/pr22
Report number of deletions when a deletion operation completes.
3 years ago
Audric Ackermann ef62ffaa83
Merge pull request #2285 from ianmacd/pr23
Fix unfilled variable when user deletes messages only for himself.
3 years ago
Audric Ackermann 9bd8b73a0c
fix testnet 3 years ago
Ian Macdonald e0e8f8f444
Fix unfilled variable when user deletes messages only for himself. 3 years ago
Ian Macdonald 09be936aa4
Report number of deletions when a deletion operation completes. 3 years ago
Ian Macdonald 0991c23658
Fix typo in constant name. 3 years ago
Audric Ackermann d948045e6a
added hf switching of poll&store requests + tests 3 years ago
Audric Ackermann 363977b358
add polling from namespace 0 and storing lastHash with namespace 3 years ago
Audric Ackermann 50ca1bcda9
added namespace field and signature using it for our own 'retrieve' 3 years ago
Audric Ackermann b93201fbe6
When deleting multiple messages, inform the user of the number
taken from #2263 by @ianmacd
3 years ago
Audric Ackermann bfb33d14c5
Merge pull request #2269 from Bilb/get-initials-skip-non-alphabet-chars
Get initials skip non alphabet chars
3 years ago
Audric Ackermann 71aa6e8bb4
lint and add test for getInitials and name with '-' as separator 3 years ago
Audric Ackermann 5c9c7173f0
Merge remote-tracking branch 'i/pr9' into get-initials-skip-non-alphabet-chars 3 years ago
Audric Ackermann a115d385dd
merge linkify component to messagebody as this is the only one using it 3 years ago
Audric Ackermann cae4d46492
allow to save attachments even if there is multiple of them
This is a bit dirty for now

Relates #2229
3 years ago
Audric Ackermann 1933bc8270
Merge pull request #2264 from ianmacd/pr19
Style message request counter as per conversation message count.
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
Audric Ackermann 8b299b6153
Merge koray fixes for emoji selection 3 years ago
Audric Ackermann 851d5280e0
fixup build appImage sqlite3 module not found 3 years ago
Audric Ackermann 0efce6ea2d
updating workflows actions version 3 years ago
Ian Macdonald 8107d75e89
Style message request counter as per conversation message count. 3 years ago
Audric Ackermann 4010373a7b
make sure we do not save more than one entry in the read_by
Session has read by only for private chats, so we do not care about
having more than one entry  in read_by
3 years ago
Audric Ackermann 368c0cd01b
drop sourceDevice and other unused json fields from msg table 3 years ago
Audric Ackermann 5c8e2b4044
cleanup swarm unused after removing unused convos 3 years ago
Audric Ackermann 2207b53890
add a test to make sure the targets in package.json are well formatted 3 years ago
Audric Ackermann b8498f7a2b
fix display of spinner while db decrypting 3 years ago
Audric Ackermann 1e713de511
Merge remote-tracking branch 'k/spinner-on-load' into node-side-in-ts 3 years ago
Audric Ackermann dbcae0f844
fix logs privacy test 3 years ago
Audric Ackermann 7c1707f48e
drop old messages of opengroup 3 years ago
Audric Ackermann c8e7be066e
remove messages from opengroup > 2k messages and older than 6 months 3 years ago
Audric Ackermann 335e452730
moved DebugLogView to components folder 3 years ago
Audric Ackermann f4bf960568
Merge pull request #2243 from warrickct/show-group-members-freeze-fix
fix group members sorting causing error.
3 years ago
Audric Ackermann 3cfcf128a5
Merge remote-tracking branch 'upstream/master' into node-side-in-ts 3 years ago
Audric Ackermann 13e2f81f26
Merge remote-tracking branch 'upstream/clearnet' into node-side-in-ts 3 years ago
Audric Ackermann 4baedda349
add tests for opengroup utils 3 years ago
Audric Ackermann 1b2564abf5
fix ci builds 3 years ago
Audric Ackermann 5c9b34fb86
lint files 3 years ago
Audric Ackermann add267ae69
make the util worker be bundled with parcel 3 years ago
Audric Ackermann e5c54cc45e
added some test for DecryptingAttachmentManager 3 years ago
Audric Ackermann b76797d264
do not use a custom sandbox for testing
instead use the one from Sinon as it is exposed for a good reason
3 years ago
Audric Ackermann e11775a2e0
fix color of opengroup invitation 3 years ago
koray-eren d7361f0774 fix linter issue 3 years ago
koray-eren c872f22014 password screen spinner implemented 3 years ago
Audric Ackermann 6001da5ac8
add some [perf] duration measurement 3 years ago
Audric Ackermann af9d2fdfa1
get rid of libtextsecure.js and componnets.js 3 years ago
Audric Ackermann 323b7ec45c
cleanup >2 months old messages in opengroups 3 years ago
Audric Ackermann c6d66ea111
add image smoothing medium when auto scaling images 3 years ago
Audric Ackermann 01bb200b24
reduce number of commits during opengroup handling of message 3 years ago
Audric Ackermann 062db5caab
move filterDuplicatesFromDbAndIncoming to its own file and test
also add pending tests to do for in memory db and updater
3 years ago
Audric Ackermann 0158fd5ebb
filter duplicates on opengroup poll in a single sql call 3 years ago
Audric Ackermann 00d70db0be
queue user profile avatars update
also add some tests for the promise utils
3 years ago
Ian Macdonald d14486b462
Make configuration sync every 2 days, in line with the comment. 3 years ago
Audric Ackermann a9cc9a7294
add tests for attachment metadata 3 years ago
Audric Ackermann 02612280c3
fix multi select including audio messages 3 years ago
Audric Ackermann afd63c230e
remove unused curve compiled files 3 years ago
Audric Ackermann 475c92eeb4
migrate about_start to not use jquery 3 years ago
Audric Ackermann f164302617
remove files which shouldn't be here 3 years ago
Audric Ackermann 261940e978
fix tests 3 years ago
Audric Ackermann 5047e8921b
made all verifi signatures in a single call to the worker 3 years ago
Audric Ackermann 940972db2f
fix libsodium call from webworker 3 years ago
Audric Ackermann b4dc18d65b
migrate app focus logic to events sent from node 3 years ago
Audric Ackermann 1ebff6b3ae
make sure reply is available to read messages
and do not handle read messages for non private convo1
3 years ago
Audric Ackermann 0ebc1d7e92
split attachmnent logic between what is used on main and renderer 3 years ago
Audric Ackermann 332d58027f
show draggable call container when opening settings from call convo 3 years ago
koray-eren d78056618c fix linter issue 3 years ago
koray-eren ebe1ae8f12 fix emoticon search for emoji picker, typo 3 years ago
koray-eren b4a57b32eb changed emoji trigger to exclude non-alphanumeric characters 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 4d72b92b25 app starts but full of errors 3 years ago
Audric Ackermann 909bca8714 Merge branch 'clearnet' into enable-calls-remove-featureflag 3 years ago
Audric Ackermann fe57531797 Sesion 1.8.4 with calls enabled 3 years ago
Audric Ackermann 2b17ad5cfa WIP 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
Ian Macdonald 59d45b69a9
Skip characters that are not in any alphabet or number system. 3 years ago
Audric Ackermann 6e8e8eaa9a move errors.js to ts 3 years ago
Audric Ackermann 79bf0c53ee move libtextsecure/crypto.js to ts
used mostly for attachments encrypting before upload/decrypt and profile
encrypt/derypt
3 years ago
Audric Ackermann 5bc576249b move signal.js to TS 3 years ago
Audric Ackermann ff43cfa593 move worker_interface and logs and i18n to TS 3 years ago
Audric Ackermann 0dfa3e35cc refactor main_node.js to TS 3 years ago
Audric Ackermann afad9f823a
Merge pull request #2237 from Bilb/fix-add-attachments-ourself
make sure the conversation with ourself is marked approvedMe
3 years ago
Audric Ackermann 0719700371 do not end call if connection fails, instead wait for new offer 3 years ago
Audric Ackermann 70ee8cefdc WIP sql.js 3 years ago
Audric Ackermann 9f3379e702 moved global_errors.js to ts 3 years ago
Audric Ackermann f433acda77 move config.js to typescript 3 years ago
Audric Ackermann 175c0e4843 move logging.js to ts 3 years ago
Audric Ackermann d37d7af667 moved permissions.js to ts 3 years ago
Audric Ackermann b36be1cbbb move main.js to main_node.ts, still plenty of errors 3 years ago
Audric Ackermann 5b1379f930 move protocol_filter to typescript 3 years ago
Audric Ackermann 38774a9344 moved a bunch of node files to typescript 3 years ago
Audric Ackermann 12d9a8db78
electron-renderer webpack seems to be generating main_renderer.js 3 years ago
Audric Ackermann bfaeda5cdb
make sure the conversation with ourself is marked approvedMe 3 years ago
Audric Ackermann 0cb4a13494
add tests for timerBucket icon
this marks unit test number 302, previous: 237
3 years ago
Audric Ackermann fd1657037a
add tests for emoji size rendering in messages 3 years ago
Audric Ackermann ba53330afd
add tests for getInitials 3 years ago
Audric Ackermann 2a11d5e71f
trigger a new offer on connect fail if we are caller
the caller is just supposed to accept the offer and send an answer back
3 years ago
Audric Ackermann 51575d2f56
moved views to TS but broken 3 years ago
Audric Ackermann 449751a891
remove some refs to Signal.Data in ts 3 years ago
Audric Ackermann d99cdc48f4
rename background.js to main_start.js 3 years ago
Audric Ackermann 15260c9718
move logging.js to ts 3 years ago
Audric Ackermann 7d570fec52
move linkPreviews.js to ts 3 years ago
Audric Ackermann 0e2cf98d96
move privacy.js to ts 3 years ago
Audric Ackermann 6bd835dfc3
move storage.js to ts 3 years ago
Audric Ackermann 747bcb766c
move notifications.js to ts 3 years ago
Audric Ackermann 6334f7cb45
move registration.js to ts 3 years ago
Audric Ackermann 0d4059ccb1
move read_receipts to ts 3 years ago
Audric Ackermann 0b814d4d16
remove read sync as we do not care about them on Session 3 years ago
Audric Ackermann 1ff836865a
after moving focusListener to ts 3 years ago
Audric Ackermann e78224db05
after moving expiring message and wallclock to TS 3 years ago
Audric Ackermann d7f84168ac
before start of moving bg JS to TS 3 years ago
Audric Ackermann ce0848c8bf
Merge branch 'clearnet' into updater-reword 3 years ago
Audric Ackermann 9d4989b66d
cleanup constants.tsx file
and fixup commit id showing at the bottom in settings
3 years ago
Audric Ackermann 89757a95a6
use readyForUpdates to trigger update from renderer
this is used to only start the updater once the fileserver returned use
the latest release
3 years ago
Audric Ackermann 2f02d3e21c
use source instead of senderIdentity to check for approved new group 3 years ago
Audric Ackermann d2fc384d16
fix text selection on text 3 years ago
Audric Ackermann 67e2fea70c
Merge pull request #2207 from ianmacd/pr8
Allow user names up to 26 characters long, in line with Android.
3 years ago
Audric Ackermann 74cf88cf81
create closed group mark as approved
also, do not filter closed group based on the isApproved field in redux
3 years ago
Ian Macdonald a11b078d5b
Allow user names up to 26 characters long, in line with Android.
See https://github.com/oxen-io/session-android/blob/master/libsession/src/main/java/org/session/libsession/utilities/SSKEnvironment.kt#L29
3 years ago
Audric Ackermann 234e9b160e
Make sure updater do not hit github before checking fileserver 3 years ago
Audric Ackermann 49bae1925d
open message request reset opened convo and is a settings itself 3 years ago
Audric Ackermann 878c870a8b
initials are always uppercased 3 years ago
Audric Ackermann 2cf2d9eff7
make sure datebreak keep text color 3 years ago
Audric Ackermann 461ce4a7fb
Merge branch 'clearnet' into fix-unread-indicator-light 3 years ago
Audric Ackermann 551fc4e2d7
make the unread message banner on a single line 3 years ago
Audric Ackermann ad653e4aac
change sent background and text color for light mode
use black text on green instead of white on darker green
3 years ago
Audric Ackermann 43d133519e
do not shrink member list items when list is full 3 years ago
Audric Ackermann 602a287263
join closed groups from config only on the first config message 3 years ago
Audric Ackermann e853f57e6b
fix unread indicator color for light theme 3 years ago
Audric Ackermann 71aa6c813c
Merge remote-tracking branch 'upstream/clearnet' into fix-i18n-with-dollars-sign 3 years ago
Audric Ackermann 359dcaa43a
Merge pull request #2174 from warrickct/msg-request-ui-2
Message request
3 years ago
Audric Ackermann 75c7c7c27f
try a fix to prevent window from jumping with low number of messages 3 years ago
warrickct 3424fa88e8 Remove typing for blocklist on window. Minor formatting 3 years ago
warrickct b166a0483a Adding logging output for dropping outdated config messages. Removing libsodium-wrapper usage as we use sumo version now. Making target for linux build on one line. 3 years ago
warrickct b79be5b502 adding linting fixes. 3 years ago
warrickct 5adca482bd Fix open groups not being restored when restoring device from recovery phrase. 3 years ago
warrickct 4ee51b4ee9 Removing open group blocklist code. 3 years ago
Audric Ackermann 8a13a9e6e0
Merge pull request #2183 from ianmacd/pr5
Use up to two scaled placeholder characters for users with no avatar.
3 years ago
Audric Ackermann e1f2393c3a
cleanup translated strings 3 years ago
warrickct 614cdccd2c Switch to window logging. 3 years ago
warrickct f3cefdcf49 Add logging for debugging. 3 years ago
warrickct 096e1d24df Fix linting error, remove unnecessary conditional 3 years ago
warrickct 380d55066a Reducing excessive calls to open group blocklist. 3 years ago
Ian Macdonald fa0c1fff88
Use up to two scaled initials as a placeholder for users with no avatar.
If the user's name consists of just a single word, then use up to two
letters from that word as the placeholder.

This provides better differentiation of users than the current practice
of using just a single letter for everyone.
3 years ago
warrickct 75191ae757 Add blocking joining open group based on blocklist. 3 years ago
warrickct 821f4d73ff Merge branch 'clearnet' into msg-request-ui-2 3 years ago
Audric Ackermann f1900f9f36
remove some unused strings
and fix tos links #2176
3 years ago
warrickct 913947a517 Minor padding fixes 3 years ago
warrickct 0f7bf5d2d1 Remove unnecessary conditional 3 years ago
warrickct 3c2cc9be8a Only check for incoming messages on initial render of request UI. 3 years ago
warrickct 322c9756ca switch to lodash pick 3 years ago
warrickct 68eceae153 fixed flex behaviour for call and avatar convo header buttons. 3 years ago
warrickct cf6a5b3446 Request banner appearing and tallying based on only unread requests 3 years ago
warrickct 451fb351a3 removing comments 3 years ago
warrickct f7a4e7ee81 Move disappearing message indicator to right of conversation header. 3 years ago
warrickct e4f4328232 rename request evaluating function for clarity. Prevent disappearing messsages from being activated by request recipient before the request has been accepted. 3 years ago
warrickct 7315651c63 Adding unstaged changed from last commit. (adding accept/decline to convo header menu and removal of disappearing messages menu item) 3 years ago
warrickct 61cdae7622 Remove disappearing messages from convo header menu, added accept and decline menu options. 3 years ago
warrickct dd0aa4ea92 Fixed hook for evaluating menu item rendering. 3 years ago
warrickct f5bc347898 Fix conversation header overlapping at small widths. 3 years ago
warrickct ebf3198818 Remove dash typo for zoom settings. 3 years ago
warrickct 3be0f86978 Menu options have black text when highlighted. 3 years ago
warrickct 88f719ed6e Fix case where error occurs after leaving a group. 3 years ago
warrickct e3e6e5b655 Removing mark all as read menu option from request items. 3 years ago
warrickct 6552f032be Fixing right click menu interactions with the request banner 3 years ago
warrickct 049f86a6e9 Fix conversation header centering alignment. 3 years ago
warrickct eed72a6b1b Removing some menu items from message request context menu. 3 years ago
warrickct 56c1a06a28 Adding rightclick accept/decline menu options for message requests. Adding hide menu item for message request banner. 3 years ago
warrickct 600ef86ea7 linting fixes 3 years ago
warrickct 065b8ab533 Added closing declined conversation requests if theyre open. Return to regular inbox on clear all. 3 years ago
warrickct af4457f68f Clicking message icon in action panel closes request overlay. 3 years ago
warrickct 07533232fb Move clear all button for request to bottom of overlay panel. 3 years ago
warrickct 5888fecda4 Add confirmation dialog for clear all message requests. 3 years ago
warrickct 79c1c52034 Dont send read receipts for msg requests or blocked convos. 3 years ago
Ian Macdonald 0c0543cc45
Use accent colour to distinguish last read indicator. 3 years ago
warrickct 1ca66e6bcf Fix read receipts being considered as inferred request approvals. Fix preventing subsequent request messages from reactivating the request banner. 3 years ago
warrickct c5afcb72df stack tracing 3 years ago
warrickct c2722ed87f fixing linting errors. 3 years ago
warrickct 08ba24c3c9 refactoring 3 years ago
warrickct 5437433232 Fix passing wrong values to convo list. 3 years ago
warrickct 93f37ba66f Refactoring to evaluate conversation request status in a single place. 3 years ago
warrickct 2b42290bca Fixing case where restoring device restores declined message requests. 3 years ago
warrickct 9338f2fc20 Fixed issue preventing approval message being shown as approval was set before handling config messages ending the handling early. 3 years ago
warrickct ba30dc57c2 Adding conditional to prevent adding multiple approval sync messages for the acceptor of the request. 3 years ago
warrickct 2b84a53959 Fixed conditional stopping sync of convo approval from firing due to inferred approval from polled messages with incoming direction. 3 years ago
warrickct 2d9679315c Fix convo screen request UI appearing when creating a new convo while having another convo active with incoming messages. 3 years ago
warrickct 5cc7ccbfa8 fixing accepted convos not appearing in inbox. removing blocked contacts from contact list. 3 years ago
warrickct 2258c6da4c Fixing linting errors. 3 years ago
warrickct 2957c131c0 removing blocked convos no longer appear in regular inbox and using processing of polled swarm messages to infer approval. 3 years ago
warrickct 18a739b05b update local UI for blocking all conversations. Removing some unused vars 3 years ago
warrickct a90960c502 Fix conditional for config message to avoid false negatives. 3 years ago
warrickct 539458fe8a Adding setting of approval fields on message processing. 3 years ago
warrickct 5002a77e60 Dont send typing message to unapprove conversations. 3 years ago
warrickct e5ecb9c106 Adding checks for potentially undefined fields on config messages to prevent false negatives. 3 years ago
warrickct 8ba0020a6c Add extra conditional for more than 1 message in the same chat. 3 years ago
warrickct 9bbac225ad Remove prevention of sending more than one message for an unapproved conversation. 3 years ago
Audric Ackermann 3fed22048b
rename a few loki to session 3 years ago
warrickct 8dfd748ce0 adding conditional for only 1-1 convos to disallow disappearing messages. 3 years ago
warrickct c0622d47f4 Disallow disappearing messages if convo is not approved by recipient. 3 years ago
warrickct f5972a5d1c Calling setting convo isApproved. Removing some unnecessary conditionals. 3 years ago
warrickct ffad806366 Prevent attachments being sent for unapproved conversations. 3 years ago
warrickct 09bcbe6139 Adding empty state for request list. 3 years ago
warrickct dcd78e85f6 QA fix - msg request accept buttons showing at wrong stage. 3 years ago
warrickct e049934510 Handling approval edge cases for restoring devices. 3 years ago
warrickct bfec321da7 PR changes 3 years ago
warrickct abc188e889 Additional PR changes 3 years ago
warrickct efa482b002 adding pr changes 3 years ago
warrickct 0db3c76756 Fixing linting errors 3 years ago
warrickct 893f7e99b8 Merge branch 'clearnet' into message-request-ui 3 years ago
warrickct 3138279a8d remove unapprove 3 years ago
warrickct c3d9912572 Adding handling of edge case for messaging clients without request approval update. 3 years ago
warrickct 6a02846829 Correcting merge errors. 3 years ago
Ian Macdonald 6613161b20
Don't nanny the user. Allow all file types as attachments.
The Android client already has no such restrictions, and these are
ineffective anyway, as they are based on the file's name, not its
payload.
3 years ago
warrickct ee9156d4f8 Merge clearnet into message-request-ui 3 years ago
warrickct 8ebfa4b7a3 Move message receival UI toggling to event. 3 years ago
warrickct bc6edd7774 Adding unhiding of message request banner when receiving a new convo request. 3 years ago
warrickct 8eeec6b96c Exclude unapproved contacts/conversations from contacts list. 3 years ago
warrickct 7223fc067f Adding ability to view requests from settings. 3 years ago
warrickct 07f6681aae Refactoring subcomponents. Adjusting conditional inbox filters to always apply msg request logic. 3 years ago
warrickct ac8c4ac2eb Removing msg req feature flag. 3 years ago
warrickct 8a8a5ca82c removing pubkey from message request response. 3 years ago
warrickct f93a2e5fad Adding more PR review changes. 3 years ago
warrickct 36ca2a767c Adding PR changes 3 years ago
warrickct 0461454e27 Removing toast on request accept 3 years ago
warrickct 02cf6fea2b minor styling fixes 3 years ago
warrickct 11e6d80419 minor renaming. 3 years ago
warrickct d627b8e11d Requesting flow working with sending message as acceptance. 3 years ago
audric 5b34419461
disable selection update on emoji selected for now
this is kind of broken when adding emojis not at the end
3 years ago
audric 78b84d4ed8 call: pick a sample of 2 of the iceservers before creating connection 3 years ago
audric b1221c6809 call: show video buttons if the cursor is over the app anywhere 3 years ago
audric 5c8e4ef12b call: add local stream display in fullscreen 3 years ago
Audric Ackermann 445852eca1
split up a bit of the mentions/emoji input 3 years ago
Audric Ackermann 2478a78794
move mentions and emojify to a functional component 3 years ago
Audric Ackermann 19722b6bdc
remove other emoji dependency and use unicode to render them in message
Relates #2151
3 years ago
Audric Ackermann 8efc23d619
pull translations from crowdin 3 years ago
Audric Ackermann 1efe6ca728
click oin @ bring to latest mention 3 years ago
Audric Ackermann 42ccf06ff0
fetch last active users quicker on convo changes to public convo 3 years ago
Audric Ackermann a19a6a33c7
migrate already set nickname convo to name + profileName index 3 years ago
warrickct cdeac8f424 Adding protobuf changes for message request response. 3 years ago
Audric Ackermann a3eb80abcf
fix group updates outgoing message status in left pane 3 years ago