Commit graph

53 commits

Author SHA1 Message Date
liamcottle
6f975a06b6 add button to delete messages that failed to send 2024-05-05 01:46:20 +12:00
liamcottle
e301ee9872 show progress when sending messages 2024-05-05 01:11:41 +12:00
liamcottle
e7db3ca98e implement sending file attachments via web ui 2024-05-05 00:49:09 +12:00
liamcottle
6d6869a96c implement backend support for sending images and file attachments 2024-05-04 23:01:40 +12:00
liamcottle
dd42da3bd9 add support in send_message function for adding images and file attachments 2024-05-04 22:45:16 +12:00
liamcottle
643fc93cd7 clean up duped logic 2024-05-04 21:41:55 +12:00
liamcottle
3e9f7d5314 move config to database 2024-05-04 21:31:12 +12:00
liamcottle
4958340584 add --storage-dir cli arg and add docs for storage path 2024-05-04 20:57:20 +12:00
liamcottle
962e07fb2c no need to path in custom web ui config, as it is now stored based on the loaded identity 2024-05-04 20:48:11 +12:00
liamcottle
49dfe58391 refactor storage to be based on the loaded identity 2024-05-04 20:46:42 +12:00
liamcottle
6960f076d3 move db init to web.py 2024-05-04 20:22:10 +12:00
liamcottle
ba5298b473 save lxmf message timestamp in db 2024-05-04 05:14:48 +12:00
liamcottle
96735c4bac save lxmf message title in db 2024-05-04 05:04:37 +12:00
liamcottle
952f2ea97e save incoming state in db 2024-05-04 04:58:15 +12:00
liamcottle
8036e602d2 support loading messages from server when clicking on conversation 2024-05-04 03:57:57 +12:00
liamcottle
a195f5e257 lxmf messages api should support filtering for specific conversations 2024-05-04 03:10:06 +12:00
liamcottle
db90498d03 migrate to aiohttp so we can have better control over normal http requests 2024-05-04 02:42:18 +12:00
liamcottle
d121c6aa19 implement api to fetch lxmf messages 2024-05-04 00:54:16 +12:00
liamcottle
c937aabb40 upsert received and updated lxmf messages to database 2024-05-04 00:30:09 +12:00
liamcottle
856fd8df00 save received lxmf messages to database 2024-05-03 23:48:15 +12:00
liamcottle
175ad1abf3 remove unused code from refactor 2024-05-03 22:51:26 +12:00
liamcottle
37633a3f60 implement progress updates while downloading nomadnet files and pages 2024-05-02 00:14:13 +12:00
liamcottle
a2ae157396 implement backend for downloading pages and files from nomadnet nodes 2024-05-01 23:36:14 +12:00
liamcottle
262e0b9cad update announce packet format and broadcast all known peers on websocket connect 2024-04-30 22:40:21 +12:00
liamcottle
99512be59a fix arg check 2024-04-30 21:48:15 +12:00
liamcottle
bf483ed95d do not overwrite existing files, otherwise user could lose existing keys 2024-04-30 21:42:30 +12:00
liamcottle
abd5794230 add cli util to generate identities without rnid 2024-04-30 21:38:34 +12:00
liamcottle
b0ae35610d allow passing in a custom reticulum config dir via cli args 2024-04-30 21:25:27 +12:00
liamcottle
d577fb135e handle all connection closed exceptions 2024-04-30 21:04:43 +12:00
liamcottle
07b2525dc8 move index.html to public folder 2024-04-30 15:56:07 +12:00
liamcottle
2dca43116d refactor sending and receiving messages so delivery states can be shown in ui 2024-04-30 03:15:42 +12:00
liamcottle
1bcabc3898 support different config files for separate instances 2024-04-30 00:03:47 +12:00
liamcottle
4a38574285 display name should be explicitly send in the announce 2024-04-30 00:01:03 +12:00
liamcottle
193a3c0a5e fix updating display name on lxmf destination 2024-04-29 23:53:26 +12:00
liamcottle
e5410517bc fix async issues 2024-04-29 23:43:28 +12:00
liamcottle
1a7baffe28 allow saving display name to config 2024-04-29 23:16:54 +12:00
liamcottle
f5b5970eec show identity info 2024-04-29 22:28:34 +12:00
liamcottle
27ae81180e chat ui improvements 2024-04-29 22:06:06 +12:00
liamcottle
bce99b05b9 clean up all code 2024-04-29 20:26:45 +12:00
liamcottle
e1be1126a8 init reticulum before sanic, otherwise sanic threads break global vars 2024-04-29 17:54:39 +12:00
liamcottle
4dac4e1f23 send received announces to websocket clients 2024-04-29 17:12:03 +12:00
liamcottle
2225cb931f update docs on using an existing identity 2024-04-29 16:32:17 +12:00
liamcottle
eefa1438a4 support passing in a reticulum identity, or generate a new one by default 2024-04-29 16:01:42 +12:00
liamcottle
2d3bc6a059 add help for cli args 2024-04-29 15:35:16 +12:00
liamcottle
e052eb25b4 start reticulum after sanic app is ready 2024-04-29 15:31:39 +12:00
liamcottle
254177e630 support setting host and port via cli args 2024-04-29 15:16:44 +12:00
liamcottle
f77f4e74d4 use sanic to allow serving web page and websocket from the same port 2024-04-29 14:51:47 +12:00
liamcottle
ca640f12d1 remove commands for now, as the different types won't be implemented 2024-04-29 04:19:31 +12:00
liamcottle
b74fd5e143 refactor fields to be an object instead of array 2024-04-29 04:04:54 +12:00
liamcottle
e58f39bc07 add commands to websocket data 2024-04-29 03:52:42 +12:00