habitica-self-host/website/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
..
errors moving developer-only strings to api/common messages (#10258) 2018-05-04 16:00:19 -05:00
locales Api quest restrictions - no purchase/start without fulfilling eligibility requirements (#10387) 2018-05-27 16:41:56 +02:00
script Api quest restrictions - no purchase/start without fulfilling eligibility requirements (#10387) 2018-05-27 16:41:56 +02:00
index.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
README.md Common reorg (#8025) 2016-09-16 17:18:07 +02:00

Common

Files that are shared among the server and the client.

  • Code that is run on both the client and the server
  • Item definitions - weapons, armor, pets, etc