Commit Graph

900 Commits

Author SHA1 Message Date
Omar Polo a555e0d67b copyright years 2022-07-04 09:48:39 +00:00
Omar Polo cb2b85512c add proper copyrights
was a mistake on my part and a leftover from the first iterations.
Initially I only stole a few bits, that's why the comment but not the
copyright, but then i threwed out and restarted using oconfigure.
Then the configure script has its own independent changes, but need to
give attribution nevertheless.
2022-07-04 09:43:51 +00:00
Omar Polo 617ae38546 add some more regress for the encodings 2022-07-04 09:36:55 +00:00
Omar Polo 475205fa0f check for the expected page in test_auto_index
not just the number of lines, check the full page!
2022-07-04 09:36:31 +00:00
Omar Polo ddd3c5529f sync 2022-07-04 09:32:02 +00:00
Omar Polo f2f8eb35c8 encode file names in the directory index
Spotted the hard way by cage
2022-07-04 09:31:36 +00:00
Omar Polo 3bd4a6dea0 log when it fails to open a file because of permissions 2022-07-04 08:25:15 +00:00
Omar Polo df40c96931 changelog 2022-07-04 08:15:45 +00:00
Omar Polo 5e41063f1b bugfix: allow @ and : in paths
gmid would disallow the '@' and ':' characters in paths (unless
percent-encoded.)  Issue reported by freezr.
2022-07-04 08:15:39 +00:00
Omar Polo df9b379081 remove mentions of GPG, I stopped signing with it for a while already 2022-05-02 18:48:40 +00:00
Omar Polo db48d276a7 tweaks 2022-05-02 17:48:55 +00:00
Omar Polo 7b27af8388 log when the certificate was successfully generated 2022-04-12 17:40:58 +00:00
Omar Polo 2962200607 there are no aarch64 binaries currently 2022-04-08 16:40:18 +00:00
Omar Polo 48589d9de9 move the preview to github (temporarly) 2022-04-08 16:40:18 +00:00
Omar Polo 60d8851fec typos 2022-04-08 16:40:18 +00:00
Omar Polo bc70003f93 wording 2022-04-08 16:40:18 +00:00
Omar Polo 8addd12c1a don't need to re-exec ./configure && make 2022-04-08 16:36:25 +00:00
Omar Polo b6c093c99a bundle a copy of /usr/share/misc/mime.types 2022-04-08 15:50:53 +00:00
Omar Polo 5c4e8e97bd wording 2022-04-08 15:45:46 +00:00
Omar Polo 93cab6dc78 document the implicit mapping for text/gemini
and remove the explicit mapping from the documentation and test files.
2022-04-08 15:36:59 +00:00
Omar Polo 6d362b3556 revise changelog 2022-04-08 15:26:16 +00:00
Omar Polo 8fb0df4d79 hardcode the mapping text/gemini -> .gmi/.gemini
It's still possible to override this automatic mapping by just adding
an entry like

	application/octet-stream	gemini gmi

in the `types' block.
2022-04-08 15:25:50 +00:00
Omar Polo 99a95569a4 sync 2022-04-08 15:14:21 +00:00
Omar Polo 18bd83915e sort the MIME mappings and do a binary search to match 2022-04-08 15:14:09 +00:00
Omar Polo ca44613693 tweaks 2022-04-08 14:19:58 +00:00
Omar Polo 5eb842cd1f rework the 'running gmid as a daemon' example a bit 2022-04-08 14:08:33 +00:00
Omar Polo 5f03bf170f document the `types' behavior 2022-04-08 14:01:26 +00:00
Omar Polo 16c391a063 add an entry for text/gemini in the `types' example
if using `types' the internal listing is not used, so show how to add
the entries for text/gemini when using /usr/share/misc/mime.types.
2022-04-08 13:59:20 +00:00
Omar Polo fde8750859 fix test_include_mime after `types' change 2022-04-08 13:52:48 +00:00
Omar Polo 54203115cd don't load the built-in list when using `types' 2022-04-08 13:52:35 +00:00
Omar Polo 9b64995359 wrong email... 2022-04-08 13:45:33 +00:00
Omar Polo 1d6cbdd0df sync 2022-04-08 13:45:26 +00:00
Omar Polo d8d170aa5e allow add_mime to fail
add_mime nows allocate dinamically copies of the passed strings, so
that we can actually free what we parse from the config file.

This matters a lot especially with lengthy `types' block: strings that
reach the internal mapping are never free'd, so every manual addition
is leaked.
2022-04-08 13:44:49 +00:00
Omar Polo aa6b8cf8ac +jpeg 2022-04-08 13:33:05 +00:00
Omar Polo 72e7fbbcb7 master is now 1.8.3-current 2022-04-07 18:10:13 +00:00
Omar Polo 8036523fff add forgotten entries 2022-04-07 18:04:50 +00:00
Omar Polo f731e4a781 update changelog 2022-04-07 17:59:25 +00:00
Omar Polo 19243c768e link gmid.conf.5 in the capsule/website too 2022-04-07 17:56:27 +00:00
Omar Polo bf2850b938 install gmid.conf.5 too 2022-04-07 17:51:26 +00:00
Omar Polo 1595c277ef move the documentation of the config file into gmid.conf.5 2022-04-07 17:50:37 +00:00
Omar Polo 9bcc265f58 lowercase FAQ -- all the other links are in lowercase 2022-04-07 16:29:22 +00:00
Omar Polo ce264ddc58 rename the quickstart page to guide in the navbar
it occupies less horizontal space which avoids the wrapping on (some) mobiles
2022-04-07 16:27:57 +00:00
Omar Polo 445816c2cd add the FAQ page finally! 2022-04-07 16:27:16 +00:00
Omar Polo ffd92e638c tweak the quickstart guide a bit 2022-04-07 16:26:48 +00:00
Omar Polo 9448a01fdb use the types block instead of `map' in the tests too 2022-04-07 16:21:56 +00:00
Omar Polo 6468868fee print a deprecation message for the map rule 2022-04-07 16:15:55 +00:00
Omar Polo 4ee085938f don't mention the `map' rule anymore: `types' is way better 2022-04-07 16:12:58 +00:00
Omar Polo 381fccdc56 lower padding 2022-04-07 16:01:55 +00:00
Omar Polo a9885c6d6b remove outdated note 2022-04-07 12:31:00 +00:00
Omar Polo effbc069ba suggest to reload daemons too 2022-04-07 12:29:04 +00:00