Commit graph

72 commits

Author SHA1 Message Date
liamcottle
2c2df242e5 lxmf messages in outbound or sending state should be marked as failed when app starts as they are no longer being processed 2024-05-19 20:36:20 +12:00
liamcottle
f961c85e76 run message progress loop in background task to allow sending multiple messages at the same time 2024-05-19 20:22:34 +12:00
liamcottle
fd1e84ac5a auto launch web browser by default 2024-05-19 00:48:45 +12:00
liamcottle
4142c2b19e tidy logs 2024-05-18 22:16:22 +12:00
liamcottle
4ce68dd9a0 implement api to get path table 2024-05-18 22:05:37 +12:00
liamcottle
0fbb1fed54 implement api to get interface stats 2024-05-18 21:54:49 +12:00
liamcottle
14fee19d88 implement api to fetch path to destination 2024-05-18 21:18:33 +12:00
liamcottle
833303d4c7 remove signal handler which is unsupported on windows 11 2024-05-16 22:15:52 +12:00
liamcottle
fcbb0ac463 remove log 2024-05-06 00:57:56 +12:00
liamcottle
d95f4270ab fix sending to websocket 2024-05-06 00:37:12 +12:00
liamcottle
273e8485fb rework peers to come from database announcements 2024-05-05 23:51:15 +12:00
liamcottle
9c1f6e55a6 implement api to fetch announces 2024-05-05 22:12:45 +12:00
liamcottle
e34a843077 no need to check for existing of route param 2024-05-05 21:53:13 +12:00
liamcottle
ab71517f4a no need to set timezone on returned datetime string 2024-05-05 21:50:31 +12:00
liamcottle
b4200f8cd9 ensure datetime fields are stored in database as utc 2024-05-05 21:49:27 +12:00
liamcottle
06f5af2ee0 collect announces in database 2024-05-05 21:11:22 +12:00
liamcottle
f14c5929a5 refactor api endpoint for fetching messages 2024-05-05 20:23:48 +12:00
liamcottle
af0e814576 vacuum database on start to shrink its file size 2024-05-05 02:50:36 +12:00
liamcottle
bf49443005 add button to delete entire conversation 2024-05-05 02:40:03 +12:00
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