Commit graph

798 commits

Author SHA1 Message Date
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
FIGBERT
706375b5a1
Add textual selection indicator in modern mode 2023-05-03 09:34:02 -07:00
FIGBERT
7e1f8bcc59
Italicize selected room in roster view 2023-05-03 09:34:02 -07:00
FIGBERT
73b0d3f1a2
Add an escape command for modern display mode 2023-05-03 09:33:55 -07:00
FIGBERT
27160c1fc6
Increase message width in modern display mode 2023-05-03 09:33:00 -07:00
FIGBERT
50acd2474a
Add vim-like top/bottom keybinds to roster view 2023-05-03 09:33:00 -07:00
FIGBERT
03f8db40a0
Remove scroll looping 2023-05-03 09:32:59 -07:00
FIGBERT
81018c2da7
Keep selected room on screen when scrolling 2023-05-03 09:32:59 -07:00
FIGBERT
04ceba153f
Fix reaction rendering in modern display mode 2023-05-03 09:32:59 -07:00
FIGBERT
3b26a8fbd1
Enforce title bar styling on display mode switch 2023-05-03 09:32:59 -07:00
FIGBERT
6bb265cc66
Add continuous scroll to rooms in roster view 2023-05-03 09:32:59 -07:00
FIGBERT
b9b363e686
Add edit indicator in modern display mode 2023-05-03 09:32:58 -07:00
FIGBERT
7a83ebd7f4
Add Bump implementation to roster view 2023-05-03 09:32:58 -07:00
FIGBERT
22acad8287
Synchronize access to roster view room list 2023-05-03 09:32:58 -07:00
FIGBERT
b9529e39e1
Adapt click behavior for modern username placement 2023-05-03 09:32:58 -07:00
FIGBERT
abfcdae4ef
Fix highlight height in modern mode 2023-05-03 09:32:58 -07:00
FIGBERT
d4e820579c
Render reactions properly in modern view 2023-05-03 09:32:57 -07:00
FIGBERT
7a2f907528
Open rooms on click from roster view 2023-05-03 09:32:57 -07:00
FIGBERT
99bd36f216
Forward mouse events to the roster view 2023-05-03 09:32:57 -07:00