Commit Graph

1470 Commits (182caed840d1302a87f274f51b1fb7e7d38d93bd)

Author SHA1 Message Date
Varun Patil d6e108831e refactor: move globals declaration
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-13 12:22:15 -07:00
Varun Patil 43d3668119 refactor: init state to utils
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-13 12:09:26 -07:00
Varun Patil d0501a1bba refactor: move globals to namespace
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-13 10:32:07 -07:00
Varun Patil 313ba6c3c2 refactor(large): disallow implicit any
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-11 22:56:53 -07:00
Varun Patil 2d1a0d1542 chore: update deps
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-11 20:30:26 -07:00
Varun Patil 0c682b7cc3 dialog: restore cancel button (fix #864)
We autofocus the confirm button with MutationObserver

Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-11 19:58:02 -07:00
Varun Patil 72a76d7d30 nx: fix setup continue color
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-07 09:21:28 -07:00
Varun Patil 61294a7dc3 nx: replace route in setup
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-06 16:33:21 -07:00
Varun Patil 810ee107c9 nx: fix db update event
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 15:49:17 -07:00
Varun Patil 96ff22325f nx: implement buid
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 15:09:43 -07:00
Varun Patil 8a90e8e01d nx: remove useless size
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 12:54:24 -07:00
Varun Patil fbc5825ba7 nx: do not stringify numbers
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 12:45:35 -07:00
Varun Patil d22d7603ed nx: remove wrong fallback
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 12:35:59 -07:00
Varun Patil 864a240d0b nx: debounce fresh insertion
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 12:15:15 -07:00
Varun Patil 8f820de237 cluster: add touch sound
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-03 19:20:26 -07:00
Varun Patil 62bbe2470a albums: fix deletion message
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-03 19:12:17 -07:00
Varun Patil 6d3fa7d27b nxsetup: fix overflow
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-03 11:28:59 -07:00
Varun Patil cba3e1faeb timeline: prevent unnecessary promises
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-03 10:10:30 -07:00
Varun Patil b04586ba34 nx: new marking API
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-03 10:06:40 -07:00
Varun Patil 5f6897b5c9 timeline: fix destructive cache reads
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-03 09:31:03 -07:00
Varun Patil e4ca88462d nx: add day cache
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-03 09:05:45 -07:00
Varun Patil 01d3e66108 nx: improve sorting algorithm
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-03 08:41:56 -07:00
Varun Patil ae6a2adbc4 ncx: use serverid API
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-02 18:43:11 -07:00
Varun Patil 3435ab35c9 app: refactor
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-02 18:00:49 -07:00
Varun Patil 1cb428b489 nx: use hidden API
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-02 17:54:56 -07:00
Varun Patil 58760b1c53 nx: only fetch day for haslocal
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-02 16:27:53 -07:00
Varun Patil 63b5c00fc8 Remove useless space
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-02 13:34:47 -07:00
Varun Patil 33d99ee310 nxsetup: more improvements
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-02 13:33:26 -07:00
Varun Patil aa867f1a49 nxsetup: fix nx theme
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-02 10:18:28 -07:00
Varun Patil fd1671625a nx: move setup to this
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-02 10:03:58 -07:00
Varun Patil a930eab8d2 refactor: split nativex
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-01 19:04:01 -07:00
Varun Patil f6ba121c40 edit-meta: disable when processing
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-01 10:36:20 -07:00
Varun Patil a3f327ed36 edit-metadata: prompt if no date
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-01 10:28:45 -07:00
Varun Patil 4a595db3f5 metadata: fix display of dates without tz info
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-01 09:34:48 -07:00
Varun Patil 9f246ff58b refactor: variable name
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-01 08:46:16 -07:00
Varun Patil 30dadfeac9 refactor: data construction in EditMetadataModal
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-01 08:26:44 -07:00
Varun Patil 37c2065129 refactor: improve typing
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-01 08:08:10 -07:00
Varun Patil e787b1c14e nx: attempt to share local file
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 15:01:12 -07:00
Varun Patil 3ec3a7bcd2 nx: always try local image for full load
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 14:47:37 -07:00
Varun Patil 58220ecd2c ps-image: prevent repeat loading of full res
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 14:29:38 -07:00
Varun Patil 96e033b23d nx: force local video when available
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 14:14:36 -07:00
Varun Patil 0b745fef6f nx: deduplicate confirmations for deletion
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 13:38:46 -07:00
Varun Patil ccf037e44a css: fix alignment of empty content
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 12:32:28 -07:00
Varun Patil 5fac290b37 share: enable sharing smaller videos
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 11:37:40 -07:00
Varun Patil 23d54d3f3b refactor: move modal functions to namespace
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 10:30:59 -07:00
Varun Patil 87b99fe6ea refactor: make face move modal singleton
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 10:17:28 -07:00
Varun Patil da35e9a41f refactor: make moveToFolder singleton
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 10:10:04 -07:00
Varun Patil b7f6d557dd albums: hint addition
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 10:02:09 -07:00
Varun Patil 0fdab7d7c7 sel: ask deletion confirmation (fix #798)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 09:56:38 -07:00
Varun Patil 96e3b3e769 dialog: autofocus confirm button
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 09:41:52 -07:00
Varun Patil 10bc05eaea dav: minify xml
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 20:56:09 -07:00
Varun Patil 248a3cd7a0 dav: remove dead code
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 20:46:26 -07:00
Varun Patil a1072d03b5 l10n: make albums shared by consistent
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 20:19:44 -07:00
Varun Patil 1fc100a61f l10n: translate tags in metadata
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 20:16:02 -07:00
Varun Patil 5efb659f70 l10n: use natural sorting
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 20:12:52 -07:00
Varun Patil ace3bfc63c l10n: fix localeCompare lang
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 20:08:05 -07:00
Varun Patil a2466e3501 explore: fix tag translation
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 20:01:48 -07:00
Varun Patil e95ff4f05c refactor: fix PR
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 19:48:40 -07:00
Varun Patil 94053f7dd3 refactor: fix PR
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 19:25:39 -07:00
Varun Patil 9eebe8f8e3 Merge branch 'translate-tag-names' of https://github.com/ASDFGamer/memories into ASDFGamer-translate-tag-names 2023-09-29 19:18:33 -07:00
Varun Patil 52df869e90 admin: fix description of preview_max_filesize_image (fix #816)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 18:54:55 -07:00
Christoph Wildhagen 6ea34b223c Sort Tags by translated names
Previously the tags were sorted (implicitly via the api) by the english
names. This could be confusing in other languages, when the shown
tags were seemingly unordered.

Signed-off-by: Christoph Wildhagen <git@christoph-wildhagen.de>
2023-09-29 23:07:42 +02:00
Christoph Wildhagen 22d24bc608 Translate Names of ClusterTopMatter for Tags
This fixes a bug, that the Name/Title of Tag detail sites like
/apps/memories/tags/Frog isn't translated, even though the
name of the Tag is translated in the tag overview page.

Signed-off-by: Christoph Wildhagen <git@christoph-wildhagen.de>
2023-09-29 22:26:27 +02:00
Varun Patil 630a435dea Refactor PR 2023-09-29 11:00:44 -07:00
Varun Patil 2bb0f30c6f admin: allow configuring GOP size workaround (fix #800)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 10:27:59 -07:00
Varun Patil 41ea6bdc1f user-config: fix errors on init
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-12 10:50:53 -07:00
Varun Patil 73fdcd9166 Refactor implementation 2023-09-12 10:40:23 -07:00
Varun Patil 66c5baa964 Merge branch 'add-public-full-res-options' of https://github.com/rhyst/nextcloud-memories into rhyst-add-public-full-res-options
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-12 09:40:28 -07:00
Varun Patil a4175ad59e dav: remove dead code
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-12 09:17:17 -07:00
Varun Patil 748ee361d3 timeline: hide scroller on empty content
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-30 19:49:55 -07:00
Varun Patil 6394301af5 scroller: fix for zero rows (fix #801)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-30 19:47:01 -07:00
Varun Patil b1ab26e44a refactor: improve typing and doc
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-29 10:27:26 -07:00
Varun Patil e75aa4006f router: remove dead link
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-28 16:43:04 -07:00
Varun Patil fce0a23277 albums: update view on deselection
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-28 16:25:37 -07:00
Varun Patil c196761c5e viewer: rename fetch day event
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-28 16:16:12 -07:00
Varun Patil 41a255aaa3 refactor: add typed event bus
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-28 16:14:50 -07:00
Varun Patil 9b12b2ab41 albums: fix changing albums from album (fix #795)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-28 15:23:43 -07:00
Varun Patil bca08f7eb2 refactor: use cached uid and isAdmin
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 21:41:42 -07:00
Varun Patil 78de9601ef albums: allow leaving shares
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 21:20:38 -07:00
Varun Patil 5cebf5cb80 dav: generalise info cache for filename
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 20:57:35 -07:00
Varun Patil 224bd3c2c9 viewer: reduce round trip for sidebar load
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 20:01:16 -07:00
Varun Patil ff481dffbb image: revert filename format change
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 19:55:04 -07:00
Varun Patil cd853f4a04 metadata: make basename clickable
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 19:40:01 -07:00
Varun Patil 97574690bc refactor: improve typing
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 15:54:46 -07:00
Varun Patil 65cd1952ff refactor: improve typing
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 14:47:57 -07:00
Varun Patil fbcec52de4 metadata: refactor
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 13:49:40 -07:00
Varun Patil 001c63ad90 metadata: add file path (fix #173)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 12:53:15 -07:00
Varun Patil 991babb2b5 edit-exif: enter to save
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 12:14:20 -07:00
Varun Patil aa04736456 metadata: move description to top
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 12:07:31 -07:00
Varun Patil ebd26d32b1 viewer: fix bottom bar width
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 11:28:17 -07:00
Varun Patil b0bf05df31 admin: detect recognize installed but not enabled (fix #789)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-24 21:14:41 -07:00
Varun Patil aecc53841c refactor: lowercase all services
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-21 18:30:46 -07:00
Varun Patil 1084c7057b refactor: lowercase Utils
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-21 18:22:14 -07:00
Varun Patil fe4fd9c240 refactor: split up CSS globals
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-21 18:17:55 -07:00
Varun Patil 4357a722a4 dialog: improve accessibility
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-21 18:05:36 -07:00
Varun Patil 38981ea0a3 dialog: add prompt proxy
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-21 18:00:07 -07:00
Varun Patil 9211d99a8b refactor: remove dead import
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-21 17:40:41 -07:00
Varun Patil 7eb9ffc3bf selection: move to custom dialog
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-21 17:40:03 -07:00
Varun Patil 60281c1f7f viewer: move to custom dialog
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-21 17:35:12 -07:00
Varun Patil ba19a3b45f dialog: allow blank title and message
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-21 17:35:05 -07:00