Commit Graph

778 Commits (77ffc33ef9195fc4e207701cf3eb358b8c821202)

Author SHA1 Message Date
Varun Patil 4bc3ccf4f8 Hide archive on folder view 2022-09-25 16:13:57 -07:00
Varun Patil 64d313c858 Improve archive error display 2022-09-25 16:09:08 -07:00
Varun Patil dc2615e107 Implement archive (close #38) 2022-09-25 16:02:26 -07:00
Varun Patil eb60b9fb91 Show error in folder view 2022-09-25 14:08:11 -07:00
Varun Patil 1709649dc6 l10n: edit date warning 2022-09-25 13:44:45 -07:00
Varun Patil 5296448311 Add disclaimer 2022-09-25 08:06:27 -07:00
Varun Patil 97496ce7ab Refresh on date change 2022-09-25 07:53:14 -07:00
Varun Patil c7a60473a4 Add range date edit 2022-09-25 07:37:03 -07:00
Varun Patil 1e297f86f4 Add single file exif update (#42) 2022-09-25 06:21:40 -07:00
Varun Patil df2c448701 close-afterclick for actions 2022-09-25 03:49:53 -07:00
Varun Patil 345b394229 folders: add breadcrumb top matter (fix #51) 2022-09-25 01:31:52 -07:00
Varun Patil 1586f02639 Add selected plural (fix #50) 2022-09-23 19:47:59 -07:00
Varun Patil ec72415d7e Disable webkit tap highlight (fix #47) 2022-09-23 19:46:11 -07:00
Varun Patil f5eeb1ae9d Use storage for lookups 2022-09-23 18:54:14 -07:00
Varun Patil a7f0e0c82e Add l10n for selection text (#33) 2022-09-16 16:37:06 -07:00
Varun Patil 45b90aa91f More localization support (#33) 2022-09-16 16:26:29 -07:00
Varun Patil 47532b5d72 Fix date localization (#33) 2022-09-16 16:17:45 -07:00
Varun Patil 8c213f0769 docs: Fix ITick annotations 2022-09-16 15:55:57 -07:00
Varun Patil f2e3a862b1 fix: topC may not be float 2022-09-16 15:54:40 -07:00
Varun Patil ec397f3ae6 Hide hidden folders (fix #45) 2022-09-16 15:42:29 -07:00
Varun Patil 8ae5c0fc3e Fix issues in folders display 2022-09-16 15:17:37 -07:00
Varun Patil eaeb7af274 Change folder tag to int 2022-09-16 14:37:52 -07:00
Varun Patil 2853db1b66 Clear selection after favorite 2022-09-15 21:12:39 -07:00
Varun Patil 4500c102ab Prevent selecting placeholders 2022-09-15 21:09:50 -07:00
Varun Patil c59c136131 Remove external css 2022-09-15 21:06:40 -07:00
Varun Patil bab19d7dfc Toggle -> Mark Favorite 2022-09-15 20:51:49 -07:00
Varun Patil 63c7d93198 Minor css fixes 2022-09-15 20:29:27 -07:00
Varun Patil b0ff20336a Switch to material icons 2022-09-15 20:17:40 -07:00
Varun Patil baaf64e589 Fix regression in clearSelection 2022-09-15 18:43:31 -07:00
Varun Patil bdc964d2ee Implement selecting and favorite (fix #26) 2022-09-15 18:41:51 -07:00
Varun Patil bee28095fa Convert selection to map 2022-09-15 18:31:03 -07:00
Varun Patil c70d46b45c Refactor loading variable + more showError 2022-09-15 17:57:17 -07:00
Varun Patil 9ca34b6edf Fix copy-paste error 2022-09-15 17:53:15 -07:00
Varun Patil 9aa4dd7a20 Use showError for errors 2022-09-15 17:50:44 -07:00
Varun Patil 69fb546cf2 Don't overwhelm server with delete calls 2022-09-15 17:40:27 -07:00
Varun Patil 6a99120b6d Shake off unused vue components 2022-09-15 14:24:27 -07:00
Varun Patil ecd4d196d0 Reduce select shadow 2022-09-15 10:55:12 -07:00
Varun Patil e058316f66 Select with head (fix #27) 2022-09-15 10:49:51 -07:00
Varun Patil f522f7c87b Refactor scss a bit 2022-09-15 10:20:02 -07:00
Varun Patil 702ddf1bc9 Warn user for large selections 2022-09-15 10:01:48 -07:00
Varun Patil 788662c676 Allow more component reuse 2022-09-14 20:52:58 -07:00
Varun Patil 06ea3401fa Add videos tab 2022-09-13 00:55:32 -07:00
Varun Patil b48d00e93e Fix on window resize 2022-09-13 00:35:35 -07:00
Varun Patil 149ce2ad12 Use nextTick for reflow 2022-09-13 00:18:24 -07:00
Varun Patil 361b6660b0 Reset the whole recycler 2022-09-13 00:00:49 -07:00
Varun Patil c0ea836510 More attempts 2022-09-12 23:22:45 -07:00
Varun Patil 4dafc434f4 Put key on child 2022-09-12 23:16:25 -07:00
Varun Patil 0a648d27f1 Another try: destroy recycler completely 2022-09-12 22:44:09 -07:00
Varun Patil 2b212543d5 Recheck on state change 2022-09-12 22:39:32 -07:00
Varun Patil 7138768551 Add complete check 2022-09-12 22:33:20 -07:00
Varun Patil 2618e3ff20 forceUpdate after photo load 2022-09-12 22:25:30 -07:00
Varun Patil b6e709b07b Fix case 2022-09-12 21:59:35 -07:00
Varun Patil eadd40ec6b Minor fixes 2022-09-12 21:11:45 -07:00
Varun Patil c334bd46b3 Fix folders 2022-09-12 20:56:25 -07:00
Varun Patil 22e0e07a47 Optimize initial load for timeline 2022-09-12 20:21:25 -07:00
Varun Patil dfe88f6aaa More migration 2022-09-12 19:36:27 -07:00
Varun Patil 211846973e More migration 2022-09-12 19:06:35 -07:00
Varun Patil 6e14dd59b5 More migration 2022-09-12 18:57:51 -07:00
Varun Patil 9c25455d8a More ts migration 2022-09-12 18:48:05 -07:00
Varun Patil f13f68ff21 TS migration WIP 2022-09-12 18:33:24 -07:00
Varun Patil 8d7b18ff1a Cleanup 2022-09-12 16:15:18 -07:00
Varun Patil 84b62519c6 reafactor: move out deletion from timeline 2022-09-12 16:14:10 -07:00
Varun Patil 3f3e83c13a refactor: move file download logic 2022-09-12 15:45:09 -07:00
Varun Patil dfa71bcd18 Reduce fade in time 2022-09-12 12:25:52 -07:00
Varun Patil 43f75514d0 Make timeline date string lazy 2022-09-12 12:15:28 -07:00
Varun Patil aa10e0f175 Refactor timeline reflow 2022-09-12 11:23:27 -07:00
Varun Patil e363e4e90f Speed up processDays 2022-09-12 11:18:47 -07:00
Varun Patil 7f60c60ebb Reload only if already loaded 2022-09-12 09:38:52 -07:00
Varun Patil 540b80f1e0 More premature optimization (1) 2022-09-12 09:33:46 -07:00
Varun Patil cc630f9ea9 More premature optimization 2022-09-12 03:52:17 -07:00
Varun Patil 4795045f08 Attempt to speed up processDays 2022-09-12 03:20:53 -07:00
Varun Patil 337c68e4ca Fix " in etag 2022-09-12 02:50:30 -07:00
Varun Patil e3880f078c Fix folder onePreview 2022-09-12 02:33:51 -07:00
Varun Patil 475f02505c Fix folder loading 2022-09-12 02:28:37 -07:00
Varun Patil ca418c7929 Revert img bg to grey 2022-09-12 02:10:24 -07:00
Varun Patil f16e95654c Use set for loadedDays 2022-09-12 02:02:45 -07:00
Varun Patil 5711d18314 Fix bug in scrollChange 2022-09-12 01:52:35 -07:00
Varun Patil df0edfb02d Make scroller even bolder 2022-09-12 01:34:39 -07:00
Varun Patil 60f9f4bac0 loadScrollChanges in 100ms (was 300) 2022-09-11 23:18:35 -07:00
Varun Patil 579176c084 Put error.svg in assets 2022-09-11 22:28:06 -07:00
Varun Patil 8dbfd387b0 Revert icon marker size 2022-09-11 20:57:47 -07:00
Varun Patil 4ca6e3977c Use flag for isvideo 2022-09-11 20:52:07 -07:00
Varun Patil fa65f1866f Show star on photos 2022-09-11 20:46:31 -07:00
Varun Patil 435d096ed3 Remove stray log 2022-09-11 19:32:47 -07:00
Varun Patil 06af7a1b27 Add favorites UI 2022-09-11 19:21:20 -07:00
Varun Patil 44d05ceaa8 Refactor API calls in timeline 2022-09-11 19:02:44 -07:00
Varun Patil 260f64248d Fix regression in deletion 2022-09-09 20:11:22 -07:00
Varun Patil ae49f36690 Revert "Fix image fade on cache miss"
This reverts commit f92dfb5e95.
2022-09-09 19:39:11 -07:00
Varun Patil f92dfb5e95 Fix image fade on cache miss 2022-09-09 19:36:40 -07:00
Varun Patil f5337cb990 Restore load fail background 2022-09-09 19:20:12 -07:00
Varun Patil 49c4b7548d Move to scss 2022-09-09 19:10:51 -07:00
Varun Patil 5f4b06c0d1 Improve loadfail behavior, add transition 2022-09-09 17:54:53 -07:00
Varun Patil e056ef9e75 Make them square 2022-09-09 17:17:46 -07:00
Varun Patil 72ce67ad6b Scroller style adjustment 2022-09-09 17:10:44 -07:00
Varun Patil 9e74b2f6ea Use generateUrl for photos (fix #19) 2022-09-09 07:44:52 -07:00
Varun Patil af38c24198 Tab -> Space 2022-09-09 00:31:42 -07:00
Varun Patil 3b0b5c05dc Rename album to folder 2022-09-08 16:57:50 -07:00
Varun Patil 97a1dcddda Add selection download function 2022-09-08 16:51:48 -07:00
Varun Patil 13da56a2f6 Use NcActions for buttons 2022-09-08 16:40:55 -07:00
Varun Patil 3ead2d4e2a Bump @nextcloud/vue to 6 2022-09-08 16:23:28 -07:00
Varun Patil e1448d05ff Animate after viewer file delete 2022-09-08 11:09:11 -07:00
Varun Patil e2d5dcbc1c Add will-change to photo-container 2022-09-08 10:45:14 -07:00
Varun Patil 4abf300350 Add some delete animation 2022-09-08 10:41:16 -07:00
Varun Patil e6ac64a240 Refactor ph and s to flag 2022-09-08 10:12:16 -07:00
Varun Patil 4f08b8ad89 Fix mobile selection 2022-09-07 18:27:51 -07:00
Varun Patil 76a3c7fdbf Get rid of order in folder previews 2022-09-07 18:15:23 -07:00
Varun Patil 9228c45e40 Fix selection on mobile 2022-09-07 18:07:53 -07:00
Varun Patil 2880d9b4b6 Plural items 2022-09-07 17:48:27 -07:00
Varun Patil 7c4324aefc Remove download button 2022-09-07 17:47:04 -07:00
Varun Patil f456d9c77e Add actual file deleting 2022-09-07 17:42:32 -07:00
Varun Patil 895924477b Remove from view in del 2022-09-07 17:14:14 -07:00
Varun Patil 961b867c08 Fix selecting 2022-09-07 16:57:49 -07:00
Varun Patil 34dd6a2468 Show selection background 2022-09-07 16:12:06 -07:00
Varun Patil 486176a5e4 Fix top bar css 2022-09-07 15:31:35 -07:00
Varun Patil 8a2ed8156a Add basic selection stuff 2022-09-07 15:14:12 -07:00
Varun Patil b6cce36f0c Fix photo component name 2022-09-07 14:05:51 -07:00
Varun Patil f8e6b21656 Minor refactor 2022-09-07 14:05:20 -07:00
Varun Patil a71e7ff712 Reflow timeline on row changes 2022-09-07 13:45:28 -07:00
Varun Patil 4ce28faf8f Add viewer deletion (basic) 2022-09-07 13:04:03 -07:00
Varun Patil caa0f9dba2 Fix minGap in ticks 2022-08-23 08:11:41 +00:00
Varun Patil 200bf8c17d Use window innerWidth for measurements 2022-08-21 04:15:01 +00:00
Varun Patil 2663d00330 Fix sidebar support 2022-08-21 04:10:00 +00:00
Varun Patil 5dc17c3b80 Disable user select on timeline 2022-08-21 01:30:23 +00:00
Varun Patil 30f9e3eab3 Increase mobile timeline gap 2022-08-21 01:09:03 +00:00
Varun Patil 829487cac7 WARNING: Change migrations to fit NC names
Okay, promise this is the last time
2022-08-20 21:28:41 +00:00
Varun Patil b02185ed9e Show placeholders while loading 2022-08-20 21:12:29 +00:00
Varun Patil 667165d5cc Scope all styles 2022-08-20 09:06:55 +00:00
Varun Patil ba57b6456f Use classes for icons 2022-08-20 09:00:39 +00:00
Varun Patil 1dd0c2b23a Sort previews date descending 2022-08-20 08:39:22 +00:00
Varun Patil 3d294f17fd What did I commit? 2022-08-20 08:36:32 +00:00
Varun Patil 7633fd495b Add key to preview images 2022-08-20 08:35:42 +00:00
Varun Patil 89f044f125 Refresh previews on data change 2022-08-20 08:32:32 +00:00
Varun Patil 3999f7b9bd Show previews on folders 2022-08-20 08:26:52 +00:00
Varun Patil 5144c64b19 Separate Photo component 2022-08-20 07:11:51 +00:00
Varun Patil 0e57dbf992 Refactor folder component 2022-08-20 06:52:46 +00:00
Varun Patil 980b5b93bc Improve mobile layout 2022-08-20 00:51:18 +00:00
Varun Patil 6b8f53e89b Allow changing base folder (fix #9) 2022-08-20 00:18:10 +00:00
Varun Patil 36c9b0f79d Require CSRF token 2022-08-19 22:16:13 +00:00
Varun Patil 0aa3d485c1 Fix icon 2022-08-18 18:50:48 +00:00
Varun Patil 0d03a9142c Rename again to memories
Fix the migration directly because I'm the only user right now.
If this is a problem for you, drop the oc_polaroid table and the
corresponding index on the oc_filecache table.
2022-08-18 18:27:25 +00:00
Varun Patil dc3ea330b1 Hide ticks below screen 2022-08-18 05:38:10 +00:00
Varun Patil b69371969e Fix cursor color 2022-08-18 05:33:38 +00:00
Varun Patil 9320b7632d Fix spinner 2022-08-18 05:30:37 +00:00
Varun Patil f08cc6f338 Fix dark mode 2022-08-18 05:24:37 +00:00
Varun Patil cf256d2db7 Hide top ticks 2022-08-18 02:39:55 +00:00
Varun Patil 895baa21ff Add timeline tick showing algo 2022-08-18 02:36:22 +00:00
Varun Patil ddb750c0cf Timeline bullet 2022-08-18 02:02:22 +00:00
Varun Patil c58726d81a Add timeline cursor label 2022-08-18 01:55:12 +00:00
Varun Patil f65c54f104 Improve timeline scroller behavior 2022-08-18 01:12:40 +00:00
Varun Patil 32f89a1ffe FIx touch drag 2022-08-18 00:55:37 +00:00
Varun Patil 3cecb037be Handle resize (fix #2) 2022-08-18 00:51:11 +00:00
Varun Patil cb5487065e Fix some bugs 2022-08-17 20:59:26 +00:00
Varun Patil 4936a2fdf8 Add albums 2022-08-17 20:39:48 +00:00
Varun Patil dd118e07c9 Fix readme 2022-08-16 01:59:28 +00:00
Varun Patil d4ff2c2b02 Make photos bigger 2022-08-16 01:37:10 +00:00
Varun Patil 2de33bff69 Change project name 2022-08-16 01:19:43 +00:00
Varun Patil 6f029fd49a Add router 2022-08-16 01:12:14 +00:00
Varun Patil b4bda3744e Add video icon 2022-08-16 00:46:36 +00:00
Varun Patil cfbbe0c567 Refactor+error image 2022-08-15 23:43:10 +00:00
Varun Patil 3f1f80a5dc Reduce cursor height 2022-08-15 23:15:27 +00:00
Varun Patil 5c55b79175 Add etag 2022-08-15 23:14:24 +00:00
Varun Patil 61161b234e Fix viewer 2022-08-15 21:41:05 +00:00
Varun Patil fa00657b98 Add hover 2022-08-15 18:41:46 +00:00
Varun Patil 24ca0c320f Fix heads 2022-08-15 18:10:20 +00:00
Varun Patil a4434ffb37 Minor fixes 2022-08-15 18:03:47 +00:00
Varun Patil bd590a5601 Fix timeline drag 2022-08-15 17:20:08 +00:00
Varun Patil 64b80931ab Add border radius to img 2022-08-15 06:17:37 +00:00
Varun Patil 9b4fcf5d8f Add timeline cursor 2022-08-15 06:15:57 +00:00
Varun Patil 0845e6fb54 Improve UI 2022-08-15 05:53:02 +00:00
Varun Patil 20ff9a4b7d Add comments to js 2022-08-15 04:09:16 +00:00
Varun Patil a860208745 Make row size dynamic 2022-08-15 04:04:34 +00:00
Varun Patil 3c6a5036d4 Fix timeline size 2022-08-15 03:48:52 +00:00
Varun Patil ee41e8441d Add exif 2022-08-15 03:25:12 +00:00
Varun Patil 42970fa87c More timeline stuff 2022-08-15 01:15:18 +00:00
Varun Patil d04ed4d4c8 Headers 2022-08-14 23:53:26 +00:00
Varun Patil bac7071f52 Update 2022-08-14 22:11:26 +00:00
Varun Patil b172e3b730 Add some recycling 2022-08-14 21:38:29 +00:00
Varun Patil 0286dce13a Add vue 2022-08-14 20:54:18 +00:00