Commit Graph

4079 Commits (553713c31147c32a776ea6319a1fb2a3bfc3c0d8)

Author SHA1 Message Date
Maxim Shishmarev a91d925384
Merge pull request #1000 from msgmaxim/onion-requests
Client-side implementation for onion requests
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
Maxim Shishmarev d9759bb40a Explicitly throw on error 5 years ago
Audric Ackermann 3800ca2050
Merge pull request #999 from Bilb/notify-user-link-invalid-screen
Toast on device pairing request received but in device pairing mode
5 years ago
Maxim Shishmarev 0221e7b8c0 fix linter warnings 5 years ago
Maxim Shishmarev f2ef69f00d Handle timeouts in guard testing; address some review comments 5 years ago
Maxim Shishmarev b786df8045 Remove limit on requested nodes 5 years ago
Maxim Shishmarev 3a746109ea Path building for onion requests 5 years ago
Maxim Shishmarev a9e6d863c3 Disable long-polling 5 years ago
Vince 5c117072ff
Merge pull request #1002 from vincentbavitz/messages-open-groups
Messages open groups
5 years ago
Vincent 6360b539a3 linting 5 years ago
Ryan Tharp a9da21a807
Merge pull request #1001 from neuroscr/patchopensnapps
Fix serverRequest retry
5 years ago
Ryan Tharp 57b2840ed8 serverRequest: fix retry, fix note 5 years ago
Audric Ackermann b3d895caf3
Toast on device pairing request received but in device pairing mode 5 years ago
Vincent 6d9bcc3079 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into clearnet 5 years ago
Vincent 99a5766592 session nomenclature updates 5 years ago
Vince 78ba6f03e1
Merge pull request #988 from neuroscr/patchopensnapps
snode communication and logging clean up #2 & AppDotNot minor refactor
5 years ago
Ryan Tharp 7a0e972ca4 refactor getRandomPoolLength out of markRandomNodeUnreachable 5 years ago
Ryan Tharp 8bf77ce44f collapse difficulty branching 5 years ago
Ryan Tharp d15445a1e0 don't create unneeded variables 5 years ago
Ryan Tharp 4bb2e83cb3 lint 5 years ago
Ryan Tharp bb7d4820a5
Merge pull request #959 from neuroscr/opengroupordering
open group avatar redo conversion properly
5 years ago
Ryan Tharp 99679741c1 some renames, improve refresh random pool failures better 5 years ago
Ryan Tharp 6bdc269081 include function name in log message 5 years ago
Ryan Tharp e4d762a358 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into patchopensnapps 5 years ago
Vince 0f06046247
Merge pull request #987 from loki-project/open-group-fix
Fix messages not being created properly in open groups
5 years ago
Vince bed64b2ab8
Merge pull request #935 from Bilb/fix-contextmenu-cache-conversation-view
Fix menu cache conversation view
5 years ago
Ryan Tharp 8d4be4cb0b lint 5 years ago
Ryan Tharp e66e30bb0b URL for lint 5 years ago
Ryan Tharp 07ce97aa56 serverRequest/sendToProxy refactor, start messagesPollLock implementation, improve logging 5 years ago
Ryan Tharp 2d76b1eda9 .loki support improvement 5 years ago
Ryan Tharp 9a01317e96 log error 5 years ago
Ryan Tharp 455bfa4ab7 result guard, mark internal-only intended functions with _ prefix and simplify parameters, logging improvements 5 years ago
Ryan Tharp 241e64b94b lint 5 years ago
Ryan Tharp e3545fa338 change unreachableNode 2nd param to object, put lock around getRandomSnodeAddress so they can't stack, markRandomNodeUnreachable returns remaining count, adjust logging 5 years ago
Ryan Tharp 1c78e1a701 sendToProxy use agent, handle 401/500s, retry system 5 years ago
Mikunj 33925d69e9 Cleanup 5 years ago
Mikunj Varsani d8b982e194 Fix messages not being created properly in open groups 5 years ago
Mikunj Varsani ba48028375
Merge pull request #977 from konstantinullrich/#631-Keyboard-selection-via-Shift-not-working-when-starting-a-selection-from-the-right
Implement Blib's change
5 years ago
Mikunj Varsani d120cbb55d
Merge pull request #966 from majestrate/loki-tld-hack-2020-03-10
make session "work" with .loki tld
5 years ago
Konstantin Ullrich c410ef5354 Remove Debuglog 5 years ago
Konstantin Ullrich 2ed7ed5de5 Implement Blib's change 5 years ago
Mikunj 8c91aa04f1 Speed up message creation.
We were fetching all of our devices everytime a new message was received.
This was only used for when the message was a public chat message, so i moved it into the relevant if statement.

In the future if we increase the device link limit, we'll need to fetch all our devices on application launch or something.
5 years ago
Mikunj 26140e0ed0 Send delivery receipts asynchronously 5 years ago
Jeff Becker 8d684f7b1b
make .loki public chats "work"
passing number zero to environmental variables UNSETS the variable, pass "0" instead.
this commit makes it "work" but is probably not the right fix, that comes later. (tm)
5 years ago
Mikunj 745e898bcc Remove more unused functions 5 years ago
Mikunj d5bb069207 Cleanup unused functions 5 years ago
Mikunj eeb6257526 Remove settings view 5 years ago
Ryan Tharp 738057587d open group avatar redo conversion properly 5 years ago
Vince 868ad39e88
Merge pull request #932 from neuroscr/fixconvview
Fix message still loading exception
5 years ago