Commit Graph

373 Commits

Author SHA1 Message Date
default
5e2f4e9902 dequeue() unlinks the file, even if it's been unable to parse it. 2024-01-04 16:27:07 +01:00
default
755d997fb1 Updated copyright year. 2024-01-04 09:22:03 +01:00
default
e003f87c2d Moved most server state to a structure. 2024-01-03 11:01:25 +01:00
default
808849ba14 Don't collect our own shared inbox. 2023-12-19 12:08:06 +01:00
default
fd637549f3 Added a prefix to srv_archive_qitem(). 2023-12-17 15:27:39 +01:00
default
f8196b4ef6 New function srv_archive_qitem(). 2023-12-17 15:21:16 +01:00
default
f93b5ad091 Fixed a misleding log text. 2023-12-16 23:24:32 +01:00
default
bfdaf380ea More logging tweaks. 2023-12-11 10:41:41 +01:00
default
c693c7c62c Some logging tweaks. 2023-12-11 07:37:53 +01:00
default
09b926c168 More functions do not require the user argument. 2023-12-10 17:50:03 +01:00
default
755ef0ed97 Purge unused tags completely. 2023-12-08 08:34:51 +01:00
default
bad729c631 Started work to support shared inboxes. 2023-12-06 14:46:51 +01:00
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