You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/js/modules
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>
6 years ago
..
metadata Refactor session reset handling 6 years ago
migrations Merge signal changes into branch. 7 years ago
types Left pane changes. 7 years ago
views Show and log progress during the SQLCipher migration 7 years ago
.eslintrc Replace generator function and other various fixes 6 years ago
attachment_downloads.js New MessageController as the single place for in-memory messages 7 years ago
auto_orient_image.js
backup.js Debug log optimizations and improvements 7 years ago
crypto.js Updates to backup infrastructure 7 years ago
data.d.ts Search returns primary device when looking up secondary pub key 6 years ago
data.js Merge branch 'clearnet' into prep-merge 6 years ago
database.js
debug.js Move conversations to SQLCipher 7 years ago
debuglogs.js loki-messenger => session-desktop 6 years ago
deferred_to_promise.d.ts
deferred_to_promise.js
i18n.js Use window.log in browser context, turn on console eslint rule 7 years ago
idle_detector.js Use window.log in browser context, turn on console eslint rule 7 years ago
indexeddb.js Merge signal changes into branch. 7 years ago
job_queue.js Lint 7 years ago
link_previews.d.ts Improve handling for URLs composed of mixed character sets 7 years ago
link_previews.js Enable link preview for i.imgur.com, tenor and giphy 6 years ago
logs.js
loki_app_dot_net_api.js serverRequest: fix retry, fix note 6 years ago
loki_file_server_api.js Integration tests (#975) 6 years ago
loki_message_api.js collapse difficulty branching 6 years ago
loki_public_chat_api.js Integration tests (#975) 6 years ago
loki_rpc.js refactor getRandomPoolLength out of markRandomNodeUnreachable 6 years ago
loki_rss_api.js file proxy is json encoded 6 years ago
loki_snode_api.js refactor getRandomPoolLength out of markRandomNodeUnreachable 6 years ago
messages_data_migrator.js Move conversations to SQLCipher 7 years ago
migrate_to_sql.js Remove groups table, conversation is single source of truth 7 years ago
privacy.js
refresh_sender_certificate.js Fix reference to nonexistent variable 7 years ago
settings.js Show and log progress during the SQLCipher migration 7 years ago
signal.js separate update group name and group members dialog 6 years ago
sleep.js
string_to_array_buffer.js
util_worker_interface.js Fix variable names. 7 years ago
web_api.js use now static version of uploadPrivateAttachment 6 years ago