1
0
Fork 0
mirror of https://git.sr.ht/~yotam/shavit synced 2024-05-09 15:36:02 +02:00
Commit Graph

25 Commits

Author SHA1 Message Date
Yotam Nachum 129b3e7fc7 Remove executable content support 2020-03-14 12:59:10 +02:00
Yotam Nachum 3a9ce46566 Add an option to toggle execution feature 2019-12-20 20:54:53 +02:00
Yotam Nachum 770c42463e Execute requested file if it's executable
This is only an MVP for this feature. The executable can't set the
status and meta of the response and the whole response body must fit in
memory.
2019-12-20 19:24:42 +02:00
Yotam Nachum a886a14964 Add systemd service file 2019-12-20 18:37:55 +02:00
Yotam Nachum 73501365f5 Change name in build.yml to shavit 2019-12-07 17:36:32 +02:00
Yotam Nachum 3406499b0e Ignore new name binary output 2019-12-07 15:53:24 +02:00
Yotam Nachum 7316ce78a2 Give the project a proper name 2019-12-07 11:50:58 +02:00
Yotam Nachum 0490a6a0ff Validate request scheme 2019-12-07 11:34:41 +02:00
Yotam Nachum 177da57e0a Add custom index file name 2019-12-06 22:32:44 +02:00
Yotam Nachum 77b27a02f2 Handle error from AddExtensionType 2019-12-06 21:28:38 +02:00
Yotam Nachum bbc61ff2a9 Recover from panics in the main handler 2019-12-06 21:22:18 +02:00
Yotam Nachum b612902e77 Refactor main handler 2019-12-06 21:22:18 +02:00
Yotam Nachum 60344f6707 Return the correct mime in response header 2019-11-23 22:23:11 +02:00
Yotam Nachum fbba58af84 Switch to correct gemini file extension 2019-11-23 22:18:28 +02:00
Yotam Nachum 84a7795be4 Add a README to explain how to use the server 2019-11-22 17:34:34 +02:00
Yotam Nachum 6f79975ce1 Add more tools to CI linting 2019-11-22 17:28:19 +02:00
Yotam Nachum f93ea2f984 Add an option to specify custom config file 2019-11-22 16:25:47 +02:00
Yotam Nachum fe7db5a3ec Move GeminiError and ErrorResponse to go-gemini 2019-11-09 22:30:59 +02:00
Yotam Nachum 56b1971e99 Move logic into configuration parsing 2019-11-09 22:05:48 +02:00
Yotam Nachum 6318908fbc Add CI with linting, testing and annotations 2019-11-09 16:15:32 +02:00
Yotam Nachum 46f84de73a Fix go vet and go lint warnings 2019-11-02 14:51:43 +02:00
Yotam Nachum 801060d3ae Add a license (AGPLv3) 2019-11-01 17:30:30 +02:00
Yotam Nachum 3fbc877dda Add logging for requests 2019-11-01 13:40:08 +02:00
Yotam Nachum 89276ae650 Add support for index file 2019-11-01 13:29:44 +02:00
Yotam Nachum 24a8642761 Initial commit 2019-11-01 13:04:47 +02:00