Commit graph

344 commits

Author SHA1 Message Date
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
default
09e0d99251 Increased log level for enqueue_request_replies(). 2023-06-15 09:35:03 +02:00
default
14b2f69768 If a ~/log/ folder exists, also write the log there. 2023-06-15 06:15:39 +02:00
default
2076267c03 Avoid returning 'ghost' no-longer-followers in followers_list(). 2023-06-15 04:56:44 +02:00
default
2bed69d00b Use the _a.json extension for actor object links into following/. 2023-06-15 04:29:26 +02:00
default
297b82c9c6 following_list() creates links to the actors if they don't exist. 2023-06-15 04:19:09 +02:00
default
e97092cf0c Maintain a link to the author object in the following/ subdirectory. 2023-06-15 04:11:39 +02:00
default
1307b6203c Use utimes() to 'touch' the actor file in actor_get(). 2023-06-14 20:59:00 +02:00
default
b77ef13d2c Don't enqueue a request_replies message if it's already there. 2023-06-07 13:09:19 +02:00
default
ecde1c219e New function enqueue_request_replies().
This way, the (potentially expensive and slow) call to
timeline_request_replies() is detached from actions like
replying a message from the web ui.
2023-06-07 12:04:59 +02:00
default
125317ac47 Some prototype update. 2023-06-07 11:08:14 +02:00
default
3b72b0f0ac New function was_question_voted(). 2023-05-31 22:06:31 +02:00
default
7659362448 Enqueue a close_question user q_item. 2023-05-29 11:07:38 +02:00
default
654e171b93 New macro ISO_DATE_SPEC. 2023-05-29 09:07:27 +02:00
default
5d8e370ec3 More prototype tunnings. 2023-05-24 13:05:43 +02:00
default
e6eb1adc65 Also find local users in /api/v1/search. 2023-05-15 13:04:30 +02:00
default
e9588a71ae Add /v1/account/search support. 2023-05-15 11:15:28 +02:00
default
e2e7bc2d71 Added a source (web, mastoapi, etc) to lastlog_write(). 2023-05-08 09:02:45 +02:00