Commit Graph

4169 Commits (9fa3936c29a5512dedc027d46041dbbace3e226f)

Author SHA1 Message Date
charlie f80edaa88d fixed ukulele minor chords 2016-05-30 16:07:01 -04:00
charlie 0872978f82 refactored instrument selection 2016-05-30 16:07:01 -04:00
charlie 772e1f9891 fixed instrument selection 2016-05-30 16:07:01 -04:00
charlie e0948d4648 started adding ukulele chords in 2016-05-30 16:07:01 -04:00
charlie 8d6774c817 oops, revert changes on FrequencySpectrum 2016-05-30 16:07:01 -04:00
Ben Moon 571baa000a Merge pull request #3163 from duckduckgo/mintsoft/EmailValidator-template
EmailValidator: Switching to text template
2016-05-30 20:44:44 +01:00
charlie ec9c910d4a added text display for chords further up neck 2016-05-30 15:36:35 -04:00
charlie 9e230e8919 started fixing displays 2016-05-30 15:36:35 -04:00
charlie bd02a6cc19 fixed as per comments 2016-05-30 15:36:35 -04:00
charlie e3172cf987 added variations 2016-05-30 15:36:35 -04:00
charlie 6370f4a9d4 added item styling 2016-05-30 15:36:35 -04:00
charlie 147848b627 fixed chord title 2016-05-30 15:36:35 -04:00
charlie f81afeec05 handle aug 2016-05-30 15:36:35 -04:00
charlie 502ae8550a removed unused code 2016-05-30 15:36:35 -04:00
charlie 601508d33c actually grab chords from input 2016-05-30 15:36:35 -04:00
charlie 7bd372c23c began moving over to new code 2016-05-30 15:36:35 -04:00
charlie 9347d3daee css cleanup, code cleanup 2016-05-30 15:36:35 -04:00
charlie f777aa5469 fixed offset 2016-05-30 15:36:35 -04:00
charlie 07675b16d9 better styling 2016-05-30 15:36:35 -04:00
charlie f542c25de7 added points 2016-05-30 15:36:35 -04:00
charlie 70a4ecf5f4 grid base 2016-05-30 15:36:35 -04:00
charlie 20781abc62 added basic svg functionality 2016-05-30 15:36:35 -04:00
Charles S 5d05a6e404 renamed to ChordDiagrams 2016-05-30 15:32:36 -04:00
Charles S 701a55ff40 indentation 2016-05-30 15:32:36 -04:00
Charles S 917d8529fb fixed attribution metadata 2016-05-30 15:32:36 -04:00
Charles S a4a6e09fcb simplified logic 2016-05-30 15:32:36 -04:00
Charles S ff207e3d32 formatting 2016-05-30 15:32:36 -04:00
Charles S 90c0ea82d0 changed name 2016-05-30 15:32:36 -04:00
Charles S 0aa8dc69e5 fixed merge 2016-05-30 15:32:36 -04:00
Charles S 3d94352f56 check if instrument is defined before trying to search hash 2016-05-30 15:32:36 -04:00
Charles S e9269fedfb Added my username to contributers 2016-05-30 15:32:36 -04:00
Charles S bbfdb0bbe5 chords now working properly for both uke and guitar! 2016-05-30 15:32:36 -04:00
Charles S cee12e5d16 oops, chords were mirrored 2016-05-30 15:32:36 -04:00
Charles S b361263cb1 slice of end of array 2016-05-30 15:32:36 -04:00
Charles S 77a9061a9b got more working 2016-05-30 15:32:36 -04:00
Charles S 3bde26d17c initial rewrite of chord PR to use templates 2016-05-30 15:32:36 -04:00
gerhuyy 28ec5f591c Updated the files to correct a few mistakes 2016-05-30 15:31:42 -04:00
gerhuyy 059b308b6b Created a file, test file, and css file 2016-05-30 15:31:42 -04:00
Ben Moon 1ffb2a1381 Merge pull request #3113 from msingle/binarylogic-uppercase
Enhancement: Binary Logic: Add uppercase OR, XOR, AND, NOT operators
2016-05-30 20:17:15 +01:00
Zac Pappis 51fb944ee9 Merge pull request #3161 from duckduckgo/mintsoft/conversions-whitespacing
Conversions: Hack tweaks for #3160
2016-05-30 11:46:46 -07:00
Rob Emery 7f53c7de26 Merge pull request #3117 from NaveenKarippai/improvement2767/daysBetween
Convert DaysBetween to full template goodie
2016-05-30 19:23:32 +01:00
Rob 1b89249a78 EmailValidator: Switching to text template 2016-05-30 19:13:01 +01:00
Rob 5bb7b0fb2f Conversions: Removing word boundary restriction; I think this won't have any undesirables as it needs to match the global unit regex anyway 2016-05-30 14:12:24 +01:00
NaveenKarippai 7db0bee552 Use array scalar to check for array length
The goodie should not be triggered for array length smaller
than one.

* code refactored

See also: #3144
2016-05-29 19:17:19 +00:00
NaveenKarippai b9e8d190c4 Stop triggering for single input query on sort_goodie
The sort_goodie should not be triggered for single numbers (input)
query. This could be fixed by using a return statement check on handler.

* goodie not triggered for single number (input)

See also: #3144
2016-05-29 15:55:26 +00:00
jonk1993 18f63f02d2 removed eval, instead regex check for bad input 2016-05-28 17:08:04 +00:00
jonk1993 32d1b25a60 made regex capture names more clear 2016-05-27 02:03:36 +00:00
rgaul d5031a50a2 Tighten regex 2016-05-27 00:01:49 +00:00
rgaul 4774611756 Escape IA if no parent_era has been found 2016-05-26 23:51:21 +00:00
Zaahir Moolla 75abc7df8f Merge pull request #3050 from duckduckgo/gd/shuffle-new-ia
New Shuffle Instant Answer
2016-05-25 18:02:25 -04:00
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