Commit graph

663 commits

Author SHA1 Message Date
Michael Mayer
fc1100ba0b Frontend: Change default name of new albums
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-21 17:08:40 +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
8c691f4938 Frontend: Update dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-18 14:30:39 +01:00
Michael Mayer
7e137e4ebd Places: Set default zoom to 12
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-18 08:23:04 +01:00
Michael Mayer
380bc4ec6c Places: Don't update params for small changes
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 17:15:59 +01:00
Michael Mayer
82a02e5032 Places: Don't query for small position changes
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 17:12:29 +01:00
Michael Mayer
a965850f08 Places: Fix issue that prevents opening images
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 15:44:02 +01:00
Michael Mayer
f39d34b43a Places: Improve UX
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 15:28:54 +01:00
Michael Mayer
cf0ea597c4 Frontend: Change position of refresh in labels overview
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 08:15:35 +01:00
Michael Mayer
e579a336b1 Frontend: Always show buttons in albums and labels overview
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 08:13:30 +01:00
Michael Mayer
ed182537f1 Frontend: Add button to show all labels
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 07:13:09 +01:00
Michael Mayer
4ab44c5c23 Frontend: Add photos to new album
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 04:39:23 +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
12294ef703 Frontend: Show recently imported first in sort order dropdown
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-16 13:07:32 +01:00
Michael Mayer
6af94adc8d Frontend: Change photo default order from "newest" to "imported"
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-16 01:12:05 +01:00
Michael Mayer
252d1545fb Frontend: Revert title of "Places"
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-16 01:11:08 +01:00
Michael Mayer
8d7161d279 Frontend: Add NSFW info to upload form
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-15 17:38:15 +01:00
Michael Mayer
016d90054e Backend: Implement NSFW config flags
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-15 17:19:16 +01:00
Michael Mayer
784fad44b7 Frontend: Refactor photo range selection #159
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-15 12:39:36 +01:00
thielepaul
73fc6ac5b3 Select range of photos by pressing Shift (#159)
* Frontend: fix lazy loading for albums

* Frontend: start working on a range select for photos

* Frontend: add range select to tiles and details view

* Frontend: remove keydown EventListener when component is destroyed
2019-12-15 10:46:58 +01:00
Michael Mayer
78eae2f14e Backend: Add NSFW detector
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-14 15:41:37 +01:00
Michael Mayer
ae4295e387 Labels: Update labels.yml for better results
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-13 04:43:30 +01:00
Michael Mayer
f92c21aef9 Indexer: Improve labels
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-13 03:07:26 +01:00
Michael Mayer
4df887fffa Frontend: Update navigation titles
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-12 10:11:33 +01:00
Michael Mayer
9315aba912 Frontend: Update navigation and themes
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-12 10:07:08 +01:00
Michael Mayer
dac272468e Sharing: Render preview image & site info
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-11 14:10:20 +01:00
Michael Mayer
eb7f742d9a Indexing: Disable "convert to jpeg" if library is read only
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-11 05:03:31 +01:00
Michael Mayer
592a6eac7a Indexing: Add "Groom metadata" option to UI
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-11 04:57:32 +01:00
Michael Mayer
27ca260942 Indexing: Add "convert to jpeg" and "create thumbnails" options
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-11 04:12:54 +01:00
Michael Mayer
e207c83242 Frontend: Code clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-10 21:58:36 +01:00
Michael Mayer
c3b9e97e07 Loading rainbow animation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-10 20:07:31 +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
ef5e26b4f0 Settings: Show info before reloading
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-10 17:26:44 +01:00
Michael Mayer
dc46ab9bc8 Fix indexer issues & use go generate to create stopwords map
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-10 16:58:01 +01:00
Theresa Gresch
33603c462a Update translations 2019-12-09 19:58:51 +01:00
Theresa Gresch
e91e0cb4e5 Change download icon on album clipboard 2019-12-09 19:11:39 +01:00
Theresa Gresch
df0ab8a2e3 Change download icon on photo clipboard 2019-12-09 19:11:16 +01:00
Theresa Gresch
00ea1eb5ce Adapt gettext extract command 2019-12-09 19:10:45 +01:00
Theresa Gresch
210ba18ce2 Change warning color 2019-12-09 19:10:24 +01:00
Theresa Gresch
c2bb342b03 Add translate tags to pages 2019-12-09 18:48:10 +01:00
Theresa Gresch
8c6ab8bf8d Add translate tags to settings pages 2019-12-09 18:47:55 +01:00
Theresa Gresch
53196930a2 Add translate tags to library pages 2019-12-09 18:47:36 +01:00
Theresa Gresch
9b92d22f9c Add translate tags to album page 2019-12-09 18:47:18 +01:00
Theresa Gresch
1eb6177ef1 Add translate tags to vue dialogs 2019-12-09 18:46:44 +01:00
Theresa Gresch
36f3faa11f Add translate tags to vue components 2019-12-09 18:46:24 +01:00
Michael Mayer
f1b51541c3 Library: Rename index to maintenance
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-09 18:10:20 +01:00
Michael Mayer
6d4e42c79e Added option to skip indexing existing files
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-09 08:04:41 +01:00
Michael Mayer
d24b10cd18 Simplify loading animation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-09 02:41:35 +01:00
Michael Mayer
f89a4346e8 Colorchange loading animation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-09 02:06:43 +01:00
Michael Mayer
e5bc5fa14f Frontend: Update log css (font-weight: normal if empty)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-08 22:52:12 +01:00
Michael Mayer
84bf4700ec Fix search query parser (unicode)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-08 22:45:45 +01:00
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
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
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