Commit Graph

2606 Commits (8b0d4d169754740d24227f2945c2b9499453ca49)

Author SHA1 Message Date
Rob Emery ab0fdb6b04 DatesRole: Switching tests to use new parse_datestring_to_date 2014-08-31 19:42:45 +01:00
Rob Emery ce0880b158 DatesRole: renaming and deprecating parse_string_to_date 2014-08-31 19:39:37 +01:00
Rob Emery 0363431437 DatesRole: fleshing out new behaviour of parse_string_to_date 2014-08-31 19:34:09 +01:00
Rob Emery 5701ac4322 DatesRole: Added failing tests to layout desired behaviour of parse_string_to_date 2014-08-31 19:31:39 +01:00
Rob Emery 03632703fb DatesRole: Switching invalid string tests from parse_string_to_date to parse_formatted_datestring_to_date 2014-08-31 19:15:46 +01:00
Rob Emery fbc38176b3 DatesRole: Adding tests for the formatted_datestring_regex and switching existing tests to use it versus the date_regex() 2014-08-31 19:08:50 +01:00
Rob Emery 35137b382c DatesRole: Adding tests for new datestring_regex methods and renaming existing regex 2014-08-31 19:04:43 +01:00
Rob Emery 002f3bd0b3 DatesRole: Tidyup 2014-08-31 18:50:59 +01:00
Rob Emery a893786d53 DatesRole: inverting if in descriptive parsing 2014-08-31 18:39:49 +01:00
Rob Emery d4e99a8771 DatesRole: Wrapping and renaming parse_descriptive_string_to_date to parse_descriptive_string_to_date 2014-08-31 18:38:41 +01:00
Rob Emery 0c59eb4d12 DatesRole: Separating parse_string_to_date and formatted_strings to date behaviour 2014-08-31 18:36:30 +01:00
Rob Emery 624587b060 DatesRole: Renaming things inline with "datestring" for regexes and moving date_output_string to keep parsers together 2014-08-31 18:00:17 +01:00
Rob Emery c1ac024744 DatesRole: renaming usages of date_regex() to $formatted_date 2014-08-31 17:46:24 +01:00
Rob Emery 6430719827 DatesRole: Refactoring date_regex into a builder 2014-08-31 17:43:41 +01:00
Rob Emery 2e2cf20c14 BinaryLogic: Commenting out failing test until I can figure out why 2014-08-30 22:34:58 +01:00
Rob Emery e6034d147b BinaryLogic: Harmonising the test format 2014-08-30 22:22:40 +01:00
Rob Emery ac5d4acb83 Removing Xor, superceded by BinaryLogic 2014-08-30 21:55:49 +01:00
Rob Emery 9c533d5ac9 BinaryLogic:minor cleanup 2014-08-30 21:55:15 +01:00
Rob Emery 44518a7823 BinaryLogic: Original version by @bpaschen 2014-08-30 21:50:28 +01:00
Rob Emery 080df14e70 WorkdaysBetween: Using new DatesRole functionality to fix https://github.com/duckduckgo/zeroclickinfo-goodies/issues/346 2014-08-30 21:19:59 +01:00
Rob Emery 1a7e46b127 DatesRole: cleaning up clashing variables and making use of vague_datestring_regex not pollute the consumer's match context 2014-08-30 21:00:46 +01:00
Rob Emery aebc43f1e3 Merge pull request #613 from mwmiller/abstraction
RandomNumber: add ABSTRACT.
2014-08-30 20:50:31 +01:00
Rob Emery cc7d545985 Merge pull request #610 from syst3mw0rm/master
WeekdayBetween : pretty output
2014-08-30 20:49:53 +01:00
Rob Emery 2f1f6e1b85 DatesRole: Adding support for "jan 1st" "13 march" to vague 2014-08-30 20:48:45 +01:00
Rob Emery ff30de94ff DatesRole: Making vaguestring regex available 2014-08-30 20:06:53 +01:00
Matt Miller 4dc3c8cb14 RandomNumber: add ABSTRACT. 2014-08-30 14:31:50 -04:00
Aamir Khan d7b9dce9b9 apparently I couldn't see two spaces! 2014-08-30 20:52:17 +05:30
Aamir Khan eae1a30658 ahh, missed th output format 2014-08-30 20:31:49 +05:30
Matt Miller 0f605ded7e Merge pull request #594 from duckduckgo/jag/format
Format CalcRoots, Password, and RandomNumber.
2014-08-30 09:37:32 -04:00
Aamir Khan 3539c80184 Added test case for primary_example_query 2014-08-30 15:09:09 +05:30
Aamir Khan e0324c377e Merge remote-tracking branch 'upstream/master'
Conflicts:
	lib/DDG/Goodie/WeekdaysBetween.pm
	t/WeekdaysBetween.t
