Commit Graph

1817 Commits

Author SHA1 Message Date
Haijo7
9b1c5cc843
set bot to true in mastodon account if user type is service 2023-06-11 16:53:50 +02:00
Haijo7
2544ec92b2
add user type to mastodon profile 2023-06-11 16:38:06 +02:00
default
f6b836e120 Fixed comment. 2023-06-11 10:55:39 +02:00
default
723343fc42 Disable timeline_request_replies() temporarily. 2023-06-11 10:54:48 +02:00
default
e45ffa0fa2 Use a different variable name to store the id of 'embedded' children. 2023-06-11 10:41:19 +02:00
default
1d9e7348ff Updated RELEASE_NOTES. 2023-06-11 09:24:21 +02:00
grunfink
422b3148ae Merge pull request 'Mastodon API private timeline fixes' (#44) from poesty/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/44
2023-06-11 07:05:07 +00:00
poesty
fb5f34bb5a Only allow logged-in user to use statuses API 2023-06-11 12:06:37 +08:00
poesty
15137fc5c7 Only allow logged-in user to use search API 2023-06-11 03:04:08 +08:00
poesty
2b64892e83 Use MID_TO_MD5 for ID comparison 2023-06-10 14:35:16 +08:00
poesty
56c44eb455 Ignore non-followed users' notes without boosts in private timeline 2023-06-10 14:07:58 +08:00
poesty
86198549e7 Ignore timestamps in mastoapi_id when filtering entries 2023-06-10 02:39:11 +08:00
default
ab470e9f9b Updated TODO. 2023-06-09 09:44:48 +02:00
default
e22da86ccf Minor tweak to snac-poll-form. 2023-06-07 18:44:33 +02:00
default
22565f5c40 New CSS classes snac-poll-form and snac-poll-result. 2023-06-07 18:37:19 +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
e926fa2309 Changed timeline_request_replies() to receive an id and not an object. 2023-06-07 11:39:13 +02:00
default
f90d4b2372 New function timeline_request_replies().
This function downloads and stores all replies to a message, recursively.

Increases traffic.

Mastodon instances request the user actor again and again without caching
(when the 'replies' Collection is downloaded). Maybe I'm not doing something
correctly?
2023-06-07 11:15:58 +02:00
default
125317ac47 Some prototype update. 2023-06-07 11:08:14 +02:00
default
33f1f915db Updated documentation. 2023-06-05 19:43:09 +02:00
default
8c91956947 Replace an sprintf() with an snprintf(). 2023-06-05 18:36:36 +02:00
default
fafdbbf815 Replaced usage of random() with xs_rnd_buf(). 2023-06-05 18:29:25 +02:00
default
e788a5bf8f Some prototype tweaks. 2023-06-05 18:22:04 +02:00
default
65f5173c2a Moved srv_running variable to httpd.c. 2023-06-05 18:18:50 +02:00
default
531433aea3 Document the basedir style.css file. 2023-06-04 19:36:37 +02:00
default
85011994e1 Also accept Update + Service messages. 2023-06-04 10:49:02 +02:00
default
0d817340e2 If a user config field 'bot' is set to true, identies as such. 2023-06-04 10:48:03 +02:00
default
3a8005f9bf Updated some data types. 2023-06-04 10:34:39 +02:00
default
c69d0c1878 Version 2.34 RELEASED. 2023-06-03 18:18:47 +02:00
default
6564ad4287 Updated RELEASE_NOTES. 2023-06-02 19:39:45 +02:00
grunfink
5ac17bdc1b Merge pull request 'Added icon for bots' (#40) from Haijo7/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/40
2023-06-02 17:36:06 +00:00
Haijo7
21bb4f3325
Added icon for bots 2023-06-02 18:12:07 +02:00
default
13ab8c73e5 More notify tweaks (I'm getting sick of this). 2023-06-02 11:48:43 +02:00
default
84152d67f5 Fixed bug in notify() (the poll id was not set). 2023-06-02 10:58:49 +02:00
default
b0337f55b5 Fixed bug in vote discarding in notify(). 2023-06-02 10:52:12 +02:00
default
2e19c193a0 Use a select instead of a checkbox for setting multiple-choice polls. 2023-06-02 10:48:05 +02:00
default
97b8dded00 Updated RELEASE_NOTES. 2023-06-02 10:23:30 +02:00
grunfink
99588a8a5c Merge pull request 'fixed typo in string "people that follows you"' (#38) from Haijo7/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/38
2023-06-02 08:19:01 +00:00
grunfink
a9a4afadad Merge pull request 'open image in new tab when clicked, add css class for attachments' (#39) from Haijo7/snac2:image-link into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/39
2023-06-02 08:16:07 +00:00
Haijo7
2a8d34a833 open image in new tab when clicked, add css class for attachments 2023-06-02 09:43:49 +02:00
Haijo7
f903d0769b
fixed typo in string "people that follows you" 2023-06-01 17:44:02 +02:00
default
47cb5f0b28 Add a check Unicode char to mark those polls that were voted by the user. 2023-06-01 17:28:38 +02:00
default
a7881f0ab6 Added an 'uninstall' Makefile target. 2023-06-01 17:18:36 +02:00
default
e66b3ff8da Disallow empty or repeated options in msg_question(). 2023-06-01 17:14:50 +02:00
default
af88b78478 Fixed typo in notify(). 2023-06-01 17:00:17 +02:00
default
e87d5b7e20 Another tweak in notify(). 2023-06-01 10:45:06 +02:00
default
344356e488 Fixed notification bug. 2023-06-01 10:37:12 +02:00
default
76aa8649b5 Fixed another CSS typo. 2023-06-01 10:11:09 +02:00
default
5a1b3d8c27 Updated RELEASE_NOTES. 2023-06-01 09:39:36 +02:00