Commit graph

48 commits

Author SHA1 Message Date
Michael Mayer
4a9f992056 Thumbs: Use fit_4096 in favor of fit_3840 and add convert limit #362 #388
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-13 15:23:54 +02:00
Michael Mayer
166219bffd Config: Add PHOTOPRISM_ADMIN_PASSWORD to docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-06 20:13:52 +02:00
Michael Mayer
abe9d16340 Config: Change mysqld defaults #357
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-01 18:55:42 +02:00
Michael Mayer
8d79f90138 Sharing: Use album title & description for site metadata #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-27 09:28:32 +02:00
Michael Mayer
01c78639ef Config: Shorten default site caption
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-25 18:39:55 +02:00
Michael Mayer
5d59b50912 Sharing: ACL authorization for REST API #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-25 14:54:04 +02:00
Michael Mayer
178ae9190b Config: Update site description default
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-16 10:08:34 +02:00
Michael Mayer
a91206a509 Universal sidecar configuration, indexing with multiple roots #268 #348
Slowly getting to the point where only very few people are able to maintain this codebase :)

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-07 10:09:35 +02:00
Michael Mayer
39340c2978 MySQL/MariaDB: Enable charset utf8mb4 in docker-compose.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-05 14:03:14 +02:00
Michael Mayer
f8ec76d6c9 Backend: Simplify and fix path names for development
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-02 15:51:14 +02:00
Michael Mayer
1dd465d889 Disable PHOTOPRISM_DETECT_NSFW by default in dev environments
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 12:53:19 +02:00
Michael Mayer
d0199598d0 Simplify configuration #66
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 02:09:52 +02:00
Michael Mayer
0b1bcf0d4a Replace TiDB with SQLite for improved stability #66
As a side effect, we need less configuration values.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-30 14:52:47 +02:00
Michael Mayer
132db3c0d2 Backend: Upgrade Go modules
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 12:09:48 +02:00
Michael Mayer
e61dda495a Add PHOTOPRISM_SIDECAR_HIDDEN and PHOTOPRISM_JPEG_HIDDEN flags #311
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-19 11:00:17 +02:00
Michael Mayer
556a0dd38b Docker: Start mysqld with --innodb-rollback-on-timeout=ON and --innodb-lock-wait-timeout=120
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-10 22:18:01 +02:00
Michael Mayer
252e67ce03 Add photo_count column to labels table
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-09 11:00:22 +02:00
Michael Mayer
3aad02501f Run unit tests in separate databases to avoid conflicts
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-08 19:34:29 +02:00
Michael Mayer
9b643c830f Add template settings; remove twitter config value
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-05 18:26:44 +02:00
Michael Mayer
b4a04a478f Backend: Set test database using PHOTOPRISM_TEST_DSN
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 22:39:38 +02:00
Michael Mayer
8318ab8983 Config: Rename "sql" / "internal" to "tidb" for more clarity
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-28 22:49:02 +02:00
Michael Mayer
ba396952a8 Update Dockerfiles and set default SQL port to 2343 2020-04-28 21:10:31 +02:00
Michael Mayer
430fb2acb3 Code clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-25 14:48:08 +02:00
Michael Mayer
577a30e303 docker-compose.yml: Upgrade MariaDB and add docs / examples
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 18:22:25 +02:00
Michael Mayer
b86f68c3f3 Backend: Add WebDAV client and dummy test server #225
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-27 11:01:41 +01:00
Michael Mayer
628f4a24ab Docker: Update MariaDB to 10.4.11 on TravisCI
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-19 10:20:09 +01:00
Michael Mayer
dac272468e Sharing: Render preview image & site info
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-11 14:10:20 +01:00
Michael Mayer
49c7fafa87 Upgrade from Mysql 8.0 to MariaDB 10.4
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-07 20:31:50 +01:00
Michael Mayer
460712dff4 Update db config for Travis CI tests 2019-07-14 18:35:43 +02:00
Michael Mayer
3f0178aeeb Additional db config for Travis CI tests 2019-07-14 18:29:45 +02:00
Michael Mayer
695ff61f4a Set db password in Travis CI config to fix tests 2019-07-14 18:04:34 +02:00
Michael Mayer
ca7d7a8faf Docker: Code clean-up 2019-05-28 01:15:52 +02:00
Michael Mayer
43a2516efa Revert shm size and docker-compose version for Travis CI 2019-05-20 20:51:29 +02:00
Michael Mayer
7490ee5b51 Fix firefox running in Docker by setting /dev/shm size to 2gb 2019-05-20 20:36:31 +02:00
Michael Mayer
706b9d4fd2 Docker: Fix docker-compose.travis.yml 2019-05-20 16:57:33 +02:00
Michael Mayer
ae54bf55f8 Set MySQL version to 8.0.16 for DEV and CI, see #106 2019-04-26 04:12:55 +02:00
Michael Mayer
18f88b8a2f Attempt reduce build / test times with travis cache #58 2018-11-09 10:56:52 +01:00
Michael Mayer
ac31141669 Smaller docker images with multi-stage build #39 2018-11-08 10:56:11 +01:00
Michael Mayer
18098685f7 Fix docker-compose.travis.yml (remove duplicate env token) #58 2018-11-06 17:54:05 +01:00
Michael Mayer
af828ef8db Add codecov.sh script #58 2018-11-06 17:49:03 +01:00
Michael Mayer
9e8ed74587 Set CODECOV_TOKEN env in docker-compose #58 2018-11-06 17:13:18 +01:00
Michael Mayer
5ba5addc51 Fix for .travis.yml and docker-compose.travis.yml 2018-09-17 12:33:48 +02:00
Michael Mayer
bc4417b6b0 Added deploy section to .travis.yml to automatically push docker images 2018-09-17 12:11:19 +02:00
Michael Mayer
3c7b5a39c2 Moved docker-compose.* back to main directory 2018-09-14 14:33:11 +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
Michael Mayer
db522c5aaa Using pre-built Docker image for Travis CI 2018-09-05 18:16:53 +02:00
Michael Mayer
1517afc1fd Improved Docker configuration 2018-09-05 18:05:34 +02:00
Michael Mayer
91eae960c6 Added docker-compose.travis.yml 2018-02-28 10:31:10 +01:00