Commit graph

647 commits

Author SHA1 Message Date
nworbnhoj
68b2c55460 refine sigchat Account.set() to ensure consistency between pddb & struct 2023-12-26 07:10:09 +11:00
nworbnhoj
4a824c903e add sigchat Account fields 2023-12-26 07:08:50 +11:00
bunnie
fda782663a bump version pins for xous change 2023-12-26 00:13:10 +08:00
nworbnhoj
5e1c6f6276 re-implement Sigchat.probe_host() using Tls.accessible()
now the user is only presented with the tls trust_modal when none of the required CA's are trusted
2023-12-22 14:29:06 +11:00
nworbnhoj
12c74e724f implement Tls.inspect(host)
Tls.probe() now returns a Vec<Certificate> and Tls.inspect(host) presents the trust_modal to the user
2023-12-21 07:48:09 +11:00
nworbnhoj
0e1c9595e4 stub libsignal::PrimaryProvisioningCipher.decrypt() 2023-12-20 17:19:02 +11:00
nworbnhoj
2e2d536dc8 stub libsignal::ProvisioningUuid 2023-12-20 14:36:59 +11:00
nworbnhoj
8951a6d72f stub libsignal::generate_identity_key_pair() 2023-12-20 10:02:58 +11:00
nworbnhoj
728da47c78 add sigchat Manager doco 2023-12-20 05:14:25 +11:00
nworbnhoj
3dff72b2b3 sigchat obtain device registration from Signal Provisioning server 2023-12-19 19:36:13 +11:00
nworbnhoj
36e7798d61 display sigchat device linking qr-code 2023-12-19 19:28:57 +11:00
nworbnhoj
fd5a55ccbd sigchat obtain uuid from Signal Provisioning server 2023-12-19 19:23:12 +11:00
nworbnhoj
a8547ce51c restructure SignalWS 2023-12-19 17:50:45 +11:00
nworbnhoj
96a59422b1 fix use Tls 2023-12-19 06:39:13 +11:00
nworbnhoj
8fddba4881 implement sigchat provisioning websocket with tungstenite 2023-12-19 05:16:59 +11:00
nworbnhoj
bcb6a8c3bf implement tls.stream_owned() 2023-12-18 17:16:33 +11:00
nworbnhoj
b094402bf3 sigchat prepare tls connection to provisioning server 2023-12-12 06:44:02 +11:00
nworbnhoj
2be426131c add sigchat busy status text 2023-12-11 06:21:07 +11:00
nworbnhoj
e5bb114c71 add sigchat doco 2023-12-11 06:19:36 +11:00
nworbnhoj
572dcd6bd1 implement Sigchat.account_link()
- create a new Account in the pddb
- create an Account Manager to coordinate the Link
- request a name for the device being linked (ie default 'xous')
- call Manager.link()
- on failure - delete the pddb Account record
2023-12-10 19:31:06 +11:00
nworbnhoj
c9e3f549a4 sigchat probe the Signal host server for tls certificates
- prompt the user for the Signal host server
- probe the host for the tls Certificate Authorities chain of trust
- allow the user to trust 1 or more Certificate Authorities
2023-12-10 19:02:57 +11:00
nworbnhoj
046873cec5 add status text to Sigchat::connect() 2023-12-10 06:34:08 +11:00
nworbnhoj
90aec71d33 add logging to sigchat Event::Focus 2023-12-08 05:10:14 +11:00
nworbnhoj
5be8040e00 remove redundant sigchat MenuOp::Link & MenueOp::Register
alternatives are presented to user as required
2023-12-08 04:30:49 +11:00
nworbnhoj
0eb1838ada Add Sigchat.account_setup() option to abort (and read Chat Dialogue in pddb) 2023-12-07 18:36:31 +11:00
nworbnhoj
b032a80a18 refine Sigchat::connect() to link/register on first use 2023-12-07 18:33:30 +11:00
nworbnhoj
404dc29fec include Signal registered Number in Account::read() 2023-12-07 18:13:47 +11:00
nworbnhoj
270746daf4 update sigchat readme 2023-12-07 18:10:06 +11:00
nworbnhoj
90daccea46 merge main into sigchat 2023-12-05 13:19:49 +11:00
nworbnhoj
b6c5550116 fix chat-test menu_name 2023-12-02 21:26:51 +11:00
bunnie
efb087c01a
Merge pull request #455 from betrusted-io/mtxchat-layout-tests
WIP: Mtxchat layout refactor
2023-12-02 16:13:04 +08:00
bunnie
7dc4b9213f add chat-test mini-app
this now contains the UI tests as a stand-alone app
2023-12-02 16:09:59 +08:00
bunnie
0632e510be remove tests from mtxchat app 2023-12-02 16:09:37 +08:00
bunnie
fa3f349a0a bump pins as xous-rs has changed 2023-12-01 21:20:01 +08:00
bunnie
4a5bedd6ab Merge branch 'main' of github.com:betrusted-io/xous-core into mtxchat-layout-tests 2023-11-30 14:22:15 +08:00
nworbnhoj
9de7f0545a remove redundant rustls package from mtxchat manifest 2023-11-30 07:29:33 +11:00
bunnie
5ae064fb38 an initial test for look at post layouts 2023-11-28 17:52:52 +08:00
bunnie
60db6053bc add a feature for testing the UI on mtxchat
when `test-chat-ui` is selected as a feature and mtxchat is selected as
an app to build, this will override the mainloop of the `mtxchat` app
and create a test dialog & present it, laying a framework for controlled
debugging of the layout engine.
2023-11-28 17:25:27 +08:00
bunnie
367ede62b1 convert usbd-human-interface-device to xous-usb-hid 2023-11-16 17:27:00 +08:00
bunnie
4d949d153b Add option to generat number-only passwords (#446)
This commit adds explicit selection knobs for all possible
types of characters and symbols.

A side effect is there is also now an error loop to handle the
case that none of the knobs are selected. The user cannot
proceed with generation until at least one type is selected.

When no alphabetic characters are selected, "exclude similar" is
now false, which allows all of the numbers to be picked from.
Normally, 1, 0, etc. are avoided to make it easier for humans
to read/copy the passwords without ambiguity. This does reduce
the total entropy slightly, but ideally you are using the
password generator with a long setting (20 or so characters)
so you're well beyond the worry of losing entropy due to dropping
the few similar characters.
2023-11-15 19:14:08 +08:00
bunnie
063800a894
Merge pull request #447 from nworbnhoj/sigchat
Sigchat skeleton
2023-11-14 15:49:23 +08:00
bunnie
419e547641 bump usbd-hid-device crate to latest
API changes to see if we want to absorb this prior to forking.
2023-11-12 00:02:07 +08:00
nworbnhoj
3a5f2e9fc0 refactor Account.number 2023-11-06 12:24:40 +13:00
nworbnhoj
1cbe0c7488 refactor Manager.account 2023-11-06 09:28:13 +13:00
bunnie
d4624124c9
Merge pull request #443 from betrusted-io/chat-status
WIP: Chat status
2023-11-03 13:54:34 +08:00
bunnie
6ab88117f6 bump xous-api-log version & fix version pins 2023-10-31 20:07:28 +08:00
bunnie
f1cd3a4325
Merge pull request #439 from vihaanjim/main
An App Loader
2023-10-31 19:56:45 +08:00
bunnie
bd8537f874 update README to note the need for the unsafe-app-loading feature 2023-10-31 00:19:05 +08:00
bunnie
57c00987b8 cleanup formatting; terminate process on panic; add missing unsafe{}
this is some general clean-up on the code to get it in line with
the rest of the guidelines in the system + addresses some of @xobs
comments.
2023-10-30 23:58:40 +08:00
bunnie
d4a934785b re-introduce a default text to display when going out of busy state
this simplifies the problem of tracking concurrency if multiple threads
are requesting a busy-state to be presented. In this case, when the
final thread leaves its busy state, the idle-state will be shown.
2023-10-29 20:07:22 +08:00
bunnie
c3aa1f46cf use status bar to count receive events during listen 2023-10-29 20:06:57 +08:00
bunnie
29fe24728c add more wait states around long-run ops 2023-10-29 19:15:11 +08:00
bunnie
4423339059 move wifi delay hook to the correct area
- remove modal pop-up for wifi connection, and replace with
busy animation
- specify units of delay in the constants (_MS to indicate milliseconds;
this is a convention I'm trying to adhere to)
- partial progress on debugging why the animation isn't running
(value of animation variable is not being passed back at the GAM layer).

Also a general note on coding styles that probably is going to cause
confusion now that more people are contributing to the code base.

Generally, when a lot of "generic" library functions fail, we've been
passing an error message up the stack. However, these functions are
actually meant to be infalliable, and when you kick the error up the
stack you just end up with a panic at an unhelpful location (because
you finally catch the error only at the main loop or something and
by that point there's nothing you can really do about it but panic,
since it's supposed to be an infalliable operation).

As a result I have been trying to tamp down on needless error propagations
and having them fail with a unwrap or expect at the point where the
abstraction should be infalliable. This helps in debugging the actual
failure root cause because you're closer to the line of code that
actually broke, instead of just some line at a generic error handler.

Of course if you build with stack unwinding the top-level unwraps are more
useful because you can peer down into the call chain, but even then,
with the limited screen real estate I think deeply nested failures
would probably overflow any panic display. So even with panic unwinding
I think we stil want to keep the root cause within a few stack frames,
instead of errors being passed up sixteen levels of abstraction before
finally dying.

This only applies to things that are meant to be truly infalliable,
like syscalls that should not fail, or like unpacking a buffer or
memory message that has already been allocated. In this case the errors
are more like asserts, and are helpful if they fail at the line where
they break instead of being passed up the call stack (which was the
original architecture).

Probably I should add a note about this to the Xous Book.
2023-10-29 16:33:03 +08:00
bunnie
4e027b676c remove logic from status primitive and make the interface simpler
- status bar text is just status bar text now
- idle animation runs/stops based on an explicit run/stop message

Note that at the moment if one starts the busy bar and a modal pops
up, you might overflow the queue of the ui drawing thread with animation
requests, because the thread blocks when the modal is summoned.

Modals "take the screen" anyways, so maybe the solution to this is
to add an additional interlock around any modal calls within the UI
main thread. Need to think about it a bit more.
2023-10-29 01:08:38 +08:00
bunnie
f05f685556 revert accidental overwrite of a translation file it mtxcli 2023-10-27 14:14:39 +08:00
bunnie
4142549804 try to lay in some hooks for how to interact with the busy API
this is just an example, want to get this up for review before
debugging all the problems
2023-10-20 00:50:29 +08:00
Vihaan Jim
752642f62d Cleanup
I noticed that I actually hadn't changed anything in the xous-rs
directory, so I got rid of the patch. I also removed a few files
that weren't being used. Furthermore, I noticed that a couple of
random files were different from upstream so I changed them back.
I also modified the README slightly.
2023-10-15 15:55:25 -04:00
Vihaan Jim
d99f40047c Finally fix build issues
I was facing a bunch of issues with the build system and
dependencies. I fixed it by using the Cargo.lock from upstream/main. I
also modified app-loader since as_slice_mut is now unsafe.
2023-10-14 17:09:28 -04:00
nworbnhoj
f51f781c3b implement sigchat chat menu items [register, link, close] 2023-10-15 09:55:09 +13:00
nworbnhoj
7b26c04fb0 implement sigchat account_setup() choice between Register / Link 2023-10-15 09:53:05 +13:00
Vihaan Jim
0a7a4fcfc1 Merge branch 'main' of https://github.com/betrusted-io/xous-core 2023-10-14 14:45:50 -04:00
nworbnhoj
6ac476ae4f implement sigchat Manager & Account
Structure modeled on signal-cli by AsamK <asamk@gmx.de> and contributors
2023-10-14 16:54:28 +13:00
nworbnhoj
573db5c24b init sigchat app from mtxchat 2023-10-14 16:08:32 +13:00
bunnie
d63b5912b1 absorb new xous-rs version 2023-10-10 16:50:00 +08:00
Vihaan Jim
e7445e1b62 Merge branch 'main' of https://github.com/betrusted-io/xous-core 2023-10-05 17:17:26 -04:00
Vihaan Jim
5402461794 Merge 2023-10-05 17:15:25 -04:00
bunnie
83256257e1 bump xous-rs crate to absorb Send derives on Messages
this is necessary for the smoltcp port
2023-10-03 20:54:14 +08:00
Vihaan Jim
5dda363157 Merge branch 'main' of https://github.com/betrusted-io/xous-core 2023-09-30 18:07:58 -04:00
bunnie
7e204604e9
Merge pull request #418 from nworbnhoj/chat
integrate tls trusted root_store into mtxchat
2023-09-26 11:02:18 +08:00
nworbnhoj
a89a344480 update mtxchat README.md 2023-09-25 21:10:35 +10:00
nworbnhoj
61c1747475 integrate tls trusted root_store into mtxchat
Set up tls with rustls::ClientConnection,
BUT - on Error::InvalidCertificate - then
probe the host for the untrusted certificate chain and prompt the user
to perhaps trust one of the certificates in the chain - then try again.
2023-09-25 11:22:47 +10:00
bunnie
122febafea remove status from mtxcli 2023-09-20 22:13:33 +08:00
bunnie
9f57ad96fd
Merge pull request #408 from nworbnhoj/chat
mtxchat app and chat library
2023-09-19 19:09:56 +08:00
bunnie
05d7e26ab7
remove status which is not a target
status doesn't have a `lib` configuration, so it can't be a target for mtxchat
2023-09-19 17:45:22 +08:00
bunnie
7a9f216405
bump xous pins
this should help the merge go more smoothly
2023-09-19 17:37:02 +08:00
bunnie
000d6606ce helps to actually have the line uncommented for the fix to work... 2023-09-19 01:59:38 +08:00
bunnie
43b0beecd4 add work-around to keep ct_eq from being optimized out
See #416 for details
2023-09-19 00:58:50 +08:00
bunnie
bdf70ab0e4 refactor API to upgrade subtle API in attempt to fix ct_eq problem
this didn't work, but, it's probably worth leaving the change in
place because this might fix other stuff we don't know about.
2023-09-18 23:55:33 +08:00
nworbnhoj
49936abc97 fix mtxchat.login() 2023-09-18 19:10:16 +10:00
nworbnhoj
7803efec7f pass room_alias aka dialogue_id aka dialogue.pddb_key to mtxchat.listen()
this ensures that new Matrix Events received from the server are added to the correct chat::Dialogue
2023-09-18 18:49:59 +10:00
nworbnhoj
65cc7feb05 implement mtxchat.room_alias() 2023-09-18 18:24:33 +10:00
nworbnhoj
b413345ac1 fix mtxchat.client_sync() url query contruction 2023-09-18 18:21:25 +10:00
nworbnhoj
b890c419c9 mtxchat refine url construction 2023-09-17 11:14:43 +10:00
nworbnhoj
124f949576 fix mtxchat new_user & new_room help 2023-09-16 06:59:08 +10:00
nworbnhoj
65dcf64720 fix mtxchat login() 2023-09-16 06:57:44 +10:00
nworbnhoj
0fbd331f37 mtxchat ensure longer keys are properly replaced 2023-09-15 07:08:07 +10:00
nworbnhoj
4453d9629f mtxchat update readme with prereq net tls probe matrix.org 2023-09-14 06:01:17 +10:00
nworbnhoj
61743a9c76 mtxchat tidy-up 2023-09-14 05:30:33 +10:00
nworbnhoj
7837df02d4 mtxchat break-out listen server into mod 2023-09-14 05:25:51 +10:00
nworbnhoj
747fb93c58 mtxchat replace EMPTY String with Option<String> 2023-09-13 15:31:23 +10:00
nworbnhoj
a06d84d8a9 convert mtxchat to use tls.root_store()
a ureq::Agent is configured to use tls.root_store(), and used for all comms with the matrix server
2023-09-13 07:18:22 +10:00
nworbnhoj
c22419f7c7 bump rustls to harmonize versions 2023-09-13 06:57:39 +10:00
bunnie
478a612c02 commit version bump 2023-09-12 16:25:10 +08:00
Sean Cross
5dfad296ae xous: mark MemoryRange::as_slice and friends as unsafe
Mark `MemoryRange::as_slice()` and `MemoryRange::as_slice_mut()` as
unsafe.

This is due to the fact that not all representable types can be cast to
an arbitrary value. For example, if Process A sends random values to
Process B, then Process B casts the memory to a slice of `bool`, then
any values that are not 0 or 1 are undefined.

Because these functions can leak UB into the program, they are marked as
unsafe.

This patch adds `unsafe {}` blocks to all instances where this function
is called. Additionally, all instances have been checked to verify that
they do not cast to any invalid types -- most use `u8` or `u32`.

Additionally, the long-deprecated `MemoryRange::from_parts()` call was
removed, since that causes UB without being marked as unsafe.

Signed-off-by: Sean Cross <sean@xobs.io>
2023-09-12 10:07:38 +08:00
nworbnhoj
a46dad11d2 mtxchat tidy-up 2023-09-09 10:36:37 +10:00
nworbnhoj
66738c0251 mtxchat fix missing write TOKEN_KEY 2023-09-09 10:30:59 +10:00
nworbnhoj
82e5dbe714 mtxchat add progress modal on matrix event import
This progress modal also masks a suspected race condition on Precursor.
    "Guru Mediation" `violated: nonNull::new_unchecked`

Calling ChatOp::PostAdd in quick succession appears to corrupt the pddb record - particularly with more bytes.
2023-09-09 10:30:03 +10:00
nworbnhoj
c50cc73610 mtxchat add navigation help on first login
chat add help navigation modal
2023-09-09 10:24:52 +10:00
nworbnhoj
07ef4d16c2 mtxchat add modal begging for patience 2023-09-09 10:20:24 +10:00
nworbnhoj
7a13439d5c mtxchat replace File & PathBuf with native Pddb 2023-09-09 05:51:21 +10:00
nworbnhoj
fbd49aea21 mtxchat separate pddb::dict for mtxchat.state & mtxchat.dialogue 2023-09-08 19:45:11 +10:00
nworbnhoj
9254163e5a chat implement wifi connect modal 2023-09-08 19:41:59 +10:00
nworbnhoj
e1f1ac427b mtxchat simplify create pddb::dict mtxchat 2023-09-08 18:01:00 +10:00
nworbnhoj
a7d3b34563 Merge branch 'main' into chat 2023-09-08 13:48:45 +10:00
nworbnhoj
3542103510 mtxchat tidy-up 2023-09-08 13:46:52 +10:00
nworbnhoj
9b32333b1e mtxchat README 2023-09-07 17:20:11 +10:00
nworbnhoj
f9c9521c8a fix mtxchat MenuOp::Room 2023-08-30 04:48:05 +10:00
nworbnhoj
2f157d5957 implement ChatOp::Dialogue::Save 2023-08-30 04:46:44 +10:00
Vihaan Jim
41126ec57b Merge branch 'main' of https://github.com/betrusted-io/xous-core 2023-08-29 11:29:39 -04:00
Vihaan Jim
adeaea7757 Add App Loader README 2023-08-28 15:16:12 -04:00
Vihaan Jim
dc295fd9c0 Change `spawn' README 2023-08-26 21:58:16 -04:00
nworbnhoj
197ed63058 chat tidy-up 2023-08-22 16:59:26 +10:00
nworbnhoj
01ea471fd0 implement mtxchat basic chat ui menu 2023-08-15 04:29:07 +10:00
nworbnhoj
b095462f29 implement mtxchat post() 2023-08-15 04:11:13 +10:00
bunnie
a40663bd63 refresh item cache after leaving host readout mode 2023-08-14 14:21:53 +08:00
Vihaan Jim
5186a723f5 Add GAM menu token handling
This adds the tokens for app submenus. I am now successfully able to
load `vault'!
2023-08-10 20:09:19 -04:00
Vihaan Jim
7532a34769 Switch from Vec to MemoryRange
Instead of getting the slice by creating a large Vec, I now use
MapMemory to create this region directly. There is some sort of bug
with Vec that doesn't allow creation of large Vec's, and this change
makes it possible to load much larger apps (including `vault',
although there are still issues like menus to sort out).
2023-08-10 18:11:49 -04:00
nworbnhoj
ca211e170a implement mtxchat.connect() 2023-08-11 05:24:50 +10:00
Vihaan Jim
ec6fad51f5 Slight menu change
I have moved the items to load specific apps to a new menu so that it
will be easy to modify when we want to reload the list.
2023-08-09 21:43:55 -04:00
Vihaan Jim
20b978a126 Add English locales
I have not added translations for other languages yet
2023-08-09 17:33:20 -04:00
Vihaan Jim
698df7007c Add another progress bar + go back to menu
I have added another progressbar when the list of apps is being
loaded (I find that this makes stuff more clear).

I also discovered that if I use gam to "switch" to app-loader from
itself this works at bringing the menu back up
2023-08-09 14:49:54 -04:00
Vihaan Jim
9fc988186b Working + somewhat improved UI!
`app-loader' can now successfully download apps from the app server
and run them! I have also improved the UI by adding a progressbar
when an app is loading so that you know when it is done and also
replacing some panics with notifications that way the whole machine
doesn't shut down if the server has some problems.

The remaining UI work is to make sure that the menu pops back up when
you for example set the server.

I also need to add locales, a README, etc.
2023-08-09 13:49:33 -04:00
Vihaan Jim
2d74a44a89 Add almost working server/client
This creates:
1) An `xtask' command that allows someone to compile individual apps
without compiling the entire image (note that this is required because
xtask generates files that contain gam context names, and if you just
do a regular `cargo build' building the app will fail)
2) A python file app_server.py that acts as a server to give the
app-loader a list of the apps and actually send it the
3) A basic UX that allows app-loader to set the server, get the list
of apps, and load apps.

Currently, this mostly works, except that there is some random
`ShareViolation' when the app-loader loads the app.
2023-08-08 18:08:25 -04:00
bunnie
53469a68d0 publish package updates, sync to release tag 2023-08-08 14:35:49 +08:00
nworbnhoj
278fb8640a embed room_modal into mtxchat::get_room_id() 2023-08-08 07:20:01 +10:00
nworbnhoj
c3379b08e0 embed login_modal into mtxchat.login() 2023-08-08 05:30:35 +10:00
bunnie
93a2dc0515 add option to type usernames as well as passwords
passwords is the "quick default", you have to pop down by
one on the menu to type a username.

This should address #401.
2023-08-08 01:19:51 +08:00
spoelstraethan
338cbea495
Add backup tips and caveats 2023-08-06 22:51:11 -05:00
nworbnhoj
50f06e2f78 implement mtxchat::MtxChat::listen() 2023-08-07 06:20:15 +10:00
Vihaan Jim
97bfd06bfe Cleanup
I have made `app-loader' more object oriented (to fit in with the
style of the other xous apps), and I am moving some of my personal
projects to another branch of my repo
2023-08-05 12:11:01 -04:00
Vihaan Jim
2d6e12f6b3 Fix to allow `app-loader' to switch app
`EXPECTED_APP_CONTEXTS' was added to the list of authorized
switchers. I don't think this is ideal, but I think it would be
difficult to come up with a better solution that doesn't make
`app-loader' "special" in some way.
2023-08-05 09:59:20 -04:00
Vihaan Jim
1e645a4b94 Allow registration of GAM names
This allows `app-loader' to register new names (which are then used by
the loaded apps to claim tokens). At the moment this is restricted to
apps that are pre-registered, i.e. included in the image.
2023-08-04 21:32:35 -04:00
Vihaan Jim
9eeed0d284 Add distinction between p_filesz and p_memsz
It turns out that in ELF files there *is* a difference between
file size and mem size. Mem size is the size of the chunk of memory,
but file size is the size of what we copy into there from the
file. Most of the time they are the same, which is why previously
`spawn' only considered mem size, but this caused issues.

In particular, in the xous implementation of the rust standard
library, there whenever something is allocated it has to first check
an AtomicI32 LOCKED to see if it is 0 or 1, and set it to 1 when it is
allocating so that only one thing is allocating at a time. However,
the mem size for the section containing LOCKED is larger than the file
size, meaning that `spawn' copied more of the file that it should
have. This lead to junk being put into LOCKED, which caused the new
process to assume that something else was perpetually allocating.

