Commit graph

249 commits

Author SHA1 Message Date
default
e4b6054313 Changed debug level for purge log messages. 2023-02-25 18:37:19 +01:00
default
3a9ea8aa1c Also purge stray index files. 2023-02-24 10:07:00 +01:00
default
1630519066 Deleted index_del_md5() and index_del(). 2023-02-23 18:43:52 +01:00
default
285dbe1a5e Call index_gc() on the user indexes. 2023-02-23 18:42:38 +01:00
default
307c9420c3 New function index_gc(). 2023-02-23 10:42:09 +01:00
default
4eec215729 Serialize some data writes. 2023-02-23 09:32:47 +01:00
default
5a5835b4fa Deleted the index_lock() nonsense. 2023-02-22 21:52:24 +01:00
default
0f328d079c New function index_unlock(). 2023-02-22 19:15:22 +01:00
default
450863031b Added index locks a bit stronger. 2023-02-22 19:09:05 +01:00
default
23c433ee02 Added a warning. 2023-02-22 18:15:48 +01:00
default
d817264e52 Added a user config override for 'purge_days'. 2023-02-12 09:26:44 +01:00
default
0f4db7cf26 New file ~user/user_o.json, for the admin to override user settings. 2023-02-12 09:17:38 +01:00
default
2c45b655c3 Added 'fattr' to the pledge() list. 2023-02-11 06:43:43 +01:00
default
28d1da0a81 Don't fail silently if the job fifo is not ready. 2023-02-11 06:28:36 +01:00
default
03325d04a5 Show the fd rlimit at httpd startup. 2023-02-10 13:39:17 +01:00
default
2ed2914fa3 Print errno in user file opening errors. 2023-02-08 15:03:35 +01:00
default
b64d0f338d New function timeline_here(). 2023-02-08 13:28:03 +01:00
default
3fcc139d66 timeline_top_level() now looks for the entries in the user caches. 2023-02-08 13:21:44 +01:00
default
b8cd0d6363 New function timeline_fn_by_md5(). 2023-02-08 13:06:49 +01:00
default
4cca157641 Output messages are now processed by the pool of threads. 2023-02-07 13:31:48 +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
2db57c9df9 Added internals for Telegram notifications. 2023-02-07 07:37:23 +01:00
default
70c73d0336 New user option 'purge_days'. 2023-02-05 19:09:22 +01:00
default
143c73500b Reworked purge_user() to be clearer. 2023-02-05 18:13:46 +01:00
default
9cb6216417 timeline_get_by_md5() reads from the user cachedirs instead of the global object.
This way, user defined purging will be easier to implement.
2023-02-05 17:56:59 +01:00
default
71a7569467 Deleted the type argument from object_get_my_md5() and object_get().
It was never used.
2023-02-05 17:45:00 +01:00
default
bad9f3a8c6 Renamed timeline_get() to timeline_get_by_md5(), as that is what id does. 2023-02-05 17:39:40 +01:00
default
12aedfadfd New function timeline_get(). 2023-02-05 13:35:50 +01:00
default
d49089898f Elevated debug level to bad user / invalid user messages. 2023-02-03 16:51:59 +01:00
default
928f22fbba Email notifications have been moved to the global queue. 2023-02-02 05:21:16 +01:00
default
c639553836 New function queue() (the global queue). 2023-02-02 05:07:20 +01:00
default
106c94ef86 queue() renamed to user_queue(). 2023-02-02 04:47:59 +01:00
default
ee77e45abb dequeue() does not need a snac argument. 2023-02-02 04:44:30 +01:00
default
56c4711caf enqueue_output() adds the keyid and seckey args to the q_item. 2023-02-02 04:23:56 +01:00
default
f0ef1d4115 Reworked enqueue_message(). 2023-01-31 21:54:50 +01:00
default
274ae3d142 Reworked enqueue_email(). 2023-01-31 21:49:43 +01:00
default
4e62b409af Reworked enqueue_output(). 2023-01-31 21:15:16 +01:00
default
0233d73248 Started rewriting the queue. 2023-01-31 21:03:59 +01:00
default
94c4790bd7 Unified queue message field names. 2023-01-31 20:22:36 +01:00
default
74d30a561c Some symbol renaming. 2023-01-31 18:33:45 +01:00
default
2d7074aeb0 Deleted old paths to purge. 2023-01-31 18:28:52 +01:00
default
a38c7aeadc Updated year in copyright notices. 2023-01-17 09:50:16 +01:00
default
6406877af1 Usage of unveil() and pledge() can be disabled from config. 2023-01-13 14:18:23 +01:00
Andrew Alderwick
3cb1725225 Added OpenBSD's unveil() and pledge() support. 2023-01-13 13:25:14 +01:00
default
bb0d8f2a27 Backport from xs. 2023-01-12 09:28:02 +01:00
default
40b3f739d2 Deleted unused argument in timeline_admire(). 2023-01-11 20:47:36 +01:00
default
75f8554e38 Deleted unused arguments in timeline_add(). 2023-01-11 20:40:13 +01:00
default
47e6e47323 The purge ttl for stray global objects have been shortened. 2023-01-04 09:41:02 +01:00
default
bc7a6c2708 Log write errors in _object_add() more prominently. 2022-12-18 17:51:23 +01:00