Commit graph

328 commits

Author SHA1 Message Date
Theresa Gresch
c8d0d94990 Frontend: Add tests for rest.js 2020-07-03 18:13:39 +02:00
Theresa Gresch
0f766a8bde Frontend: Add tests for photo.js 2020-07-03 17:29:30 +02:00
Theresa Gresch
fd1f03c5be Frontend: Add tests for photo.js 2020-07-03 17:24:48 +02:00
Theresa Gresch
ccdc709e8e Frontend: Add tests for thumb.js 2020-07-03 16:40:31 +02:00
Theresa Gresch
ae97dbaf7e Frontend: Add tests for file.js 2020-07-03 16:40:16 +02:00
Theresa Gresch
395b5608f1 Frontend: Adapt tests for link.js 2020-07-03 15:40:51 +02:00
Theresa Gresch
5aea2c883b Frontend: Adapt acceptance tests to changes 2020-07-03 15:39:38 +02:00
Theresa Gresch
4d5c9a61b2 Frontend: Adapt acceptance tests to changes 2020-07-03 14:48:43 +02:00
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
Theresa Gresch
0548810d5c Add tests for session.js 2019-08-12 10:26:26 +02:00
Theresa Gresch
a438ab73c5 Remove unnecessary test from photo model test 2019-08-09 16:03:14 +02:00
Theresa Gresch
3f36652e57 Remove unnecessary test from label model test 2019-08-09 16:02:21 +02:00
Theresa Gresch
81a41ffffb Remove unnecessary test from album model test 2019-08-09 16:02:00 +02:00
Theresa Gresch
db83ac7bc2 Add test for config,js 2019-08-09 16:00:52 +02:00
Theresa Gresch
9112d30711 Add tests for photo model 2019-08-09 13:50:07 +02:00
Theresa Gresch
9b07fba5eb Add tests for label model 2019-08-09 13:43:47 +02:00
Theresa Gresch
e7a1fa45b0 Add tests for album model 2019-08-09 13:43:29 +02:00
Theresa Gresch
5bd0ffa56c Add tests for album model 2019-08-09 13:31:56 +02:00
Theresa Gresch
7edc441f96 Add test for config.js 2019-08-09 11:53:11 +02:00
Theresa Gresch
00a6de27cd Add tests for abstract model 2019-08-09 10:54:05 +02:00
Theresa Gresch
2652dabb08 Add test for get date string function to label model test 2019-08-09 10:34:08 +02:00
Theresa Gresch
91ed38dc5f Add test for get date string function to album model test 2019-08-09 10:33:49 +02:00
Theresa Gresch
c4006d8910 Add tests for user model 2019-08-09 10:24:20 +02:00
Theresa Gresch
3c51bc989d Add tests for user model 2019-08-09 10:22:04 +02:00
Theresa Gresch
3c19e68568 Add tests for session.js 2019-08-09 10:12:48 +02:00
Theresa Gresch
ce395279c0 Add tests for session.js 2019-08-09 09:38:02 +02:00
Theresa Gresch
6dde038ad9 Remove console log from album test 2019-08-08 17:49:10 +02:00
Theresa Gresch
e3b9f7b8c0 Remove console log from label test 2019-08-08 17:48:40 +02:00
Theresa Gresch
410b7c6d61 Add test for viewer.js 2019-08-08 17:46:06 +02:00
Theresa Gresch
d2f7a14fa9 Add tests for clipboard.js 2019-08-08 17:19:04 +02:00
Theresa Gresch
422fa9f115 Remove console log from photos.js test 2019-08-08 17:16:07 +02:00
Theresa Gresch
eceaa1db13 Add tests for clipboard.js 2019-08-08 17:02:15 +02:00
Theresa Gresch
d409ea56d3 Add tests for clipboard.js 2019-08-08 16:47:42 +02:00
Theresa Gresch
db50a01954 Add tests for photos.js 2019-08-07 14:16:37 +02:00
Theresa Gresch
0ed8d3235d Add tests for photos.js 2019-08-07 12:27:57 +02:00
Theresa Gresch
e3b4eca77a Add tests for photos.js 2019-08-07 12:18:04 +02:00
Theresa Gresch
1aab166b79 Add tests for photo.js 2019-08-06 16:11:30 +02:00
Theresa Gresch
0f6be6eec5 Add tests for album.js 2019-07-28 18:46:24 +02:00
Theresa Gresch
4a3f08450a Add tests for labels.js 2019-07-28 18:40:33 +02:00
Theresa Gresch
a4af384a2e Add tests for label.js 2019-07-28 17:51:27 +02:00
Theresa Gresch
46eb99bc0f Add test for form.js 2019-07-26 08:41:39 +02:00
Theresa Gresch
9516a2e1e6 Use page model functions in story test 2019-07-02 18:17:16 +02:00
Theresa Gresch
a52683429a Use page model functions in private test 2019-07-02 18:17:07 +02:00
Theresa Gresch
ec6a484d15 Use page model functions in photos test 2019-07-02 18:16:55 +02:00
Theresa Gresch
bf2f81e95d Use page model functions in favorites test 2019-07-02 18:16:43 +02:00
Theresa Gresch
f6493fa254 Add custom functions to page model 2019-07-02 18:16:11 +02:00
Michael Mayer
3655ebf9d8 Use daemon server mode to run acceptance tests #58 2019-06-30 05:38:39 +02:00
Theresa Gresch
d4a399d06e Add test for story flag functionality 2019-06-27 17:04:56 +02:00
Theresa Gresch
6063b7b153 Add test for scroll to top functionality 2019-06-27 17:04:35 +02:00
Theresa Gresch
54cd378d75 Add test for toggle private flag functionality 2019-06-27 17:04:10 +02:00
Theresa Gresch
c60db43b4c Add test for clear clipboard functionality 2019-06-27 17:02:02 +02:00
Theresa Gresch
813ecebf6b Improve search test by waiting for response body of xhr requests to confirm that they finished 2019-06-27 17:01:12 +02:00
Theresa Gresch
d2ebe1e915 Improve favorites test by waiting for response body of xhr requests to confirm that they finished 2019-06-27 17:00:47 +02:00
Theresa Gresch
b332be4c0d Improve filter test by waiting for response body of xhr requests to confirm that they finished 2019-06-27 17:00:20 +02:00
Theresa Gresch
6d27e34d3d Add descriptive classes to clipboard component and use dialog component for deletion confirmation 2019-06-27 16:58:44 +02:00
Theresa Gresch
644e930575 Replaced ids from acceptance tests with descriptive classes 2019-06-25 14:55:46 +02:00
Theresa Gresch
6576f4e2af Improve test for views 2019-06-22 15:41:44 +02:00
Theresa Gresch
dec718aa82 Improve test for search 2019-06-22 15:14:47 +02:00
Theresa Gresch
14e6a9afaa Improve test for places 2019-06-22 15:14:32 +02:00
Theresa Gresch
74e838c391 Improve page model 2019-06-22 15:13:52 +02:00
Theresa Gresch
77ab003716 Improve test for navigation 2019-06-22 15:13:23 +02:00
Theresa Gresch
871728802b Improve test for filters 2019-06-22 15:13:00 +02:00
Theresa Gresch
3797830165 Improve test for favorites 2019-06-22 15:11:45 +02:00
Theresa Gresch
3a576d56d7 Improve test for filters 2019-06-21 10:52:19 +02:00
Theresa Gresch
97c0894d9a Revert "Improve filter test by adding check for expected response status code"
Revert committing package.json

