Commit graph

187 commits

Author SHA1 Message Date
Beaudan Brown b7dd4257d6 Disable microphone button when you have disabled permissions 2019-11-12 09:53:31 +11:00
sachaaaaa e07f81c150 Add LokiFileServerAPI 2019-09-19 16:37:15 +10:00
Maxim Shishmarev cdd374a4b2 Add a toggle option for typing indicators; use short ttl for them 2019-08-06 11:57:45 +10:00
Beaudan 13012ce6d2 Fix release notes link 2019-07-08 09:51:02 +10:00
Beaudan 3d45451551 Better setting name 2019-07-05 14:45:48 +10:00
Beaudan 5887f8c14c Fix password error 2019-07-05 13:21:32 +10:00
Beaudan 87c5d0858c Choose a random seed node from a list for bootstrapping 2019-07-03 11:32:31 +10:00
Beaudan 6b2b9ce926 Remove default port and use port from storage server responses 2019-06-11 16:30:01 +10:00
Beaudan eea2b8e6a7 Do port null check inside rpc call 2019-06-11 16:29:04 +10:00
Beaudan e520bf109a Persist PoW difficulty and update if get response from snodes 2019-06-03 13:37:34 +10:00
Mikunj 8808100796 Merge signal-1.24.0
# Conflicts:
#	.github/PULL_REQUEST_TEMPLATE.md
#	background.html
#	config/default.json
#	config/production.json
#	js/models/conversations.js
#	js/models/messages.js
#	js/views/conversation_view.js
#	js/views/inbox_view.js
#	js/views/settings_view.js
#	main.js
#	package.json
#	test/index.html
#	ts/components/conversation/ContactName.tsx
#	yarn.lock
2019-04-18 12:45:19 +10:00
Mikunj 48c4ed1a29 Partial Merge commit 'bf904ddd129ceba8fa363ccf6d10ecd256c65f63' into signal-1.23
# Conflicts:
#	_locales/en/messages.json
#	app/sql.js
#	js/background.js
#	js/conversation_controller.js
#	js/models/conversations.js
#	js/views/inbox_view.js
#	main.js
2019-04-17 13:47:17 +10:00
Mikunj e343a04eea Merge commit '18b5b7c046436f2defab2e20407e22da180bf97b' into signal-1.22
# Conflicts:
#	app/sql.js
#	background.html
#	config/default.json
#	js/background.js
#	js/models/conversations.js
#	js/models/messages.js
#	js/modules/data.js
#	js/signal_protocol_store.js
#	js/views/conversation_search_view.js
#	libtextsecure/message_receiver.js
#	libtextsecure/sendmessage.js
#	main.js
#	package.json
#	preload.js
#	test/index.html
#	ts/components/Avatar.tsx
#	ts/components/conversation/ConversationHeader.md
#	ts/components/conversation/ConversationHeader.tsx
2019-04-17 11:59:54 +10:00
Beaudan 531ee92dcb Updated messenger to work with slightly different storage server API and changed swarm requests to go through storage server 2019-04-08 13:37:20 +10:00
Scott Nonnenberg c8ea2e9463 Download and install updates without the help of electron-updater 2019-04-05 17:18:37 -07:00
Scott Nonnenberg ae161c6cf6 Update to Electron 4.x 2019-03-12 17:44:14 -07:00
Scott Nonnenberg e4b0901620 If logs are malformed on startup, delete them all and start over 2019-03-12 17:44:14 -07:00
Beaudan 6b1b73a5ea Missed lint line 2019-03-04 10:57:45 +11:00
sachaaaaa 4714cafa6f
Merge pull request #238 from sachaaaaa/commit_hash_about
Show commit hash in About window for beta builds
2019-03-04 10:52:26 +11:00
sachaaaaa 01577a7b45
Merge pull request #236 from BeaudanBrown/fix-database-bug
Fix windows database crash
2019-03-04 10:51:05 +11:00
sachaaaaa 37f0fced29 Show commit hash in About window for beta builds 2019-03-01 17:10:20 +11:00
Beaudan 98aa53de07 Await removing databse 2019-03-01 15:17:21 +11:00
sachaaaaa b39b45e29d Fix #214 Replace help menu links 2019-03-01 14:44:16 +11:00
Scott Nonnenberg 5165eb3bd4 On database error: show popup, allow user to delete and relaunch 2019-02-20 16:51:30 -08:00
Beaudan 6426a5eb9b Added ability to look up our .loki address and now send that with our LokiAddress messages 2019-02-14 13:09:04 +11:00
sachaaaaa 68fe552156 Merge commit '5c8558e293989094693f918a63b672301f1aeb55' into merge_1_21_1
* commit '5c8558e293989094693f918a63b672301f1aeb55':
  v1.21.1
  v1.21.1-beta.1
  Fix: Navigation to message via quote click didn't always work
  mainWindow.close - be ready for null mainWindow
  Ensure that Curve.async points to worker after startWorker call
  Protect against unhandled promises when calling checkForUpdates
  Reenable send when link preview is missing an image

