Commit graph

42 commits

Author SHA1 Message Date
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
default
e5167b7b49 Renamed xs_splitn() to xs_split_n(). 2022-09-19 23:08:59 +02:00
default
8be433c9b6 New function hash_password() and check_password(). 2022-09-19 22:58:27 +02:00
default
c88d4f1e15 [data.c] new file. 2022-09-19 22:41:30 +02:00
default
368cf465fc Unified error strings. 2022-09-19 22:30:04 +02:00
default
1ad66e5166 New functions snac_debug() and snac_log(). 2022-09-19 22:23:33 +02:00
default
32c188ae8f New functions snac_open() and snac_free(). 2022-09-19 22:19:14 +02:00
default
8fbe3199df [main.c] New file. 2022-09-19 21:32:36 +02:00
default
b1a1717fd9 Improved server debug functions. 2022-09-19 21:30:19 +02:00
default
91adc48178 Added time functions. 2022-09-19 21:24:55 +02:00
default
0d86568346 Start of work. 2022-09-19 21:13:40 +02:00
default
de917a07d2 More dummy files. 2022-09-19 20:47:22 +02:00