Rebecca 190aa2c0e7 Updating a task now sends only data that's actually needed (Fixes #7846) (#8040)
* Updating a task now sends only data that's actually needed (Fixes #7846)

Updating a task with a huge history lead to 'request entity too large' errors since the client attempted to send all data associated with a task, regardless of whether that data could be changed or not. With this change, the post request is now omitting the following fields:

challenge
completed
createdAt
group
history
id
reminders
tags
type
updatedAt
userId

* Changes according to review (use _.omit)
2016-09-20 07:59:49 -05:00
2016-09-18 21:51:20 +02:00
2016-05-23 13:58:31 +02:00
2016-09-18 21:51:20 +02:00
2016-05-23 13:58:31 +02:00
2016-09-07 08:44:57 -05:00
2016-09-18 21:51:20 +02:00
2016-09-18 21:51:20 +02:00
2016-09-18 21:51:20 +02:00
2016-09-18 21:51:20 +02:00
2016-03-05 09:17:31 -06:00
2016-05-23 13:58:31 +02:00
2016-01-11 05:04:22 +00:00
2016-01-11 05:04:22 +00:00
2016-09-18 21:51:20 +02:00
2016-09-18 21:51:20 +02:00
2016-06-21 06:42:20 -05:00
2016-09-18 21:51:20 +02:00
2016-09-18 21:51:20 +02:00
2016-05-23 13:58:31 +02:00
2015-07-31 18:05:10 +10:00

Habitica Build Status Code Climate Coverage Status Bountysource

Habitica is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor.

We need more programmers! Your assistance will be greatly appreciated.

For an introduction to the technologies used and how the software is organized, refer to Contributing to Habitica - "Coders (Web & Mobile)" section.

To set up a local install of Habitica for development and testing, see Setting up Habitica Locally, which contains instructions for Windows, *nix / Mac OS, and Vagrant.

Then read Guidance for Blacksmiths for additional instructions and useful tips.

Debug Scripts

In the ./debug-scripts/ folder, there are a few files. Here's a sample:

grant-all-equipment.js
grant-all-mounts.js
grant-all-pets.js

You can run them by doing:

node debug-scripts/name-of-script.js

If there are more arguments required to make the script work, it will print out the usage and an explanation of what the script does.

S
Description
A habit tracker app which treats your goals like a Role Playing Game.
Readme 1.9 GiB
Languages
JavaScript 51.7%
Vue 23.8%
CSS 23.7%
SCSS 0.7%