Commit graph

70 commits

Author SHA1 Message Date
Kelson Vibber
be420cae77 Set avatars and custom emoji as square (fixes display in Dillo)
The minimalist web browser Dillo has recently started up development
again. Its CSS implementation only applies the explicitly stated
width and height of an image, so avatars were displaying at 2.5 em high,
and the full original width.
https://dillo-browser.github.io/
2024-05-09 04:28:01 +00:00
default
6ed34913f0 Added queue timeout tweaks to default server.json. 2024-04-22 07:55:03 +02:00
default
5daab81d01 Added the default 'protocol' field to 'server.json'. 2024-04-19 09:26:34 +02:00
default
91bb0615d9 Replaced most xs_dict_iter() with xs_dict_next(). 2024-03-09 08:44:48 +01:00
Yonle
d42aaa19e4 default css: also darken <input> and <textarea>
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-24 00:48:21 +07:00
Yonle
e8caedc74f utils.c: *default_srv_config: add configuration for min_account_age
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-22 21:25:16 +07:00
Yonle
9161ce30eb utils.c: *default_srv_config: change max_timeline_entries default to 50
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-22 20:00:07 +07:00
default
1061414775 Also apply 1em patch to utils.c. 2024-02-22 13:27:03 +01:00
default
a3b9ef5b98 The link verification time is stored as a time_t.
This way, it will be easier in an eventual future to test if
a link verification is too old to be trusted.
2024-02-20 06:10:42 +01:00
default
0ede5e8b80 Fixed crash in verify_links(). 2024-02-16 06:06:12 +01:00
default
2da394aef4 Added 'accept' and 'user-agent' headers to verify_links(). 2024-02-16 05:47:18 +01:00
default
572c52f9fe More verify link logging. 2024-02-16 05:26:31 +01:00
default
c3b50574ac New function verify_links(). 2024-02-15 19:24:10 +01:00
default
ceda5bab31 Also add dark mode CSS to utils.c. 2024-02-03 07:36:17 +01:00
Florian Paul Azim Hoberg
fe892622d3 feature(favicon): Add favicon support (#107) 2024-01-28 08:09:44 +01:00
default
755d997fb1 Updated copyright year. 2024-01-04 09:22:03 +01:00
default
92fe93362c Also delete the user directory in deluser(). 2023-10-22 09:18:25 +02:00
default
0d78deef42 New function deluser(), to delete a user.
Only unfollows by now.
2023-10-22 09:00:37 +02:00
default
6cd3e76890 Added FastCGI support. 2023-10-17 20:02:08 +02:00
default
253e7f9eaa Don't allow creating users which user name strings only differ in case. 2023-10-13 06:33:12 +02:00
default
dfeb4668a7 Got rid of old d_char. 2023-08-31 07:00:15 +02:00
default
3f7e3c1d81 Unify the instance description text. 2023-08-14 18:02:20 +02:00
default
86571f37bb The instance URL can now show a timeline. 2023-08-14 11:24:41 +02:00
default
4c14a2e93c Sanitize local user names in the greeting page. 2023-08-14 09:32:17 +02:00
default
31048215f6 Added default CSS for Limit and Unlimit buttons. 2023-08-13 15:46:59 +02:00
default
3e5bb109d1 Renamed json dump functions to new xs spec. 2023-08-08 19:29:34 +02:00
default
f5a3dbf8d6 Use xs_json_dump_pp() wherever possible. 2023-08-03 09:02:08 +02:00
default
0f8c0cd694 Updated comment in headers. 2023-07-28 11:34:18 +02:00
default
52d3b5c8db Call fflush() after admin prompts without newlines. 2023-07-26 06:40:23 +02:00
default
ca0262f6b2 Updated CSS in utils.c. 2023-07-24 12:55:56 +02: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
b428386582 utils.c: Prompt does not need \n 2023-07-12 11:29:01 +07:00
default
baf557ba75 In adduser(), don't copy the system-wide css. 2023-06-26 09:02:34 +02:00
default
fafdbbf815 Replaced usage of random() with xs_rnd_buf(). 2023-06-05 18:29:25 +02:00
default
76aa8649b5 Fixed another CSS typo. 2023-06-01 10:11:09 +02:00
default
a5104752d4 Updated default css. 2023-06-01 09:20:20 +02:00
default
654e171b93 New macro ISO_DATE_SPEC. 2023-05-29 09:07:27 +02:00
default
970ad7a540 Got rid of xs_encdec.h. 2023-05-17 10:08:57 +02:00
default
de12b8d0a2 Fill the mastoapi instance contact_account field, if possible. 2023-05-08 10:13:43 +02:00
default
62447ef19e snac_init() now prompts for the admin_address. 2023-04-20 18:19:12 +02:00
default
7af3afaa4b The default greeting.html now include %admin_email%. 2023-04-20 18:16:10 +02:00
default
3ccf4e3759 arc4random() does not exist in not-so-old systems, so revert this.
Revert "Replaced random() with arc4random()."

This reverts commit f658f345ca.
2023-04-16 20:27:38 +02:00
default
f658f345ca Replaced random() with arc4random(). 2023-04-16 20:19:25 +02:00
default
b19c68622d Deleted OpenSSL that uses deprecated functions. 2023-04-01 03:56:37 +02:00
default
5e3c50d6e1 New inbox collection functions. 2023-03-02 08:43:50 +01:00
default
67f2d4318d New utility function mkdirx(). 2023-02-07 09:25:01 +01:00
default
392c5147a3 Ensure the setgid bit is set in the base directory. 2023-02-07 09:16:19 +01:00
default
fabe6a5006 Tweaked user and group permissions for new files and dirs. 2023-02-07 09:01:57 +01:00
default
ba4df29abd More symbol renaming. 2023-01-31 18:38:56 +01:00
default
74d30a561c Some symbol renaming. 2023-01-31 18:33:45 +01:00