Commit Graph

34 Commits

Author SHA1 Message Date
nytpu c5b47f1546 add history flag 2021-05-19 08:07:36 -06:00
nytpu f9d8872260 add core.HistoryDays for variable history kept 2021-05-19 08:02:28 -06:00
nytpu 3fe5b64f98 add Italian to language lists 2021-05-12 16:41:05 -06:00
nytpu 60da14d1d3 add translation for writing files in comitium.json (I didn't notice them before) 2021-05-11 18:35:33 -06:00
nytpu 18eeafe9c9 fixup 3dcbb9b 2021-05-11 18:25:43 -06:00
nytpu 27ff58d7dc rework no_argument to be easier to translate 2021-05-11 18:18:22 -06:00
nytpu 3dcbb9bb1e add French to language list 2021-05-11 18:03:09 -06:00
nytpu 27e9066f6f translate errors in comitium.go 2021-05-11 15:20:00 -06:00
nytpu 5aa80302af add localization generation and add to build system 2021-05-11 11:23:28 -06:00
nytpu 4d23da8c38 add core.Localizer 2021-05-11 11:22:17 -06:00
nytpu cc5c8b2f23 add getLang() to parse language 2021-05-11 11:22:17 -06:00
nytpu fd2667cb9f move Version and Commit to core 2021-04-19 10:16:20 -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 c8bdd059c4 fix typo 2021-03-20 10:12:03 -06:00
nytpu 05c193a53a reduce repetition and inconsistency when writing subs and feeds.gmi 2021-03-20 10:10:15 -06:00
nytpu 6639a4288f Add flags to remove for more fine-grained removals 2021-03-20 10:10:01 -06:00
nytpu d342b6f542 add regenerate command 2021-03-20 09:59:50 -06:00
nytpu 2974c5413c remove list command and instead write "subscriptions.gmi" & "feed.gmi" 2021-03-19 08:29:44 -06:00
nytpu 562869c8ac write subscriptions.gmi after removing sub 2021-03-18 17:02:12 -06:00
nytpu b4d303e24e Write subscriptions 2021-03-18 16:28:02 -06:00
nytpu eb7d8cf21e implement remove command 2021-03-18 15:02:22 -06:00
nytpu fbfa123d2d Implement list command using previously implemented core.FullData.Export() 2021-03-18 15:01:51 -06:00
nytpu 843d1b677a clarify add flags, rename addTypeFlag to addPageFlag 2021-03-18 14:39:32 -06:00
nytpu 2487727329 factor out argument checking into function 2021-03-18 14:39:32 -06:00
nytpu 1065ed7a18 Start refresh job for refresh command 2021-03-18 13:48:35 -06:00
nytpu a80d3f29ff add flag for number of refresh workers 2021-03-18 13:48:26 -06:00
nytpu 6f2f4ac4b1 move saving json down since it's done after almost any function 2021-03-18 13:33:31 -06:00
nytpu 794b1fc04f cleanup and simplify error handling 2021-03-18 12:05:16 -06:00
nytpu f05d1e6c2a why those comments dere? 2021-03-18 11:47:10 -06:00
nytpu 00de991f6b Make sure datapath exists to prevent error 2021-03-18 11:36:05 -06:00
nytpu cace315eff start building out different commands in main() 2021-03-18 11:08:03 -06:00
nytpu c145f8d4d2 initialize core in main() 2021-03-18 10:37:00 -06:00
nytpu 91e663c0f0 add command parsing 2021-03-16 10:24:36 -06:00