jc86035
687f7de9f2
Conversions: Add light years, astronomical units, parsecs ( #4438 )
...
* Update conversions.js
* Update conversions.js
* Update conversions.js
* Update conversions.js
* Update triggers.yml
* Update triggers.yml
* Add some tests for new units
* ce
* Update Conversions.t
2017-09-02 10:54:22 +01:00
PJ Hampton
74fb241903
Fix over triggering on dates. ( #4463 )
2017-08-29 15:33:26 -04:00
Rob Emery
a46679a254
LHC: Limiting overtriggering ( #4462 )
...
* HasLHC: Adding failing tests for improper trigger type
* LHC: We want start to limit overtriggering and only if there isn't other information in the query
2017-08-28 18:09:06 -04:00
Ben Moon
9b128b8dbe
Shuffle: Update to use Parse::List Role ( #3619 )
...
* Update list parsing/formatting to use role
* Remove tests that duplicate role testing
2017-08-28 18:06:55 -04:00
PJ Hampton
d0b3a242db
Fix overtriggering. ( #4457 )
2017-08-28 12:14:07 -04:00
Taite Clark
242793b659
New LHC Apocalypse Checker Instant Answer ( #3597 )
...
* Completed perl file, delivering simple response
* The start of a test file
* finish test file, add plain text result.
2017-08-28 16:32:56 +01:00
PJ Hampton
368bab09c0
JS Minifier: Added CSS support, Added Beautify support ( #4154 )
...
* Add css support for js minifier.
* Add support for prettifying.
* Fixed tests.
* Removed flag code.
* update triggers to include prettify for css.
* Add case insensitivity.
* Remove .fifty from html
2017-08-28 16:14:21 +01:00
Philip Kirkbride
a6bbd9c176
Phonetic: Convert to structured ( #4354 )
...
* Make phonetic goodies structured
* add title/subtitle format
* switch title and subtitle
* fix tests
2017-08-27 17:40:54 +01:00
Aditya Tandon
a8b453d410
Geometry: Adds geometry of cylinder and cone ( #4144 )
...
* adds geometry of cylinder and cone
correcting the formula
updating test
* tweaking cone svg a bit
* tweaking fil surface and fill volume svg
slight nit fix
switches class name to stroke special
updates test
* updates test
* syntax fix
2017-08-25 11:58:30 +01:00
Philip Kirkbride
6774080ae7
make Loan return a structured answer ( #4358 )
2017-08-24 00:27:28 +01:00
Philip Kirkbride
3105bc1be5
IDN: Structured Answer ( #4356 )
...
* idn structured answer, remove tabs
* make returned answer more readable
2017-08-24 00:23:50 +01:00
122131
57033cca97
Minecraft: added minecraft 1.12 recipes ( #4271 )
...
* 1.12 changes
* fix image extension
* fix regex
* Fix tests
I made a PR after this one which made this goodie triggered when the British spelling of colour is used.
I added these two tests, which aren't compatible with your PR. I'm pushing these changes which should fix the test failures.
2017-08-23 23:59:04 +01:00
Nalin Bhardwaj
894ef122c0
Timer: Triggering fixes ( #4446 )
...
* Adds join-word of
* Stops triggering on time calculations
* Comment fixes
2017-08-22 20:15:25 +01:00
Lev Kravinsky
4bf20c33b2
Geometry: Add Triangle Area ( #4287 )
...
* add triangle objectInfo and svg
* add tests for triangles & fix formula variable name
* add perimeter to triangle
* add height to triangle svg
2017-08-22 20:08:35 +01:00
PJ Hampton
ad955d8469
Remove legacy IPS code. ( #4451 )
2017-08-21 16:09:09 -04:00
PJ Hampton
27e75cf8df
Removed legacy HKDK. ( #4448 )
2017-08-21 16:08:54 -04:00
PJ Hampton
dea0663089
Remove legacy DHL code. ( #4450 )
2017-08-21 16:08:15 -04:00
PJ Hampton
c932b6a7a5
Remove legacy laser ship code. ( #4452 )
2017-08-21 16:07:59 -04:00
PJ Hampton
138cfc5959
Calculator: patch overtriggering ( #4439 )
...
* Fix overtrigger on phone numbers.
* Prevent car model overtriggering.
* Stop ambigious overtriggering.
* Add extra test (mintsoft request)
* More handling of car searches
* Strip trailing spaces
2017-08-21 14:44:20 -04:00
Tiago Danin
648588ea03
Available HTTPS (in DuckDuckGo, DDD and Freenode) ( #4444 )
2017-08-20 21:20:40 +01:00
Philip Kirkbride
171ef55def
Pi: correct parsing for max length ( #4441 )
...
* Pi: correct parsing for max length
* small style fix
* fix for pi 1000
2017-08-19 23:21:05 +01:00
Philip Kirkbride
192047914c
sumOfNaturalNumbers: Convert to structured answer ( #4255 )
...
* convert sumOfNaturalNumbers to structured answer
* cleaned up syntax
2017-08-17 20:37:02 +01:00
Nalin Bhardwaj
c11be84d6a
Music Chords Diagrams: Fixes/improves triggering ( #4085 )
...
* Fixes regex to correctly find values
* Adding multiple naming to instruments
* Fixes #3386
* Adds more sharp/flat aliases for ukulele
* Remove debug print
* Multiple whitespace matching
* Adding support for tabs, chords
* Adding tests
2017-08-15 23:40:48 +01:00
Mariano Simone
fe0c18f729
Convert unidecode to use template ( #4396 )
...
This is part of #1163
2017-08-15 03:08:36 +05:30
PJ Hampton
e31c2260f0
Add micron alias. ( #4416 )
2017-08-10 15:38:27 -04:00
Zaahir Moolla
96bfdab046
Revert "Roman numerals (improvements) ( #4402 )" ( #4412 )
...
This reverts commit 026279bb6a
.
2017-08-09 12:46:46 -04:00
gargaml
026279bb6a
Roman numerals (improvements) ( #4402 )
...
* First shot at improving roman numeral IA.
Added a new converter.
Added new default settings.
Added some tests.
* Added un upper bound on arabic numbers.
* Remove some typo…
* Added some new triggers.
Allowed uncorrect roman number to load the UI anyway.
Fixed a test.
* Added new triggers.
Fixed regular expressions involved in the UI configuration.
Added new tests.
2017-08-09 11:59:17 +03:00
PJ Hampton
27c5c308de
Conversions: Add case sensitivity. Fix ambiguity collisions ( #4406 )
...
* Check in work.
* Fix casing ambiguity.
* Fix ambiguity selection.
* break out of outer loop.
* fix YAML
2017-08-08 16:37:13 -04:00
PJ Hampton
d17dde90b6
Conversions: US locale defaulting ( #4372 )
...
* Add tests to drive development.
Check in work.
Fixed temp triggering ambiguity.
Add experimental conversions US default.
Update the tests.
* Update based on feedback.
2017-08-08 09:46:44 -04:00
PJ Hampton
cd0871b9f4
New Timezonetime IA ( #4393 )
...
* Check in shivam99aa's work.
* Finish timezone/time IA.
* Refactor Timezonetime.pm
* fix indentation
2017-08-01 12:59:49 -04:00
PJ Hampton
003713f78a
Conversions: Add DTR and Custom Digital Units ( #4359 )
...
* Add Data Transfer speed conversions.
* Add *bi digital units.
* Finish unit + user testing.
2017-07-18 12:08:02 -04:00
PJ Hampton
d5129df6e4
Improve coverage. ( #4363 )
2017-07-18 11:56:43 -04:00
Philip Kirkbride
b082c3013e
Palindrome: Convert to Structured ( #4352 )
...
* Convert palindrome to structured, tabs, negative tests
* remove comments, simplify subtitle function
2017-07-15 23:14:19 +01:00
PJ Hampton
9c581d9564
Calculator: Various Fixes ( #4349 )
...
* Fix weird error message.
* Stop algebra overtriggering.
* Fix overflow error.
* Fixed tests.
* Conclude big patch.
* Patch review bugs.
2017-07-13 18:04:32 -04:00
PJ Hampton
588c354075
New Text Converter IA ( #4335 )
...
* Initial commit.
* Prototype up and running.
* Check in work.
* Update work.
* Checking in work.
* Updates based on feedback.
* Code in design.
* Update padding / margin on controls.
* fix mobile styles
2017-07-13 17:46:49 -04:00
Lisa Georgiades
b9297e004a
Factors: Add support for negative numbers. Add negative cases and tidy ( #4245 ) ( #4299 )
...
* Add support for negative numbers. Add negative cases and tidy (#4245 )
* Remove extraneous regex match
2017-07-13 13:12:18 -04:00
PJ Hampton
6307864f65
Conversions: Updates UI + Triggering ( #4345 )
...
* Fix floz + add n miles.
* Support fractions.
* Update conversions.
* Update based on feedback.
2017-07-13 07:51:16 -04:00
Philip Kirkbride
d7f897af3b
converting random_name to return structured answer ( #4061 )
...
* converting random_name to return structured answer
* altSubtitle typo fix
* altSubtitle typo fix
2017-07-13 07:50:27 -04:00
Philip Kirkbride
ab9ce37808
Convert poker goodie to a structured answer, add negative tests ( #4350 )
2017-07-13 07:43:13 -04:00
Kyle Daruwalla
215857e8dd
ColorCodes: Triggers on any query ending in "color <name>" ( #4220 )
...
* ColorCodes: Triggers on any query ending in "color <name>"
- Added logic to prevent triggering when excess words are involved in
the sentence that are not expected
Fixes #3294
* - Fixed regex for filler words to be simpler
- Fixed filler count return statement by removing the double negative
* Simplified regex to catch filler words
* Fixed whitespace changes
* Added more tests for when the IA should not trigger. Existing tests already sufficiently cover when the IA should trigger.
2017-07-12 07:19:17 -04:00
PJ Hampton
af0a70222d
Calculator: Fixes up trig functions. ( #4339 )
...
* Fixes up trig functions.
Replace regex.
* Fixed 1/(x) issues.
* Update dodgy lookahead.
2017-07-10 18:15:49 -04:00
PJ Hampton
8e5cd3f431
Add factorial support. ( #4331 )
...
Support factorials. Fix - remove bug.
Fixed a couple of iafd data issues.
2017-07-03 14:02:33 -04:00
PJ Hampton
0fd68b0912
Conversions: Add expanded triggers. ( #4328 )
...
* Add expanded triggers.
* Update triggering / tests.
* Remove convert as a trigger.
2017-06-29 17:29:18 -04:00
PJ Hampton
65f69dab27
Calculator: Various improvements. ( #4318 )
...
* Various improvements.
query_nowhitespace removal workaround.
Updated code.
Update code.
Fix exponential state when squaring/cubing
Fix calculator bugs.
* Fix log.
* Various improvements.
* Update variable name.
* Remove debug statements.
* Fix logs/lns on front-end.
2017-06-29 16:55:27 -04:00
PJ Hampton
6457fdeb33
Conversions: Add general triggers. Add aditional aliases. ( #4327 )
...
* Add general triggers. Added aditional aliases.
* Remove blocking legacy code.
* Add french word for converter.
* Add missing closing brackets
2017-06-28 11:25:58 -04:00
PJ Hampton
e1fe0c8fc0
Add failing tests. ( #4325 )
...
Update triggering.
Update triggering scheme.
2017-06-28 09:41:51 -04:00
Jon Kalfayan
e8abd62e97
Paper: Fix letter size to be correct ( #4323 )
...
* fix letter paper size
* fix test to reflect new US letter values
* make notation consistent
2017-06-27 16:45:45 +09:00
PJ Hampton
ee9d459966
Tips: Add interactivity ( #4155 )
...
* initial commit.
* Fixed NaN issue with bill amount.
* Finish up tips.
* Fixed markup.
* Remove mathjs as dep
* Finishing touches...
* Tweak design.
* Add class
* Add simplified css
* overhaul ui
* Add total per person.
* Add secondary text
* Update input class.
* Add further bindings.
* Removed rouge file.
2017-06-23 17:12:52 -04:00
Joshua Liu
9edc2f66bc
Molar Mass: Resolve conflicting triggers issue and add new triggers ( #4250 )
...
* Molar Mass: Remove conflicting triggers and update tests
* Molar Mass: Increased flexibility of triggers
* Molar Mass: forgot the apostrophe
* Molar Mass: Fix Regex
* Molar Mass: widen triggers
2017-06-23 14:32:59 +01:00
Philip Kirkbride
db93ca9b76
Don't trigger log or lg without brackets (as these don't work) ( #4249 )
...
* Add sed command example
* Move to file section
* Don't trigger log without brackets.
Quick fix for issue #4246
* Remove test that uses log(10)
* Update Calculator.t
* dont trigger ln without brackets either
* remove ln and log without bracket tests
* previously removed wrong test bring it back
2017-06-22 16:01:58 +01:00