Commit Graph

3923 Commits (6df5d612c1b489c6da9401af3a1019f54bfde5bf)

Author SHA1 Message Date
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 d217c76647 mergable settingsview 5 years ago
Vincent b0658ba7ed settings toggling abstraction 5 years ago
Vincent b97c9ec8e4 SessionRadio 5 years ago
Vincent 8de2ce9e23 Theme toggle and settings abstraction 5 years ago
Maxim Shishmarev 7a02d29674 Add missing sent_at for group update messages 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
Maxim Shishmarev 033492a200 Sort messages by sent_at 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 8c9854dd90 Settings onClick functionality 5 years ago
Vincent 505697bbcd App view change working 5 years ago
Vincent e7d3bc6d35 Settings view modals and categories 5 years ago
Vince d8cd0cfe92
Update password_dialog_view.js
Revert
5 years ago
Vince 2cf152b882
Update signal.js
Rmv old deps
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 6209d7d2e2 remove conversation when friendrequest is declined 5 years ago
Audric Ackermann 34fde5f71a contact list, show receivedfriendrequest, then sent, then friends 5 years ago
Audric Ackermann 05bbc43b22 fix accept/decline friend request from conversationListItem 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
Maxim Shishmarev a195c98061 Add a feature flag for snode proxy 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 649c8c9be5 Resolved conflicts 5 years ago
Vincent 08cc218364 Fixed orderin of toasts with Maps 5 years ago
Vince 24ebf6b26a
Update js/background.js
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
5 years ago
Vince 90cce5e9ae
Update js/background.js
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
5 years ago
Vince bfab163c5c
Update js/background.js
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
5 years ago
Vince c4d7cfb90e
Update js/background.js
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
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
Audric Ackermann 6574585938 make default theme to dark 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
Ryan Tharp e7a08b696b make sure isPublic/isRss are boolean values 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
Ryan Tharp c9c1567e80 fix token refresh, log error when failing to send a message 5 years ago
Ryan Tharp 1c02489c2f improve context for log message 5 years ago
Ryan Tharp 2cf39cc1ed
Merge pull request #690 from neuroscr/multidevice-publicchat
Add/Remove Moderators interface
5 years ago
Vincent fc235d6057 Completed message selection 5 years ago
Vincent 0c4f57e57d Added session button types and session button colors 5 years ago
Ryan Tharp 7a97736751 remove unused manageModerators dialog 5 years ago
Ryan Tharp 88b62210e7 array/meta guard, getModerators(), addModerators()/removeModerators() 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
Audric Ackermann 531b782669 click on our avatar show the edit profile dialog & fix lint 5 years ago
Vincent 4d105f5c66 Simplified icons object 5 years ago
Ryan Tharp b100205730 fix time includes, unregisterChannel use findIndex 5 years ago
Ryan Tharp dc13091e99 Merge branch 'multidevice-publicchat' of https://github.com/neuroscr/loki-messenger into multidevice-publicchat 5 years ago
Ryan Tharp 03efa0634b add back in time functions 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 91a814b20a remove avatar annotation if not needed, lint 5 years ago
Ryan Tharp bb66515cce we now expose LokiAppDotNetServerAPI, move getPrivateKey into chatAPI, deleteMessage clean up forEach with filter, add channel setting functions, update moderators endpoint/use primary device 5 years ago
Ryan Tharp facae157fe actually move public chat specific functions into this class (isolating the file server classes) 5 years ago
Ryan Tharp a7bb17b977 remove _adnApi and expect LokiAppDotNetAPI to be like the serverAPI 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 3678b49787 abort trying response if failed 5 years ago
Ryan Tharp 027bb76989 setPublicSource now marks convo active, make getPublicSendData use the lokiPublicChatAPI findOrCreateChannel, add some warnings 5 years ago
Ryan Tharp ca0e1f995c handle public group updates differently 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
Ryan Tharp a3abf3b14a
Merge pull request #661 from sachaaaaa/encrypted_avatar
Encrypted profile pic
5 years ago
sachaaaaa 4da7243945 simplify tiny public chat snippet 5 years ago
Maxim Shishmarev 19786108a3 address reviews 5 years ago
sachaaaaa acc19985f5 allow removing picture when avatar set to null (currently only possible via mobile) 5 years ago
sachaaaaa a29f0a4120 encrypted pictures for public chats 5 years ago
sachaaaaa 5b7baaf357 enable profile sharing after becoming friends for private messages 5 years ago
sachaaaaa 7c52a1d038 encrypt and decrypt images before upload and after download 5 years ago
Maxim Shishmarev 1020f54b60
Merge pull request #662 from Bilb/655-clickable-profile
clickable profile
5 years ago
vincentbavitz 2e83881373
Merge pull request #652 from vincentbavitz/public-ban
Public ban
5 years ago
Vince 64996844ac Updated references to hasModPerms to isModerator for code consistency 5 years ago
Vince 0643c6836c Cached constants for readability 5 years ago
Vince a7a2f9289c Updated references to hasModPerms to isModerator for code consistency 5 years ago
Audric Ackermann 061556bb7d trigger showUserDetails on message's avatar clicks 5 years ago
Vince e9068d56ce Updated isModerator to senderIsModerator and fixed logic of isModerator function 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
Maxim Shishmarev 7ed103f286
Merge pull request #651 from msgmaxim/original-message
Check again for quoted messages after a short timeout
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
sachaaaaa 666c640634 lint 5 years ago
sachaaaaa 03e0a5976f Fix DEVICE_MAPPING_USER_ANNOTATION_TYPE 5 years ago
Beaudan Brown 43a91ab672 Linted 5 years ago
Beaudan Brown bee5a89f14 Show toast on user ban 5 years ago
Maxim Shishmarev 2ab0d084f1
Merge pull request #645 from msgmaxim/group-invites
Public chat invitations
5 years ago
Maxim Shishmarev d562a88583 Check again for quoted messages after a short timeout 5 years ago
Beaudan Brown 2bbc1ecf63 Make ban user; handle server request 5 years ago
Beaudan Brown a3d171884d Added ban user right click functionality 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
Maxim Shishmarev 89e5e919f2 Address more review comments 5 years ago
Maxim Shishmarev 56bb2ed792 Address review comments 5 years ago
sachaaaaa 51a9d032f9
Merge branch 'clearnet' into pairing_QR 5 years ago
sachaaaaa 516b463d2e
Merge pull request #641 from sachaaaaa/pairing_revocation
Sending and handling of special UNPAIRING_REQUEST message
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 8f52080eed immediately set profile name on public chat servers when you update it 5 years ago
Ryan Tharp 065f2ca47f setProfileName refactor, setHomeServer(), immediate detect if our ProfileName gets out of sync on the server 5 years ago
Ryan Tharp a147afec12 add note 5 years ago
Ryan Tharp bb9912dcc5 update some notes 5 years ago
Maxim Shishmarev 9d50c21b29
Merge pull request #635 from msgmaxim/context-menu-select
Don't select messages when context menu is shown
5 years ago
Ryan Tharp 7088411cff fix where the avatar went 5 years ago
Ryan Tharp 6bd1227189 add back missing avatarAnnotation for now, move setLastRetrievedMessage to after multidevice processing, make getListOfMembers async, subscribe to the channel when it registers, partChannel(), getSubscribers(), fix avatar message object placement 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
Ryan Tharp 0d47f305ca add missing await 5 years ago
Ryan Tharp 30ed04a3b1 tell the server when you leave the channel 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
Ryan Tharp 106a42306e Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into multidevice-publicchat 5 years ago
Ryan Tharp 3508658e00 pull avatar out of annotation, put it in profile 5 years ago
Maxim Shishmarev 8cd8c8d4f9
Merge pull request #610 from msgmaxim/profile-pictures
Enable custom profile pictures
5 years ago
Maxim Shishmarev 02cf9d58c8 Explicitly set server id for avatars to null 5 years ago
Ryan Tharp 207e3d022f Merge branch 'profile-pictures' of https://github.com/msgmaxim/loki-messenger into multidevice-publicchat 5 years ago
Maxim Shishmarev e06c2bf248
Merge pull request #634 from msgmaxim/modifier-keys
Jump words with Ctrl and arrow keys
5 years ago
Ryan Tharp 0c8873b5a2 constant naming clean up, remove slavePrimaryMap from LokiAppDotNetAPI, request user_annotations, home server support, use new verifyPrimaryPubKeys return format, avatar stubs 5 years ago
Ryan Tharp e1554496d2 convert LokiFileServerAPI to factory and use establishHomeConnection, lint 5 years ago
Ryan Tharp 85185714ae export a factory, LokiHomeServerInstance/LokiFileServerInstance split, verifyUserObjectDeviceMap change return to object, remove getDeviceMappingForUsers because too small, avatar map, adjust constant format 5 years ago
Ryan Tharp a186aa8a10 lint 5 years ago
Maxim Shishmarev 5a08ac9cc1 Use avatar specific endpoint 5 years ago
sachaaaaa 40208442e6 lint 5 years ago
Maxim Shishmarev 8b2876dadc Disable context menu and message selection for RSS feed 5 years ago
Maxim Shishmarev 2262b41cd7 Prevent hiding the context menu by clicking away to also potentially select messages 5 years ago
sachaaaaa 78f97bf116
Merge pull request #633 from sachaaaaa/ensure_primaryDevicePubKey_set
Ensure primaryDevicePubKey is always defined in storage
5 years ago
sachaaaaa 8850d9bcce Only set when account already created 5 years ago
Maxim Shishmarev 0abd9af449 Jump words with Ctrl and arrow keys 5 years ago
sachaaaaa 0b41ef0983 Ensure primaryDevicePubKey is always defined in storage 5 years ago
sachaaaaa 6471c3698f Fix errors showing up from invalid public chats 5 years ago
Maxim Shishmarev 4dd314c18f Enable profile pictures 5 years ago
sachaaaaa 6c28b1aa79
Merge pull request #623 from loki-project/multi-device
Multi device
5 years ago
sachaaaaa a83f66f0da Cap paired devices to 1 5 years ago
Maxim Shishmarev d1c450a213
Merge pull request #621 from msgmaxim/select-messages
Prevent clicking on quote from selecting the message
5 years ago
Beaudan Brown 685ada5cc5 Merge branch 'clearnet' into prep-merge 5 years ago
Beaudan Campbell-Brown a2e8e6480f
Merge pull request #539 from neuroscr/multidevice-publicchat
[multi-device] public chat
5 years ago
Ryan Tharp c40fe1dc79 reduce branching depth, prefer reduce over forEach, add comments, lint, dead code removal 5 years ago
Ryan Tharp d1526b9997 diable checkSigs, use libloki.crypto.validateAuthorisation, lint, remove dead code 5 years ago
Maxim Shishmarev 6c4fa6986b Prevent clicking on quote from selecting the message 5 years ago
Ryan Tharp bd17c4b026 lint 5 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
5 years ago
Beaudan Campbell-Brown 9b8d71370b
Merge pull request #611 from BeaudanBrown/fix-mic
Disable microphone button when you have disabled permissions
5 years ago
sachaaaaa 7f96b4c95c lazy instantiation 5 years ago
Beaudan Brown f1c155b943 Stop sending sync messages to public chats and mark messages from any of our devices as outgoing 5 years ago