summaryrefslogtreecommitdiff
path: root/utils.c
AgeCommit message (Collapse)Author
2024-08-05Add support to unix sockets in snac_init().default
2024-05-31Add class .snac-announcement into utils.default
2024-05-23Added more const.default
2024-05-21Added const everywhere.default
2024-05-09Set avatars and custom emoji as square (fixes display in Dillo)Kelson Vibber
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-04-22Added queue timeout tweaks to default server.json.default
2024-04-19Added the default 'protocol' field to 'server.json'.default
2024-03-09Replaced most xs_dict_iter() with xs_dict_next().default
2024-02-24default css: also darken <input> and <textarea>Yonle
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-22utils.c: *default_srv_config: add configuration for min_account_ageYonle
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-22utils.c: *default_srv_config: change max_timeline_entries default to 50Yonle
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-22Also apply 1em patch to utils.c.default
2024-02-20The link verification time is stored as a time_t.default
This way, it will be easier in an eventual future to test if a link verification is too old to be trusted.
2024-02-16Fixed crash in verify_links().default
2024-02-16Added 'accept' and 'user-agent' headers to verify_links().default
2024-02-16More verify link logging.default
2024-02-15New function verify_links().default
2024-02-03Also add dark mode CSS to utils.c.default
2024-01-28feature(favicon): Add favicon support (#107)Florian Paul Azim Hoberg
2024-01-04Updated copyright year.default
2023-10-22Also delete the user directory in deluser().default
2023-10-22New function deluser(), to delete a user.default
Only unfollows by now.
2023-10-17Added FastCGI support.default
2023-10-13Don't allow creating users which user name strings only differ in case.default
2023-08-31Got rid of old d_char.default
2023-08-14Unify the instance description text.default
2023-08-14The instance URL can now show a timeline.default
2023-08-14Sanitize local user names in the greeting page.default
2023-08-13Added default CSS for Limit and Unlimit buttons.default
2023-08-08Renamed json dump functions to new xs spec.default
2023-08-03Use xs_json_dump_pp() wherever possible.default
2023-07-28Updated comment in headers.default
2023-07-26Call fflush() after admin prompts without newlines.default
2023-07-24Updated CSS in utils.c.default
2023-07-15utils.c: "User id" does not need "\n".Yonle
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-12utils.c: Prompt does not need \nYonle
2023-06-26In adduser(), don't copy the system-wide css.default
2023-06-05Replaced usage of random() with xs_rnd_buf().default
2023-06-01Fixed another CSS typo.default
2023-06-01Updated default css.default
2023-05-29New macro ISO_DATE_SPEC.default
2023-05-17Got rid of xs_encdec.h.default
2023-05-08Fill the mastoapi instance contact_account field, if possible.default
2023-04-20snac_init() now prompts for the admin_address.default
2023-04-20The default greeting.html now include %admin_email%.default
2023-04-16arc4random() does not exist in not-so-old systems, so revert this.default
Revert "Replaced random() with arc4random()." This reverts commit f658f345cac7b24d6fa61f08b4ec09823d28b11a.
2023-04-16Replaced random() with arc4random().default
2023-04-01Deleted OpenSSL that uses deprecated functions.default
2023-03-02New inbox collection functions.default
2023-02-07New utility function mkdirx().default