Commit Graph

140 Commits

Author SHA1 Message Date
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
SebastianMC 8b6e6652f1
Updated README.md header 2022-08-11 22:13:05 +02:00
lishid 64e8649877 Update sample css file. 2022-08-09 13:39:02 -04:00
lishid b46f6c9322 Update for 0.15 2022-08-09 13:38:50 -04:00
SebastianMC afdcecb52b Documentation updates (downloadable examples for README.md). 2022-08-07 01:40:36 +02:00
SebastianMC b1b8a507dd Documentation updates (header of README.md).
Done!!!
2022-08-06 17:42:53 +02:00
SebastianMC e819f283d4 Documentation updates (header of README.md) 2022-08-06 17:40:26 +02:00
SebastianMC b3fce89340 Documentation updates (added ToC to README.md) 2022-08-06 17:35:01 +02:00
SebastianMC 38e9be7b09 Documentation updates (added examples for sorting by Roman and compound Roman) 2022-08-06 17:01:20 +02:00
SebastianMC d301b9ff3c versions.json cleanup for the first release 2022-08-06 03:19:47 +02:00
SebastianMC 93daf529d3 First public release of the Obsidian custom sort plugin 2022-08-06 03:15:44 +02:00
lishid 04432b2ebf Upgrade dependencies, add strictNullChecks. 2022-06-24 15:41:39 -04:00
Lishid 00967d9040
Update esbuild.config.mjs 2022-06-19 20:50:11 -04:00
Henré Botha f85d2b74b5
Fix README headings (#29) 2022-05-07 11:15:23 -04:00
Xiao Meng f690c04577
use LF instead of CRLF (#28) 2022-04-15 14:13:31 -04:00
Lishid 24918c946d
Update README.md 2022-04-04 22:20:58 -04:00
lishid af0d47c19c Always use latest obsidian package. 2022-03-09 10:29:32 -05:00