Commit graph

55 commits

Author SHA1 Message Date
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
2022-03-21 16:48:25 +11:00
Audric Ackermann
234e9b160e
Make sure updater do not hit github before checking fileserver 2022-03-15 17:19:38 +11:00
Audric Ackermann
28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
2021-12-14 15:15:12 +11:00
audric
1ffadad2ad remove ip_url from seed nodes as this is unused 2021-08-12 14:24:20 +10:00
Audric Ackermann
ce9155a6bf
fix refresh random snode pool after getting new guardNodes 2021-06-28 11:46:35 +10:00
Audric Ackermann
9bf3cb1880
cleanup actionPanel 2021-04-30 13:26:33 +10:00
Audric Ackermann
710c9fa269
fix http request over onion 2021-04-30 11:12:44 +10:00
Audric Ackermann
0c0da48150
remove pow 2021-04-28 15:24:45 +10:00
Audric Ackermann
98b69c17f0
add userblocking opengroupv2 and quoting back of messages 2021-04-27 16:56:34 +10:00
Audric Ackermann
b9586c90ce
working open group v2 getInfo for https only 2021-04-20 14:52:02 +10:00
Audric Ackermann
47026b8d5b
pin certificate for seed nodes 2021-04-12 15:38:19 +10:00
Audric Ackermann
fa853538d0
LINT after prettier upgrade 2020-05-29 16:25:15 +10:00
Ryan Tharp
6a2e0af4c2 update seedNode format 2020-05-12 22:55:52 -07:00
Ryan Tharp
e9054450b5
Update mainnet servers, stop using testnet port
Kee and I have confirmed mainnet port on `storage.seed2.loki.network` was fine since 6.x
imaginary.stream change Jason's approval:
https://discordapp.com/channels/408081923835953153/563594234632863754/685282143743901696
2020-05-11 23:09:54 -07:00
Mikunj
6d87904d18 Clean up config files.
Removed unused scripts.
Removed unused files.
2020-03-27 09:09:41 +11:00
Ryan Tharp
178d788dca Enable auto-updating using electron-updater 2020-03-05 15:39:43 +11:00
Vincent
4fd2126fbe Fileserver update 2020-02-05 10:08:55 +11:00
Maxim Shishmarev
a3aa104f00 Remove more references to signal.org 2020-02-04 16:25:47 +11:00
Vincent
de4edf9252 CLosed groups ui initial listprops 2020-02-04 11:55:01 +11:00
Maxim Shishmarev
acd3f41b6c Update seed nodes 2020-01-22 12:00:03 +11:00
sachaaaaa
e07f81c150 Add LokiFileServerAPI 2019-09-19 16:37:15 +10:00
Beaudan Brown
5a35f05f29 Fix start-prod(-multi) to actually use different identities than default messenger, also connect dev instances to the dev public chat and clean up the config files a lil 2019-09-09 11:36:56 +10:00
Ryan Tharp
dffcf51f88 add defaultPublicChatServer to config 2019-09-04 00:07:30 -07:00
Beaudan Brown
38e81fd95a Lower default PoW and add export to build-release yarn call 2019-09-02 13:46:07 +10:00
Beaudan
43c2e9c953 Use different seed nodes for development vs production and strip 2 characters from pubkey on testnet 2019-08-02 16:11:26 +10:00
Ryan Tharp
3617ce32cc fix link previews 2019-07-23 01:03:12 -07:00
Beaudan
87c5d0858c Choose a random seed node from a list for bootstrapping 2019-07-03 11:32:31 +10:00
Beaudan
1f74088586 Send to IP 2019-06-11 16:30:01 +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
c27d1ef69a Clean some stuff in loki_rpc and get new difficulty from successful requests 2019-06-03 13:37:34 +10:00
Beaudan
e520bf109a Persist PoW difficulty and update if get response from snodes 2019-06-03 13:37:34 +10:00
Mikunj
61b862b021 Merge signal 1.24.1 2019-04-18 13:27:54 +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
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
sachaaaaa
37f0fced29 Show commit hash in About window for beta builds 2019-03-01 17:10:20 +11:00
Scott Nonnenberg
3917ab940e web_api: Fix caching of https.agent objects between requests 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
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
Beaudan
7b1799c418 Big ol' hunk o' chunk. Now using random.snode to populate swarm lists, now making multiple requests from said lists and they are processed as they complete rather than waiting for all to resolve 2019-01-16 17:08:46 +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
f589fdac5c Merge signal changes into branch. 2018-11-07 15:26:37 +11:00
Beaudan
519d372e63 Tiny url update to work with the storage server 2018-11-02 14:48:19 +11:00
Scott Nonnenberg
a7d78c0e9b Sealed Sender support
https://signal.org/blog/sealed-sender/
2018-10-29 14:49:18 -07:00
jcktm
c5ecf8c710 config: change the default server from signal.org to localhost 2018-08-18 21:46:57 +10:00
Scott Nonnenberg
f3bd0cf903 Refactor api.js into web_api, which encapsulates all web access 2018-05-31 13:25:45 -07:00
Scott Nonnenberg
426dab85a2
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
  - Icons at the top of every screen
  - Gray background, blue buttons, thinner text
  - Simpler copy
- A new design for the install flow. It features:
  - Immediate entry into the QR code screen
  - Animated dots to show that we're loading the QR code from the server
  - Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 10:40:32 -08:00