Commit graph

334 commits

Author SHA1 Message Date
Theresa Gresch
ce395279c0 Add tests for session.js 2019-08-09 09:38:02 +02:00
Theresa Gresch
ccf6d341d1 Adapt global coverage thresholds 2019-08-08 17:52:06 +02:00
Theresa Gresch
0b54482aaa Adapt coverage thresholds per file 2019-08-08 17:51:24 +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
f7866ed41b Add karma-coverage-istanbul-reporter and babel-plugin-istanbul to package.json 2019-07-24 10:07:15 +02:00
Theresa Gresch
a7eaa83920 Create .babelrc 2019-07-24 10:04:58 +02:00
Theresa Gresch
aae1aae8ea Add coverage Istanbul Reporter to karma configuration 2019-07-24 10:04:17 +02:00
Michael Mayer
ed2c9a9829 Frontend: Remove "karma-webdriver-launcher" 2019-07-15 22:19:42 +02:00
Michael Mayer
cacf326997 Upgrade JS dependencies: vuetify, webpack, babel, karma & eslint 2019-07-15 20:38:14 +02:00
Michael Mayer
f5d5dbe25e Upgrade lodash to ^4.17.14 2019-07-14 21:14:21 +02:00
Michael Mayer
8fe9b6e4f8 Upgrade JS dependencies (security patches) 2019-07-14 19:14:54 +02:00
Michael Mayer
d4526bedd2 Read-only mode: Disable upload & import in frontend and show info #56 2019-07-02 23:01:56 +02:00
Theresa Gresch
287c6df29f Add selector timeout (shorter than the default one) to test commands 2019-07-02 22:05:48 +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
Michael Mayer
e1d29132ba Close delete dialog after pressing "esc" 2019-06-30 02:54:56 +02:00
Michael Mayer
8ac256289c Move dialogs to separate dialog/ directory 2019-06-30 02:52:12 +02:00
Michael Mayer
8836b84d89 Delete dialog: Code clean-up and optimizations 2019-06-30 02:44:37 +02:00
Theresa Gresch
775cfd61f3 Refine spacing of dialog component 2019-06-28 14:42:50 +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
9351a85b61 Add descriptive classes to scroll to top component and use dialog component for deletion confirmation 2019-06-27 17:03:36 +02:00
Theresa Gresch
2bb2dbdc02 Add descriptive classes to photo-viewer component and use dialog component for deletion confirmation 2019-06-27 17:03:16 +02:00
Theresa Gresch
fb6ddf9ea7 Add descriptive classes to clipboard component for testing 2019-06-27 17:02:39 +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
c754545f6b Create dialog component in 3 versions 2019-06-27 16:58:44 +02:00
Theresa Gresch
b19c73e315 Add dialog component to component.js 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
42d344b4b5 Frontend: Change story icon 2019-06-18 08:50:20 +02:00
Michael Mayer
dd10265ae8 Frontend: Add story toggle button to clipboard menu 2019-06-18 07:28:30 +02:00
Michael Mayer
df5aa57e68 Albums: Code clean-up and small fixes #15 2019-06-18 06:37:10 +02:00
Michael Mayer
94d670a277 Frontend: Disable experimental "pull to refresh" because of bugs 2019-06-18 02:23:06 +02:00
Michael Mayer
55ec4e5053 Frontend: Add experimental "pull to refresh" component 2019-06-18 01:27:14 +02:00
Michael Mayer
6c6e20ec2a Frontend: Upgrade dependencies 2019-06-18 01:26:36 +02:00
Michael Mayer
bcf59266d8 Frontend: Change upload success message to "Upload complete" 2019-06-17 23:40:10 +02:00
Theresa Gresch
5f63f2999c Implement first album functionality 2019-06-17 21:45:06 +02:00
Michael Mayer
499057d81e Frontend: Hide refresh button instead of view type on xs devices 2019-06-16 14:16:44 -07:00
Theresa Gresch
bcf8f55769 Frontend: Improve scroll to top UX 2019-06-16 23:07:37 +02:00
Michael Mayer
7891562826 Frontend: Smaller font for not found message 2019-06-16 06:19:48 -07:00
Michael Mayer
b88933dac5 Frontend: Add "scroll to top" button 2019-06-16 06:12:57 -07:00
Michael Mayer
15b6e8dac5 Frontend: Scroll toolbar off screen 2019-06-15 20:32:30 -07:00
Michael Mayer
2d6dd203e7 Frontend: Flat design for all components 2019-06-15 19:22:18 -07:00
Michael Mayer
a1baa569d5 Frontend: Reduce alert display durations 2019-06-15 19:06:26 -07:00
Michael Mayer
ba7820dccc Frontend: Reduce elevation to 10 for selected photos 2019-06-15 19:02:45 -07:00
Michael Mayer
91c66824b8 Frontend: Add view change buttons 2019-06-15 18:59:36 -07:00
Michael Mayer
862253e3ec Frontend: Flat design for detail, mosaic and tiles view 2019-06-15 18:36:42 -07:00
Michael Mayer
659690b594 Frontend: Reorder navigation items 2019-06-15 18:24:02 -07: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
9387b8e3e8 Frontend: Add refresh button and automatically close search details on small devices 2019-06-15 14:37:29 -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
f57eea8d76 Frontend: Change wording on upload page 2019-06-15 10:08:14 -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
6e25a661c1 Frontend: Show indeterminate progress while indexing upload 2019-06-14 13:29:46 -07:00
Michael Mayer
2005da9a25 Rename "Import" to "Library" and add tabs to page 2019-06-14 12:16:59 -07:00
Michael Mayer
2ae35b0d8b Frontend: Hide message if no files were selected for upload 2019-06-13 17:18:06 -07:00
Michael Mayer
18f1b4bf4a Frontend: Improve import page layout 2019-06-13 17:15:46 -07:00
Michael Mayer
60e9346f08 Proof-of-concept for upload & import 2019-06-13 11:26:01 -07:00
Michael Mayer
3433199c08 Frontend: Improve label result layout 2019-06-09 12:20:28 +02:00
Michael Mayer
66a17ab3b0 Frontend: Reduce number of example search filters 2019-06-09 11:32:19 +02:00
Michael Mayer
a354e24f2a Frontend: Fix for refresh after page change 2019-06-09 08:54:57 +02:00
Michael Mayer
971135f782 Frontend: Rename export to share and some code clean-up 2019-06-09 05:20:23 +02:00
Michael Mayer
8642b6f664 Proof-of-concept for labels and search filters 2019-06-09 04:37:02 +02:00
Michael Mayer
ec0eb4d59c Increase max js / css asset size in webpack.config.js 2019-06-07 00:54:15 +02:00
Michael Mayer
c230de6b2b Add time zone info to photos (if available) 2019-06-07 00:04:34 +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
c501abe932 Improve photo classification, indexing, titles & location info 2019-06-05 10:18:03 +02:00
Theresa Gresch
906628e348 Add test for favorites page 2019-06-04 11:02:28 +02:00
Michael Mayer
a5888f9fe2 Frontend: Less verbose output for JS unit tests (no webpack debug info) 2019-06-03 23:44:48 +02:00
Michael Mayer
a8716fad88 Frontend: Upgrade JS dependencies and lock file 2019-06-03 16:42:04 +02:00
Michael Mayer
ac435f7cd7 Frontend: Remove bookmarks from navigation 2019-06-03 15:34:23 +02:00
Michael Mayer
1e0d309148 Frontend: Upgrade axios to fix security issue 2019-06-03 15:32:04 +02:00
Michael Mayer
3864d35e42 Frontend: Remember photo view type in localStorage 2019-05-30 09:49:35 +02:00
Michael Mayer
548396f225 Frontend: More reliable infinite scrolling after view change 2019-05-30 02:18:01 +02:00
Michael Mayer
ec0559136b Frontend: Always show marker on map, if query contains lat & long 2019-05-30 02:02:47 +02:00
Michael Mayer
89b1858f3b Frontend: Favorites page based on photos page component 2019-05-29 01:51:53 +02:00
Michael Mayer
fd45769900 Frontend: Rename refreshList() to search() and fix formChange() in places 2019-05-29 00:28:16 +02:00
Michael Mayer
177f71612d Frontend: Rename tags page to labels 2019-05-28 03:49:44 +02:00
Michael Mayer
fcb4d58f6a Frontend: Rename register.js to components.js 2019-05-28 02:50:22 +02:00
Michael Mayer
824c523765 Frontend: Use meta.area as toolbar title (mobile) 2019-05-28 02:48:02 +02:00
Michael Mayer
b5678c0e8d Frontend: Add karma-verbose-reporter 2019-05-28 01:29:39 +02:00
Michael Mayer
aad81e50ff Frontend: Dependency upgrades and config clean-up 2019-05-28 01:18:27 +02:00
Michael Mayer
573e879f08 Frontend: Spacer toolbar must be transparent (mobile) 2019-05-22 15:15:56 +02:00
Michael Mayer
d31305a503 Move static assets from public/ to static/ for clearer structure 2019-05-22 13:55:11 +02:00
Michael Mayer
4193c575ea Frontend: Fix for click handler in list view #15 2019-05-22 09:37:48 +02:00
Michael Mayer
2e4f2d0966 Frontend: Add photo clipboard component and refactor photos page #15 2019-05-21 17:59:12 +02:00
Michael Mayer
944ba01109 Frontend: Add photo search form component #15 2019-05-21 17:47:27 +02:00
Theresa Gresch
d48496839a Cleans up and adds acceptance tests 2019-05-21 17:00:46 +02:00
Michael Mayer
280444022f Frontend: Use $clipboard methods directly instead of props #15 2019-05-21 13:44:06 +02:00
Michael Mayer
4486e8b517 Frontend: Fix for top navigation on mobile (small screen) 2019-05-21 13:42:48 +02:00
Michael Mayer
65648450a4 Frontend: Add global clipboard for photo selection #15 2019-05-21 11:54:39 +02:00
Michael Mayer
1d2e0faf36 Frontend: Use disabled instead if v-if for menu #15 2019-05-21 10:19:48 +02:00
Michael Mayer
493df99133 Frontend: Code clean-up on photos page #15 2019-05-21 02:47:48 +02:00
Michael Mayer
3ac22ab105 Frontend: Add clear button to photo menu #15 2019-05-21 02:27:08 +02:00
Michael Mayer
3877b1c5f8 Frontend: Fix and improve list view #15 2019-05-21 01:39:52 +02:00
Michael Mayer
97411781da Frontend: Use existing query results if only view type changes 2019-05-20 23:22:34 +02:00
Michael Mayer
7490ee5b51 Fix firefox running in Docker by setting /dev/shm size to 2gb 2019-05-20 20:36:31 +02:00
Michael Mayer
6670bb30de Fix frontend tests 2019-05-20 20:06:26 +02:00
Michael Mayer
68b79081b3 Frontend: Refactor photo selection #15 2019-05-20 19:30:32 +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
Michael Mayer
e49934ef40 Frontend: Refactor photo selection #15 2019-05-20 18:38:08 +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
d9916c89a2 Frontend: Add classes for navigation testing #15 2019-05-20 11:10:03 +02:00
Michael Mayer
da954ad2b9 Frontend: Add classes to navigation sidebar and toolbar #15 2019-05-20 10:53:29 +02:00
Michael Mayer
137a073e35 Frontend: Use p-page-* classes for pages #15 2019-05-19 20:24:56 +02:00
Michael Mayer
a607fb6c1e Frontend: Rename Gallery to Viewer #15 2019-05-19 20:13:19 +02:00
Michael Mayer
9a66822c6c Frontend: Refactor CSS #15 2019-05-19 19:57:10 +02:00
Michael Mayer
68c4810f17 Frontend: Refactor PPhotoViewer (code clean-up) #15 2019-05-19 19:17:58 +02:00
Michael Mayer
9061a4a683 Frontend: Move css to app directory #15 2019-05-19 19:06:37 +02:00
Michael Mayer
5accd629d2 Use "p-" prefix for PhotoPrism frontend components #15 2019-05-19 18:58:30 +02:00
Michael Mayer
5c69939966 Use "p-" prefix for PhotoPrism frontend components #15 2019-05-19 18:19:41 +02:00
Michael Mayer
e855262bb2 Use components for photo details, list, mosaic and tile view #15 2019-05-19 17:52:23 +02:00
Michael Mayer
f9c553acb4 Add link from detail view to places search 2019-05-16 12:49:30 +02:00
Michael Mayer
ed4b06d5c3 Add camera make to camera info in detail view 2019-05-16 12:24:13 +02:00