summaryrefslogtreecommitdiff
path: root/httpd.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-11Support DELETE for Mastodon subscriptionsGravatar James Seward1-0/+8
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-10New command-line option 'state'.Gravatar default1-6/+75
2024-01-10Minor code cleaning.Gravatar default1-12/+2
2024-01-08New state variable top_job_fifo_size.Gravatar default1-0/+3
2024-01-08Renamed some thread states.Gravatar default1-2/+2
2024-01-08Added some state flags for threads.Gravatar default1-2/+14
2024-01-08Non-important variable renaming.Gravatar default1-34/+35
2024-01-08Rewritten part of the job threads to be leaner and faster.Gravatar default1-39/+45
2024-01-07Better behaviour on broken queue items.Gravatar default1-7/+13
2024-01-04Updated copyright year.Gravatar default1-1/+1
2024-01-03Moved most server state to a structure.Gravatar default1-35/+40
2023-12-29Minor tweaks to /.well-known/nodeinfo returned data.Gravatar default1-4/+4
2023-12-26Also log the job_fifo len in status.txt.Gravatar default1-12/+17
2023-12-26New page status.txt.Gravatar default1-2/+14
It just return an empty page as a query, but some status logging is done.
2023-12-18Added some crash checks.Gravatar default1-1/+1
2023-12-18Avoid crashing on missing 'method' or 'path' headers in httpd_connection().Gravatar default1-2/+7
2023-11-24Use xs_html in the static greeting page.Gravatar default1-13/+19
2023-11-08Added a tag argument to html_timeline().Gravatar default1-2/+2
2023-11-08Fixed 'show more' in tag search.Gravatar default1-8/+17
2023-11-08Tags can now be searched for from the server base URL.Gravatar default1-0/+15
2023-10-17Added FastCGI support.Gravatar default1-4/+18
2023-10-14Backport from xs.Gravatar default1-1/+1
2023-10-08Hide posts from the public web for accounts with 'private' == true.Gravatar default1-0/+3
2023-09-23Backport from xs.Gravatar default1-6/+6
2023-08-21The nodeinfo file returns more useful information.Gravatar default1-4/+28
2023-08-19The hash 'more_headers' is added to the response HTTP headers.Gravatar default1-0/+8
2023-08-14The instance URL can now show a timeline.Gravatar default1-1/+8
2023-08-14Sanitize local user names in the greeting page.Gravatar default1-46/+55
2023-08-12Some mastoapi tweaks to support the semaphore.social web client.Gravatar default1-4/+8
2023-08-12Archive unattended method errors.Gravatar default1-0/+1
2023-07-28Updated comment in headers.Gravatar default1-1/+1
2023-07-24Rollback to 86f507410bc5a1e6ce8bcd34f94400a380143d64 for some reasons.Gravatar Yonle1-1/+1
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-24html.c & httpd.c: Fix hardlink.Gravatar Yonle1-1/+1
Some people may still want to post in the web client with such different way, Such as posting from Yggdrasil / SSH port forwarder, and so on. This commit gives the workaround for that purpose, However things will go messed up when current path were ends with / (Like: user/, admin/). But overall, If user just uses it like normal, Then things will just worked well as expected. Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-02Added HTTP caching to static data.Gravatar default1-1/+5
2023-06-24The WWW-Authenticate real also includes the user.Gravatar default1-1/+3
2023-06-24Fixed missing end quote in the WWW-Authenticate header.Gravatar default1-1/+1
2023-06-18Renamed the HTTP Basic auth realm to something more informative.Gravatar default1-2/+4
2023-06-05Replace an sprintf() with an snprintf().Gravatar default1-1/+1
2023-06-05Moved srv_running variable to httpd.c.Gravatar default1-0/+1
2023-05-25If sem_open() fails, try again with sem_init().Gravatar default1-0/+13
2023-05-17Got rid of xs_encdec.h.Gravatar default1-1/+1
2023-05-09Fixed the issue of semaphore name conflicts.Gravatar poesty1-1/+4
2023-05-08Print the total running time at httpd stop.Gravatar default1-1/+5
2023-05-08Moved sem_close() further to the end.Gravatar default1-4/+2
2023-05-07Added some includes needed for last sem_open() / uintptr_t changes.Gravatar default1-0/+2
2023-05-07Fix pointer-to-int castGravatar Saagar Jha1-1/+1
Resolves "warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]"
2023-05-07Use named semaphoresGravatar Saagar Jha1-4/+8
Unnamed semaphores are not supported on macOS.
2023-05-04Added -Wextra to C flags.Gravatar default1-0/+6
2023-05-04Added some const here and there.Gravatar default1-1/+1
2023-04-23Moved JSON output validation to httpd.c.Gravatar default1-0/+10