Commit Graph

1730 Commits (449751a89193102db43ee21aaeb41e26503886b5)

Author SHA1 Message Date
Mikunj ae44f0da0f Remove old multi device functions 5 years ago
Mikunj 7b7d8c0e2a Remove multi device from libloki 5 years ago
Audric Ackermann 68b119fb69
remove FR logic from receiver and background.js 5 years ago
Maxim Shishmarev 8ca7b8cfb4 Message receiving refactor: handleDataMessage onwards 5 years ago
Ryan Tharp 6fd0183d11 lint/window.log 5 years ago
Ryan Tharp 5a54eaa79a
use window.setClockParams 5 years ago
Mikunj e6139a5463 Merge branch 'clearnet' into message-sending-refactor 5 years ago
Audric Ackermann fa853538d0
LINT after prettier upgrade 5 years ago
Vince 50d111f538
Merge branch 'clearnet' into linked-devs-fixes 5 years ago
Audric Ackermann f46c885fdf
merge fix-closed-group to clearnet 5 years ago
Vincent 477e9b6ef0 lodah-w-xor 5 years ago
Vincent 9f2688561a kick all devices finished 5 years ago
Vincent 52de32e65d filtering w comments 5 years ago
Vincent 4e6e573f18 Testing w clg 5 years ago
Vincent 5f7c82d41d Cleanup 5 years ago
Vincent 3de82cd292 rm 5 years ago
Vincent b5f0f552a7 Changes 5 years ago
Vincent 3c571770ed Useful comments 5 years ago
Mikunj Varsani 1a0b760fa1
Merge pull request #1093 from Bilb/fix-various-closed-group
Fix various closed group
5 years ago
Vincent cf05d4ff6c revivify 5 years ago
Audric Ackermann 3c2746d910
fix group update notifcation when we are added to the group 5 years ago
Audric Ackermann b60188331a
do not trigger closed group update on unchanged member list 5 years ago
Audric Ackermann 6d6f4a00e4
address review: remove code duplication 5 years ago
Audric Ackermann 0d0a0a1eb5
remove unused file connecting_to_server_dialog_view.js 5 years ago
Audric Ackermann 645b2d55fc
invite friends to closed group: hide already members 5 years ago
Audric Ackermann f48136678e
use isKickedFromGroup to disable ui components 5 years ago
Audric Ackermann 28597e3539
filter out already members in invite dialog for closed groups 5 years ago
Vincent 9c9b8e08ef Remove redundant bool casting 5 years ago
Vincent 9229ee7482 Linted 5 years ago
Vincent 99200bb725 Message unsendability 5 years ago
Vincent f66bc782da Remove debugging logs 5 years ago
Vincent 94be443822 Message deletion cleanup 5 years ago
Vincent 6cda163b27 upgrade typescript 5 years ago
Mikunj Varsani 24a3e05154
Revert "Revert "Clean up unused dependencies."" 5 years ago
Vince 5ff7476359
Revert "Clean up unused dependencies." 5 years ago
Mikunj Varsani c5ffcf1c3b
Merge branch 'clearnet' into package-cleanup 5 years ago
Vincent 513fe8f977 Updated nulled modal buttons 5 years ago
Mikunj d671ce0055 Remove phone number libraries 5 years ago
Audric Ackermann 9ddda73ca2
Integration tests (#975)
* add first integration test Session

Checking window title
Checking window count
Can restore from seed

* FIXME torevert once found why this crash on app close

* [test] add join valid open group test

* [test] validate cannot join two times the same open group

* [test] move common things to common.js

* [test] move tests to separate files

* [test] clean

* [test] add send message to open group test

* [test] lint

* [test] rename hooks -> common

* [test] add 15s delay before considering test as slow

* upgrade electron 8.0.3 and spectron 10.0.0

* [test] signin from seed: validate pubkey

* Replace spellchecker in favor of typo-js

* [test] refactor common calls to common.js

* [test] add two different pubkey, mnemonic and displayname

* [test] FIXME unsafe eval needed for now

* [test] add: add friends test

* [test] working multi instance tests

* [test] FIXME disable snodeproxy

* [test] update yarn.lock

* [test] make tests more robust with restart from scratch each test

* [test] add link of two devices test and hard rm of apps before start (rm -r)

* remove unused file

* [test] lint

* [test] add registration from generated pubkey test

* [test] add beginning of network stub

* [test] stub "token" endpoint

* [test] add test of one message on pub group pull

* [test] add starting port randomize. looks to help for some bad start with multi instance

* [test] add stub for one to one chats (sessions)

* [test] clean code

* [test] finish add friend test and stub snode server

* [test] stub calls during link device test

* [test] add a flag to show some logs on stubbed snode

* [test] finish link of two device test. check both pubkey matches

* [test] add and use function to wrap erase+start+login+stub app

* [test] add method to login as friend and closed group test&messages

* Revert "[test] FIXME unsafe eval needed for now"

This reverts commit de5322fdae6cdab8e3b9bd9a52b7d172c9bc2d26.

* [test] apply review

* [test] fix lint

* [test] fix existing test with new spectron version

* [test] fix lint

* [test] refactor page objects

* [test] add delete account test

* [test] add unlink of two device test

* [test] make tiny waitForExists -> isExisting

* [test] add checks of link new device buttons

* upgrade fs-extra@9.0.0

* address pr review

* [test] fix spell_check test

Co-authored-by: Josh Perez <60019601+josh-signal@users.noreply.github.com>
5 years ago
Vincent d8a12aab0f conv tinkering 5 years ago
Vincent 9a6aafe99c Pull from clearnet 5 years ago
Konstantin Ullrich c410ef5354 Remove Debuglog 5 years ago
Konstantin Ullrich 2ed7ed5de5 Implement Blib's change 5 years ago
Mikunj eeb6257526 Remove settings view 5 years ago
Vince 868ad39e88
Merge pull request #932 from neuroscr/fixconvview
Fix message still loading exception
5 years ago
Ryan Tharp 1792e2d952 add editGroupNameOrPicture to gear 5 years ago
Ryan Tharp 81d43ba5ab lint 5 years ago
Ryan Tharp 56d5bb5b33
fix lint 5 years ago
Audric Ackermann 370467a127
Merge pull request #878 from Bilb/group-profile-image
Group profile image upload
5 years ago
Ryan Tharp 4254f15b44 fix message still loading issue 5 years ago
Vincent 5d11ef1457 Header props 5 years ago
Audric Ackermann daec39b94d
fix catch of mouse events on forgotten modals 5 years ago
Vincent af29113fab Initialised message array in redux store 5 years ago
Vincent 1689bc617e Message loading with redux 5 years ago
Vincent cdd19037ba Got it working 5 years ago
Vincent bb0279983d Partially rendered message success and root store manipulation 5 years ago
Vincent a90cae4ac4 Started boilerplate getSessionConversationInfo 5 years ago
Vincent e34ed37cdb SessionConversation namespace remapping initialisation 5 years ago
Vincent bf5badda3b Working conversation openning 5 years ago
Audric Ackermann 1428cfe1dd
fix download profile image open groups 5 years ago
Audric Ackermann b756332f89
fix group member dialog and refresh right after group avatar update 5 years ago
Vincent ea4dc05009 Upgrade typescript, finding messaages 5 years ago
Audric Ackermann 6d5aed7de8
make upload of group picture work 5 years ago
Audric Ackermann 1f411df0ce
lint 5 years ago
Audric Ackermann 99133437d6
close all dialogs on ESC or click outside 5 years ago
Vincent 2c5e2df817 reactification conversationview bottombar initial 5 years ago
Audric Ackermann b4f1afe720
do not add new members if closed group size >= 10 5 years ago
Vincent 7a7104dfa5 Roation fix of groupsettings chevron 5 years ago
Vince e2f74b0701
Merge pull request #853 from vincentbavitz/clearnet
More animations
5 years ago
Audric Ackermann f47d1fd9ef
Merge pull request #850 from Bilb/communicate-file-size-limit-user
show error when user try to add file >10mb as attachment
5 years ago
Vincent ad48730300 More animations 5 years ago
Audric Ackermann 61a243efbd
show errors when user try to add file >10mb as attachment 5 years ago
Audric Ackermann ff10637a5a
separate update group name and group members dialog
(add and remove members are separated)
5 years ago
Vincent 30ccb81d3d Disappearing messages in Channel Settings panel 5 years ago
Vincent 2101abb911 Modal blurs and stylistic simplifications 5 years ago
Mikunj Varsani beb4cdbed8 Closed group fixes. (#816)
* Fix group updates not syning

* Fix leaving closed groups

* Fix incorrect members being shown on create group dialog

* Linting

* Fix create closed group showing our own conversation
5 years ago
Ryan Tharp 69fe066bcc guards incase there are no members yet, fixes dialog not showing up 5 years ago
Ryan Tharp 156c11d30f allowing sending of messages if we're still waiting to hear back 5 years ago
Ryan Tharp 2c4facc694 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into tls-fix 5 years ago
Vincent c5ff70c970 Message deletion fix 5 years ago
Vincent 821cf00b65 Closed group update message stylgin 5 years ago
Ryan Tharp 09e133743d lint caught typo 5 years ago
Ryan Tharp eecf2252d7 use attempt from window object to reduce code duplication 5 years ago
Ryan Tharp 260e494aee use promise version to see if we're expired 5 years ago
Ryan Tharp d69a0a9fd4 lint 5 years ago
Vince 5bbd136493
Merge pull request #758 from neuroscr/version-check
Version check, de-signal.org-ification
5 years ago
Vincent 4350b73724 Messages.json amendments 5 years ago
Vincent cb417d3665 Link preview warning on setting toggle 5 years ago
Vincent 2d4bf2b3e2 Complete conditional message onboarding 5 years ago
Vincent 31af2b60f1 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into clearnet 5 years ago
Vincent 156f0d4127 various touchups 5 years ago
Maxim Shishmarev 3f58dea035 Remove mixpanel 5 years ago
Vince c95c83ab6b
Merge pull request #769 from Bilb/fix-registration-pubkey-scramble
fix text scramble animation on registration
5 years ago
Vince 7debb1a3de
Merge pull request #764 from Bilb/fix-refresh-group-panel-files
refresh files in group in group panel
5 years ago
Audric Ackermann e2921103bd
fix lint and clean code 5 years ago
Audric Ackermann d411465a6c
fix text scramble animation on registration 5 years ago
Vincent f55e20d8ac Cleanup media view formatting 5 years ago
Vincent ae01b11478 Looking into keyboard navigation 5 years ago
Audric Ackermann 2721b2a477
refresh files in group in group panel 5 years ago
Ryan Tharp c80098ab2e update note 5 years ago
Ryan Tharp a0599d27bc get latest version through snode proxy, remove clearfix from ExpiredAlertBanner 5 years ago
Audric Ackermann 48b5e53e26
fix the textscramble for sessionID on registration 5 years ago
Audric Ackermann 5360ab6150
fix unit tests: remove not used count in scrolldown view and ass… (#750)
fix unit tests: remove not used count in scrolldown view and assert svg present
5 years ago
Audric Ackermann 736cd0f652
session-id-editable-textarea 5 years ago
Audric Ackermann 6c2aefbe11
fix unit tests: remove not used count in scrolldown view and assert svg
present
5 years ago
Audric Ackermann e946721a8d
fix lint 5 years ago
Audric Ackermann d68aeb947e
Merge branch 'clearnet' into brand-redesign 5 years ago
Audric Ackermann 7867f4dceb
Merge branch 'clearnet' into brand-redesign 5 years ago
Maxim Shishmarev 09bfd9e4ed
Merge pull request #719 from msgmaxim/private-groups
Fix not showing non-friend members in update group dialog
5 years ago
Vincent 4a7e2dece7 Password lock screen and delete data screen 5 years ago
Vincent ff7d2468ca Delete channel / group merge 5 years ago
Vincent 0a525629ee Prevent illegal username and passwords 5 years ago
Maxim Shishmarev 8ce066b802 Display subscriber count for open chats 5 years ago
Vincent 4d690768a6 Scrolling button updated and animations to modals 5 years ago
Vincent 3dd18a0c9c Profile picture upload, fixes and copy 5 years ago
Audric Ackermann d13efafad2
"Leave {Closed|Open} Group" button depending on group opened 5 years ago
Audric Ackermann 293eca0509 Merge branch 'brand-redesign' into clearnet 5 years ago
Audric Ackermann 2194a3a537 HARDCODE theme to be dark, even if an old config is set to be light mode enabled 5 years ago
Audric Ackermann 24bf436b0c disable menubar by default and remove old preferences from menubar 5 years ago
Audric Ackermann 37cbd3d2c0 fix SessionSettings not found as does not exist 5 years ago
Audric Ackermann 25344685a2 merge 5 years ago
Audric Ackermann 411b343e6a add unpairing of device from settings 5 years ago
Audric Ackermann 4d950f859b add back link device in settings in a dialog 5 years ago
Vincent f7548fc6ef Finalising pr 5 years ago
Vincent 010cf045cb optimisation of ternary & binary expr. 5 years ago
Vincent e065cc404f Password set, change and remove complete 5 years ago
Vincent 3e57367ce6 Mentions view styles 5 years ago
Vincent a64a34edcb Disclaimer modal and settings view cleanup 5 years ago
Vincent c26097554f settings optimisations 5 years ago
Audric Ackermann 67262c7eaa lint after merge and fix startup of app 5 years ago
Audric Ackermann a8f45b527e remove useless code 5 years ago
Audric Ackermann 1d63bc3203 add required props in grouppanel to handle disappearing message sets 5 years ago
Audric Ackermann 1e69019efa fix delete button message placement when grouppanel is opened 5 years ago
Audric Ackermann 40187755c2 fix download attachment when showing groups media lightbox 5 years ago
Audric Ackermann ab862dbecf fix lint 5 years ago
Audric Ackermann 86e39ce4e2 enable back lightbox on groupsettings panel to see group medias 5 years ago
Audric Ackermann 213db6c1ed fix lint 5 years ago
Audric Ackermann ab0ff9c3ad rename showUserDetails -> avatarClick for conversationHeader 5 years ago
Audric Ackermann 43956709ad include the channel settings panel on right of conversation 5 years ago
Audric Ackermann ddaf62a499 add group settings page with media downladable and docs only 5 years ago
Audric Ackermann 9b8ad976e3 remove not used AddServerDialog -> now on chanel section 5 years ago
Audric Ackermann 84c315449f show nb of members on group chat when members.length>0 5 years ago
Vincent 6b577915a0 Fixed typos 5 years ago
Vincent b0658ba7ed settings toggling abstraction 5 years ago
Vincent 8de2ce9e23 Theme toggle and settings abstraction 5 years ago
Maxim Shishmarev 0eda74d476 Fix not showing non-friend members in update group dialog 5 years ago
Vincent 5360968a91 Add public server modal to message pane 5 years ago
Vincent 2b7af04587 Message selection fixed and optimised for speed 5 years ago
Vincent d20d62e8c6 Messages display temporary fix and panel optimisations 5 years ago
Vincent dd421d58f1 Theme switching. Need to update _session*_light 5 years ago
Vincent 505697bbcd App view change working 5 years ago
Vincent e7d3bc6d35 Settings view modals and categories 5 years ago
Vincent 6368058d8f reversion 5 years ago
Vincent 74fd0159eb Fix conflicts 5 years ago
Vince 3df5ff2060
Delete password_dialog_view_old.js 5 years ago
Vincent a2f08c6e14 Stylistic icing 5 years ago
Vincent dff4523efa Cleanups 5 years ago
Vincent 2d01275ede QR Code responds to theme changes 5 years ago
Vincent 2ede557a74 Modal additions incl. QR fixup and Seed View 5 years ago
Vincent 2caffa9289 Dependencies resorted and modal adjustments 5 years ago
Audric Ackermann ecaf37cc82 resolve merge issues 5 years ago
Audric Ackermann 634aaa36d4 update loading screens with session subtitle 5 years ago
Audric Ackermann 7c726c8f47 move the enter session editable to a custom component 5 years ago
Audric Ackermann b09ca5c751 remove not used headerview 5 years ago
Vincent 53555c0133 Fixed wrt review @ Audric 5 years ago
Vincent 8074756dc2 Infinte duration toasts 5 years ago
Vincent 6ee5d041fb Finishing up some modals 5 years ago
Vincent 648cc2339c Working with deps 5 years ago
Vincent 659d4412bd QR code completion 5 years ago
Vincent 2419272608 Updated React dialogs to SessionModals 5 years ago
Vincent 228e4ca81e Adding session settings to utilise toggles 5 years ago
Vincent 8aac656107 Modals finished. Need to xfer all to React 5 years ago
Vincent 9afb8b4d5e Major rework of context menus 5 years ago
Vincent d0d5012e07 Fixed breaking sessionToggle issues 5 years ago
Vincent e9d543fe4a Dropdown generalisation and simplification 5 years ago
Vincent 12011a30d4 Inital dropdown, modal and toggle 5 years ago
Vincent 08cc218364 Fixed orderin of toasts with Maps 5 years ago
Vince 9cd27abf31
Merge branch 'brand-redesign' into brand-redesign 5 years ago
Vincent 597c177ced Syntactical sugar 5 years ago
Vincent 34ce386bdb Finalise uniquified toast stacking and deletion 5 years ago
Vincent 4d463c659c Filesize toast amend 5 years ago
Vincent 5a6960b481 Completed toast stacking, fadeout and close. 5 years ago
Ryan Tharp 7507b9c2ce defeat caching of context menu, and remove unneeded parameter to getHeaderProps 5 years ago
Audric Ackermann 2cc7f3ed20 fix merge issue 5 years ago
Audric Ackermann db12bf0f3e ugly hack to empty contenteditable div 5 years ago
Audric Ackermann ccd037201b remove unused sessionIconButton class under /session 5 years ago
Audric Ackermann b1406ed391 lint and remove unused code 5 years ago
Audric Ackermann 4ad62284fa add an animation when showing the sessionID on registration 5 years ago
Audric Ackermann 5039930508 add basic secondary device link to new registration page
needs to handle errors and popup to show secret words, ...
5 years ago
Audric Ackermann 47101c85f7 add signin with mnemonic to sessionRegistration page 5 years ago
Audric Ackermann 4f889b3c69 big refactor of scss to include session- prefix everywhere 5 years ago
Audric Ackermann 4728bf8274 fill registration page 5 years ago
Audric Ackermann cc97d9284b add first chunck of our SessionRegistrationView 5 years ago
Ryan Tharp b2632554ba expose isRss to react 5 years ago
Vincent 94f6ee3f3b Inital toast UI 5 years ago
Vincent 02d23e972c Optimisations and SASS simplifcation 5 years ago
Vincent 2bdc0579c3 Message deletion moderator check and toast. 5 years ago
Vincent fc235d6057 Completed message selection 5 years ago
Ryan Tharp 5730a88c18 add/remove moderator modal dialogs 5 years ago
Vincent 98b4b18583 Added message selection inital functionality and added to buttons 5 years ago
Vincent 4d105f5c66 Simplified icons object 5 years ago
Ryan Tharp 549e3b4516
Merge branch 'clearnet' into multidevice-publicchat 5 years ago
Vincent 533ec4eedc Fixed syntax & linted 5 years ago
Vincent a6fb54233a Created generalised icon button component 5 years ago
Maxim Shishmarev 5123fa0409
Merge pull request #669 from msgmaxim/restoration
Prompting the user to reset session on invalid ciphertext
5 years ago
vincentbavitz 449eb8536b System clock (#677)
* Show toast when client clock is out of sync

* Fixed syntactical misarrangements

* Simplify getServerTime method

* Futher simplify getServerTime method

* Update js/modules/loki_app_dot_net_api.js

Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>

* Update js/modules/loki_app_dot_net_api.js

Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>

* Update loki_app_dot_net_api.js

Use cached timestamp value

* Update preload.js

Update some values to function scope

* Updated syntax

* Semifinal changes

* Improved efficiency and eliminated need for restart on clock update

* Remove await and immediately invoked function
5 years ago
Ryan Tharp eb888874e1 remove the need for lokiPublicChatAPI and reorganize the process/notes 5 years ago
Ryan Tharp 24f7c33ab6 add isPublic property, support public chat settings 5 years ago
Ryan Tharp 22979e9d6b add amMod property 5 years ago
Ryan Tharp e9773c05be mark all public servers as active (move out of friends tab into convos where you'd expect it) 5 years ago
Audric Ackermann be5f932c08 fix lint 5 years ago
Maxim Shishmarev 81bfa90943 Prompting the user to reset session on invalid ciphertext 5 years ago
Audric Ackermann c61249e5e0 put event in the avatar element and trigger it in conversation header 5 years ago
Audric Ackermann e3a8e5f73c UserDetailsDialog: set a separate className 5 years ago
Audric Ackermann 9992a3da1d Add a showUserDetails modal to display user's details
Relates #655
5 years ago
Audric Ackermann f980e07b75 Update input focus on registration page
The issue 385 is already resolved. This commit sets up the same behavior
for the other sections of the registration page (i.e. the mnemonic and
the link device sections)
Fixes #385
5 years ago
Maxim Shishmarev 2ab0d084f1
Merge pull request #645 from msgmaxim/group-invites
Public chat invitations
5 years ago
Ryan Tharp 6cde9aa263
Merge pull request #638 from neuroscr/multidevice-publicchat
Public Chat - home server refactor / read public chat avatars from home server
5 years ago
sachaaaaa 51a9d032f9
Merge branch 'clearnet' into pairing_QR 5 years ago
Maxim Shishmarev 8ea82b14e3 Add channel id field to invitations 5 years ago
Maxim Shishmarev a5fce17d8c public chat invitations 5 years ago
Ryan Tharp 95a94175c0 make findOrCreateChannel async 5 years ago
Ryan Tharp ced6563358 make maybeShowMembers async for lokiPublicChatAPI.getListOfMembers call 5 years ago
sachaaaaa 94dd331cb1 Show pubkey QR code in pairing dialog (as primary) 5 years ago
sachaaaaa 63fd72d971 Make linter happy 5 years ago
sachaaaaa db0068b429 Sending and handling of special UNPAIRING_REQUEST message 5 years ago
Maxim Shishmarev 8cd8c8d4f9
Merge pull request #610 from msgmaxim/profile-pictures
Enable custom profile pictures
5 years ago
Maxim Shishmarev 0abd9af449 Jump words with Ctrl and arrow keys 5 years ago
Maxim Shishmarev 4dd314c18f Enable profile pictures 5 years ago
sachaaaaa a83f66f0da Cap paired devices to 1 5 years ago
Beaudan Brown 685ada5cc5 Merge branch 'clearnet' into prep-merge 6 years ago
Beaudan Campbell-Brown d15d560f58
Merge pull request #618 from sachaaaaa/simplify_bulk_edit_bar
Prevent instantiating a new BulkEdit react component with every click
6 years ago
Beaudan Campbell-Brown 9b8d71370b
Merge pull request #611 from BeaudanBrown/fix-mic
Disable microphone button when you have disabled permissions
6 years ago
sachaaaaa 7f96b4c95c lazy instantiation 6 years ago
sachaaaaa bd9a900a1b Prevent instantiating a new BulkEdit react component with every click 6 years ago
sachaaaaa b7b2776340 Address review 6 years ago
sachaaaaa 2c1375e42a Fix recurring memory leak in mentions 6 years ago
Beaudan Brown 8c79800cee Use oninput for secondary devices names and allow for consecutive pairings without closing the dialog 6 years ago
Beaudan Brown b7dd4257d6 Disable microphone button when you have disabled permissions 6 years ago
sachaaaaa 86168ef870 lower case variable 6 years ago
Maxim Shishmarev 027e17f7d0 Reset multi selection when conversation is deleted/changed 6 years ago
sachaaaaa 3f52b9df93 Make unpairing a toggle-able feature (enable with window.lokiFeatureFlags.multiDeviceUnpairing = true) 6 years ago
Maxim Shishmarev 7c96990119 Correctly handle server errors in multi-deletion 6 years ago
sachaaaaa cd2c4b993a lint 6 years ago
sachaaaaa 9ab3626149 Fix italic tags showing up 6 years ago
sachaaaaa 497f42165a Allow unpairing device 6 years ago
Maxim Shishmarev 8677fb15a0 Select multiple messages and bulk deletion 6 years ago
sachaaaaa 13572c3524
Merge branch 'multi-device' into paired_device_alias 6 years ago
sachaaaaa ea267fb952
Merge pull request #597 from sachaaaaa/show_secondary_secret_words
[multi-device]Show secondary secret words
6 years ago
sachaaaaa 46613de846 lint 6 years ago