# Conflicts:
#	package.json
2019-02-12 13:17:35 +11:00
Scott Nonnenberg 2624a6af88 mainWindow.close - be ready for null mainWindow 2019-02-08 11:54:22 -08:00
Mikunj 725a41a8d7 Added link preview setting. 2019-02-08 14:58:31 +11:00
sachaaaaa 6b7db5d085 Comment out auto-updater which was making test-loki-view fail 2019-02-06 15:27:50 +11:00
sachaaaaa c968eb8daf revert background colour in main.js (+1 squashed commit)
Squashed commits:
[9ec61f5f] revert background colour
2019-02-06 14:01:05 +11:00
sachaaaaa a0f67c22da Merge branch 'textsecure/master' into merge_1_21_0
* textsecure/master: (26 commits)
  v1.21.0
  v1.21.0-beta.4
  Dark Theme: Preserve blue background on app loading screen
  Localization updates
  Fix width of audio player when window is very narrow
  A number of small fixes for Link Previews
  Get rid of the white flash when the app starts up (#3083)
  v1.21.0-beta.3
  Lint fixes
  Introduce new language: NB
  Fail over to all numbers in retry if errors don't have numbers
  Use the proper method for pulling attachments off disk for retry
  Fix rendering bug with verified state in updateVerified()
  Update electron-builder and electron-updater
  Ensure that dialog pops up when permissions denied for voice note
  Lint fixes
  Large update to localization strings
  Link Previews
  Ensure that blocked messages are dropped even after sealed sender
  Don't linkify quoted message contents
  ...

# Conflicts:
#	.github/PULL_REQUEST_TEMPLATE.md
#	_locales/cs/messages.json
#	background.html
#	config/default.json
#	index.html
#	js/models/conversations.js
#	js/modules/web_api.js
#	js/settings_start.js
#	js/views/conversation_view.js
#	js/views/settings_view.js
#	package.json
#	protos/SignalService.proto
#	stylesheets/_index.scss
#	stylesheets/_settings.scss
2019-02-06 13:53:20 +11:00
Vanja Cosic b26f6231d8 Get rid of the white flash when the app starts up (#3083)
* Prevent FOUC on startup, use Signal Blue instead

Instead of flashing a white background on startup, the app will show a blue background while everything is loading.

* Make sure tests are rendered on white background

* Use `icon_250.png` as the loading image

* Remove hardcoded 'Loading...' text from template
2019-02-05 09:25:05 -08:00
Beaudan b417edfc9b Added new protos for online broadcast messages, added db hits for getting friends, local server now instantiated on the window, now sending online broadcast messages when the local server starts 2019-01-31 10:24:34 +11:00
Scott Nonnenberg 813924685e Link Previews 2019-01-29 13:53:14 -08:00
Scott Nonnenberg 2c99cc8ff5 Print out error properly if we can't initialize logging
Fixes #3070
2019-01-29 13:53:14 -08:00
Mikunj ac59e1249f Added db resetting.
Use built in signal warning view.
2019-01-29 12:57:24 +11:00
Mikunj e08a63d078 Merge development into lint 2019-01-17 12:58:33 +11:00
Beaudan 37ba762312 First stuff for contacting specific nodes for each contact. Hard coded to hit the same bootstrap node for now plus doesn't handle unreachable nodes/errors well yet 2019-01-16 17:08:46 +11:00
Mikunj 6bd2d3962e Linted files 2019-01-16 16:18:08 +11:00
Mikunj 87113b6cc1 Added message ttl setting storage 2019-01-11 15:59:44 +11:00
Mikunj 654b0dac84 Merge signal-master. 2018-12-17 12:56:04 +11:00
Mikunj 35c8f32461 Fixed app quitting after unlock on linux. 2018-12-12 15:55:20 +11:00
Scott Nonnenberg dee91b6772 main process: Don't send IPC to event.sender if it is destroyed 2018-12-10 14:06:43 -08:00
sachaaaaa a1255dd31e
Merge pull request #77 from Mikunj/password-protection
Password protection
2018-12-10 16:28:10 +11:00
Beaudan c93aff7ebe Setup grunt/yarn etc for loki tests plus wrote first 2 simple libloki-protocol tests 2018-12-10 14:13:54 +11:00
Mikunj 7d0d244e7c Added localised error messages. 2018-12-10 11:34:34 +11:00
Mikunj f53bec38a5 Added password inputs on registration screen.
Fix case where db is deleted but password hash still remains which causes user to never register.
Allow password to have symbols and other characters.
Added more tests.

Moved passHash from config into the sqlite db.
We can do this because we assume if sql failed to initialise then the key provided was wrong and thus we can show the user the password page.
2018-12-06 15:47:37 +11:00
Mikunj 7a96b8446a Rename launcherView to passwordView. 2018-12-06 15:39:17 +11:00
Mikunj 6620244d03 Show main window on correct password; 2018-12-06 15:39:17 +11:00
Mikunj 6b9764e6c6 Added launcher view. 2018-12-06 15:39:17 +11:00