Commit Graph
182 Commits
Author SHA1 Message Date
default 02bc18eb11 Redefined L() to use lang_str(). 2025-02-14 10:04:46 +01:00
default 292b2fd122 Force the Content-Security-Policy header, instead of just suggesting it in the docs. 2025-02-13 19:44:21 +01:00
default f4fee170ce If 'def_timeline_entries' is not set, 'max_timeline_entries' is used (instead of the default). 2025-02-06 19:16:49 +01:00
Alexandre Oliva 8e1a2c5ff9 Merged 53ad5cdf0371fc068fa03bf287fc94be. 2025-02-06 09:04:36 +01:00
default 2611c816b0 Hide the 'relay' user from the greeting list. 2025-01-21 20:25:50 +01:00
default 4416e3a28a Fixed check for the basedir (contributed by an-im-dugud). 2025-01-20 18:37:21 +01:00
default 202d99c815 Added the USER_AGENT to HTTP errors. 2025-01-20 08:39:06 +01:00
default 04803b628b Changed Boost/Like order in the /authorize_interaction page. 2025-01-16 18:19:19 +01:00
default b993e26346 Implemented Mastodon-like /authorize_interaction. 2025-01-16 14:20:07 +01:00
default 932227bbac Bumped copyright year. 2025-01-08 16:59:14 +01:00
default f6e06be278 In the /share page, set the charset explicitly to utf-8. 2025-01-06 17:02:01 +01:00
default 17d7e0027a Use the site's CSS in the /share page. 2025-01-05 08:34:26 +01:00
default b7ab926c25 More /share tweaks. 2025-01-05 08:06:14 +01:00
default 7f2be13079 Serve BASE_URL/style.css.
I thought I was already doing this 🤦(not that it really matters much).
2025-01-02 07:27:48 +01:00
default 00079323cc Minor tweak to the /share webpoint. 2025-01-02 07:11:58 +01:00
default 7f6047268e The shared post is really sent. 2025-01-01 13:37:35 +01:00
default 33b6f2af00 More work in the Mastodon-share webpoint. 2024-12-31 17:42:33 +01:00
default 5c330660cd Started support for Mastodon-like /share endpoint. 2024-12-31 17:01:08 +01:00
default b9e0c6e742 Added pidfile locking. 2024-12-16 19:47:27 +01:00
default c6562fa39b New function timeline_link_header(). 2024-12-15 22:52:41 +01:00
default 876c892960 The server creates a pidfile inside the base directory. 2024-11-17 10:21:15 +01:00
default 0f8ade8c60 Propagate 'last-modified' and 'etag' fields while proxying.
But does it work?
2024-11-07 19:42:02 +01:00
default 7774a68f3f New HTML variable error (still unused). 2024-10-06 09:56:44 +02:00
default 972c3dc5d4 Added support for listening on unix sockets. 2024-08-05 06:01:21 +02:00
default e9b108a6e0 Minor logging tweaks. 2024-08-05 05:35:10 +02:00
default 428e573525 Minor tweak. 2024-06-20 17:38:02 +02:00
default 2e9e2ebd18 Don't return a Basic realm if there is no body. 2024-06-09 17:04:34 +02:00
default 66642bcbcc Improved OPTIONS method. 2024-05-31 18:34:50 +02:00
Louis Brauer 26fbda787d Translate status codes to canonical status texts
Use those in HTTP responses instead of "OK"/"ERROR".
Apps like Tokodon show only the status text in unexpected responses.
2024-05-27 19:01:04 +02:00
Louis Brauer 81cf309e4d Implement Mastodon PATCH endpoint for account profile updates 2024-05-27 12:24:17 +02:00
Louis Brauer 0e21d35e80 Use enum instead of numeric status codes for HTTP statuses 2024-05-26 21:45:41 +02:00
default 8cf7559a7e Added more const. 2024-05-23 10:01:37 +02:00
default ed973241f4 Another approach to disabling SHM. 2024-05-21 19:08:33 +02:00
default cdfaf6dc57 New compilation variable WITHOUT_SHM, to disable shared memory functions. 2024-05-21 18:57:13 +02:00
default 4777fc86cb Added const everywhere. 2024-05-21 14:12:15 +02:00
default 34311714ce User search can also be done by tag. 2024-05-15 05:57:21 +02:00
default 82ec4ea95c Minor "Back to top" "More..." link refactoring. 2024-05-07 20:32:13 +02:00
default ddd2af73bd Search by tag returns RSS if the appropriate header is defined. 2024-05-05 11:11:32 +02:00
default 29fb430797 More work in lists. 2024-04-29 09:26:37 +02:00
louis cf5718bf4d Prevent some browsers from caching servers basic auth request 2024-04-13 20:55:02 +02:00
default 7aa5250eb8 Backport from xs. 2024-03-15 04:10:11 +01:00
default 91bb0615d9 Replaced most xs_dict_iter() with xs_dict_next(). 2024-03-09 08:44:48 +01:00
default d4364e80f7 Added *another argument* to html_timeline() to select where posts are taken from.
This way, the /instance logged-in timeline can show posts that are not
really into a user's timeline.
2024-02-22 12:26:32 +01:00
default b40e71c11c Added a page argument to html_timeline(). 2024-02-21 08:09:57 +01:00
default 644138b2b9 Minor tweak to host-meta. 2024-01-30 08:09:43 +01:00
Paul Wilde 9568ec8bfe cleanup 2024-01-28 21:04:11 +00:00
Paul Wilde a88254b0a9 Merge branch 'master' of https://codeberg.org/pswilde/snac2 2024-01-28 20:56:48 +00:00
Paul Wilde 2965f1ede4 added host-meta endpoint for subwaytooter app 2024-01-26 16:42:20 +00:00
Paul Wilde 1060baa6ca added host-meta endpoint for subwaytooter app 2024-01-26 15:40:19 +00:00
default d85113bb1f Delay creating the shared memory struct after the socket is successfully created. 2024-01-21 06:14:51 +01:00