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
Michael Mayer
b1e2ac17bd
Save() instead of Update() must be used for updating rows
2018-09-27 15:16:37 +02:00
Michael Mayer
7640cae26b
Mark files are missing, when they are not found
2018-09-27 12:10:19 +02:00
Michael Mayer
340d9ea799
Don't show missing files in search results by default
2018-09-27 09:44:06 +02: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
c5481a177d
Added fields for house nr, street and suburb to location
2018-09-26 15:00:12 +02:00
Michael Mayer
2ae77b7686
Refactored REST API (renamed package to api)
2018-09-24 21:14:15 +02:00
Michael Mayer
bbab05f9db
Added additional photo meta data like aperture, lens and camera make; smaller perceptive hash; implemented stub for single photo view
2018-09-24 19:07:43 +02:00
Michael Mayer
13426caba2
Added country name and text wrap to photo search detail view
2018-09-24 11:48:52 +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
034495d75c
Refactoring: Separate file for each command
2018-09-24 09:53:16 +02:00
Michael Mayer
5a2c717030
Using simpler sha1 hash for improved indexing performance (not relevant for security)
2018-09-24 09:02:00 +02:00
Michael Mayer
4ac3b2a602
Implemented detail view proof-of-concept for photo search
2018-09-19 20:15:46 +02:00
Michael Mayer
d7e4531231
Indexer now sets country (guess when there there is no location)
2018-09-19 11:16:18 +02:00
Michael Mayer
122f7a8641
Added countries table
2018-09-19 09:20:57 +02:00
Michael Mayer
ce5869d213
Code clean-up (go fmt)
2018-09-19 00:56:54 +02:00
Michael Mayer
d3ef7abb54
Experimental filters for category and country (photo search)
2018-09-19 00:53:39 +02:00
Michael Mayer
39ab854672
Implemented infinite scrolling and improved search API
2018-09-18 23:24:19 +02:00
Michael Mayer
6b7b5bf186
Improved logging for thumbnail generation
2018-09-18 22:02:50 +02:00
Michael Mayer
e4998d1046
Code clean-up
2018-09-18 21:42:33 +02:00
Michael Mayer
d50e36b213
Indexer now re-indexes existing files
2018-09-18 21:15:54 +02:00
Michael Mayer
4119170587
MediaFile.GetRelatedFiles() now returns shorter filenames first
2018-09-18 20:03:43 +02:00
Michael Mayer
0c39f51a86
Using relative path for file names in database
2018-09-18 19:23:40 +02:00
Michael Mayer
0148096c86
Importer now instantly converts and indexes files
2018-09-18 18:36:12 +02:00
Michael Mayer
de494fb8f8
Fixed Config.CreateDirectories()
2018-09-18 16:34:08 +02:00
Michael Mayer
1af143d806
Changed assertion for c.Debug in test
2018-09-18 15:49:35 +02:00
Michael Mayer
c0c8c26d11
Fixed TestConfig_SetValuesFromFile
2018-09-18 15:28:23 +02:00
Michael Mayer
5e12c48de2
Renamed server-ip to server-host
2018-09-18 15:18:54 +02:00
Michael Mayer
eec90acce3
Improved docker-compose config for production environments
2018-09-18 14:42:49 +02:00
Michael Mayer
a02b144b96
Additional photo jpeg files get editN suffix instead of vN (N = 1,2,3,...)
2018-09-18 14:05:56 +02:00
Michael Mayer
361123b125
Indexer now indexes files in correct order and with better performance
2018-09-18 12:44:22 +02:00
Michael Mayer
9096d87aca
Using defaults from flag config if no value was set
2018-09-18 10:06:26 +02:00
Michael Mayer
da77a1230e
Code clean-up (go fmt)
2018-09-17 18:40:57 +02:00
Michael Mayer
d925d59e67
Moved gorm models to separate package
2018-09-16 19:09:40 +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