Commit Graph

1166 Commits (a2995eb5279e090a8b486eed58db8ea4a514658b)

Author SHA1 Message Date
Varun Patil 00a5230c9f Revert "Improve scroller performance"
This reverts commit 0fbd076a52.
2022-10-29 16:08:06 -07:00
Varun Patil 0fbd076a52 Improve scroller performance 2022-10-29 15:50:14 -07:00
Varun Patil 21276219a1 Add contain strict to list and elems 2022-10-29 12:34:37 -07:00
Varun Patil c50c541095 Specify path on NC24 for viewer 2022-10-28 23:21:12 -07:00
Varun Patil 7dd758ee4d Remove album folder in day call 2022-10-28 22:44:16 -07:00
Varun Patil b84b4e6de1 Complete folder share 2022-10-28 22:24:19 -07:00
Varun Patil fd4105e913 Fix build 2022-10-28 19:36:01 -07:00
Varun Patil 65d8a478e1 Add OC typings 2022-10-28 19:34:24 -07:00
Varun Patil ed8ae2cce1 Hide selection menus on public link 2022-10-28 19:08:00 -07:00
Varun Patil 4c66ef1949 Fix deletion fail errro 2022-10-28 19:03:29 -07:00
Varun Patil 194c97aaf9 Fix folder share viewer 2022-10-28 18:58:40 -07:00
Varun Patil d3d3e34808 Hide navigation on shared folders 2022-10-28 18:34:17 -07:00
Varun Patil cd2f714e92 Include filename in days 2022-10-28 18:11:58 -07:00
Varun Patil 9209b8f55d Add basic folder share stuff 2022-10-28 17:25:39 -07:00
Varun Patil c8727c4f28 Check null for current user + default state 2022-10-28 16:21:08 -07:00
Varun Patil 51fd0a0e76 Fix album favorite 2022-10-28 15:48:10 -07:00
Varun Patil 4c7453cb84 Refactor getFiles to use photos 2022-10-28 15:46:13 -07:00
Varun Patil f2d61c3e07 Fix shared album photo viewing 2022-10-28 14:26:56 -07:00
Varun Patil a463e82f83 Show download errors 2022-10-28 14:22:27 -07:00
Varun Patil 2bda53240d Show album controls to owner only 2022-10-28 12:24:26 -07:00
Varun Patil 428e22dc19 Fix shared album list 2022-10-28 12:20:22 -07:00
Varun Patil fc6a4fc244 Make the code prettier 2022-10-28 12:08:34 -07:00
Varun Patil 64b50deb40 refactor: reorganize dav requests 2022-10-28 11:52:38 -07:00
Varun Patil c7815c7f58 Fix adding photos to shared album 2022-10-28 11:36:49 -07:00
Varun Patil d25ae081d5 Show owner name in shared album add 2022-10-28 11:27:00 -07:00
Varun Patil 1cddbaeb42 skipHover on recycler 2022-10-28 09:41:27 -07:00
Varun Patil af43138580 Change viewName to prop 2022-10-28 09:08:59 -07:00
Varun Patil 1af61db512 Add photos version check 2022-10-27 13:45:03 -07:00
Varun Patil a0d757adfc Use separate tag preview endpoint 2022-10-27 13:26:51 -07:00
Varun Patil 038ba2eb87 Add shared albums 2022-10-27 02:36:20 -07:00
Varun Patil 5927163b33 Add album share modal 2022-10-27 01:59:23 -07:00
Varun Patil 1d6cec1028 Allow collaborator on create 2022-10-27 01:22:00 -07:00
Varun Patil 9635b87237 Move album remove to top 2022-10-27 00:53:26 -07:00
Varun Patil 396aa95396 Fix album edit 2022-10-27 00:49:22 -07:00
Varun Patil 6dc6edbc9c Implement album deletion 2022-10-27 00:22:09 -07:00
Varun Patil e4e2b051ea Fix album title 2022-10-27 00:18:29 -07:00
Varun Patil 4dacf17833 Make empty tag dark 2022-10-27 00:17:42 -07:00
Varun Patil 9891a03d9e Add album create dialog 2022-10-27 00:11:35 -07:00
Varun Patil c9a2c8a021 Add album form 2022-10-26 23:37:56 -07:00
Varun Patil 67206643b7 Add album removal 2022-10-26 23:03:40 -07:00
Varun Patil 49373969a7 Port album adding 2022-10-26 22:49:57 -07:00
Varun Patil 6087e5fb0a Port album picker 2022-10-26 22:25:04 -07:00
Varun Patil 8d3f2a1cf6 Make bubble text black 2022-10-26 21:33:37 -07:00
Varun Patil 26d3e7068b Add album timeline 2022-10-26 21:33:37 -07:00
Varun Patil 50bb55536f albums: add list 2022-10-26 21:33:37 -07:00
Varun Patil 294b3b8a0c albums: initial commit 2022-10-26 21:33:37 -07:00
Varun Patil d489ffbc1d Don't round in scroller manager 2022-10-26 21:33:11 -07:00
Varun Patil 95438af1d8 Use :deep instead of global css 2022-10-26 21:26:28 -07:00
Varun Patil dffd84ba20 Add link to maps (fix #121) 2022-10-26 11:58:06 -07:00
Varun Patil c437f88965 photo: increase hq aggressiveness 2022-10-26 11:45:28 -07:00
Varun Patil d9a4f9e090 Fix missing placeholders 2022-10-26 10:52:54 -07:00
Varun Patil 387c79d6a2 Add move to cluster confirmation (fix #120) 2022-10-26 10:46:12 -07:00
Varun Patil 0feed0721f Make Folder and Tag links (fix #115) 2022-10-26 10:38:42 -07:00
Varun Patil 352f8d3d54 Patch viewer to full screen 2022-10-25 21:46:23 -07:00
Varun Patil adafe941e5 Minor display fixes 2022-10-25 21:34:01 -07:00
Varun Patil 4e796912be Fix blurry breakouts (fix #112) 2022-10-25 09:19:36 -07:00
Varun Patil 211519ddde Add start page (fix #109) 2022-10-24 21:30:43 -07:00
Varun Patil 033be33b04 No hard refresh on config change 2022-10-24 19:06:58 -07:00
Varun Patil bcd8169d7f Improve settings experience 2022-10-24 18:58:49 -07:00
Varun Patil 7e48d06cc3 Refactor TagDayIDValueSet 2022-10-24 18:34:46 -07:00
Varun Patil ebbc8ac12c Hide people for non-admin if no recognize (fix #103) 2022-10-24 09:38:39 -07:00
Varun Patil 6827a60277 urgent: fix day backref 2022-10-23 11:53:00 -07:00
Varun Patil 62bed82f1d Check face ownership before action (#82) 2022-10-23 11:24:47 -07:00
Varun Patil 742e43620d Catch cache exceptions (#98) 2022-10-23 11:01:53 -07:00
Varun Patil a8d8ee95d0 Don't breakout folders and tags (fix #94) 2022-10-23 10:46:09 -07:00
Varun Patil 6faa222b70 Fix folders path (#97) 2022-10-23 10:33:14 -07:00
Varun Patil 1ffc1b57f2 Catch cache errors 2022-10-23 10:30:52 -07:00
Varun Patil 7885c07320 Fix deletion glitches on mobile (#89) 2022-10-22 15:17:53 -07:00
Varun Patil e47f9ee999 Fix getCoords rounding error 2022-10-22 11:58:03 -07:00
Varun Patil daf0bc180b Fix confusing header select 2022-10-22 11:47:29 -07:00
Varun Patil 4e5215b87b Cap content-vue size to 100vh 2022-10-22 11:37:21 -07:00
Varun Patil 928969b7e4 Readjust on scroller height change 2022-10-22 11:35:43 -07:00
Varun Patil 09656da01b Fix tag name centering 2022-10-22 10:49:15 -07:00
Varun Patil fc2ddcd24e Add readonly mode 2022-10-22 10:41:34 -07:00
Varun Patil d7feba6803 Fix hover cursor stutter on day load 2022-10-22 10:15:28 -07:00
Varun Patil 51db40fb9e Make scroller non-linear 2022-10-20 23:48:28 -07:00
Varun Patil c967065d83 refactor: scroller moveto 2022-10-20 22:24:00 -07:00
Varun Patil 60e33112bd Allow running without cache 2022-10-20 21:28:10 -07:00
Varun Patil 3da3cab4b1 Restore tick centering 2022-10-20 20:16:56 -07:00
Varun Patil 7941a4ed71 Reduce handleResizeWithDelay delay 2022-10-20 19:59:42 -07:00
Varun Patil fc4862f5a0 Fix more resize issues 2022-10-20 19:55:18 -07:00
Varun Patil 2ee9e09a25 big: fix resizing issue 2022-10-20 18:35:31 -07:00
Varun Patil 0304cf07a2 timeline: recomputeSizes rework 2022-10-20 18:09:25 -07:00
Varun Patil 9ec4a4c78f No reflow in recomputeSizes (handleResize) 2022-10-20 17:41:26 -07:00
Varun Patil 2715209a3d scroller: recreate overrides adjust 2022-10-20 17:39:11 -07:00
Varun Patil 726c2a54af Revert isMobile to func 2022-10-20 16:15:18 -07:00
Varun Patil 0f4f3b7ef8 scroller: use only hv on mobile 2022-10-20 16:03:33 -07:00
Varun Patil d6ad3c097c Make mobile scroller larger 2022-10-20 15:37:36 -07:00
Varun Patil 593c3562bc Fix box-sizing 2022-10-20 14:43:18 -07:00
Varun Patil eded100da2 Cap size of face list modal 2022-10-20 14:33:29 -07:00
Varun Patil 593f0cea31 Add support for memes from the 90s
MIMEs test by @illnesse (#83)
2022-10-19 16:06:32 -07:00
Varun Patil 42aebc5d9c refactor: get rid of timeline scroll funcs 2022-10-19 15:54:20 -07:00
Varun Patil cbe6629372 scroller: use sequential keys for dash 2022-10-19 12:57:34 -07:00
Varun Patil 9a52caacc3 Fix at least the scroller 2022-10-19 12:39:07 -07:00
Varun Patil 25d787f419 Allow setting folder base path (close #85) 2022-10-19 12:26:32 -07:00
Varun Patil 0a028ef791 scroller: computeVisibleTicks after adjust 2022-10-19 11:33:48 -07:00
Varun Patil 866376c912 timeline: join day calls (fix #84) 2022-10-19 11:22:43 -07:00
Varun Patil 40ab7cbf2b thisday: fix repeat bug 2022-10-19 10:46:29 -07:00
Varun Patil 850d5496f7 Don't let user move faces unless marked 2022-10-18 18:21:27 -07:00
Varun Patil d01fc1268c Allow moving faces to other cluster (fix #78) 2022-10-18 18:07:00 -07:00
Varun Patil ca4b13295a refactor: modal face list 2022-10-18 17:34:25 -07:00
Varun Patil 1fdf6c2093 Restore close-after-click 2022-10-18 17:05:05 -07:00
Varun Patil 789186160d refactor: selection manager loading 2022-10-18 17:01:04 -07:00
Varun Patil d73242badc refactor: use object for scrollermanager 2022-10-18 15:52:54 -07:00
Varun Patil fc8b5a6465 Fix timeline cache issue 2022-10-18 15:28:10 -07:00
Varun Patil 9a1daec13c Remove random icon 2022-10-18 14:11:05 -07:00
Varun Patil 38ceddc609 Mark person in preview (fix #79) 2022-10-18 14:08:27 -07:00
Varun Patil 532a8ad716 Remove unused flags 2022-10-18 13:51:28 -07:00
Varun Patil 3f53b73db1 Add recycler fade 2022-10-18 11:43:17 -07:00
Varun Patil d1d255d4b1 thisday: cache 2022-10-18 11:35:38 -07:00
Varun Patil f6775a3287 thisday: dark mode 2022-10-18 11:24:04 -07:00
Varun Patil a67c23573b Fix recyclerBefore size 2022-10-18 11:20:17 -07:00
Varun Patil 9669557983 thiday: mobile layout 2022-10-18 11:11:04 -07:00
Varun Patil 70d0aacb71 thisday: improve sampling 2022-10-18 10:52:44 -07:00
Varun Patil 42fcae0f51 Add on this day to top of timeline (#41) 2022-10-18 10:42:44 -07:00
Varun Patil b63a2cbfa7 Chunk calls to getFiles (fix #77) 2022-10-18 08:16:40 -07:00
Varun Patil 5de3e90b99 Add object-fit to tag and folder (#72) 2022-10-18 07:49:06 -07:00
Varun Patil 5461f29581 Remove unused import 2022-10-18 07:08:11 -07:00
Varun Patil 7ecc646408 refactor: move moment stuff to utils 2022-10-17 20:06:01 -07:00
Varun Patil caa31041b3 Change square layout probabilities 2022-10-17 19:24:00 -07:00
Varun Patil 7ce3d3225d layout: add guard 2022-10-17 16:58:02 -07:00
Varun Patil 88e89c88e0 layout: allow disable 2022-10-17 16:55:58 -07:00
Varun Patil c9eb878330 layout: make it deterministic 2022-10-17 16:46:43 -07:00
Varun Patil 28f8c85751 layout: breakout 2022-10-17 16:35:24 -07:00
Varun Patil 2e9d13a515 Add 6-flag to mob layout 2022-10-17 15:46:38 -07:00
Varun Patil 2506180426 refactor: flagMatrixStr 2022-10-17 12:20:42 -07:00
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
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