1
0
Fork 0
Commit Graph

41 Commits

Author SHA1 Message Date
Silas Schöffel a86c42deae
feat(ui): make tui compile again
This also refactors the tui codebase,
mainly making module locations more sane
2024-05-08 22:06:36 +02:00
Benedikt Peetz 22b8af8e93 chore(treewide): Update the copyright headers 2024-05-08 19:23:11 +00:00
Silas Schöffel 0315de3ee4 chore(treewide): change license to GPL-3.0 or later
To archive this, the previous MIT-License and its mentions were removed, COPYING
was added, LICENSE.spdx and README were modified to show the correct
license, sils@sils.li was added to the project's
E-Mail adresses and ./scripts/renew_copyright_header.sh
was executed.
2024-05-08 19:23:11 +00:00
Silas Schöffel 4fcdc1c8ea
style(repl): import TrinitrixUi from absolute path 2024-05-06 16:18:42 +02:00
Benedikt Peetz 940d82561d style(treewide): Format and improve the headers
This commit represents one run of
`./scripts/renew_copyright_headers.sh`.
2024-05-04 21:06:17 +02:00
Benedikt Peetz 6c80698589 chore(treewide): Add up-to-date license headers 2024-05-04 20:55:52 +02:00
Benedikt Peetz 7fdc752490 feat(ui/repl): Get the development repl into a useful shape
This repl is not really meant for user, as it's quite features striped.
Its main goal is to enable a faster debugging turnabout time.
2024-05-04 20:05:05 +02:00
Benedikt Peetz d76f279a05 refactor(src/ui): Allow for a repl 2024-05-04 17:43:30 +02:00
Benedikt Peetz 08c4724a94 refactor(src): Remove all matrix related code
This obviously is a big regression, but having this matrix code in the
core trinitrix tree is no longer planned. And if we start writing the
matrix cbs, referring to this commit should be possible.
2024-05-04 15:43:31 +02:00
Benedikt Peetz 6745da4c71
style(treewide): Apply consistent formatting
I just ran `cargo fmt -- --config reorder_imports=true,imports_granularity=Crate,group_imp
orts=StdExternalCrate`
2023-09-20 19:22:56 +02:00
Benedikt Peetz 84c13fd6f8
Fix(treewide): Resolve merge conflicts 2023-07-26 22:25:08 +02:00
Benedikt Peetz 855d487693
Refactor(treewide): Remove the useless `tui_app` directory 2023-07-26 22:15:54 +02:00
Benedikt Peetz ebb16a20de
Feat(treewide): Add a feature based layout and repl subcommand
Compiling the whole tui stack, just to debug the lua command line seems
counterproductive to me. This allows to just compile the needed parts
for a basic lua repl.

As of yet the repl is just a mock-up, as the event handling can, as of
right now, not easily be separated from the tui.

To activate specific features add specify the on the cargo command line
like this:
```
cargo run --features "cli tui"
```
or add them to the `default` feature set in the `Cargo.toml`.
2023-07-26 22:04:42 +02:00
antifallobst d447eb2312
Feat(App): implemented vim like modes (Normal/Insert) 2023-07-22 16:00:52 +02:00
Benedikt Peetz 734328787e
Fix(ui_widgets): Add missing lifetimes 2023-07-18 08:12:33 +02:00
Benedikt Peetz 14333944dc
Fix(handles): Add command handling over the internal event stream 2023-07-18 08:11:21 +02:00
Benedikt Peetz 8f9a2a3f22
Refactor(ui): Split into multiple files 2023-07-15 12:29:35 +02:00
antifallobst a30229b763
Fix(treewide): Replaced needless expect statements 2023-07-10 22:10:54 +02:00
antifallobst ce59c504bd
Fix(UI): Removed unneeded mut statements 2023-07-10 21:28:37 +02:00
Benedikt Peetz 20be391b9e
Style(treewide): Remove unneeded imports 2023-07-10 21:02:01 +02:00
antifallobst 200b9143b3
feature (ui): added a cli panel to contoll the UI similar to what you have when hitting colon in vim 2023-07-10 00:10:51 +02:00
antifallobst 8d6e7c976e
feature (ui): implemented reverse plane cycling using <Shift>+<Tab> as requested in #5 2023-07-09 23:04:59 +02:00
antifallobst 1fa35adae7
fix (ui): fixed rooms scroll out of bounds error and added more detail to 'not supported message like event' view in timeline 2023-07-09 22:05:48 +02:00
Benedikt Peetz 35225a14db
Style(treewide): Format all files with rustfmt 2023-07-09 10:09:50 +02:00
antifallobst 5611d8e385 feature (ui - room info): added basic infos (name & encryption status) to the main ui's 'room info' panel 2023-07-08 23:37:10 +02:00
antifallobst 98f7e806de feature: (room timeline): Changed timeline view to a scrollable list / Made single messages/events selectable / Implemented Message sending 2023-07-08 23:09:53 +02:00
antifallobst 658f05b8d3 feature (ui - rooms / events): implemented a rooms list area in the UI and live timeline updates on room timeline sync events 2023-07-08 14:45:08 +02:00
antifallobst f8bf6ee07d feature (status - rooms): Implemented a timeline event caching layer 2023-07-07 00:52:16 +02:00
antifallobst 1eb04dd23a feature (UI - main): started work on timeline view implementation 2023-07-06 20:47:06 +02:00
antifallobst dfc87ff937 refactor (architecture): implemented an event based architecture 2023-07-04 18:32:57 +02:00
antifallobst 9fbf112baa refactor (logger): switched to cli_log 2023-07-01 12:44:11 +02:00
antifallobst 7bd1990eb3 feature (logging): added a logging backend and spreaded a few info log calls over the codebase 2023-06-29 20:17:54 +02:00
antifallobst 7a3bb91ba4 feature (UI - main): built a simple not yet very efficient rendering infrastructure that is capable of cycling through the planes 2023-06-29 16:33:40 +02:00
antifallobst af7c79ac75 feature (UI): made message compose in main ui a TextArea 2023-06-29 15:13:11 +02:00
antifallobst 82bd751ac8 fix (UI): fixed a bug that caused a panic when cancelling a login process. 2023-06-29 13:30:45 +02:00
antifallobst aee5b77722 feature (UI): added sample text to homeserver input field in login screen 2023-06-29 13:29:18 +02:00
antifallobst 124406e475 feature (UI): hiding password in login screen 2023-06-29 13:20:38 +02:00
antifallobst 2c894e895e feature (UI): implemented a login screen 2023-06-29 12:36:16 +02:00
antifallobst 3a88ca38a0 feature (UI): implemented status block 2023-06-23 16:07:18 +02:00
antifallobst 6e31c3e7c4 feature (UI): implemented the main UI 2023-06-23 05:41:26 +02:00
antifallobst ff8a6e66eb initial commit 2023-06-14 23:49:20 +02:00