Commit graph

220 commits

Author SHA1 Message Date
Theresa Gresch
956a8e6d41 Frontend: Add tests for thumb.js 2020-07-02 15:41:24 +02:00
Theresa Gresch
a0098df318 Frontend: Add tests for file.js 2020-07-02 14:15:48 +02:00
Theresa Gresch
266371de43 Frontend: Remove logs from tests 2020-07-02 12:57:32 +02:00
Theresa Gresch
b5b1473a86 Frontend: Add tests for folder.js 2020-07-02 12:53:19 +02:00
Theresa Gresch
f18a57ee2f Frontend: Add tests for link.js 2020-07-02 12:52:50 +02:00
Theresa Gresch
beea34a919 Frontend: Add tests for folder.js 2020-07-02 12:52:50 +02:00
Theresa Gresch
c179cce291 Frontend: Refactor tests 2020-07-02 10:03:00 +02:00
Theresa Gresch
a9efb35d13 Frontend: Add tests for session.js 2020-07-02 10:02:21 +02:00
Michael Mayer
aae3a4af2d Show warning if websocket connection fails #330
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-01 18:37:54 +02:00
Theresa Gresch
8b25ad565c Frontend: Add tests for link.js 2020-07-01 18:28:56 +02:00
Theresa Gresch
f87f349151 Frontend: Add tests for account.js 2020-07-01 17:24:24 +02:00
Theresa Gresch
127d13a7fd Frontend: Add tests for photo.js 2020-07-01 16:50:28 +02:00
Theresa Gresch
6ccc4178fa Frontend: Add tests for photo.js 2020-07-01 16:16:47 +02:00
Theresa Gresch
994cf595e4 Frontend: Add tests for photo.js 2020-07-01 14:49:12 +02:00
Theresa Gresch
c85ff1b5b7 Frontend: Add tests for photo.js 2020-07-01 12:04:09 +02:00
Theresa Gresch
b12f916e69 Frontend: Add tests 2020-06-30 16:53:21 +02:00
Theresa Gresch
9003a63b3b Frontend: Add tests for notify.js and clipboard.js 2020-06-30 14:29:54 +02:00
Michael Mayer
0353c18f83 Frontend: Fix rest model test
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-30 11:41:42 +02:00
Theresa Gresch
dd03671bc6 Frontend: Add tests for notify.js 2020-06-29 13:21:58 +02:00
Theresa Gresch
3cada728d8 Frontend: Add tests for session.js and notify.js 2020-06-29 13:21:58 +02:00
Theresa Gresch
4f8b3fd97c Frontend: Add tests for session.js 2020-06-29 13:21:57 +02:00
Theresa Gresch
6818845462 Frontend: Add tests for util.js 2020-06-29 09:37:57 +02:00
Theresa Gresch
e6bb13240d Frontend: Adapt test url to new port 2020-06-28 14:48:08 +02:00
Theresa Gresch
80a4047a3a Frontend: Update labels test 2020-06-26 16:43:52 +02:00
Theresa Gresch
ebabd7d8cf Frontend: Add acceptance test for sharing 2020-06-26 16:43:52 +02:00
Theresa Gresch
1cd55c5896 Frontend: Adapt acceptance tests to changes 2020-06-25 16:16:00 +02:00
Michael Mayer
5d59b50912 Sharing: ACL authorization for REST API #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-25 14:54:04 +02:00
Michael Mayer
1f1f92408a Sharing: Token authentication #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-25 01:20:58 +02:00
Theresa Gresch
a529e7bf2b Frontend: Refactor acceptance tests 2020-06-23 13:07:33 +02:00
Theresa Gresch
95c958a142 Frontend: Add acceptance tests 2020-06-05 18:12:43 +02:00
Theresa Gresch
8f421f6864 Frontend: Update acceptance tests 2020-06-05 18:12:42 +02:00
Theresa Gresch
e80435a8ec Frontend: Update acceptance tests 2020-06-05 18:12:42 +02:00
Theresa Gresch
15d8e2bb3b Frontend: Add acceptance tests 2020-06-05 18:12:42 +02:00
Theresa Gresch
73c4891cde Frontend: Add acceptance test 2020-06-04 11:11:26 +02:00
Theresa Gresch
f1b84c4c88 Frontend: Add acceptance tests 2020-06-04 08:06:17 +02:00
Theresa Gresch
49fb38b1df Frontend: Add acceptance tests 2020-06-03 08:54:09 +02:00
Theresa Gresch
0dc340e55d Frontend: Add acceptance tests 2020-06-03 08:54:09 +02:00
Theresa Gresch
a8ae54a886 Frontend: Add acceptance tests 2020-06-01 17:04:54 +02:00
Theresa Gresch
2adf5fe32b Frontend: Add acceptance tests 2020-06-01 17:04:54 +02:00
Theresa Gresch
12efe82fbf Frontend: Add acceptance tests 2020-06-01 17:04:54 +02:00
Theresa Gresch
ad9167360d
Feature/246 (#345)
* Import: Implement "add to album" in backend #246

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Import: Implement "add to album" in frontend #246

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Add OriginalName to photo search result

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Add json tags to PhotoName and PhotoPath

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Photo: Use EstimateCountry() in UpdateLocation()

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Photo: Set OriginalName earlier while indexing

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Ignore whitespace when stripping sequence from filename #335

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Fix labels count for SQLite

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Import: Show name of new albums #246

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Frontend: Add acceptance test files

Co-authored-by: Michael Mayer <michael@liquidbytes.net>
2020-06-01 09:45:24 +02:00
Michael Mayer
b1f7cb4264 Frontend: Improve navigation and fix unit tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 12:52:41 +02:00
Michael Mayer
37ee277599 Frontend: Fix albums view
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 02:33:18 +02:00
Theresa Gresch
4cf06a795f Frontend: Add/refactor acceptance tests 2020-05-28 18:00:54 +02:00
Theresa Gresch
5749b93e0c Frontend: Add/refactor acceptance tests 2020-05-28 17:59:57 +02:00
Theresa Gresch
e65b12ed7a Frontend: Add/Refactor acceptance tests 2020-05-28 16:36:40 +02:00
Theresa Gresch
6c6224a7e8 Frontend: Add/Refactor acceptance tests 2020-05-28 16:36:39 +02:00
Theresa Gresch
57030d3cc7 Frontend: Add/Refactor acceptance tests 2020-05-28 16:36:39 +02:00
Michael Mayer
94846c2337 Rename ThumbToken to PreviewToken
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-27 19:56:56 +02:00
Michael Mayer
6f6e3799dc Refactor download urls and client config
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-27 19:38:40 +02:00
Michael Mayer
10d5f433aa Albums/Folders: Add category, country, year & month columns #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-26 09:02:19 +02:00
Michael Mayer
2156afd85a File browser: Implement clipboard; refactor entities and fixtures #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-25 19:10:44 +02:00
Michael Mayer
4421e7d203 Add simple file browser to Library #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-24 22:16:06 +02:00
Michael Mayer
03ec4b586d Initial commit for folders and moments #154 #260 #331
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-23 20:58:58 +02:00
Michael Mayer
f9b6952947 Support for Live Photos #177
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-21 13:26:28 +02:00
Michael Mayer
882340a14c Refactor string clipping in frontend & backend
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-26 14:31:33 +02:00
Michael Mayer
3a257684bd Frontend: Add thumb model (photo viewer refactoring)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-21 16:34:43 +02:00
Michael Mayer
855781658b Add library settings #283
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-14 13:13:45 +02:00
Michael Mayer
2f48dae860 Frontend: First draft for an edit dialog #212 #217
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-24 00:45:59 +01:00
Michael Mayer
2f4840f9c2 Only send full clientConfig if authenticated #216
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-23 07:39:04 +01:00
Michael Mayer
2794fec513 Fix JS session test #216
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-22 17:07:50 +01:00
Michael Mayer
abeb2d16f8 Frontend: Fix acceptance tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-20 12:36:12 +01:00
Michael Mayer
fb82749447 Frontend: Change sort order defaults
See https://twitter.com/browseyourlife/status/1213498860133343234

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-06 00:16:16 +01:00
Michael Mayer
b3f8fb76bf Frontend: Disable tile view for simplicity
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 21:31:14 +01:00
Michael Mayer
ca8cfffc24 Backend: Prepare database for advanced filtering and grouping #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 20:24:20 +01:00
Michael Mayer
366c70d992 Optimize performance and data structures
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-27 05:18:52 +01:00
Michael Mayer
1e7c0c2435 Backend: Improve location hashing and categories
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-20 23:05:44 +01:00
Michael Mayer
f3cf300590 Backend: Refactor location entity and indexer
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-20 20:23:16 +01:00
Michael Mayer
1cc8cefc92 Labels: Add cache, fix bugs & improve SQL queries
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-16 23:33:52 +01:00
Michael Mayer
1621cd35b1 Update acceptance test suite
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-10 19:56:32 +01:00
Michael Mayer
2c95d73520 Albums: Add photos by UUID #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-04 15:14:04 +01:00
Michael Mayer
e1a6e5da87 Frontend: Disable login test until auth is complete #150
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-01 16:55:00 +01:00
Theresa Gresch
711c34b3dc Add acceptance test for login (#150) 2019-11-21 18:56:11 +01:00
Michael Mayer
2c3d6070cc Code clean-up: Rename alert to notify
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-16 23:55:56 +01:00
Michael Mayer
aebbb17a53 Update client config after upload, import or index
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-16 23:22:50 +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
cdb7134b80 Frontend: Use public flag to disable auth #16
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-11 22:14:34 +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
0f47c84138 Implement time zone support for "TakenAt"
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-09-19 14:23:39 -07:00
Theresa Gresch
ac81d375c6 Correct datetime value in album test 2019-08-14 13:20:51 +02:00
Theresa Gresch
c9bfb82619 Correct datetime value in label test 2019-08-14 13:20:36 +02:00
Theresa Gresch
94633ba65c Correct datetime value in label test 2019-08-14 13:20:24 +02:00
Theresa Gresch
4cd0bcff05 Add tests for alert.js 2019-08-13 11:35:26 +02:00
Theresa Gresch
74f63135e9 Add assertion for logs to clipboard test 2019-08-13 11:34:11 +02:00
Theresa Gresch
891ccdf016 Add test for api.js 2019-08-13 09:45:10 +02:00
Theresa Gresch
38ce81731b Use chai assert for config test 2019-08-13 08:11:22 +02:00
Theresa Gresch
c0c1a5c607 Use chai assert for form test 2019-08-13 08:11:06 +02:00
Theresa Gresch
89ca6fb19f Use chai assert for session test 2019-08-13 08:10:51 +02:00
Theresa Gresch
3ac20c8515 Use chai assert for viewer test 2019-08-13 08:10:36 +02:00
Theresa Gresch
2dcd7d8f83 Use chai assert for user test 2019-08-13 08:10:12 +02:00
Theresa Gresch
c230f1fd5d Use chai assert for photo test 2019-08-13 08:09:55 +02:00
Theresa Gresch
2230035eb1 Use chai assert for label test 2019-08-13 08:09:38 +02:00
Theresa Gresch
c090393148 Use chai assert for album test 2019-08-13 08:09:10 +02:00
Theresa Gresch
fd2d0542ad Use chai assert for clipboard test 2019-08-13 08:01:49 +02:00
Theresa Gresch
408c7d0d49 Add test for abstract.js 2019-08-13 08:01:16 +02:00
Theresa Gresch
97bb8e6bdf Remove unused test 2019-08-12 15:30:52 +02:00
Theresa Gresch
0552654d4d Add tests for abstract.js 2019-08-12 15:20:28 +02:00
Theresa Gresch
87d9f1fd99 Use mock.reset() in test for session.js 2019-08-12 13:00:41 +02:00
Theresa Gresch
9a0a2e2c51 Use mock.reset() in test for config.js 2019-08-12 13:00:13 +02:00
Theresa Gresch
ff904a2ab6 Add tests for user model 2019-08-12 12:59:32 +02:00