Commit graph

114 commits

Author SHA1 Message Date
Michael Mayer 78eae2f14e Backend: Add NSFW detector
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-14 15:41:37 +01:00
Michael Mayer 9f8bad1ffa Frontend: Code & test clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-05 03:58:54 +01:00
Michael Mayer 6cbcc348b7 Dockerfile: Upgrade to Go 1.13
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-09-19 09:22:44 -07:00
Theresa Gresch c9b47f552c Set BABEL_ENV in test-js command 2019-07-24 10:05:45 +02:00
Michael Mayer 336d4b5cdc Disable go unit test cache for code coverage reports 2019-07-15 20:30:40 +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 3655ebf9d8 Use daemon server mode to run acceptance tests #58 2019-06-30 05:38:39 +02:00
Michael Mayer 243795c7d5 Use local user directories for installation #66 2019-06-29 19:34:55 +02:00
Michael Mayer 84aefc1272 Add Makefile & config to TensorFlow 1.14.0 build image #83 2019-06-25 23:08:53 +02:00
Michael Mayer 1b0b41b824 Add static build target #83 2019-06-23 03:21:12 +02:00
Michael Mayer 8642b6f664 Proof-of-concept for labels and search filters 2019-06-09 04:37:02 +02:00
Michael Mayer c230de6b2b Add time zone info to photos (if available) 2019-06-07 00:04:34 +02:00
Michael Mayer b05e77cb10 Fix "install-assets" target in Makefile 2019-06-06 16:40:32 +02:00
Michael Mayer a6131eeddd Move all config files to assets/config and resources to assets/resources 2019-06-05 18:25:20 +02:00
Michael Mayer df995b4f15 Rename tags to labels incl priority, source and uncertainty 2019-06-04 18:26:41 +02:00
Michael Mayer 3ceec890e3 Upgrade TiDB server to 2.1.11 2019-06-04 01:09:56 +02:00
Michael Mayer 2f5175c1f4 Add info to test make targets 2019-06-03 23:55:01 +02:00
Michael Mayer a38fe29953 Colorize go test output using kyoh86/richgo 2019-06-03 16:31:15 +02:00
Michael Mayer 4ffdb00490 Fix static assets path in Makefile 2019-05-22 14:17:43 +02:00
Michael Mayer 3ac22ab105 Frontend: Add clear button to photo menu #15 2019-05-21 02:27:08 +02:00
Michael Mayer 6670bb30de Fix frontend tests 2019-05-20 20:06:26 +02:00
Theresa Gresch f05e07d1d6 Renames p-navigation-open to p-navigation-show, adds first testcafe tests and configuration, Moves unit tests into unit folder, Adds make test-acceptance command 2019-05-20 19:02:29 +02:00
Michael Mayer 8124a8cde1 Use label rules to optimize image classification 2019-05-16 08:41:16 +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 07c5c6a580 Use https for loading map tiles, see #3 2019-05-07 17:02:15 +02:00
Michael Mayer 21feb49c3c Delete node_modules when running "make clean" 2019-05-07 16:16:39 +02:00
Michael Mayer 940e2a69f9 Upgrade Webpack and JS dependencies 2019-05-07 15:41:33 +02:00
Michael Mayer 53a5d84653 Switch from yarn to npm and other frontend improvements, see #3
See https://iamturns.com/yarn-vs-npm-2018/
2019-05-07 02:05:01 +02:00
Michael Mayer 3389b5115e Use hash to keep TensorFlow model up to date 2019-05-04 00:53:02 +02:00
Michael Mayer 818019a7ec Use nasnet mobile instead of inception v1 for image classification 2019-04-30 13:17:01 +02:00
Michael Mayer ffc64cceb0 Use 3x3 thumbnail for color indexing #7
Other implementations were unstable due to the use of random numbers.
This seems to be fast and also enables us to search specific parts
of an image. 16 colors are indexed (Material Design).
2019-04-26 02:22:53 +02:00
Michael Mayer b294ad10b3 Fix TestMediaFile_GetColors_Slow test 2019-04-18 20:16:09 +02:00
Michael Mayer c157020dca Docker: Upgraded Go, TensorFlow and TiDB 2019-04-18 06:33:34 +02:00
Michael Mayer cc44c3e580 Move favicons to server public directory, see #50 2018-12-21 04:05:14 +01:00
Michael Mayer 43b860801c Proof-of-concept for using TiDB instead of MySQL #60 2018-12-18 18:38:30 +01:00
Michael Mayer 46476bc8b0 Add Dockerfile for public demo #69 2018-12-11 02:00:41 +01:00
Michael Mayer f7404f838b Fix slow tests and improve test output (colorized) #58 2018-11-17 06:56:43 +01:00
Michael Mayer b9fedb80f0 Reduce timeout for "make test-fast" to 5m #58 2018-11-15 01:42:04 +01:00
Michael Mayer 08caccd43b Simplified Makefile #58
- Hopefully easier to understand for new developers
2018-11-14 23:55:23 +01:00
Michael Mayer 8063ba39ac Move slow tests to *_slow_test.go #58
- Added a new make target: test-fast
- To execute all test, you have to use -tags=slow
2018-11-14 23:51:17 +01:00
Michael Mayer c5ee0fee48 Add darktable development docker image #62
- Improved build scripts and Dockerfile
- broadwayd can be used as display server for darktable or other GTK based software
2018-11-12 06:58:39 +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 2cce8ded84 Moved all server assets to subdirectory #55 2018-11-09 19:25:58 +01:00
Michael Mayer 9001075512 Remove debug information and dot files from production build #58 2018-11-09 11:41:07 +01:00
Michael Mayer 18f88b8a2f Attempt reduce build / test times with travis cache #58 2018-11-09 10:56:52 +01:00
Michael Mayer 133c7964ad Add tensorflow model and test file to development image #39 2018-11-08 16:41:14 +01:00
Michael Mayer ac31141669 Smaller docker images with multi-stage build #39 2018-11-08 10:56:11 +01:00
Michael Mayer af828ef8db Add codecov.sh script #58 2018-11-06 17:49:03 +01:00
Michael Mayer 810d8a7bb5 Add test-codecov to Makefile and travis.yml #58 2018-11-06 16:47:17 +01:00
Michael Mayer 64371e4e86 Add codecov badge and remove -race from test-coverage target #58 2018-11-06 16:17:49 +01:00
Michael Mayer a3167cc0ec Added test-coverage to Makefile and upload to codecov, see #58 2018-11-06 15:33:23 +01:00
Michael Mayer 891870b05e make fmt now only takes care of /internal and /cmd 2018-10-31 12:57:37 +01:00
Michael Mayer 6a2af16d1c Using goimports for formatting imports #50 2018-10-31 07:14:33 +01:00
Michael Mayer ce64bc8146 Running "go mod tidy" after "go build"
See https://github.com/golang/go/issues/27176
2018-10-21 11:01:48 +03:00
Michael Mayer 982d43f973 Renamed migrate-db to migrate 2018-09-18 15:21:22 +02:00
Michael Mayer 97d5bcf8ce Simplified application configuration 2018-09-18 15:13:02 +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 78d9484d81 Directory clean-up: Moved source code to internal/ and config files to configs/ 2018-09-14 14:04:03 +02:00
Michael Mayer 609778e7d6 Moved all assets to assets/ and improved config 2018-09-14 12:44:15 +02:00
Michael Mayer 31562d43cb Improved docker and application config 2018-09-13 20:54:34 +02:00
Michael Mayer 3d23056851 Indexer now automatically sets title, keywords and detected colors 2018-09-11 10:56:52 +02:00
Michael Mayer 1716c5a38f Formatted code (go fmt ./...) 2018-09-06 14:47:32 +02:00
Michael Mayer e11cfbf793 Use make for Dockerfile and Travis CI 2018-09-05 22:55:28 +02:00
Michael Mayer b45204e54b Added Makefiles and migrated to go modules 2018-09-05 20:26:03 +02:00