Commit graph

259 commits

Author SHA1 Message Date
Haijo7
553ef7b40c added titles to images and emojis 2023-06-16 15:31:40 +02:00
default
5be2239467 Quick fix to "Script self-injection in edit box".
In the 'Edit...' box, the sourceContent (which was written by a user)
has its < replaced with &lt; . This issue does not propagate to the
public timeline nor to the recipients of the post.

Reference: https://codeberg.org/grunfink/snac2/issues/53
2023-06-16 09:25:32 +02:00
default
ded12dcf52 Fixed look of users without creationg date in the people page. 2023-06-15 18:00:09 +02:00
default
478cb2cf15 Use xs_stock_* values wherever possible. 2023-06-15 17:51:24 +02:00
default
262de20aa8 Fixed voting / replying confusion. 2023-06-15 17:24:44 +02:00
default
aa7ed9bd9b Added Web UI to set the account 'bot' flag. 2023-06-11 21:06:08 +02:00
default
d9d4ffbc61 Hidden conversations are not rendered instead of given a 'display: none'. 2023-06-11 20:34:26 +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
Haijo7
21bb4f3325
Added icon for bots 2023-06-02 18:12:07 +02:00
default
84152d67f5 Fixed bug in notify() (the poll id was not set). 2023-06-02 10:58:49 +02:00
default
2e19c193a0 Use a select instead of a checkbox for setting multiple-choice polls. 2023-06-02 10:48:05 +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
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
1023ee88f5 Fixed typo. 2023-06-01 09:32:40 +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
5aa9043668 Don't even call html_entry() for children with "name". 2023-05-31 06:41:06 +02:00
default
60fc87d845 Don't hide replies to polls (that are not votes). 2023-05-31 06:14:14 +02:00
default
f2a91d8d48 Label closed polls correctly in the notification area. 2023-05-30 14:58:41 +02:00
default
42918d44a0 Create polls from the web interface. 2023-05-30 10:34:46 +02:00
default
142b4d6d86 Added a poll pull-down and options (still unused). 2023-05-30 10:01:36 +02:00
default
b98a284f6f Wrap attachments in notes behind a "details". 2023-05-30 09:09:04 +02:00
default
e02beac47e Replaced "Image" with "File". 2023-05-30 09:01:33 +02:00
default
6e6fa934b5 Better poll close checks. 2023-05-30 06:37:09 +02:00
default
27218d06d8 Moved "Closed" poll string to where it belongs. 2023-05-30 06:35:29 +02:00
default
22fea17255 Disallow voting your own polls. 2023-05-29 09:20:25 +02:00
default
654e171b93 New macro ISO_DATE_SPEC. 2023-05-29 09:07:27 +02:00
default
34eb717344 Fixed multiple choice polls. 2023-05-24 13:46:06 +02:00
default
9cdb53de8e Hide the children for polls. 2023-05-24 13:25:13 +02:00
default
6eb0aa105a Show the poll as closed if we already voted for it. 2023-05-24 13:19:40 +02:00
default
5d8e370ec3 More prototype tunnings. 2023-05-24 13:05:43 +02:00
default
07b9fa90b2 Polls can now be voted. 2023-05-24 13:00:52 +02:00
default
67b21a9ecd Show HTML form code for oneOf polls. 2023-05-24 12:12:06 +02:00
default
0d8a040d90 Added some experimental 'Question' posting code. 2023-05-24 11:49:16 +02:00
default
4f0ab18f1c Show a ballot box emoji in the score if the enttry it's a poll. 2023-05-24 10:23:57 +02:00
default
2b6d6d3412 Finished polls are shown. 2023-05-24 10:11:48 +02:00
default
c356379cdd Some prototype tweaks. 2023-05-24 09:47:31 +02:00
default
49362f5404 Convert image links in notes to attachments. 2023-05-21 20:32:23 +02:00
default
ef1db81d1a Updated documentation. 2023-05-17 12:03:35 +02:00
default
ef59df5db2 Fixed bug in drop_dm_from_unknown web processing. 2023-05-17 11:47:11 +02:00
default
b3f2d15d00 Added web interface for drop_dm_from_unknown. 2023-05-17 11:37:23 +02:00
default
83aad1b7a4 Added some comments. 2023-05-17 10:40:44 +02:00
default
970ad7a540 Got rid of xs_encdec.h. 2023-05-17 10:08:57 +02:00
default
6b597ffdb4 Only show the bio in the top of the page for public pages. 2023-05-13 09:35:43 +02:00
default
e2e7bc2d71 Added a source (web, mastoapi, etc) to lastlog_write(). 2023-05-08 09:02:45 +02:00
default
980a8d524f Fixed more warnings. 2023-05-04 09:34:33 +02:00
default
185aac2387 Added -Wextra to C flags. 2023-05-04 09:28:36 +02:00
default
753eadfd17 Added some const here and there. 2023-05-04 09:25:09 +02:00