Commit Graph

61 Commits

Author SHA1 Message Date
default
1370d6b64e Searches are now case-insensitive for all alphabets. 2024-08-23 20:27:07 +02:00
default
972c3dc5d4 Added support for listening on unix sockets. 2024-08-05 06:01:21 +02:00
Louis Brauer
26fbda787d Translate status codes to canonical status texts
Use those in HTTP responses instead of "OK"/"ERROR".
Apps like Tokodon show only the status text in unexpected responses.
2024-05-27 19:01:04 +02:00
default
755d997fb1 Updated copyright year. 2024-01-04 09:22:03 +01:00
default
bc5d0d4ed0 Replaced encode_html_strict() with xs_html_encode(). 2023-11-20 18:33:24 +01:00
default
80c5bac826 Backport from xs. 2023-11-17 08:51:53 +01:00
default
6cd3e76890 Added FastCGI support. 2023-10-17 20:02:08 +02:00
default
253e7f9eaa Don't allow creating users which user name strings only differ in case. 2023-10-13 06:33:12 +02:00
default
9cce2ee119 Some tweaks to the logging system. 2023-09-27 13:19:46 +02:00
default
c314e995a4 Backport from xs. 2023-09-25 18:25:09 +02:00
default
952da47c6d Backport from xs. 2023-09-17 02:52:44 +02:00
default
0f8c0cd694 Updated comment in headers. 2023-07-28 11:34:18 +02:00
default
d2aa5727ba Fixed failed mkdir() in restricted environments. 2023-07-09 20:23:38 +02:00
default
14b2f69768 If a ~/log/ folder exists, also write the log there. 2023-06-15 06:15:39 +02:00
default
71855e87e3 If ~/error/ exists, also log messages to a file there. 2023-06-11 19:49:56 +02:00
default
fafdbbf815 Replaced usage of random() with xs_rnd_buf(). 2023-06-05 18:29:25 +02:00
default
e788a5bf8f Some prototype tweaks. 2023-06-05 18:22:04 +02:00
default
65f5173c2a Moved srv_running variable to httpd.c. 2023-06-05 18:18:50 +02:00
default
970ad7a540 Got rid of xs_encdec.h. 2023-05-17 10:08:57 +02:00
default
d562c3cfed Backport from xs. 2023-05-09 14:18:15 +02:00
default
3ccf4e3759 arc4random() does not exist in not-so-old systems, so revert this.
Revert "Replaced random() with arc4random()."

This reverts commit f658f345ca.
2023-04-16 20:27:38 +02:00
default
f658f345ca Replaced random() with arc4random(). 2023-04-16 20:19:25 +02:00
default
105683d4d2 Moved srv_archive() to data.c. 2023-03-01 08:09:56 +01:00
default
67f2d4318d New utility function mkdirx(). 2023-02-07 09:25:01 +01:00
default
fabe6a5006 Tweaked user and group permissions for new files and dirs. 2023-02-07 09:01:57 +01:00
default
463439283a Minor header tweaks. 2023-02-02 03:49:38 +01:00
default
a38c7aeadc Updated year in copyright notices. 2023-01-17 09:50:16 +01:00
default
645e7ec43e Some code reordering to placate scan-build's wrath. 2022-12-14 04:55:47 +01:00
default
7787a2ded9 New function new_password(). 2022-12-04 21:14:18 +01:00
default
3acc70b270 Fixed a nasty macro expansion bug. 2022-10-26 06:43:47 +02:00
default
f61e5ed140 Don't set tz in gettimeofday() because nobody implements it any longer. 2022-10-15 23:43:09 +02:00
default
e8c421c51d Backport from xs. 2022-10-03 11:18:49 +02:00
default
849913dc59 Use the time functions of xs_time.h. 2022-10-02 09:27:17 +02:00
default
e7e89d2d57 New function ftime(). 2022-09-28 17:18:30 +02:00
default
5afb60f173 Got xs_set.h from xs. 2022-09-28 10:27:01 +02:00
default
4f3b70d997 More work in not_really_markdown(). 2022-09-27 10:51:57 +02:00
default
48a50770f4 Use xs_replace_i() in some places. 2022-09-27 10:20:33 +02:00
default
1834dc57b0 More error testing in srv_archive(). 2022-09-26 13:06:15 +02:00
default
57325b09f7 Added direction to srv_archive() files. 2022-09-26 12:10:11 +02:00
default
fd6f71bfe3 More work but signatures seem to still fail. 2022-09-26 11:19:45 +02:00
default
64b7b66e3b Always write a raw payload in srv_archive(). 2022-09-25 21:52:41 +02:00
default
e132ce5076 New function msg_actor(). 2022-09-25 21:02:47 +02:00
default
5f4379d434 Fixed bug in srv_archive(). 2022-09-25 09:47:36 +02:00
default
b070d2d8f8 The HTTP request headers are stored in a plain dict. 2022-09-25 07:42:57 +02:00
default
58de0798f2 New function srv_archive(). 2022-09-25 07:28:42 +02:00
default
33d27ef2d3 More log tweaks. 2022-09-24 10:22:30 +02:00
default
e9c2f58993 Replace long paths with ~ in logs. 2022-09-24 10:18:34 +02:00
default
d69fa8d855 Always call srv_debug() from snac_debug(). 2022-09-24 10:12:26 +02:00
default
7efb6d5833 New flag srv_running. 2022-09-21 18:13:11 +02:00
default
5d843a488e New function enqueue(). 2022-09-20 12:00:13 +02:00