1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-03 02:33:15 +00:00
Commit Graph

57 Commits

Author SHA1 Message Date
Jermolene
e83759e86d Add "before" and "after" filter operators
Fixes #357 by adding new “before” and “after” filter operators.
2014-05-12 15:16:44 +01:00
Jermolene
f6bd3b8c37 Optimise the all filter operator
Seems like quite a decent optimisation.
2014-04-30 22:50:47 +01:00
Jermolene
385c7e207c Refactor wiki.filterTiddlers()
Now we pass a widget instead of the current tiddler title. We can use
widget.getVariable(“currentTiddler”) to get the current tiddler.
2014-04-27 20:03:33 +01:00
Jermolene
570cad1c7f Add 'get' filter operator
Prompted by @sukima’s work on #586
2014-04-27 18:45:01 +01:00
Jermolene
15d0c27e2a Add [is[tag]] filter operator 2014-04-18 17:57:55 +01:00
Jermolene
9fbe72a877 Rearrange system tag configuration
By rearranging the `[all[]]` operator we are able to ensure that shadow
tiddlers get processed before ordinary tiddlers. This makes it easier
to create custom stylesheets that override the core.
2014-04-18 09:28:14 +01:00
Jermolene
73cfd10218 Fix regression with untagged filter operator
Restored previous behaviour of considering a missing tiddler to be
untagged.
2014-04-17 16:10:50 +01:00
Jermolene
ccf2cb36a1 Extend sameday operator to select field
Now the target field can be specified in the suffix:
`[sameday:created[20140808]]`
2014-04-10 20:19:12 +01:00
Jermolene
7a4a00f6ca Sort operator should default to title
Previously we were crashing if a sort field wasn’t specified
2014-04-10 19:56:21 +01:00
Jermolene
3282bd948f Fix problem with search filter operator 2014-04-08 09:36:30 +01:00
Jermolene
272a4bbe61 Filtering optimisations 2014-04-05 17:31:36 +01:00
Jermolene
b7f674c51a First pass at refactoring filter execution
This is the beginning of addressing #523.
2014-04-03 20:49:16 +01:00
Jermolene
b8d0fd059b Fix bug with plugintiddlers filter operator 2014-03-18 21:18:45 +00:00
Jermolene
9de17aa206 Make shadowTiddlers, pluginTiddlers and pluginInfo be private to the Wiki object constructor 2014-03-17 10:50:18 +00:00
Jermolene
42c67cfeb7 Add tiddler info "advanced" panel 2014-03-14 15:23:28 +00:00
Jermolene
f48701544e Enhance tiddler title for system tiddlers
Now the $:/ part of the name is rendered in grey, making the main part
of the title more prominent.

@tobibeer suggested this a long time ago; good idea!
2014-03-13 17:40:53 +00:00
Jermolene
2ed8df0d1f Add a new "commands" filter 2014-02-25 14:49:56 +00:00
Jermolene
5417b8c4d7 Add 'indexes' filter operator
Returns the indexes within a data tiddler.

