Commit Graph

35 Commits

Author SHA1 Message Date
nytpu 51abebb663 don't overwrite old title when updating page 2021-04-19 10:40:33 -06:00
nytpu fd2667cb9f move Version and Commit to core 2021-04-19 10:16:20 -06:00
nytpu ffe7a37c66 don't include entries older than one year 2021-04-19 09:48:08 -06:00
nytpu 41683edee4 relicense to AGPL 3.0 only 2021-03-26 11:10:04 -06:00
nytpu c3059d57d8 add time zone to feed.gmi 2021-03-23 09:28:58 -06:00
nytpu 2cd16124f8 add timeout flag to refresh 2021-03-23 08:15:36 -06:00
nytpu d3d181e8fa Show time that was generated 2021-03-22 08:20:21 -06:00
nytpu 413c63149f Use custom header when writing feed.gmi 2021-03-22 08:20:06 -06:00
nytpu 8d9892b0a1 read header.gmi and set header variable to that or to the default 2021-03-22 08:19:41 -06:00
nytpu 3081d41758 don't overwrite title when updating feed 2021-03-21 09:20:14 -06:00
nytpu 69a7ab13ff Remove usages of io.ReadFile and os.WriteFile to be compatible with 1.15 2021-03-21 07:36:04 -06:00
nytpu 379a8637a4 fix minor issue in edge case where FeedLink doesn't exist 2021-03-20 11:54:36 -06:00
nytpu 71f087b2ad fix breaking bug when parsing atom/rss feeds 2021-03-20 09:59:55 -06:00
nytpu d4ca695043 add footer to page to be agpl compliant 2021-03-19 17:16:52 -06:00
nytpu 2974c5413c remove list command and instead write "subscriptions.gmi" & "feed.gmi" 2021-03-19 08:29:44 -06:00
nytpu b4d303e24e Write subscriptions 2021-03-18 16:28:02 -06:00
nytpu c3f5f7c682 stop using ioutil 2021-03-18 16:10:37 -06:00
nytpu 77982cb60e add Export function to core.FullData 2021-03-18 15:01:25 -06:00
nytpu d0a71b360d first write to .new then move after finishing writing to prevent data corruption 2021-03-18 14:50:40 -06:00
nytpu 364e8fbc21 fix null dereference when getting old title 2021-03-18 13:34:02 -06:00
nytpu f8601b82ab Use strings for URLs internally for consistency. 2021-03-18 13:02:17 -06:00
nytpu e9ade7f33f ignore mutexes in json output/input 2021-03-18 11:41:13 -06:00
nytpu df2e3bfa02 fix nil pointer error in GofeedConvert 2021-03-18 11:37:12 -06:00
nytpu 6cf5ca01cf Changed url.URL to string so the json is less bloated 2021-03-18 11:36:57 -06:00
nytpu 853993cdd6 add method to write structs to disk 2021-03-18 11:08:23 -06:00
nytpu 0441fc9349 Implement Insert{Feed,Page} on FullData for easy insertions 2021-03-18 10:33:26 -06:00
nytpu 3b26eb9863 fix several typos throughout core 2021-03-18 10:32:10 -06:00
nytpu e1a5c68ec7 add init for global FullData 2021-03-18 10:18:54 -06:00
nytpu 593c1288bc resolve XXX question introduced by e42ebd8 2021-03-17 11:24:24 -06:00
nytpu 8426bb6494 make jsonData public 2021-03-17 09:38:41 -06:00
nytpu e42ebd8171 add XXX to core.JsonData mutex 2021-03-17 09:37:41 -06:00
nytpu 5c735b4ce0 improve documentation for PageEntries functions 2021-03-17 09:16:19 -06:00
nytpu 521b162007 implement sort.Interface for core.Feed 2021-03-17 09:16:19 -06:00
nytpu 1389fc8d6e fix comment and update readme 2021-03-17 08:41:42 -06:00
nytpu f6313f4465 implement core package with structs, etc. 2021-03-16 22:42:51 -06:00