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
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
6 years ago
sachaaaaa
51a9d032f9
Merge branch 'clearnet' into pairing_QR
6 years ago
sachaaaaa
516b463d2e
Merge pull request #641 from sachaaaaa/pairing_revocation
...
Sending and handling of special UNPAIRING_REQUEST message
6 years ago
Maxim Shishmarev
8ea82b14e3
Add channel id field to invitations
6 years ago
Maxim Shishmarev
a5fce17d8c
public chat invitations
6 years ago
Ryan Tharp
8f52080eed
immediately set profile name on public chat servers when you update it
6 years ago
Ryan Tharp
065f2ca47f
setProfileName refactor, setHomeServer(), immediate detect if our ProfileName gets out of sync on the server
6 years ago
Ryan Tharp
a147afec12
add note
6 years ago
Ryan Tharp
bb9912dcc5
update some notes
6 years ago
Maxim Shishmarev
9d50c21b29
Merge pull request #635 from msgmaxim/context-menu-select
...
Don't select messages when context menu is shown
6 years ago
Ryan Tharp
7088411cff
fix where the avatar went
6 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
6 years ago
Ryan Tharp
95a94175c0
make findOrCreateChannel async
6 years ago
Ryan Tharp
ced6563358
make maybeShowMembers async for lokiPublicChatAPI.getListOfMembers call
6 years ago
Ryan Tharp
0d47f305ca
add missing await
6 years ago
Ryan Tharp
30ed04a3b1
tell the server when you leave the channel
6 years ago
sachaaaaa
94dd331cb1
Show pubkey QR code in pairing dialog (as primary)
6 years ago
sachaaaaa
63fd72d971
Make linter happy
6 years ago
sachaaaaa
db0068b429
Sending and handling of special UNPAIRING_REQUEST message
6 years ago
Ryan Tharp
106a42306e
Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into multidevice-publicchat
6 years ago
Ryan Tharp
3508658e00
pull avatar out of annotation, put it in profile
6 years ago
Maxim Shishmarev
8cd8c8d4f9
Merge pull request #610 from msgmaxim/profile-pictures
...
Enable custom profile pictures
6 years ago
Maxim Shishmarev
02cf9d58c8
Explicitly set server id for avatars to null
6 years ago
Ryan Tharp
207e3d022f
Merge branch 'profile-pictures' of https://github.com/msgmaxim/loki-messenger into multidevice-publicchat
6 years ago
Maxim Shishmarev
e06c2bf248
Merge pull request #634 from msgmaxim/modifier-keys
...
Jump words with Ctrl and arrow keys
6 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
6 years ago
Ryan Tharp
e1554496d2
convert LokiFileServerAPI to factory and use establishHomeConnection, lint
6 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
6 years ago
Ryan Tharp
a186aa8a10
lint
6 years ago
Maxim Shishmarev
5a08ac9cc1
Use avatar specific endpoint
6 years ago
sachaaaaa
40208442e6
lint
6 years ago
Maxim Shishmarev
8b2876dadc
Disable context menu and message selection for RSS feed
6 years ago
Maxim Shishmarev
2262b41cd7
Prevent hiding the context menu by clicking away to also potentially select messages
6 years ago
sachaaaaa
78f97bf116
Merge pull request #633 from sachaaaaa/ensure_primaryDevicePubKey_set
...
Ensure primaryDevicePubKey is always defined in storage
6 years ago
sachaaaaa
8850d9bcce
Only set when account already created
6 years ago
Maxim Shishmarev
0abd9af449
Jump words with Ctrl and arrow keys
6 years ago
sachaaaaa
0b41ef0983
Ensure primaryDevicePubKey is always defined in storage
6 years ago
sachaaaaa
6471c3698f
Fix errors showing up from invalid public chats
6 years ago
Maxim Shishmarev
4dd314c18f
Enable profile pictures
6 years ago
sachaaaaa
6c28b1aa79
Merge pull request #623 from loki-project/multi-device
...
Multi device
6 years ago
sachaaaaa
a83f66f0da
Cap paired devices to 1
6 years ago
Maxim Shishmarev
d1c450a213
Merge pull request #621 from msgmaxim/select-messages
...
Prevent clicking on quote from selecting the message
6 years ago
Beaudan Brown
685ada5cc5
Merge branch 'clearnet' into prep-merge
6 years ago
Beaudan Campbell-Brown
a2e8e6480f
Merge pull request #539 from neuroscr/multidevice-publicchat
...
[multi-device] public chat
6 years ago
Ryan Tharp
c40fe1dc79
reduce branching depth, prefer reduce over forEach, add comments, lint, dead code removal
6 years ago
Ryan Tharp
d1526b9997
diable checkSigs, use libloki.crypto.validateAuthorisation, lint, remove dead code
6 years ago
Maxim Shishmarev
6c4fa6986b
Prevent clicking on quote from selecting the message
6 years ago
Ryan Tharp
bd17c4b026
lint
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
Beaudan Brown
f1c155b943
Stop sending sync messages to public chats and mark messages from any of our devices as outgoing
6 years ago
Beaudan Brown
ac762d43d5
Reduce indentation and simplify code by using existing verification functions
6 years ago
sachaaaaa
bd9a900a1b
Prevent instantiating a new BulkEdit react component with every click
6 years ago
Beaudan Campbell-Brown
b42a8aab1f
Typo
...
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
6 years ago
Ryan Tharp
cad9a89636
verifyUserObjectDeviceMap removed notFoundHandler from prototype/reduced branching depth/returns users pub keys not found
6 years ago
Ryan Tharp
60cefc7fe1
improve comments
6 years ago
sachaaaaa
2b6bd7e04a
Merge pull request #612 from sachaaaaa/timeout_fix
...
Fix recurring memory leak in mentions
6 years ago
Ryan Tharp
0b05753fec
use renamed getUsers
6 years ago
Ryan Tharp
1a59ef5f92
rename getUsersAnnotations => getUsers
6 years ago
Ryan Tharp
eab53e158e
Merge branch 'multi-device' of https://github.com/loki-project/loki-messenger into multidevice-publicchat
6 years ago
Beaudan Brown
807f4cbd2a
Storing primary device pubkey on the conversation model for easier access, ensuring that we accept all the friend requests from the primary conversation rather than the secondary
6 years ago
sachaaaaa
b7b2776340
Address review
6 years ago
sachaaaaa
c9e3757381
dial the logging down a notch
6 years ago
sachaaaaa
2c1375e42a
Fix recurring memory leak in mentions
6 years ago
Beaudan Brown
24a687c106
Throttle the refreshing of device mappings to once every minute
6 years ago
Beaudan Brown
030264c689
Fix misuse of getAllDevicePubKeysForPrimaryPubKey and rename some vars
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 Campbell-Brown
6611a10855
Merge pull request #590 from BeaudanBrown/session-reset-on-fr
...
Session reset on fr
6 years ago
Beaudan Brown
b7dd4257d6
Disable microphone button when you have disabled permissions
6 years ago
Beaudan Brown
370dee5abb
Ensure we have the correct apis and listeners during the pairing process. Catch upnp error. Remove redundant friend requests
6 years ago
Beaudan Brown
c31535edb4
Rename blockSync, only send contacts and profile if sending a GRANT request, do *not* always be friends with secondary devices because we still need to complete a friend request exchange
6 years ago
Beaudan Brown
332cd30052
Send contact sync message when becoming friends with contact and auto accept/send friend requests when receiving contact sync
6 years ago
sachaaaaa
5529deb019
Merge pull request #602 from sachaaaaa/unpairing_device
...
[multi-device] Allow unpairing device
6 years ago
Beaudan Campbell-Brown
e88aca57f2
Merge pull request #603 from sachaaaaa/Fix_secondary_nickname
...
[multi-device] Fix secondary nickname
6 years ago
Beaudan Campbell-Brown
0f74a002df
Merge pull request #601 from BeaudanBrown/sync-messages
...
[multi-device] Sync messages
6 years ago
Beaudan Brown
15c07ea7df
Sync secondary devices again but handle the receiving of them properly
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
Beaudan Brown
accd16cae1
Trigger friend request received update for the correct device conversation, throttle the sending of automated friend requests and don't send them to devices which sent *us* a friend request
6 years ago
Beaudan Brown
41fdcef695
Ensure that we can't miss the apisReady event and only listen for single emit
6 years ago
Maxim Shishmarev
7c96990119
Correctly handle server errors in multi-deletion
6 years ago
sachaaaaa
cd2c4b993a
lint
6 years ago
sachaaaaa
dc626ec4d0
use primary device pubkey when setting nickname
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
Beaudan Brown
7e275ac266
Don't sync secondary devices and make sure initAPIs has been called before sending friend requests to synced contacts
6 years ago
Beaudan Brown
f16b032056
Handle sync messages properly for some edge cases, ensure we always have a primaryDevicePubKey, send contact sync message
6 years ago
sachaaaaa
46613de846
lint
6 years ago
sachaaaaa
b324421534
Allow primary device to assign local aliases to paired devices
6 years ago
Maxim Shishmarev
395daf3aba
Use Array.includes in place of Array.indexOf
6 years ago
Maxim Shishmarev
a2f836c690
Address review comments
6 years ago
Maxim Shishmarev
7c05939f55
Add group admins and the ability to remove members from private groups
6 years ago
Maxim Shishmarev
0df5214979
Limit small private groups to 10 members
6 years ago
Maxim Shishmarev
9f81f67460
Can leave private group chats
6 years ago
Maxim Shishmarev
f5e9a870f7
Add support for mentions in private group chats
6 years ago
Maxim Shishmarev
cf18572049
Adding new group members; establishing sessions between non-friends
6 years ago
Maxim Shishmarev
0d19b708f9
Creating private group chats between friends
6 years ago
sachaaaaa
9ddc237f6d
show pairing words instead of pubkeys on the primary device's paired devices list.
6 years ago
Maxim Shishmarev
6c08852118
Merge pull request #593 from msgmaxim/not-friends
...
Fix incorrectly showing friend request as pending
6 years ago
Maxim Shishmarev
279328f47b
Merge pull request #595 from msgmaxim/fix-rss
...
Clean up RSS conversation
6 years ago
sachaaaaa
65361d33f5
New menu item "show pairing words" for secondary devices
6 years ago
Maxim Shishmarev
e64ccbdd2b
Clean up RSS conversation
6 years ago
Maxim Shishmarev
9e6f6d5a01
Fix incorrectly showing friend request as pending
6 years ago
Maxim Shishmarev
1f4af59dad
Delete public chat messages locally if not stored on the server
6 years ago
Beaudan Brown
e9dc3b531e
Simplify auto accept check
6 years ago
Beaudan Brown
653fd06451
Don't await for some background messages
6 years ago
Beaudan Brown
8ccf62ed4e
Trigger endSession code if we receive a friend request from a friend
6 years ago
Beaudan Brown
cc8277f54d
Better variable name and use it in more places
6 years ago
Beaudan Brown
883feb668d
The rest of my multidevice work, send messages to all the correct devices and automatic friend request if not friends with a device
6 years ago
Beaudan Campbell-Brown
aa66b28ffe
Merge pull request #579 from BeaudanBrown/friends-with-any
...
Add isFriendsWithAnyDevice and use it in relevant places
6 years ago
Beaudan Brown
76b36845bb
Add isFriendsWithAnyDevice and use it in relevant places
6 years ago