Blob


1 2021-02-05 Omar Polo <op@omarpolo.com>
3 * iri.c (parse_query): don't %-decode the query part. This affects the value of QUERY_STRING for CGI scripts too, since that must be %-encoded and we're currently shipping it decoded.
5 2021-02-04 Omar Polo <op@omarpolo.com>
7 * gmid.c (main): reload configuration on SIGHUP, without disconnecting the clients
9 2021-02-02 Omar Polo <op@omarpolo.com>
11 * server.c (handle_dirlist_head): print the header in the directory listing
12 (open_file): cgi follows globbing rules, just like location and hostname matching
14 2021-02-01 Omar Polo <op@omarpolo.com>
16 * parse.y (servopt): require absolute paths in config file
18 2021-01-31 Omar Polo <op@omarpolo.com>
20 * gmid.c (main): cgi scripts now have only std{in,out,err} open
22 2021-01-30 Omar Polo <op@omarpolo.com>
24 * 1.5 tagged
25 * server.c: change precedence of location rules
27 2021-01-29 Omar Polo <op@omarpolo.com>
29 * iri.c (parse_authority): accept a wider range of unicode
30 codepoints while parsing the host name.
32 2021-01-26 Omar Polo <op@omarpolo.com>
34 * puny.c (puny_decode): initial punycode support!
36 2021-01-25 Omar Polo <op@omarpolo.com>
38 * gmid.1: manpage improvements (example and usage)
40 * gmid.c (main): Dropping -C, -K, -f, changing the meaning of -d:
41 now it's the certificate directory. Serve the directory given as
42 positional argument (or the current one) when running in
43 config-less mode.
44 (gen_certificate): automatically generate a certificate
46 * parse.y (option): added chroot and user options
48 2021-01-24 Omar Polo <op@omarpolo.com>
50 * server.c (open_dir): add directory listing (disabled by default)
52 * parse.y (vhost): added support for location blocks
54 * server.c (send_dir): make the directory index customizable
56 2021-01-23 Omar Polo <op@omarpolo.com>
58 * gg.c (main): added gg, a barebone gemini client. used by the
59 regress suite
61 2021-01-21 Omar Polo <op@omarpolo.com>
63 * configure: added a configure script
65 * server.c (handle_handshake): glob for vhost domain
67 * gmid.c (log_request): logs the full IRI and the response code (even for CGI)
69 2021-01-19 Omar Polo <op@omarpolo.com>
71 * parse.y (servopt): add "lang" server option
72 (servopt): moving "default type" from global options to server options
74 * Dockerfile: add a dockerfile
76 2021-01-18 Omar Polo <op@omarpolo.com>
78 * parse.y (option): add mime and "default type" options for media types.
80 2021-01-17 Omar Polo <op@omarpolo.com>
82 * sandbox.c (sandbox): added initial seccomp(2) support
84 2021-01-15 Omar Polo <op@omarpolo.com>
86 * cgi.c (start_cgi): set SERVER_NAME to the vhost when executing CGI scripts
88 * parse.y (option): add ability to specify the tls versions with "protocols"
90 * gmid.c (handle_open_conn): ensure the port number of the request matches
92 * sandbox.c (sandbox): sandbox on OpenBSD (pledge/unveil, as before) and on FreeBSD (capsicum) too
94 * sample.conf: added sample configuration
96 * gmid.c (main): changed behaviour: daemon off by default
97 (main): changed -c in -C (cert option)
98 (main): changed -k in -K (key option, for consistency with -C)
99 (main): added -c to load a configuration
100 (main): certs, key and doc (-C -K and -d) doesn't have a default value anymore
101 (handle_handshake): add vhosts support
103 2021-01-13 Omar Polo <op@omarpolo.com>
105 * iri.c (parse_scheme): normalize scheme while parsing, so we're
106 RFC3986 compliant.
108 2021-01-11 Omar Polo <op@omarpolo.com>
110 * 1.4 and 1.4.1 tagged
112 * gmid.c (main): ipv6 disabled by default and -6 flag to enable it
113 (handle): reject non-gemini protocols with 53
115 2021-01-10 Omar Polo <op@omarpolo.com>
117 * gmid.c (logs): log also the port of the client
118 (loop): accept both ipv4 and ipv6
120 2020-12-26 Omar Polo <op@omarpolo.com>
122 * uri.c (parse_uri): IRI support
124 2020-12-21 Omar Polo <op@omarpolo.com>
126 * gmid.c (main): -d supports relative paths
128 2020-12-02 Omar Polo <op@omarpolo.com>
130 * gmid.c: logging reworked and daemonize. The -l option was
131 removed: now it logs on syslog if -f (foreground) is not passed.
133 2020-11-18 Omar Polo <op@omarpolo.com>
135 * 1.3.2 tagged
137 * gmid.c (url_after_proto): fix bug introduced in last version
138 regarding full URLs with explicit gemini protocol.
140 * 1.3.1 tagged
142 * gmid.c (url_after_proto): correct url parsing: accept URLs
143 without explicit protocol
144 (url_start_of_request): correct handling of relative URLs
146 2020-11-17 Omar Polo <op@omarpolo.com>
148 * gmid.c (main): add flag -p to change the port
150 2020-11-10 Omar Polo <op@omarpolo.com>
152 * ChangeLog: 1.3 tagged, fixed ChangeLog format
154 * gmid.c (open_file): added support for path parameters for CGI
155 scripts
157 2020-11-06 Omar Polo <op@omarpolo.com>
159 * gmid.1: great improvements to the documentation
161 * gmid.c (url_after_proto): ensure that the requested protocol is
162 “gemini” and not something else that’s long 6 bytes.
164 * gmid.c (loop): added support for cgi scripts (can handle multiple
165 concurrently)
167 2020-11-06 Omar Polo <op@venera>
169 * gmid.1: added option to log to a file
171 2020-11-05 Omar Polo <op@omarpolo.com>
173 * gmid.c (filetypes): add MIME type for xml files
175 2020-11-03 Omar Polo <op@omarpolo.com>
177 * 1.2 tagged
179 * gmid.c (main): ignore SIGPIPE
181 2020-10-14 Omar Polo <op@omarpolo.com>
183 * 1.1 tagged
185 * switching to mmap() based file handling
187 2020-10-07 Omar Polo <op@omarpolo.com>
189 * 1.0 tagged