Commit Graph

3273 Commits (7a28bc577d4c4e49938bc312ba01a8eed3fb6c9a)

Author SHA1 Message Date
Zaahir Moolla ae37b4bc9b add alias, fix indentation, remove trailing spaces from cheatsheets.pm 2015-10-22 18:57:57 -04:00
Zaahir Moolla 98b32f6c63 Merge pull request #1671 from Roysten/master
Constants goodie
2015-10-21 21:51:01 -04:00
Roysten f7dee74238 Board now uses objects to store row, col and val 2015-10-21 11:13:54 +00:00
jlbaez 5e0671ed9e added to the metadata and added structured answer 2015-10-21 02:42:35 +00:00
jlbaez d12d6a8f7c intial logic of magic eight ball done 2015-10-20 19:37:31 +00:00
Zaahir Moolla 71900dab8a update: only escape text for necessary fonts 2015-10-20 14:29:57 -04:00
Zaahir Moolla c196114c07 XSS Fix: HTML encode input before passing to frontend 2015-10-20 14:14:15 -04:00
Roysten 8965e9b83c Aliases are now added as separate triggers
Name of constant is shown in operation
Updated tests
2015-10-20 09:49:57 +00:00
Daniel Smith e999053e4f Fixes issues 1102 & 1385 2015-10-19 16:32:00 +00:00
Haojun Sui 817ac0f5db Separates LeastCommonMultiple in a separate branch 2015-10-18 09:50:48 -04:00
shjnyr edbd70b425 Updates support to negative numbers support in PrimeNumber 2015-10-18 13:39:07 +00:00
shjnyr 19da7511b4 Fixed the bug of not outputing the correct least common multiple of given numbers 2015-10-18 01:13:30 +00:00
shjnyr f0f7e84118 Adds feature of computing least common multiple of given numbers 2015-10-17 22:51:26 +00:00
shjnyr eca2ff2e02 Updates PrimeNumber test file 2015-10-17 18:53:32 +00:00
shjnyr 8887ae754e Adds feature for showing prime numbers in given range 2015-10-17 18:07:39 +00:00
Zaahir Moolla 9de09c69f4 Merge pull request #1183 from kste/master
Hamming Weight/Bitsum Goodie
2015-10-15 10:15:46 -04:00
codetheweb ab15e8cc4e Fix phone number regex 2015-10-09 15:32:22 +00:00
Simon Turner 305cce5b1b Switch \cup and \cap for union and intersection to correct error in latex goodie. 2015-10-09 16:28:57 +01:00
Zaahir Moolla 79e08d7c91 Merge pull request #1597 from cinlloc/master
Password: Fixes #1565
2015-10-07 13:31:22 -04:00
Burak Ozdemir bd5c8044f2 fixes #1616 2015-10-06 15:45:21 +03:00
Zach Thompson b8b8d726df Remove metadata download and placeholder module 2015-10-01 15:00:08 -06:00
javathunderman 508ace02cd Yay, structured answer 2015-09-29 17:30:28 +00:00
javathunderman 0d72258f52 Reverting... 2015-09-29 17:12:56 +00:00
Burak Ozdemir 8754ab1510 CurrencyIn: Convert to structured answer 2015-09-29 02:04:27 +03:00
Burak Ozdemir b051cf75f4 UN: fix indent 2015-09-28 21:51:36 +03:00
Burak Ozdemir 1caec794e1 UN: Convert to structured answer 2015-09-28 21:19:43 +03:00
Burak Ozdemir 7389a2100e CurrencyIn: Expanded tests, covered unicode 2015-09-27 19:23:37 +03:00
Burak Ozdemir 1177be36a8 CurrencyIn: fix utf8 issues 2015-09-27 01:05:49 +03:00
Burak Ozdemir 2c89ac33af fixes #1599 2015-09-26 05:17:23 +03:00
codetheweb b3fd5bb893 Ignore phone numbers 2015-09-25 23:28:28 +00:00
cinlloc 212ee943cb Add non-trigger examples, restore filters on remainder, add query examples 2015-09-23 20:49:55 +00:00
kste 3a691d5351 Removed comment and refactored hex conversion 2015-09-23 08:31:01 +00:00
cinlloc 36bae5dae1 Merge branch 'master' of https://github.com/cinlloc/zeroclickinfo-goodies 2015-09-22 21:54:54 +00:00
cinlloc 8dfdf906b8 Fixes issue #1565 2015-09-22 21:54:08 +00:00
Zaahir Moolla 4e5776ca3b Merge pull request #1518 from duckduckgo/andrey/js-keycodes-cheatsheet
JS keycodes cheatsheet
2015-09-22 11:42:32 -04:00
Bujiraso 5f5f4c7b2e DaysBetween - Added another trigger 2015-09-18 22:32:32 +00:00
Zaahir Moolla 1b705241e8 Merge pull request #1573 from oliverdunk/patch-1
Added new Epoch Trigger
2015-09-18 09:47:35 -04:00
Zaahir Moolla ebe4b942c0 Merge pull request #1246 from gmahesh23/master
First Goodie Hack
2015-09-17 09:29:02 -04:00
Oliver Dunk 36a67efde6 Added new Epoch Trigger
Allow "time since epoch" to trigger the UnixTime script.
2015-09-15 19:00:55 +01:00
epik a0f3e562a9 Additional metadata and swapped out finger for pig 2015-09-15 11:13:28 +00:00
Zaahir Moolla 7a62a91ec4 Merge pull request #1229 from altern8tif/goodie_name_days
Name Days: Set max-width on table
2015-09-14 22:12:36 -04:00
javathunderman 6a03a3fb33 Yay, working on this again 2015-09-14 17:41:18 +00:00
Zaahir Moolla 03651cc8b8 Merge pull request #1294 from duckduckgo/mintsoft/date-role/relatives
DateRole: Tests and fixes
2015-09-11 16:43:59 -04:00
javathunderman 4fd3761df7 Few bug fixes- not finished 2015-09-10 17:38:27 +00:00
Zaahir Moolla 9cec311403 Merge pull request #1489 from tagawa/tagawa/firefoxos
Added Firefox OS device API lookup
2015-09-10 08:20:36 -04:00
Zaahir Moolla a7e2ca3e1c ensure we have a defined location and timezone 2015-09-09 19:18:21 -04:00
Jag Talon 696edd941f Merge pull request #1537 from synbit/morse1376
Morse Code: the triggers and the tests have been changed according to #1376
2015-09-09 14:58:22 -04:00
Zaahir Moolla 7cfe6dc730 Merge pull request #1112 from wongalvis/master
Created Weight Goodie
2015-09-09 13:53:44 -04:00
Zaahir Moolla a9fbb813e7 Merge pull request #1307 from duckduckgo/mintsoft/templates/htmlentitiesencode
HTMLEntitiesEncode: Structured answer
2015-09-09 13:41:10 -04:00
synbit 2641f9fe6e Updating primary_example_queries and secondary_example_queries accordingly 2015-09-09 12:39:22 +00:00
synbit 3ddb954fbe Added more tests (according to the triggers) and deleted useless comment on the module 2015-09-09 12:29:34 +00:00
synbit 5985fbd6f9 the triggers and the tests have been changed according to #1376 2015-09-09 12:13:13 +00:00
Zaahir Moolla d92c43f6c5 Merge pull request #1493 from duckduckgo/mintsoft/templates/htmlentitiesdecode
HTMLEntitiesDecode: Converting to structured answer
2015-09-08 09:29:01 -04:00
tagawa a04bbbfc49 Changed IA name to 'About' 2015-09-08 06:50:48 +00:00
Zaahir Moolla 67f59d355c Merge pull request #1259 from duckduckgo/mintsoft-subnet-calc-template
SubnetCalc: Updating to use the record template
2015-09-07 22:06:31 -04:00
wongalvis ca9bd8384b Improve Weight Goodie 2015-09-07 14:08:54 +00:00
Gustaf Lindstedt f3888e7399 fix typo
Fix a typo of the word emphasis
2015-09-06 20:55:44 +02:00
Rob Emery 0b6fc3462a HTMLEntitiesEncode: Adding literal character back into the output 2015-09-06 18:36:13 +01:00
epik d40e3dc02c Simplified control flow and fixed output 2015-09-06 02:06:22 +00:00
Andrey Pissantchev 8de28e15eb removed old js keycodes goodie 2015-09-04 05:16:16 -04:00
epik aa3c9e9709 Shruggie ready for initial Push 2015-09-04 01:21:53 +00:00
epik fe0ac8b091 Implementing Shruggie 2015-09-04 01:11:06 +00:00
epik d246cc1a8a Initial implementation of Shruggie 2015-09-04 01:04:11 +00:00
Rob Emery 43e926725b HTMLEntitiesEncode: Adding subtitle as requested by @abeyang 2015-09-02 23:08:19 +01:00
Zaahir Moolla 7c36ce6b1d Merge pull request #1479 from duckduckgo/mintsoft/colourcodes/greys
ColorCodes: Fixing Bug #1473
2015-09-01 16:13:24 -04:00
Rob Emery fd749c799e HTMLEntitiesDecode: fixing up implementation so it actually works 2015-08-31 21:57:37 +01:00
Rob Emery 96c3c4d625 HTMLEntitiesDecode: bombing out the decimal and hex output and using the structured_answer 2015-08-31 21:48:47 +01:00
Rob Emery 26396032c4 HTMLEntitiesEncode: Adding title as requested by @abeyang 2015-08-31 21:23:32 +01:00
loganom 2323a3d740 iss1466 RandomNumber add attribution 2015-08-31 11:39:31 +00:00
loganom 5a657084af iss1466 RandomNumber add test for missed cases, add check for 0 start value 2015-08-30 20:03:41 +00:00
tagawa 0c91e8c0e3 Changed to 'info' template and added infobox 2015-08-30 12:38:16 +00:00
tagawa 6ead9221e3 Added Firefox OS device API lookup 2015-08-30 09:22:14 +00:00
Rob Emery e794e937e5 ColorCodes: Greyscale values no longer display complementary and analogous colours 2015-08-29 21:46:51 +01:00
javathunderman b533ceca4c Added PaleoIngredientCheck IA 2015-08-28 20:42:46 +00:00
Kevin Kwa 084d278645 Name Days: Amend css classes 2015-08-26 15:26:13 +08:00
Zaahir Moolla fe5f78cff2 Merge pull request #1335 from codenirvana/factorial
Factorial of a number
2015-08-19 15:18:16 -04:00
Zaahir Moolla 0bc2c92e96 Merge pull request #1227 from cskksc/fix_independence_day
Independence Day: Convert to icon template, display country flag
2015-08-19 02:07:46 -04:00
Zaahir Moolla 4dced2c3ca Merge pull request #1412 from jeet09/master
jeet09 isAwesome Goodie
2015-08-18 11:23:42 -04:00
jeet09 9e64570845 Is awesome for jeet09 2015-08-18 08:13:56 +00:00
Zach Thompson ff2492fe2a Use file name instead of handle 2015-08-17 17:32:18 -06:00
Zach Thompson 3709be638b Eval decode_json so we don't fail on all 2015-08-17 16:19:59 -06:00
Zaahir Moolla 446b6afb33 merge in pr/1404 by @sloff 2015-08-17 10:40:12 -04:00
Zaahir Moolla c55b00dea6 reorder logic to verify query first, add failing tests 2015-08-17 10:32:15 -04:00
ettienne 1af4c40c15 Fixes over triggering 2015-08-17 14:13:48 +00:00
ettienne 7b9e489e8b Cheatsheet tests added 2015-08-14 11:51:09 +00:00
hemanth e9f62738fb New format for constants 2015-08-14 05:58:59 +00:00
hemanth 722a8e47b3 Merge branch 'master' of https://github.com/duckduckgo/zeroclickinfo-goodies 2015-08-14 05:53:34 +00:00
Zach Thompson 61d54a1f56 No warnings on uninit values; add wu-tang alias 2015-08-13 11:27:24 -06:00
Rob Emery 6600262af8 SubnetCalc: Tabs to spaces and adding MoreAt => 0 2015-08-13 13:21:08 +01:00
ettienne 57c3edc9d1 Resolve conflicts 2015-08-13 08:47:54 +00:00
Rob Emery 317e29773f SubnetCalc: Tabs to spaces 2015-08-13 08:30:07 +01:00
Russell Holt 49108e640f Merge pull request #1379 from alohaas/master
New Cheat Sheet Templates
2015-08-11 21:46:59 -04:00
Zaahir Moolla 81b7116ce1 Merge pull request #1348 from duckduckgo/mintsoft/week-update_with_dates
Continuation: Convert Week Goodie to Structured Template, update tests
2015-08-10 09:34:08 -04:00
alohaas 7ba5e455d0 refactored templates so that template options extend from a base template 2015-08-10 02:03:20 -04:00
hemanth 0042186bed Constants and code cleanup. 2015-08-08 10:54:41 +00:00
hemanth 0081f58a5f Refactored as per @moollaza's suggestion 2015-08-08 08:08:59 +00:00
hemanth 57655d0093 Merge branch 'master' of https://github.com/duckduckgo/zeroclickinfo-goodies 2015-08-08 08:01:55 +00:00
ettienne 1e8bc26ec2 Absolute filepath used and warn added 2015-08-07 18:30:02 +00:00
ettienne 8ff93bc66a Alias logic altered 2015-08-07 07:13:18 +00:00
alohaas 3a9ab92253 added ability to configure template_type in cheat sheet json files, added new handlebar templates for new cheat sheet template types 2015-08-06 22:46:08 -04:00
Zaahir Moolla 13b665f86e Merge pull request #1328 from Sloff/Sloff/BinaryLogic
Binary Logic altered to use templates
2015-08-06 17:41:45 -04:00
ettienne 286c877ae8 0 answer fixed 2015-08-06 18:54:36 +00:00
Zaahir Moolla c5be65b56a Merge pull request #1244 from altern8tif/goodie_password
Password: Set minimum password length
2015-08-06 10:25:54 -04:00
codenirvana 16038a6b0f updated regex 2015-08-06 11:45:27 +00:00
ettienne 1bdb3717cd Aliases added to json files, link files removed, alias hash added to cheatsheet 2015-08-06 08:39:54 +00:00
Zaahir Moolla 0415f0b6a4 Merge pull request #1082 from rouzbeh/Chess960HTML
Chess960: Use HTML output provided by FenViewer
2015-08-05 23:52:40 -04:00
ettienne 19752ce2cd Subtitle altered and triggers improved 2015-08-05 10:03:08 +00:00
Abe Yang 652dbbfc4f Merge pull request #1332 from Sloff/Sloff/ChineseZodiac2
Chinese Zodiac Templates used and icons added
2015-08-03 11:02:23 -07:00
kste 3d5485fd2c Added fill words and updated tests. Removed unnecessary files. 2015-08-02 13:06:15 +00:00
Zaahir Moolla 50e3921b2a Merge pull request #1326 from ankushg07/morsecode
Alphabetical Morse Code
2015-07-31 23:32:11 -04:00
Zaahir Moolla d0f45f97e6 Merge pull request #1331 from Sloff/Sloff/Unicornify2
Unicornify Display results using structured answers and templates
2015-07-31 22:30:23 -04:00
Rob Emery 7f3bafd552 Week: Now handles queries like `8th week of 2015` as noticed by @moollaza 2015-07-31 22:39:25 +01:00
Zaahir Moolla e2ac5485ed Merge pull request #1330 from Sloff/Sloff/Perimeter
Perimeter altered to use templates
2015-07-31 17:03:41 -04:00
Rob Emery 91b9107669 Adding tests around is_valid_year 2015-07-31 21:48:40 +01:00
Rob Emery 998c43b42a Week: Fixing handling around invalid weeks and years 2015-07-31 21:36:52 +01:00
Rob Emery 2009310571 DatesRole: Adding full_year regex and accessor 2015-07-31 21:22:04 +01:00
Rob Emery fa69448a5e Merge branch 'zaahir/week-update' into mintsoft/week-update_with_dates 2015-07-31 21:16:13 +01:00
Zaahir Moolla 502ba63044 Merge pull request #1309 from cwallen/master
TimezoneConverter: switch HTML to template
2015-07-31 15:42:14 -04:00
Rob Emery 23d2cfb2f0 Merge pull request #1329 from Sloff/Sloff/CamelCase
camelCase IA added
2015-07-31 20:27:32 +01:00
ankushg07 3fecfe85aa Fixes for test file 2015-07-31 13:47:04 +00:00
ettienne 0d7f742f24 Subtitle altered 2015-07-31 13:29:58 +00:00
pseudozidu f30294124d First Is Awesome goodie 2015-07-31 10:09:53 +00:00
cwallen 4cd8263197 Better foreach style 2015-07-29 16:42:09 +00:00
marianosimone 70be7c6191 make 'flip coin' trigger coin flipping ia 2015-07-29 14:34:27 +00:00
cwallen 240961711e Timezone answer formatting and refactoring 2015-07-29 02:46:36 +00:00
codenirvana c78206b040 fixed zero factorial 2015-07-29 00:43:45 +00:00
ankushg07 2483c9f050 Minor Fixes 2015-07-28 17:21:59 +00:00
codenirvana 54ee2aa8a8 fixing zero factorial 2015-07-28 13:35:42 +00:00
codenirvana 856937e1d2 non-intger tests 2015-07-27 18:00:56 +00:00
codenirvana efddf3dbb4 filtered input 2015-07-26 14:29:24 +00:00
codenirvana 47f3ddc59a factorial IA 2015-07-26 09:37:39 +00:00
ettienne e2bf426c3a Merge branch 'Sloff/Unicornify' of github.com:Sloff/zeroclickinfo-goodies into Sloff/Unicornify 2015-07-25 06:24:50 +00:00
ettienne bd18de08fa Merge branch 'Sloff/ChineseZodiac' of github.com:Sloff/zeroclickinfo-goodies into Sloff/ChineseZodiac 2015-07-25 06:19:31 +00:00
ettienne 22db424073 Triggers altered 2015-07-24 13:40:20 +00:00
ettienne e7c7e49a4b Answer altered to use templates 2015-07-24 12:48:13 +00:00
ettienne cd2e5b04c6 camelCase IA added 2015-07-24 10:06:05 +00:00
ettienne 26cd751347 Answer altered to use templates 2015-07-24 08:02:26 +00:00
ettienne f2ca72235b Name changed 2015-07-24 07:12:36 +00:00
ettienne 7c879e90e0 Icons removed 2015-07-24 07:09:46 +00:00
Rob Emery 25bf084dd3 Merge pull request #1314 from Sloff/Sloff/PrimeFactors
Prime factors altered to use templates
2015-07-23 19:19:47 +01:00
ettienne abb04e311e Output altered 2015-07-23 10:12:14 +00:00
ettienne 721f836ea3 Date format changed 2015-07-23 09:33:02 +00:00
ettienne 93491ed506 Output and tests altered 2015-07-22 10:41:53 +00:00
ettienne 087596eeb3 Subtitle and tests altered and html removed 2015-07-22 10:30:28 +00:00
ettienne ed516071ec Templates used and icons added 2015-07-21 14:10:52 +00:00
ettienne 9163eca0bd Error fixed 2015-07-21 07:08:08 +00:00
ettienne 66cf1f87a5 Templates used and tests altered 2015-07-21 06:36:54 +00:00
Zaahir Moolla e69ae2a40b Merge pull request #1264 from phylum/calc-mult-div-symbols
Calculator: Added multiplication symbols and obelus along with tests
2015-07-20 18:16:52 -04:00
ettienne 2b9f699dc4 Tabs removed 2015-07-20 13:51:38 +00:00
cwallen 32fe30fa68 Convert HTML to template 2015-07-20 00:59:31 +00:00