summaryrefslogtreecommitdiff
path: root/httpd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Support DELETE for Mastodon subscriptionsGravatar James Seward2024-01-111-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.
* New command-line option 'state'.Gravatar default2024-01-101-6/+75
|
* Minor code cleaning.Gravatar default2024-01-101-12/+2
|
* New state variable top_job_fifo_size.Gravatar default2024-01-081-0/+3
|
* Renamed some thread states.Gravatar default2024-01-081-2/+2
|
* Added some state flags for threads.Gravatar default2024-01-081-2/+14
|
* Non-important variable renaming.Gravatar default2024-01-081-34/+35
|
* Rewritten part of the job threads to be leaner and faster.Gravatar default2024-01-081-39/+45
|
* Better behaviour on broken queue items.Gravatar default2024-01-071-7/+13
|
* Updated copyright year.Gravatar default2024-01-041-1/+1
|
* Moved most server state to a structure.Gravatar default2024-01-031-35/+40
|
* Minor tweaks to /.well-known/nodeinfo returned data.Gravatar default2023-12-291-4/+4
|
* Also log the job_fifo len in status.txt.Gravatar default2023-12-261-12/+17
|
* New page status.txt.Gravatar default2023-12-261-2/+14
| | | | It just return an empty page as a query, but some status logging is done.
* Added some crash checks.Gravatar default2023-12-181-1/+1
|
* Avoid crashing on missing 'method' or 'path' headers in httpd_connection().Gravatar default2023-12-181-2/+7
|
* Use xs_html in the static greeting page.Gravatar default2023-11-241-13/+19
|
* Added a tag argument to html_timeline().Gravatar default2023-11-081-2/+2
|
* Fixed 'show more' in tag search.Gravatar default2023-11-081-8/+17
|
* Tags can now be searched for from the server base URL.Gravatar default2023-11-081-0/+15
|
* Added FastCGI support.Gravatar default2023-10-171-4/+18
|
* Backport from xs.Gravatar default2023-10-141-1/+1
|
* Hide posts from the public web for accounts with 'private' == true.Gravatar default2023-10-081-0/+3
|
* Backport from xs.Gravatar default2023-09-231-6/+6
|
* The nodeinfo file returns more useful information.Gravatar default2023-08-211-4/+28
|
* The hash 'more_headers' is added to the response HTTP headers.Gravatar default2023-08-191-0/+8
|
* The instance URL can now show a timeline.Gravatar default2023-08-141-1/+8
|
* Sanitize local user names in the greeting page.Gravatar default2023-08-141-46/+55
|
* Some mastoapi tweaks to support the semaphore.social web client.Gravatar default2023-08-121-4/+8
|
* Archive unattended method errors.Gravatar default2023-08-121-0/+1
|
* Updated comment in headers.Gravatar default2023-07-281-1/+1
|
* Rollback to 86f507410bc5a1e6ce8bcd34f94400a380143d64 for some reasons.Gravatar Yonle2023-07-241-1/+1
| | | | Signed-off-by: Yonle <yonle@lecturify.net>
* html.c & httpd.c: Fix hardlink.Gravatar Yonle2023-07-241-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>
* Added HTTP caching to static data.Gravatar default2023-07-021-1/+5
|
* The WWW-Authenticate real also includes the user.Gravatar default2023-06-241-1/+3
|
* Fixed missing end quote in the WWW-Authenticate header.Gravatar default2023-06-241-1/+1
|
* Renamed the HTTP Basic auth realm to something more informative.Gravatar default2023-06-181-2/+4
|
* Replace an sprintf() with an snprintf().Gravatar default2023-06-051-1/+1
|
* Moved srv_running variable to httpd.c.Gravatar default2023-06-051-0/+1
|
* If sem_open() fails, try again with sem_init().Gravatar default2023-05-251-0/+13
|
* Got rid of xs_encdec.h.Gravatar default2023-05-171-1/+1
|
* Fixed conflict.Gravatar default2023-05-091-1/+4
|\
| * Fixed the issue of semaphore name conflicts.Gravatar poesty2023-05-091-1/+4
| |
* | Print the total running time at httpd stop.Gravatar default2023-05-081-1/+5
|/
* Moved sem_close() further to the end.Gravatar default2023-05-081-4/+2
|
* Added some includes needed for last sem_open() / uintptr_t changes.Gravatar default2023-05-071-0/+2
|
* Fix pointer-to-int castGravatar Saagar Jha2023-05-071-1/+1
| | | | | Resolves "warning: performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]"
* Use named semaphoresGravatar Saagar Jha2023-05-071-4/+8
| | | | Unnamed semaphores are not supported on macOS.
* Added -Wextra to C flags.Gravatar default2023-05-041-0/+6
|
* Added some const here and there.Gravatar default2023-05-041-1/+1
|