Commit graph

168 commits

Author SHA1 Message Date
FIGBERT
11f6cb9d0e
Revert "Attempt new headless sync implementation"
This reverts commit 05ccf81e57.
2023-09-18 00:47:38 -07:00
FIGBERT
05ccf81e57
Attempt new headless sync implementation 2023-09-18 00:43:09 -07:00
FIGBERT
190eb0cdba
Don't run start when headless 2023-09-15 14:36:29 -07:00
FIGBERT
d8b1fb40dc
Fix goroutine double lock error 2023-08-29 23:20:59 -07:00
FIGBERT
58b212913c
Revert sync changes
This reverts commits:
  948bf767bc
  8fcbdddc62
2023-08-25 13:22:03 -07:00
FIGBERT
7e25710506
Use Beeper JWT login 2023-08-23 22:55:57 -07:00
FIGBERT
8fcbdddc62
Move headless sync stop to InitDoneCallback 2023-08-17 10:49:01 -07:00
FIGBERT
948bf767bc
Use more generic sync process in headless mode 2023-08-17 10:30:18 -07:00
FIGBERT
3b333aef02
Don't run UI code in HandleMessage when headless 2023-08-13 02:01:15 -07:00
FIGBERT
b1c940a0a8
Add sync implementation to headless.go 2023-08-08 14:22:29 -07:00
FIGBERT
704fc53db1
Change headless from flag to subpackage 2023-08-06 22:01:40 -07:00
FIGBERT
7aa90a9a36
Import keys at start of Beepberry flow 2023-07-06 19:39:23 +03:00
FIGBERT
7251f684c9
Set modern displaymode when running new login flow 2023-07-06 00:06:38 +03:00
FIGBERT
e4c71fde7c
Add verification to headless log-in flow 2023-06-24 12:07:52 +03:00
FIGBERT
8ed5a4b1dd
Add headless initial log-in flow
This offloads a lot of intial processing if you're planning on running
gomuks on low-power hardware, but have access to high-power hardware for
the sync (see: large accounts on the beepberry).

A few planned improvements to this mode:
	- Exit gracefully if the transfer directory already exists
	- Make sure key presses are disabled during sync
	- Add verification to flow
2023-06-24 00:54:08 +03:00
Tulir Asokan
099006c9c3 Don't read NotifySpecified in push rules 2023-04-04 22:09:25 +03:00
Tulir Asokan
6aaeb8c244 Check spec versions supported by homeserver. Fixes #402 2022-11-21 22:42:42 +02:00
Tulir Asokan
5db151d90f Update more dependencies 2022-11-13 17:59:11 +02:00
Tulir Asokan
c741634733 Add hint for using SSO 2022-11-07 18:39:06 +02:00
Tulir Asokan
c45a66bbf9 Add more details to --version 2022-04-17 21:21:10 +03:00
Tulir Asokan
b755302b93 Update mautrix-go to switch to /v3 paths 2022-04-17 13:16:47 +03:00
Tulir Asokan
7425bc25d9 Add lint to CI and pre-commit 2022-04-15 13:13:50 +03:00
Tulir Asokan
9a0a1636af Update dependencies 2022-03-06 22:30:41 +02:00
Tulir Asokan
15e05fc4e7 Try temporarily storing large sync responses to disk to reduce memory usage 2021-09-19 22:16:13 -04:00
Tulir Asokan
9dcf3bdb12 Store homeserver URL from .well-known responses 2021-09-19 21:34:47 -04:00
Tulir Asokan
3964b6fd89 Fix some formatting and enable pretty panics in non-debug mode. Closes #265 2021-03-11 22:53:13 +02:00
Tulir Asokan
d820c56e8b Only use SSO if no password is entered 2021-02-18 18:35:53 +02:00
Tulir Asokan
c2f0bb244b Switch crypto store to SQLite 2021-02-08 22:42:40 +02:00
Tulir Asokan
661a7cf17a Merge branch 'master' into cross-signing 2020-11-12 00:21:11 +02:00
Tulir Asokan
a7f8bc1ad8 Update mautrix-go 2020-11-11 23:42:29 +02:00
Tulir Asokan
d103d005a3 Update deps and stop using github.com/pkg/errors 2020-10-23 12:02:42 +03:00
Tulir Asokan
180ecc36cc Improve detecting login flows supported by homeserver 2020-09-18 21:13:05 +03:00
Tulir Asokan
5f999121f4 Add broken in-room verification and other stuff 2020-09-13 00:13:08 +03:00
Tulir Asokan
e7c72dcbbf Extremely WIP cross-signing and SSSS support 2020-09-12 01:59:53 +03:00
Tulir Asokan
5257d55114 Ignore edits where the sender is different
Closes #217
2020-09-04 19:37:01 +03:00
Tulir Asokan
0aeedd2c43 Finish basic file upload support. Fixes #62 2020-09-02 02:12:09 +03:00
Kasper Seweryn
88e559c46b Add fileUpload command (WIP) 2020-09-01 13:33:39 +00:00
Tulir Asokan
77a1514c90 Add device list and legacy verification commands 2020-07-24 21:47:22 +03:00
Tulir Asokan
646a8637ff Show decryption errors more accurately. Fixes #174 2020-06-23 22:28:28 +03:00
Tulir Asokan
e80c972da5 Call EncryptMegolmEvent with pointer to content 2020-06-18 12:57:47 +03:00
Tulir Asokan
a8b6abe970 Update mautrix-go 2020-06-17 13:27:22 +03:00
Tulir Asokan
b3b7b70480 Improve errors in crypto stuff 2020-06-04 18:43:51 +03:00
Tulir Asokan
7d48d8538f Set different user agent 2020-05-10 20:09:44 +03:00
Tulir Asokan
2cebe3b5dc Move loaded history pointer to message view
When it was in the history manager, it wouldn't get unloaded when the room was unloaded.

Hopefully fixes #136
2020-05-10 02:28:34 +03:00
Tulir Asokan
f9007ae875 Send read receipts asynchronously. Hopefully fixes #141 2020-05-10 01:23:20 +03:00
Tulir Asokan
e1b38bb202 Add command to get e2ee fingerprint 2020-05-07 11:56:21 +03:00
Tulir Asokan
2b07b80e64 Parse event content when getting single event from server 2020-05-06 23:40:50 +03:00
Tulir Asokan
6cf22290ad Use structs for parsing read receipts and direct chat lists 2020-05-06 23:30:08 +03:00
Tulir Asokan
e670fd05c2 Prevent blocking when trying to stop matrix container 2020-05-06 20:11:35 +03:00
Tulir Asokan
cfd5f7ae54 Random changes 2020-05-05 21:15:53 +03:00