2014-08-29 11:04:05 +05:30
Matt Miller bc7e87be22 ColorCodes: treat "code" as semantic noise.
We want to allow the string "code" to be used in the triggering query,
but we want it to have no effect on how the query is understood
or processed.

Addresses issue #454.
2014-08-28 17:25:19 -04:00
Zaahir Moolla dcc40ca09b Merge pull request #576 from duckduckgo/mintsoft/date_role
Unified Date Handling role
2014-08-28 17:15:38 -04:00
Rob Emery 76e0e7b9fb DaysBetween: Rejecting invalid dates with extra characters and ensuring output is always ordered 2014-08-28 19:01:08 +01:00
Aamir Khan 92156f0f64 test cases modified 2014-08-26 23:52:35 +05:30
Aamir Khan 0f3581342c WeekdayBetween : pretty output 2014-08-26 12:50:05 +05:30
Rob Emery 69f5a1ae69 Merge branch 'mintsoft/date_role' of github.com:duckduckgo/zeroclickinfo-goodies into mintsoft/date_role 2014-08-25 23:51:55 +01:00
Rob Emery e3ca80a9a2 DatesRole: Fixing duplicate matches in timezones; Thanks @elebow! 2014-08-25 23:50:39 +01:00
jagtalon 81c24b7b05 Merge branch 'master' into jag/format
Conflicts:
	lib/DDG/Goodie/Password.pm
	lib/DDG/Goodie/RandomNumber.pm
2014-08-25 20:01:16 +00:00
jagtalon 2c3169c4b6 ValarMorghulis: Format code. 2014-08-25 19:52:25 +00:00
jagtalon 2603e52219 Merge branch 'master' of https://github.com/larseng/zeroclickinfo-goodies into jag/valar 2014-08-25 19:50:03 +00:00
Caine Tighe 949ced7776 Merge pull request #609 from duckduckgo/jag/unixtime
UnixTime: Disable the no argument feature.
2014-08-25 15:13:43 -04:00
jagtalon 80ee10d13a UnixTime: Disable the no argument feature.
Disabling the no argument feature since:
- It triggers with just "time"
- The time shown doesn't follow the person's timezone (which is preferable over UTC)
2014-08-25 19:01:46 +00:00
Jag Talon 2accbe8971 Merge pull request #549 from elebow/gimp-cheat-sheet
Gimp cheat sheet
2014-08-25 10:38:13 -04:00
Rob Emery 8dcb55792c Merge pull request #606 from mwmiller/epic_epoch
UnixTime: subsume Epoch.pm functions.
2014-08-22 18:50:12 +01:00
Jason d7f48f7099 Fix tests 2014-08-22 13:26:51 -04:00
Jag Talon 17cdbdc7e1 Merge pull request #538 from duckduckgo/mintsoft/public_dns
PublicDNS: Changes to make styling consistent with new look ddg
2014-08-22 13:19:28 -04:00
Jason 74c093b7f1 Adding CSS 2014-08-22 13:08:58 -04:00
Jason 6b308aa86d Adding CSS 2014-08-22 13:07:57 -04:00
Jason 9969b0b881 Updated CSS 2014-08-22 12:42:29 -04:00