27 Commits

Author SHA1 Message Date
Danny van Kooten
7c3adcb10b rework user cli management 2018-09-26 14:44:13 +02:00
Danny van Kooten
193ee0a76c bump version to 1.0.1 2018-09-18 14:33:22 +02:00
Danny van Kooten
defb36b001 set WriteTimeout and ReadTimeout on http.Server 2018-08-05 12:14:34 +02:00
Danny van Kooten
c71907033e add --json flag to stats command 2018-08-01 14:43:19 +02:00
Danny van Kooten
01474759c6 add stats command for getting site-wide stats via cli. 2018-08-01 14:03:44 +02:00
Danny van Kooten
5d24865936 add --skip-bcrypt option to register command 2018-08-01 13:23:41 +02:00
Danny van Kooten
94805b6e80 remove alias for register command 2018-08-01 13:13:54 +02:00
Danny van Kooten
33ffa557ee move setting pwd & comparing into user model + tests 2018-08-01 13:13:42 +02:00
Danny van Kooten
62ec1f7d41 add built-in support for letsencrypt using autocert. closes #18 2018-07-31 15:05:34 +02:00
SimePel
34b7eab555 fix typo 2018-07-16 11:14:30 +07:00
SimePel
64b131f7f5 add separate function for loading env values from file 2018-07-15 21:09:44 +07:00
Danny van Kooten
1fea0dc66f return error from datastore.Close func 2018-07-15 09:20:07 +02:00
Danny van Kooten
c437f8a221 accept PORT env var for setting server addr (through cascade). #59 2018-07-13 11:49:14 +02:00
Danny van Kooten
19b0ccf5b6 move command declaration into same file as func declaration 2018-07-13 11:48:28 +02:00
Danny
e795eb1ac1 print some info regardless of log level 2018-06-13 10:10:56 +02:00
Danny
c45a5d4341 only print version string if not explicitly asking for version 2018-06-04 12:36:56 +02:00
Danny
116cd3cd0f write fathom version to log whenever fathom boots 2018-05-25 14:29:07 +02:00
Danny
f1b2ba1775 use real cli flags for email & password args 2018-05-23 15:39:55 +02:00
Danny
fc35d68926 output log messages during bootstrap, eg with config file location 2018-05-23 09:03:42 +02:00
Danny
0caf52b780 use local timezone in client, utc timezone on server. should close #31 2018-05-16 03:54:51 -05:00
Danny
dfbe15636d move config to its own pkg & gather global pkg var in App struct 2018-05-15 13:55:10 +02:00
Danny
c30e5b3120 introduce datastore interface & stop relying on package var to retrieve db conn. relates to #29 2018-05-15 13:30:37 +02:00
Danny
94db89fd27 add tests for parseConfig func 2018-05-15 11:24:50 +02:00
Danny
1f3dc51b26 add --config flag to global cli options. closes #30 2018-05-15 11:07:27 +02:00
Danny
8b639d348d lowercase all log messages and strip newlines 2018-05-15 10:26:35 +02:00
Danny
e5fcb0a34e simple bc for old --port arg 2018-05-14 14:54:16 +02:00
Danny
89e321a383 dont gitignore main pkg... 2018-05-14 14:11:52 +02:00