Michael Mayer
fc3d319dfd
Backend: Fix API after switching to UUIDs
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-04 16:47:47 +01:00
Michael Mayer
f88c574f3f
Improve HTTP header auth
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-12 05:49:10 +01:00
Michael Mayer
56c97ec057
Basic login for admin #16
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-08 06:53:40 +01: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
8124a8cde1
Use label rules to optimize image classification
2019-05-16 08:41:16 +02:00
Michael Mayer
0ddef3a02d
Rename context package to config and fsutil to util
2019-05-06 23:18:10 +02:00
Michael Mayer
71adb35cff
Remove test and frontend packages; app and test context refactoring
2019-05-03 18:57:28 +02:00
Michael Mayer
3315b87305
Use logrus for logging
2019-05-02 14:10:05 +02:00
Michael Mayer
2e418d6e1e
Fix API photo like / unlike test (failed existing photos), see #79
2019-04-26 04:25:00 +02:00
Vedhavyas Singareddi
4edfc4fa4c
error chacks and minor api refactoring ( #92 )
...
* error chacks and minor api refactoring
* consistant naming
2019-01-15 14:00:42 +01:00
Michael Mayer
c1219799da
Rename Config.GetOriginalsPath() to OriginalsPath(), see #50
2018-12-21 03:21:21 +01:00
Michael Mayer
0f12aac73b
Rename Config.GetDb() to Db(), see #50
2018-12-21 02:37:16 +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
fb91ce9a06
Move utils and test config to separate packages #58
2018-11-17 06:21: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
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
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
2ae77b7686
Refactored REST API (renamed package to api)
2018-09-24 21:14:15 +02:00