Commit Graph

17 Commits

Author SHA1 Message Date
nytpu 8800510758 translate core.go 2021-05-11 15:19:38 -06:00
nytpu d369236fad add TranslateStringLocalizer() and improve core.go documentation 2021-05-11 15:17:08 -06:00
nytpu bb3cffdb37 translate strings in core.go 2021-05-11 12:33:34 -06:00
nytpu 9bbbc4557c add TranslateString() utility function 2021-05-11 12:32:41 -06:00
nytpu 4d23da8c38 add core.Localizer 2021-05-11 11:22:17 -06:00
nytpu 41683edee4 relicense to AGPL 3.0 only 2021-03-26 11:10:04 -06:00
nytpu 2cd16124f8 add timeout flag to refresh 2021-03-23 08:15:36 -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 69a7ab13ff Remove usages of io.ReadFile and os.WriteFile to be compatible with 1.15 2021-03-21 07:36:04 -06:00
nytpu 2974c5413c remove list command and instead write "subscriptions.gmi" & "feed.gmi" 2021-03-19 08:29:44 -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 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 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