Commit Graph

2717 Commits (c08dcc7ec6c3bc97158eafe98c55b57b561874a6)

Author SHA1 Message Date
Audric Ackermann 3915e946b4 Merge branch 'clearnet' into settings-redesign 3 years ago
Audric Ackermann cdb010ac47
Merge pull request #2474 from yougotwill/react_modal_alignment_fix
fix: Fixed Reaction text alignment in the React List modal
3 years ago
Audric Ackermann fed0f0cc2d
Merge pull request #2461 from Bilb/remove-asking-pruning-dialog-start
fix: remove the sogs pruning dialog on app start
3 years ago
Audric Ackermann 6f0d223eb9 fix: address PR reviews 3 years ago
William Grant e8d9676e94 fix: fixed reaction text alignment in the react list modal
this is pretty nuanced, when we have flex nowrap the descendants can be squished so we have to force no wrapping
3 years ago
William Grant 131ee22099 Merge branch 'settings-redesign' into theming 3 years ago
Audric Ackermann 55365f817d Merge remote-tracking branch 'upstream/clearnet' into settings-redesign 3 years ago
Audric Ackermann 13d33d1656 fix: radio button in settings + registration page 3 years ago
William Grant 17d893f2b7 refactor: finished converting sass colors in _theme_dark.scss
converted module-main-header__search__input class to styled component, consolidated blues, grays and whites
3 years ago
Audric Ackermann b9cccfc2a8 feat: open convo a session sogs when joined from the UI 3 years ago
William Grant 2d23d3d850 refactor: finished converting sass colors in _session.scss
moved react-contextify overwrites to styled compeonts, consolidated some grays and semanic colors, for rgba colors we need to set css variables with RGB values since nothing else is supported
3 years ago
William Grant db951a4128 refactor: finished converting sass colors in _session_slider.scss
consolidated transparent and gray colors, success color should be dropped to text color in future
3 years ago
William Grant 82c505895c fix: errors from merging latest settings redesign 3 years ago
William Grant 691b567916 Merge branch 'settings-redesign' into theming 3 years ago
William Grant df73b5dd33 fix: improved reaction popup positioning for tooltip and box 3 years ago
William Grant 8879893798 fix: wrap reactors list in popup so we don't have overflow 3 years ago
Audric Ackermann dab9428c02 fix: address PR reviews 3 years ago
Audric Ackermann d86d024a0a fix: link preview with image displayed horizontal rather than vertical 3 years ago
Audric Ackermann 4367543224 fix: remove the sogs pruning dialog on app start
the settings in ON by default, and can be turned off from the settings
screen.
That dialog was only used until our existing users got asked the
question, which was 3 months ago.
3 years ago
Audric Ackermann 30e3cb8755 feat: fix other types of messages now that there is no box around 3 years ago
William Grant 243f07858e fix: others text in reaction popup on light theme should be black 3 years ago
Audric Ackermann 25f54a13ff
Merge pull request #2454 from yougotwill/sogs_poller_conflict_resolver
Opengroup Poller Reaction Conflict Resolution + Fixes
3 years ago
William Grant 3060ffd25a test: added tests for adding and updating sogs cache entries
updated idForLogging for opengroups to be more verbose, updated reaction method calls to use exported Reactions object
3 years ago
Audric Ackermann 7c80f9e233 feat: move attachments outside of the message box 3 years ago
William Grant bbfb55f211 fix: pr review fixes 3 years ago
Audric Ackermann 444282e2ec fix: position of join button and style of disable buttons
also add a little animation to the menu button rotation
3 years ago
Audric Ackermann 3fd6c570c7 fix: click on a link preview shows the dialog to open or copy url 3 years ago
William Grant dde61bb35b feat: moderator clear all reactions behaviour now uses the cache 3 years ago
William Grant 469de252cb fix: added current emoji to reaction list reactor description 3 years ago
Audric Ackermann a8c3463673 fix: set a min height for attachments preview so they cover their box
even if they are smaller that them

