Commit Graph

394 Commits

Author SHA1 Message Date
Michael Mayer
53078f41a0 Frontend: Run import / index in background (cancel request)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-17 02:11:27 +01:00
Michael Mayer
98cb0b2c28 Improve notifications for import / index
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-17 00:55:40 +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
64868c81b3 Frontend: Sort imports in app.js
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-16 22:41:14 +01:00
Michael Mayer
bf68f7cffb Fix clipboard component
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-16 18:33:54 +01:00
Michael Mayer
c602ce82b8 Fix upload page
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-16 17:48:51 +01:00
Michael Mayer
65f084193e Add event hub & websocket for push notifications
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-16 16:06:34 +01:00
Michael Mayer
9b03cc4d6d Frontend: Add title attr to photo tiles & mosaic view
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-12 17:13:28 +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
0becb8a92d Stub for settings page & api
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-12 04:34:37 +01:00
Michael Mayer
fa3f8ce32b Frontend: Remove deprecated test pages
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-11 22:35:05 +01:00
Michael Mayer
5cb0f6b723 Hide events and people in navigation (until they are ready)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-11 22:28:40 +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
a14b74dfa6 Config: Add public flag to disable auth #16
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-11 21:10:41 +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
8557c298d0 Add stub for login page #16
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-07 18:06:50 +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
Michael Mayer
47aaa2803b Frontend: Upgrade JS dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-09-19 09:26:08 -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
8604001e94 Adapt coverage tresholds in karma.conf.js 2019-08-14 13:19:50 +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
1fa5cf5eb4 Add sinon 2019-08-13 11:33:47 +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
1c3435a8a2 Adapt code coverage configuration 2019-08-12 10:27:08 +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
2911561b23 Fix setValues function in config.js 2019-08-09 11:43:47 +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
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