Commit graph

59 commits

Author SHA1 Message Date
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
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
48ebc54b6e New command line option 'resetpwd'. 2022-12-04 21:26:24 +01:00
default
7787a2ded9 New function new_password(). 2022-12-04 21:14:18 +01:00
Alex Schroeder
e4c26715a1 Add an option to always show sensitive content
- add a cw key to user.json
- add a cw checkbox to user setup form
- handle the cw parameter when updating user setup
- when rendering an entry, look at the cw config: if set, use a h3
  heading for the summary; otherwise use details + summar + SENSITIVE
  CONTENT like before
2022-12-04 10:05:53 +01:00
default
fd2b1509a8 Don't create obsolete directories in adduser(). 2022-12-04 07:19:45 +01:00
default
3c95c8a7a3 Set default max_timeline_entries to 128. 2022-12-03 20:09:45 +01:00
default
6c6b5a30c4 Do hard links to objects in each user's public and private caches. 2022-11-25 17:26:12 +01:00
default
d215f8ce46 Use the new hide API. 2022-11-24 09:49:54 +01:00
default
b23c6d98b6 Don't create an actors/ subdirectory in add user. 2022-11-24 08:19:29 +01:00
default
3e3e091cdb New function db_upgrade(). 2022-11-23 13:32:23 +01:00