Commit Graph

336 Commits

Author SHA1 Message Date
SebastianMC f5c64845ba The global `app` object becomes deprecated in Obsidian 1.6.0
- subsequent code adjustments
2024-05-13 14:51:57 +02:00
SebastianMC 2af53aa692 Removed debug console outputs 2024-05-13 14:51:05 +02:00
SebastianMC 107c32e461 The global `app` object becomes deprecated in Obsidian 1.6.0
- switched code to use the DI approach - the handle to `app` is handed over to the Plugin at initializaion. Keep in and supply down the execution chain, as needed
2024-05-13 14:36:13 +02:00
SebastianMC ef10a9ef43 Added table of contents to manual.md 2024-03-06 18:34:33 +01:00
SebastianMC 17bd661961
Update README.md with warning on Obsidian 1.5.4 breaking changes 2024-03-03 21:24:37 +01:00
SebastianMC f1bced1d5a
Merge pull request #133 from Andrei-Sager/back-to-top
Added "Back To Top" internal links to advanced-README.md.
2024-02-25 19:33:26 +01:00
Andrei dfc6022cb1
Update advanced-README.md 2024-02-21 09:13:06 +08:00
Andrei 6b5af562c4
Update advanced-README.md 2024-02-21 09:02:02 +08:00
Andrei a4d18e3063
Update advanced-README.md 2024-02-21 09:00:33 +08:00
Andrei e88b670f6d
Update advanced-README.md 2024-02-21 08:56:00 +08:00
Andrei b511163f8a
Update advanced-README.md 2024-02-21 08:51:33 +08:00
Andrei d68c1561d8
Update advanced-README.md 2024-02-21 08:50:40 +08:00
SebastianMC 8d9ccdd516 Version bump before release 2024-02-20 18:27:19 +01:00
SebastianMC 702fe9e027 Extracted and extended a basic integration test 2024-02-19 10:40:38 +01:00
SebastianMC 2c3de3d609 Reorganised unit tests locations - moved all of them to a dedicated folder 2024-02-19 08:59:17 +01:00
SebastianMC ba54e63a48 #132 - new orders: `advanced recursive modified` and `advanced recursive created` 2024-02-19 08:53:43 +01:00
SebastianMC 5ac915547c Introduced alias sorting name `unicode-charcode` for the `vsc-unicode`, for clarity for non-VSC users. 2024-02-13 16:30:54 +01:00
SebastianMC 424e56c962 Removed support for the experimental sorting methods: `aaa-z` and `a-zzz`. They weren't working correctly. 2024-02-13 16:24:15 +01:00
SebastianMC 53b5895e81 Bugfix for #131
Obsidian introduced breaking changes around File Explorer JS structure which prevented this custom-sort plugin from working.
- fix backward compatible with versions earlier that 1.5.4
- version bump before release
2024-02-09 14:24:04 +01:00
SebastianMC 9f4008c2a2 Revert "Bugfix for #131"
This reverts commit 238c027903.
2024-02-09 14:03:48 +01:00
SebastianMC e18122c67d Rolled back 2.1.6 version and added a warning in README.md about incompatibility with Obsidian 1.5.4 2024-02-09 11:59:15 +01:00
SebastianMC 12ae5a5bbe Rolled back 2.1.6 version and added a warning in README.md about incompatibility with Obsidian 1.5.4 2024-02-09 11:57:09 +01:00
SebastianMC 634e0c0755 Version bump before release 2024-02-07 23:39:34 +01:00
SebastianMC 238c027903 Bugfix for #131
Obsidian introduced breaking changes around File Explorer JS structure which prevented this custom-sort plugin from working.
2024-02-07 23:34:27 +01:00
SebastianMC a2a808e78b Two experimental features + version bump before release
- `aaa-z` and `a-zzz` sort orders (uppercase first, alphanumeric order and lowercase  first, alphanumeric)
- `vsc-unicode` sort order, which is equivalent to what VS Code refers to as 'unicode' sorting (which name is arbitrary and confusing, yet familar to VS Code users)
2024-01-27 23:25:59 +01:00
SebastianMC fe98a27f5d Version bump before release 2024-01-26 10:50:32 +01:00
SebastianMC 8d5ca13acb #127 - folder and file with the same (base) name advanced sorting support:
- bugfix for `files-first` or `folders-first` sorting methods
2024-01-26 00:34:24 +01:00
SebastianMC ac8cbc0efd
Merge pull request #129 from SebastianMC/127-folder-and-file-with-the-same-basename-sorting
#127 - folder and file with the same (base) name advanced sorting support
2024-01-25 23:11:44 +01:00
SebastianMC 9cf01e9591 Merge branch 'master' into 127-folder-and-file-with-the-same-basename-sorting
# Conflicts:
#	src/custom-sort/sorting-spec-processor.spec.ts
2024-01-25 21:23:54 +01:00
SebastianMC 6743796d2e
Merge pull request #128 from SebastianMC/126-naive-version-allow-escaping-the-dot-character
#126 Allow to eliminate ambiguity of `....`
2024-01-25 21:14:33 +01:00
SebastianMC e0208e2793 #126 - Allow escaping the . (dot) character to remove ambiguity with the ... wildcard
- simplistic implementation - use `./...` syntax to remove ambiguity of `....`
2024-01-25 20:54:15 +01:00
SebastianMC 958a9b017c #127 - folder and file with the same (base) name advanced sorting support:
- the last-resort default fallback sorting method (which was alphabetical) is extended to give preference to files. In other words, if all the specified sorting levels don't sort two items, the file goes first (if the other item is a folder)
- added explicit syntax to specify `files-first` or `folders-first`
2024-01-25 18:10:36 +01:00
SebastianMC f5fafc184f #126 - Allow escaping the . (dot) character to remove ambiguity with the ... wildcard
- naive implementation, the escape lexeme is \\DOT (problematic long term because of overlaps)
- naive implementation, the escape is transformed to simple-regexp (technically this is not needed at all)
2024-01-25 17:09:30 +01:00
SebastianMC c12ecb5c8c Version bump before release 2024-01-25 10:59:00 +01:00
SebastianMC 11d6623191 #123 - sorting by file basename by default (instead of fullname with ext)
- new syntax `a-z.` and `true a-z.` introduced to allow explicitly sorting by filename with ext
2024-01-25 10:47:05 +01:00
SebastianMC 45e5f3c3c7 Merge remote-tracking branch 'upstream/HEAD' into merge-upstream-1
# Conflicts:
#	manifest.json
2024-01-24 20:18:29 +01:00
SebastianMC 3000da4edc Removed the unfinished partial implementation of overrideTitle functionality 2024-01-22 19:54:15 +01:00
SebastianMC 124c851989 #119 - Non-string value of sorting-spec: prevents the custom sorting from working w/o error message
- added a bit of defensive programming to fix the problem. The sorting spec with broken syntax is ignored (error is swallowed)
2023-12-14 17:28:22 +01:00
SebastianMC b5a9684f56 Removed console.log statements which slipped in 2.1.1
Version bump before release
2023-11-24 18:59:15 +01:00
SebastianMC cc1429d43f Version bump before release 2023-11-24 18:52:40 +01:00
SebastianMC 88327f6314 #115 - Add inline regex support to match capital letters and lowercase letters explicitly 2023-11-24 18:52:26 +01:00
Aleksey Rowan e60294b950
Update manifest description (#77) 2023-11-15 12:17:04 -05:00
SebastianMC 39cddc301a Version bump before release 2023-11-13 15:49:43 +01:00
SebastianMC b4d55c8b70 #111 - changed the sorting behavior for items with undefined attributes
- sorting by bookmarks, item w/o bookmark pushed to the bottom in both: asc and desc orders
- sorting by metadata, item w/o metadata pushed to the bottom in both, asc and desc orders
- sorting by creation or modification date, advanced mode: empty folders (or folders having only folder children) are pushed to the bottom, regardless of asc or desc order
2023-11-13 15:48:27 +01:00
SebastianMC b97209771f Minor rewording in REAMDE.md 2023-11-09 11:22:47 +01:00
SebastianMC 66867d274b Changes the gif demo video to a simpler one with bright colors 2023-10-23 23:10:22 +02:00
SebastianMC 755a740f93 Version bump for refreshed release 2023-10-23 11:53:29 +02:00
SebastianMC 037624412d Adjusted minimal required Obsidian API version in manifest.json, for consistency 2023-10-23 11:52:22 +02:00
SebastianMC b227a3b8d6 #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- versions bump for release 2.0.1
2023-10-23 11:39:49 +02:00
SebastianMC 1fd3d137a3 #74 - Integration with Bookmarks core plugin and support for indirect drag & drop arrangement
- README.md finetuning
2023-10-23 11:38:35 +02:00