This reverts commit f1bfbf224e.
2019-06-20 16:24:32 +02:00
Theresa Gresch
b2ed847da9 Improve test for selecting and unselecting photos 2019-06-20 16:17:43 +02:00
Theresa Gresch
3d92990215 Improve test for liking and disliking photos 2019-06-20 14:38:22 +02:00
Theresa Gresch
f1bfbf224e Improve filter test by adding check for expected response status code 2019-06-20 14:08:42 +02:00
Theresa Gresch
56ed571b42 Improve search test by adding check for expected response status code 2019-06-20 13:46:58 +02:00
Michael Mayer
8642b6f664 Proof-of-concept for labels and search filters 2019-06-09 04:37:02 +02:00
Theresa Gresch
906628e348 Add test for favorites page 2019-06-04 11:02:28 +02:00
Michael Mayer
177f71612d Frontend: Rename tags page to labels 2019-05-28 03:49:44 +02:00
Michael Mayer
2e4f2d0966 Frontend: Add photo clipboard component and refactor photos page #15 2019-05-21 17:59:12 +02:00
Theresa Gresch
d48496839a Cleans up and adds acceptance tests 2019-05-21 17:00:46 +02:00
Michael Mayer
6670bb30de Fix frontend tests 2019-05-20 20:06:26 +02:00
Theresa Gresch
f05e07d1d6 Renames p-navigation-open to p-navigation-show, adds first testcafe tests and configuration, Moves unit tests into unit folder, Adds make test-acceptance command 2019-05-20 19:02:29 +02:00
Radu
5b99b3512e Fixed JS unit tests (#73)
* Fixed chai tests
* Removed result.html from git
* Ignoring result.html from git
* Added tests for form.js, along with type enumeration and type testing
2018-11-27 22:43:32 +01:00
Michael Mayer
801b680f12 Major search API and database refactoring 2018-09-12 16:37:30 +02:00
Michael Mayer
fcddb5ddfe Implemented frontend proof of concept with Webpack and VueJS 2018-07-27 17:31:39 +02:00