Commit graph

163 commits

Author SHA1 Message Date
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
James Seward
c3fb6bab77 Support DELETE for Mastodon subscriptions
While testing Mona, I noticed that after deleting my account entry for
my snac server, Mona would repeatedly try to delete the subscription it
thought it had created, resulting in many unhandled DELETE calls.

This accepts the call and returns 200 for it, which makes Mona happy.
2024-01-11 13:38:08 +00:00
default
fdb32864aa New command-line option 'state'. 2024-01-10 19:37:40 +01:00
default
06302c6451 Minor code cleaning. 2024-01-10 09:16:40 +01:00
default
d05399986d New state variable top_job_fifo_size. 2024-01-08 09:17:38 +01:00
default
62b2c2838c Renamed some thread states. 2024-01-08 08:50:40 +01:00
default
b401cd23ff Added some state flags for threads. 2024-01-08 08:38:25 +01:00
default
0289860d04 Non-important variable renaming. 2024-01-08 08:21:22 +01:00
default
93e7138e53 Rewritten part of the job threads to be leaner and faster. 2024-01-08 08:10:57 +01:00
default
aa1524be71 Better behaviour on broken queue items. 2024-01-07 11:13:59 +01:00
default
755d997fb1 Updated copyright year. 2024-01-04 09:22:03 +01:00
default
e003f87c2d Moved most server state to a structure. 2024-01-03 11:01:25 +01:00
default
b31abde6bd Minor tweaks to /.well-known/nodeinfo returned data. 2023-12-29 10:58:21 +01:00
default
94a6274a46 Also log the job_fifo len in status.txt. 2023-12-26 18:28:43 +01:00
default
e8b94c1773 New page status.txt.
It just return an empty page as a query, but some status logging is done.
2023-12-26 10:41:55 +01:00
default
be3e5c9618 Added some crash checks. 2023-12-18 13:24:07 +01:00
default
195c21ab2e Avoid crashing on missing 'method' or 'path' headers in httpd_connection(). 2023-12-18 09:35:22 +01:00
default
f4633b9356 Use xs_html in the static greeting page. 2023-11-24 00:05:45 +01:00
default
8417a80fec Added a tag argument to html_timeline(). 2023-11-08 10:14:56 +01:00
default
7787fc7d32 Fixed 'show more' in tag search. 2023-11-08 09:43:49 +01:00