Commit Graph

56 Commits (c20cd5285427fa5b70debc5fe2423927af96795e)

Author SHA1 Message Date
Barış Soner Uşaklı 39e3527585 fix: don't use same db as prod values
Barış Soner Uşaklı 1f918ca8f8
Home route ()
* fix: WIP home fix

* remove console.log

* fix: 

on redis run all tests in subfolder /forum
fix URI errors
fix sping/ping
Baris Usakli e7f9cff7b5 remove node6 from tests 🔥
Barış Soner Uşaklı 9c022afae1
Parse int ()
* Store config fields as JSON in the db

Fewer parseInts

* Remove unnecessary parseInts

* remove some dupe code add tests

* remove console.log

* remove more parseInts

* WIP: read meta.configs defaults from defaults.json

remove more parseInts

* more work

* add log for failing test

* update admin pwd

* fix tests, dont require posts/cache before configs are initialized

* handle saves

* Test boolean conditions

* remove more parseInts

* Fix boolean values

* remove lots more parseInts

* removed json parsing

* renamed var to number

* categories dont have timestamp
Barış Soner Uşaklı 6b7f5db623 use createUser
Barış Soner Uşaklı 2d8d234c57 test mongodb again
Barış Soner Uşaklı fc68263f91 change to TEST_ENV
Barış Soner Uşaklı 45b6e56665 add node_env to tests
Ben Lubar 33228bb7fe PostgreSQL database driver ()
* [test/database/list] Fix test list 4 being used in two different tests

* [database/postgres] PostgreSQL database driver

* [database/postgres] Make transactions work based on continuation scope.

* [database/postgres] Implement nested transactions

* eslint --fix

* Add database changes from earlier this week to the PostgreSQL driver.

* Fix typo

* Fix postgres.incrObjectFieldBy returning undefined instead of null when given NaN

* [database/postgres] Fix sortedSetsCard returning an array of strings.

* Update socket.io postgres adapter

* Fix PostgreSQL erroring when multiple updates are made to the same sorted set entry in a single operation.

Add a test case to catch this error.

* Fix lint errors.

* Only prune sessions on one instance in a cluster to avoid deadlocks.

They're caught and handled by the database server, but they spam the logs.

* Fix arguments.slice.
Barış Soner Uşaklı a531bcb01e remove node_modules cache
Barış Soner Uşaklı c38751cec3 update travis.yml
only use mongodb or redis
Barış Soner Uşaklı a90020aaa4 update nodejs test versions
Ben Lubar 6855a87a97 Run travis builds in containers ()
* [travis] Cache node_modules between test runs

* [travis] Enable container-based builds for less waiting time
Julian Lam 4bb46ad669 Merge branch 'master' into develop
Barış Soner Uşaklı eb47a81c46 remove package.default.json
Peter Jaszkowiak 41b026b4d6 Test Node 9
Peter Jaszkowiak dfad76120d Support npm@5 and yarn ()
* Support npm@5 and yarn

Use package.default.json
Partial 

- Overwrite package.json with package.default.json values
- `dependencies` field is merged with package.default.json version taking precidence
- `./nodebb upgrade` automatically does those things and runs `git pull`
- use `./nodebb upgrade --dev` to avoid the `git pull`

* added logic to preserve extraneous plugins installed in node_modules/

* Don't automatically git pull

* Simplify package-install, run it on upgrade just in case
Barış Soner Uşaklı 557dfd5b47 testing new socket.io-client extraHeaders ()
* testing new socket.io-client extraHeaders

* change mongodb installation
Peter Jaszkowiak 9f9eace596 End support for Node 4, add Node 8 testing
Baris Usakli 10c8666520 lower sleep to 15secs
Baris Usakli 18e0f1a9dd try to start mongod
Baris Usakli a9e7f768e2 wait 30 secs
Baris Usakli bd26cadb80 moved sleep before node setup
Baris Usakli 0b6902a03e testing mongodb wait script
psychobunny 767705085b test against nodejs 7 as well
Julian Lam a043876d00 what, does Travis not like 4-space indents?
Julian Lam 83cd07f830 request travis to build now too
barisusakli 0bf51c7fff remove node 5 from build matrix
barisusakli 224c311b5e testing again
barisusakli d1fb4909ba one more try catch for node5/6
barisusakli 9e094184ba remove trailing / on url
Yami 74c989d609 chore: add coveralls
Barış Soner Uşaklı d859163dea configure env matrix
Barış Soner Uşaklı ae8a75a096 add semicolon
Barış Soner Uşaklı c9edf1af42 escape test
Barış Soner Uşaklı 2262575760 escape "
Barış Soner Uşaklı 37206a8b13
Julian Lam cb940fec28 so no iojs then 😉
Julian Lam 90ba8c6077 update travis.yml supported node version, closes ()
barisusakli 8a2f1d0c49 Revert "update travis"
This reverts commit f05b07d2a4.
barisusakli f05b07d2a4 update travis
barisusakli 1eaa7cd29b added node 4.2 to travis
Barış Soner Uşaklı d3753a5d5a 🐕
Barış Soner Uşaklı 4ec464f4e4 travis env var
Barış Soner Uşaklı 83360cc3de added nodejs 4.0 4.1 to travis
barisusakli 872318442f install latest mongo in travis, travis only has 2.4.10
barisusakli 13daf8d167 mongo port
barisusakli fd373ed8e7 added mongodb to travis.yml
Julian Lam 21fe3f2596 hopefully fixing travis CI
Julian Lam 2c5876779f only build the master branch, TravisCI...