Rob Emery
8b0d4d1697
URLEncode: Making consistent style-wise with URLDecode
2014-10-07 19:09:04 +01:00
Jag Talon
6b9f116654
Merge pull request #671 from duckduckgo/zaahir/update-urldecode-triggers
...
reign in triggering of URLDecode
2014-10-07 12:55:30 -04:00
Zaahir Moolla
9fbbf1ec5f
switch tabs to spaces
2014-10-07 12:38:19 -04:00
Zaahir Moolla
c1c0e3c2df
reign in triggering of URLDecode
2014-10-07 12:37:03 -04:00
Zaahir Moolla
f9a51459a2
Merge pull request #640 from mwmiller/threat_level_midnight
...
TwelveOclock: add new instant answer to help with 12 am/pm
2014-10-07 11:48:47 -04:00
Zaahir Moolla
cf33de4443
Merge pull request #622 from duckduckgo/mintsoft/url_decode
...
URLDecode: Adding new goodie to replace closed source version
2014-10-07 10:33:05 -04:00
Zaahir Moolla
1bb4f7395f
Merge pull request #668 from killerfish/caltoday
...
CalendarToday: Changed to circle highlight
2014-10-07 10:09:04 -04:00
Usman Raza
adfdc00469
consistent row height
2014-10-07 15:52:33 +05:00
Rob Emery
fe29050823
URLDecode: Style changes a-la-@chrismorast
2014-10-07 08:08:55 +01:00
Matt Miller
d74ec57bed
Merge pull request #669 from mwmiller/test_count
...
HelpLine.t: do not construct a test plan.
2014-10-05 19:00:44 +02:00
Matt Miller
d7b5501d5d
HelpLine.t: do not construct a test plan.
...
We're not actually getting a test count from test_zci. Someday soon this
will reconcile exactly with the number of `test_zci` calls you make, but
it clearly does not today (see the extra 2 factor).
Rather than try to predict which version is running these tests, remove
the plan for now.
2014-10-05 17:18:37 +02:00
Usman Raza
b0ea0dd1e1
circle on highlight
2014-10-05 18:17:28 +05:00
Rob Emery
7a9a8461cb
Merge pull request #666 from mwmiller/anagram
...
Anagram: add missing quotation mark.
2014-10-03 19:48:41 +01:00
Matt Miller
3a68b6a3b2
Anagram: add missing quotation mark.
...
Also, make tests of HTML answers more sensitive.
Fixes #665 .
2014-10-03 19:30:22 +02:00
Zaahir Moolla
ef156c23de
Merge pull request #664 from mwmiller/calendar_today
...
CalendarToday: tighten up query triggers a bit.
2014-10-03 11:56:38 -04:00
Matt Miller
8f858b387e
CalendarToday: tighten up query triggers a bit.
...
- Add filler_words list which can be stripped from the query before
trying to parse date strings.
- Anchor datestring_regex so as to allow for only date left in query
after clean-up.
- Improve guard against empty strings and `undef` in Dates role parsers.
Fixes #661 .
2014-10-03 17:16:33 +02:00
Tommy Leung
da1322ace8
Rewrote CUSIP goodie to take advantage of Business::CUSIP
2014-10-03 11:06:59 -04:00
Zaahir Moolla
9ce075f45a
Merge pull request #663 from duckduckgo/zaahir/manual-merge-cusip
...
Zaahir/manual merge cusip
2014-10-03 11:00:37 -04:00
Tommy Leung
bfc2c1dde9
Rewrote CUSIP goodie to take advantage of Business::CUSIP
2014-10-03 10:56:44 -04:00
Tommy Leung
7833f3c1f3
Code cleanup/optimization for CUSIP check digit Goodie
2014-10-03 10:56:44 -04:00
Tommy Leung
7683fb70d1
Code changes for style and clarity to new CUSIP Goodie
...
Added HTML output
Removed POSIX dependency
2014-10-03 10:56:44 -04:00
Tommy Leung
9e8a01f678
Changed "switch" style to remove dependency
2014-10-03 10:56:44 -04:00
Tommy Leung
35e955b8a9
Added CUSIP Check Digit Validation Goodie
2014-10-03 10:56:44 -04:00
Zaahir Moolla
16aa56edc8
Merge pull request #655 from duckduckgo/mwm/explicit_caching
...
Set explicit caching everywhere.
2014-10-03 10:15:43 -04: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
Rob Emery
4ee36136b1
Merge pull request #634 from mwmiller/chinese_zodiac_to_role
...
ChineseZodiac: expand trigger space with DatesRole.
2014-10-03 13:30:12 +01:00
Jag Talon
485a8810b6
Merge pull request #652 from duckduckgo/mwm/jalali
...
CalendarConversions: now with the Jalali calendar
2014-10-02 13:42:49 -04:00
Jag Talon
e9eef2e046
Merge pull request #641 from mwmiller/vimparse
...
VimCheatSheet Updates,
2014-10-02 11:33:31 -04:00
Jag Talon
20f58421ef
Merge pull request #647 from mwmiller/hidden_in_plain_site
...
DuckDuckGo: hidden service updates.
2014-10-02 11:22:58 -04:00
Matt Miller
109bd64681
CalendarConversion: update styling.
...
- New date outputs with per-calendar months.
- More standardized CSS.
I'm less than excited that you can't enter the other calendars with
month names, but that'll have to be ok for now.
2014-10-02 15:38:44 +02:00
Matt Miller
06d00f2a70
CalendarConversion: expand test coverage.
...
Also cleaned up some code to make sure triggering makes at least minimal
sense.
2014-10-02 09:03:25 +02:00
Zaahir Moolla
235806140a
Merge pull request #659 from mwmiller/code_url
...
Example.pm template: correct code_url
2014-10-01 10:42:46 -04:00
Matt Miller
8b6ff8d866
Hijri: enable answer caching.
2014-10-01 08:42:01 +02:00
Matt Miller
14923e5c08
TwelveOclock: add and style HTML answer.
2014-10-01 05:32:07 +02:00
Matt Miller
18b3319726
TwelveOclock: add answer_type and is_cached.
2014-10-01 04:39:37 +02:00
Matt Miller
ff65eab80c
Example.pm template: correct code_url
2014-09-30 23:27:43 +02:00
Zaahir Moolla
2e6f77577e
Merge pull request #658 from mwmiller/template_update
...
Example.pm template: freshener updates
2014-09-30 15:24:11 -04:00
Matt Miller
a7a2cd9ffe
Example.pm template: freshener updates
...
- Point to metadata docs to help fill out section.
- Reorganize metadata into same order as docs.
- Remove "icon_url" and "source" which do not generally apply to
Goodies.
- Better example strings for the `attribution` section.
- Use "guard" before "work" in example code.
2014-09-30 20:43:52 +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
Jag Talon
f7dac3e20f
Merge pull request #651 from duckduckgo/zaahir/unify-URIEscape
...
Unify use of URI::Escape (opt for XS everywhere)
2014-09-25 17:18:48 -04:00
Rob Emery
fe63d58bb7
Merge pull request #650 from duckduckgo/zaahir/remove-dzil-ReleaseOnlyWithLatest
...
Replace ReleaseOnlyWithLatest with PromptIfStale
2014-09-25 21:34:42 +01:00
Zaahir Moolla
86fb323cc3
include uri_escape on URIEscape import
2014-09-25 16:23:28 -04:00
Zaahir Moolla
680450f7b7
remove URI::Escape from dist, keeping URI::Escape::XS
2014-09-25 15:41:53 -04:00
Zaahir Moolla
646b54c92e
POTUS - us XS for URI::Escape
2014-09-25 15:41:09 -04:00
Zaahir Moolla
57fdf3bf01
Replace ReleaseOnlyWithLatest with PromptIfStale
2014-09-25 18:48:54 +00:00
Zaahir Moolla
66adaeff0f
Merge pull request #608 from mwmiller/unix_time_changes
...
Unix Time Updates.
2014-09-25 14:35:46 -04:00
Matt Miller
85db003108
UnixTime: expand triggering.
...
- Allow for triggers at either end.
- Allow for negative epochs.
- Replace regex trigger with words trigger.
2014-09-25 11:51:57 -04:00
Matt Miller
99805113cd
DuckDuckGo: hidden service updates.
...
- Play down its status as a "hidden service", since we widely
adverterise the availability of such.
- Add more 'onion'-y keys.
2014-09-23 11:33:58 -04:00
Zaahir Moolla
274205f1f3
Merge pull request #648 from mwmiller/questionable_ddg
...
DuckDuckGo: respond to question form.
2014-09-22 19:28:16 -04:00
Zaahir Moolla
9d30237426
Merge pull request #639 from mwmiller/new_templates
...
templates: update to include basic ZCI attributes.
2014-09-22 19:24:40 -04:00