Commit Graph

26 Commits

Author SHA1 Message Date
Robert Miles 748b6af882 Merge branch 'master' of https://tildegit.org/khuxkm/molniya 2021-10-06 23:29:51 +00:00
Robert Miles d08e12102e Add LICENSE
Per #2. I chose AGPL (over my usual choice of MIT) since I feel like this software isn't really useful outside of its Gemini context.
2021-10-06 23:29:46 +00:00
Robert Miles 4ce9455c02 Update publically available copies of Zenit and reindexer 2021-10-06 23:28:28 +00:00
Robert Miles eed2fa4ece Update index.gmi 2021-07-02 02:36:09 +00:00
Robert Miles d7c766c967 Add fix to reindexer 2021-07-02 02:35:34 +00:00
Robert Miles 405aea50e4 Verify certs, and prevent link items with no first space from crashing Zenit 2021-07-02 02:32:19 +00:00
Robert Miles e5471f66d3 Detect when multiple domains point to the same console 2021-07-02 02:28:58 +00:00
Robert Miles f720b2e549 Add logic for /users/username userdirs 2021-02-02 17:18:27 +00:00
Robert Miles da2ab023fe Temporarily swap out geminispace.info in place of GUS 2021-02-02 15:59:32 +00:00
Robert Miles 78b71b4d79 Ignore medusae 2021-02-02 15:57:31 +00:00
Robert Miles 42150f43ab Add reindexer 2021-02-02 15:55:39 +00:00
Robert Miles 3b0aa5b8a4 Add geddit instances to default capsule ignore list 2021-02-02 15:55:24 +00:00
Robert Miles 93c23714b6 Fix some crashes 2021-02-02 15:55:04 +00:00
Robert Miles d6fd5e5400 Add capsules_to_ignore list and functionality
The capsules_to_ignore.txt list functions as a way to prevent capsules that have the same content from being placed in the orbit more than once. We had an issue with LEO where cd.ax would send you to gemini.is, which had the same content as cd.ax, which inadvertantly meant that when you went to go on, you'd get sent to gemini.is again. To prevent this from happening, I'll try and manually traverse the orbit and find these automatic loops, and when I do, I'll add the responsible capsule to capsules_to_ignore.txt.
2020-11-18 00:27:31 +00:00
Robert Miles 7c33a822dc Fix next.cgi link 2020-11-18 00:25:28 +00:00
Robert Miles d31ff6a0ea Automatically retry index with trailing slash
I wasn't too clear about this originally but I'd like the URLs in the orbit to come with a trailing slash. In case someone left it off, we'll try adding it back.
2020-11-18 00:25:17 +00:00
Robert Miles 00aa59a067 Clarify instructions in index.gmi 2020-11-16 18:06:43 +00:00
Robert Miles dbcc342025 Well, this is awkward...
The logic for prev/rand/next URL is done entirely in the molniya.py lib. Everything is handled by the molniya lib, with the CGI pages just acting as a front-end to that.

So I wrote next.cgi, copied it over to prev and rand.cgi...

And forgot to change the method call.

Prev and rand links should now work as intended. My bad!
2020-11-16 18:00:08 +00:00
Robert Miles 09f3de2ff2 Add capsule to CAPSULES_IN_ORBIT when link is added to orbit
This prevents a capsule from getting more than one link in the orbit if it has multiple links indexed during the zenit run. (This happened with salejandro.me, and I fixed it manually, but this should prevent it from happening again.)
2020-11-16 17:53:19 +00:00
Robert Miles c7b4f51a80 Add GUS update frequency to README
Fixes #1. (Insomuch as an issue that's giving info can be "fixed".)
2020-11-15 16:59:58 +00:00
Robert Miles 18e0e03cb0 Also account for the See any missing results? link at the bottom of the page (in the case of no backlinks existing) 2020-11-15 04:19:38 +00:00
Robert Miles c976b94e89 I forgot about the links at the top of the page 2020-11-15 04:18:01 +00:00
Robert Miles fa957104a3 Fix reference links in README 2020-11-15 04:04:02 +00:00
Robert Miles ec039fb5d1 Randomize location in the orbit if the page linking to the orbit isn't in it yet 2020-11-15 03:56:37 +00:00
Robert Miles c133a300c2 Add contact email to index.gmi and also clarify something in the README 2020-11-15 03:49:08 +00:00
Robert Miles 469335d73a Initial code commit 2020-11-15 03:38:24 +00:00