Commit graph

1703 commits

Author SHA1 Message Date
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
default
2cdcc8ecc3 Updated RELEASE_NOTES. 2023-06-01 09:37:55 +02:00
default
1023ee88f5 Fixed typo. 2023-06-01 09:32:40 +02:00
default
a5104752d4 Updated default css. 2023-06-01 09:20:20 +02:00
default
fac52ff262 Show the user@host identified next to the user avatar (contributed by Haijo7). 2023-06-01 09:16:17 +02:00
default
37878fb926 Updated RELEASE_NOTES. 2023-06-01 08:45:39 +02:00
default
d6aa3d3c55 More poll notify tweaks. 2023-06-01 08:44:27 +02:00
default
513d81c694 Now you can vote from the mastoapi. 2023-06-01 08:40:08 +02:00
default
182ba33c76 Minor refactoring to mastoapi_poll(). 2023-06-01 08:13:58 +02:00
default
91ed98df0d Always notify about our own closed polls. 2023-05-31 22:12:44 +02:00
default
c55a2e4d13 Don't notify about closed polls that we didn't vote for. 2023-05-31 22:10:45 +02:00
default
3b72b0f0ac New function was_question_voted(). 2023-05-31 22:06:31 +02:00
default
796a111de8 New function mastoapi_poll(). 2023-05-31 18:35:50 +02:00
default
bec8e88fb9 Started voting on mastoapi (non-working). 2023-05-31 11:13:06 +02:00
default
a3eb84b932 Fixed poll id in mastoapi. 2023-05-31 10:57:06 +02:00