Commit graph

351 commits

Author SHA1 Message Date
Michael Mayer 989ca0d5f0 Frontend: Handle logout using event
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-23 15:09:25 +01:00
Theresa Gresch 711c34b3dc Add acceptance test for login (#150) 2019-11-21 18:56:11 +01:00
Michael Mayer 696b1230a6 JSON config files for settings page
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-17 14:24:48 +01:00
Michael Mayer 50a3dab447 Upgrade chart.js
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-17 08:44:02 +01:00
Michael Mayer 1547ee2145 Refactor clientConfig (frontend configuration)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-17 06:21:43 +01:00
Michael Mayer 7dc3d8d871 Detect protocol for websocket
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-17 04:07:38 +01:00
Michael Mayer 5a85fe9f83 Save and load settings to / from settings.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-17 03:08:13 +01:00
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