habitica-self-host/test/common
Brian Fenton ac90a40be5 Api quest restrictions - no purchase/start without fulfilling eligibility requirements (#10387)
* removing duplicate translation key

* fixing typos

* extracting quest prerequisite check. adding check for previous quest completion, if required

* fixing (undoing) static change, adding tests

* more typos

* correcting test failures

* honoring quest prerequisites in quest invite API call. updating format of il8n string replacement arg

* no longer using apiError, use translate method instead (msg key was not defined)

* adding @apiError to docblock as requested in issue

* removing checks on quest invite method. small window of opportunity/low risk
2018-05-27 16:41:56 +02:00
..
fns Fix level up webhook (#10347) 2018-05-09 19:04:29 +02:00
libs Fix locked class-specific gear after death fixes #10025 (#10212) 2018-04-28 17:34:08 +02:00
ops Api quest restrictions - no purchase/start without fulfilling eligibility requirements (#10387) 2018-05-27 16:41:56 +02:00
count.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
shouldDo.test.js Hiding popunder if challenge data is incomplete (#10284) 2018-04-28 17:38:38 +02:00
statHelpers.test.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
test_helper.js (chore): lint test/common files 2015-11-19 20:27:39 -06:00