Commit Graph

31 Commits

Author SHA1 Message Date
nytpu 8737a9a254 Bump copyright years 2023-12-31 15:55:47 -07:00
nytpu dd430cd9bc Recognize MIME type used for JSON feeds v1.1
Reported by Michael Nordmeyer
2023-12-31 15:49:57 -07:00
Omar Polo a5a33a65f0 fix build: go-gopher migrated to another place 2021-10-24 19:55:06 -06:00
nytpu f9d8872260 add core.HistoryDays for variable history kept 2021-05-19 08:02:28 -06:00
nytpu 777cdf503b Fix missing function call 2021-05-11 15:29:23 -06:00
nytpu 4bddcf1f67 translate gopher.go 2021-05-11 15:19:18 -06:00
nytpu 45d04c35ac translate http.go 2021-05-11 15:19:08 -06:00
nytpu 21333c6085 translate gemini.go 2021-05-11 15:19:00 -06:00
nytpu 655a183999 translate fetch.go 2021-05-11 15:18:40 -06:00
nytpu ffe7a37c66 don't include entries older than one year 2021-04-19 09:48:08 -06:00
nytpu 686b851930 fix time zone issue 2021-04-17 14:55:59 -06:00
nytpu 41683edee4 relicense to AGPL 3.0 only 2021-03-26 11:10:04 -06:00
nytpu 76f25b7708 Fix bug in co refresh where contexts would be immediately cancelled 2021-03-23 08:53:06 -06:00
nytpu c6b0eedebe Use refresh timeout for http 2021-03-23 08:15:36 -06:00
nytpu 54e883a1d1 Use timeout for Gemini requests 2021-03-23 08:15:36 -06:00
nytpu db626e0c66 fix breaking dereference error in gopher fetch funcs 2021-03-18 17:02:26 -06:00
nytpu ee43bf1084 implement atom/rss/json feeds over gopher.
TODO: write gophermap->gemtext mapper so the same gemini feed parser can
be used on both.
2021-03-18 15:08:24 -06:00
nytpu 8dfb63e640 change http error messages to be consistent with others 2021-03-18 15:03:25 -06:00
nytpu 326edc97c5 add RefreshAll with workers 2021-03-18 13:43:22 -06:00
nytpu f8601b82ab Use strings for URLs internally for consistency. 2021-03-18 13:02:17 -06:00
nytpu 7d0600f5f0 improve gemini feed parsing by stripping off more characters from title 2021-03-18 11:37:32 -06:00
nytpu 6cf5ca01cf Changed url.URL to string so the json is less bloated 2021-03-18 11:36:57 -06:00
nytpu a3a427b9ee Refactor fetch functions to use new FullData.Insert{Feed,Page} funcs 2021-03-18 10:33:58 -06:00
nytpu 5ba676ed5d refactor fetch functions to insert into FullData 2021-03-18 10:19:07 -06:00
nytpu 9a22dd1b64 fix bug in newHTTPFeed 2021-03-17 09:04:05 -06:00
nytpu 6341c67574 add (stubbed) updateGopherFeed function 2021-03-17 09:04:05 -06:00
nytpu 795979e3bb add updateGopherPage function 2021-03-17 09:04:05 -06:00
nytpu e68ff691b8 add updateHTTPPage function 2021-03-17 09:02:02 -06:00
nytpu f9428c3e0e add updateGeminiPage and refactor newGeminiPage to use updateGeminiPage. 2021-03-17 09:02:02 -06:00
nytpu 09c1c4caab add general Update* in fetch.go
TODO: implement backend protocol functions
2021-03-17 08:48:16 -06:00
nytpu 07d85c0bfc implement New* routines for fetching and creating new feeds/pages.
Also includes routines for fetching gemini, http, and gopher resources.

TODO: add Update* routines to update existing feeds/pages.
2021-03-16 22:43:18 -06:00