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
default
55d3ef5024
Tags can now be searched for from the server base URL.
2023-11-08 09:20:34 +01:00
default
6cd3e76890
Added FastCGI support.
2023-10-17 20:02:08 +02:00
default
fbb773ae72
Backport from xs.
2023-10-14 10:04:40 +02:00
default
8524ace23f
Hide posts from the public web for accounts with 'private' == true.
2023-10-08 00:06:37 +02:00
default
5f5e4b587e
Backport from xs.
2023-09-23 22:02:52 +02:00
default
1d00c4ef66
The nodeinfo file returns more useful information.
2023-08-21 22:49:46 +02:00
default
26f2c40579
The hash 'more_headers' is added to the response HTTP headers.
2023-08-19 12:52:28 +02:00
default
86571f37bb
The instance URL can now show a timeline.
2023-08-14 11:24:41 +02:00
default
4c14a2e93c
Sanitize local user names in the greeting page.
2023-08-14 09:32:17 +02:00
default
07be3721c1
Some mastoapi tweaks to support the semaphore.social web client.
2023-08-12 21:46:54 +02:00
default
94149d262d
Archive unattended method errors.
2023-08-12 19:09:09 +02:00
default
0f8c0cd694
Updated comment in headers.
2023-07-28 11:34:18 +02:00
Yonle
25bb8f0dd2
Rollback to 86f507410b
for some reasons.
...
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-24 22:56:18 +07:00
Yonle
75e061a9f7
html.c & httpd.c: Fix hardlink.
...
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-24 19:42:20 +07:00
default
d343b40ee5
Added HTTP caching to static data.
2023-07-02 11:11:01 +02:00
default
2f3ed55790
The WWW-Authenticate real also includes the user.
2023-06-24 08:29:29 +02:00
default
3da32bd327
Fixed missing end quote in the WWW-Authenticate header.
2023-06-24 08:07:46 +02:00
default
7eb80e9916
Renamed the HTTP Basic auth realm to something more informative.
2023-06-18 19:34:35 +02:00
default
8c91956947
Replace an sprintf() with an snprintf().
2023-06-05 18:36:36 +02:00
default
65f5173c2a
Moved srv_running variable to httpd.c.
2023-06-05 18:18:50 +02:00
default
efec8a6eae
If sem_open() fails, try again with sem_init().
2023-05-25 17:20:21 +02:00
default
970ad7a540
Got rid of xs_encdec.h.
2023-05-17 10:08:57 +02:00
default
a15ec49a1d
Fixed conflict.
2023-05-09 17:22:31 +02:00
poesty
3bd83457d9
Fixed the issue of semaphore name conflicts.
2023-05-09 23:11:57 +08:00
default
920ff76297
Print the total running time at httpd stop.
2023-05-08 09:34:27 +02:00
default
6bad2355ef
Moved sem_close() further to the end.
2023-05-08 09:17:00 +02:00
default
2824ba5be3
Added some includes needed for last sem_open() / uintptr_t changes.
2023-05-07 17:58:11 +02:00
Saagar Jha
e25960c548
Fix pointer-to-int cast
...
Resolves "warning: performing pointer subtraction with a null pointer
has undefined behavior [-Wnull-pointer-subtraction]"
2023-05-07 04:19:37 -07:00
Saagar Jha
578c94ba69
Use named semaphores
...
Unnamed semaphores are not supported on macOS.
2023-05-07 04:18:30 -07:00
default
185aac2387
Added -Wextra to C flags.
2023-05-04 09:28:36 +02:00
default
753eadfd17
Added some const here and there.
2023-05-04 09:25:09 +02:00
default
997b17d854
Moved JSON output validation to httpd.c.
2023-04-23 15:37:09 +02:00
default
8804227798
New function mastoapi_put_handler().
2023-04-22 01:21:09 +02:00