Commit graph

411 commits

Author SHA1 Message Date
Michael Mayer
b74c32b5f2 Albums: Show progress bar #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-08 18:19:58 +01:00
thielepaul
3edf49bacd Frontend: fix lazy loading for albums (#155) 2019-12-08 18:16:05 +01:00
Michael Mayer
c796431e1b Faster keyword search (proof-of-concept)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-08 15:05:35 +01:00
Michael Mayer
f4d6b8c7ad Albums: Refactor components #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-08 10:21:41 +01:00
Michael Mayer
661f1bfa9b Albums: Select, delete & download #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-06 16:47:30 +01:00
Michael Mayer
fa17ff59eb Frontend: Improve date picker in search
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-06 11:10:26 +01:00
Michael Mayer
34ef9e5bfe Frontend: Refactored date picker in photo search form
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-06 01:57:16 +01:00
thielepaul
317c4dd553 Frontend: add search by date (#151) 2019-12-05 21:48:54 +01:00
Michael Mayer
47450cad91 Albums: Download single file #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-05 21:06:53 +01:00
Michael Mayer
e87759b139 Albums: Hide empty clipboard #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-05 20:34:23 +01:00
Michael Mayer
25d0e92036 Albums: Zip download #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-05 19:21:35 +01:00
Michael Mayer
a7ef85c467 Albums: Update window title on album change #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-05 14:41:57 +01:00
Michael Mayer
85489bf5e1 Albums: Remove photo #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-05 14:11:45 +01:00
Michael Mayer
77af67dd36 Albums: Refactor API #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-05 12:10:30 +01:00
Michael Mayer
757a33543d Albums: Autocomplete for add to album dialog #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-05 04:54:31 +01:00
Michael Mayer
9f8bad1ffa Frontend: Code & test clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-05 03:58:54 +01:00
Michael Mayer
2541b95c68 Frontend: Upgrade to @types/leaflet 1.5.6
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-05 03:15:14 +01:00
Michael Mayer
1f6e55cfd8 Frontend: Upgrade to core-js (replaces babel/polyfill)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-05 03:13:42 +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
c1088d4b54 Albums: Use month and year as default name #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-04 12:11:11 +01:00
Michael Mayer
ee6b1d9c4c Albums: Improve search result notification #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-04 01:46:50 +01:00
Michael Mayer
e214ae2921 Code clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-03 23:57:02 +01:00
Michael Mayer
6f3593ec9a Albums: Use album slug in URL #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-03 23:55:24 +01:00
Michael Mayer
1213ee5f2a Frontend: Limit log length to 100 items
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-03 23:31:59 +01:00
Michael Mayer
d3cdffb0a0 Albums: Routing & navigation #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-03 23:17:55 +01:00
Michael Mayer
09be259aeb Albums: Fix title edit css #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-03 22:00:29 +01:00
Michael Mayer
fd9942b525 Albums: Code clean-up & small improvements #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-03 21:50:20 +01:00
Michael Mayer
c584a79a6f Add album name edit dialog #15
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-03 21:25:40 +01:00
Theresa Gresch
bfa2bc3cab Frontend: Add en translation files 2019-12-03 19:55:45 +01:00
Theresa Gresch
f91c7ed8df Frontend: Add de translation files 2019-12-03 19:55:27 +01:00
Theresa Gresch
9fc4bbc5b1 Frontend: Add translations.pot 2019-12-03 19:54:56 +01:00
Theresa Gresch
8567df1995 Frontend: Rename gettest commands 2019-12-03 19:53:44 +01:00
Michael Mayer
cabf60aa59 Frontend: Show placeholder if logs are empty
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-03 14:50:52 +01:00
Michael Mayer
55918a40fe Frontend: Fix tests & code clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-03 13:08:48 +01:00
Michael Mayer
2b6b1b9f79 API: Improve logging
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-03 12:51:23 +01:00
Michael Mayer
9a061a0454 Frontend: Code clean-up, small fixes
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-03 08:51:43 +01:00
Michael Mayer
b6dd201d0f Frontend: Update charcoal theme
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-03 08:04:24 +01:00
Theresa Gresch
e409399388 Frontend: Configure GetTextPlugin in app.js 2019-12-02 19:18:04 +01:00
Theresa Gresch
1bf9e576aa Frontend: Use json format from easygettext for translations 2019-12-02 19:18:04 +01:00
Theresa Gresch
d8705d7019 Frontend: Add german as language option 2019-12-02 19:18:04 +01:00
Theresa Gresch
321be2dd01 Remove not needed import in config.js 2019-12-02 19:18:04 +01:00
Theresa Gresch
f167615800 Frontend: Add v-translate tag to settings.vue 2019-12-02 19:18:04 +01:00
Theresa Gresch
e5b4b91fe1 Frontend: Add v-translate tag to p-navigation.vue 2019-12-02 19:18:04 +01:00
Theresa Gresch
7d297409fa Frontend: Install easygettext 2019-12-02 19:18:04 +01:00
Michael Mayer
9b4db75efd Frontend: Rename "night" theme to "charcoal"
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-02 19:17:27 +01:00
Michael Mayer
74f483b877 Frontend: Lighter toolbar color (night theme)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-02 18:18:28 +01:00
Michael Mayer
759b30198a Frontend: Update log CSS and theme colors
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-02 18:13:06 +01:00
Theresa Gresch
4c8eedd9f7 Add colors for themes black, purple and teal 2019-12-02 16:57:44 +01:00
Theresa Gresch
271edd40ee Add theme options black, teal and purple 2019-12-02 16:57:22 +01:00
Theresa Gresch
6a6dd544c5 Add color option for navigation-home 2019-12-02 16:56:50 +01:00
Michael Mayer
9571e1bef2 Frontend: Refactored theme colors
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-02 14:17:03 +01:00
Michael Mayer
4eb53c3994 Frontend: Remove photo list outer padding
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-02 13:25:32 +01:00
Michael Mayer
cd461d5594 Frontend: Real-time logging
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-02 13:14:01 +01:00
Michael Mayer
14567a42ab Frontend: Improve library & settings
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-02 02:43:41 +01:00
Michael Mayer
a2963e9fc6 Add event hook for sending logs to frontend
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-02 00:30:58 +01:00
Michael Mayer
063be1650e Frontend: Add whale and raspberry theme
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-01 23:12:43 +01:00
Michael Mayer
05bdf1ea72 Frontend: Config / settings refactoring for themes and translations
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-01 22:45:28 +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
Michael Mayer
9d646a42bf Frontend: Update JS dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-01 13:59:06 +01:00
Michael Mayer
4b4ec4c312 Frontend: Update handlebars (security patch)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-01 13:11:30 +01:00
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