Commit Graph

158 Commits

Author SHA1 Message Date
p11
4168ba31f6 Supply methods directly instead of closures 2024-09-19 14:24:28 +02:00
p11
27d112fc59 Use map_or where possible 2024-09-19 14:23:57 +02:00
p11
e4d292ae58 Use Self type where possible 2024-09-19 14:23:23 +02:00
p11
c4b0f31dbf Use PathBuf.clone instead of to_path_buf 2024-09-19 14:22:42 +02:00
p11
c4e231c9e0 Use unwrap_or_else instead of unwrap_or 2024-09-19 14:21:52 +02:00
p11
e74cb61176 Automatically include audio if available 2024-06-24 16:49:36 +02:00
p11
15bb171066 Bugfixed description for partial text 2024-06-24 16:07:35 +02:00
p11
714477b825 If no password is specfied, grant full access 2024-05-12 01:15:39 +02:00
p11
73f618eb5a Updated pukram2html version, fixed audio paths with spaces 2024-05-06 19:28:29 +02:00
p11
7e466f5708 Use newest version of pukram2html 2024-05-06 00:01:37 +02:00
p11
e2d0cb79bd Added audio replies 2024-05-06 00:00:57 +02:00
p11
6fa0e14469 Changed how binary replies work 2024-05-05 23:57:41 +02:00
p11
4dc33e8c60 Use lines by ref instead of while-let 2024-05-05 23:53:27 +02:00
p11
9fc4237b60 Cookie not case sensitive 2024-02-10 02:08:51 +01:00
p11
5bd4ec7097 Added a second password for partial access 2024-02-10 00:57:14 +01:00
p11
ef1afa42fa Allow Passwords for server 2024-02-09 22:59:53 +01:00
p11
5020406acc Server cleanup: Retrieve args in main function, start server in start_server function 2024-02-09 22:12:53 +01:00
p11
bde802562f Updated to new pukram2html with better image handling 2023-12-07 21:06:46 +01:00
p11
c54265a6bd Moved file paths into a common struct 2023-12-07 20:03:04 +01:00
p11
bba2c0a4f0 Allow all image paths, only care about the ending 2023-12-07 19:24:33 +01:00
p11
4519c5c7ab Added a new section at the beginning 2023-11-20 22:24:03 +01:00
p11
a0f0999c8f Created a section closure 2023-11-20 22:22:50 +01:00
p11
afcc9633ac Updated pukram2html version, contained a mistake 2023-11-12 21:25:13 +01:00
p11
8b84aaaf61 Updated pukram2html version, no need to add newline at end of block anymore 2023-11-12 12:11:59 +01:00
p11
43f1b0b3a8 Display count and number of story entry 2023-11-07 20:42:59 +01:00
p11
d397c7e98b Added stop button to interactive mode 2023-11-07 20:36:00 +01:00
p11
f2bb22ed6c Added interactive mode 2023-11-07 20:26:22 +01:00
p11
64e0637349 Execute the whole request in a thread 2023-09-16 17:27:30 +02:00
p11
34b8307426 Connection handling not a method of context anymore 2023-09-16 16:34:53 +02:00
p11
337ca0149e Autoformatting let-else 2023-09-16 16:34:20 +02:00
p11
85e4cb3e4a Quickfix: Clear pool if stuck for too long 2023-08-15 23:14:13 +02:00
p11
a9f605cf0e Added support to serve images and use new features from the server. 2023-07-30 00:15:34 +02:00
p11
665bfa68db If current path does not exist, fail immeditely 2023-07-29 19:33:12 +02:00
p11
07b1bba9ab Update to pukram2html: Line based formatting 2023-07-23 17:44:35 +02:00
p11
18cc1c9db6 Use threadpool instead of threads directly 2023-07-21 20:38:29 +02:00
p11
1b039b0494 Added simple multithreading 2023-07-21 20:29:46 +02:00
p11
fdfeae97b2 Moved the real handling of the request to the site info struct 2023-07-21 20:06:17 +02:00
p11
b157e2c962 Simplified path creation, only keep files open as long as necessary 2023-07-21 19:45:58 +02:00
p11
a2104976ef Fixed server for chrome 2023-07-20 05:14:28 +02:00
p11
50bb519ac0 Update of pukram for better formatting 2023-07-19 22:23:24 +02:00
p11
6dc1675ac3 Save site infos to their own files, never save the complete context 2023-07-19 21:40:30 +02:00
p11
8a1f94bb66 Made site infos saveable on their own 2023-07-19 21:18:28 +02:00
p11
4eb59a01b7 Always save comments 2023-07-19 21:10:56 +02:00
p11
accd37204f Added support for reactions 2023-07-19 20:05:23 +02:00
p11
7c1969fa0b Count and show views 2023-07-19 19:50:27 +02:00
p11
d0a4bbf349 Use UTF-8 2023-07-19 19:50:07 +02:00
p11
7b2961afad Refactor: Put comments into site info 2023-07-19 19:07:23 +02:00
p11
21d203431b Fixed typo in http not found message 2023-07-19 19:02:45 +02:00
p11
33b55bf4a6 Used boxed str instead of strings 2023-07-19 18:58:20 +02:00
p11
95316dc7f4 Log comments 2023-07-18 22:49:35 +02:00