Commit graph

361 commits

Author SHA1 Message Date
default
80c5bac826 Backport from xs. 2023-11-17 08:51:53 +01:00
default
8a5067cae4 When purging tag indexes, also delete the .bak files. 2023-11-08 18:37:07 +01:00
default
b199f223e4 Tag indexes are also purged. 2023-11-08 18:15:51 +01:00
default
55d3ef5024 Tags can now be searched for from the server base URL. 2023-11-08 09:20:34 +01:00
default
895cf82a7d New code for indexing tags. 2023-11-08 08:14:34 +01: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
1b3f768a57 mastoapi: some tweaks to better match the returned data in timelines. 2023-10-09 11:49:45 +02:00
default
60e8953a69 Give more retry time to timedout connections. 2023-09-29 10:34:22 +02:00
default
f8c62fe210 Pinned posts are never purged. 2023-09-18 22:52:27 +02:00
default
5afa5ab071 Also purge the 'pinned' folder. 2023-09-18 13:35:08 +02:00
default
073a2d962a Discard output messages to blocked instances. 2023-09-02 08:41:29 +02:00
default
dfeb4668a7 Got rid of old d_char. 2023-08-31 07:00:15 +02:00
default
dae2e406d6 history_add() now creates an etag. 2023-08-19 09:59:58 +02:00
default
5c7b26bcdc static_get() and history_get() both share the same code. 2023-08-19 09:52:04 +02:00
default
5de1a9ce0c Rewritten history_get() prototype to match static_get(). 2023-08-19 09:31:13 +02:00
default
b3b4a4ef61 Return the history in reverse order, which has more sense. 2023-08-17 11:37:51 +02:00
default
2bea378610 mastoapi: Some tweaks to process posts with 'name' and 'image' fields. 2023-08-14 20:11:03 +02:00
default
cac1c6febd Rewritten actor_get() to not depend on a user. 2023-08-12 11:23:01 +02:00
default
499697258d Rewritten is_msg_public() to not depend on a user. 2023-08-12 09:43:01 +02:00
default
70b014606b Change filename order in srv_archive_error(). 2023-08-11 22:05:56 +02:00
default
3e5bb109d1 Renamed json dump functions to new xs spec. 2023-08-08 19:29:34 +02:00
default
a3f1387daa Only create the limited/ folder in calling limit(). 2023-08-07 06:38:19 +02:00
default
1763e3347e Added support for limiting followed users. 2023-08-06 18:40:50 +02:00
default
15f755960b Added xs_json_load() wherever possible. 2023-08-05 14:56:07 +02:00
default
381a2f5b7b Use xs_json_load() in some places. 2023-08-05 14:50:20 +02:00
default
f5a3dbf8d6 Use xs_json_dump_pp() wherever possible. 2023-08-03 09:02:08 +02:00
default
0f8c0cd694 Updated comment in headers. 2023-07-28 11:34:18 +02:00
default
eee1916858 Fixed prototypes. 2023-07-14 08:47:20 +02:00
default
545af948db New function post_message(), to send a message bypassing the output queue.
This is used when accepting Follow requests; this way, follows are
confirmed as fast as possible.

If the message cannot be immediately sent, it's queued as always.
2023-07-13 18:18:23 +02:00
default
3642cd25e4 Simplified inbox_list(). 2023-07-10 18:04:59 +02:00
default
e2789cece5 index_list() and index_list_desc() always return a list, even if empty. 2023-07-05 14:41:47 +02:00
default
08e474561e Tweaked static_get() logging. 2023-07-05 14:07:52 +02:00
default
eef3c419dd Posts can be pinned/unpinned from the web interface. 2023-07-05 14:06:21 +02:00
default
9c7cc7b710 index_list() and index_list_desc() don't return deleted entries. 2023-07-04 16:33:54 +02:00
default
bf08fba799 Call index_del() from _object_user_cache(). 2023-07-04 14:34:32 +02:00
default
d343b40ee5 Added HTTP caching to static data. 2023-07-02 11:11:01 +02:00
default
61957a86da Added instance blocking to data storage. 2023-06-29 08:07:10 +02:00
default
afebf086e7 Fixed unpinning indexing. 2023-06-28 21:47:00 +02:00
default
af180685bd Added some error control to pinning. 2023-06-28 20:52:09 +02:00
default
394240b9ba Also purge pinned.idx. 2023-06-28 20:39:16 +02:00
default
3559a0f1f2 New pinning in data storage. 2023-06-28 20:26:59 +02:00
default
e8be616793 Minor logging tweak. 2023-06-26 09:32:59 +02:00
default
42803e2116 Fixed crash in _object_fn_by_md5(). 2023-06-18 20:38:35 +02:00
default
5278232616 Delete unnecessary function information in _object_fn(). 2023-06-18 20:35:16 +02:00
default
b331f362be Improved checks to _object_fn_by_md5(). 2023-06-18 20:29:50 +02:00
default
51ef347334 Added some more checks to _object_fn_by_md5(). 2023-06-18 20:08:51 +02:00
default
551bf92b3b Added the caller function name to _object_fn_by_md5() and _object_fn(). 2023-06-18 19:53:33 +02:00
default
0a6a3a0a9a Avoid checking for deleted entries (starting with '-') in index_gc(). 2023-06-18 19:09:37 +02:00
default
723efdb251 Added some logging on corrupted md5 ids. 2023-06-16 10:04:29 +02:00
default
262de20aa8 Fixed voting / replying confusion. 2023-06-15 17:24:44 +02:00