c2c5440b21
fix: use `#pragma once' instead of guards
2022-12-25 01:03:02 +01:00
47e6204e08
fix(README.md): small nitpick (thanks random lainon)
2022-12-22 19:32:37 +01:00
40dfb78ef2
style(feuille.c): padding
2022-12-18 23:46:35 +01:00
bd471e4113
fix(README.md): cosmopolitan libc
2022-12-12 20:56:14 +01:00
67cbd21fc4
fix(README.md): broken link (again)
2022-12-12 20:55:15 +01:00
48c211fc64
fix(README.md): broken link
2022-12-12 20:54:21 +01:00
5c93649473
fix(Makefile): minor tweaks
2022-12-11 14:38:36 +01:00
fbcf5b1464
fix(Makefile): unzip -f flag
2022-12-11 12:55:24 +01:00
e5a16d5b36
fix(README.md): timeout
2022-12-11 02:16:50 +01:00
20fe93c3ca
feat(README.md): cosmopolitan libc "tutorial"
2022-12-11 02:14:51 +01:00
de2c58196c
fix(feuille.c): pledge if using cosmopolitan libc
2022-12-11 02:12:30 +01:00
0ccd538c97
style(Makefile): padding
2022-12-11 02:10:36 +01:00
16f516d6ce
feat: cosmopolitan libc support
...
Added support for cosmopolitan libc.
Simply do `make COSMO=yes` and you'll get feuille.com, a working
αcτµαlly pδrταblε εxεcµταblε pastebin server.
+ version bump.
2022-12-11 01:59:08 +01:00
63319d7525
fix(server.c): better dual-stack mode handling
2022-12-11 00:44:50 +01:00
3c356481e1
fix: remove useless newlines
2022-12-11 00:42:30 +01:00
fdbbd73010
fix(feuille.c): check validity of sockets in accept loop
2022-12-11 00:41:39 +01:00
3922c5cabb
style(README.md): line break
2022-12-03 18:55:38 +01:00
1d240b795a
fix(cgi/feuille.cgi.c): remove carriage returns and fix some code
2022-11-30 20:23:44 +01:00
bc03a56c75
style(LICENSE): fix word wrapping
2022-11-30 14:33:42 +01:00
b146e1a300
fix: remove `misc' folder and put the aliases in README.md
...
+ fix typo.
2022-11-30 13:43:09 +01:00
fdd0d73e77
fix(server.c): add newline only if there isn't one already
2022-11-29 16:06:27 +01:00
8764f00655
chore: update manpage
2022-11-29 14:47:35 +01:00
65ecf9d81a
fix: remove dynamic analysis debug flags
2022-11-29 14:32:29 +01:00
de702c9b58
fix(feuille.c): use {u,g}id_t instead of int for uid and gid
2022-11-29 14:31:29 +01:00
9f9a25237a
chore: update manpage
2022-11-29 14:28:35 +01:00
4b3b46e7ab
fix(feuille.c): initialize uid and gid to remove useless warnings
2022-11-29 14:28:16 +01:00
38b6f2ddc5
style(feuille.c): newline
2022-11-29 14:18:38 +01:00
c6f8f0e736
fix(bin.c): error check and paste size
2022-11-29 14:16:11 +01:00
8c30d271df
feat: use paste size instead of NULL byte in order to write the paste
...
Previously, the pastes were written to disk until feuille encountered
a NULL byte. This is now fixed.
+ version bump.
2022-11-29 13:57:11 +01:00
b61f5c4cae
chore: bump version
2022-11-29 13:31:14 +01:00
c69277655f
fix(feuille.c): error messages
2022-11-29 13:28:42 +01:00
47c337793d
fix(feuille.c): better root privileges drop and debug mode handling
2022-11-29 13:25:14 +01:00
7b5d3e82d6
feat(README.md): service tutorial
2022-11-29 12:00:32 +01:00
e4e889334a
fix(service/systemd): typo
2022-11-29 11:48:58 +01:00
1b7b78d9ca
feat: service files
2022-11-29 11:45:59 +01:00
f3fbb4c77f
feat(feuille.c): handle children exit codes
2022-11-29 11:30:29 +01:00
1694929221
fix(feuille.c): reorganize some of its code
2022-11-29 11:07:49 +01:00
4894825dac
fix(feuille.c): documentation (x2)
2022-11-29 10:54:07 +01:00
741800f7f3
fix(feuille.c): documentation
2022-11-29 10:53:11 +01:00
9e011de4ab
style(server.c): comment
2022-11-29 10:50:16 +01:00
00e6fe5582
feat(feuille.c): accept_loop, better DEBUG mode, some style fixes
2022-11-29 10:49:39 +01:00
2ed08dc596
feat(config.mk): add DEBUG flag to build options
2022-11-29 10:39:14 +01:00
bf42903592
feat(feuille.c): do not create thread pool if in DEBUG mode
...
Will be useful when a batch of static/dynamic analysis tools will
check feuille's code.
2022-11-29 10:38:04 +01:00
43be904636
style: macros indentations (again)
2022-11-29 10:33:15 +01:00
46d7d4bff3
style(server.c): macros indentation
2022-11-29 10:30:57 +01:00
bb9a60b240
style(feuille.c): minor padding fix
2022-11-29 10:28:56 +01:00
5ba58b1bd7
feat: reduce timeout, max file size, and use more workers by default
2022-11-29 10:27:56 +01:00
955c840ba4
fix(server.c): add <syslog.h> header
2022-11-28 20:37:48 +01:00
4867ff3468
chore: update headers
2022-11-28 20:36:41 +01:00
7c796a567f
fix(.gitignore): remove .clangd from ignored files
2022-11-28 20:31:30 +01:00