and close the replyTo in composition box on Escape press
3 years ago
Audric Ackermann e125979b7a fix: disable having some corner large and small for message bubbles 3 years ago
Audric Ackermann d9e504afa0 Merge remote-tracking branch 'upstream/clearnet' into mark-all-as-read-optimization 3 years ago
Audric Ackermann 1e202fcdab feat: add theme switcher +accent color from settings
not all of the logic is linked and not all of the colors are there as this is part of theming
3 years ago
William Grant 5f49d3084b fix: dont need isequal for comparing numbers 3 years ago
William Grant 1a44f5cb66 feat: added additional reactor information to the ReactListModal 3 years ago
Audric Ackermann 98ea07a361 fix: right margin on body shorted than author name 3 years ago
William Grant 8b8be7a45d Merge branch 'clearnet' into reactions_fixes 3 years ago
William Grant 7a80e18327 fix: improved react popup localisation, review fixes 3 years ago
Audric Ackermann a61d549466
Merge pull request #2438 from Bilb/fix-rounded-border-messages
fix: rounded corners around messages
3 years ago
Audric Ackermann 7e32880ab0 fix: use js variables instead of css variables for Message corners 3 years ago
William Grant 80d726659c Merge branch 'clearnet' into reactions_fixes 3 years ago
William Grant 05b7bdb956 fix: show correct count value for open group reactions 3 years ago
Audric Ackermann c54a438f7c fix: add some aria labels and match QA test 3 years ago
Audric Ackermann 98b1302589 fix: rounded corners around messages
looks like node-sass tries to be too clever
3 years ago
Audric Ackermann b638733090 fix: do not scroll back to unread banner when deleting msgs
Relates #2308
3 years ago
William Grant 4889cb5b32 fix: ReactionList Senders is now an array since we want to handle opengroup reactions separately
we no longer need the messagehash and server id for rendering reactions in the UI, ignore reactions using the outdated type
3 years ago
Audric Ackermann f137cad2a0 feat: add the BlockedList component in Settings 3 years ago
Audric Ackermann 85219d3827 fix: scrollbar colors and some UI issues found by QA 3 years ago
William Grant 0600416f77 fix: clearing your own reaction from the clear modal should close it 3 years ago
Audric Ackermann bf20c10f81 fix: make use of useSet to select in memberList 3 years ago
Audric Ackermann ef10e0f1d9 chore: move typing animation to styled components 3 years ago
Audric Ackermann ff3d7ce226 feat: update settings Help page with new items and links 3 years ago
William Grant 788f78f5d0 refactor: converted sass colors for _avatar.scss 3 years ago
William Grant 05bd97df3b refactor: created themes folder and moved SessionTheme 3 years ago
Audric Ackermann 5ad8c6fa74 Merge remote-tracking branch 'upstream/clearnet' into settings-redesign 3 years ago
Audric Ackermann e09e38911f refactor: fix PR reviews 3 years ago
Audric Ackermann 866527de17 fix: make sure a double click on the picker does not trigger reply msg 3 years ago
Audric Ackermann 81fa09b8ee Merge branch 'menu-redesign' into settings-redesign 3 years ago
Audric Ackermann f87d902c98 fix: PR Reviews 3 years ago
Audric Ackermann ef1f634e6b Merge remote-tracking branch 'upstream/clearnet' into menu-redesign 3 years ago
Will G 267f49ff1e
Emoji Reacts (#2320)
Add support for emoji reacts in conversations

Resolves #2375 and #1577
3 years ago
Audric Ackermann 7e395384fd feat: add the preview button of notifications in settings 3 years ago
Audric Ackermann 13bf0e073d feat: update design of the Notification Settings screen
the preview button is not linked yet
3 years ago
Audric Ackermann 7b7a80a2dd fix: add new designs of typing message settings with animation 3 years ago
Audric Ackermann 0e65b667a8 chore: move onion dialog components to styled 3 years ago
Audric Ackermann 39cbbda609 chore: move SessionToggle & SettingList to styled 3 years ago
Audric Ackermann a0d3a00afa feat: start of settings screen redesign 3 years ago
Audric Ackermann 75ce27e602 fix: finish menu redesign 3 years ago
Audric Ackermann 542c704b64 feat: add search by contacts to closed group overlay 3 years ago
Audric Ackermann 7bbbc74fa8 feat: make the tick on memberList a radio looking element 3 years ago
Audric Ackermann 970e719229 chore: move session radio group to styled components
also clean up unused css
and move some elements from OverlayClosedGroup to styled components
3 years ago
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 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 6f4b70e650 fix: allow non admin mods to delete message for deletion 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 354022f83d
Merge pull request #2359 from ianmacd/pr33
Trim leading and trailing whitespace on message composition and display.
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
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
Audric Ackermann 19decad766
fix: send read receipt when settings ON and window focused 3 years ago
Audric Ackermann 83b44d0abf
fix: disable auto play of audio messages on message first load 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 ec76057c5e
Merge integration test (#2313)
* Testing playwright for Desktop automation

* add more data-testid field

* remove commited test-results

* test: skip group upkeep for now

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

* test: run on testnet

* fix: revert messagebanner unread count changes

from commit 8107d75e89

Co-authored-by: Emily <emily@oxen.io>
3 years ago
Audric Ackermann 8de8f014dd
fix: password input errors in seeddialog 3 years ago
Audric Ackermann 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
Ian Macdonald 0991c23658
Fix typo in constant name. 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 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 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 5c8e2b4044
cleanup swarm unused after removing unused convos 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 7c1707f48e
drop old messages of opengroup 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 5c9b34fb86
lint files 3 years ago
koray-eren d7361f0774 fix linter issue 3 years ago
koray-eren c872f22014 password screen spinner implemented 3 years ago
Audric Ackermann af9d2fdfa1
get rid of libtextsecure.js and componnets.js 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
Audric Ackermann 02612280c3
fix multi select including audio messages 3 years ago
Audric Ackermann 475c92eeb4
migrate about_start to not use jquery 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 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 280cc494e8 test with webpack - not working 3 years ago
Audric Ackermann 2dfd09a7b1 app kind of start background side 3 years ago
Audric Ackermann ff43cfa593 move worker_interface and logs and i18n to TS 3 years ago
Audric Ackermann 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 70ee8cefdc WIP sql.js 3 years ago
Audric Ackermann bfaeda5cdb
make sure the conversation with ourself is marked approvedMe 3 years ago
Audric Ackermann ba53330afd
add tests for getInitials 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 7d570fec52
move linkPreviews.js to ts 3 years ago
Audric Ackermann 6bd835dfc3
move storage.js 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 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
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 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 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
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 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 3c2cc9be8a Only check for incoming messages on initial render of request UI. 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 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
Ian Macdonald 0c0543cc45
Use accent colour to distinguish last read indicator. 3 years ago
warrickct 08ba24c3c9 refactoring 3 years ago
warrickct 93f37ba66f Refactoring to evaluate conversation request status in a single place. 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 2258c6da4c Fixing linting errors. 3 years ago
warrickct 18a739b05b update local UI for blocking all conversations. Removing some unused vars 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 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 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
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 bc6edd7774 Adding unhiding of message request banner when receiving a new convo request. 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 36ca2a767c Adding PR changes 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 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 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
Audric Ackermann a3eb80abcf
fix group updates outgoing message status in left pane 3 years ago
Audric Ackermann 5b6d0d25f5
fix typo noteSelf results and shortened pubkey for unknown contacts 3 years ago
warrickct 2d66b1db4e Adding styling to conversation window for a message request. 3 years ago
Audric Ackermann d6a8f5e92b
allow searching for nickname or name for contacts 3 years ago
Audric Ackermann ceb5317160
remove profile_images as we are not using it 3 years ago
Audric Ackermann 40344bde52
move search logic to the search input component 3 years ago
Audric Ackermann 44f61073dc
move search results to styled components
and cleanup search logic and rendering of message results
3 years ago
Audric Ackermann 108d810fde
make sure pills of joinable room take 100% width if they can 3 years ago
Audric Ackermann 1e5a45d95b
cleanup timestamp display for search results 3 years ago
Audric Ackermann 280128ec43
update search result to have sender on the msg line 3 years ago
Audric Ackermann 1eba9dce30
merge messagesChanged and messagesAdded to a single redux event 3 years ago
Audric Ackermann b72b8e8387
fix tests 3 years ago
Audric Ackermann 949c36a42f
merge fetching more messages for top and bottom in the same flag 3 years ago
Audric Ackermann 9000c649f8
remove optional setToExpire and UnreadMessageIsAbove indicator 3 years ago
Audric Ackermann 4e638d162d
fix the scroll to bottom with button and on send message 3 years ago
Audric Ackermann 6f5bca6660
allow more characters to be used in display name
We just deny the one used to add markers around a mentions on the
desktop client. which is ᅭ

Relates #2132
3 years ago
Audric Ackermann 00d2bbc63d
cleanup MessageSearchResults 3 years ago
Audric Ackermann 792c23da87
cleanup scroll to unread of quote or search result on open 3 years ago
Audric Ackermann d269693544
cleanup search of contacts excluding not active 3 years ago
Audric Ackermann a3be2c347d
fixup open convo on search, quote click or hit the bottom 3 years ago
audric a21751c611
open convo on last unread, and can scroll up 3 years ago
warrickct fb862fe451 Updating message request overlay styling 3 years ago
warrickct 31f4e294c6 Altering message request banner styling 3 years ago
audric 12b00720f4 split up load more messages from top or bottom
also split up just fetching the last messages from fetching based on
unread/ lastTopMessageId
3 years ago
audric 83d27ed3b7 update quoted message to animate to have border-green instead of bg green 3 years ago
audric 62f0edf8cb cleanup console.warn calls 3 years ago
audric 247cb7c065 cleanup dependencies 3 years ago
audric e515ce3ca5 Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment 3 years ago
Audric Ackermann 15ae511bca
Merge branch 'clearnet' into small-refactor 3 years ago
burtonemily ffdf2519ca
Integration test (#2128)
* Testing playwright for Desktop automation

* converting tests from javascript to typescript and finishing create user automated test

* Trying to delete app data when test finishes, not through UI

* Undoing the code for clear database once test completes

* Creating POM for cleanup function

* cleanup function for playwright tests

* Creating a new user function, open electron function and clean up function

* fixes user object for new user function

* Adds a login function and start of send message test

* Creating test for sending messages, logging in and adding in data test id tags

* add more data-testid field

* updates new contact test, to have multiple windows and users running simultaneously

* updating clean up and new user test

* Fixing issues with creating new user

* new contact test

* New test to check password functionality

* make sure to cleanup data before running tests

* New group creation test and sending message function

* Adding new automated test for sending message to a contact

* create group test and updating new contact test to include date in test message

* updating package.json to remove webdriver and chromedriver and spectron

Co-authored-by: Audric Ackermann <audric@loki.network>
3 years ago
Audric Ackermann 6a403afb41
Merge pull request #2139 from warrickct/global-search-progress
Global Search and Database Trimming
3 years ago
warrickct 04241daa08 Fixin linting errors. 3 years ago
Audric Ackermann f07aba72df
Merge pull request #2136 from Bilb/global-search-off-clearnet
Global search off clearnet
3 years ago
warrickct 804c9a56b9 convert to functional component. Tweak colors for search results. Fix search result header incorrect color. Addressing PR comments from previous search branch. Experimenting trimming approaches. 3 years ago
audric e97ac5d7c7 make the DL spinner a styled component 3 years ago
audric 72409e3f1f make sure to keep error state of attachment DL failing 3 years ago
audric 8159613626 make sure we do not useInterval if not expiring for expiretimer 3 years ago
audric cea2c2460a make sure screenshot of video attachment is saved locally 3 years ago
audric 9f0ae00317 fix up types for link preview generations 3 years ago
audric 131195e2de add another type for when an outgoing attachment was imported to app 3 years ago
audric 3338a3c75b remove fetching of description for link preview as we do not send it 3 years ago
audric 8feecb777b make sure to scale dowm preview in composition box 3 years ago
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 3 years ago
Audric Ackermann 6992305e27
cleanup last commit 3 years ago
Audric Ackermann 4349b699cb
remove schemaVersion field and logic from message object 3 years ago
Audric Ackermann 580a59ba3c
refactor menu items to react components 3 years ago
warrickct 3f4db67c1b Merge branch 'clearnet' into global-search-off-clearnet 3 years ago
Audric Ackermann 1c46d81a20
rename authorPhoneNumber to what ever makes more sense 3 years ago
Audric Ackermann 46d838218d
remove unused .md files for components 3 years ago
Audric Ackermann 62edcb0cc8
fetch translations from crowdin 3 years ago
Audric Ackermann 44c44ec174
Merge pull request #2122 from Bilb/remove-dedupe-by-hash-sogs
Remove dedupe by hash sogs + update electron
3 years ago
Audric Ackermann 72f4c284d9
Merge pull request #2121 from Bilb/no-delete-auth-token-pysogs
No delete auth token pysogs + update electron
3 years ago
warrickct 7846891359 Fix linting errors 3 years ago
warrickct 2122214ee4 Fixed contact names not showing for search results 3 years ago
warrickct 374d5a6619 Global search partially functioning, added basic functions for load testing performance. 3 years ago
Audric Ackermann 790120f484
add data-testid to sessionIdEditable 3 years ago
Audric Ackermann 0e39b6b152
minor rename 3 years ago
Audric Ackermann 7b103226be
add 'contact' or 'group' to delete action menu
Fixes #2066
3 years ago
Audric Ackermann 7b45635296
do not call home/end events if target is textbox
Closes #2114
3 years ago
Audric Ackermann 7033f38928
Merge pull request #2117 from Bilb/use-variable-for-settings-key
use variables for common settings key
3 years ago
Audric Ackermann 2822f8ddd2
Merge pull request #2116 from Bilb/move-confirm-right-dialogs
Move confirm right dialogs
3 years ago
Audric Ackermann dd52ad336f
use variables for common settings key
also turn off typing message by default
3 years ago
Audric Ackermann 7c42400aa2
fix crash of app on rendering pin item 3 years ago
audric 874ca25195 hide the call message on feature flag OFF 3 years ago
Audric Ackermann 18e13b9b98
move confirm action on right on all dialogs 3 years ago
Audric Ackermann e33b6eadc4
bump typescript to 4.5.4 3 years ago
Audric Ackermann 5846caffc4
fix closed group updates undefined on no names (#2092) 3 years ago
Audric Ackermann abd146c4ca
use React Provider for convoListItem (#2088)
this is to avoid passing down the prop to all the components
3 years ago
Audric Ackermann 38325215e6
Unban UI (#2091)
* adding basic functionaliy for unbanning a user

* merge ban and unban user dialog in to one dialog

Co-authored-by: warrickct <warrickct@gmail.com>
3 years ago
Audric Ackermann e17b5e0671
Fix attachment dl freeze (#2086)
* fix attachment download freezing app for some opengroups

* make registration page work with smaller height
3 years ago
Audric Ackermann ce1e81a3e3
disable call for now + fix left pane actions overflow (#2085) 3 years ago
Audric Ackermann b68cb07e3e
add crown icon for closed group admins (#2084) 3 years ago
Audric Ackermann 58dc3e26ca
reactify group updates text bubble from redux store (#2083) 3 years ago
Warrick 5fb3237d1a
Minor styling fix for large amount of message requests (#2080)
* Minor styling fix for large amount of message requests

* Vertical center fix for message request banner.

* removing top margin from banner again.
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 95e40c9509
keep read-receipts disabled by default (#2071) 3 years ago
Audric Ackermann 48e7a0e25f
Various UI fixes (#2070)
* cleanup unused convo json fields in db

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

* enable CBR for calls

* do not update active_at on configMessage if !!active_at

* remove mkdirp dependency

* disable call button if focused convo is blocked

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

* click on the edit profile qr code padding

* Allow longer input for opengroup join overlay

Fixes #2068

* Fix overlay feature for start new session button

* make ringing depend on redux CALL status

* turn ON read-receipt by default
3 years ago
Audric Ackermann 273d866b98
Cleanup message request (#2063)
* close incoming call dialog if endCall from seame sender

* disable message request toggle if featureFlag is OFF

* cleanup UI of message requests

* mark all existing conversations as approved in a migration

* fix regex with conversationID for opengroups
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
Jason Rhinelander 1ec637b551
Open group regex fixes (#2058)
* Open group URL regex fixes

- Capital letters in room tokens were not being accepted (it eventually
  gets lower-cased internally, which works fine, but that happens
  *after* the URL is tested for acceptability).
- `-` in room was not being allowed (it is and always has been on SOGS,
  session-android, and session-ios).
- single-letter room ids are valid, but only 2+ letter ids were being
  accepted.
- complete URL regex wasn't anchored so something like
  `garbagehttps://example.com/room?public_key=<64hex>moregarbage` was
  being accepted in the GUI input (it fails later when other code tries
  to parse it as a URL).
- removed `m` modifier from open group regex: without anchors it wasn't
  doing anything anyway, but *with* anchors it would still allow
  leading/trailing garbage if delineated by newlines.
- public key regex was accepting g-z letters, and not accepting A-F.
- various regex cleanups:
  - use non-capture groups (?:...) rather than capturing groups (...)
  - avoid repetition in host segment matching
- tightened up host pattern matching a bit:
  - DNS host segments have a max length of 63
  - Limit port max length to 5, and disallow starting with 0

* Show an error when the open group URL is invalid

It's quite disconcerting when you have a bad open group URL and try to
add it and the join button just "doesn't work" without any feedback at
all.  Fix it to show an error message.  (There is already an i18n entry
for this because this same message is thrown if the URL can't be parsed
later on).
3 years ago
Audric Ackermann 651b1c4376
Fetch translations (#2056)
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

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

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

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

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety

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

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

* fix types for createLastMessageUpdate

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

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

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

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety
3 years ago
Audric Ackermann bef9058ffe
Merge branch 'clearnet' into message-requests 3 years ago
warrickct f17b923add Fixing rimraf transpile bug. Adding PR fixes - icon buttons. 3 years ago
warrickct e32f20d8bc PR changes 3 years ago
Audric Ackermann 1c27ceb2d0
Merge pull request #2045 from Bilb/fix-bug-release-blob-decrypted
Fix bug release blob decrypted
3 years ago
warrickct 4576f3cb32 Merge branch 'clearnet' into message-requests 3 years ago
warrickct f91e2c4edd Minor PR fixes 3 years ago
warrickct b5df47c2b8 Addressing PR comments 3 years ago
warrickct 9823a700e2 Addressing PR fixes 3 years ago
warrickct 726418887c Addressing PR comments 3 years ago
Audric Ackermann 894349e710
cleanup props passing of avatar and name with a custom hook 3 years ago
warrickct 2d664a2df7 Applying PR changes. 3 years ago
Audric Ackermann 5ba7f20162
speed up fetching closed group's members avatar 3 years ago
Audric Ackermann 7054ba6f36
Merge pull request #2039 from Bilb/dismiss-call-multi-device
Dismiss call multi device
disable deduplication based serverId+sender
3 years ago
warrickct 3602b51986 Fixing up block all logic. 3 years ago
warrickct ac8dbb341b linting and formatting changes 3 years ago
warrickct 043c2fa99f fixing merge conflicts 3 years ago
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 3 years ago
warrickct 2144a3980f Linting and formatting. 3 years ago
warrickct 9c9a43ee97 Adding improvements to message request handling. 3 years ago
Audric Ackermann e716f73d6c
mute audio from bg when video is in fullscreen
this is to avoid having two times the remote sound playing
one in the bg and one in the fullscreen
3 years ago
Audric Ackermann a4daabfa75
add a way to choose the audioouput/mute a webrtc call 3 years ago
warrickct 2e2941ba9b message request refactoring. 3 years ago
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 3 years ago
Audric Ackermann 4ce1b7813a
add data-testid for leftpane sections and edit profile dialog 3 years ago
warrickct 2eab74246b PR changes. Disabling message requests behind feature flags. 3 years ago
Audric Ackermann 453d260d5c
Merge pull request #2027 from Bilb/fix-netwokr-switching
Fix network switching with ongoing webrtc calls
3 years ago
Audric Ackermann 1203f1dc48
remove none state on callState. instead set it to undefined 3 years ago
Audric Ackermann b8d5a1c166
disable audio output switching as this is broken for now 3 years ago
Warrick Corfe-Tan cb5551c1e9 PR changes 3 years ago
Audric Ackermann af7cdfc4b4
Merge pull request #2024 from Bilb/setup-test-playwright
Webrtc calls caller UI +  playwright setup
3 years ago
Audric Ackermann 6625b7c7b6
calls fix cross platforms issue with uuid 3 years ago
Warrick Corfe-Tan 690abb9d52 adding simple PR changes requested. 3 years ago
Warrick Corfe-Tan 6a62437c3e Blocking, accepting on click and accepting on msg send
working across clients.
3 years ago
Audric Ackermann 8c9832f118
add a toggle audio output button 3 years ago
Audric Ackermann 25c7a2febd
data extraction notification on a line rather than a column 4 years ago
Audric Ackermann cca1b4dabe
add a button to start a video call 4 years ago
Audric Ackermann ef25e5956f
add a spinner for when video call video is loading 4 years ago
Audric Ackermann f91ed7729b
cleanup SessionCompositionBox 4 years ago
Audric Ackermann 3741e96c61
show input toggles in fullscreen mode too 4 years ago
Audric Ackermann 9951d7947b
topright position for initial draggable call container 4 years ago
Audric Ackermann 8df85441f7
fix video stream not displaying in draggable container 4 years ago
Audric Ackermann bfe8f973b5
Merge pull request #1995 from ianmacd/pr3
Make the [Home] and [End] keys scroll the conversation.
4 years ago
Audric Ackermann 16ab506eb6
double click on message replies to
Relaes #2006
4 years ago
Audric Ackermann 57449857f6
reject call after 1 minute showing the dialog 4 years ago
Audric Ackermann 4700a0c832
allow to hangup even if current call should already be closed 4 years ago
Warrick Corfe-Tan c3924f85a9 Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message. 4 years ago
Audric Ackermann 27e87edac2
add a ringing and establishing connection label video calls 4 years ago
Audric Ackermann dd25d9cb7f
fix flickering of video stream on mute/unmute 4 years ago