Commit graph

84 commits

Author SHA1 Message Date
Michael Mayer
b365a2ce57 Rename Config.GetDatabaseDsn() to DatabaseDsn(), see #50 2018-12-21 03:19:25 +01:00
Michael Mayer
3eb61dff47 Rename Config.GetDatabaseDriver() to DatabaseDriver, see #50 2018-12-21 03:18:43 +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
49793a3706 Rename server-* to http-*, see #50 2018-12-21 03:11:06 +01:00
Michael Mayer
cde4eb5d92 Rename serverIP and serverPort to httpServer*, see #50 2018-12-21 03:06:48 +01:00
Michael Mayer
149e9f15d7 Rename Config.GetServerIP() and HttpServerHost(), see #50 2018-12-21 03:03:59 +01:00
Michael Mayer
62d75f74f2 Rename Config.DbServerIP() and DbServerPort() to SqlServer*, see #50 2018-12-21 03:02:34 +01:00
Michael Mayer
d4aada7f86 Rename Config.IsDebug() to Debug(), see #50 2018-12-21 02:49:45 +01:00
Michael Mayer
6872cff3dc Rename Config.GetAppVersion() and GetAppCopyright() to AppAppVersion() and AppCopyright(), see #50 2018-12-21 02:47:44 +01:00
Michael Mayer
9efbbbfe90 Rename Config.GetAppName() to AppName(), see #50 2018-12-21 02:44:34 +01:00
Michael Mayer
37fe1d093e Rename Config.GetConfigFile() to ConfigFile(), see #50 2018-12-21 02:43:44 +01:00
Michael Mayer
c639a81c90 Rename GetDb() to Db() in comments, see #50 2018-12-21 02:39:31 +01:00
Michael Mayer
40fae6a28f Rename Config.GetClientConfig() to ClientConfig(), see #50 2018-12-21 02:38:39 +01:00
Michael Mayer
0f12aac73b Rename Config.GetDb() to Db(), see #50 2018-12-21 02:37:16 +01:00
Michael Mayer
9e4c134e29 Fixed inline comments 2018-12-21 02:00:22 +01:00
Michael Mayer
d2ba33d5f4 Improve error message for lat/long missing #80 2018-12-21 02:00:22 +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
11ca54da3b Add logs for location indexing #80 2018-12-18 18:13:44 +01:00
Michael Mayer
52c82e610d Change fixture download file name to test.zip 2018-12-11 07:22:11 +01:00
Michael Mayer
f92830eb83 Change fixture data URL to our own download server 2018-12-11 07:11:00 +01:00
Joey Zou
c5ff44692f HTTP status code change (#78)
DislikePhoto and LikePhoto should return http.StatusOK (200) instead of http.StatusAccepted (202)
2018-12-07 13:48:15 +01:00
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
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
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
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
a4d6f810d6 Added inline documentation #14 2018-11-06 19:02:03 +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
6a2af16d1c Using goimports for formatting imports #50 2018-10-31 07:14:33 +01:00
Philipp Knobel
00f79b2d01 First implementation of liking a photo (#48)
First implementation of liking a photo
2018-10-31 03:33:18 +01:00
Carlos Vazquez
00abbf1af5 Adds basic documentation for internal packages (#43)
* Added basic documentation wireframe for api, commands, and forms.

* Added doc.go
2018-10-31 02:42:54 +01:00
Michael Mayer
479acc06ab Changed edited postfix from "edit%d" to "edited_%d" 2018-10-09 16:48:10 +02:00
Michael Mayer
b9f1fe930b Added TakenAtChanged flag 2018-10-08 20:03:00 +02:00