Commit Graph

440 Commits (1625286e7168568622cab601db9bfa4bfbc097a1)

Author SHA1 Message Date
Varun Patil a1a04b174c incomplete: non-uniform mobile layout (#73) 2022-10-17 12:18:05 -07:00
Varun Patil 3e54bc72c1 faces: crop with imagick (#72) 2022-10-17 10:41:58 -07:00
Varun Patil 2cd8105224 Fix empty face merge modal (fix #71) 2022-10-17 07:43:46 -07:00
Varun Patil 2fb8578e28 refactor: viewerManager 2022-10-16 20:53:38 -07:00
Varun Patil ffb9e1604d Fix incorrect scroll on date edit 2022-10-16 19:58:18 -07:00
Varun Patil 36e2f9d9ff Add service worker 2022-10-16 19:52:44 -07:00
Varun Patil de4bb84e40 Clear old caches 2022-10-16 19:17:56 -07:00
Varun Patil db2dc38b78 refactor: single translate transform 2022-10-16 19:01:39 -07:00
Varun Patil 3815bfc817 editdate: soft refresh only 2022-10-16 18:56:50 -07:00
Varun Patil 59116b637a timeline: fix day comparison 2022-10-16 18:22:59 -07:00
Varun Patil 400d974aa7 cache: days 2022-10-16 16:58:31 -07:00
Varun Patil 40f75b8b6f refactor: cache 2022-10-16 16:41:27 -07:00
Varun Patil 43ce9180a8 big: transform position 2022-10-16 15:47:14 -07:00
Varun Patil 4ca809d7b2 Prevent deletion glitches 2022-10-16 14:08:15 -07:00
Varun Patil 208797dd11 Remove numRows and change rows to list 2022-10-16 13:55:07 -07:00
Varun Patil 16f1562ade Bust cache with version 2022-10-16 13:18:47 -07:00
Varun Patil c679a5f2d1 Cache day response 2022-10-16 12:58:38 -07:00
Varun Patil 4b42cb37ef tag: fix call signature 2022-10-16 12:02:23 -07:00
Varun Patil b74b8c73cb big: eliminate FLAG_LOADED 2022-10-16 12:01:49 -07:00
Varun Patil bbc735ee44 timeline: remove days var 2022-10-16 11:52:18 -07:00
Varun Patil 90f197549c scroller: add guards 2022-10-16 11:46:26 -07:00
Varun Patil 260457f695 Remove stray log 2022-10-16 10:16:55 -07:00
Varun Patil 7c553064b7 Use ceil for numCols heuristic 2022-10-16 09:58:46 -07:00
Varun Patil 0109eca86d scroller: always adjust all ticks 2022-10-15 22:48:25 -07:00
Varun Patil 6d42b147ed Fix thumb size 2022-10-15 21:26:01 -07:00
Varun Patil a4345871df Fix photo icons 2022-10-15 21:06:26 -07:00
Varun Patil b6adacc19b timeline: floor dispWp instead of round 2022-10-15 20:33:07 -07:00
Varun Patil 2b9e7ee5b7 refactor: convertFlags to utils 2022-10-15 20:28:40 -07:00
Varun Patil a20edc67bb Round dispWp 2022-10-15 20:25:26 -07:00
Varun Patil 968fb702c0 rowSizeDelta rounding 2022-10-15 20:19:17 -07:00
Varun Patil 1a960be768 Add square photo config option 2022-10-15 20:18:11 -07:00
Varun Patil e298ef97fa big: switch to justified layout 2022-10-15 19:55:53 -07:00
Varun Patil 4e98e93d6e Fix face location 2022-10-15 17:52:10 -07:00
Varun Patil c30a0828cb Add w/h to day response 2022-10-15 12:23:31 -07:00
Varun Patil f2202f919c Use size for height instead of rowHeight 2022-10-15 11:57:27 -07:00
Varun Patil 93779c2cbe Exclude topmatter from scroller height 2022-10-15 11:52:34 -07:00
Varun Patil 3c99410738 Remove frame rowHeight dep 2022-10-15 11:48:17 -07:00
Varun Patil a4630ac11a Remove unused import 2022-10-15 11:18:32 -07:00
Varun Patil beb4219b1b Memoize getShortDateStr 2022-10-15 11:12:54 -07:00
Varun Patil 7723f551c8 scroller: use binary search for moveHoverCursor 2022-10-15 11:00:24 -07:00
Varun Patil d4a487ffc9 refactor: make scroller use rows 2022-10-15 10:41:49 -07:00
Varun Patil b31146097e Revert "scroller: no reflow if nothing changed"
This reverts commit a29eeedc66.
2022-10-14 16:42:13 -07:00
Varun Patil a29eeedc66 scroller: no reflow if nothing changed 2022-10-14 16:33:55 -07:00
Varun Patil 1593c45b81 refactor: make selection manager methods private 2022-10-14 16:29:37 -07:00
Varun Patil 0b1559af19 reafactor: out scroller 2022-10-14 16:29:20 -07:00
Varun Patil 3d09c3055d reafactor: directory structure 2022-10-14 14:45:23 -07:00
Varun Patil 9046f82375 refactor: move topmatter to component 2022-10-14 14:34:58 -07:00
Varun Patil 1d5c6905cd Refactor SelectionManager 2022-10-14 14:21:17 -07:00
Varun Patil ed28ce75a3 Improve thisDay 2022-10-12 13:23:29 -07:00
Varun Patil bd945f6366 l10n: dynamic top matter 2022-10-12 12:40:56 -07:00
Varun Patil a337cb97ed Completely get rid of padding on mobile 2022-10-12 12:37:49 -07:00
Varun Patil d477f76cf5 Misc mobile fixes 2022-10-12 12:30:42 -07:00
Varun Patil 4d6d1a4833 Add dynamic top matter 2022-10-12 12:05:38 -07:00
Varun Patil 1d8b6433ae Improve mobile cursor further 2022-10-12 09:54:58 -07:00
Varun Patil 4307c155d4 Fix tag cursor 2022-10-12 09:45:26 -07:00
Varun Patil 708d0ed08c Fix usage of will-change 2022-10-12 09:41:51 -07:00
Varun Patil 889fd65390 Improve mobile scrolling 2022-10-11 17:49:31 -07:00
Varun Patil db308e9aca Fix thisday processing 2022-10-11 14:02:42 -07:00
Varun Patil 737f59656a Fix viewer delete (fix #67) 2022-10-11 13:38:09 -07:00
Varun Patil 91e8dd326b Make emit typing safe 2022-10-11 13:32:24 -07:00
Varun Patil e3724e32dc Add face image removal 2022-10-11 13:16:11 -07:00
Varun Patil 0ef926e5b4 Add face merging (fix #65) 2022-10-11 12:49:05 -07:00
Varun Patil a99658e5a1 Fix z-index of top-bar 2022-10-10 22:14:28 -07:00
Varun Patil d4d3017737 Refactor modals 2022-10-10 22:13:41 -07:00
Varun Patil f40eb78a18 Add face remove box 2022-10-10 20:54:41 -07:00
Varun Patil 6fbef4d8c9 Add face name change modal (fix #64) 2022-10-10 20:40:58 -07:00
Varun Patil e81b7c6d59 Fix opening nameless faces 2022-10-10 17:17:42 -07:00
Varun Patil 9c6522480f Move top matter above error 2022-10-10 17:10:44 -07:00
Varun Patil 7030f789a3 Use translate for static cursor panning 2022-10-10 16:29:32 -07:00
Varun Patil 092de18af2 Don't render check unless needed 2022-10-10 16:13:52 -07:00
Varun Patil 3e901189b3 Fix gap in back arrow in tags/face 2022-10-10 12:24:06 -07:00
Varun Patil 34a6818242 EditDate: fix division by zero (#56) 2022-10-08 17:36:13 -07:00
Varun Patil 272c1a65ea Show empty content message 2022-10-08 17:25:34 -07:00
Varun Patil 5640418003 Fix Nextcloud 25 borders 2022-10-08 16:56:25 -07:00
Varun Patil 032856ddb4 Minor timeline UX adjustment 2022-10-08 16:42:52 -07:00
Varun Patil ee99993378 Add Face top matter 2022-10-07 23:52:41 -07:00
Varun Patil c567000406 Fix folder refresh 2022-10-07 23:35:09 -07:00
Varun Patil 6fcb3ba457 Use name for face fetching 2022-10-07 23:26:09 -07:00
Varun Patil bfee339bc9 Always use cache previews 2022-10-07 19:12:07 -07:00
Varun Patil 991515e9e5 Get face previews in single query 2022-10-07 19:00:55 -07:00
Varun Patil ff502b5068 Speed up tag thumb load 2022-10-07 17:57:48 -07:00
Varun Patil 6760e7d7e9 Cache itag previews 2022-10-07 17:26:10 -07:00
Varun Patil 4cdd72cce1 Add tag top matter 2022-10-07 15:56:43 -07:00
Varun Patil 4f135c67f3 NcCounterBubble import from top package 2022-10-07 15:49:23 -07:00
Varun Patil e1bc82b2ca Prevent selecting tags 2022-10-07 13:28:20 -07:00
Varun Patil 87d4805cac Fix face on resize window 2022-10-07 13:26:50 -07:00
Varun Patil 27743824f0 Minor adjustment to face 2022-10-07 12:35:46 -07:00
Varun Patil d1e9205a54 Implement people tab for recognize 3 (fix #43) 2022-10-07 12:28:39 -07:00
Varun Patil 4c684f1aef Ensure tags enabled 2022-10-07 10:46:09 -07:00
Varun Patil f65b08f8a5 Fix regression in folder 2022-10-06 21:49:17 -07:00
Varun Patil ae0cce00cd Fix tag text size 2022-10-06 16:52:18 -07:00
Varun Patil f4d33df10d Add bubble to tag 2022-10-06 16:40:50 -07:00
Varun Patil f5baf36109 Add tags view 2022-10-06 16:28:35 -07:00
Varun Patil 8e0d818337 Check valid path in folder.vue 2022-10-06 15:59:54 -07:00
Varun Patil 4c38124ac8 Fix broken day GET 2022-10-06 13:37:12 -07:00
Varun Patil 5a250818a5 Add on this day tab (#41) 2022-10-06 13:20:39 -07:00
Varun Patil b62e73735c Allow querying multiple day ids 2022-10-06 12:24:45 -07:00
Varun Patil 515addf497 Show days API errors properly 2022-10-06 11:49:51 -07:00
Varun Patil f09322d866 Add viewInFolder function (fix #61) 2022-10-06 11:16:23 -07:00
Varun Patil 02766777ef Fix IFileInfo interface 2022-10-06 11:15:41 -07:00
Varun Patil 96d0e8b0f5 Merge branch 'master' of https://github.com/pulsejet/betterphotos 2022-10-06 10:47:48 -07:00
Varun Patil 7445f43381 Hide too many ticks on mobile 2022-10-06 10:47:45 -07:00
Varun Patil 0807498894 Fix tick size on mobile 2022-10-06 10:32:44 -07:00
rakekniven 902d83b21f
Triple dot to ellipsis (#62)
* Triple dot to ellipsis

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

* Triple dot to ellipsis



Reported at Transifex.

Signed-off-by: rakekniven 2069590+rakekniven@users.noreply.github.com

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: rakekniven 2069590+rakekniven@users.noreply.github.com
2022-10-03 15:41:51 -07:00
Varun Patil f108c31d67 Handle invalid date in saveMany (#56) 2022-09-29 16:43:30 -07:00
Varun Patil 373a02fd2c Convert time to epoch in PHP (#56) 2022-09-27 14:39:54 -07:00
Varun Patil 5bdc0d9e48 Use NcActions:inline properly 2022-09-26 12:29:49 -07:00
Varun Patil abff2156de Reduce buffer to 400 2022-09-26 00:40:29 -07:00
Varun Patil dd3607144d Remove stray log statement 2022-09-26 00:34:57 -07:00
Varun Patil 944a42cf9a Increase buffer to 800px 2022-09-26 00:34:43 -07:00
Varun Patil a42d4c7893 Remove fade animation
Just hurts at this point
2022-09-26 00:02:32 -07:00
Varun Patil 0fc3db8e46 Fix missing unarchive button 2022-09-25 16:31:21 -07:00
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 &quot; 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