We’re about to use this to enumerate the colours within a palette.
2014-02-20 10:00:13 +00:00
Jermolene
8b3bfa6805 Allow [title[Blah]] to match missing tiddlers
Fixes #404
2014-02-12 16:01:20 +00:00
Jermolene
02ba92c6b5 Add [is[image]] filter operator 2014-01-29 09:04:41 +00:00
Jermolene
70ed6e6ad3 Fixed problem with list filter
A bug was preventing the tiddler title from being omitted in the list
filter (ie, [list[HelloThere!!field]] worked, but [list[!!field]] did
not.
2014-01-27 16:24:28 +00:00
Jermolene
9297b27b89 Reference correct wiki object 2014-01-25 18:17:33 +00:00
Jermolene
0b3efe179e Extend list filter operator to take a text reference
Instead of just a title. Means that we can apply the list operator to
fields other than the list field.
2014-01-25 18:14:30 +00:00
Jermolene
e6843aabff Refactoring of new filter list operators 2014-01-25 17:44:36 +00:00
Jeremy Ruston
592ef257a2 Merge pull request #326 from Skeeve/listops
New list operations from @Skeeve
2014-01-25 08:51:26 -08:00
Jermolene
a76da88380 Rename the operator portion after the colon to "suffix" 2014-01-24 19:15:27 +00:00
Jermolene
edc71cb920 Merge branch 'regexp_filter' of https://github.com/Skeeve/TiddlyWiki5 into Skeeve-regexp_filter 2014-01-24 18:40:27 +00:00
Jermolene
1c283c5586 Tighten "has" filter operator
We now require the field not to be an empty string in order to be
counted.
2014-01-20 08:59:01 +00:00
Stephan Hradek
0338c36610 implemented the field: syntax 2014-01-14 16:19:34 +01:00
Stephan Hradek
9444ef095f I feel ashamed :( Somehow this slipped me :( Sorry! 2014-01-12 23:37:11 +01:00
Stephan Hradek
8ef520ef37 Created regexp search for milestone 5.1 2014-01-10 10:32:49 +01:00
Stephan Hradek
103f4f6637 added some more filters 2014-01-04 00:01:17 +01:00
Stephan Hradek
b652238650 fixed issue #241 - created first, last, rest and reverse filter functions 2014-01-01 22:38:08 +01:00
Stephan Hradek
38142d2b19 Missed that I need to explicitly need to git rm … 2013-12-29 22:32:23 +01:00
Stephan Hradek
cee1bc0863 small typofix 2013-12-29 00:19:51 +01:00
Stephan Hradek
ce8c79ecfa changed sort and sortcs to support nsort and nsortcs 2013-12-29 00:15:11 +01:00
Jermolene
802fe9beae Add [is[tiddler]] filter operator
For selecting all non-shadow tiddlers, whether or not they are system
tiddlers
2013-11-24 20:38:58 +00:00
Jeremy Ruston
56b2c25588 Whoops file in the wrong place 2013-10-24 12:00:32 +01:00
Jeremy Ruston
3350510516 Add new modules and moduletypes filter operators 2013-10-23 23:11:41 +01:00
David Johnston
d321508437 Remove incorrect slice parameter.
Remove incorrect slice parameter, which made the ! (not) prefix fail to return any results.
2013-10-01 10:50:13 +01:00
David Johnston
f0b6790ae1 Previous in list filter. 2013-09-22 09:58:18 +01:00
David Johnston
b72afda7a2 Next in List filter 2013-09-22 09:57:23 +01:00
Jeremy Ruston
f51d0c55fe Fix eachday and sameday filter operators
There was some inconsistency of UTC vs. timezone handling
2013-09-21 10:08:16 +01:00
Jeremy Ruston
4fb6836481 Add an untagged filter operator and sidebar tab 2013-09-14 16:28:46 +01:00
Jeremy Ruston
5fe2d718e0 Fix crash with "fields" filter operator applied to missing tiddlers
Fixes #132
2013-08-21 22:33:04 +01:00
Jeremy Ruston
b88079442c Add "listed" filter operator for retrieving the tiddlers that list a specified tiddler 2013-08-16 09:31:05 +01:00
Jeremy Ruston
8c48d45479 Add a "fields" filter operator 2013-08-15 18:15:54 +01:00
Jeremy Ruston
a9a2ae2223 Add sorting by tiddler lists
The tag and tagging filters now sort their results by the list field of
the tag, if present
2013-08-08 17:39:34 +01:00
Jeremy Ruston
8443a9d6ca Fix comment 2013-08-07 16:04:06 +01:00
Jeremy Ruston
799647e38b Fix problem with search term being filtered from search results
Some leftover code meant that tiddlers titled with the precise search
term were excluded from the results.
2013-08-03 09:28:51 +01:00