Michael Mayer
4553344550
Add event table
2019-06-17 22:39:32 +02:00
Michael Mayer
6404b76c97
Add views counter to album, photo and share
2019-06-17 22:39:32 +02:00
Michael Mayer
27530bc0be
Add shares table for sharing photos and albums
2019-06-17 22:39:32 +02:00
Michael Mayer
bb8c2dbbea
Photos: Add story flag for blogging / timeline
2019-06-17 22:39:32 +02:00
Theresa Gresch
5f63f2999c
Implement first album functionality
2019-06-17 21:45:06 +02:00
Michael Mayer
e2c630e57c
Change chroma max value from 16 to 100 for better results
2019-06-15 16:11:55 -07:00
Michael Mayer
3ee3946011
Proof-of-concept for import and index from Web UI
2019-06-15 11:03:54 -07:00
Michael Mayer
0f6867af79
Photos: Add private and sensitive flag
2019-06-14 18:44:10 -07:00
Michael Mayer
ea3f209f8f
Proof-of-concept for batch like & delete
...
Requires additional code clean-up and unit / acceptance tests
2019-06-14 16:35:18 -07:00
Michael Mayer
9e761549e4
API: Remove debug log from upload
2019-06-14 15:29:12 -07:00
Michael Mayer
e141b9edcd
Photos: Add LocationEstimated flag
2019-06-14 15:15:49 -07:00
Michael Mayer
c133dbe3f9
Indexer: Code and label clean-up
2019-06-14 13:01:58 -07:00
Michael Mayer
2005da9a25
Rename "Import" to "Library" and add tabs to page
2019-06-14 12:16:59 -07:00
Michael Mayer
60e9346f08
Proof-of-concept for upload & import
2019-06-13 11:26:01 -07:00
Michael Mayer
f47d93be7f
Format Go code: go fmt ./internal/... ./cmd/...
2019-06-09 05:22:53 +02:00
Michael Mayer
8642b6f664
Proof-of-concept for labels and search filters
2019-06-09 04:37:02 +02:00
Michael Mayer
9ead0ceef9
Fix TimeZone()
2019-06-07 00:19:12 +02:00
Michael Mayer
c230de6b2b
Add time zone info to photos (if available)
2019-06-07 00:04:34 +02:00
Michael Mayer
aab504ffd6
Initial support for HEIF image files incl improved tests & example files
2019-06-06 14:44:35 +02:00
Michael Mayer
648d35115d
Use labels up to 85% uncertainty for photo titles (without location)
2019-06-05 18:49:35 +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
b835c22f7f
Rename synonyms to categories
2019-06-05 14:05:21 +02:00
Michael Mayer
3d0ec3892f
Skip city name in title if sub string of location name
2019-06-05 11:58:20 +02:00
Michael Mayer
c81b389799
Improve photo titles
2019-06-05 11:39:50 +02:00
Michael Mayer
c501abe932
Improve photo classification, indexing, titles & location info
2019-06-05 10:18:03 +02:00
Michael Mayer
df995b4f15
Rename tags to labels incl priority, source and uncertainty
2019-06-04 18:26:41 +02:00
Michael Mayer
89a1e8e7fc
Console output text changes
2019-06-04 00:22:25 +02:00
Vedhavyas Singareddi
38b9889ef2
Add context for graceful shutdown #112
...
see pull request #114
2019-06-03 22:58:15 +02:00
Michael Mayer
cc4de67c3c
Improve DateCreated() comment
2019-06-03 16:32:26 +02:00
Theresa Gresch
a18a7d9477
Rename materialColor to indexedColor
2019-06-03 12:32:51 +02:00
Michael Mayer
c7f426ac23
OSM: Translate location names to English
2019-05-30 02:53:35 +02:00
Michael Mayer
d31305a503
Move static assets from public/ to static/ for clearer structure
2019-05-22 13:55:11 +02:00
Theresa Gresch
8c63c345f0
Removes dark brown from color map to improve color indexing
2019-05-20 21:42:29 +02:00
Michael Mayer
d26f7fb0dc
Docker: Add testcafe and firefox to development image; change mysql port
2019-05-20 16:39:41 +02:00
Michael Mayer
8124a8cde1
Use label rules to optimize image classification
2019-05-16 08:41:16 +02:00
Michael Mayer
7eeab25ae1
Rename file_saturation to file_chroma in search query
2019-05-16 04:17:45 +02:00
Michael Mayer
0400b6ec7a
Add download links to thumbnails in photo viewer
2019-05-16 04:03:55 +02:00
Michael Mayer
b73093c2f0
Disable SQL query logger and enable photo model preload for search
2019-05-16 03:57:18 +02:00
Michael Mayer
a1f2146648
Set default distance to ~20km
2019-05-16 02:24:02 +02:00
Michael Mayer
1cf23aac3e
Additional search parameters incl distance and location (lat/long)
2019-05-16 02:22:38 +02:00
Michael Mayer
9b6ad9968d
Add support for time values in photo search, see #2
2019-05-15 23:07:25 +02:00
Michael Mayer
40b542276c
Profiling log message for photo search, see #2
2019-05-15 23:00:16 +02:00
Theresa Gresch
5eb32d3353
Change color map for improved color indexing
2019-05-15 22:42:37 +02:00
Michael Mayer
9a320c60df
Search string parser similar to GitHub, see #2
2019-05-15 21:51:00 +02:00
Michael Mayer
feda86f0e2
Location search must only return results with known location
2019-05-15 14:37:31 +02:00
Michael Mayer
7fd1ed7a7b
New "mosaic" view (tiny tiles)
2019-05-15 11:07:26 +02:00
Michael Mayer
441922c35e
Add download button to photo viewer
2019-05-14 18:16:35 +02:00
Michael Mayer
db261d40b3
Share available thumbnail types with JS frontend
2019-05-14 16:04:17 +02:00
Michael Mayer
5262cce647
Thumbnails code clean-up
2019-05-14 10:28:21 +02:00
Michael Mayer
40b7c33198
Fix for thumbnail size: fit_3840 instead of fit_3540
2019-05-13 21:22:16 +02:00
Michael Mayer
34b14c7099
Additional fix for running thumb unit tests on CI
2019-05-13 19:11:40 +02:00
Michael Mayer
1fc73e7285
Potential fix for running thumb unit tests on CI
...
testdata/ could not be found
2019-05-13 18:57:38 +02:00
Michael Mayer
dc4536b249
Improve thumbnail rendering and indexing performance
2019-05-13 18:01:50 +02:00
Theresa Gresch
f154c27b1c
Change map and resampling for improved color indexing
2019-05-12 14:31:01 +02:00
Theresa Gresch
dc67f8ccb2
Merge branch 'develop' of /Users/theresa/Development/graciousgrey/photoprismRepo/photoprism with conflicts.
2019-05-12 13:03:18 +02:00
Michael Mayer
1125ba2da4
exif.RegisterParsers() should only be called once
2019-05-12 09:44:20 +02:00
Michael Mayer
a612609854
Thumbnail cache warm-up for demo
2019-05-09 07:48:41 +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
55c19635c9
Update inline comment regarding the use of Context
2019-05-06 23:41:49 +02:00
Michael Mayer
0ddef3a02d
Rename context package to config and fsutil to util
2019-05-06 23:18:10 +02:00
Michael Mayer
cf8d4ce29b
Remove syscall.Kill from context Shutdown()
2019-05-06 22:13:35 +02:00
Michael Mayer
1e6f41b417
Improve image classification performance and logging in debug mode
2019-05-04 17:34:51 +02:00
Michael Mayer
d83e81b49b
Graceful web and database server shutdown; add log-level flag
2019-05-04 13:29:32 +02:00
Michael Mayer
ff09f76bc5
Add PhotoTag model to weight photo tags based on confidence and source
2019-05-04 11:50:19 +02:00
Michael Mayer
e148e7af46
Add ColorPerception struct and improve Color() tests, see #7
...
Since we're not using the very same colors as material design anymore,
MaterialColor was renamed to IndexedColor.
2019-05-04 11:27:33 +02:00
Michael Mayer
e565195f23
Add config flag for read-only mode, see #56
2019-05-04 09:11:33 +02:00
Michael Mayer
7074faabe0
Additional airport image for testing, see #7
2019-05-04 07:19:02 +02:00
Michael Mayer
5d80af8434
Add static testdata for color indexing and image classification, see #7
...
Images are scaled down to ~331px. Filenames contain object and color.
2019-05-04 07:10:39 +02:00
Michael Mayer
868e1b80b9
Use reflection and yaml.Unmarshal() for configuration, see #66
2019-05-04 05:25:00 +02:00
Michael Mayer
bd60b5d398
Remove deprecated PerceptualHashSize const
2019-05-04 01:24:43 +02:00
Michael Mayer
3389b5115e
Use hash to keep TensorFlow model up to date
2019-05-04 00:53:02 +02:00
Michael Mayer
3589a410c2
Add test.jpg fixture for fsutil package
2019-05-03 18:58:33 +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
6cba9d061f
Remove unnecessary getter prefix
...
See https://golang.org/doc/effective_go.html#Getters
2019-05-02 17:26:44 +02:00
Michael Mayer
3315b87305
Use logrus for logging
2019-05-02 14:10:05 +02:00
Michael Mayer
8289de2746
Improve logging and set optional password for built-in TiDB server
2019-05-01 14:54:11 +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
a82696f067
Move color, luminance and saturation to files table
2019-04-29 21:54:36 +02:00
Michael Mayer
b079882354
Slow test refactoring (now using testing.Short())
2019-04-29 20:09:17 +02:00
Michael Mayer
900e8c5e23
Color extraction: Add saturation value
2019-04-29 17:12:24 +02:00
Michael Mayer
5e1210c508
Add luminance and monochrome return values to MediaFile.Colors()
2019-04-29 01:59:57 +02:00
Sebastian Kunert
6267118acf
Fix broken tensorflow test ( #107 )
...
* Fix broken tensorflow test
* Introduce rounding to fix tests
2019-04-28 11:09:25 +02:00
Michael Mayer
2e418d6e1e
Fix API photo like / unlike test (failed existing photos), see #79
2019-04-26 04:25:00 +02:00
Michael Mayer
bc208c378c
Set max length for file name to 512 chars because of utf8mb4, see #106
2019-04-26 04:13:50 +02:00
Michael Mayer
2f15ca2c59
Reduce length for file names to 2048 chars to fix error on CI, see #106
2019-04-26 02:44:57 +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
94205f0113
Models: Allow 4096 chars for file names, fix #106
2019-04-25 03:52:25 +02:00
Michael Mayer
b294ad10b3
Fix TestMediaFile_GetColors_Slow test
2019-04-18 20:16:09 +02:00
Sebastian Kunert
48a9f78cb3
Improve color indexing by using k-means clustering ( #103 )
...
* First commit for color-improvements
* Use k-means for prominent color detection
* Remove debugging code
* Add color checks to tests
* Add additional test for color names
2019-04-18 17:27:08 +02:00
Michael Mayer
57d5d2a183
OpenStreetmap: PlaceID now uint instead of string
...
API seems to have changed.
2019-04-18 06:58:35 +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
Vedhavyas Singareddi
74dc8be598
Fix/defer leaks ( #91 )
...
* fix defer leaks
* go mod tidy
2019-01-13 00:45:22 +01:00
Michael Mayer
95b041e25f
Add error handling for ExpandedFilename(), see #89
2019-01-03 05:45:54 +01:00
Michael Mayer
e9425329f1
Add SqlServerPassword() and HttpServerPassword() to Config, see #16
2018-12-26 11:40:20 +01:00
Michael Mayer
e37a674e94
Improve thumbnail error messages, see #50
2018-12-26 11:40:20 +01:00
Michael Mayer
a3377dc8e8
Rename tidb to internal for database configuration, see #50
2018-12-26 11:40:20 +01:00
Michael Mayer
579c1272a7
Change order of values in config command, see #50
2018-12-26 11:40:20 +01:00
Michael Mayer
77c101a504
Move version command to the bottom, see #50
2018-12-21 04:40:45 +01:00
Michael Mayer
9e887be2d6
Add version command, see #50
2018-12-21 04:32:17 +01:00
Michael Mayer
5345ad37a2
Move server flags to global config, see #50
2018-12-21 04:17:22 +01:00
Michael Mayer
b300d5540c
Remove todo comment, see #50
2018-12-21 04:07:36 +01:00
Michael Mayer
35ce40dfa1
Move ServerPath() up, see #50
2018-12-21 04:06:15 +01:00
Michael Mayer
cc44c3e580
Move favicons to server public directory, see #50
2018-12-21 04:05:14 +01:00
Michael Mayer
a6e4944821
Rename HTTP server paths in config, see #50
2018-12-21 03:44:38 +01:00
Michael Mayer
2050ba61b4
Rename Config.GetFaviconsPath() to FaviconsPath(), see #50
2018-12-21 03:41:07 +01:00
Michael Mayer
e87bf84532
Rename Config.GetTemplatesPath() to TemplatesPath(), see #50
2018-12-21 03:40:19 +01:00
Michael Mayer
3f2156a8fa
Rename Config.GetDatabasePath() to SqlServerPath(), see #50
2018-12-21 03:39:10 +01:00
Michael Mayer
a7b6ea8936
Rename Config.GetServerAssetsPath() to ServerAssetsPath(), see #50
2018-12-21 03:33:56 +01:00
Michael Mayer
7d6c3d83b7
Rename Config.GetTensorFlowModelPath() to TensorFlowModelPath(), see #50
2018-12-21 03:25:50 +01:00
Michael Mayer
7fde545fe7
Rename Config.GetAssetsPath() to AssetsPath(), see #50
2018-12-21 03:25:09 +01:00
Michael Mayer
628c598f08
Rename Config.GetThumbnailsPath() to ThumbnailsPath(), see #50
2018-12-21 03:24:22 +01:00
Michael Mayer
3462257cce
Rename Config.GetCachePath() to CachePath(), see #50
2018-12-21 03:23:47 +01:00
Michael Mayer
a3d9c61c42
Rename Config.GetDarktableCli() to DarktableCli(), see #50
2018-12-21 03:23:05 +01:00
Michael Mayer
32444bde18
Rename Config.GetExportPath() to ExportPath(), see #50
2018-12-21 03:22:25 +01:00
Michael Mayer
1a4815fd51
Rename Config.GetImportPath() to ImportPath(), see #50
2018-12-21 03:21:49 +01:00
Michael Mayer
c1219799da
Rename Config.GetOriginalsPath() to OriginalsPath(), see #50
2018-12-21 03:21:21 +01:00
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