Commit Graph

6 Commits

Author SHA1 Message Date
Matteo Pagliazzi
98c019a0b6 Upgrade lodash to v4 and lint more files (#8495)
* common: import lodash modules separately

* remove test/content from .eslintignore, fix with eslint --fix content/index

* lint test/content

* lint content/index except for lodash methods

* upgrade server/models

* upgrade server/middlewares and server/libs

* port server/controllers/top-level

* port server/controllers/api-v3

* port views and tests

* client old port lodash and _(, missing _.

* upgrade client-old

* port common/script (root level files only)

* port common/script/fns

* port common/libs

* port common/script/ops

* port common/script/content and common/script/libs/shops.js

* misc fixes

* misc fixes

* misc fixes

* more tests fixes

* fix payments test stubbing, down to 2 failing tests

* remove more instances of lodash wrapping

* fix bug where toObject does not clone object

* fix tests

* upgrade migration or add lodash 4 note

* update shrinkwrap

* fix linting

* upgrade eslint-config-habitrpg

* update shrinkwrap

* recompile shrinkwrap
2017-03-01 17:10:48 +01:00
Tyler Renelle
9c061fadc1 apply backer tier to their backer property, add tokens if not already there, disable ads, etc 2013-05-07 16:19:09 +01:00
Tyler Renelle
157f0400e1 fix tokens migration script 2013-03-28 00:25:45 -07:00
Tyler Renelle
83bfee0fa3 and include email in apply_tokens 2013-03-27 23:23:19 -07:00
Tyler Renelle
30d92a1583 add username to tokens migration 2013-03-27 16:02:29 -07:00
Tyler Renelle
56eccabe5a apply tokens migration script 2013-03-27 14:19:11 -07:00