Commit Graph

928 Commits (f9baac91a1aa4605c6381b7f4942398d7ebb1c3b)

Author SHA1 Message Date
Ryan Tharp 14f64e3769
Remove unneeded branch 6 years ago
Ryan Tharp 6faa15d5b4
Update js/modules/loki_app_dot_net_api.js
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
6 years ago
Ryan Tharp bd4600f6c4 fix spelling and log url on serverRequest with non-json response 6 years ago
Ryan Tharp 277e2e5340 make uploadPrivateAttachment static and use window.tokenlessFileServerAdnAPI, warn if no token yet 6 years ago
Ryan Tharp 9826cf0545 use now static version of uploadPrivateAttachment 6 years ago
Ryan Tharp 60259ab0bb handle clearing profileName correctly, support multidevice profiles better, use getLokiProfile() 6 years ago
Ryan Tharp 9a31e3703c make sure sendToProxy get the textResponse option from submit_challenge, improve logging 6 years ago
Ryan Tharp 926a245bf6 lint and note 6 years ago
Ryan Tharp 0223f40de2 lint 6 years ago
Ryan Tharp 3ebb308175 lint 6 years ago
Ryan Tharp 145cfd762d handle inner JSON parsing errors 6 years ago
Ryan Tharp 4a65a5aa12 handle JSON parsing error 6 years ago
Ryan Tharp 78244d9ef8 file proxy is json encoded 6 years ago
Ryan Tharp b9ab28e2fc inform that we expect a non-json repsonse 6 years ago
Ryan Tharp 4d027909c6 more text response fixes, better snode not ready detection 6 years ago
Ryan Tharp df1d032d96 headers protection, textResponse support, improve logging 6 years ago
Mikunj Varsani c37650c45d Don't wait for file server to return tokens when establishing home connection. 6 years ago
Mikunj Varsani 21e982e5c2 Fix open group joining. 6 years ago
Ryan Tharp 4c44265909 no need to validate empty token, support lokinet/getession file domains, mark broken snodes as bad, improve logging 6 years ago
Ryan Tharp ede5258dd3 improve logging 6 years ago
Ryan Tharp 99afd33fb4 improve logging 6 years ago
Ryan Tharp 3bba0571a0 markRandomNodeUnreachable() refactor, notes/logging 6 years ago
Ryan Tharp 2c4facc694 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into tls-fix 6 years ago
Vincent b341ceaf76 Closed group joining completed w/o backend 6 years ago
Ryan Tharp 3abb691e2c lint 6 years ago
Ryan Tharp 90de43e6ff refactor out validServer() 6 years ago
Vincent 4fd2126fbe Fileserver update 6 years ago
Ryan Tharp 8767a57ddd actually validate URL before starting up a bunch of timers 6 years ago
Ryan Tharp 739ac4ce4e include useful info on error 6 years ago
Ryan Tharp c1cea3ca04 turn off snode proxy logging 6 years ago
Ryan Tharp d7a1fbab22 make sure TLS is forced on open groups, improve serverRequest error message 6 years ago
Ryan Tharp 3a0b3dddfd lint 6 years ago
Ryan Tharp e6ab3d55ae fix querystring in file-proxy 6 years ago
Ryan Tharp 569485f42a put back seemingly now required process.env.NODE_TLS_REJECT_UNAUTHORIZED 6 years ago
Ryan Tharp c864f00697 lint 6 years ago
Ryan Tharp 3abfd7833c fix typo 6 years ago
Ryan Tharp 058d294eb0 better error checking 6 years ago
Ryan Tharp d69a0a9fd4 lint 6 years ago
Ryan Tharp aee63c3eae
file proxy needs to be able to talk to snode
- disable TLS check for fileProxy
- lokiHttpsAgent => snodeHttpsAgent (since we use for two different things now)
6 years ago
Ryan Tharp 3964e9acf0
Merge branch 'clearnet' into tls-fix 6 years ago
Ryan Tharp 1c7067a957
Merge pull request #774 from neuroscr/groupavatar
Token handling over snodeProxy
6 years ago
Vince 5bbd136493
Merge pull request #758 from neuroscr/version-check
Version check, de-signal.org-ification
6 years ago
Ryan Tharp 18065c101b minor refactor 6 years ago
Ryan Tharp daa21c1265 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into groupavatar 6 years ago
Ryan Tharp 3d70a6dc66 make sure token comms are done over fileProxy, other notes, logging adjustment 6 years ago
Maxim Shishmarev 3f58dea035 Remove mixpanel 6 years ago
Ryan Tharp 24b37b93c6 add .loki to have a self-signed cert 6 years ago
Ryan Tharp 615a41fa21
Merge branch 'clearnet' into tls-fix 6 years ago
Vincent 9dcc851ebd Updated all icon references 6 years ago
Maxim Shishmarev 02320334f0 Remove P2P 6 years ago
Ryan Tharp 19b007696c
address missing comma for lint 6 years ago
Ryan Tharp 646c3b2f26 disable unauthorization rejection when making https requests limited to lokiRpc 6 years ago
Ryan Tharp 3797a2169c add skipToken to establishConnection options, smuggle out secureRpcPubKey 6 years ago
Maxim Shishmarev 3418fff2d3
Merge pull request #749 from neuroscr/rss-proxy
pull RSS through file proxy
6 years ago
Maxim Shishmarev d910633422
Merge pull request #746 from msgmaxim/no-autojoin-loki-chats
Disable auto-joining default loki open groups
6 years ago
Maxim Shishmarev cf10a19b34 Disable auto-joining default loki open groups 6 years ago
Vince 310038ec31
Merge pull request #748 from loki-project/brand-redesign
Brand redesign
6 years ago
Ryan Tharp 8fc5b6769a pull RSS through file proxy 6 years ago
Audric Ackermann d68aeb947e
Merge branch 'clearnet' into brand-redesign 6 years ago
Audric Ackermann 7867f4dceb
Merge branch 'clearnet' into brand-redesign 6 years ago
Maxim Shishmarev b7e93ab597 Support sealed sender for friend requests 6 years ago
Maxim Shishmarev b405b150cc Sealed sender support 6 years ago
Maxim Shishmarev dc0571137c
Merge pull request #734 from neuroscr/fileproxy
ephemeral layering file proxy
6 years ago
Audric Ackermann a39881ff1a
Display subscriber count for open groups (#741)
Display subscriber count for open groups
6 years ago
Ryan Tharp 758a936e8f include IV in server response 6 years ago
Ryan Tharp ab83f89142 _sendToProxy pass headers/handle response refactor, lint 6 years ago
Ryan Tharp f2233c20c7 add missing semicolon 6 years ago
Ryan Tharp 11359fc037
Merge branch 'clearnet' into fileproxy 6 years ago
Vincent 4a7e2dece7 Password lock screen and delete data screen 6 years ago
Audric Ackermann c92d22fece
allow space inside a display name but not at start or end 6 years ago
Maxim Shishmarev c1a55848b8
Merge pull request #739 from msgmaxim/secondary-device-fix
Fix not showing messages from secondary devices
6 years ago
Maxim Shishmarev 8ce066b802 Display subscriber count for open chats 6 years ago
Vincent 4d690768a6 Scrolling button updated and animations to modals 6 years ago
Ryan Tharp 5ced9a2b85 initial refactor of feaure flag detection statements in serverRequest() 6 years ago
Ryan Tharp 41e35a1647 support file uploads on file proxy, fix _sendToProxy calling 6 years ago
Ryan Tharp f8252ec1ec decrypt file server response, remove debug, handle crypt before _sendToProxy, improve json parsing failure logging 6 years ago
Ryan Tharp e51a030dc9 include log 6 years ago
Maxim Shishmarev 7cc2f5d707 Fix not showing messages from secondary devices 6 years ago
Audric Ackermann 293eca0509 Merge branch 'brand-redesign' into clearnet 6 years ago
Audric Ackermann d3f994d9bf Merge branch 'clearnet' of github.com:loki-project/loki-messenger into clearnet 6 years ago
Vince 5d705312cc
Merge branch 'brand-redesign' into brand-redesign 6 years ago
Audric Ackermann 37cbd3d2c0 fix SessionSettings not found as does not exist 6 years ago
Ryan Tharp ce2e85cd38 send ephermal pubkey not privkey, file_proxy JSON encode body 6 years ago
Ryan Tharp 6ab16d7e56 fix case so function exists, give a warning when initialiseRandomPool or getSwarmNodes fail 6 years ago
Ryan Tharp 4198f30b99 Label errors better, make _sendToProxy use ephermal layering 6 years ago
Ryan Tharp 3969817a0a lint
lint

lint
6 years ago
Ryan Tharp 1a785a2435 fix getSwarmNodes exception handler, lint 6 years ago
Ryan Tharp 9e10d11e9d hardcode file server pub key, pass it to _server 6 years ago
Vincent a1a582d7ea Session branding fixes 6 years ago
Vincent 5fbbdc33c3 Signal branding 6 years ago
Ryan Tharp b0561f144b
if you have invalid token, wait for good token 6 years ago
Audric Ackermann 25344685a2 merge 6 years ago
Vincent 010cf045cb optimisation of ternary & binary expr. 6 years ago
Vincent e065cc404f Password set, change and remove complete 6 years ago
Audric Ackermann 67262c7eaa lint after merge and fix startup of app 6 years ago
Audric Ackermann 43956709ad include the channel settings panel on right of conversation 6 years ago
Audric Ackermann 9b8ad976e3 remove not used AddServerDialog -> now on chanel section 6 years ago
Vincent 2b7af04587 Message selection fixed and optimised for speed 6 years ago
Vincent 8c9854dd90 Settings onClick functionality 6 years ago
Vince 2cf152b882
Update signal.js
Rmv old deps
6 years ago
Vincent 74fd0159eb Fix conflicts 6 years ago
Vincent 2d01275ede QR Code responds to theme changes 6 years ago
Vincent 2ede557a74 Modal additions incl. QR fixup and Seed View 6 years ago
Vincent 2caffa9289 Dependencies resorted and modal adjustments 6 years ago
Audric Ackermann b09ca5c751 remove not used headerview 6 years ago
Vincent 8074756dc2 Infinte duration toasts 6 years ago
Vincent 6ee5d041fb Finishing up some modals 6 years ago
Vincent 648cc2339c Working with deps 6 years ago
Vincent 659d4412bd QR code completion 6 years ago
Vincent 2419272608 Updated React dialogs to SessionModals 6 years ago
Vincent 228e4ca81e Adding session settings to utilise toggles 6 years ago
Vincent 8aac656107 Modals finished. Need to xfer all to React 6 years ago
Vincent 9afb8b4d5e Major rework of context menus 6 years ago
Maxim Shishmarev a195c98061 Add a feature flag for snode proxy 6 years ago
Vincent e9d543fe4a Dropdown generalisation and simplification 6 years ago
Vincent 12011a30d4 Inital dropdown, modal and toggle 6 years ago
Vince 9cd27abf31
Merge branch 'brand-redesign' into brand-redesign 6 years ago
Vincent 4d463c659c Filesize toast amend 6 years ago
Audric Ackermann cc97d9284b add first chunck of our SessionRegistrationView 6 years ago
Ryan Tharp c9c1567e80 fix token refresh, log error when failing to send a message 6 years ago
Ryan Tharp 1c02489c2f improve context for log message 6 years ago
Ryan Tharp 7a97736751 remove unused manageModerators dialog 6 years ago
Ryan Tharp 88b62210e7 array/meta guard, getModerators(), addModerators()/removeModerators() 6 years ago
Ryan Tharp 5730a88c18 add/remove moderator modal dialogs 6 years ago
Ryan Tharp b100205730 fix time includes, unregisterChannel use findIndex 6 years ago
Ryan Tharp 03efa0634b add back in time functions 6 years ago
Vincent 533ec4eedc Fixed syntax & linted 6 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
6 years ago
Ryan Tharp 91a814b20a remove avatar annotation if not needed, lint 6 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 6 years ago
Ryan Tharp facae157fe actually move public chat specific functions into this class (isolating the file server classes) 6 years ago
Ryan Tharp a7bb17b977 remove _adnApi and expect LokiAppDotNetAPI to be like the serverAPI 6 years ago
Ryan Tharp 3678b49787 abort trying response if failed 6 years ago
Ryan Tharp a3abf3b14a
Merge pull request #661 from sachaaaaa/encrypted_avatar
Encrypted profile pic
6 years ago
sachaaaaa 4da7243945 simplify tiny public chat snippet 6 years ago
sachaaaaa a29f0a4120 encrypted pictures for public chats 6 years ago
Maxim Shishmarev 1020f54b60
Merge pull request #662 from Bilb/655-clickable-profile
clickable profile
6 years ago
vincentbavitz 2e83881373
Merge pull request #652 from vincentbavitz/public-ban
Public ban
6 years ago
Audric Ackermann 9992a3da1d Add a showUserDetails modal to display user's details
Relates #655
6 years ago
sachaaaaa 666c640634 lint 6 years ago
sachaaaaa 03e0a5976f Fix DEVICE_MAPPING_USER_ANNOTATION_TYPE 6 years ago
Beaudan Brown 43a91ab672 Linted 6 years ago
Beaudan Brown bee5a89f14 Show toast on user ban 6 years ago
Maxim Shishmarev 2ab0d084f1
Merge pull request #645 from msgmaxim/group-invites
Public chat invitations
6 years ago
Beaudan Brown 2bbc1ecf63 Make ban user; handle server request 6 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
6 years ago
Maxim Shishmarev a5fce17d8c public chat invitations 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