NaveenKarippai
e6adaed99e
Fix goodie subtitle data format
...
There was a whitespace character shown on goodie result' subtitle data field.
This could be fixed by changing subtitle data return result.
2016-05-24 21:01:38 +00:00
Rob
9709d66f62
Jira: Switching to info template! No HTML needed yey!
2016-05-24 20:40:41 +01:00
Rob
a3550be4c9
MakeMeASandwich: Each item in the array should be either a string or an object, it can't be an object containing text: string
2016-05-24 20:22:03 +01:00
NaveenKarippai
c95d84fb9b
Refactor code module and test suite
...
There were some test cases which did not follow the ISO date format
suggested by the community. The test suite should be refactored and
some test cases should be added.
* removed whitespace characters on test suite and code module
* test cases added to suite
See also: #2767
2016-05-24 19:21:52 +00:00
Rob
b8fda89aac
MakeMeASandwich: Switching to raw text template!
2016-05-24 17:50:14 +01:00
Zaahir Moolla
bc65850267
Merge pull request #3041 from duckduckgo/mintsoft/html-entities-decode/template
...
HTMLEntitiesDecode: Converting to Text Template
2016-05-24 11:04:11 -04:00
Ben Moon
3cc434822c
Merge pull request #3132 from duckduckgo/mintsoft/password-template
...
Password: Switching to text template
2016-05-24 14:02:29 +01:00
Rob
34cf88394a
Password: Tabs to spaces
2016-05-23 17:34:36 +01:00
Zaahir Moolla
63e5e1ed90
Merge pull request #3007 from gaulrobe/issue-2002
...
Use v4 UUID generation
2016-05-23 10:57:22 -04:00
Rob Emery
6e4f269dca
Merge pull request #2805 from duckduckgo/gd/datemath-after-before
...
DateMath: Add before/after forms
2016-05-23 13:09:04 +01:00
Rob
d34f0d1f22
RC4: Key should be html encoded too
2016-05-23 12:57:43 +01:00
Ben Moon
dd382be163
Merge pull request #3130 from duckduckgo/mintsoft/pi-template
...
Pi: Switching to text template
2016-05-23 12:53:27 +01:00
Rob
29741fd6fe
Pi: Refactoring and removing sexy tabs in favour of kludgy spaces
2016-05-23 12:47:42 +01:00
Ben Moon
aab36e2163
Merge pull request #3072 from duckduckgo/mintsoft/kana-template
...
Kana: Updating to the text template
2016-05-23 12:47:37 +01:00
Rob
83935015fd
Password: Refactoring string interpolation
2016-05-23 12:42:12 +01:00
Ben Moon
f7f9439d76
Fix MagicEightBall tests ( #3138 )
...
We don't need to enc the response.
2016-05-23 12:24:10 +01:00
Ben Moon
77f79c3e77
Merge pull request #3077 from duckduckgo/mintsoft-magiceightball
...
MagicEightBall: Converting to text template
2016-05-23 12:03:30 +01:00
Ben Moon
4494d6702c
Merge pull request #3122 from duckduckgo/mintsoft/sha3-template
...
SHA3: Switching to text template
2016-05-23 12:02:14 +01:00
Ben Moon
a84bc817dc
Merge pull request #3119 from gaulrobe/issue-2767-sha
...
Update Sha Goodie to text template per #2767
2016-05-23 11:54:54 +01:00
Ben Moon
9d6199f45e
Merge pull request #3125 from duckduckgo/mintsoft/parsecron-template
...
ParseCron: Switching to text template
2016-05-23 11:52:12 +01:00
Ben Moon
4f6ca6e3e8
Merge pull request #3124 from duckduckgo/mintsoft/timezone-converter-template
...
TimezoneConverter: Switching to text template
2016-05-23 11:49:07 +01:00
Ben Moon
cbfc97b08b
Merge pull request #3128 from duckduckgo/mintsoft/coin-template
...
Coin: Switching to text template
2016-05-23 11:46:22 +01:00
Ben Moon
cb27186ee6
Merge pull request #3127 from duckduckgo/mintsoft/twelveOClock-template
...
TwelveOclock: Switching to text template
2016-05-23 11:44:49 +01:00
Ben Moon
a18639549b
Merge pull request #3126 from duckduckgo/mintsoft/week-template
...
Week: Switching to text template
2016-05-23 11:42:19 +01:00
Ben Moon
ee46903a00
Merge pull request #3131 from duckduckgo/mintsoft/percentof-template
...
PercentOf: Switching to text template
2016-05-23 11:38:18 +01:00
Rob
7bbe80917b
SHA3: Tweak as suggested by @guiltydolphin
2016-05-22 22:19:34 +01:00
Rob
341ed286af
Password: Switching to text template
2016-05-22 22:14:58 +01:00
Rob
2141d1f880
PercentOf: Switching to text template
2016-05-22 22:04:48 +01:00
Rob
34ff108ac1
Pi: Switching to text template
2016-05-22 21:56:46 +01:00
Rob
e73e4cd868
Coin: Switching to text template
2016-05-22 21:36:07 +01:00
Rob
d6ba3fe753
TwelveOclock: Switching to text template
2016-05-22 21:24:53 +01:00
Rob
261d18d9be
Week: Switching to text template
2016-05-22 21:18:13 +01:00
Rob
3c2936c6c6
ParseCron: Switching to text template
2016-05-22 21:08:09 +01:00
Rob
8981ffe50c
TimezoneConverter: Switching to text template
2016-05-22 20:55:37 +01:00
rgaul
447c4cfef9
Make changes per review
2016-05-22 19:37:26 +00:00
Rob
ba8fe158bf
Sort: Convert to text template
2016-05-22 20:37:21 +01:00
Rob
b1c8f29cd5
SHA3: Switching to text template
2016-05-22 20:09:14 +01:00
msingletary
875f216598
Clean grammar for query_lc
2016-05-22 18:21:03 +00:00
msingletary
322d37a08d
Change query_raw to query_lc
2016-05-22 18:14:40 +00:00
msingletary
d87975c88a
Add changes @GuiltyDolphin mentioned in #3114
2016-05-22 17:13:45 +00:00
NaveenKarippai
42f790bcb2
Convert help line goodie to KV list template
...
It would be a good approach by switching the goodie to use
KV list template (content sub-template). This would improve
the readability of query output to end-user.
* removed unused handlebars template
* switched to use `content` sub-template for KV list
* modified yml data by adding name field
See also: #2840
2016-05-22 16:00:30 +00:00
rpohankar
9b04667a36
Make indentation uniform.
2016-05-22 13:04:55 +00:00
rpohankar
dea944d67f
Change regex to match time of the form hr:min am/pm or hr am/pm.
2016-05-22 12:38:01 +00:00
rgaul
da36876f42
Update Sha Goodie to text template
2016-05-22 05:37:32 +00:00
NaveenKarippai
ff7baf5f8e
Convert DaysBetween to full template goodie
...
Goodies have full support for templates, and it'd be great
to make sure all Goodies use full templates.
The "simple structured_answer" was provided as a temporary
workaround.
* change to 'text' template for structured_answer object
* refactored test suite
Re: #2767
2016-05-22 00:08:06 +00:00
msingletary
6eb63bfed8
Add binary operators OR,AND,XOR,NOT
2016-05-21 09:40:45 +00:00
jonk1993
a03a4da732
removed unnecessary docs
2016-05-21 00:09:21 +00:00
jonk1993
84ad168f61
merged with master
2016-05-20 23:59:21 +00:00
jonk1993
7689363510
small change to comment
2016-05-20 23:40:20 +00:00
Ben Moon
9fc349de5a
Improve chances of decent randomness on production
...
Hopefully this call to 'srand' will ensure we get fairly random results
on production.
2016-05-20 18:24:49 +01:00
jonk1993
229e6bd871
handled case where IA would trigger with two ways of defining input base
2016-05-20 17:01:36 +00:00
jonk1993
d119b0bad3
Added tests, updated examples in Base.pm
2016-05-20 16:55:22 +00:00
Ben Moon
d07d944ff0
Expand triggers (even more)
2016-05-20 13:47:12 +01:00
Ben Moon
34286dbecd
Add more triggers
2016-05-20 13:12:33 +01:00
Ben Moon
50f2aa6426
Add support for basic ranges
...
E.g., `shuffle a..z`, `shuffle 1..7`.
2016-05-20 12:51:52 +01:00
Ben Moon
b550ec9852
Add support for word lists
...
E.g., `1 and 2 and 3, and 4`
2016-05-20 12:04:06 +01:00
Ben Moon
a1fa583294
Update items attribute to be the shuffled items
...
More useful than just returning the items.
2016-05-20 11:39:08 +01:00
Ben Moon
777c661d9b
Turn off caching
...
Whoops - we don't want to cache random results!
2016-05-20 11:35:04 +01:00
jonk1993
7d19ec5997
added prefix as base specifier for input
2016-05-20 06:36:01 +00:00
jonk1993
f5f133946b
Added converting between arbitrary bases for most input, handle error cases when Base2Int croaks and other invalid input
2016-05-20 06:17:06 +00:00
jonk1993
cad3734222
included all letters so will work up to base 36
2016-05-20 01:10:09 +00:00
Caine Tighe
5343f46935
Merge pull request #3088 from duckduckgo/nilnilnil/yahoo-owned-server
...
DDG::Goodie::DuckDuckGo: Initial DNS delegation explanation.
2016-05-19 14:48:02 -04:00
Ben Moon
4e7dbbf1a5
Merge pull request #3075 from rasikapohankar/workdays_between
...
WorkdaysBetween: Convert to full template
2016-05-19 19:25:52 +01:00
Ben Moon
b6d01fa0b6
Merge pull request #3103 from duckduckgo/mintsoft/Rot13-template
...
Rot13: Converting to text template
2016-05-19 18:40:00 +01:00
Ben Moon
8a1f0b0320
Merge pull request #3104 from rasikapohankar/weekdays_between
...
WeekdaysBetween: Convert to full template
2016-05-19 18:38:42 +01:00
Ben Moon
8fc3a9f78d
Merge pull request #3094 from duckduckgo/mintsoft/Passphrase-template
...
Passphrase: Converting to text template
2016-05-19 18:35:35 +01:00
Ben Moon
09326d14a6
Merge pull request #3093 from duckduckgo/mintsoft/Paper-template
...
Paper: Converting to text template
2016-05-19 18:34:20 +01:00
Ben Moon
fcd4b6ae31
Merge pull request #3105 from duckduckgo/mintsoft/Scramble-template
...
Scramble: Switching to text template
2016-05-19 18:33:28 +01:00
rpohankar
39b1e710bf
Pass values for verb and weekdays_plurality from build_test, fix indentation.
2016-05-19 17:31:17 +00:00
Ben Moon
5c2b6ced39
Merge pull request #3102 from duckduckgo/mintsoft/Roman-template
...
Roman: Switching to text template
2016-05-19 18:31:15 +01:00
Ben Moon
e9165bbbae
Merge pull request #3095 from duckduckgo/mintsoft/Phonealphabet-template
...
PhoneAlphabet: Converting to text template
2016-05-19 18:30:28 +01:00
jonk1993
63e19eee8a
extended regular expression to parse arbitrary bases on left
2016-05-19 17:28:44 +00:00
Ben Moon
a312e0e4a6
Merge pull request #3101 from duckduckgo/mintsoft/RIPEMD-template
...
RIPEMD: Converting to text template
2016-05-19 18:28:37 +01:00
Ben Moon
e9a0118df6
Merge pull request #3097 from duckduckgo/mintsoft/Rafl-template
...
Rafl: Switching to text template
2016-05-19 18:25:02 +01:00
Ben Moon
69eb193abf
Merge pull request #3099 from duckduckgo/mintsoft/esreveR-template
...
Reverse: Converting to text template
2016-05-19 18:21:42 +01:00
Ben Moon
c37398e421
Merge pull request #3100 from duckduckgo/mintsoft/ReverseComplement-template
...
ReverseComplement: Convert to text template
2016-05-19 18:08:51 +01:00
Ben Moon
eae76a898a
Merge pull request #3106 from duckduckgo/mintsoft/Wavelength-template
...
WaveLength: Switching to text template
2016-05-19 18:04:17 +01:00
Zach Thompson
ad47da492c
Merge pull request #3043 from duckduckgo/gd/cheat-sheets-fix-ignore
...
CheatSheets: Ensure multi-word ignores are processed correctly
2016-05-19 11:01:10 -06:00
Rob Emery
cfd0ff5155
Reverse: Would previously return on "0" as input
2016-05-19 13:14:08 +01:00
Rob Emery
31bdb5574b
WaveLength: Switching to text template
2016-05-19 13:00:40 +01:00
Rob Emery
386616d2d9
Scramble: Switching to text template
2016-05-19 12:51:53 +01:00
rpohankar
e06a56c2c9
Update WeekdaysBetween to use full template.
2016-05-19 08:18:35 +00:00
Rob Emery
8a1b15f858
Rot13: Converting to text template
2016-05-18 23:23:28 +01:00
Rob Emery
62faa0c3ce
Roman: Switching to text template
2016-05-18 23:13:31 +01:00
Rob Emery
d4544d84bd
RIPEMD: Switching to text template
2016-05-18 23:01:51 +01:00
Rob Emery
729a5ff09b
RIPEMD: Converting to text template
2016-05-18 22:57:54 +01:00
Rob Emery
3c152febc2
ReverseComplement: Switching to text template
2016-05-18 22:20:30 +01:00
Rob Emery
f8d20e524b
Reverse: Converting to text template
2016-05-18 21:05:35 +01:00
Rob Emery
1ccc31c175
RC4: Converting to text template
2016-05-18 20:57:34 +01:00
Rob Emery
7c245df230
Rafl: Switching to text template
2016-05-18 20:47:44 +01:00
Caine Tighe
1e4f15d07f
DuckDuckGo.pm: comment update.
2016-05-18 15:26:39 -04:00
Caine Tighe
0e365064d3
DuckDuckGo.pm: nits.
2016-05-18 15:25:30 -04:00
Caine Tighe
f939051f36
DuckDuckGo.pm: Fix tests.
2016-05-18 15:13:03 -04:00
Caine Tighe
8e5ddcb372
DuckDuckGo.pm: Add sensible Yahoo aliases.
2016-05-18 14:50:51 -04:00
Caine Tighe
6d88795ece
DuckDuckGo.pm: Handle all whois madness in DuckDuckGo.pm and save YAML from confusion.
2016-05-18 14:31:58 -04:00
Caine Tighe
c7a996dc1e
DuckDuckGo.pm: short circuit bad response key pairs.
2016-05-18 14:29:46 -04:00
Caine Tighe
e49f59f59c
DuckDuckGo.pm: Add ability to reason about particular trigger words via trigger stripping.
2016-05-18 14:23:33 -04:00
nkarippai
5e47e0f1a8
Convert goodie to list template
...
The formatting of HelpLine goodie should be improved
so that multiple numbers (query results) are on
different lines. This can be achieved by using `list`
template.
* use `list` template on HelpLine goodie
* handlebars file added for a simple list view
See also: #2840
2016-05-18 17:11:45 +00:00
Ben Moon
4e0fd3b590
Merge pull request #3091 from duckduckgo/mintsoft/paleo-template
...
PaleoIngredientCheck: Converting to text template
2016-05-18 15:29:45 +01:00
Rob Emery
ebd008fe04
PhoneAlphabet: Converting to text template
2016-05-18 13:26:47 +01:00
Rob Emery
c4b4eab11f
Passphrase: Converting to text template
2016-05-18 13:17:25 +01:00
Rob Emery
e1313735f7
Paper: Converting to text template
2016-05-18 13:06:17 +01:00
Rob Emery
a913c6af02
PaleoIngredientCheck: encoding the input string for XSS protection (we think this is still neded)
2016-05-18 12:40:39 +01:00
Ben Moon
04a6925302
Merge pull request #3067 from duckduckgo/mintsoft/iso639-template
...
ISO639: Converting to text template
2016-05-18 11:59:13 +01:00
Ben Moon
c4879378b9
Merge pull request #3062 from duckduckgo/mintsoft/fibonacci-template
...
Fibonacci: Converting to Text Template
2016-05-18 11:56:56 +01:00
Ben Moon
3db0512635
Morse: Convert to text template ( #3090 )
...
Morse: Converting to text template
2016-05-18 11:52:52 +01:00
Ben Moon
c170b95b9e
Merge pull request #3089 from duckduckgo/mintsoft/MoonPhases
...
Moon Phases: Convert to structured answer
2016-05-18 11:50:25 +01:00
rpohankar
c907934aa8
Remove concatenation from title and response in Weight.pm, modify values passed to build_test in test file.
2016-05-17 20:20:55 +00:00
Rob Emery
463027d896
PaleoIngredientCheck: Converting to text template
2016-05-17 21:18:02 +01:00
Rob Emery
ceec3492ba
Morse: Converting to text template
2016-05-17 20:55:30 +01:00
Rob Emery
39af74d685
MoonPhases: Adding subtitle and cleaning up tests a little
2016-05-17 20:33:57 +01:00
Rob Emery
ce8804804e
MoonPhases: Converting to text template
2016-05-17 20:32:42 +01:00
rpohankar
202113b250
Update Weight to use the full template.
2016-05-17 17:33:12 +00:00
Rob Emery
24755a1018
MD5: Convert to text template ( #3084 )
2016-05-17 15:18:21 +01:00
Ben Moon
0e5ddc6983
Merge pull request #2966 from dbech/coin-flip
...
Coin: Triggers on 'coin flip'
2016-05-17 15:14:51 +01:00
rpohankar
c00c956dd0
Remove comments from WorkdaysBetween.pm .
2016-05-17 13:58:42 +00:00
rpohankar
13aaca2500
Update WorkdaysBetween to use full template.
2016-05-17 13:58:42 +00:00
Rob Emery
0215fe28ef
MD4: Convert to text template ( #3083 )
2016-05-17 13:14:52 +01:00
Rob Emery
18f197d369
MakeMeASandwich: answer is a reserved data key; switching to result
2016-05-17 12:55:44 +01:00
Rob Emery
5272be68eb
MakeMeASandwich: Template names are based on the IA id
2016-05-17 12:52:46 +01:00
Ben Moon
2d5cdf73e5
Merge pull request #3066 from duckduckgo/mintsoft/helpline-template
...
HelpLine: Switching to text template
2016-05-16 22:25:29 +01:00
Rob Emery
ddad985859
MakeMeASandwich: Adding template
2016-05-16 21:48:40 +01:00
Rob Emery
2d841d77d4
MakeMeASandwich: Updating to template answer
2016-05-16 21:47:34 +01:00
Rob Emery
86119c311e
MagicEightBall: Converting to text template
2016-05-16 21:23:54 +01:00
Rob Emery
e6810b754c
HTMLEntitiesDecode: Fixing the actual display; content isn't required for the Text template; also removing html_enc so that things are displayed correctly
2016-05-16 21:02:29 +01:00
Rob Emery
4d46a1e103
HTMLEntitiesDecode: Converting to Text Template
2016-05-16 21:02:28 +01:00
Rob Emery
6824549aaf
ConvertLatLon: Switching to text template
2016-05-16 20:59:16 +01:00
Caine Tighe
f704e5b087
DDG::Goodie::DuckDuckGo: Initial DNS delegation explanation.
2016-05-16 15:58:59 -04:00
Rob Emery
f2f1a88649
HelpLine: Switching out to text template
2016-05-16 20:52:13 +01:00
Rob Emery
a3c7fe52fe
MacAddress: Working template and tests
2016-05-16 20:32:50 +01:00
Rob Emery
2d80edae78
MacAddress: Full template
2016-05-16 19:57:52 +01:00
rgaul
7e056981e9
Merge remote-tracking branch 'upstream/master' into issue-2002
2016-05-16 16:56:15 +00:00
rgaul
1d27be2ce9
Remove extra newline
2016-05-16 16:51:15 +00:00
Rob Emery
9989e7d339
MACAddress: Refactoring a smidge
2016-05-16 13:29:46 +01:00
Rob Emery
ded0738589
MACAddress: Switching to template
2016-05-16 13:27:16 +01:00
Rob Emery
6a201a5ece
LeetSpeak: Converting to Text Template
2016-05-16 13:20:45 +01:00
Rob Emery
b9fcf3f975
Kana: Converting to text template
2016-05-16 13:10:29 +01:00
rgaul
f9685a9f25
Convert to structured text template
2016-05-15 23:16:03 +00:00
Ben Moon
8eeddb5c19
Merge pull request #3064 from duckduckgo/mintsoft/GenerateMAC-template
...
GenerateMAC: Switching to text template
2016-05-15 20:05:22 +01:00
Rob Emery
58ce9b09c9
Fortune: Switching to text template ( #3063 )
...
* Fortune: Switching to text template
* Fortune: Adding subtitle and using Test::Deep
2016-05-15 20:01:11 +01:00
Rob Emery
76881479e0
Fibonacci: Removing my incredibly elegent solution for minor syntax highlighting issues in VSCode
2016-05-15 19:42:47 +01:00
Rob Emery
0d73da25b2
Jira: Fixing options->group; this should be content
2016-05-15 19:33:20 +01:00
Rob Emery
8602ad359c
ISO639: Removing superfluous html_enc
2016-05-15 19:29:09 +01:00
Rob Emery
84322929c3
ISO639: Small refactor using string interpolation
2016-05-15 19:28:37 +01:00
Rob Emery
9370eccd11
JIRA: Adding content to switch to explicit handlebars template
2016-05-15 18:48:56 +01:00
Rob Emery
536c21c1eb
Switching JIRA to text template
2016-05-15 18:46:11 +01:00
Rob Emery
057511dc7b
ISO639: Converting to text template
2016-05-15 18:38:40 +01:00
Rob Emery
3349534b76
Factors: Convert to text template ( #3061 )
2016-05-15 18:38:30 +01:00
Rob Emery
49e0d7b186
GenerateMAC: Switching implementation to text template
2016-05-15 18:13:12 +01:00
Rob Emery
8d52252fe0
Fibonacci: Converting to Text Template
2016-05-15 17:54:04 +01:00