Commit graph

328 commits

Author SHA1 Message Date
theresa
60a85e702a Tests: Adapt acceptance tests to css changes 2021-01-13 16:56:45 +01:00
theresa
3a4ed67862 Tests: Adapt acceptance tests to css changes 2021-01-13 14:47:32 +01:00
theresa
966d88d8a8 Tests: Adapt acceptance tests to css changes 2021-01-13 14:39:15 +01:00
theresa
f7b8be2ad6 Tests: Adapt acceptance tests to css changes 2021-01-13 12:05:43 +01:00
theresa
384f3b66bb Tests: Adapt acceptance tests to css changes 2021-01-13 11:10:08 +01:00
theresa
f35fe19519 Tests: Adapt acceptance tests to css changes 2021-01-13 11:10:08 +01:00
Michael Mayer
8869e5b995 UX: Remove lag when selecting pictures #477 #500 #862 2021-01-10 22:14:47 +01:00
Michael Mayer
d215f782e6 UX: Improve clipboard performance #477 2021-01-09 04:41:33 +01:00
Michael Mayer
9ec2381307 Update copyright after year change 2021-01-01 22:37:25 +01:00
Michael Mayer
a8776a56a8 Frontend: Update JS tests after year change 2021-01-01 22:33:03 +01:00
Michael Mayer
5edebd1631 Sharing: Use PHOTOPRISM_SITE_URL to create links #752 2020-12-31 11:01:05 +01:00
Theresa Gresch
1a3bb2dab4 Tests: Test select photo from fullscreen 2020-12-28 13:02:29 +01:00
Theresa Gresch
866b358bca Tests: Adapt acceptance tests 2020-12-24 15:48:25 +01:00
Michael Mayer
fcad9e49a1 Frontend: Select photos in fullscreen mode #657 2020-12-16 14:10:03 +01:00
Michael Mayer
801dc49dd7 Settings: Add "delete" feature flag and share page title #167 2020-12-13 14:53:26 +01:00
Michael Mayer
618525969b Frontend: Fix video size in places view #647 2020-12-12 20:01:56 +01:00
Michael Mayer
473566f404 Videos: Enforce transcoding to MPEG-4 AVC #603 2020-12-12 17:20:31 +01:00
Theresa Gresch
0f826477d6 Tests: Adapt photos test to run in chromium as well 2020-12-10 19:00:42 +01:00
Theresa Gresch
8facccfe15 Tests: Make originals test more stable 2020-12-10 19:00:42 +01:00
Theresa Gresch
9b0a5b79a6 Tests: Make labels test more stable 2020-12-10 19:00:41 +01:00
Michael Mayer
7935bd87eb Video: Fix JS unit tests 2020-12-05 04:31:07 +01:00
Michael Mayer
b540e4ec03 Frontend: Fix Photo.localMonthString()
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-11-02 00:30:26 +01:00
Michael Mayer
33d366118c Frontend: Fix JS unit tests
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-21 07:59:25 +02:00
Theresa Gresch
79357aefef Frontend: Add acceptance test 2020-10-20 18:30:55 +02:00
Theresa Gresch
7b9f21207e Backend: Add tests for entity 2020-10-20 09:25:19 +02:00
Theresa Gresch
bb30a841c4 Frontend: Add unit tests 2020-10-19 14:14:50 +02:00
Michael Mayer
46b9239026 Backend: Refactor user entity and add pro package
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-10-03 13:50:30 +02:00
Phil Davis
c90f19ec21
Fix minor typos 2020-10-01 16:00:43 +05:45
Michael Mayer
33156b5bd7 Frontend: Refactor session.js and unit tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-21 01:53:06 +02:00
Michael Mayer
7c9bf35b27 Frontend: Increase result and clipboard item limits #500
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-20 16:06:09 +02:00
Michael Mayer
9950bc9975 Person: Rename UserActive to IsActive #98 #144
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-16 16:44:20 +02:00
Michael Mayer
33888fd231 Backend: Add credentials and extend person entity #98 #144
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-06 14:18:40 +02:00
Theresa Gresch
d3fb59c537 Frontend: Adapt acceptance test to changes 2020-08-13 14:09:25 +02:00
Michael Mayer
1fc055bf49 Frontend: Set test time zone and locale
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-11 16:24:21 +02:00
Theresa Gresch
2787a01525 Frontend: Add acceptance test 2020-07-21 13:57:32 +02:00
Theresa Gresch
44fcc3e531 Frontend: adapt acceptance tests 2020-07-16 14:42:14 +02:00
Theresa Gresch
b314ef2a27 Frontend: Add acceptance test 2020-07-15 12:23:12 +02:00
Theresa Gresch
acee2c57fd Frontend: Adapt acceptance tests to changes 2020-07-15 12:23:12 +02:00
Michael Mayer
4d42222caf Rename "thumbnails" to "thumbs" and group api functions in one file
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-13 17:25:27 +02:00
Michael Mayer
212857318b UX: Rename group(ed) to stack(ed) #394
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-13 15:59:54 +02:00
Michael Mayer
4a9f992056 Thumbs: Use fit_4096 in favor of fit_3840 and add convert limit #362 #388
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-13 15:23:54 +02:00
Michael Mayer
4fb263f8a4 Add location field to album metadata
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-12 16:36:39 +02:00
Michael Mayer
5648c9616e Backend: Refactor location data tables and entities
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-12 08:27:05 +02:00
Michael Mayer
e1c45c4d5f Rename "location" to "geo" to have a short, common prefix for geo data
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-11 23:43:29 +02:00
Michael Mayer
d1db3d04f7 Logs: Improve event log and messages in i18n package
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-07 10:51:55 +02:00
Theresa Gresch
e743ae4480 Frontend: Add acceptance test 2020-07-07 09:48:21 +02:00
Theresa Gresch
a01ce5c439 Frontend: Adapt acceptance tests to changes 2020-07-06 10:57:20 +02:00
Michael Mayer
3b8f3ebd23 Improve date input parsing #274 #358
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-06 10:32:37 +02:00
Theresa Gresch
e580a117d6 Frontend: Adapt acceptance tests to changes 2020-07-05 17:58:10 +02:00
Michael Mayer
581404648c Add search filter for content that has no album #377
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-05 14:48:49 +02:00
Theresa Gresch
c8d0d94990 Frontend: Add tests for rest.js 2020-07-03 18:13:39 +02:00
Theresa Gresch
0f766a8bde Frontend: Add tests for photo.js 2020-07-03 17:29:30 +02:00
Theresa Gresch
fd1f03c5be Frontend: Add tests for photo.js 2020-07-03 17:24:48 +02:00
Theresa Gresch
ccdc709e8e Frontend: Add tests for thumb.js 2020-07-03 16:40:31 +02:00
Theresa Gresch
ae97dbaf7e Frontend: Add tests for file.js 2020-07-03 16:40:16 +02:00
Theresa Gresch
395b5608f1 Frontend: Adapt tests for link.js 2020-07-03 15:40:51 +02:00
Theresa Gresch
5aea2c883b Frontend: Adapt acceptance tests to changes 2020-07-03 15:39:38 +02:00
Theresa Gresch
4d5c9a61b2 Frontend: Adapt acceptance tests to changes 2020-07-03 14:48:43 +02:00
Theresa Gresch
956a8e6d41 Frontend: Add tests for thumb.js 2020-07-02 15:41:24 +02:00
Theresa Gresch
a0098df318 Frontend: Add tests for file.js 2020-07-02 14:15:48 +02:00
Theresa Gresch
266371de43 Frontend: Remove logs from tests 2020-07-02 12:57:32 +02:00
Theresa Gresch
b5b1473a86 Frontend: Add tests for folder.js 2020-07-02 12:53:19 +02:00
Theresa Gresch
f18a57ee2f Frontend: Add tests for link.js 2020-07-02 12:52:50 +02:00
Theresa Gresch
beea34a919 Frontend: Add tests for folder.js 2020-07-02 12:52:50 +02:00
Theresa Gresch
c179cce291 Frontend: Refactor tests 2020-07-02 10:03:00 +02:00
Theresa Gresch
a9efb35d13 Frontend: Add tests for session.js 2020-07-02 10:02:21 +02:00
Michael Mayer
aae3a4af2d Show warning if websocket connection fails #330
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-01 18:37:54 +02:00
Theresa Gresch
8b25ad565c Frontend: Add tests for link.js 2020-07-01 18:28:56 +02:00
Theresa Gresch
f87f349151 Frontend: Add tests for account.js 2020-07-01 17:24:24 +02:00
Theresa Gresch
127d13a7fd Frontend: Add tests for photo.js 2020-07-01 16:50:28 +02:00
Theresa Gresch
6ccc4178fa Frontend: Add tests for photo.js 2020-07-01 16:16:47 +02:00
Theresa Gresch
994cf595e4 Frontend: Add tests for photo.js 2020-07-01 14:49:12 +02:00
Theresa Gresch
c85ff1b5b7 Frontend: Add tests for photo.js 2020-07-01 12:04:09 +02:00
Theresa Gresch
b12f916e69 Frontend: Add tests 2020-06-30 16:53:21 +02:00
Theresa Gresch
9003a63b3b Frontend: Add tests for notify.js and clipboard.js 2020-06-30 14:29:54 +02:00
Michael Mayer
0353c18f83 Frontend: Fix rest model test
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-30 11:41:42 +02:00
Theresa Gresch
dd03671bc6 Frontend: Add tests for notify.js 2020-06-29 13:21:58 +02:00
Theresa Gresch
3cada728d8 Frontend: Add tests for session.js and notify.js 2020-06-29 13:21:58 +02:00
Theresa Gresch
4f8b3fd97c Frontend: Add tests for session.js 2020-06-29 13:21:57 +02:00
Theresa Gresch
6818845462 Frontend: Add tests for util.js 2020-06-29 09:37:57 +02:00
Theresa Gresch
e6bb13240d Frontend: Adapt test url to new port 2020-06-28 14:48:08 +02:00
Theresa Gresch
80a4047a3a Frontend: Update labels test 2020-06-26 16:43:52 +02:00
Theresa Gresch
ebabd7d8cf Frontend: Add acceptance test for sharing 2020-06-26 16:43:52 +02:00
Theresa Gresch
1cd55c5896 Frontend: Adapt acceptance tests to changes 2020-06-25 16:16:00 +02:00
Michael Mayer
5d59b50912 Sharing: ACL authorization for REST API #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-25 14:54:04 +02:00
Michael Mayer
1f1f92408a Sharing: Token authentication #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-25 01:20:58 +02:00
Theresa Gresch
a529e7bf2b Frontend: Refactor acceptance tests 2020-06-23 13:07:33 +02:00
Theresa Gresch
95c958a142 Frontend: Add acceptance tests 2020-06-05 18:12:43 +02:00
Theresa Gresch
8f421f6864 Frontend: Update acceptance tests 2020-06-05 18:12:42 +02:00
Theresa Gresch
e80435a8ec Frontend: Update acceptance tests 2020-06-05 18:12:42 +02:00
Theresa Gresch
15d8e2bb3b Frontend: Add acceptance tests 2020-06-05 18:12:42 +02:00
Theresa Gresch
73c4891cde Frontend: Add acceptance test 2020-06-04 11:11:26 +02:00
Theresa Gresch
f1b84c4c88 Frontend: Add acceptance tests 2020-06-04 08:06:17 +02:00
Theresa Gresch
49fb38b1df Frontend: Add acceptance tests 2020-06-03 08:54:09 +02:00
Theresa Gresch
0dc340e55d Frontend: Add acceptance tests 2020-06-03 08:54:09 +02:00
Theresa Gresch
a8ae54a886 Frontend: Add acceptance tests 2020-06-01 17:04:54 +02:00
Theresa Gresch
2adf5fe32b Frontend: Add acceptance tests 2020-06-01 17:04:54 +02:00
Theresa Gresch
12efe82fbf Frontend: Add acceptance tests 2020-06-01 17:04:54 +02:00
Theresa Gresch
ad9167360d
Feature/246 (#345)
* Import: Implement "add to album" in backend #246

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Import: Implement "add to album" in frontend #246

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Add OriginalName to photo search result

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Add json tags to PhotoName and PhotoPath

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Photo: Use EstimateCountry() in UpdateLocation()

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Photo: Set OriginalName earlier while indexing

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Ignore whitespace when stripping sequence from filename #335

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Fix labels count for SQLite

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Import: Show name of new albums #246

Signed-off-by: Michael Mayer <michael@liquidbytes.net>

* Frontend: Add acceptance test files

Co-authored-by: Michael Mayer <michael@liquidbytes.net>
2020-06-01 09:45:24 +02:00
Michael Mayer
b1f7cb4264 Frontend: Improve navigation and fix unit tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 12:52:41 +02:00
Michael Mayer
37ee277599 Frontend: Fix albums view
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 02:33:18 +02:00
Theresa Gresch
4cf06a795f Frontend: Add/refactor acceptance tests 2020-05-28 18:00:54 +02:00
Theresa Gresch
5749b93e0c Frontend: Add/refactor acceptance tests 2020-05-28 17:59:57 +02:00
Theresa Gresch
e65b12ed7a Frontend: Add/Refactor acceptance tests 2020-05-28 16:36:40 +02:00
Theresa Gresch
6c6224a7e8 Frontend: Add/Refactor acceptance tests 2020-05-28 16:36:39 +02:00
Theresa Gresch
57030d3cc7 Frontend: Add/Refactor acceptance tests 2020-05-28 16:36:39 +02:00
Michael Mayer
94846c2337 Rename ThumbToken to PreviewToken
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-27 19:56:56 +02:00
Michael Mayer
6f6e3799dc Refactor download urls and client config
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-27 19:38:40 +02:00
Michael Mayer
10d5f433aa Albums/Folders: Add category, country, year & month columns #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-26 09:02:19 +02:00
Michael Mayer
2156afd85a File browser: Implement clipboard; refactor entities and fixtures #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-25 19:10:44 +02:00
Michael Mayer
4421e7d203 Add simple file browser to Library #260
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-24 22:16:06 +02:00
Michael Mayer
03ec4b586d Initial commit for folders and moments #154 #260 #331
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-23 20:58:58 +02:00
Michael Mayer
f9b6952947 Support for Live Photos #177
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-21 13:26:28 +02:00
Michael Mayer
882340a14c Refactor string clipping in frontend & backend
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-26 14:31:33 +02:00
Michael Mayer
3a257684bd Frontend: Add thumb model (photo viewer refactoring)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-21 16:34:43 +02:00
Michael Mayer
855781658b Add library settings #283
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-14 13:13:45 +02:00
Michael Mayer
2f48dae860 Frontend: First draft for an edit dialog #212 #217
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-24 00:45:59 +01:00
Michael Mayer
2f4840f9c2 Only send full clientConfig if authenticated #216
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-23 07:39:04 +01:00
Michael Mayer
2794fec513 Fix JS session test #216
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-22 17:07:50 +01:00
Michael Mayer
abeb2d16f8 Frontend: Fix acceptance tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-20 12:36:12 +01:00
Michael Mayer
fb82749447 Frontend: Change sort order defaults
See https://twitter.com/browseyourlife/status/1213498860133343234

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-06 00:16:16 +01:00
Michael Mayer
b3f8fb76bf Frontend: Disable tile view for simplicity
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 21:31:14 +01:00
Michael Mayer
ca8cfffc24 Backend: Prepare database for advanced filtering and grouping #154
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 20:24:20 +01:00
Michael Mayer
366c70d992 Optimize performance and data structures
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-27 05:18:52 +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
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
1621cd35b1 Update acceptance test suite
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-10 19:56:32 +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
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
Theresa Gresch
711c34b3dc Add acceptance test for login (#150) 2019-11-21 18:56:11 +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
f88c574f3f Improve HTTP header auth
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-12 05:49:10 +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
56c97ec057 Basic login for admin #16
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-08 06:53:40 +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
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
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
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