Commit Graph

206 Commits

Author SHA1 Message Date
SebastianMC 13f76cc623 Unified the way of accessing the FileExplorerView and added a bit more defensive programming in this area. Also added support for deferred monkey-patching of FileExplorerView in case it doesn't succeeds in the initialization sequence 2022-09-29 19:05:06 +02:00
SebastianMC a2126fa888 Removed email address from package.json and manifest.json 2022-09-29 18:04:05 +02:00
SebastianMC 57b1cd8ae2 Bugfix for #17 - plugin closes most recent tab
Version bump for release
2022-09-29 10:01:10 +02:00
SebastianMC 2ac5a12a2c
Merge pull request #16 from SebastianMC/13-feature-support-modified-date-sort-for-folders
13 feature support modified date sort for folders
2022-09-26 21:12:52 +02:00
SebastianMC 4b7849c422 13 - Feature request: Sort by modification date, treating folder and files equally
- README.md update, typo
2022-09-26 21:06:34 +02:00
SebastianMC 200333fb31 13 - Feature request: Sort by modification date, treating folder and files equally
- README.md update, adjusted one of examples to use the `> advanced modified` sorting method
2022-09-26 19:12:15 +02:00
SebastianMC afa10afd7d 13 - Feature request: Sort by modification date, treating folder and files equally
- syntax reference update
2022-09-26 19:06:20 +02:00
SebastianMC 72550fc01d 13 - Feature request: Sort by modification date, treating folder and files equally
- added unit tests coverage the logic of determining dates for folders
2022-09-26 19:00:23 +02:00
SebastianMC bfd093bbf2 13 - Feature request: Sort by modification date, treating folder and files equally
- added unit tests coverage for the extended sorting methods in sorting specification processor
2022-09-26 16:40:24 +02:00
SebastianMC 1b8e0878af 13 - Feature request: Sort by modification date, treating folder and files equally
- extended the advanced folder date handling also on the creation date
2022-09-26 16:18:35 +02:00
SebastianMC 4e64925b2d Merge remote-tracking branch 'origin/master' into 13-feature-support-modified-date-sort-for-folders 2022-09-26 15:18:03 +02:00
SebastianMC d6802a6a28 Versions bump for release 2022-09-26 15:11:37 +02:00
SebastianMC 55580ae8a2
Merge pull request #15 from SebastianMC/14-disable-notification-option
14 disable notification option
2022-09-26 15:07:52 +02:00
SebastianMC 65b452ef3f 14 - Disable notification option
- finetune the description of the newly introduced setting
2022-09-26 15:06:29 +02:00
SebastianMC c12db12d37 14 - Disable notification option
- added plugin setting to enable/disable notifications
2022-09-26 15:03:00 +02:00
SebastianMC 2b77ce058d 13 - Feature request: Sort by modification date, treating folder and files equally
- finetuned the 'modified' sorting method - not the folders are ordered alphabetically, as the standard Obsidiand sort by 'modified date' does
- finetuned the 'created' sorting method in the same way as 'modified'
- added some initial content to syntax-reference.md ;-)
- extended the 'advanced modified' sorting method to also support the edge-case secondary sorting methods for groups
2022-09-25 22:50:27 +02:00
SebastianMC 5aed85c0bd 13 - Feature request: Sort by modification date, treating folder and files equally
- working solution - added new explicitly named sort method 'advanced modified' on top of 'modified'
- unit tests to be added before merge and release
2022-09-23 20:10:31 +02:00
SebastianMC 527df1a74f
Create codeql-analysis.yml 2022-09-21 13:39:32 +02:00
SebastianMC 1f361cdf16 Version bump to include the newly added license to the released pacakge 2022-09-14 18:34:05 +02:00
SebastianMC 526c0637c0 Added GPL v3 license in LICENSE.md 2022-09-14 18:31:07 +02:00
SebastianMC 43d30a6cb6 Updated description of a plugin setting for clarity 2022-09-14 11:33:54 +02:00
SebastianMC f3bbe3d9b6 Version bump after major update (merged upstream obsidianmd/obsidian-sample-plugin changes) 2022-09-14 11:16:46 +02:00
SebastianMC 3a02ecd65c
Merge pull request #9 from SebastianMC/merge-upstream-1
Merge upstream obsidianmd/obsidian-sample-plugin + bugfix
2022-09-14 11:14:05 +02:00
SebastianMC fe90df845a Added more clarity and readability to the code around monkey-patching of TFolder.sort() method 2022-09-14 11:10:47 +02:00
SebastianMC fd8dfa1fcd Bugfix - custom designated file of sorting config was ignored, the default Inbox/Inbox.md was always used instead 2022-09-14 11:09:19 +02:00
SebastianMC c01d069829 Merge from upstream git@github.com:obsidianmd/obsidian-sample-plugin.git
- because of strict null check adjusted the code where necessary
2022-09-13 18:47:39 +02:00
SebastianMC 307f525f5a Merge remote-tracking branch 'upstream/master' into merge-upstream-1
# Conflicts:
#	manifest.json
#	package.json
#	styles.css
#	tsconfig.json
#	versions.json
2022-09-13 15:58:31 +02:00
SebastianMC 73440c562b Version bump for release 0.6.2 2022-09-07 22:53:21 +02:00
SebastianMC 90baa3c0cd
Merge pull request #8 from SebastianMC/4-feature-request-activate-deactivate-custom-sort-through-command
Ticket #4: Feature Request: activate deactivate custom sort through command
2022-09-07 22:51:20 +02:00
SebastianMC 9962d9e76e Ticket #4: Feature Request: Activate / Deactivate Custom Sort through command
- added two new commands to enable/suspend the plugin
- intentionally put in the description convenient names: sort-on and sort-off
- code area was not covered by unit tests, not adding new one at this point (simple logic, fresh mind ;-)
2022-09-07 22:47:16 +02:00
SebastianMC 52a28f63d7
Merge pull request #5 from SebastianMC/#3-feature-request-disable-status-bar-entry
#3 feature request disable status bar entry
2022-09-07 21:56:09 +02:00
SebastianMC d44a386167 Ticket #3: added new plugin setting to enable/disable status bar entry
- comment clean up
2022-09-07 21:51:33 +02:00
SebastianMC 5672dfaf9e Ticker #3: added new plugin setting to enable/disable status bar entry 2022-09-07 21:44:16 +02:00
SebastianMC 6801041627 Version bump for release 2022-09-05 10:54:34 +02:00
SebastianMC d3e11708a4 Bug fix: when only files outsiders group was present, no catch-all outsiders group was added automatically. Same for folders-only outsiders group.
Cosmetics: wildcard patters for root like '/*' or '/...' produced a non matchable sort spec in the main sorting spec. The sort spec in wildcards tree was ok.
2022-09-05 10:52:02 +02:00
SebastianMC 4bca9735f2 Example sortspec.md fix - the order should be reverse alphabetical 2022-09-02 12:10:13 +02:00
SebastianMC 49014e1230 README.md minor fix - dangling links to reference documents (which are empty at now, anyway) 2022-09-02 12:07:37 +02:00
SebastianMC 1e30312e33
Merge pull request #2 from SebastianMC/1-inheritance-of-sorting-rules-for-subfolders
Ticket #1: added support for imposed sorting rules inheritance by subfolders
2022-09-01 01:15:38 +02:00
SebastianMC dc0c2d0909 README.md update, finetuned Quickstart section 2022-08-31 23:56:01 +02:00
SebastianMC 4cf19d1d8e README.md update, added Quickstart section 2022-08-31 23:49:00 +02:00
SebastianMC 5838a81b9c Ticket #1: added support for imposed sorting rules inheritance by subfolders
- bugfix: detection of duplicate specifications for the same folder across multiple (yaml) source files
2022-08-30 23:25:39 +02:00
SebastianMC d798f4a96c Ticket #1: added support for imposed sorting rules inheritance by subfolders
- YAML snippet in README.md updated for consistency with other examples
2022-08-30 20:31:20 +02:00
SebastianMC 20c79b0ee1 Ticket #1: added support for imposed sorting rules inheritance by subfolders
- README.md updated with internal links
2022-08-30 20:27:38 +02:00
SebastianMC 8e298aac18 Ticket #1: added support for imposed sorting rules inheritance by subfolders
- README.md updated with concise examples of the new functionality
2022-08-30 20:21:17 +02:00
SebastianMC e972bce007 Ticket #1: added support for imposed sorting rules inheritance by subfolders
- new syntax: target-folder: Reviews/*  <-- applies to folder, subfolders and all descendant folders
- new syntax: target-folder: Reviews/...  <-- applies to folder and subfolders
- special case: target-folder: /*  tells the plugin to apply the specified sorting to entire vault
- enhanced syntax for '.' - can be used to specify relative path now (e.g. target-folder: ./daily)
- added new sorting attribute (sorting: standard) to actually give back the sorting into the hands of standard Obsidian mechanisms
- fixed a minor bug: some of error messages were displayed only in console, not in the ballons
- unit tests for all new and changed functionality
- pending README.md update
2022-08-30 18:53:58 +02:00
lishid 866d3b8f0d Build: Target ES2018. 2022-08-20 20:25:17 -04:00
SebastianMC b1a43dff3a
More informative message to the user when no custom sorting specification was found at all 2022-08-17 20:23:37 +02:00
SebastianMC 575bc100a5
Updated README.md
Finetuned the links to example sortspec.md files to show them in plain (unformatted) mode when following the link
2022-08-13 23:30:56 +02:00
SebastianMC a510b979ef
Updated example sortspec.md
Added explanatory comment to the specification
2022-08-13 23:25:53 +02:00
SebastianMC 5b139f180e
Updated README.md 2022-08-12 00:52:14 +02:00