FIGBERT
634a3350d5
Standardize around "Recovery Code" language
2023-08-16 17:00:47 -07:00
FIGBERT
8a1e095f58
Return errors from sync in headless mode
2023-08-14 13:34:54 -07:00
FIGBERT
3b333aef02
Don't run UI code in HandleMessage when headless
2023-08-13 02:01:15 -07:00
FIGBERT
fb10f59801
Move sync before verification in headless mode
2023-08-09 23:50:31 -07:00
FIGBERT
f6f1a906d0
Delegate headless homeserver to configuration
2023-08-09 13:31:04 -07:00
FIGBERT
a55f78d628
Close update channel on headless return (again)
...
The issue was elsewhere nevermind
2023-08-09 11:31:53 -07:00
FIGBERT
80c8cd62ef
Return error instead of custom alias from headless
2023-08-09 11:31:20 -07:00
FIGBERT
b7a4d58637
Revert close channel change
...
I do not know why but this broke everything in beepy
2023-08-09 11:05:51 -07:00
FIGBERT
2361a5fa96
Close update channel on headless return
2023-08-09 10:53:00 -07:00
FIGBERT
df0ff2035e
Rework headless public message API
2023-08-08 23:57:35 -07:00
FIGBERT
97154a6787
Remove tautology
2023-08-08 19:59:32 -07:00
FIGBERT
ab18e4c28d
Add update channel to headless initialization
2023-08-08 19:47:19 -07:00
FIGBERT
7d139c50d6
Enforce modern displaymode in headless init
2023-08-08 18:43:23 -07:00
FIGBERT
97d2e77a8e
Remove temporary progress bar logs
2023-08-08 18:34:33 -07:00
FIGBERT
507aa3c61c
Use recovery code with all verification methods
...
The previous commit made one attempt at fixing an issue with verifying
keys, but was misguided: the issue at hand was not in attempting the
wrong method of authorization, but rather what was *passed* to the
method. Namely, the account password as opposed to the recovery phrase.
Regardless of terminology, the latter should be used. Certain code has
been restored, while the password parameter remains deleted.
2023-08-08 18:15:52 -07:00
FIGBERT
b8a41425bd
Use recovery phrase to verify in headless client
2023-08-08 17:37:45 -07:00
FIGBERT
c628bfb97c
Configure MxID and homeserver in headless startup
2023-08-08 16:56:57 -07:00
FIGBERT
5db39fd50a
Initialize client in headless Matrix client
2023-08-08 16:24:30 -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
edda1a956a
Move directory logic to init backend
2023-08-05 21:28:27 -07:00
FIGBERT
4ebdb0fd38
Break init backend into its own package
2023-08-05 19:49:53 -07:00
FIGBERT
8889e2df54
Add debug logs to sync progress bar
2023-07-23 14:45:58 +03:00
FIGBERT
477326228e
Merge branch 'master' into beepberry
2023-07-16 09:23:04 +03:00
FIGBERT
5309f3c158
Merge branch 'master' into beepberry
2023-07-16 09:21:37 +03:00
FIGBERT
c399f01227
Fix device link in recommended reading
2023-07-16 02:37:15 +03:00
Tulir Asokan
09a9279558
Merge pull request #430 from nileshpatra/fix-debug-log-and-dir
...
Fix debug dir on linux and disable logging by default
2023-07-10 23:02:01 +03:00
Nilesh Patra
2b36ee3737
fix xdg-update-dir and enable prettypanic by default
2023-07-10 01:31:18 +05:30
Nilesh Patra
802d6afc55
Disable logging by default, start logging onlu if DEBUG is set to 1
2023-07-06 18:26:08 +00:00
Nilesh Patra
3c53798634
Set debug log dir to ~/.local/state/gomuks on linux
2023-07-06 18:25:33 +00: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
86659503f3
Flash Beepberry LED on message receive
...
Colors are mapped symbolically as follows:
White -> Default
Green -> Service
Red -> Redaction
Yellow -> Edit
Purple -> Reaction
2023-07-05 00:45:50 +03:00
FIGBERT
0714fec38b
Add LED controls in ui/beepberry subpackage
2023-07-01 21:44:28 +03:00
Tulir Asokan
b3f0410003
Merge pull request #428 from nileshpatra/diff-tmpdir
...
Make debug dir specific to username to ease off multi user logins
2023-07-01 14:34:59 +03:00
Tulir Asokan
253b47b076
Fix lint issue
2023-07-01 14:32:48 +03:00
Nilesh Patra
2a242c8f26
Make debug dir specific to username to ease off multi user logins
2023-07-01 14:35:25 +05:30
FIGBERT
68cfe2be80
Don't respond to keys in roster when headless
2023-06-24 13:00:01 +03:00
FIGBERT
6947f2c03c
Exit gracefully if the transfer directory already exists
2023-06-24 12:44:17 +03:00
FIGBERT
89dd9f9a6a
Disable replies if a command's room is nil
...
This is implemented to prevent crashes on headless start, where
verification is performed without a specific room.
2023-06-24 12:42:03 +03:00
FIGBERT
e4c71fde7c
Add verification to headless log-in flow
2023-06-24 12:07:52 +03:00
Tulir Asokan
e7ebb9745d
Fix linux/arm64 build job tags
2023-06-24 01:38:32 +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
FIGBERT
2722459f22
Restore ability to scroll inbox
2023-06-17 17:45:20 -07:00
FIGBERT
a6d6f7af04
Initial split inbox view implementation
...
This has one serious regression from the previous inbox view, which is a
lack of scrolling. The re-implementation of scrolling is in progress.
2023-06-15 22:18:25 -07:00
FIGBERT
a9815e3b54
Rename GetMostRecentEvent for clarity
2023-06-13 17:25:54 -07:00
FIGBERT
02e1371f37
Simplify range statement in room.go
2023-06-12 18:56:16 -07:00
FIGBERT
2dbe60384f
Add method to return latest state event of type
2023-06-12 18:53:39 -07:00
FIGBERT
cbb17effbf
Add Alt+Backspace escape equivalent for Beepberry
2023-05-03 09:34:03 -07:00
FIGBERT
1328aa82e3
Update UI on /escape
2023-05-03 09:34:03 -07:00