Commit Graph

32 Commits

Author SHA1 Message Date
Michael Mayer
c7753b87ff Library: Show folder covers in Originals #1011 2021-02-07 19:04:17 +01:00
Michael Mayer
b408538f68 HTTP: Add optional gzip compression 2021-01-10 15:30:21 +01:00
Michael Mayer
7940786ce9 UX: Refactor config options to be more intuitive
Make sure to update your local config files when upgrading as
the name of some config values has changed. The default
config path has changed from "settings" to "config".
2020-12-18 09:11:42 +01:00
Michael Mayer
d0199598d0 Simplify configuration #66
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 02:09:52 +02:00
Anders Brander
3ed5370439
Do not print starting web server before starting web server. (#240)
Thnigs can go wrong and abort in server.Start() before the web server is
started. This commit will move the log message to where the webserver is
started to avoid confusing the user.
2020-02-05 23:05:37 +01:00
Michael Mayer
11067b1ae5 Backend: Improve http log messages #194
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-21 15:12:26 +01:00
Michael Mayer
a2963e9fc6 Add event hook for sending logs to frontend
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-02 00:30:58 +01:00
Michael Mayer
89a1e8e7fc Console output text changes 2019-06-04 00:22:25 +02:00
Vedhavyas Singareddi
38b9889ef2 Add context for graceful shutdown #112
see pull request #114
2019-06-03 22:58:15 +02:00
Michael Mayer
c5e2783b8d Upgrade Go to 1.12.5, improve Makefile and add chromium-browser 2019-05-09 06:18:22 +02:00
Michael Mayer
55c19635c9 Update inline comment regarding the use of Context 2019-05-06 23:41:49 +02:00
Michael Mayer
0ddef3a02d Rename context package to config and fsutil to util 2019-05-06 23:18:10 +02:00
Michael Mayer
1e6f41b417 Improve image classification performance and logging in debug mode 2019-05-04 17:34:51 +02:00
Michael Mayer
d83e81b49b Graceful web and database server shutdown; add log-level flag 2019-05-04 13:29:32 +02:00
Michael Mayer
71adb35cff Remove test and frontend packages; app and test context refactoring 2019-05-03 18:57:28 +02:00
Michael Mayer
3315b87305 Use logrus for logging 2019-05-02 14:10:05 +02:00
Michael Mayer
8289de2746 Improve logging and set optional password for built-in TiDB server 2019-05-01 14:54:11 +02:00
Michael Mayer
a6e4944821 Rename HTTP server paths in config, see #50 2018-12-21 03:44:38 +01:00
Michael Mayer
e87bf84532 Rename Config.GetTemplatesPath() to TemplatesPath(), see #50 2018-12-21 03:40:19 +01:00
Michael Mayer
ef2719e21e Rename Config.GetServerMode() to HttpServerMode, see #50 2018-12-21 03:18:01 +01:00
Michael Mayer
f0c947ddfb Rename Config.GetServerPort() to HttpServerPort, see #50 2018-12-21 03:16:50 +01:00
Michael Mayer
149e9f15d7 Rename Config.GetServerIP() and HttpServerHost(), see #50 2018-12-21 03:03:59 +01:00
Michael Mayer
d4aada7f86 Rename Config.IsDebug() to Debug(), see #50 2018-12-21 02:49:45 +01:00
Michael Mayer
fb91ce9a06 Move utils and test config to separate packages #58 2018-11-17 06:21:39 +01:00
Michael Mayer
8ac8658cc2 Lowercase fields for Config and added documentation #50 2018-11-09 21:11:52 +01:00
Michael Mayer
dd26ee0dca Use functions for all config values #50
Why? See https://github.com/photoprism/photoprism/issues/50#issuecomment-433856358
2018-11-09 20:48:23 +01:00
Michael Mayer
a4d6f810d6 Added inline documentation #14 2018-11-06 19:02:03 +01:00
Michael Mayer
6a2af16d1c Using goimports for formatting imports #50 2018-10-31 07:14:33 +01:00
Michael Mayer
10859ee695 Moved perceptual hash from photo to file model; code clean-up (go fmt)
- Files might show different details of the full photo
2018-09-27 08:59:53 +02:00
Michael Mayer
16a89c84c0 Refactoring: Separate file for each REST route and changed thumbnail URL 2018-09-24 11:27:46 +02:00
Michael Mayer
da77a1230e Code clean-up (go fmt) 2018-09-17 18:40:57 +02:00
Michael Mayer
78d9484d81 Directory clean-up: Moved source code to internal/ and config files to configs/ 2018-09-14 14:04:03 +02:00