Emily
9e3a569fac
Adding tests set nickname, call checks, change profile picture on linked device and unsend message check. Adding into data-testids for aforementioned tests and cleaning up typings
3 years ago
Audric Ackermann
4d0e79f195
fix: legacy group with wrapper and disable right click while searching
3 years ago
Audric Ackermann
2a4bbbd587
feat: add the deleteContact and deleteConversation only menu items
3 years ago
Audric Ackermann
760ce5caa5
fix: add the maxSizeMap to have priority per retrieve namespaces
3 years ago
Audric Ackermann
6f6620f622
fix: skip new group messages when receved after group was removed
3 years ago
Audric Ackermann
bac2887c28
fix: update with latest libsession util
3 years ago
Audric Ackermann
318a77be4b
fix: mark messages sent before our lastreadts from the wrapper as read
3 years ago
Audric Ackermann
328c131d8b
chore: cleanup commented caching code of some wrappers
3 years ago
Audric Ackermann
3cd52d5b1a
fix: add currentHashes and update expiry on every poll
3 years ago
Audric Ackermann
44483b7d23
fix: use releaseFeature from disappearing message PR as featureFlag
3 years ago
Audric Ackermann
8edb1275c2
fix: keep updating dumps even if user config feature is off
3 years ago
Audric Ackermann
051c4bb262
fix: merge the confSyncDumpJob into the confSyncJob
3 years ago
Audric Ackermann
6fe6544d6c
fix: split up migration of initial user config dumps into two
3 years ago
Emily
eeb6cfb435
Adds data-testid to loading-animation, microphone recording button, recording permissions button, stop recording button, consolidates tests into user actions test, adds media to fixtures folder, updates linked device tests with avatar change, username change and group tests. Adds tests for messaging, sending image, video, document, gif and link with preview. Also updates reply message functionality to wait for loading animation
3 years ago
Audric Ackermann
1c48ff8a49
chore: include worker .node in addition to libsession .node
3 years ago
Audric Ackermann
9c0f40473c
fix: readd dmg-builder as a resolution instead of root package
3 years ago
William Grant
d4d5b6c86b
fix: improved disk deletion handling and pass yarn ready
...
need to use await with the pathExists function and cleaned up code into a handler function
3 years ago
Audric Ackermann
ce186517a3
chore: lint code
3 years ago
Audric Ackermann
e263b701b0
chore: fetch latest archive from libsession nodejs git repo
3 years ago
William Grant
c759eed0d8
fix: check if path exists for deleted attachment instead of trying to read that data
...
this is more performant since it should be deleted
3 years ago
William Grant
778f575bb6
fix: pass yarn ready
3 years ago
William Grant
42924b0c54
fix: use storage put instead of data methods so that we can track in redux
...
added a fix in OverlayDisappearingMessages so when v2 turns on an and the app is running a migration occurs
3 years ago
William Grant
ec3f62d12f
fix: updated child types from PropsExpiringMessges
...
use type and the ampersand operator instead of the interface with extends for better consistency with the rest of the code base
3 years ago
William Grant
f9c9702d12
fix: clean disable-next-line on handleMessageSentSuccess
3 years ago
William Grant
90e29c7b74
fix: updated groupId comment for future work
3 years ago
William Grant
b3297ab816
fix: remove isFinite comment
3 years ago
William Grant
dde244d719
fix: improved comment explaining how seen messages are expired
3 years ago
William Grant
c33e471bfc
fix: in clearinbox check in memory for conversation instead of db lookup
...
this is more performent
3 years ago
William Grant
ab04e9bd17
fix: updated comment for when to remove legacy code
3 years ago
William Grant
cfcf400ecf
fix: cleaned up WIP logging and used the window log debug function where appropriate
3 years ago
Audric Ackermann
9d87ca2546
fix: test with libsession compiled with node-api
3 years ago
William Grant
4c64997607
fix: log but continue if there are errors while clearing out sogs inboxes
3 years ago
William Grant
c1c380ba9d
fix: remove unecessary any type from TimerOptions
3 years ago
William Grant
dadc93bfda
fix: remove unecessary useCallback for feature releaser
3 years ago
William Grant
1d6f200d50
fix: pass yarn ready
3 years ago
William Grant
6cf2c0b0df
feat: made sure to clear attachment properties after deletion
...
confirmed everything works through testing
3 years ago
William Grant
386997f233
feat: made progress on attachment deletions but can confirm 100%
3 years ago
William Grant
462f96341e
fix: iterate allRoominfos map correctly
...
testing complete
3 years ago
William Grant
19025cd7e0
feat: abstracted getAllValidOpenGroupV2ConversationRoomInfos function and handled the response correctly
...
just need to do testing
3 years ago
William Grant
db00ed8827
feat: added delete option to inbox request in sogs, linked with delete account modal
...
still needs testing and handling the response see TODO CONTINUE
3 years ago
William Grant
647e542128
feat: add comments after run through
3 years ago
William Grant
f68fbb05f9
fix: resolve turning off disappearing messages empty messages in most cases
...
still requires more tweaking
3 years ago
William Grant
1de21ea8c0
feat: only show banner after v2 is released
3 years ago
William Grant
a50ea95bf3
fix: fixed timer alignment once and for all
3 years ago
William Grant
162e66876e
feat: added single mode view for closed groups and note to self
3 years ago
William Grant
f3f83505e0
fix: duplicate copy
3 years ago
William Grant
afaaedac3e
feat: added proper note to self support
...
note to self is always delete after send
3 years ago
William Grant
a928aeb76c
feat: improvements to the disabled state and group non-admins settings
...
separated components in OverlayDisappearingMessages
3 years ago
William Grant
92282a5d95
feat: verify disappearing messages arent supported in communities
3 years ago
William Grant
7d9945911c
fix: expire all outbound disapparing messages as soon as they are sent to match other platforms
3 years ago
William Grant
157ec74cc1
feat: improved conversation header title
3 years ago
William Grant
a1e956b3a9
feat: made the conversation header subititle into its own component
3 years ago
William Grant
2e6acb1f59
feat: only use timer svg for disappearing message
3 years ago
William Grant
2221d81a23
fix: reverted setToExpire timer,
...
fixed incorrect expirationLength value in getPropsForExpiringMessage
3 years ago
William Grant
64ce39398b
feat: conversationHeaderTitle is now keyboard accessible
...
SessionIconButton is now keyboard accessible if a tabIndex is set to > -1
3 years ago
William Grant
6a38e09f4f
feat: moved setToExpire calls to the correct locations within the message pipeline depending on the expirationType of a message model
3 years ago
William Grant
46ab397a0f
fix: read receipt messages now show expireTimer correctly
3 years ago
William Grant
5398f45a26
fix: typing animation alignment
3 years ago
William Grant
029f65280d
fix: signature verification now works with updated method for extend and shorten
3 years ago
William Grant
4d0900844b
fix: adding shorten and extend to expire rpc endpoint
3 years ago
William Grant
b6c3edbac4
fix: pass yarn ready
3 years ago
William Grant
e5ecff7ec3
fix: fixed legacy disappearing messages on call notifications and others
3 years ago
William Grant
f7e5719eac
feat: reverted bak to stage 1
3 years ago
William Grant
ceeb9b790a
fix: finally got all the test cases to pass!
...
removed misMatchedMessage and replaced with shouldDisappearButIsntMessage which is a more explicit check
3 years ago
William Grant
8dc7d48c52
feat: renamed isLegacyMessage to isLegacyDataMessage
...
all works except modern to modern stage 2
3 years ago
William Grant
89c70760a5
fix: refactor and works for all legacy test cases, modern to modern is broken
3 years ago
William Grant
6dd340ca6c
feat: handle legacy disappearing messages more gracefully due to protobuf issues
...
added utility function for checking for undefined properties on a protobuf, renamed expireTimer to expirationTimer in some places
3 years ago
William Grant
4c4bc045d7
fix: renamed ExpirationType enum value LEGACY to UNKNOWN
3 years ago
William Grant
2338058b3e
fix: make sure expirationType and expireTimer are defined after v2 is released
3 years ago
William Grant
61b91e2485
fix: make sure migration triggers with the correct date for current development
3 years ago
William Grant
df40ff8855
feat: added legacy to the ExpirationType enum in the protobuf and updated support
...
the desktop protobuf implementation doesnt support undefined for optional enum values this is a known bug.
3 years ago
William Grant
b8ab952c33
fix: explicitly set expirationType to undefined if sending a legacy message
3 years ago
William Grant
bddc018ce7
fix: updated featureReleaseTimestamps for testing purposes
3 years ago
William Grant
99412beaf3
feat: added dismiss button to NoticeBanner
3 years ago
William Grant
2f4c0114aa
feat: tested new expiration modes with legacy and new clients
...
fixed banner logic
3 years ago
William Grant
93cb972514
feat: updated hasOutdatedClient to track last user to send a legacy message
...
this makes the banner work properlly in closed groups
3 years ago
William Grant
84dec94450
fix: cleanup logging
3 years ago
William Grant
dc57454911
feat: ignore conversation settings when new modes are unlocked
3 years ago
William Grant
718986c416
fix: improved feature release logic
3 years ago
William Grant
ea0a505dcf
fix: fixed state of overlay options depending on release status
3 years ago
William Grant
15c054a35e
feat: added ability to reset the releaseFeature logic by updating the featureReleaseTimestamp
3 years ago
William Grant
80f18e9f1c
feat: use correct timer options and set the defaults
3 years ago
William Grant
6de7c5c405
fix: legacy message checks must look for the ExpirationTimerUpdate flag explicitly
...
use correct model for a message in a closed group
3 years ago
William Grant
854742c0b1
fix: improved logic for turning off disappearing messages
3 years ago
William Grant
a3a0c3f9de
feat: fixed closed groups legacy mode
3 years ago
William Grant
8117e631d0
feat: legacy mode now works for 1-1 chats
3 years ago
William Grant
03bc6706f6
feat: added legacy mode timer notification copy
3 years ago
William Grant
349b513051
fix: only log errors when syncing an expire timer message and not all sync messages
3 years ago
William Grant
6f1230398c
fix: TimerNotification text is now centered
3 years ago
William Grant
d698f66d50
feat: updated clients can send ExpirationTimerUpdateMessages to older clients
...
fixed syncing of ExpirationTimerUpdateMessages
3 years ago
William Grant
75f1b5ed65
fix: left align PanelRadioButton text
3 years ago
William Grant
bd900128f4
feat: added hasOutdated Client to convo model, use feature release check to process disappearing messages
...
trigger banner when receiving a legacy disappearing message via hasOutdatedClient
3 years ago
William Grant
e81ac0a847
feat: updated NoticeBanner style
3 years ago
William Grant
7fae5344f4
fix: include off in available modes in call cases
3 years ago
William Grant
4dbbada728
feat: added notice banner component
...
show notice when conversation is in legacy mode, extracted some UI components from the ConversationHeader, updated featureReleaseTimestamp
3 years ago
William Grant
93005d32d8
feat: updated db migration to support legacy mode
3 years ago
William Grant
848c97938c
feat: disabled new disappearing message modes behind a timed feature release function
3 years ago
William Grant
190c68d759
feat: added disabled state to right panel components
3 years ago
William Grant
255b6225c9
feat: block sending disappearing messages of the wrong type in different conversations,
...
improved disappear after send or read logic, disable legacy sending for now
3 years ago
William Grant
7d0673f7f2
wip: added new legacy mode to panel, improved backwards compatibility
...
legacy mode support in conversation header, added typing for the expireUpdate, next is sending support
3 years ago
William Grant
190357b006
fix: cleanup
3 years ago
William Grant
12087da2be
fix: repaired closed group disappearing messages
3 years ago
William Grant
42356b0d60
fix: duplicate timer update messages
3 years ago
William Grant
97ecc9e521
feat: fixed double expiration update message issue
...
started creating an inheritable expiration message class, improved start triggering logic
3 years ago
William Grant
446752cf54
feat: DataExtractionNotifications now expire
...
MessageRequestResponses should not expire, pass yarn ready
3 years ago
William Grant
5c697572a7
feat: Call Notifications now expire properlly
...
include the direction in the expiration props, setting the start timer doesnt directly update the model
3 years ago
William Grant
f122c206da
fix: improved backwards compatibility
3 years ago
William Grant
ac844af691
feat: updated timer notification design and copy
3 years ago
William Grant
307fefcedc
feat: improved sender disappear after reading time
3 years ago
William Grant
4ef3537a53
feat: timer notifications expire correctly when disappearing after sending
3 years ago
William Grant
f36bbb9c7c
feat: group invitiations now disappear
3 years ago
William Grant
2d6d6b4134
feat: moved PropsForExpiringMessage to state ducks
3 years ago
William Grant
513f94cb25
feat: extracted expiry logic from the GenericReadableMessage to a new component
...
This allows use to use the expiry logic for different visible messages not just generic ones
3 years ago
William Grant
e34e3d4a4b
fix: resolved some yarn ready issues
3 years ago
William Grant
c3b09578a1
refactor: extracted header title to its own component
3 years ago
William Grant
46a88990a3
feat: improved styling between states
3 years ago
William Grant
1ff9f7b91e
feat: removed old disappearing message display from header
...
show disappearing message screen when clicking the correct option
3 years ago
William Grant
26995e1873
feat: added new togglable subtitle to header
3 years ago
William Grant
f825b74895
feat: disappearing messages are now correctly deleted from the swarm after they expire
3 years ago
William Grant
d358ab2fb1
feat: fixed closed groups
...
improved setExpirationStartTimestamp logic
3 years ago
William Grant
b4fc33c8fa
fix: prevent duplicate expire timer updates while keeping backwards compatibility
3 years ago
William Grant
996d204dc8
feat: improved syncing of timers for disappear after send
3 years ago
William Grant
4d92500b60
feat: slight improved timing of sent message expire start time
3 years ago
William Grant
6febf2859e
feat: disappear after reading now works
3 years ago
William Grant
4ee440304c
feat: attempted to improve the accuracy of the start timer for disappear after send
3 years ago
William Grant
ee4aa333fc
feat: disappearing after send is not working correctly
3 years ago
William Grant
22e02633a9
feat: started consolidating send and receive dm logic.
...
updated in parts but haven't test what happens
3 years ago
William Grant
13f091eff3
feat: added function for calculating the expire start time
...
updated copy for setting change messages
3 years ago
William Grant
8dc7dac55e
feat: control available modes depending on the conversation
3 years ago
William Grant
4731139b05
feat: added default timer values for different modes
3 years ago
William Grant
2745571790
fix: correctly write to db when setting changes
3 years ago
William Grant
ee6607b96a
feat: added expirationType and expireTimer to content message and updated message pipeline
...
this includes sync messages and updating the protobuf, haven't tested closed groups
3 years ago
William Grant
0700ac4813
fix: moved disappearing message types to utils
3 years ago
William Grant
1303707cd7
feat: added expirationType to message model with correct typings
...
added to migration
3 years ago
William Grant
b12d086b22
feat: DisappearingMessageType -> DisappearingMessageConversationType
...
this is more explicit and allows use to use DisappearingMessageType in the message model
3 years ago
William Grant
976cb2a55f
fix: improved migration queries
3 years ago
William Grant
f4e5d89a15
fix: make sure to update state when the covnersation changes
3 years ago
William Grant
c8a13e1824
feat: removed DisappearingMessageMenuItem from conversation context menu
3 years ago
William Grant
30196a131a
feat: added basic support for different disappearing message modes
...
added expirationType and lastDisappearingMessageChangeTimestamp to conversations table, left a few comments for future work
3 years ago
William Grant
ecfd69f3f0
feat: made right panel scrollable, added subtitle to panelradiobutton and xl margin option
3 years ago
William Grant
6b06e4a70b
feat: added panel label for timer options
3 years ago
William Grant
46a8801d8e
fix: rebuilt disappearing messages header beause syncthing
3 years ago
William Grant
a42aff35fc
feat: added panel radio buttons that list timer options
3 years ago
William Grant
8abd624c47
feat: updated right panel in a conversation to use overlay logic in preparation for disappearing messages
...
added panel buttons specific to this UI
3 years ago
Audric Ackermann
0e286142f1
chore: add a redux settings slice, currently outdated banner inc
3 years ago
Audric Ackermann
0080254286
fix: add NoticeBanner showing when legacy config message received
3 years ago
Audric Ackermann
cbffc29950
fix: run tests for libsession-util integration and fix issue
3 years ago
Audric Ackermann
c2e3f1b587
chore: update libsession-util name & dependency
3 years ago
Audric Ackermann
3ecc89fab3
Merge remote-tracking branch 'upstream/master' into onboarding
3 years ago
Audric Ackermann
dc329668fa
chore: fix unit tests
3 years ago
Emily
d64dbc163f
Updates typing to User and Group, splits openApp function and create user function, updates saved test users for group upkeep function
3 years ago
Audric Ackermann
55a2767fce
feat: do not approve a convo before sending the first message
...
but still sync it's state through the createdAt with libsession util
3 years ago
Audric Ackermann
faeb95fefd
feat: add block/decline logic to msg request & wrapper
3 years ago
Audric Ackermann
ef6d9f1d51
feat: add empty states for each types of convo
3 years ago
Audric Ackermann
da57379762
fix: update certificate of seed nodes expiring soon
3 years ago
Audric Ackermann
760642e149
feat: use the lastJoinedAt and createdAt from the wrapper
3 years ago
Audric Ackermann
b843d66084
feat: add the lastJoined and createdAt timestamp from wrapper logic
3 years ago
Audric Ackermann
51e4f1dd48
feat: UI, use group info from wrapper if we have them or from DB
3 years ago
Audric Ackermann
3ff7281b6a
chore: remove isGroup from the redux stored entry
...
as it is always = !isPrivate
3 years ago
Audric Ackermann
f3975b545a
feat: use priority for hidden and pinned conversation
3 years ago
Audric Ackermann
027bd46ff7
fix: allow legacy config message during linking
...
We only handle handlethem after the new config message ones, so if there is a
shared config message on the network we will use it for the linking
process instead. The legacy one this commit is about is bound to be
removed completely and will only be used until our users have updated to
the new ones for some time.
3 years ago
Audric Ackermann
a5cc25c058
Merge pull request #2656 from tomobre/fix/warn-settings-link-previews
...
fix: on cancel link preview toggle, toggle stays off
3 years ago
Audric Ackermann
b4218311b0
Merge pull request #2680 from yougotwill/save_qr_code
...
feat: added ability to save qr codes on click
3 years ago
Audric Ackermann
fe5eea4c8d
chore: fix critical yarn audit issues
3 years ago
Audric Ackermann
796ccf0582
feat: add handling and setting of the expireTimer for contacts
3 years ago
Audric Ackermann
51df7d80bb
chore: remove parcel completely and grunt
3 years ago
Audric Ackermann
8a0074d2bd
feat: add convo volatile info during migrations for each convo tracked
3 years ago
Audric Ackermann
1dcee5bc93
feat: wait for confSyncJob to be done before deleting account
3 years ago
Audric Ackermann
c623e2e49e
fix: make the ConfSyncJob fetch be per destination
3 years ago
Audric Ackermann
554b445a3e
feat: lookup for shared config message on link device
3 years ago
Audric Ackermann
0050352470
chore: move selected convo selectors to another file
3 years ago
Audric Ackermann
c3e9d503e4
fix: unread count and forced unread is synced
3 years ago
Audric Ackermann
c3a9d19882
chore: cleanup the lastMessage update logic
3 years ago
Audric Ackermann
1c50aacc34
chore: remove groupModerators sogs from the db, store in redux only
3 years ago
Audric Ackermann
bf2456df8e
chore: do not store mentionedUs and unreadCount as attribute in convo
3 years ago
Audric Ackermann
f5efb52fea
feat: remove closedgroupv3 uneeded stuff for now
...
also move the room stuff which can be kept in memory into another redux
slice
3 years ago
Audric Ackermann
2a5dc5f2a5
feat: add more compilation errors if forgetting to handle a wrapper type
3 years ago
Audric Ackermann
21d8151b8b
feat: add convo volatile info mgmt
3 years ago
Audric Ackermann
c4e17d0825
fix: add mgmt of members in user groups wrapper
3 years ago
Audric Ackermann
bc905bdba1
feat: start of community handling in libsession util
...
also remove tracking of hashes for config namespaces
3 years ago
Audric Ackermann
37e335097e
chore: remove unused bdecode logic as it is now in libsession util
3 years ago
Audric Ackermann
3c58f9c1e4
feat: add a hidden flag for convos and use it with the contactswrapper
3 years ago
Audric Ackermann
c4217cb564
feat: sync nickname, blocked and approved status for contacts
3 years ago
Audric Ackermann
f88acdb567
feat: remove blocked group tracking separately from the pubkeys
3 years ago
William Grant
e5f1e65194
feat: added ability to save qr codes on click
...
recovery phrase modal ui layout is now the same as edit profile modal, fixes for yarn ready
3 years ago
tomobre
c5a8b257cc
fix: move line of forceupdate
3 years ago
tomobre
18639ad8fd
fix: remove space
3 years ago
tomobre
77f0138d49
fix: review changes #2 , refactorised toggleLinkPreviews function
3 years ago
mdPlusPlus
13c1b207f4
Add missing space between "PNG" and "GIF" in error message
3 years ago
mdPlusPlus
1d6ed17ac7
Fix typos via codespell
3 years ago
Audric Ackermann
b2237efe51
feat: insert all contacts into wrapper before syncing it
3 years ago
tomobre
138d8da676
fix: function outside component, refactorised toggleLinkPreviews function
3 years ago
Audric Ackermann
8202abe12b
Merge pull request #2676 from tomobre/fix/undefined-country
...
Fix/undefined country
3 years ago
tomobre
5edd06a1e5
Merge branch 'clearnet' into fix/warn-settings-link-previews
3 years ago
Qian Hong
bcbeab52c1
fix: Remove createNonBreakingLastSeparator. Fix #2396 .
3 years ago
Audric Ackermann
22329bc745
chore: cleanup FIXMEs and remove sig_timestamp as we cannot rely on it
...
we use timestamp instead of sig_timestamp for store requests
3 years ago
Audric Ackermann
f870eff45b
fix: make syncJob throttled every 3s and start right away if possible
...
also enable sig_timestamp on mainnet use as every node should have
upgraded now
3 years ago
unknown
eaf61ae25d
Merge branch 'clearnet' into fix/undefined-country
3 years ago
Audric Ackermann
f215535f75
fix: set and get profile picture from libsession
3 years ago
Audric Ackermann
6bbb16b46d
feat: track and delete configMessageHashes
3 years ago
Audric Ackermann
e48307e625
fix: avatar alignment with emojis
3 years ago
Audric Ackermann
e5c6e34c86
fix: avatar alignement issue with message
3 years ago
Audric Ackermann
d2d2a418eb
fix: use envelope time when dont have msg request response timestamp
3 years ago
Audric Ackermann
7c56310e69
feat: addConfSyncJob start
3 years ago
Audric Ackermann
d512a1a131
fix: various UI margins and dedup official sogs join
3 years ago
Audric Ackermann
6d57bce103
fix: reduce font size of group name and add padding
3 years ago
Audric Ackermann
bb0112c6c5
feat: increase max upload size to 10MB
3 years ago
tomobre
46c166d0d5
fix: undefined country removed strings in onion status
3 years ago
Audric Ackermann
8584edf302
Merge pull request #2612 from tomobre/fix/messages-avatar-bottom
...
fix: avatar at bottom, reacts with margin
3 years ago
William Grant
a8b8692016
fix: improved reaction alignment based on avatar visibility
3 years ago
tomobre
828f1923a0
fix: avatar at bottom, reacts with margin
3 years ago
William Grant
5b59b3eef2
fix: extract max unread count to a constant
3 years ago
tomobre
26bb1e8526
fix: unreadcount messages maximum of 9999+
3 years ago
Audric Ackermann
4bfcf91193
fix: add return types for libsession wrapper functions
3 years ago
Audric Ackermann
90804491d6
feat: add job result enum with success, retry and permanent fail
3 years ago
Audric Ackermann
08a15b210a
feat: move avatar downloading to JobRunner
3 years ago
Audric Ackermann
9cf1419ca5
feat: add first try to build SharedConfigMessages
3 years ago
tomobre
f6ec4e8062
fix: on cancel link preview toggle, toggle stays off
3 years ago
Audric Ackermann
d1cefd4729
feat: add contacts & user profile handling of incoming messages
3 years ago
Audric Ackermann
141c22ed43
tesat: add tests for the JobRunner class
3 years ago
Audric Ackermann
b3995c117b
feat: add a PersistedJobRunner which can handle SyncConfJobs
3 years ago
Audric Ackermann
2da2c95272
chore: cleanedup the stubbing logic
3 years ago
William Grant
504f60cb97
fix: resolved missing reactions in open groups, fixed mutation cache logic
3 years ago
Audric Ackermann
68852a9e63
chore: move syncUtils to its own folder
3 years ago
Audric Ackermann
c8e76b17de
chore: refactor db instance to outside its sql.ts file
3 years ago
Audric Ackermann
58edbf44ee
add SharedConfig message and signing it when sending them
3 years ago
Audric Ackermann
6d1b406c85
fix: add namespace to all sending message calls
3 years ago
Audric Ackermann
0f58e11a17
chore: update with latest libsession wrapper
3 years ago
Audric Ackermann
5627ab4583
finish the .set and toCppContact function
3 years ago
Audric Ackermann
ffe9e26d76
test: finish contact test but still missing the .set function
3 years ago
Audric Ackermann
a77aa610f8
finish contact test1, still need to fix the .set with a struct
3 years ago
Audric Ackermann
b4835f1636
fix: make libsession worker run from the renderer with key from settings
3 years ago
Audric Ackermann
1a65b7a7f2
feat: working calls to node module from renderer through worker
3 years ago
Audric Ackermann
bace70c6bc
chore: move util worker to its own folder
3 years ago
Audric Ackermann
65df3157bd
chore: lint
3 years ago
Audric Ackermann
9749529e25
feat: add dependency to our libsession wrapper for nodejs
...
also add a basic test to make sure it works
3 years ago
Audric Ackermann
2a8d764bfb
fix tests
3 years ago
Audric Ackermann
fddfc8c501
fix: hide v3 closed group protobuf messages for now
3 years ago
Audric Ackermann
456d52ab1a
fix: make sure we do not use "group" or "private" without the enum
3 years ago
Audric Ackermann
4b97f14edf
fix: added batch requests for snode but signature fails
3 years ago
Audric Ackermann
d7bcf1026f
fix: refactor snodeRPC to use snode batching
3 years ago
Audric Ackermann
0e4920cb0d
feat: add bencoded/decoded + tests
3 years ago
William Grant
2bca956783
fix: center Message Request Unread Number
3 years ago
William Grant
35a7c08222
fix: centered id pill and emoji quick result
3 years ago
William Grant
31f786aecd
fix: improved theme colors for file dropzone
3 years ago
William Grant
40f86116d6
fix: unread messages count styling in actions panel
3 years ago
William Grant
bf057057d0
Merge branch 'clearnet' into theming_hotfixes
3 years ago
William Grant
9ffa63ccdc
fix: changed remaing ems to rem and set root font size
3 years ago
Audric Ackermann
16d14043b8
fix: use token from first room info to build conversationId for sogs
3 years ago
Audric Ackermann
32e00227a4
Merge pull request #2532 from Bilb/fix-deleted-messages-all-at-once
...
To merge once theming is done: handle deleted messages & deleted reacts all at once
3 years ago
Audric Ackermann
984dbf777d
fix: do not lowercase roomId before joining sogs room
3 years ago
William Grant
2f0c07b5ae
Merge branch 'clearnet' into theming_hotfixes
3 years ago
Audric Ackermann
cb1d67be64
Merge pull request #2571 from Bilb/fix-private-sogs-authentication
...
fix: include auth sogs headers for join room and file download
3 years ago
Audric Ackermann
ec5f3307ac
test: fix integration tests
3 years ago
Audric Ackermann
69a07a8eb1
test: fix change avatar test
3 years ago
Audric Ackermann
256672e5a3
test: fix theme switch test
3 years ago
Audric Ackermann
37cedaf24a
fix: make allowOneAtATime take a generic
3 years ago
Audric Ackermann
ae51b0cd96
fix: include auth sogs headers everywhere
3 years ago
Audric Ackermann
0b9f1a494a
fix: allow 99 unread count before going to 99+
3 years ago
Audric Ackermann
0ba0abfcdc
fix: padding with only one digit in unread notification count
3 years ago
William Grant
ee2cb463d3
fix: conversation tab hover color for classic dark was incorrect
3 years ago
William Grant
ddfaad5220
fix: added a unique shadow variable for the scroll button
3 years ago
William Grant
1b4d35a324
fix: add shadow to session scroll button for better visibility
3 years ago
Audric Ackermann
07dfdb3350
fix: remove spinner of first poll of sogs even when not selected
3 years ago
Audric Ackermann
0b8a10ad66
fix: improve markAllAsRead performances
...
- make an index on unread+convoId
- make the message update trigger only run when the body changed
3 years ago
Audric Ackermann
e3006ae157
fix: do not return updated messages from markAllRead if not needed
3 years ago
Audric Ackermann
ff37deebc0
Merge pull request #2551 from ianmacd/pr44
...
Set the Windows spell-checking language from $LANGUAGE.
3 years ago
William Grant
367c0c94d0
Merge branch 'clearnet' into theming
3 years ago
Audric Ackermann
d1a33ad7b5
Merge pull request #2555 from Bilb/fix-invalid-date
...
fix: INVALID_DATE (-Infinity) when merging two conversations inactive
3 years ago
Audric Ackermann
acd2178779
Merge pull request #2559 from Bilb/fix-attachments-failure-mark-as-error
...
fix: mark attachment as failure if we get a 404
3 years ago
Audric Ackermann
26290ffd8b
fix: mark attachment as failure if we get a 404
3 years ago
William Grant
f9c9ec4df9
fix: replace black grounds with classic dark background by default
3 years ago
William Grant
bbc5ab4e63
fix: made export logs button solid
3 years ago
William Grant
123bb2f6d0
fix: pass yarn ready
3 years ago
William Grant
4a851490ae
fix: qa feedback - updated message received background color in classic light
3 years ago
William Grant
0ac386dc1b
fix: qa feedback - fixed message request buttons and other theming regressions
3 years ago
William Grant
bc76cf6b33
fix: qa feedback - fixed count overflow styling in notificationCount
3 years ago
William Grant
e28c5e9885
fix: qa feedback - Fixed community invitation theming and icons
3 years ago
Audric Ackermann
9f1a6c6349
Merge pull request #2558 from Bilb/fix-notifications-preview-skip-already-visible-check
...
fix: do not deduplicate notification for previews
3 years ago
William Grant
f15d4cffa1
fix: qa feedback - removed avatar border and
3 years ago
Audric Ackermann
cffcbe8af9
fix: do not deduplicate notification for previews
3 years ago
Audric Ackermann
893b552ada
fix: trigger redux state update manually when unblocking conversations
3 years ago
William Grant
2a0396d522
fix: qa feedback - fixed background for group member list in create group overlay
3 years ago
William Grant
69d5e2ea41
fix: qa feedback - updated recovery phrase password modal to match password modals
3 years ago
William Grant
4657181993
fix: qa feedback - updated input box styling and tweaked modals
3 years ago
William Grant
c6c487fe5d
fix: qa feedback - message mentions color is now black across all themes
3 years ago
William Grant
5c52b3ebc8
fix: qa feedback - moved unread notification count to the right and updated style to match mockup
3 years ago
Audric Ackermann
12161a1fde
fix: INVALID_DATE (-Infinity) when merging two conversations inactive
3 years ago
William Grant
9f3293d1fc
fix: qa feedback - fixed call UI center label text color and removed text-shadow
3 years ago
William Grant
c44a4abbce
fix: qa feedback - conversation title no longer overflows in search results
3 years ago
William Grant
be238e2332
fix: qa feedback - notification preview works on first click
3 years ago
William Grant
446b3bdb4d
fix: qa feedback - setting or changing passwords shouldn't show a blank screen
3 years ago
William Grant
172510d11b
fix: pr review - remove unneeded useState and useEffect in SessionEmojiPanel
3 years ago
William Grant
be21f29875
fix: pr review - remove unneeded export
3 years ago
William Grant
702cef6565
fix: pr review - use isDarkTheme everywhere
3 years ago
William Grant
de94d2e64a
fix: pr review - create selectors for isDarkTheme and isLight Theme
3 years ago
William Grant
6d919c677d
fix: pr review - removed any typing from primaryColor logic
3 years ago
William Grant
7dd85eb55e
fix: pr review - fix spelling mistake in comments
3 years ago
William Grant
7380d0f650
fix: pr review - move WrappedToastContainer outside of SessionToastContainerPrivate to prevent rerendering
3 years ago
William Grant
2cf8854a25
fix: pr review - removed unnecessary & from placeholder styling on SessionHeaderSearchInput
3 years ago
Audric Ackermann
53c57efb89
Merge pull request #2525 from Bilb/fix-displayname-use-bytes
...
fix: displayName allowed length based on bytes rather than char
3 years ago
William Grant
03d8f39677
fix: pr review - added theme and primaryColor to window type
3 years ago
William Grant
bc325a6ffe
fix: resolved unread notification and mentiond colors
3 years ago
William Grant
36d38bd2ed
fix: pass yarn ready
3 years ago
William Grant
07f2fcabd4
fix: make sure password window has primary color set
3 years ago
William Grant
5b44565b5f
Merge branch 'clearnet' into theming
3 years ago
William Grant
557c2b8d28
feat: classic-dark is now the default theme
3 years ago
William Grant
1d956535b8
feat: themed all of the call ui
3 years ago
Ian Macdonald
ca3da7a603
Set the Windows spell-checking language from $LANGUAGE.
...
Session on Windows wants to spell-check using American English, no
matter what I do. This seems to be because it wrongly assumes my locale
to be `en-US`, when it is actually `en-GB`.
```
"spellcheck: setting languages to: [\"en-US\"]","time":"2022-10-10T19:19:09.216Z"
```
With this patch, Windows will use `$LANGUAGE`, if set, to determine the
language to be used for spell-checking.
Linux is unaffected by this patch and will correctly infer the
spell-checking language from `$LANG`.
Create a .bat file and start Session from this:
```
@echo off
set LANGUAGE=en-GB
"C:\Users\ian\AppData\Local\Programs\Session\Session.exe" --lang=en-GB
```
Note that the use of `--lang=<language>` above sets only the Session UI
language, not the spell-checker language.
This is a partial fix for #2013 , specifically [this comment](https://github.com/oxen-io/session-desktop/issues/2013#issuecomment-998679090 ):
3 years ago
William Grant
99ff6243ed
fix: the color mode button must not reset the primary color
3 years ago
William Grant
cf8a66a82b
fix: resolved all outstanding theming todos
3 years ago
William Grant
1f7e956801
fix: made --message-link-preview-background-color global
3 years ago
William Grant
456a386cfa
feat: added text selection color to themes
3 years ago
William Grant
70f2330ae5
feat: moved remaning old theme globals to new globals
3 years ago
William Grant
a5a48e0ae7
fix: updated avatar border color
3 years ago
William Grant
948a531eed
feat: more cleanup and added grey to COLORS
3 years ago
William Grant
a33e0345aa
fix: outline button colors in dark themes
3 years ago
William Grant
43f8c66801
fix: more sass cleanup
3 years ago
William Grant
9062d2c609
feat: removed old themes and switching functions
3 years ago
Audric Ackermann
74b706d121
Merge pull request #2534 from Bilb/add-settings-audio-notifications
...
Add support for audio notifications Windows/MacOS/Linux
3 years ago
Audric Ackermann
4271e66fb6
feat: add custom sound for notification so it works for Linux too
3 years ago
Audric Ackermann
f2c8d8e027
fix: display "X active members" for communities in convo header
3 years ago
William Grant
4758fdc64a
fix: move primary color switching into theme switching
3 years ago
William Grant
8135c2a861
fix: make cleaner defaults for switchThemeTo function
3 years ago
William Grant
b777d0bcd1
feat: the primary color is now reset when changing themes
...
refactored theme and primary color switching functions
3 years ago
William Grant
177e2df768
feat: consolidated theme switching code
3 years ago
William Grant
d0bd983ee3
fix: updated theme imports
3 years ago
William Grant
32a6c921c2
feat: ocean light and dark use new system
3 years ago
William Grant
8c97cbcafa
feat: global variables and classic light and dark use new system
3 years ago
William Grant
2f0e993af3
feat: moved constants into a constants folder
3 years ago
William Grant
13efc85d5a
feat: verified signin and registration pages
3 years ago
William Grant
b4828b141e
verified MessageAuthor Text Colors
3 years ago
William Grant
6956cf6253
feat: updated menu button hover color for ocean dark
...
added new color to ocean dark color palette
3 years ago
Audric Ackermann
1ce8fd5979
fix: make circular buffer not recreate an array on each overflow
3 years ago
William Grant
692ebd3e47
feat: updated theming for search bars
3 years ago
William Grant
f6bd149def
feat: added disabled colors and updated buttons
3 years ago
Audric Ackermann
24af2dabfb
fix: remove usused onReadMessage method
3 years ago
Audric Ackermann
c617976be0
test: added tests for RingBuffer & sogsRollingDeletions
3 years ago
Audric Ackermann
ad03fbd497
fix: skip recent deleted message empty react changes
3 years ago
Audric Ackermann
0cc7994c12
fix: speed up expiration/deletion of messages by batching updates in UI
3 years ago
Audric Ackermann
ad22482274
fix: add toast on rate limit hit for reactions
3 years ago
Audric Ackermann
c4fcac7ddf
feat: add support for audio notifications windows/macOS
3 years ago
Audric Ackermann
8d946da490
fix: click on toast does not close dialogs
3 years ago
Audric Ackermann
4e913f1439
fix: displayName allowed length based on bytes rather than char
3 years ago
William Grant
5a0928cb17
feat: themed scroll and zoom bars
3 years ago
Audric Ackermann
e2c3ccef84
Merge pull request #2539 from Bilb/add-toast-react-rate-limit
...
fix: add toast on rate limit hit for reactions
3 years ago
Audric Ackermann
135b9cf34d
fix: add toast on rate limit hit for reactions
3 years ago
Audric Ackermann
c75cf6e1af
fix: UI for link previews when the image is too less than 200px
3 years ago
Audric Ackermann
1fbeb9fa5f
Merge pull request #2538 from Bilb/fix-ui-issues
...
fix: selected message box shadow and hide button while loading DB
3 years ago
Audric Ackermann
460cbce119
fix: selected message box shadow and hide button while loading DB
...
also fix about/debug window first showing
3 years ago