Commit Graph

52 Commits (dd86a6758b77789141cb2c6c4c3ab29b9dc3db4f)

Author SHA1 Message Date
yougotwill dd86a6758b fix: regression in updater logging after rebase 8 months ago
yougotwill a6c87accf5 fix: cleanup 8 months ago
yougotwill ed53348b50 feat: added updated prefix to all updater logging 8 months ago
yougotwill 403a5a1e37 refactor: revert app restart behaviour after an update is downloaded 8 months ago
yougotwill ea47d05044 feat: fixed auto update restart
there is a known issue with electron updater quit and install
8 months ago
yougotwill 9cf217512f fix: updated progress download logging 8 months ago
yougotwill e8e502e21a fix: cleaned up debug release button logging 8 months ago
yougotwill f378118032 fix: try to catch UPDATE_DOWNLOADED event 8 months ago
yougotwill 0b17652867 fix: only call quit and install after update downloaded event
improved some log messages
8 months ago
yougotwill bdcc776431 feat: set autoupdater to allow prereleases and downgrading if we are not on the latest channel
currently only supports alpha
8 months ago
yougotwill 271a094f32 feat: added generateUpdatesFilesForAllChannels to electorn builder config
in the hopes it means it will detect our preleases
8 months ago
yougotwill b7d97ef31d fix: added logging for update download progress and completion
changed some console.error to use logger.error
8 months ago
yougotwill 65f7a93bef feat: getLatestReleaseFromFileServer also returns the current release channel
this allows us to access it on the node side in the auto update
8 months ago
yougotwill 2e6ff217a2 fix: updated semver package to fix prerelease comparison
log version comparison when debugging
8 months ago
yougotwill 33942226e7 fix: make sure to use updater prefix in all appropriate places
makes it easier to debug
8 months ago
yougotwill 19d479bae9 feat: added release channel toggle to debug menu
it is saved to the items table and requires an app restart
8 months ago
Audric Ackermann 7d6953812d
Merge remote-tracking branch 'upstream/unstable' into closed-group-chunk3 1 year ago
Audric Ackermann d1f527d573
fix: fix download session modal duplicate string displayed 1 year ago
Audric Ackermann 7611f07b09
chore: address PR 184 reviews 1 year ago
Audric Ackermann 9c2ef47988
fix: address PR review 1 year ago
Ryan Miller a9be08bd4e feat: add localization to the node side of the app 1 year ago
Ryan Miller 005efc8952 Merge branch 'unstable' into standardised_strings_merge
# Conflicts:
#	.gitignore
#	_locales/en/messages.json
#	ts/components/DebugLogView.tsx
#	ts/components/SessionWrapperModal.tsx
#	ts/components/basic/SessionHTMLRenderer.tsx
#	ts/components/basic/SessionRadio.tsx
#	ts/components/buttons/MenuButton.tsx
#	ts/components/conversation/SessionConversation.tsx
#	ts/components/conversation/SubtleNotification.tsx
#	ts/components/conversation/TimerNotification.tsx
#	ts/components/conversation/composition/CompositionBox.tsx
#	ts/components/conversation/message/message-content/MessageText.tsx
#	ts/components/conversation/message/message-item/InteractionNotification.tsx
#	ts/components/conversation/message/reactions/ReactionPopup.tsx
#	ts/components/conversation/right-panel/overlay/OverlayRightPanelSettings.tsx
#	ts/components/conversation/right-panel/overlay/disappearing-messages/DisappearingModes.tsx
#	ts/components/conversation/right-panel/overlay/disappearing-messages/OverlayDisappearingMessages.tsx
#	ts/components/dialog/BanOrUnbanUserDialog.tsx
#	ts/components/dialog/DeleteAccountModal.tsx
#	ts/components/dialog/EditProfileDialog.tsx
#	ts/components/dialog/ModeratorsAddDialog.tsx
#	ts/components/dialog/OnionStatusPathDialog.tsx
#	ts/components/dialog/ReactListModal.tsx
#	ts/components/dialog/SessionSeedModal.tsx
#	ts/components/dialog/SessionSetPasswordDialog.tsx
#	ts/components/dialog/UserDetailsDialog.tsx
#	ts/components/leftpane/LeftPaneSectionHeader.tsx
#	ts/components/leftpane/LeftPaneSettingSection.tsx
#	ts/components/leftpane/conversation-list-item/InteractionItem.tsx
#	ts/components/leftpane/overlay/OverlayClosedGroup.tsx
#	ts/components/leftpane/overlay/OverlayCommunity.tsx
#	ts/components/leftpane/overlay/OverlayMessage.tsx
#	ts/components/leftpane/overlay/SessionJoinableDefaultRooms.tsx
#	ts/components/leftpane/overlay/choose-action/ContactsListWithBreaks.tsx
#	ts/components/leftpane/overlay/choose-action/OverlayChooseAction.tsx
#	ts/components/menu/Menu.tsx
#	ts/components/registration/RegistrationStages.tsx
#	ts/components/registration/RegistrationUserDetails.tsx
#	ts/components/registration/SignInTab.tsx
#	ts/components/registration/SignUpTab.tsx
#	ts/components/settings/SessionSettings.tsx
#	ts/components/settings/SessionSettingsHeader.tsx
#	ts/components/settings/ZoomingSessionSlider.tsx
#	ts/components/settings/section/CategoryAppearance.tsx
#	ts/components/settings/section/CategoryHelp.tsx
#	ts/components/settings/section/CategoryPermissions.tsx
#	ts/components/settings/section/CategoryPrivacy.tsx
#	ts/hooks/useParamSelector.ts
#	ts/mains/main_renderer.tsx
#	ts/models/message.ts
#	ts/node/menu.ts
#	ts/node/tray_icon.ts
#	ts/session/constants.ts
#	ts/session/disappearing_messages/timerOptions.ts
#	ts/session/utils/Toast.tsx
#	ts/state/selectors/search.ts
#	ts/test/session/unit/selectors/conversations_test.ts
#	ts/types/LocalizerKeys.ts
#	ts/types/Util.ts
#	ts/window.d.ts
#	yarn.lock
1 year ago
Ryan Miller 5f53b3fe8f feat: replace and add changed and new localized strings 2 years ago
Audric Ackermann 53059135ee fix: tsc does not overwrite workers compiled content 2 years ago
Audric Ackermann df3a188074 fix: address PR reviews 2 years ago
Audric Ackermann 1a18054fae feat: add bump of config hashes for groups when we have admin key 2 years ago
Audric Ackermann ab946e69b1 fix: finish updating dependencies 2 years ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 2 years ago
Audric Ackermann 49955a3947 chore: update node version, electron and deps 2 years ago
Audric Ackermann 9c0f40473c fix: readd dmg-builder as a resolution instead of root package 3 years ago
Audric Ackermann ae51b0cd96 fix: include auth sogs headers everywhere 3 years ago
Audric Ackermann 542c704b64 feat: add search by contacts to closed group overlay 3 years ago
Audric Ackermann 0dfa3e35cc refactor main_node.js to TS 4 years ago
Audric Ackermann 38774a9344 moved a bunch of node files to typescript 4 years ago
Audric Ackermann d99cdc48f4
rename background.js to main_start.js 4 years ago
Audric Ackermann 89757a95a6
use readyForUpdates to trigger update from renderer
this is used to only start the updater once the fileserver returned use
the latest release
4 years ago
Audric Ackermann 234e9b160e
Make sure updater do not hit github before checking fileserver 4 years ago
Audric Ackermann b09c44c964
remove context in locales 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 5 years ago
Audric Ackermann 6e07ee42f5
cleanup network status view and some UI constants 5 years ago
Mikunj 229f289d12 Fix auto update not running correctly 6 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>
6 years ago
Mikunj a6e54d5c52 Minor fix for auto-updating 6 years ago
Mikunj Varsani 66cec1f51e Review fix. 6 years ago
Mikunj 86b427cc4d Lint 6 years ago
Mikunj d10a8f0a6f Added setting to disable checking for auto updates. 6 years ago
Mikunj 9e9b2a12d6 Fix translations 6 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.
6 years ago
Mikunj 8c071b2f11 Fix auto updating on all platforms.
Added instructions for release.
6 years ago
Ryan Tharp 178d788dca Enable auto-updating using electron-updater 6 years ago