Commit graph

197 commits

Author SHA1 Message Date
default
1fe34ffb4a New function lastlog_write(). 2023-04-05 23:46:51 +02:00
default
ec48ec314f Don't inline empty avatars in og:avatar meta property. 2023-02-26 20:23:02 +01:00
default
2c2c0df129 Added some property og meta headers. 2023-02-26 20:11:45 +01:00
default
90838f07c6 Minor actor name code refactoring. 2023-02-23 09:22:13 +01:00
default
9d02e70a2f Show the avatar in the nav menu. 2023-02-20 11:09:39 +01:00
default
fdda3c9235 New checkbox 'Only for mentioned people'. 2023-02-20 10:19:15 +01:00
default
5230435b31 New boolean argument 'priv' to msg_note(). 2023-02-20 09:32:44 +01:00
default
f1f3e3b116 Email notifications can be disabled. 2023-02-20 06:00:54 +01:00
default
75fbc38db3 Rewritten text 'More...' as 'Load more...'. 2023-02-15 09:35:44 +01:00
default
08aa6107b1 Added form field code for uploading the avatar. 2023-02-15 09:30:08 +01:00
default
306f5bdd26 Added support for receiving un uploaded avatar. 2023-02-15 09:08:27 +01:00
default
f325b567e3 Improved Delete button fix. 2023-02-10 23:04:42 +01:00
default
ed44462a41 Fixed actor / post Delete confusion bug. 2023-02-10 14:36:27 +01:00
default
436dbf9913 Followers can be deleted. 2023-02-08 20:19:36 +01:00
default
5d126d0e9e Only show the 'in reply to' link if level == 0. 2023-02-08 14:07:13 +01:00
default
95926fb98a Use timeline_here() for parents in html_entry(). 2023-02-08 13:30:15 +01:00
default
f253ea6578 Added web interface for the Telegram information. 2023-02-07 08:19:18 +01:00
default
70c73d0336 New user option 'purge_days'. 2023-02-05 19:09:22 +01:00
default
71a7569467 Deleted the type argument from object_get_my_md5() and object_get().
It was never used.
2023-02-05 17:45:00 +01:00
default
bad9f3a8c6 Renamed timeline_get() to timeline_get_by_md5(), as that is what id does. 2023-02-05 17:39:40 +01:00
default
12aedfadfd New function timeline_get(). 2023-02-05 13:35:50 +01:00
default
43c83ce9ed More debug level changes. 2023-02-03 19:34:52 +01:00
default
bad3768250 Attached images have a hashed name instead of a time one. 2023-01-28 18:28:00 +01:00
default
4e86847f72 Image attachments in posts can now have descriptions ('alt text'). 2023-01-28 18:22:42 +01:00
default
d3cf86c098 New post field 'alt_text'. 2023-01-28 18:00:26 +01:00
default
a3ed2408fc New function default_avatar_base64(). 2023-01-27 18:17:11 +01:00
default
428d75600a Added edit support for posts. 2023-01-24 11:14:45 +01:00
default
a38c7aeadc Updated year in copyright notices. 2023-01-17 09:50:16 +01:00
default
bb0d8f2a27 Backport from xs. 2023-01-12 09:28:02 +01:00
default
16be679ecd Show the More... link above the 'About this site'. 2023-01-11 21:51:42 +01:00
default
40b3f739d2 Deleted unused argument in timeline_admire(). 2023-01-11 20:47:36 +01:00
default
75f8554e38 Deleted unused arguments in timeline_add(). 2023-01-11 20:40:13 +01:00
default
029367f7cc Show the mentioned people after a CC:. 2023-01-09 09:24:09 +01:00
default
845df51686 Don't generate empty children popups. 2023-01-03 10:11:20 +01:00
default
913231d5c0 Add a link rel=alternate to the user RSS. 2022-12-25 15:45:46 +01:00
default
0bba515cf0 timeline_request() fixes the canonical id for the object. 2022-12-23 10:01:10 +01:00
default
dda60374f7 The 'Older...' details are back, now better. 2022-12-19 06:16:52 +01:00
default
020b854675 Deleted the 'Older...' details tag because it's becoming too confusing. 2022-12-18 20:57:34 +01:00
default
e31734c06a Conversations can be collapsed. 2022-12-18 06:10:50 +01:00
default
25acaf178c Replaced all calls to post() with enqueue_message(). 2022-12-16 07:16:00 +01:00
default
32eb3fb041 Also show the 'updated' timestamp. 2022-12-15 16:09:44 +01:00
default
2fd7e20380 Use object_likes_len() and object_announces_len() in the post score. 2022-12-10 11:26:51 +01:00
default
5e837aa57b Don't show the 'Boost' button for private messages. 2022-12-08 08:45:35 +01:00
default
2dba85ead2 Also add 'redir' hidden field to Replies. 2022-12-08 08:04:18 +01:00
default
a1673e6d0c Some tweaks to improve the page position after like or boost. 2022-12-08 07:40:15 +01:00
default
a5b8dd7841 Wrapped too long string literals. 2022-12-08 07:21:19 +01:00
default
8222776ff9 Little tweak to previous change to avoid a memleak. 2022-12-08 07:08:53 +01:00
Alex Schroeder
4c996c7622 Fix mentions with one @ sign
In a mention like the following, the old code had a problem: It would
split the name by '@' and get a list of two elements. Since this is
less than three, it would then try to get the domain name from the
href ("social.alexschroeder.ch") and concatenate it with the name,
resulting in "alex@social.alexschroeder.ch@social.alexschroeder.ch".
The reason was that the code expects an initial "@". In that case,
splitting "@alex@social.alexschroeder.ch" would result in three
elements, and no domain name guessing would happen. If, on the other
hand, the name was "@foo" then finding the domain name in the URL and
appending it so that you get @foo@domain.name is the correct solution.

    "tag": [
        {
            "type": "Mention",
            "href": "https://social.alexschroeder.ch/alex",
            "name": "alex@social.alexschroeder.ch"
        }
    ],

The fix consists in prepending an "@" if the name does not start with
"@" and leaving the rest of the code unchanged.
2022-12-07 22:03:32 +01:00
default
df1b1510b7 Ask for just 1 more entry beyond the current page to test if there are more. 2022-12-07 10:42:24 +01:00
default
979389fd47 Fixed last minute typo. 2022-12-07 10:12:59 +01:00