Commit Graph

157 Commits (e983c4527fc73c03485f428fd96bf8dc0ee72643)

Author SHA1 Message Date
Matt Baer ed4aacd1ac Move static file ServeMux to App struct 6 years ago
Matt Baer eb6349f93a Allow compiling without go-sql-driver/mysql pkg 6 years ago
Matt Baer 758269e3d8 Move key generation and Keychain to key pkg 6 years ago
Matt Baer 584fe4fb93 Support changing default landing path 6 years ago
Matt Baer c95ee0abe1 Support changing default landing path 6 years ago
Matt Baer 77c8152786 Break up CreateUser credentials into two args 6 years ago
Matt Baer 9e43b04f04 Make Keychain struct public 6 years ago
Matt Baer d8937e89a8 Make App struct public 6 years ago
Matt Baer 9023d4eb3f Move flag parsing to main package 6 years ago
Matt Baer 771c7acf5f Run migrations on db initialization 6 years ago
Matt Baer 7ab5350a94 Bump version to 0.9.0 6 years ago
Matt Baer 9cb0f80921 Support changing instance page titles 6 years ago
Matt Baer a850fa14cd Move instance page editing to dedicated section 6 years ago
Matt Baer 32e99d0041 Fix hashes in code blocks rendered as hashtags 6 years ago
Matt Baer e5a00e00f5 Bump version to 0.8.1 6 years ago
Matt Baer cd752858b7 Fix --create-user usage error message 6 years ago
Matt Baer c11ede53d9 Return error from adminCreateUser() 6 years ago
Matt Baer 08667d8978 Return error from adminInitDatabase() 6 years ago
Matt Baer 8b94418d3f Bump version to 0.8.0 6 years ago
Matt Baer 3a6118c207 Set up migrations table on initial setup 6 years ago
Matt Baer 5de193a64d Generate encryption keys in configured directory 6 years ago
Matt Baer 5c19d249b6 Log and exit when templates init fails 6 years ago
Matt Baer 53a51be578 Support configuring resource directories 6 years ago
Matt Baer 6c7ee76768 Support configuring resource directories 6 years ago
Matt Baer 820b0ba6b9 Organize flags and add comments 6 years ago
Matt Baer 47b2155f92 Add --migrate command 6 years ago
Matt Baer a9dff35f70 Bump version to 0.7.1 6 years ago
Matt Baer 062ae0e16a Initialize db on single-user instance config 6 years ago
Matt Baer caf976a054 Bump version to 0.7.0 6 years ago
Matt Baer 8a555567a6 Fix tagged posts SQLite query 6 years ago
Matt Baer a58a756746 Use driver constants in app.go 6 years ago
Aaron Ogle 3722c6ba79
Only check for username and password if driver type is mysql 6 years ago
Matt Baer fca3019e4b Support building without SQLite support 6 years ago
Matt Baer 3ae45bc156 Fix spacing around copyright notices 6 years ago
Matt Baer 739afd2310 Embed schema files in binary 6 years ago
Matt Baer 1274914207 Add copyright / license notices to .go files 6 years ago
Matt Baer 1439c8c359 Add --create-user option for regular user 6 years ago
Matt Baer 5e5b283daf Validate username in admin user creation process 6 years ago
Matt Baer f99244b93f Factor out admin user creation logic 6 years ago
Matt Baer 11de25237d Fix db.Ping() call 6 years ago
Matt Baer 2178b4abf2 Check database connection on startup 6 years ago
Matt Baer 4b8d5e3e37 Bump version to 0.6.0 6 years ago
Matt Baer 25a68d0c0e Add Reader section 6 years ago
Matt Baer 111945bc5d Add new -c [filename] option for supplying config file 6 years ago
Matt Baer ba3d6ae64c Support custom SQLite database file name 6 years ago
Matt Baer 7fab11b3c8 Move initial config loading to its own func 6 years ago
Matt Baer df4cd9ed00 Add --create-admin option 6 years ago
Matt Baer 8ceb165020 Bump version to 0.5 6 years ago
Matt Baer f04469beee Fix SQLite concurrency issues 6 years ago
Matt Baer 61de04338e Extract out common DB connection logic 6 years ago