Commit graph

446 commits

Author SHA1 Message Date
Michael Mayer
026563ebad Upgrade Go mod dependencies 2019-05-01 07:40:38 +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
f242f117f4
Add contributors badge 2019-04-29 17:20:33 +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
Michael Mayer
7ddfb6d9dc Add donations to SPONSORS.md 2019-04-28 13:24:38 +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
ae54bf55f8 Set MySQL version to 8.0.16 for DEV and CI, see #106 2019-04-26 04:12:55 +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
Michael Mayer
c157020dca Docker: Upgraded Go, TensorFlow and TiDB 2019-04-18 06:33:34 +02:00
Theresa Gresch
8d73d38246 Added designs for albums, import, tags and photos 2019-04-15 11:06:49 +02:00
Sebastian Kunert
9a00403aff Integrate PhotoSwipe as photo viewer (#96)
* Implement photoswipe

* - Make images fit correctly in lightbox mode
- Use photoswipe also for detail view

* Add responsive image resizing

* Clean up code

* Remove old viewer code

* Move lightbox to bottom

* Move images with sizes to computed properties

* Remove unnecessary formatting
2019-02-11 22:55:29 +01: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
085b56788f Docs: Replace Patreon with Liberapay 2019-01-09 06:54:02 +01:00
Michael Mayer
b4c7339308
Docs: Add liberapay badge 2019-01-09 06:38:56 +01:00
Michael Mayer
a045837865
Docs: Move badges for developers to Wiki 2019-01-09 06:03:03 +01:00
Michael Mayer
608e9e7e2f Docs: Add badge for new Gitter chat 2019-01-09 02:39:14 +01:00
Michael Mayer
2f30429132 Docs: Add contributing guidelines 2019-01-09 02:09:52 +01:00
Michael Mayer
6729597b5d
Update SPONSORS.md 2019-01-07 02:49:41 +01:00
Michael Mayer
95b041e25f Add error handling for ExpandedFilename(), see #89 2019-01-03 05:45:54 +01:00
Michael Mayer
30828d37ed
Update README.md 2019-01-03 03:36:24 +01:00
Michael Mayer
6cf39ebd67
Add Liquid Bytes as sponsor 2018-12-28 22:32:33 +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
335c8cc1f3
Added link to related project 2018-12-22 19:44:33 +01:00
Michael Mayer
60aa3cc013
Change label for funded issues 2018-12-22 17:38:03 +01:00
Michael Mayer
a6fd800558
Update SPONSORS.md 2018-12-22 15:44:51 +01:00
Michael Mayer
2a17d5d064
Add link to IssueHunt 2018-12-21 13:09:53 +01:00
Michael Mayer
f2a7f4ec44
Update README.md 2018-12-21 09:11:39 +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