Jermolene
f5bd99fa73
Fix tests for 385c7e207c
2014-04-27 21:58:41 +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
9de17aa206
Make shadowTiddlers, pluginTiddlers and pluginInfo be private to the Wiki object constructor
2014-03-17 10:50:18 +00:00
Jermolene
9ded88105b
Update test of tagging filter to reflect 0d7c4ae6c7
2014-03-11 15:53:41 +00:00
Simon Baird
6ed8a7624d
Also fix timezone related eachday test failure
...
In some timezones, (eg GMT+6) the modified timestamps for the
'TiddlerOne' and 'Tiddler Three' test tiddlers were actually on
the same day. This was causing the 'eachday' filter test to fail.
Similar to the fix in commit 8487221
, this just adjusts the
timestamp to ensure the test passes in any timezone.
2014-01-31 00:56:25 +10:00
Simon Baird
8487221654
Fix timezone related sameday filter test failure
...
In certain timezones, 201304151312 UTC is not actually the same day
as 201304152219 any 201304151756. This was causing the test for the
'sameday' filter operator to fail. (I'm in GMT+10).
This is a quick-fix. I've just adjusted the timestamps to be close
together so they will be same day no matter what timezone you're in.
2014-01-30 18:24:05 +10:00
Jermolene
02d3861d7d
Tests for the new filter operators
2014-01-25 17:44:14 +00:00
Jermolene
8d37219545
Add some tests
2014-01-24 19:15:34 +00:00
David Johnston
154d5f316b
Added test for !limit (not limit)
...
Added test for !limit (not limit) to ensure bug change works
2013-10-01 11:27:26 +01:00
David Johnston
904a079432
Variable name corrected.
2013-09-22 21:17:46 +01:00
David Johnston
8127662f77
Tests added for the Next and Previous Filters.
2013-09-22 10:02:40 +01:00
Jeremy Ruston
f0d459c5c5
Fix expected test results for eachday filter operator
...
The tiddler "a fourth tiddler" doesn't have a modified date, and so
shouldn't appear
2013-09-21 10:07:49 +01:00
Jeremy Ruston
4fb6836481
Add an untagged filter operator and sidebar tab
2013-09-14 16:28:46 +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
83ea953a1d
Switch the story list over to using the new list field
2013-08-07 17:54:27 +01:00
Jeremy Ruston
87fa4db89b
Update tests for the new list field
...
First step is to add a tiddler with a list field
2013-08-07 16:06:46 +01:00
Jeremy Ruston
bf4216f3ac
Don't count references to shadow tiddlers as missing tiddlers
2013-05-31 17:53:11 +01:00
Jeremy Ruston
5d43040663
Tests for the new filter operators
2013-05-27 17:59:47 +01:00
Jeremy Ruston
0cf5dc699e
Refactor the filter mechanism
...
Long overdue rewrite to make it simpler, and break the filter operators
out into individual modules.
2013-05-25 17:26:22 +01:00