Commit Graph

3851 Commits (34286dbecdb339569d8e80c568dba31bfe9e3bc7)

Author SHA1 Message Date
Daniel Davis ccecdc2373 Constants: Increased display priority (#2939)
* Constants: Increased display priority

* Constants: Updated test file to reflect backend changes
2016-04-28 18:40:57 +01:00
Rob Emery 8ed1185dde POTUS: Should not return a result if the question is about the vice president 2016-04-24 20:29:11 +01:00
Rob Emery f754a300e1 Merge pull request #2711 from swapagarwal/stardate
New Stardate Goodie
2016-04-17 21:34:02 +01:00
sagarwal c675032629 Return if datetime can't be parsed 2016-04-17 20:11:37 +00:00
sagarwal bcc5c59dee Update tests to reflect new functionality (Dates GoodieRole) 2016-04-13 09:30:48 +00:00
sagarwal 108cc8dadf Use Dates GoodieRole for parsing query 2016-04-13 09:18:02 +00:00
Rob Emery e978b1134d Constants: Adding use strict and use warnings to work around Github
https://github.com/github/linguist/issues/2149
2016-04-10 19:19:36 +01:00
Zaahir Moolla 430a48d726 HTML Encode title/subtile for URLEncode and URLDecode 2016-04-06 21:14:54 -04:00
Zach Thompson 71c63d206b Don't each references 2016-04-06 08:16:33 -06:00
Zaahir Moolla ed9ed29bba Merge pull request #2737 from duckduckgo/mintsoft/conversions/speed
Conversions: now supports speed!
2016-04-01 15:44:09 -04:00
Zaahir Moolla 4050a5dffc Merge pull request #1968 from cngarrison/day-of-week
New Day of Week Goodie
2016-04-01 11:47:57 -04:00
Zaahir Moolla b53e159c84 Merge pull request #2684 from amoraleda/amoraleda/WhereAmI
WhereAmI: Map template added
2016-04-01 00:01:20 -04:00
Ben Moon 7b183f5e65 Merge pull request #2816 from swapagarwal/2767/beam-me-up-scotty
Update Beam Me Up Scotty Goodie Re: #2767
2016-03-31 09:47:41 +01:00
sagarwal ee172f8986 Update Beam Me Up Scotty Goodie Re: #2767 2016-03-30 18:29:58 +00:00
Zaahir Moolla 621a5f4f71 Remove bignum from is_cached in PrimeFactors.t 2016-03-29 22:17:31 -04:00
Zaahir Moolla f92c75cf75 Merge pull request #2405 from swapagarwal/beam-me-up-scotty
New Star Trek Code Phrase
2016-03-29 15:36:32 -04:00
Ben Moon 5d99a64f72 Remove 'name' and 'id' from structured answer 2016-03-24 15:12:54 +00:00
Ben Moon 51094ce606 Update Anagrams to use a full template
Chose the 'text' template.

Although it sometimes returns a list of items, it doesn't seem like a
list template would fit here. I think the formatting would work out best
with the 'text' template. We'll find out on Beta I guess ;)
2016-03-24 14:53:47 +00:00
Zaahir Moolla 88d49758b6 Merge pull request #2773 from duckduckgo/zt/no-id-name
Remove id/name from Perl modules and tests
2016-03-23 14:23:52 -04:00
Zaahir Moolla 5a65e747dc Merge pull request #2759 from JoshuaRLi/master
New JohnCena Goodie
2016-03-21 21:36:39 -04:00
Joshua Li c51a6c1e2b Update JohnCena.pm
Implemented GuiltyDolphin's suggestions and added some new start triggers. Thanks for the feedback!
2016-03-21 20:15:21 -04:00
Zach Thompson f21a1dd1f9 Put label below regex 2016-03-20 15:59:33 -06:00
Zach Thompson e3fa7ad6e1 Remove extra bracket from regex
Add test for control characters
2016-03-20 15:06:24 -06:00
Zach Thompson 6a73236464 space/delete not strictly control characters 2016-03-20 13:20:50 -06:00
Zach Thompson e479164c70 Only need space, not class of spaces 2016-03-20 13:08:44 -06:00
Zach Thompson 77f4032b55 Update regex to be easier to understand 2016-03-20 12:58:50 -06:00
Zach Thompson 07f2d3a08e Add link 2016-03-20 12:41:21 -06:00
Zach Thompson 45acabc018 Check for all control/space characters 2016-03-20 12:39:17 -06:00
Zach Thompson 0a602ad68f Alter logic. Translate control characters if more than one and check for word characters in end string. This allow for spaces as we used to do 2016-03-20 12:15:00 -06:00
Zach Thompson f7af5bbcd8 Handle control characters 2016-03-20 11:56:32 -06:00
Zach Thompson 73d8f72fc0 Remove id/name from Perl modules and tests 2016-03-18 11:49:33 -06:00
Zaahir Moolla 1f674496b6 Merge pull request #2241 from GuiltyDolphin/markdown-reference
Replace MarkdownCheatSheet Goodie with MarkdownReference
2016-03-17 14:57:02 -04:00
Zaahir Moolla 41efeea698 Merge pull request #2714 from duckduckgo/gd/datemath-expand-trigger
DateMath: Expand Triggers
2016-03-17 11:59:57 -04:00
amoraleda 424ef8d0c4 Change structured_answer id. Added display_name 2016-03-17 08:22:22 +00:00
Rob Emery 1558937ad1 SubnetCalc: Has the wrong id; which is why the stats aren't showing on duck.co 2016-03-16 20:23:39 +00:00
Joshua Li 28549c3a96 Update JohnCena.pm
removed some bad triggers
2016-03-16 14:10:47 -04:00
JoshuaRLi f3409a40fa added john cena 2016-03-16 17:58:22 +00:00
Zaahir Moolla 62d3c2c4d5 Merge pull request #2755 from duckduckgo/gd/zodiac-fix-images
Zodiac: Fix broken images
2016-03-15 17:52:24 -04:00
Ben Moon 3cec34feea Add version to path 2016-03-15 18:57:53 +00:00
Ben Moon ba76a59d5c Add goodieVersion back in
Broke images :(
2016-03-15 16:56:43 +00:00
Zaahir Moolla 8ed25040b4 Change Tab name to match IA Page 2016-03-14 18:04:24 -04:00
Ben Moon 24bfc7acc9 Add support for 'add' and 'subtract' forms 2016-03-14 21:58:07 +00:00
Rob Emery f82566f1ef Conversions: Adding plural exception for ft/s 2016-03-13 13:11:57 +00:00
Rob Emery 03c6d1a120 Conversions: Adding pluralisation exception for m/s 2016-03-13 13:09:20 +00:00
Rob Emery abb5640181 Conversions: now supports speed! Only mph,kph,m/s,ft/s,knots atm 2016-03-12 14:26:32 +00:00
amoraleda 8444ae4485 Change to JS maps render 2016-03-11 15:58:00 +00:00
Ben Moon 2c78f15d63 Add support for 'what will the date be' form 2016-03-10 20:01:42 +00:00
Zaahir Moolla be7dbb3f63 Merge pull request #2333 from duckduckgo/gd/update-xs-libs
Update use of 'JSON' to 'JSON::MaybeXS'
2016-03-10 10:11:29 -05:00
Ben Moon 7d4abd1c44 Fix over-generous whitespace 2016-03-10 09:21:52 +00:00
Rob Emery db7df67f0a Merge branch 'master' into mintsoft/conversions/template 2016-03-09 21:28:34 +00:00
Ben Moon c606738f29 Merge pull request #2718 from duckduckgo/mintsoft/conversions/ping
Conversions: Fixes #2125
2016-03-09 12:53:15 +00:00
Ben Moon 4fbae885c4 Merge pull request #2705 from duckduckgo/mintsoft/subnet-cleanup
SubnetCalc: Minor tidying up of subs
2016-03-09 12:48:40 +00:00
Rob Emery 954e627e73 Conversions: the ping unit no longer has s appended for values <> 1 2016-03-08 19:47:52 +00:00
Ben Moon 3fba984c4b Merge pull request #2652 from marianosimone/support_dices_in_dice_trigger
support "dices" spelling for dice trigger
2016-03-08 16:59:49 +00:00
Ben Moon 1e2b4448db Set signal to high
Sometimes it wasn't displaying when it should (was overridden).
2016-03-07 19:16:39 +00:00
Ben Moon d17148be99 Add support for 'what was the...' forms 2016-03-07 18:46:42 +00:00
Ben Moon 19776b1c7c Improve triggering
Add a bunch more common forms that I've seen in the searches - also
supports a couple of forms that should've been supported before.
2016-03-07 18:42:40 +00:00
Ben Moon 5583f00e29 Merge pull request #2112 from tyleryasaka/UltimateAnswer
UltimateAnswer: Expand query space
2016-03-07 12:52:18 +00:00
sagarwal 3245b6fdf5 Add stardate goodie 2016-03-07 05:01:22 +00:00
Rob Emery 999fda78be SubnetCalc: Refactoring regex somewhat for readability 2016-03-06 10:29:18 +00:00
Rob Emery b630ddf017 SubnetCalc: Renaming helper subs to be more descriptive 2016-03-06 10:23:40 +00:00
Charlie Garrison 8f48d86145 Additional trigger words, and tests
Ref: #1968
Signed-off-by: Charlie Garrison <cngarrison@gmail.com>
2016-03-05 14:43:59 +11:00
Rob Emery 19e4248bfb SubnetCalc: Minor tidying up of subs 2016-03-04 19:40:20 +00:00
Rob Emery 3320873e6e Merge pull request #2699 from riqpe/timeszoneconverter
Fixes #2697: 12:00 now parsed as Noon if am not specified
2016-03-04 19:31:43 +00:00
rsilvola f0f10e2428 Fixes #2697: 12:00 now parsed as Noon if am not specified 2016-03-04 14:07:39 +00:00
Zaahir Moolla 42a2f2e21c Merge pull request #1967 from GuiltyDolphin/gibberishgenerator
New GibberishGenerator Goodie
2016-03-03 12:13:51 -05:00
Zaahir Moolla e5dfbc126f Merge pull request #2691 from duckduckgo/gd/lorem-ipsum-words-fix
LoremIpsum: Fix display with just words
2016-03-03 11:38:01 -05:00
Ben Moon 48ce7089ff Fix incorrect display of words
Words (as opposed to paragraphs) would not provide the wrap option.
2016-03-03 16:08:13 +00:00
Zaahir Moolla cea2e79b6b Remove IsAwesome Goodies 2016-03-03 10:19:08 -05:00
Zaahir Moolla 20387264e8 Merge pull request #1984 from GuiltyDolphin/improve-lorem
Improve LoremIpsum Goodie
2016-03-02 20:20:46 -05:00
Zach Thompson 526d5bb6b8 Merge pull request #2170 from GuiltyDolphin/cheatsheet-triggers
Make Cheat Sheets more Awesome
2016-03-02 10:56:38 -07:00
Ben Moon ee861c07e4 Correct 'foreach' statement
Whoops ;)
2016-03-02 17:26:50 +00:00
Ben Moon bcf28ab77f Remove support for 'ignore' attribute
This requires further discussion and work.
2016-03-02 16:37:58 +00:00
amoraleda a0204e9816 Map template added 2016-03-02 11:22:57 +00:00
sagarwal 61eda51cd6 Remove parentheses 2016-03-02 01:11:57 +00:00
marianosimone c7e6041f0f support - and whitespace in number spelling 2016-03-01 19:56:27 +00:00
marianosimone b8c57b832f use Numericalize for dice trigger 2016-03-01 19:12:48 +00:00
Ben Moon f7d1196817 Combine whitespace regexes 2016-03-01 16:50:39 +00:00
marianosimone a2c3f19b9d support "dices" spelling for dice trigger
fixes #1255 (except for not converting "two" into 2)
2016-02-28 20:05:34 +00:00
Rob Emery 0ef3075361 Merge pull request #2642 from duckduckgo/gd/caesar-cipher-trigger-info
CaesarCipher: Add 'How to decode?' response
2016-02-28 12:36:45 +00:00
Ben Moon 716bae7baa Add Wikipedia as source 2016-02-27 11:14:20 +00:00
Ben Moon b79f825e81 Add more triggers for decode information 2016-02-27 11:05:36 +00:00
Ben Moon 43c739ad02 Ignore case when matching decode query 2016-02-27 11:02:40 +00:00
Ben Moon 731477e822 Move actual cipher out of handler 2016-02-27 10:52:31 +00:00
Ben Moon 32f18a8cc4 Add tests for decode information 2016-02-27 10:46:02 +00:00
Ben Moon e8ac68e2a7 Add Caesar cipher description triggering 2016-02-27 10:35:12 +00:00
Zaahir Moolla a23f42cbf4 Merge pull request #2628 from duckduckgo/gd/kana-silence
Silence Kana warning
2016-02-26 17:00:45 -05:00
Ben Moon 7cfb956267 Silence Kana warning
Fixes #2380
2016-02-26 20:52:14 +00:00
Ben Moon b21be8a05f Improve handling of ignored components
Allows multiple categories to have the same ignored components - instead
of overriding them as before.
2016-02-26 20:38:29 +00:00
Zaahir Moolla 8dab17c25e Merge pull request #1982 from Mailkov/diceissue1163
Issue #1163 - Convert Dice to use templates
2016-02-25 14:54:54 -05:00
Zaahir Moolla 032cc4fbd7 Merge pull request #1950 from Mailkov/issue1934
Fix #1934 - Rubiks Cube Patterns: Show all patterns for "rubics cube patterns", add images to results
2016-02-24 22:23:55 -05:00
Ben Moon 54af020926 Remove alias test from main file 2016-02-24 21:29:55 +00:00
Mailkov 8ea250489e fix tests 2016-02-24 16:57:15 +00:00
Mailkov 35018f7143 fix graphic review 2016-02-24 16:00:37 +00:00
Ben Moon b4031a1fc0 Revert "Fix YAML::XS update issue (temporary)" 2016-02-23 16:20:37 +00:00
Rob Emery 503dc9d911 Merge pull request #2060 from GuiltyDolphin/datemath-improvements
DateMath: Improvements
2016-02-21 12:25:46 +00:00
Ben Moon 530563137b Fix YAML::XS update issue (temporary)
Fixes an issue that arises with v0.61 of YAML::XS.

Does not change any behavior.
2016-02-21 11:19:43 +00:00
sagarwal f5f9c0f15f Beam me up, Scotty! 2016-02-21 02:32:57 +00:00
Rob Emery ba0e5dcfc4 Conversions: Implementing maximum value of 1E100 2016-02-20 20:19:50 +00:00
Rob Emery 46f10c3f4a Conversions: Fixing template 2016-02-20 20:19:09 +00:00