Commit graph

206 commits

Author SHA1 Message Date
default
e01f23cbe2 Fixed Follow bug, introduced by latest sharedInbox change. 2022-11-18 08:10:47 +01:00
default
236ca9af6b Call sanitize() as soon as possible. 2022-11-16 13:13:31 +01:00
default
0739b9ff59 Also add the 'Sensitive content' checkbox to replies. 2022-11-16 12:16:30 +01:00
default
a06930f4da Posts can be marked as 'sensitive content' (not yet for replies). 2022-11-16 11:42:16 +01:00
default
36ff972173 Show the complete date as a 'title' popup. 2022-11-15 10:37:15 +01:00
default
f30c0fc2cf Deleted unused code. 2022-11-13 21:00:41 +01:00
default
f7f99ba1ce Also delete JS in the people/ page. 2022-11-13 16:58:54 +01:00
default
21c676487a Set "u-url mention" class for mentions. 2022-11-13 15:15:16 +01:00
default
eef7bc8fde Use details/summary HTML tags instead of JS for the 'Reply' button. 2022-11-13 15:06:54 +01:00
default
73323a7fc0 Some formatting refactoring. 2022-11-13 08:41:50 +01:00
default
c03c548832 You can always Boost your own posts indefinitely. 2022-11-09 05:51:53 +01:00
default
2e4b548021 Reordered Hide button. 2022-11-04 10:11:28 +01:00
default
8b252dab84 New 'Hide' button. 2022-11-04 08:48:15 +01:00
default
dbe60be4f3 Fixed bug when following by @user@host. 2022-11-02 20:28:40 +01:00
default
38509f5e14 Added the published (actor create) data to the 'people' page. 2022-11-02 11:13:50 +01:00
default
5f9baf2dd3 Differentiate the textarea forms form follower to following. 2022-11-02 11:05:56 +01:00
default
773be130ed More work in the people page. 2022-11-02 10:49:16 +01:00
default
1fd14a850d People page started. 2022-11-02 10:13:14 +01:00
default
2fd5f6fc61 Split html_actor_icon() from html_msg_icon(). 2022-11-02 06:41:40 +01:00
default
764178fb34 Added the @user@host id in the HTML title. 2022-11-02 04:53:50 +01:00
default
5c81dd88bc Added rel=nofollow to the admin link. 2022-11-01 19:51:40 +01:00
default
f957be5e84 Filter out carriage returns in note post web interface. 2022-11-01 19:32:42 +01:00
default
862560947b Added missing user_free() when auth is needed. 2022-11-01 19:28:41 +01:00
default
ccb82367ad Another tweak to the #redir after like or boost. 2022-11-01 18:16:03 +01:00
default
685b25af14 After reacting to a post, redirection is done to the next entry instead of top.
This work more or less ok for level 0 entries, but it's very
confusing for the others.
2022-10-31 15:54:07 +01:00
default
81d8923768 Actors being followed can also be MUTED. 2022-10-31 11:47:44 +01:00
default
9612289477 Added support for sensitive content. 2022-10-30 06:01:11 +01:00
default
5ee9504b18 Be more aggressive in HTML sanitization. 2022-10-28 18:06:42 +02:00
default
003da7fec7 Added a forgotten user_free() in html_post_handler(). 2022-10-26 08:18:21 +02:00
default
22b89875aa Minor tweaks. 2022-10-25 20:50:06 +02:00
default
d2095105de Don't load unneeded actor info in html_entry(). 2022-10-24 20:06:02 +02:00
default
b75319ed08 Added email notification address to web interface. 2022-10-21 09:46:46 +02:00
default
06c838b523 Updated LICENSE. 2022-10-20 14:26:34 +02:00
default
76b36362ce Don't read this actor with actor_get(). 2022-10-19 21:21:34 +02:00
default
abca46d037 xs_base64_dec() can now be used as a string, so do it. 2022-10-18 11:24:53 +02:00
default
326122de22 Also process Emojis in the post content. 2022-10-17 12:11:58 +02:00
default
6bcfd4e0ee Emoji must be img, not urls. 2022-10-17 12:08:16 +02:00
default
c53052471e Process :shortnames: in user names. 2022-10-17 11:59:11 +02:00
default
2143e68699 Also allow image attachments from reply posts. 2022-10-16 20:06:19 +02:00
default
d9a15b8af7 Attachments are now starting to get real. 2022-10-16 18:03:28 +02:00
default
0d79e465e6 Use multipart/form-data for posts (on the way to supporting uploads). 2022-10-16 11:08:50 +02:00
default
39a55f22a3 Also add the 'Image to attach' field to reply textareas. 2022-10-12 08:15:20 +02:00
default
e2a410ca51 Deleted useless code. 2022-10-11 09:01:48 +02:00
default
3e6c9c1947 Serve static files with the s/ prefix. 2022-10-11 08:51:56 +02:00
default
1b9ae00d40 Deleted unused code. 2022-10-10 10:47:54 +02:00
default
7f0063d5e1 build_mentions() completes uids without host. 2022-10-10 09:45:39 +02:00
default
78ec3b077b Media can be attached to notes.
The web interface limits this (by now) to only one
attachment, given the URL.
2022-10-10 09:03:15 +02:00
default
f31dc02715 Attached videos are now embedded. 2022-10-10 08:25:16 +02:00
default
43c5e2c679 Minor logging tweak. 2022-10-09 18:03:51 +02:00
default
305591ae31 New optional server config directive 'disable_cache'. 2022-10-09 17:54:01 +02:00
default
9aec7c9fa8 Moved message formatting to format.c. 2022-10-07 18:30:54 +02:00
default
8ffeab7884 Use xs_is_null() instead of NULL comparison when getting actor's name. 2022-10-07 17:25:40 +02:00
default
17842c2a79 Don't indent entry children beyond 4. 2022-10-07 10:12:14 +02:00
default
5773958c0e Do not show the hour in the date. 2022-10-06 19:45:37 +02:00
default
f9be6c58ed After doing some timeline operation, the page is loaded at the snac-posts anchor. 2022-10-06 19:21:29 +02:00
default
6befe9e569 New function build_mentions(), for the reply textareas. 2022-10-06 19:06:05 +02:00
default
a2b4706499 Fixed bug in Boost (by URL). 2022-10-05 21:28:32 +02:00
default
5192e28444 Fixed bug in the entry children popup. 2022-10-04 17:31:56 +02:00
default
75408346f0 Minor tweak to url regex. 2022-10-04 17:03:01 +02:00
default
f521285d75 Ensure the login information is null-terminated. 2022-10-04 11:55:48 +02:00
default
e285f641b4 Deleted debugging code. 2022-10-03 19:02:21 +02:00
default
36a46f3996 Renamed cached file _timeline.html to timeline.html_ to exclude it from globs. 2022-10-03 11:12:46 +02:00
default
25a057bac2 Added history support. 2022-10-02 18:22:15 +02:00
default
f82124a705 The history is shown at the bottom of the local timeline. 2022-10-02 18:16:58 +02:00
default
20fd70c011 Implemented local timeline cache. 2022-10-02 17:52:40 +02:00
default
d29c00bd8f An 'Update' message is set to everyone when data is changed. 2022-10-02 17:42:36 +02:00
default
bab25259f9 User data can be modified from the web interface. 2022-10-02 17:34:27 +02:00
default
0164ac902b Minor tweak. 2022-10-02 09:32:50 +02:00
default
82e9a03925 Implemented 'Delete'. 2022-10-01 19:37:47 +02:00
default
450c0e7aad More snac-origin work. 2022-10-01 19:10:12 +02:00
default
bd0bc09912 Show a link in the snac-origin in level 0 entries. 2022-10-01 18:58:50 +02:00
default
2c00c7b0b5 New web action 'Unfollow'. 2022-10-01 09:12:33 +02:00
default
1bb52559b2 New web action 'Follow'. 2022-10-01 08:05:20 +02:00
default
3797355f94 New MUTE web action. 2022-10-01 07:45:36 +02:00
default
8e27f1d711 Show the preferredUsername in name is "". 2022-09-30 18:28:46 +02:00
default
191c2e032b Also show Follow messages in the timeline. 2022-09-30 17:56:27 +02:00
default
3d544233a6 Timeline is cached. 2022-09-30 09:56:29 +02:00
default
4176799296 Likes and Boosts can be done from the web interface. 2022-09-30 09:29:28 +02:00
default
118ebac622 Posts can be done from the web interface. 2022-09-30 05:36:46 +02:00
default
f124d7accb Added support for one-entry timeline. 2022-09-29 13:15:57 +02:00
default
6317c9678d Simplified HTML. 2022-09-29 10:27:09 +02:00
default
86c27db435 More HTML work. 2022-09-29 10:18:28 +02:00
default
8be7c4927f More HTML work. 2022-09-29 09:52:23 +02:00
default
ab38029192 More HTML work. 2022-09-29 09:19:42 +02:00
default
49bca7e273 html_entry() is built in its own string and then added.
This will be faster.
2022-09-29 09:11:43 +02:00
default
484a7f1fd8 Added the score for local posts. 2022-09-28 17:39:32 +02:00
default
e7e89d2d57 New function ftime(). 2022-09-28 17:18:30 +02:00
default
5647e675fd More HTML work. 2022-09-28 17:12:39 +02:00
default
7ae3064210 Better coping with timeouts. 2022-09-28 16:27:53 +02:00
default
a22a515e0f More HTML work. 2022-09-28 16:16:18 +02:00
default
233d7d8a10 More HTML work. 2022-09-28 15:41:07 +02:00
default
69bc24a4bf More HTML work. 2022-09-28 10:40:35 +02:00
default
5afb60f173 Got xs_set.h from xs. 2022-09-28 10:27:01 +02:00
default
26446c8160 New function html_top_controls(). 2022-09-28 10:21:57 +02:00
default
ce2757552c More HTML work. 2022-09-28 09:46:21 +02:00
default
a636cf8b25 New function static_get(). 2022-09-28 09:29:09 +02:00
default
fc6a125146 New function html_msg_icon(). 2022-09-28 07:05:23 +02:00
default
b3b15cec29 New function login() (untested). 2022-09-28 05:36:35 +02:00
default
b2c8264003 Added dummy HTTP handlers for html. 2022-09-28 05:22:08 +02:00
default
5784ddecb4 Rewrite not_really_markdown() with xs_regex_split(). 2022-09-27 17:41:56 +02:00
default
bd2a07691d Backport from xs. 2022-09-27 17:19:59 +02:00
default
f516866f9e Disabled URL replacement by now because it's not infinite-loop-safe. 2022-09-27 10:59:29 +02:00
default
4f3b70d997 More work in not_really_markdown(). 2022-09-27 10:51:57 +02:00
default
48a50770f4 Use xs_replace_i() in some places. 2022-09-27 10:20:33 +02:00
default
26a3b260d5 Started function not_really_markdown(). 2022-09-27 09:38:46 +02:00
default
e0c0195616 [html.c] new file. 2022-09-27 09:07:07 +02:00