Blob


1 2021-01-25 Omar Polo <op@omarpolo.com>
3 * gmid.1: manpage improvements (example and usage)
5 * gmid.c (main): Dropping -C, -K, -f, changing the meaning of -d:
6 now it's the certificate directory. Serve the directory given as
7 positional argument (or the current one) when running in
8 config-less mode.
9 (gen_certificate): automatically generate a certificate
11 * parse.y (option): added chroot and user options
13 2021-01-24 Omar Polo <op@omarpolo.com>
15 * server.c (open_dir): add directory listing (disabled by default)
17 * parse.y (vhost): added support for location blocks
19 * server.c (send_dir): make the directory index customizable
21 2021-01-23 Omar Polo <op@omarpolo.com>
23 * gg.c (main): added gg, a barebone gemini client. used by the
24 regress suite
26 2021-01-21 Omar Polo <op@omarpolo.com>
28 * configure: added a configure script
30 * server.c (handle_handshake): glob for vhost domain
32 * gmid.c (log_request): logs the full IRI and the response code (even for CGI)
34 2021-01-19 Omar Polo <op@omarpolo.com>
36 * parse.y (servopt): add "lang" server option
37 (servopt): moving "default type" from global options to server options
39 * Dockerfile: add a dockerfile
41 2021-01-18 Omar Polo <op@omarpolo.com>
43 * parse.y (option): add mime and "default type" options for media types.
45 2021-01-17 Omar Polo <op@omarpolo.com>
47 * sandbox.c (sandbox): added initial seccomp(2) support
49 2021-01-15 Omar Polo <op@omarpolo.com>
51 * cgi.c (start_cgi): set SERVER_NAME to the vhost when executing CGI scripts
53 * parse.y (option): add ability to specify the tls versions with "protocols"
55 * gmid.c (handle_open_conn): ensure the port number of the request matches
57 * sandbox.c (sandbox): sandbox on OpenBSD (pledge/unveil, as before) and on FreeBSD (capsicum) too
59 * sample.conf: added sample configuration
61 * gmid.c (main): changed behaviour: daemon off by default
62 (main): changed -c in -C (cert option)
63 (main): changed -k in -K (key option, for consistency with -C)
64 (main): added -c to load a configuration
65 (main): certs, key and doc (-C -K and -d) doesn't have a default value anymore
66 (handle_handshake): add vhosts support
68 2021-01-13 Omar Polo <op@omarpolo.com>
70 * iri.c (parse_scheme): normalize scheme while parsing, so we're
71 RFC3986 compliant.
73 2021-01-11 Omar Polo <op@omarpolo.com>
75 * 1.4 and 1.4.1 tagged
77 * gmid.c (main): ipv6 disabled by default and -6 flag to enable it
78 (handle): reject non-gemini protocols with 53
80 2021-01-10 Omar Polo <op@omarpolo.com>
82 * gmid.c (logs): log also the port of the client
83 (loop): accept both ipv4 and ipv6
85 2020-12-26 Omar Polo <op@omarpolo.com>
87 * uri.c (parse_uri): IRI support
89 2020-12-21 Omar Polo <op@omarpolo.com>
91 * gmid.c (main): -d supports relative paths
93 2020-12-02 Omar Polo <op@omarpolo.com>
95 * gmid.c: logging reworked and daemonize. The -l option was
96 removed: now it logs on syslog if -f (foreground) is not passed.
98 2020-11-18 Omar Polo <op@omarpolo.com>
100 * 1.3.2 tagged
102 * gmid.c (url_after_proto): fix bug introduced in last version
103 regarding full URLs with explicit gemini protocol.
105 * 1.3.1 tagged
107 * gmid.c (url_after_proto): correct url parsing: accept URLs
108 without explicit protocol
109 (url_start_of_request): correct handling of relative URLs
111 2020-11-17 Omar Polo <op@omarpolo.com>
113 * gmid.c (main): add flag -p to change the port
115 2020-11-10 Omar Polo <op@omarpolo.com>
117 * ChangeLog: 1.3 tagged, fixed ChangeLog format
119 * gmid.c (open_file): added support for path parameters for CGI
120 scripts
122 2020-11-06 Omar Polo <op@omarpolo.com>
124 * gmid.1: great improvements to the documentation
126 * gmid.c (url_after_proto): ensure that the requested protocol is
127 “gemini” and not something else that’s long 6 bytes.
129 * gmid.c (loop): added support for cgi scripts (can handle multiple
130 concurrently)
132 2020-11-06 Omar Polo <op@venera>
134 * gmid.1: added option to log to a file
136 2020-11-05 Omar Polo <op@omarpolo.com>
138 * gmid.c (filetypes): add MIME type for xml files
140 2020-11-03 Omar Polo <op@omarpolo.com>
142 * 1.2 tagged
144 * gmid.c (main): ignore SIGPIPE
146 2020-10-14 Omar Polo <op@omarpolo.com>
148 * 1.1 tagged
150 * switching to mmap() based file handling
152 2020-10-07 Omar Polo <op@omarpolo.com>
154 * 1.0 tagged