summaryrefslogtreecommitdiff
path: root/lib/models/index.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Linter: Fix all lint errorsPhilip Molares2021-02-151-12/+14
| | | | Signed-off-by: Philip Molares <philip.molares@udo.edu>
* fix: upgrade sequelize to latest version to fix CVEBoHong Li2019-06-111-1/+3
| | | | Signed-off-by: BoHong Li <a60814billy@gmail.com>
* Fix eslint warningsSheogorath2019-05-311-8/+8
| | | | | | | | | | | Since we are about to release it's time to finally fix our linting. This patch basically runs eslint --fix and does some further manual fixes. Also it sets up eslint to fail on every warning on order to make warnings visable in the CI process. There should no functional change be introduced. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* switching to eslint for code checkingClaudius Coenen2018-11-141-0/+1
| | | | | | | most rules degraded to WARN, so we don't go insane. This will change over time. The aim is to conform to a common style Signed-off-by: Claudius Coenen <opensource@amenthes.de>
* Change config to camel case with backwards compatibilitySheogorath2018-03-251-2/+2
| | | | | | | | This refactors the configs a bit to now use camel case everywhere. This change should help to clean up the config interface and make it better understandable. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Fix typo in the db configWu Cheng-Han2017-06-051-1/+1
|
* refactor(config.js): Extract config fileBoHong Li2017-05-081-2/+3
| | | | | * Separate different config source to each files * Freeze config object
* refactor: Remove `require` extension filenameBoHong Li2017-05-081-2/+2
|
* Fix strip null byte in model should cast to string to use replace functionWu Cheng-Han2017-03-151-0/+1
|
* Use strict mode in all backend filesBoHong Li2017-03-141-0/+1
| | | | add ‘use strict’ in all backend file
* Use JavaScript Standard StyleBoHong Li2017-03-081-35/+33
| | | | | Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
* Refactor data processing to model definitionWu Cheng-Han2017-01-021-0/+6
|
* Update to remove null byte before saving to DB and remove null byte on changesWu Cheng-Han2017-01-021-0/+7
|
* Use dburl to configuratebananaappletw2016-12-221-2/+2
|
* Simplify code for herokubananaappletw2016-12-221-1/+2
|
* Fix #293bananaappletw2016-12-221-3/+4
|
* Update sequelize init conditionYukai Huang2016-12-121-5/+4
|
* Simplify output with sequelize database argumentYukai Huang2016-12-121-2/+8
|
* Refactor server with Sequelize ORM, refactor server configs, now will show ↵Cheng-Han, Wu2016-04-201-0/+37
note status (created or updated) and support docs (note alias)