Commit Graph

4169 Commits (9fa3936c29a5512dedc027d46041dbbace3e226f)

Author SHA1 Message Date
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
Rob Emery 0cc555fe1b HexToDec: Convert to text template (#3054)
* HexToDec: Converting to text template

* HexToDec: Refactoring tests
2016-05-15 17:13:24 +01:00
Rob Emery 348df8e526 POTUS: Flipping out to text template (#3053)
* POTUS: Flipping out to text template

* POTUS: Tests should be calling `build_test` :)

* POTUS: Test refactor
2016-05-14 23:32:11 +01:00
Rob Emery 707350bf90 Combination: Switching to text template (#3058) 2016-05-14 23:04:54 +01:00
Rob Emery 0e438ddc08 Uppercase: Converting to text template (#3057) 2016-05-14 22:52:17 +01:00
Rob Emery 6a2fdedbf6 Lowercase: Flipping out to Text template (#3055)
* Lowercase: Flipping out to Text template
2016-05-14 22:46:41 +01:00
Rob Emery ad089234ae Titlecase: Converting to text template (#3056) 2016-05-14 22:44:23 +01:00
Rob Emery 39b44adc0c Constants: Switching to customised template 2016-05-14 20:30:39 +01:00
Rob Emery 683018f4a1 Constants: It's crap that the IA currently returns HTML for the plain answer; no remedied 2016-05-14 20:26:09 +01:00
Rob Emery 6a2bb230f9 Constants: Editor wasn't in DDG mode so there are tabs in here 2016-05-14 20:24:19 +01:00
Rob Emery abd685d3ae Constants: Switching to text template 2016-05-14 20:21:54 +01:00
Naveen Karippai af18492b8a Convert simple structured to full template goodie (#3000)
* Convert simple structured 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 way to get goodies using basic templates before they had full template
support.

* change to 'text' template for structured_answer object

* refactored test suite

* added alias and removed encode

See also: Updates FlipText Goodie Re: #2767

IA: https://duck.co/ia/view/flip_text

* Remove unnecessary trigger words on flipText goodie

There were trigger words added to flipText goodie which may not be
used or confuse the search results. This should be removed.

* extra triggers removed

See also: Updates FlipText Goodie Re: #2767

* Indent code on FlipText goodie

It would be easier to eyes in the long run to understand
code when it's properly indented.

* code indented on .pm and .t
2016-05-14 19:00:12 +01:00
Roy Kokkelkoren 289948173d GreatestCommonFactor: Use Math::BigInt & change to text template (#2990)
* Removed custom GCD function replaced with library function

* Changed view to text template and updated tests

* Cleanup of tests and removed unnecessary code
2016-05-14 18:28:04 +01:00
Ben Moon 07dc434bf8 Ensure no triggering on empty remainder 2016-05-14 17:15:45 +01:00
Ben Moon ba3c840566 Ensure we don't trigger if we've nowt to shuffle
shuffle xs | length xs <= 1 = xs forall xs

That says it all.
2016-05-14 17:11:50 +01:00
Ben Moon 775c1e0f49 Add Shuffle Instant Answer
Allows shuffling of random inputs (mainly lists).
2016-05-14 17:10:31 +01:00
Naveen Karippai 6df517e87a Convert RandomNumbers to full template goodie (#3014)
* Convert RandomNumbers to full template
2016-05-14 12:17:47 +01:00
Ben Moon 903e0bbf50 Simplify ignore map
As suggested by @zachthompson, we use a multi-statement map instead of
do.
2016-05-14 11:39:02 +01:00
rgaul b81101f1e3 Remove NumberStyle import 2016-05-14 02:38:49 +00:00
rgaul 0a05b287e7 Fixup regex with unit test validation 2016-05-14 02:29:50 +00:00
rgaul ff10bad33e Fixup wikipedia link logic 2016-05-14 01:24:11 +00:00
rgaul 511f0b8874 Switch to aliases in the JSON, leverage pre-processed hash 2016-05-14 01:19:56 +00:00
Ben Moon 67d912dc8c Ensure remainder has normalized whitespace 2016-05-13 16:24:11 +01:00
Ben Moon cd06728ce1 Ensure multi-word ignores are processes correctly
The 'grep' method was only working for single word ignores, so unless we
can get that working it looks like a regex is our best bet?

/cc @zachthompson
2016-05-13 12:44:27 +01:00
Zaahir Moolla 58eeb27ea5 Merge pull request #2811 from lamanh/fix_2771
Braille: fix for bad triggers #2771
2016-05-12 15:51:46 -07:00
Zach Thompson 1c7e2cca44 Merge pull request #2777 from duckduckgo/gd/cheatsheets-add-ignore
CheatSheets: Add 'ignore' attribute
2016-05-12 14:23:38 -06:00
Ben Moon aedf7ea3f5 Improve efficiency of removing ignore phrases
Thanks to @zachthompson for the algorithm (much faster).
2016-05-12 20:48:37 +01:00
Ben Moon e44920542d Switch to lc handler
So we don't need to normalize later.
2016-05-12 20:40:00 +01:00
Naveen Karippai a426dccaf5 Convert CountryCodes to full template goodie (#3037)
Goodies have full support for templates, and it'd be great
to make sure that 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

See also: Updates CountryCodes Goodie Re: #2767
2016-05-12 14:23:28 +01:00
Ben Moon 3a0e90fb62 Merge pull request #3019 from duckduckgo/mintsoft/conversions/plurals
Conversions: Harmonise unit definitions
2016-05-11 20:42:26 +01:00
Rob Emery f62adb5b70 Conversions: Adding hash for the opposite direction (plural_to_unit) to quickly determine if a unit/alias is plural 2016-05-11 18:49:28 +01:00
Rob Emery 3831d2bf71 Conversions: Fixing tnt vs TNT for @guiltydolphin 2016-05-11 18:45:02 +01:00
Rasika Pohankar 9b5d96c5c3 Update ValarMorghulis to use full template. (#3034) 2016-05-11 12:43:08 +01:00
Rasika Pohankar d2996bf4d5 Birthstone: Convert to full template (#2807)
* Added plaintext response.

* Removed id and name.

* Fixed alignment.

* Changed subtitle to Birthstone for month.

* Changed subtitle in test file.
2016-05-10 22:00:42 +01:00
Rasika Pohankar 16f3fd4599 Zapp Brannigan: Convert to full template (#2994)
* Change to full template, add handlebars file for new line in quote.

* Change data to -ANY- in test file.

* Replace regex with re().
2016-05-10 21:41:54 +01:00
Ben Moon cbd911b47e Fix title display
Was displaying the HTML rather than the required link.

@mintsoft I guess this means you're right about structured answer output
being escaped, we might want to make an issue to remove the existing
encoding.
2016-05-10 17:52:26 +01:00
Ben Moon e194090d0c Update CalcRoots to use full template 2016-05-10 17:52:26 +01:00
Rob Emery 9517ba17ce Merge pull request #2980 from rkokkelk/rkokkelk/unixtime
UnixTime: Expanded trigger words
2016-05-09 22:29:38 +01:00
Rob Emery bdd54b6a8f Conversions: now it's in a list of values; we can use List::Util again! 2016-05-09 20:34:15 +01:00
Rob Emery 13509c09b1 Conversions: Not sure why I was looking up the value everytime from the hash here 2016-05-09 20:33:02 +01:00
Rob Emery 9418f7baef Conversions: Didn't use List::Util in the end as it's all in hashes 2016-05-09 20:31:36 +01:00
Rob Emery 4417d51443 Conversions: More tidying up; also dodged bug where units would be added twice 2016-05-09 20:30:34 +01:00
Rob Emery 679a1d7fdf Conversions: Plural isn't used in the response from get_matches as it's looked up in the hash 2016-05-09 20:28:49 +01:00
Rob Emery cd4bf80a17 Conversions: Minor code tidies 2016-05-09 20:28:00 +01:00
Rob Emery 6775764f28 Conversions: refactoring and tidying up around set_unit_pluralisation 2016-05-09 20:25:37 +01:00
Rob Emery 539e5dcd78 Conversions: Tiding up a little 2016-05-09 20:20:08 +01:00
Rob Emery ed3c5560b3 Conversions: All tests now passing 2016-05-09 20:17:32 +01:00
Rob Emery abad3d0d1f Conversions: The previous code assumed that everything was lowercase; I've injected lc all over the place to make the tests pass 2016-05-09 19:55:59 +01:00
Ben Moon 06e0c534be Add support for 'ignore'd phrases
These allow categories (and/or cheat sheets) to specify phrases that
should be ignored when triggering.

For example, many language cheat sheets use 'english to X' as an alias,
but this would be better placed in 'ignore'. This would allow these
cheat sheets to trigger on 'english to X cheat sheet', 'english to X
phrases', 'X phrases english to' (you decide whether you like that last
one ;)) etc...

In essence, the 'ignore' attribute defines an array of phrases that
should be entirely stripped from the query when that cheat sheet or
category triggers.
2016-05-09 18:43:26 +01:00
Rob Emery 65ad6fce17 Conversions: non-working version using the plural from the YAML 2016-05-08 22:22:28 +01:00
Rob Emery 2540ff11b1 Mintsoft/conversions/squarefeet (#3006)
* Conversions: The plural of square foot is square feet NOT square foots

* Conversions: Fixing test for #3004
2016-05-08 11:25:12 +01:00
rgaul 5aa486d8e0 Use v4 UUID generation 2016-05-07 03:09:09 +00:00
Rob Emery 0ea9f866e4 Merge pull request #2965 from dbech/HexToASCII
hex_to_ascii: Improved triggers
2016-05-04 08:10:42 +01:00
Daniel Bech a8c91a8ffc Update HexToASCII.pm 2016-05-01 23:17:45 +08:00
Daniel Bech 4db00f2ec4 Updated to full template
Changed from simple structured answer to text template
2016-05-01 22:36:57 +08:00
Daniel Bech 629bba3493 Now case insensitive
popped a little 'i' in there, made the matching of to as in 0 or 1
2016-05-01 21:22:46 +08:00
rkokkelkoren 674368b2b4 Expanded trigger words 2016-04-30 20:23:56 +00:00
Rob Emery 2f507bb307 Merge pull request #2956 from zblair/master
Conversions: Add conversions for grains, carats, drams, cc's, cubic inches, mmHg, decades, centuries, millennia, and thousandths of an inch
2016-04-30 20:20:15 +01:00
Daniel Bech 288926d1d2 Added regex to strip out to|as|in
added some regex that would strip off ' to' if the IA was triggered off of '0x74657374 to asci'
2016-04-30 21:05:14 +08:00
Daniel Bech 33f8d4db0b Update HexToASCII.pm 2016-04-30 20:59:07 +08:00
Daniel Bech 126190588d Updated regex
Updated a regular expression that sets the number of coins to flip.

Now it will accept coin flip and flip 1 coin.
2016-04-30 18:10:46 +08:00
Daniel Bech 5c1ca8191d Improved triggers
triggers startend => 'ascii', 'hex to ascii';
triggers end => 'to ascii', 'as ascii';
2016-04-30 17:12:17 +08:00
zblair ff1fd34b1b Added some additional unit tests 2016-04-30 08:59:03 +00:00
zblair 3c5fb4963e Make sure that existing unit tests pass, and add new unit tests for newly added units. 2016-04-30 08:32:09 +00:00
Laman 7316cc7290 NoteFrequency: Update to full template (#2838)
* NoteFrequency: Update to full template

* remove html_enc for frequency.
2016-04-28 19:32:23 +01:00
Hugo Thiessard c55ecbe885 Updates AspectRatio Goodie Re: #2767 (#2843) 2016-04-28 19:30:29 +01:00
Hugo Thiessard c54a2b94d8 Updates CalendarConversion Goodie Re #2767 (#2862) 2016-04-28 19:28:56 +01:00
Hugo Thiessard 1535f2117a Updates Base64 Goodie Re: #2767 (#2854) 2016-04-28 19:26:35 +01:00
Hugo Thiessard 1789d18039 Updates CallingCodes Goodie Re #2767 (#2864) 2016-04-28 19:25:14 +01:00
Hugo Thiessard 2b0d873016 Updates Base Goodie Re: #2767 (#2853) 2016-04-28 19:24:01 +01:00
Hugo Thiessard bb46c37055 Updates Bitsum Goodie Re #2767 (#2860) 2016-04-28 19:22:50 +01:00
Hugo Thiessard 578f496f6b Updates Chars Goodie Re #2767 (#2865) 2016-04-28 19:21:31 +01:00
Hugo Thiessard 34fb831587 Updates Binary Goodie Re #2767 (#2859) 2016-04-28 19:17:57 +01:00
Hugo Thiessard 59737a40f8 Updates Average Goodie Re #2767 (#2858) 2016-04-28 19:00:13 +01:00
David Wilkins f59b014114 ConvertLatLon: Replace minus sign with hyphen (#2920) (#2926) 2016-04-28 18:47:14 +01:00
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
Roysten 4007bf8844 Fix triggering 2016-04-26 19:26:54 +00:00
Roysten 2478d1e0ba Caching of jQuery elements
Removed id and name from Perl module
2016-04-26 19:22:01 +00: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
rgaul a9ed5ed5bb Multi lookup dictionary syntax change 2016-04-23 23:16:01 +00:00
rgaul 6e93004eb4 Leverage DateTime era in order to get AD/BC info 2016-04-23 18:18:08 +00:00
rpohankar ccaaebef3c Added handling for next (day of week). 2016-04-20 18:55:25 +00:00
rpohankar d0d74a9f14 Added handling for days of the week. 2016-04-20 05:32:16 +00:00
rpohankar 16c3c46920 Added handling for days of the week. 2016-04-20 05:30:51 +00:00
Roysten e74ba78732 Merge branch 'master' into 2048 2016-04-19 18:24:37 +00: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
rgaul 11e8b96ce9 Fixes per testing 2016-04-17 15:50:39 +00:00
rgaul 7e9a85ab20 Improvements to AltCalendars IA 2016-04-17 05:12:54 +00:00
rpohankar 5bc44dce2f Added invalid query example, moved variables inside subroutine. 2016-04-16 17:00:55 +00:00
rpohankar 8349c130f9 Added correct values in test file. 2016-04-16 15:20:05 +00:00
rpohankar 03ef2c39fa Changed variable name to initialDifference, added one trigger. 2016-04-16 06:49:25 +00:00
rpohankar 6137bd6a19 Added output string in perl, added table in display. 2016-04-13 19:33:01 +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
rpohankar 728f4a069d Added date string in data. 2016-04-12 11:05:30 +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
rpohankar e407ea39a8 Changed timezone to local. 2016-04-10 12:25:07 +00:00
rpohankar e58621ab94 Calculated initial difference in perl. 2016-04-10 12:23:37 +00:00
Rob Emery c516dd6fe3 Timediff: adding title so the user can confirm how the parsing has been done 2016-04-09 16:38:57 +01:00
Rob Emery 1d764c81b6 Timediff: datadriving triggers and record_keys 2016-04-09 15:21:07 +01:00