Yonle
68d03d6d51
html.c: No need to redirect to #snac-posts again.
...
Form has been minimized with <details> since commit c409d2e
,
So there is no need to redirect user to user/admin#snac-posts again.
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-24 20:15:40 +07:00
Yonle
75e061a9f7
html.c & httpd.c: Fix hardlink.
...
Some people may still want to post in the web client with such different
way, Such as posting from Yggdrasil / SSH port forwarder, and so on.
This commit gives the workaround for that purpose, However things will
go messed up when current path were ends with / (Like: user/, admin/).
But overall, If user just uses it like normal, Then things will just
worked well as expected.
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-24 19:42:20 +07:00
default
4003883176
Updated RELEASE_NOTES.
2023-07-24 13:37:29 +02:00
default
e95d422be3
Bumped version.
2023-07-24 13:36:42 +02:00
default
f67ac2517c
Moved user settings to its own page.
2023-07-24 13:31:13 +02:00
default
86f507410b
Updated documentation.
2023-07-24 13:01:19 +02:00
default
ca0262f6b2
Updated CSS in utils.c.
2023-07-24 12:55:56 +02:00
default
f23d2c05ab
Fixed minor memory leak.
2023-07-24 12:52:09 +02:00
grunfink
ad4fccd60d
Merge pull request 'Allow several tags & fix video element width, and more.' ( #74 ) from yonle/snac2:master into master
...
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/74
2023-07-24 10:49:18 +00:00
default
a940d146ae
Fixed link in README.
2023-07-23 16:31:16 +02:00
Yonle
ae1f0ac334
default css: handle overflow text
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-23 20:50:45 +07:00
Yonle
7710ca76a0
format.c: Encode all HTML characters when we're in pre element until we are out.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-23 20:20:15 +07:00
Yonle
5672fe2cc6
format.c: Allow several tags
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-23 14:55:06 +07:00
Yonle
11aafbc46f
default css: Set max width for video attachment
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-21 11:32:24 +07:00
default
4823f20085
If a message has an audience, its URL is shown after the content.
...
Messages coming from channels, communities (Lemmy) or magazines (kbin.social),
have this field set with the "parent" url.
2023-07-19 12:42:32 +02:00
default
7950783d41
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
2023-07-19 11:58:22 +02:00
grunfink
b5eb51c4ab
Merge pull request '[Really optional PR?] html.c / UX: Give admin page more space & other...' ( #71 ) from yonle/snac2:master into master
...
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/71
2023-07-19 09:58:08 +00:00
Yonle
7e273a73eb
html.c: RSS: fix.
...
Feed title, and description is not properly rendered.
So here goes a fix that instead of using encode_html TWICE,
We use sanitize() for feed description instead.
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-18 23:34:29 +07:00
Yonle
d3e0f7a84b
html.c: custom emoji <img>: Resize height to 2em, and put veritcal-align to middle.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-18 21:16:22 +07:00
default
2700567fca
Avoid too deep nesting of html_entry().
2023-07-18 09:59:16 +02:00
default
6e5c7d4a4b
Increased recursion level for timeline_request().
2023-07-18 09:51:59 +02:00
Yonle
fe0d820795
html.c / UX: Give admin page more space
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-17 18:33:15 +07:00
default
e6d5ce2654
Version 2.38 RELEASED.
2023-07-17 10:41:19 +02:00
default
35987ebb50
Avoid incomplete messages in timeline_request().
2023-07-15 16:13:26 +02:00
grunfink
c409d2e260
Merge pull request '[Really optional] Whenever to have Placeholder on some inputs? & other stuff' ( #69 ) from yonle/snac2:master into master
...
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/69
2023-07-15 14:11:48 +00:00
Yonle
7e40e0d783
html.c: invalid html tag: else? just show it as encoded text.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-15 02:14:33 +07:00
Yonle
98c72db17c
html.c: *prev_src at edit: Just use encode_html.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-15 02:06:10 +07:00
Yonle
299886d898
utils.c: "User id" does not need "\n".
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-15 00:42:57 +07:00
Yonle
1dc61ace13
html.c: Probably put placeholder on certain input and textboxes
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-15 00:42:52 +07:00
default
3d6f1ee7a8
Updated RELEASE_NOTES.
2023-07-14 15:05:14 +02:00
default
3e21aafb26
Fixed crash on empty static and history objects.
2023-07-14 14:59:50 +02:00
default
43d2e80dc5
Use the right object id when storing Announce + Create + Note objects.
2023-07-14 09:05:27 +02:00
default
eee1916858
Fixed prototypes.
2023-07-14 08:47:20 +02:00
grunfink
510bd60cdf
Merge pull request 'html.c: Don't let public get into timeline.html_' ( #67 ) from yonle/snac2:master into master
...
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/67
2023-07-14 05:23:44 +00:00
Yonle
77f5b51126
html.c: Don't let public get into timeline.html_
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-14 11:59:31 +07:00
default
4ab22b2c14
If a Page has an image, show it as an attachment.
2023-07-13 23:41:22 +02:00
default
64d3bb7e33
Fixed Link HTML.
2023-07-13 22:32:06 +02:00
default
c4bb189d99
Added support for lemmy-style "Link" attachments.
2023-07-13 22:10:29 +02:00
default
8d7f329007
Updated RELEASE_NOTES.
2023-07-13 21:47:37 +02:00
default
a2874b4b49
Bumped version.
2023-07-13 21:13:37 +02:00
default
a549ff4b0d
Updated RELEASE_NOTES.
2023-07-13 21:13:21 +02:00
default
f6401e1c1f
Updated documentation.
2023-07-13 21:11:56 +02:00
default
9b19a26408
Increased log level for Announce error requests.
2023-07-13 21:11:49 +02:00
default
2caeb550b9
Added support for the 'Page' ActivityPub object.
...
So that you can follow and interact with lemmy channels.
2023-07-13 21:01:15 +02:00
default
a05aa969d0
Added a maximum level of recursion to timeline_request().
2023-07-13 20:19:50 +02:00
default
0bdd1f0420
Always log send status in post_message().
2023-07-13 18:21:30 +02:00
default
545af948db
New function post_message(), to send a message bypassing the output queue.
...
This is used when accepting Follow requests; this way, follows are
confirmed as fast as possible.
If the message cannot be immediately sent, it's queued as always.
2023-07-13 18:18:23 +02:00
default
137f775605
Minor prototype tweak.
2023-07-13 17:58:18 +02:00
default
5ddde84eaa
Version 2.37 RELEASED.
2023-07-13 16:51:04 +02:00
default
76e1608069
Fixed memory leaks.
2023-07-13 10:49:49 +02:00