Commit Graph

17 Commits (03c6d1a120fc99b35423c38d5b237e549ac252bf)

Author SHA1 Message Date
ettienne f2ca72235b Name changed 2015-07-24 07:12:36 +00:00
ettienne 7c879e90e0 Icons removed 2015-07-24 07:09:46 +00:00
ettienne 721f836ea3 Date format changed 2015-07-23 09:33:02 +00:00
ettienne 93491ed506 Output and tests altered 2015-07-22 10:41:53 +00:00
ettienne ed516071ec Templates used and icons added 2015-07-21 14:10:52 +00:00
Rob Emery fcb90eee02 Chinese Zodiac: Adding support for plural vague terms 2014-10-10 19:58:08 +01:00
Matt Miller 1df8a6c5bc Merge branch 'master' into mwm/explicit_caching
Conflicts:
	lib/DDG/Goodie/Hijri.pm
	t/Hijri.t
2014-10-03 15:56:01 +02:00
Matt Miller 68fc7c8dec Set explicit caching everywhere.
This explicity sets the caching behavior for all goodies. Goodies which
did not have caching behavior set in their package have had it added.
Similarly for the tests.

This resulted in a number of changes for caching behavior, mostly
moving towards more frequent caching.

I identified three cases where goodies should not be cached. They are when
the result depends upon:

- some random element,
- the time of day or year (as with relative dates), or
- the location of the requesting user

In all other cases, I presumed that the goodies were sufficiently
deterministic in their output to warrant caching.
2014-09-27 10:35:17 -04:00
Matt Miller 22108e0161 ChineseZodiac: improve test readability a bit.
- Switch out \x{2013} for literal en-dash, since the file is UTF8
- Switch out \s for literal space for easier reading.
2014-09-14 14:46:07 -04:00
Matt Miller 518189eaa4 ChineseZodiac: expand trigger space with DatesRole.
This allows for entering specific dates which will be parsed into
DateTime objects for use in the calculation.

Also, switch to the DDH-standard format for the output date strings.
2014-09-14 14:17:18 -04:00
David Wilkins 769f3cab88 Add additional triggers (variations on shēngxiào) 2014-06-23 18:46:03 +08:00
David Wilkins f73dd0721e Stricter filtering of date queries 2014-06-21 11:15:25 +08:00
David Wilkins 6244a1ada7 Add stricter filters on year 2014-06-21 09:57:48 +08:00
David Wilkins c2dacdb4ab Restrict supported year range 2014-06-13 11:32:24 +08:00
David Wilkins ba75a487b0 Don't trigger when user is looking for general information 2014-06-08 17:25:59 +08:00
David Wilkins 11a80af77a Handle last/this/next year 2014-06-08 17:05:42 +08:00
David Wilkins 15d416052a Add Chinese Zodiac goodie 2014-06-08 14:11:33 +08:00