Commit Graph

2279 Commits (52f0a1aec3cd4019900ab8d4df3cc828c9abe755)

Author SHA1 Message Date
Usman Raza ec3fc3d0f5 wordwrap added to urlencode 2014-07-20 19:02:09 +05:00
Zaahir Moolla f40727f2f0 Merge pull request #554 from DavidMascio/lower
Adding Lowercase.pm
2014-07-18 23:09:59 -04:00
Jag Talon 4830b4450a Merge pull request #550 from killerfish/md5fix
MD5 fix for issue #546
2014-07-18 16:36:17 -04:00
DavidMascio ad1bf8610a Added tests for the example queries 2014-07-17 08:49:43 -04:00
DavidMascio 4a5f24136f Added new triggers lc, strtolower, and tolower 2014-07-17 08:44:14 -04:00
DavidMascio bb5c369d2a Test answer_type and is_cached 2014-07-16 23:34:14 -04:00
DavidMascio ed55505f0d Add Lowercase.t 2014-07-16 22:58:38 -04:00
DavidMascio 22d2d1a962 Add Lowercase.pm 2014-07-16 22:57:33 -04:00
Rob Emery b4ed184677 Merge pull request #551 from killerfish/revcomp
Reverse complement fix for issue #548
2014-07-13 21:43:23 +01:00
Usman Raza 717098e742 removed whitespace 2014-07-13 19:56:36 +05:00
Usman Raza 0b1923d1b7 updated check 2014-07-13 19:46:16 +05:00
Usman Raza 7daca07b8f added test and updated RE 2014-07-13 18:20:21 +05:00
Usman Raza d87be41e31 added test 2014-07-13 16:25:17 +05:00
Usman Raza d0bb378092 added condition on fail 2014-07-13 13:49:51 +05:00
Usman Raza 7464279740 MD5fix 2014-07-13 13:25:15 +05:00
gdrooid 8d25f5c0dc Anagram: Tell the user if we found no anagrams. 2014-07-11 17:58:33 +02:00
Jag Talon ee621a7985 Merge pull request #520 from duckduckgo/mintsoft/private_network
Styling and HTML updates for PrivateNetwork
2014-07-10 16:26:53 -04:00
Rob Emery a70b1cd65e PrivateNetwork: Applying @jagtalon's styling changes 2014-07-10 21:15:54 +01:00
Jag Talon bf5922bd1c Merge pull request #524 from wilkox/convert_latlon
Add latitude/longitude conversion Goodie
2014-07-10 13:34:26 -04:00
Jag Talon d821456406 Merge pull request #517 from duckduckgo/dylan/HexToDec
wrote HexToDec & test
2014-07-10 13:33:38 -04:00
Jag Talon 810905c764 Merge pull request #547 from mwmiller/calc_triggers
Calc triggers
2014-07-10 12:55:39 -04:00
Matt Miller 239bdb9072 Calculator: ignore attempts at subnet notation.
This one is much harder to hit, because the dotted quads must have 3
digits in each of the last 3 positions and they tend to start zero-ing
the mask earlier, but might as well cover this better, too.

Thanks to @mintsoft for the heads-up.
2014-07-10 05:33:43 +08:00
Matt Miller 89b900c5b1 Calculator: ignore probable attempts at CIDR notation.
If we get a dotted quad, slash and a number in the range of 0-32, it
seems more likely this is talking about network addresses, than trying
to do a calculation.

I, personally, think it's unlikely we ever should be dealing with dotted
quads, but I want to leave in the possiblity of a pasted-in euro-style
value.

Fixes #541.
2014-07-10 05:05:04 +08:00
gdrooid 334f504f3c Anagram: hardcoded joke 2014-07-09 22:53:24 +02:00
Matt Miller efad091e9d Calculator: ignore probable attempts at hex notation.
This regex overreaches a bit, because query_nowhitespace doesn't
guarantee we'll see word-breaks exactly where we might expect.  This is
sufficient for now, but this triggering needs a general rethink.

Addresses some concerns in issue #517.
2014-07-10 04:32:04 +08:00
gdrooid fde0cf24e0 Anagram: Don't join the same thing twice. 2014-07-09 17:35:30 +02:00
gdrooid 674d2536d8 Anagram: Add comments to the code. 2014-07-09 17:31:01 +02:00
Jag Talon fdc42f0acc Merge pull request #544 from duckduckgo/pr/543
Extension of #543
2014-07-09 11:23:27 -04:00
Zaahir Moolla 4da7b6c3cc Merge pull request #542 from gdrooid/anagram-words
Anagram: Remove bad words from the list.
2014-07-09 10:57:42 -04:00
Zaahir Moolla fec94ad170 refactor of #543 2014-07-09 10:51:15 -04:00
jagtalon ef7a86d7d0 Parcelforce: Skip queries that start with ISBN.
Also added a check if `$parcel_number` exists in the first place.
2014-07-09 13:55:21 +00:00
gdrooid 0f4de5e92d Anagram: Remove bad words from the list. 2014-07-09 15:49:16 +02:00
gdrooid d882640321 Anagram: Add myself to the attribution list. :D 2014-07-09 15:38:34 +02:00
Aamir Khan 293c4f4702 function description added 2014-07-08 03:43:11 +05:30
Aamir Khan 04f11f634b added 'week days from' in trigger words 2014-07-08 03:37:06 +05:30
Aamir Khan 913bf623bd more test cases 2014-07-08 03:33:45 +05:30
Aamir Khan a50f87be36 fix : missed , 2014-07-08 03:26:17 +05:30
Aamir Khan 08b2eb1623 more test cases 2014-07-08 03:23:10 +05:30
Aamir Khan caf0b91a2c get_dates from workdays.pm 2014-07-08 03:07:39 +05:30
Aamir Khan 88e5e801cd making code more perl idiomatic 2014-07-08 02:57:35 +05:30
Jag Talon 9c61d96fa7 Merge pull request #535 from gdrooid/md5-fix
MD5: 'md5 of' works as expected
2014-07-07 14:51:06 -04:00
gdrooid df89fb3099 Anagram: Add support for quotes. Fix issue with uppercase and include test for it. 2014-07-07 20:24:25 +02:00
gdrooid 8fc6c203aa MD5: Support quotes. Add test. 2014-07-07 20:10:36 +02:00
gdrooid 7e5b3e49e6 Anagram: modified style to match other IAs. 2014-07-07 19:42:56 +02:00
gdrooid cafd4f9574 Anagram: check if shuffle returns the same word. 2014-07-07 15:15:34 +02:00
gdrooid d4b01d20cf Anagram: Code refactoring. 2014-07-07 14:57:11 +02:00
Jag Talon 103ca004d8 Merge pull request #537 from duckduckgo/zaahir/use-srand
Add srand() to handle fn for Goodies using rand()
2014-07-07 08:23:25 -04:00
David Wilkins 4c8e8bdb8d Correct misspelling 2014-07-06 15:32:30 +08:00
David Wilkins 7fb27ad92b Bigger, better, faster, stronger regexes 2014-07-05 20:19:53 +08:00
David Wilkins e9a5c523da Allow cardinals in decimal form 2014-07-05 15:20:26 +08:00