Commit graph

1785 commits

Author SHA1 Message Date
default
2250ad7027 Sanitize control codes in JSON code. 2023-03-07 09:56:16 +01:00
default
23177e9395 is_msg_for_me() also accepts msgs where a followed is cc'ed. 2023-03-07 09:40:55 +01:00
default
946c29773a Some improvements to is_msg_for_me(). 2023-03-06 20:07:44 +01:00
default
b032e3d522 Fixed is_msg_for_me(). 2023-03-06 14:35:11 +01:00
default
e3e45b7c98 New function is_msg_for_me(). 2023-03-06 14:28:53 +01:00
default
1152450d1c Changed the way invalid codes in strings are stripped. 2023-03-06 13:28:15 +01:00
default
60f77b6cad msg_update() sends copies the 'to' and 'cc' fields in notes. 2023-03-06 11:26:43 +01:00
default
751211684f Don't send public admirations of non-public messages. 2023-03-06 11:16:15 +01:00
default
49f2f498de Strip dangerous control codes in sanitize(). 2023-03-06 11:06:35 +01:00
default
79ea0bf4ab Reject MUTEd actor messages ASAP with a 403 status. 2023-03-04 00:26:50 +01:00
default
1254602afb Merge branch 'master' of triptico.com:git/snac2 2023-03-03 22:40:41 +01:00
default
d0306975c5 Changed the way the content-length is set. 2023-03-03 22:40:37 +01:00
default
caedaca537 Updated TODO. 2023-03-03 21:13:42 +01:00
default
45f490286a Send to collected inboxes AFTER sending to explicit recipients. 2023-03-03 06:04:40 +01:00
default
aaf6ff20c1 Add the baseurl to the user agent in the signed GET. 2023-03-02 17:28:29 +01:00
default
b2ce9323db Added the url to srv_archive(). 2023-03-02 17:13:17 +01:00
default
8451d66601 Log the user-agent when serving the actor. 2023-03-02 15:34:04 +01:00
default
1ca94dab67 Added user-agent in non-signed http connections. 2023-03-02 13:30:29 +01:00
default
5036cb5e11 Connection jobs are treated as urgent. 2023-03-02 12:38:02 +01:00
default
e705e5c3ed Show a bigger piece of a connection error. 2023-03-02 12:30:00 +01:00
default
4773d6c64c Output to the shared inboxes only the public messages. 2023-03-02 10:26:52 +01:00
default
987f1d288b Bumped version. 2023-03-02 09:30:23 +01:00
default
d53d9af2be Enqueue messages to the collected inboxes first. 2023-03-02 09:28:19 +01:00
default
29b12498dd Simplified is_msg_public(). 2023-03-02 09:15:40 +01:00
default
e74ae0f589 Renamed inboxes/ to inbox/. 2023-03-02 09:01:08 +01:00
default
5e3c50d6e1 New inbox collection functions. 2023-03-02 08:43:50 +01:00
default
eb0c7eabbb Minor refactoring to actor_request().
Including commented out experimental code for collecting sharedInboxes.
2023-03-01 09:22:32 +01:00
default
d75a22adab New function srv_archive_error(). 2023-03-01 08:25:36 +01:00
default
105683d4d2 Moved srv_archive() to data.c. 2023-03-01 08:09:56 +01:00
default
fd4774336e Backport from xs. 2023-02-28 11:22:52 +01:00
default
ec48ec314f Don't inline empty avatars in og:avatar meta property. 2023-02-26 20:23:02 +01:00
default
91d670a627 Merge branch 'master' of /home/angel/git/snac2 2023-02-26 20:11:50 +01:00
default
2c2c0df129 Added some property og meta headers. 2023-02-26 20:11:45 +01:00
default
e4b6054313 Changed debug level for purge log messages. 2023-02-25 18:37:19 +01:00
default
cb9e82acf7 Version 2.24 RELEASED. 2023-02-25 18:17:51 +01:00
default
8de4987a3e Updated TODO. 2023-02-25 18:15:58 +01:00
default
3a9ea8aa1c Also purge stray index files. 2023-02-24 10:07:00 +01:00
default
1d82d13d62 In activitypub_request(), retry failed signed requests as non-signed. 2023-02-24 09:00:03 +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
90838f07c6 Minor actor name code refactoring. 2023-02-23 09:22:13 +01:00
default
80b6824f2b Updated TODO. 2023-02-23 08:57:40 +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
60c50c02f6 Create sleep mutex and cond variable only once. 2023-02-22 10:35:26 +01:00
default
295507fd9e Close everything if xs_socket_accept() returns NULL. 2023-02-22 10:02:24 +01:00