Commit Graph

443 Commits

Author SHA1 Message Date
default
4777fc86cb Added const everywhere. 2024-05-21 14:12:15 +02:00
default
e7fa6d9920 Skip hidden posts in content_search(). 2024-05-15 13:36:59 +02:00
default
0a6df8e504 Renamed content_check() to content_match(). 2024-05-15 13:31:53 +02:00
default
0a6cfba399 Moved functions around. 2024-05-15 13:29:07 +02:00
default
ff8d49a899 Use xs_regex_match() where applicable. 2024-05-15 13:27:23 +02:00
default
2ed0a08f9f Convert the regex to lowercase in content_search().
Is this a good idea?
2024-05-15 06:07:33 +02:00
default
281f934f74 content_search() also searches the instance timeline. 2024-05-14 05:17:33 +02:00
default
0a11d70fbe Fixed git conflict. 2024-05-11 19:18:07 +02:00
default
4d53a7b6f7 In timeline_request(), call enqueue_actor_request on actor errors. 2024-05-11 19:16:54 +02:00
default
e1ce85debd Unified post-like object type match. 2024-05-11 18:46:15 +02:00
default
d12ebcef82 More search tweaks MUAHAHAHA. 2024-05-10 12:22:36 +02:00
default
5d1577af3c More web ui search tweaks baaaaah I'm boring. 2024-05-10 11:55:45 +02:00
default
1632e009a4 More content_search() tweaks. 2024-05-10 11:42:15 +02:00
default
1531e81a31 Added a skip argument to content_search(). 2024-05-10 11:29:18 +02:00
default
cccc5454c2 Added a maximum results argument to content_search(). 2024-05-09 09:31:10 +02:00
default
8de93b9cd7 mastoapi: some search by content tweaks. 2024-05-09 09:24:39 +02:00
default
979f2ad140 Rewritten content_search() to read from both timelines. 2024-05-08 16:43:02 +02:00
default
34c8968cfb Minor tweaks to content_search(). 2024-05-08 11:06:33 +02:00
default
52ba7f030e Renamed to content_search(). 2024-05-08 11:00:50 +02:00
default
dc74cac6c9 Added a timeout flag to search_by_content(). 2024-05-08 10:27:30 +02:00
default
3ab733cdf5 New function search_by_content(). 2024-05-08 10:20:25 +02:00
default
3355d5559d New op #3 to list_maint() (get list name). 2024-05-07 20:51:24 +02:00
default
6b1721c977 List timelines can now be (manually) navigated from the web UI.
URLs are {srv_baseurl}/{user}/list/{list_id} (you must know the list id).
2024-05-07 19:40:28 +02:00
default
be9cf2f555 Enqueue an object request for closed polls.
It seems that Pleroma does not send poll updates on close (or never).
2024-05-05 01:58:27 +02:00
default
fc76ae4e9e New function enqueue_object_request(). 2024-05-05 01:38:22 +02:00
default
6a77c634ad Also add announces to lists. 2024-04-30 19:41:08 +02:00
default
4e23570c21 Added more internal integrity checks.
index_add_md5() barfs if the md5 is not valid.
2024-04-30 09:27:33 +02:00
default
96830967e1 Also purge lists. 2024-04-30 09:14:03 +02:00
default
f1221808a8 More work in lists. 2024-04-29 10:15:04 +02:00
default
7f322302e5 New function list_distribute(). 2024-04-29 09:50:22 +02:00
default
29fb430797 More work in lists. 2024-04-29 09:26:37 +02:00
default
9a13e330f1 More work in lists. 2024-04-29 08:29:18 +02:00
default
8275a5f4d8 Start of list support. 2024-04-29 07:43:01 +02:00
default
ebf6a4bd8e URLs like {srv_baseurl}/{user}/admin/p/{md5} are valid.
But only if {md5} is in the user's timeline.
2024-04-22 05:46:56 +02:00
default
26840e0dc0 Some tweaks to previous patch. 2024-04-18 17:13:31 +02:00
grunfink
100c9cf569 Merge pull request 'Ability to federate with hidden networks #93 (update for v2.49)' (#149) from iwojima/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/149
2024-04-18 15:12:47 +00:00
default
dba0630660 Commented out received unboosts (see code for an explanation). 2024-04-12 05:28:34 +02:00
default
a7bd9b63e4 In object_unadmire(), don't call index_gc() if index_del() did nothing. 2024-04-11 19:55:45 +02:00
default
e362dfc356 Also purge like and announce index backups. 2024-04-11 19:39:45 +02:00
default
46f2e324d8 Undo for Likes and Announces are no longer dropped. 2024-04-11 19:29:30 +02:00
default
b6f8d8e900 On OpenBSD, don't enable sendmail if email notifications are disabled. 2024-04-02 17:44:27 +02:00
default
bc752b7d67 Emojis are now read from ~/emojis.json. 2024-03-25 15:33:14 +01:00
default
b2e3841467 Call actor_get_refresh() from actor_request(). 2024-03-13 06:30:24 +01:00
default
b9dbc5bcf3 Fixed log message. 2024-03-12 19:50:26 +01:00
default
66c42da77a Queue actor request renamed to actor_refresh. 2024-03-12 19:47:37 +01:00
default
f332acc70d More actor refreshing tweaks. 2024-03-12 19:44:08 +01:00
default
cd0e211354 Don't call enqueue_actor_request() with a NULL user. 2024-03-12 18:04:09 +01:00
default
f485dbdaf0 Added actor refreshing via the user queue. 2024-03-12 17:54:54 +01:00
default
48941cfeaf Also call content_check() from timeline_request(). 2024-03-11 09:53:20 +01:00
default
60c2a50ed9 New function content_check(). 2024-03-11 06:00:21 +01:00