Commit Graph

1085 Commits (3dfc1ca213cc53f8396fd55620ab5164849ba6d8)

Author SHA1 Message Date
Vincent c7c72e50bb lint 5 years ago
Vincent d6a48b9f6d Password paste 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
Vincent 6360b539a3 linting 5 years ago
Vincent 6135f4d334 Message selection correction 5 years ago
Vincent c27dd095fc Join open group on enter 5 years ago
Vincent 4ed1e42cae Message selection debug and onenter 5 years ago
Vincent 6d9bcc3079 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into clearnet 5 years ago
Mikunj a6e54d5c52 Minor fix for auto-updating 5 years ago
Vince 54c5f31433
Merge pull request #967 from Mikunj/auto-update-setting
Added setting to disable checking for auto updates.
5 years ago
Vince bed64b2ab8
Merge pull request #935 from Bilb/fix-contextmenu-cache-conversation-view
Fix menu cache conversation view
5 years ago
Vince 8fb092af21
Merge pull request #982 from konstantinullrich/#974-Match-styleguide-with-native-ContextMenus
Replace native Context Menu with a syleguided one in SearchInput
5 years ago
Vincent 09a18d1938 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into clearnet 5 years ago
Mikunj Varsani 66cec1f51e Review fix. 5 years ago
Konstantin Ullrich 447ba9d3aa Remove redundant code from SessionSearchInput 5 years ago
Mikunj Varsani f594a5e5cf
Merge pull request #978 from konstantinullrich/#901-TTL-Display-Clock-Alternative
Add a numeric TTL Countdown if the time left is under 1 minute
5 years ago
Konstantin Ullrich e9be9bcbc5 lint quotemark ` should be ' 5 years ago
Konstantin Ullrich de6dc26d6c Replace native Context Menu with a syleguided one in SearchInput 5 years ago
Vince fa41acc7ac
Merge pull request #962 from konstantinullrich/#889-Advanced-Search
#889 Advanced search
5 years ago
Konstantin Ullrich 18a464fc58 Add a numeric TTL Countdown if the time left is under 1 minute 5 years ago
Konstantin Ullrich 20feb23017 small lint fix in search.ts 5 years ago
Konstantin Ullrich 366acae1cd Minor Fix check if from is invalid not just null 5 years ago
Konstantin Ullrich 87aee6286d Implement requested minor changes 5 years ago
Mikunj 86b427cc4d Lint 5 years ago
Mikunj d10a8f0a6f Added setting to disable checking for auto updates. 5 years ago
Mikunj Varsani d6c3f89fde
Merge pull request #965 from Mikunj/clean-settings
Clean settings
5 years ago
Mikunj 745e898bcc Remove more unused functions 5 years ago
Konstantin Ullrich 19b0bbdf8a Change onChange to onAfterchage 5 years ago
Konstantin Ullrich 048ca2d405 fix lint in search.ts 5 years ago
Konstantin Ullrich 3eca4025e7 Fix lint in search.ts 5 years ago
Konstantin Ullrich f770d4ed44 lint 5 years ago
Konstantin Ullrich 8f7083f5a2 Update Advanced Search by easier date formats 5 years ago
Konstantin Ullrich c11a96ad01 lint 5 years ago
Konstantin Ullrich 8c32bb93f7 Implement Advanced Search (from, before and after) 5 years ago
Mikunj 012575be35 Remove calling sc_reduce32 when deriving a keypair from a mnemonic seed.
This is the reason that seeds across desktop and mobile devices would never restore to the same keypair. This function was there from the initial messenger days and with further discussion with Maxim, we deemed calling this function an unnecessary step for generating a keypair. There are no security implications for this change as we generate keypairs the exact same way as Signal does.

The biggest downside to this change however is that if you try to restore a desktop device with a seed from before this change, that seed will generate a completely different key pair and thus a different session ID.
This will only affect users who plan to restore any device from the seed of a desktop device before this change.
5 years ago
Vince 62abcfcdc6
Prevent rendering double avatars 5 years ago
Mikunj aeb349ea64 Unrelated lint... 5 years ago
Mikunj 9e9b2a12d6 Fix translations 5 years ago
Mikunj 4eef73c0a2 Converted updating into a 2 step process.
First it will ask the user about downloading the new update.
Then it will download the update and ask the user to restart the application.

This was done so that if the company was forced to put out comprimised binaries, all our users won't be automatically updated to them.
5 years ago
Mikunj 8c071b2f11 Fix auto updating on all platforms.
Added instructions for release.
5 years ago
Ryan Tharp 178d788dca Enable auto-updating using electron-updater 5 years ago
Vince 06142c880a
Revert removal of header search icon
Rendering is still disabled.
5 years ago
Audric Ackermann 0779eb2890
Merge pull request #929 from Bilb/use-new-memberlist-updategroup-dialog
Use the new member list UI for the update group dialog (closed)
5 years ago
Audric Ackermann 1f74803e72
add key to group member list 5 years ago
Audric Ackermann 82b02f84ec
Merge pull request #930 from Bilb/include-friend-search-result
Include friend search result #928
5 years ago
Audric Ackermann 7a86a68c22
enable back note to self in search result 5 years ago
Ryan Tharp a53fcee1bd lint 5 years ago
Ryan Tharp 1792e2d952 add editGroupNameOrPicture to gear 5 years ago
Mikunj Varsani 053b31ad38
Merge pull request #938 from Mikunj/github-actions
GitHub actions Part 2
5 years ago
Vince 67e3846787
Merge pull request #905 from jian10au/scaleslider
Zoom factor slider
5 years ago
Brian Jian Zhao eff2eeb119 remove zoom factor text next to % 5 years ago
Brian Jian Zhao 634c6f7de0 lint the code again and ready for merge 5 years ago
Brian Jian Zhao d9dd1f4340 hard dots enabled as true 5 years ago
Mikunj a09e370e1d Added testing on pull request
Disable proxy in tests.
5 years ago
Brian Jian Zhao ed5533b21f lint the code again and ready for review 5 years ago
jian10au f92cb95f5c
Update ts/components/session/settings/SessionSettingListItem.tsx
Accept the change

Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
5 years ago
Brian Jian Zhao ac8d0aa441 remove the global var setZoomFacotr 5 years ago
Brian Jian Zhao 70100a0ef5 remove value prop in slider and global var setZoomFactor 5 years ago
Brian Jian Zhao fd764a2aa7 match the slider value prop with currentSliderValue 5 years ago
Brian Jian Zhao 75f5d5743f remove all the conditional rendering logic to make code cleaner 5 years ago
Brian Jian Zhao 0daaa04596 fully working; all comments removed; put slider setting into content object 5 years ago
Audric Ackermann 370467a127
Merge pull request #878 from Bilb/group-profile-image
Group profile image upload
5 years ago
Audric Ackermann 2d1739a1e7
add key to a list of badges (cause error on console) 5 years ago
Audric Ackermann 84d5cf4541
fix contextmenu caching on Message right click 5 years ago
Audric Ackermann 0528a4c8ac
fix lint 5 years ago
Audric Ackermann 06aeb126c2
enable search by username in message view #928 5 years ago
Audric Ackermann 55c1410793
Merge pull request #919 from Bilb/fix-background-pill-divider
move pill divider in react and fix the bg
5 years ago
Audric Ackermann 8066cc0709
add link to explain tslint issue with sfc and props type 5 years ago
Brian Jian Zhao ccb470207a use storage instead of component state to store the zoom setting 5 years ago
Audric Ackermann 797ccdc125
Use the new member list UI for the update group dialog (closed) 5 years ago
Brian Jian Zhao 203d314254 fix the slider bug 5 years ago
Brian Jian Zhao 23da1831c2 removed unnecessary comments after review 5 years ago
Audric Ackermann 6b2afdf047
Merge pull request #923 from Bilb/fix-close-sessionmodal
fix catch of mouse events on forgotten modals
5 years ago
Audric Ackermann 116c73d741
Merge pull request #921 from konstantinullrich/#903_Remove-redundant-search-icon-in-message-view
Remove search icon in message view
5 years ago
Konstantin 99bb9a2c30
Remove redundant braces
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
5 years ago
Audric Ackermann daec39b94d
fix catch of mouse events on forgotten modals 5 years ago
Konstantin Ullrich 05a15dc9cd Small Code formating 5 years ago
Konstantin Ullrich c731241689 Remove search icon in message view 5 years ago
Audric Ackermann cb18a48d50
fix event propogation on links in messages 5 years ago
Audric Ackermann f2f4b4be70
move pill divider in react and fix the bg 5 years ago
Brian Jian Zhao b877dab7de refactor the code related to checking slider type 5 years ago
Audric Ackermann 7eab7fbcf4
Merge pull request #869 from Bilb/dialog-exit-esc-click-outside
Dialog exit esc click outside
5 years ago
Brian Jian Zhao a80c6e30e2 add slider title to message.json 5 years ago
Brian Jian Zhao cb7289d3d8 working but buggy 5 years ago
Audric Ackermann 15738c3525
display continue session signin with seed 5 years ago
Audric Ackermann e0ff1755ac
lint 5 years ago
Brian 96e9a68abd add zoomfactor to main 5 years ago
Brian Jian Zhao 1038a306ce add comment to view logic 5 years ago
Audric Ackermann ad682b588a
make group image upload look same as edit profile upload 5 years ago
Audric Ackermann 790085bea1
disable profile image upload for closed group 5 years ago
Audric Ackermann 1428cfe1dd
fix download profile image open groups 5 years ago
Audric Ackermann 60ed8f2972
make download of group avatar work 5 years ago
Audric Ackermann 6d5aed7de8
make upload of group picture work 5 years ago
Brian Jian Zhao cc915fadbc add sliderbar and state control in fe 5 years ago
Brian Jian Zhao 0daf41a339 check the state when the SessionSettings get rendered 5 years ago
Audric Ackermann 1f411df0ce
lint 5 years ago
Audric Ackermann 99133437d6
close all dialogs on ESC or click outside 5 years ago
Vince 448d6b7533
Merge pull request #860 from Bilb/remove-weird-filter-request-link
remove filter request button from linking device
5 years ago
Vince 998cd88068
Merge pull request #861 from Bilb/ttl-slider-update-drag
ttl slider update on drag and not on mouseup
5 years ago
Vince fbf82efb6d
Merge pull request #859 from Bilb/various-group-updates-fixes
Various group updates fixes
5 years ago
Audric Ackermann 5e007226a1
ttl slider update on drag and not on mouseup 5 years ago
Audric Ackermann fc9fd5a514
remove filter request button from linking device
we match the android way: when a request you can directly accept or
cancel the whole link process.
5 years ago
Vince f91ce45c92
Merge pull request #852 from Bilb/fix-message-selection-only-on-message-click
fix #805 select message only onclick on it
5 years ago
Audric Ackermann b4c3dad4c9
show errors on closed group creation with invalid name or members 5 years ago
Vincent 8152e98636 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into clearnet 5 years ago
Vincent 609230b66d various 5 years ago
Audric Ackermann 2b2c36bb2e
allow remove of group members if group size > 10 5 years ago
Audric Ackermann f4600293e9
hide the notification settings in group panel for now 5 years ago
Audric Ackermann a67a409150
Merge pull request #842 from Bilb/clearnet
separate update group name and group members dialog (add and remove m…
5 years ago
Audric Ackermann 0e2d95be03
fix #805 select message only onclick on it 5 years ago
Vincent 01389aa802 More styles 5 years ago
Vincent a1e4072ec1 Stylistic updated 5 years ago
Vincent 4d65fe76ab Updating tos & privacy links 5 years ago
Audric Ackermann ff10637a5a
separate update group name and group members dialog
(add and remove members are separated)
5 years ago
Vincent 30ccb81d3d Disappearing messages in Channel Settings panel 5 years ago
Vincent 06f2e4e32b Fixed group creation with zero members 5 years ago
Vincent d288c7bd03 secretPrompt fix 5 years ago
Vincent 7b674bb8d8 Various UI improvements 5 years ago
Vincent 582bc71b99 Contacts section reformatting 5 years ago
Vincent cf0b9e45fa Emoji spacing & message highlight formatting 5 years ago
Vincent 2101abb911 Modal blurs and stylistic simplifications 5 years ago
Mikunj Varsani cc85de5250 Optimisation and lint fixes 5 years ago
Mikunj Varsani 7d3a18e855 Fix secondary device showing incorrect sessionID 5 years ago
Mikunj Varsani 4f6dd7a8d5 Rename functions to be less confusing 5 years ago
Mikunj Varsani a75ef365b8 Fix device unlinking.
Fix session request being sent even if we have keys to setup a session.
Fix minor crash.
5 years ago
Mikunj Varsani e1d06fc9be Fix messages from secondary device not being mapped correctly to their primary device.
Fix creating closed groups from secondary device.
Fix primary device showing up in create group dialog.
5 years ago
Ryan Tharp 192fb3e382 add line break due to CI 5 years ago
Ryan Tharp 9b204e4a8f make sure invalid Pubkey is shown to the user and stop loader 5 years ago
Mikunj Varsani beb4cdbed8 Closed group fixes. (#816)
* Fix group updates not syning

* Fix leaving closed groups

* Fix incorrect members being shown on create group dialog

* Linting

* Fix create closed group showing our own conversation
5 years ago
Ryan Tharp 1179105a75 allow TLDs longer than 5 characters, actually close on sucess 5 years ago
Mikunj Varsani ce4909cd29 Disable join public chat prompt 5 years ago
Mikunj Varsani 75660c7269 fixed file server holding up message sender init.
fix joining closed groups.
5 years ago
Mikunj Varsani 21e982e5c2 Fix open group joining. 5 years ago
Ryan Tharp 8aa7682bc4 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into tls-fix 5 years ago
Ryan Tharp b97c9e7408 lint 5 years ago
Ryan Tharp 64fabc190a put period back at the end 5 years ago
Ryan Tharp f930413779 try to address travis-osx lint complaints 5 years ago
Ryan Tharp d3d339ba59 fix grunt error 5 years ago
Ryan Tharp 79c4259a91 remove options from RSS feed that don't make any sense and don't work 5 years ago
Ryan Tharp 6ff5175a74 remove copyId and block user on RSS feeds 5 years ago
Ryan Tharp aff22eb5f9 fix grunt error 5 years ago
Vincent f526ee0d96 gruntify 5 years ago
Vincent 821cf00b65 Closed group update message stylgin 5 years ago
Vincent b341ceaf76 Closed group joining completed w/o backend 5 years ago
Vincent 4fd2126fbe Fileserver update 5 years ago
Vincent 250a3ad6c1 Closed groups overlay integration 5 years ago
Vincent 91c6a153ae function params changes 5 years ago
Vincent c5e0fe8503 Closed groups UI 5 years ago
Vincent de4edf9252 CLosed groups ui initial listprops 5 years ago
Vince 5bbd136493
Merge pull request #758 from neuroscr/version-check
Version check, de-signal.org-ification
5 years ago