Commit graph

302 commits

Author SHA1 Message Date
Michael Mayer
2e746c833c Code clean-up #58 2018-11-18 19:18:19 +01:00
Michael Mayer
9872cfaa50 Add ConfigCommand test #58
- Includes refactoring of existing packages to enable testing of commands
2018-11-17 13:57:19 +01:00
Michael Mayer
86a6dda0e0 Run "make fmt" #58 2018-11-17 12:29:01 +01:00
Michael Mayer
bb36226b59 Expected status for like and dislike is accepted (202) #58 2018-11-17 08:37:31 +01:00
Michael Mayer
cdf9d9293d Add test stubs and helper functions for package api #58 2018-11-17 08:28:50 +01:00
Michael Mayer
f7404f838b Fix slow tests and improve test output (colorized) #58 2018-11-17 06:56:43 +01:00
Michael Mayer
fb91ce9a06 Move utils and test config to separate packages #58 2018-11-17 06:21:39 +01:00
Michael Mayer
f3129097cf Fix Inception model name in download script #70 2018-11-17 02:49:25 +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
5e091f5c6c Changed wording in README.md 2018-11-14 02:12:06 +01:00
Michael Mayer
4835d5c19d Update "How to contribute" after removing the "good first issue" label 2018-11-13 14:19:54 +01:00
Michael Mayer
aa831d3a2f Add scripts/travis.sh and remove IFs from .travis.yml #62 2018-11-12 07:48:49 +01:00
Michael Mayer
ef4f9c3f7b Prefix for build script variables #62 2018-11-12 07:42:15 +01:00
Michael Mayer
edc7c2f027 Move docker-compose.yml to /docker/photoprism for consistency #62 2018-11-12 07:03:36 +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
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
2cce8ded84 Moved all server assets to subdirectory #55 2018-11-09 19:25:58 +01:00
Michael Mayer
53dfd1647a Preparation for using an embedded database #55 2018-11-09 19:06:03 +01:00
Michael Mayer
90d73e4a61 Fixed default value for database DSN #58 2018-11-09 13:18:12 +01:00
Michael Mayer
1f69530310 Don't build in Dockerfile #58
Caching of dependencies is not possible otherwise
2018-11-09 12:46:56 +01:00
Michael Mayer
dc0080955d Add before_cache to fix travis caching #58 2018-11-09 11:53:21 +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
7c559a21ab Updated dependencies #39 2018-11-08 20:29:16 +01:00
Michael Mayer
d7dd7c0d76 Exclude docker files from docker images #39 2018-11-08 17:57:24 +01:00
Michael Mayer
a7eb7b81c3 Exclude dot file from docker images #39 2018-11-08 17:43:04 +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
f657bc5543 Move photoprism command docs to doc.go #14 2018-11-06 19:08:15 +01:00
Michael Mayer
a4d6f810d6 Added inline documentation #14 2018-11-06 19:02:03 +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
56b9eeb5c0 Try to speed up building by removing python and full tensorflow #58 2018-11-06 17:50:07 +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
7f977e2a6b Fix for passing CODECOV_TOKEN to container #58 2018-11-06 16:57:54 +01:00
Michael Mayer
810d8a7bb5 Add test-codecov to Makefile and travis.yml #58 2018-11-06 16:47:17 +01:00
Michael Mayer
ebaa3d3622 Add codecov.yml #58 2018-11-06 16:30:30 +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
3e3327ade3 Added link to wiki / developer guide, see #12 2018-11-06 11:10:57 +01:00
Michael Mayer
4a33d430e9 Fixed formatting for api inline docs, see #12 2018-11-06 10:43:59 +01:00
Michael Mayer
e66e9e4f69 Improved REST route docs, see #12
Hard to test locally as godoc -http ":80" doesn't seem to work outside the GOPATH
2018-11-06 10:28:44 +01:00
Michael Mayer
5868d4e664 Added REST route as a first step to document API, see #12 2018-11-06 09:56:40 +01:00
Gergely Brautigam
b202bb6cc7 Refactoring the photoprism package #53
* Started refactoring the photoprism package.

* A lot of more comments and eliminating utils.

* Fixed search.

* See #50 The great refactor -- Refactor config to YAML, Add Docs, Revise exported fields
2018-11-01 17:01:45 +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
a69d6f798f Add goimports to Dockerfile 2018-10-31 12:57:01 +01:00
Michael Mayer
6a2af16d1c Using goimports for formatting imports #50 2018-10-31 07:14:33 +01:00