Now, `spawn' puts 0's in the space between the end of the file size
and the end of the memsize, which makes everything work as expected.

The only problem remaining is that when an app registers for GAM, GAM
checks whether the app is allowed to register, which is based on what
apps were included in the image. Obviously, this does not work when
you are trying to load apps that are not already in the image
2023-08-04 17:54:06 -04:00
nworbnhoj
29d06e18bf mtxchat cache user_id 2023-08-04 05:26:34 +10:00
nworbnhoj
4deefa712f rename mtxchat get_default() to get_or() 2023-08-04 05:23:44 +10:00
bunnie
b127cd093f bump version pins for change to xous-rs 2023-08-03 13:29:39 +08:00
Vihaan Jim
be58fbf0c3 Unmess-up stuff 2023-08-02 16:49:47 -04:00
nworbnhoj
38164446ab implement mtxchat.listen() 2023-08-03 06:41:56 +10:00
nworbnhoj
55f483f230 tidyup mtxchat room process 2023-08-03 06:14:14 +10:00
nworbnhoj
536eb1607f tidyup mtxchat login process 2023-08-03 05:39:52 +10:00
Vihaan Jim
bb4b6ad55a Small changes to status and apploader
I forgot to revert to the previous versions of the other status
files (turns out I only need to do it for one). I also changed to
using the hello binary in debug.
2023-08-02 15:09:38 -04:00
Vihaan Jim
ded9049ee4 Turn app-loader into an app instead of a service
When the user selects App Loader from the app menu, a new menu shows
up that displays the currently loaded apps (in the future this will
contain options to add/remove apps as well). This is a much more sane
approach than whatever I was doing before because it requires minimal
changes to the rest of the source tree (I had to change xtask so that
it would replace -'s with _'s in constant names so that I could name
my app app-loader).
2023-08-01 22:16:40 -04:00
nworbnhoj
b8521576e6 tidyup mtxchat names 2023-07-31 08:24:11 +10:00
nworbnhoj
c88d742c72 implement MtxChat::room_modal() 2023-07-30 17:11:26 +10:00
nworbnhoj
28365d1e6b rename MtxChat::user_server 2023-07-30 17:09:18 +10:00
nworbnhoj
0257ea6b31 init mtxchat::locales from mtxcli::locales 2023-07-30 16:08:31 +10:00
nworbnhoj
162a9faa2b implement mtxchat::MtxChat::login_modal() 2023-07-30 06:39:52 +10:00
nworbnhoj
8a05e32e86 convert MtxChat::get(&mut self) to MtxChat::get(&self) 2023-07-29 16:29:11 +10:00
nworbnhoj
2a1be321e9 init mtxchat::MtxChat from mtxcli::Mtxcli 2023-07-29 16:21:20 +10:00
nworbnhoj
081c669b43 init mtxchat with bones of mtxcli 2023-07-29 07:40:21 +10:00