Commit Graph

237 Commits (ae1f86325f0881a1f9a2f15039cd1efe3ac9759c)

Author SHA1 Message Date
Mikunj a351ce6c30 Linting
Mikunj bf4557fbe8 Fix styling on registration page
Mikunj 373224eee2 Fix window sizing
Ryan Tharp 99202947ce add note
Audric Ackermann f41ba8163d
fix-menu-bar-setting
Audric Ackermann 9041c2ad06
Merge pull request from Bilb/fix-password-login-crash
Close the password window once mainwindow is focused
Ryan Tharp 2e3ebc0c8a
Merge pull request from neuroscr/fix-int-tests
make closed group create button clickable (via minimum height), onBlur calls onChange
Maxim Shishmarev 804b4e54ac
Merge pull request from msgmaxim/lns
API implementation for LNS
Ryan Tharp 86ab440bb8 make minimum window height, so integration tests can clicked on closed group button
Maxim Shishmarev 932ea23ceb API implementation for LNS
Mikunj Varsani 32b9f2b5a9
Merge pull request from Mikunj/theme-setting
Fix theme setting not being sent back to main.js
Mikunj 915ea1e283 fix quotes
Audric Ackermann b39ac9f44e
Close the password window once mainwindow is focused
password was closed to early and no windows were shown which triggered
the app stop
Vincent 330a070fdf Height params adjusted to fit modals
Mikunj 09f1e635c8 Fix theme setting not being send back to main.js
Audric Ackermann 9ff16d7e60
move to electron spellchecker
Mikunj 0cccc70b9b Fix integration test running on the wrong environment
Mikunj 6d87904d18 Clean up config files.
Removed unused scripts.
Removed unused files.
Audric Ackermann 9ddda73ca2
Integration tests ()
* 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>
Vince 458254d6b1
Update main.js
Vincent 67f94334c2 hardcoded
Vince 54c5f31433
Merge pull request from Mikunj/auto-update-setting
Added setting to disable checking for auto updates.
Mikunj Varsani 75dadb2054
Merge pull request from neuroscr/fix952
Fix : remove org.whispersystems in notifications
Mikunj d31feed2c0 Review fixes
Mikunj d10a8f0a6f Added setting to disable checking for auto updates.
Mikunj 6767f71a6b Make getMediaPermissions synchronous
Mikunj eeb6257526 Remove settings view
Ryan Tharp 837dfe1af5 remove org.whispersystems from notifications to match package.json build appId, fixes
Ryan Tharp 178d788dca Enable auto-updating using electron-updater
Vince 67e3846787
Merge pull request from jian10au/scaleslider
Zoom factor slider
Brian Jian Zhao 203d314254 fix the slider bug
Brian Jian Zhao 23da1831c2 removed unnecessary comments after review
Audric Ackermann ff45fb27f2
Set a bg color to the mainwindow
Might improve sharpness of font rendering
@see https://github.com/electron/electron/blob/master/docs/faq.md#the-font-looks-blurry-what-is-this-and-what-can-i-do
Brian 96e9a68abd add zoomfactor to main
Ryan Tharp 2f73836f85
Update Messenger/Messenger to Messenger/Session
per Jimmy
Ryan Tharp 2fd279e514
Update loki-messenger links
Update loki-messenger => session-desktop and fix support page
Ryan Tharp cef644b637
f5 isn't a valid accelerator
fix WARNING: f5 is not a valid accelerator on MacOS
Vince 8767a7a829
Merge pull request from
Fixissue#820
Echedey 3c936d10f0
Reverting changes in pull
As suggested, with that old commit the "Go to Release Notes" link is broken referencing to "https://github.com/loki-project/session-desktop/releases/tag/1.0.1" for example.
Brian Jian Zhao 74be4fa905 further lower the min height to 580px
Brian Jian Zhao efcfa6b5e3 change electron window min setting
Audric Ackermann ddf1ca78ec
use local shortcut instead of global shortcut
otherwise, ctrl+r is only caught bu the last loaded instance
Audric Ackermann 7a42c5a005
fix lint
Audric Ackermann e077b0a77b
reload app on ctrl-r or f5 from anywhere
Audric Ackermann 2cd4aec734
force locale to be EN until our files are updated and translated
Vince 215f6631a4
Update main.js
Aspect ratio amendment
Audric Ackermann 5c4fa1d2cb
increase min height respecting ratio
Audric Ackermann 213db6c1ed fix lint
Audric Ackermann aaf202b9f7 add session icon as app icon
Vincent dd421d58f1 Theme switching. Need to update _session*_light