Commit graph

79 commits

Author SHA1 Message Date
Solene Rapenne
345215fa9b Code refactoring: get_file_mime got into mime.c and all security code moved into a procedure 2020-12-04 19:08:36 +01:00
Solene Rapenne
e03ed1ca2b Document exit status in man page 2020-12-04 18:57:15 +01:00
Solene Rapenne
e9c3945ede Add syslog messages 2020-12-04 18:55:31 +01:00
Solene Rapenne
fde0939d77 Remove chroot() from TODO because it's done 2020-12-03 23:03:48 +01:00
Solene Rapenne
a05fdee016 Remove database iterator, no longer useful after the MIME database change. Proposed by oa. 2020-12-03 23:03:08 +01:00
Solene Rapenne
b3bb3b2f91 Add chroot() feature 2020-12-03 22:59:39 +01:00
Solene Rapenne
f00fb88c62 Documentation improvements 2020-12-03 22:18:26 +01:00
Solene Rapenne
03122f78bd Tell about the language change parameter 2020-12-03 22:08:29 +01:00
Solene Rapenne
7b0ae577c6 Adding missing test files 2020-12-03 22:06:48 +01:00
Solene Rapenne
d3b69329ad Document the default index.gmi if no file is requested 2020-12-03 22:02:16 +01:00
Solene Rapenne
7fcb978bc5 Use hostname.example from RFC2606 2020-12-03 21:59:22 +01:00
Solene Rapenne
493302530b Update TODO list in README.md 2020-12-03 21:41:29 +01:00
Solene Rapenne
aa3b495dbf Add manual page 2020-12-03 21:40:16 +01:00
Solene Rapenne
2cf92e196c Move the license from the code to dedicated LICENSE file 2020-12-03 21:22:22 +01:00
Solene Rapenne
c399161f7a Also clean .core files in the clean target 2020-12-03 21:06:28 +01:00
Solene Rapenne
cbcf526d76 Make the MIME database as a global variable, it's a lot more cleaner. (thanks to oa for recommendation) 2020-12-03 21:06:17 +01:00
Solene Rapenne
b052105b2b Move install target below so it's not a default make target 2020-12-02 20:02:07 +01:00
Solene Rapenne
64912e9f6e Update the documentation about MIME 2020-12-02 20:00:14 +01:00
Solene Rapenne
1e0bb0368c Add MIME support + according tests 2020-12-02 19:59:52 +01:00
Solene Rapenne
dd201d73d9 Add a flag to change the default language in the return status code 2020-12-02 18:07:10 +01:00
Solene Rapenne
7575537b6e Add install target with customizable PREFIX 2020-12-02 18:06:45 +01:00
Solene Rapenne
615079e26c Add virtualhost features with a flag + according tests 2020-12-02 15:31:21 +01:00
Solene Rapenne
24aa4ba284 run OpenBSDindent(1) to fix coding style 2020-12-02 13:32:39 +01:00
Solene Rapenne
25977754ac Fix the License name, it's BSD2 and not MIT 2020-12-02 13:29:21 +01:00
Solene Rapenne
0dc203c8c6 Fix git clone url 2020-12-02 00:01:32 +01:00
Solene Rapenne
0c2b3737ea don't try /var/gemini tests if directory doesn't exists 2020-12-01 23:55:54 +01:00
Solene Rapenne
06ee27cb29 Add README.md 2020-12-01 23:55:37 +01:00
Solene Rapenne
ddb799c866 Add ifdef OpenBSD for pledge/unveil, so it should compile on other OSes 2020-12-01 23:41:55 +01:00
Solene Rapenne
c2d813c0f1 Init vger 2020-12-01 23:39:05 +01:00