Commit Graph

3746 Commits (ca3da7a603c449c609d79e1bee6022df0ccf2079)

Author SHA1 Message Date
Audric Ackermann f415ef36dd feat: add sorted contacts list merged by starting char 3 years ago
Audric Ackermann 374b71630a feat: wrap up the new Join Community overlay 3 years ago
Audric Ackermann 282e631f73 feat: add menu action and action chooser left pane option 3 years ago
Audric Ackermann 9e3b76dd28 fix: catch exception when raised in last dljob
this is for attachment download. We don't want  to throw an uncaught
exception in the catch block
3 years ago
Audric Ackermann 19e48c2629 fix: drop column friendRequestStatus if exists 3 years ago
Audric Ackermann ef9b2dfc80 fix: pass the db instance during db migration 3 years ago
Audric Ackermann 9cf874db5e
Merge pull request #2414 from Bilb/sogs-convo-dedup
Sogs convo dedup + fix sogs fetching of sogs messages
3 years ago
Audric Ackermann eabee8f39a fix: split migrations and sql files
also address PR reviews
3 years ago
Audric Ackermann e6b0315a25 fix: trigger sync and initial sogs polling after app start 3 years ago
Audric Ackermann 18ab715e93 fix: sogs messages being skipped and not handled 3 years ago
Audric Ackermann 2faab12c2f chore: update comments about parrallelism in AttachmentJobs 3 years ago
Audric Ackermann fac41bc6c4 fix: migrate session sogs room to their DomaiName syntax 3 years ago
Audric Ackermann 9b405b86ab fix: do not attempt to connect to an sogs already join
make sure we consider http://, https:// and no protocol at all to look
for matches
3 years ago
Audric Ackermann c08f761d47 fix: revert to allow 3 attachments download at a time 3 years ago
Audric Ackermann e6cd277bd2 fix: allow non admin mods to delete message for deletion 3 years ago
Audric Ackermann ef27153c69 fix: make sure existing sogs convo do not break on save
the app was crashing if a convo with an invalid read/write/upload capability was saved during a migration
3 years ago
Audric Ackermann 3d05d35bbb fix: sogs deleted message now comes with `deleted` field set to true 3 years ago
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 40c0b8205e
Merge pull request #2386 from Bilb/fix-call-missed-too-old
fix: show call missed message on call too old received
3 years ago
Audric Ackermann 354022f83d
Merge pull request #2359 from ianmacd/pr33
Trim leading and trailing whitespace on message composition and display.
3 years ago
Audric Ackermann 1feb6ad4df
Merge pull request #2334 from burtonemily/fix_read_receipts
fixing the saved media read receipt
3 years ago
Audric Ackermann c360f8b07c
Merge branch 'clearnet' into pr26 3 years ago
Audric Ackermann e950074d90
Merge pull request #2380 from yougotwill/patch-2
refactor: Removed duplicate check in Message getDescription()
3 years ago
Audric Ackermann 21af9b5c1b
fix: show call missed message on call too old received 3 years ago
Sean Darcy 76a4de692e configure desktop icon for linux appImages 3 years ago
Will G 09dec1246a
refactor: Removed duplicate callNotificationType check in Message getDescription() 3 years ago
William Grant dfb2c3e797 fix: pass yarn ready tests 3 years ago
William Grant d3d0ac80a0 feat: you can now choose where to save the debug logs
debug log window now follows the app theme, logs are save as txt
3 years ago
William Grant aef6d9e8a7 fix: global error copy to clipboard option must not quit the app
this allows for easier debugging. The user must explicitly quit the app when the error window is shown using the quit button
3 years ago
Ian Macdonald aeb5caf921
Trim leading and trailing whitespace on message composition and display. 3 years ago
Audric Ackermann 9251711fa5
fix: optmize markAllAsRead when no expiration timer
we basically do a single sql call to mark everything as read for that
conversation, force unreadCount to 0 and mention state to false, and
trigger read syncs if needed.

the optomization cannot work for conversation with expiration timer for
now
3 years ago
Emily 775ddfda12 fixing the saved media read receipt 3 years ago
Audric Ackermann 19decad766
fix: send read receipt when settings ON and window focused 3 years ago
Audric Ackermann f84762c889
fix: attachments download job trying to send function over ipc 3 years ago
Audric Ackermann beb36c1a46
Merge pull request #2328 from Bilb/fix-auto-play-audio-messages-on-load
fix: disable auto play of audio messages on message first load
3 years ago
Audric Ackermann c3b9cd2b41
fix: error when trying to reply to an attachment
Relates #2327
3 years ago
Audric Ackermann 83b44d0abf
fix: disable auto play of audio messages on message first load 3 years ago
Ian Macdonald 0a5add5869
Update message expiry comment to match what the code does.
The code was changed in c8e7be066e on
2022-04-20, but the associated comment was not updated accordingly.
3 years ago
Audric Ackermann 3595efea99
Merge pull request #2319 from oxen-io/fix-read-receipt
fix: read receipts handling for private chats
3 years ago
Audric Ackermann bfda4c7c01
fix: make sure a convo exists before returning it in search results
There is an edge case if you are in the search results page, and delete
(or get a convo deleted from the network).
The corresponding convo does not exist anymore but the search result
selector still tries to extract values from it.

This commit fixes that issue by returning early if the corresponding
convo is not there anymore
3 years ago
Audric Ackermann 55869fbe37
fix: swap confirm and cancel buttons in the confirmDialog 3 years ago
Audric Ackermann 3713e95a9f
feat: ask user for opengroup pruning on/off 3 years ago
Ian Macdonald 695e867221
Add setting to specify minimum age of open group messages to prune.
When an open group has more than 2000 messages, those older than the
specified number of months will be pruned on application start-up.

Fixes #2310.
3 years ago
Audric Ackermann d5e3f73035 fix: read receipts handling for private chats 3 years ago
Audric Ackermann ea24da0f28
Merge pull request #2318 from oxen-io/fix-release-build
fix:  release build and new contact test
3 years ago
Audric Ackermann f654b0666b fix: contact seed nodes one at a time only
also includes a fix to fix the release builds
3 years ago
Audric Ackermann 71a3e13ea5 test: fix new contact test to use waitForMatchingText 3 years ago
Audric Ackermann e3edff45bd
Merge pull request #2307 from ianmacd/pr27
To aid debugging, don't redact strings when building for devprod.
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
Ian Macdonald 5f7822563a
To aid debugging, don't redact strings when building for devprod. 3 years ago
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