69 Commits (a53d49a2b0c42e88c124db2b6fd6dedee4f325c2)

Author SHA1 Message Date
Barış Soner Uşaklı 65d049c6f9 fix: tests 4 years ago
Barış Soner Uşaklı 6250a2e242
feat: add node 14 5 years ago
Barış Soner Uşaklı bdc4d9e75b feat: add back redis tests 5 years ago
Barış Soner Uşaklı 8461a1796d feat: remove redis test 5 years ago
Barış Soner Uşaklı a72e44290b feat: remove node14 for now 5 years ago
Julian Lam a1b050e28d feat: let's start testing node v14 👿 5 years ago
Baris Usakli 05bee6291d fix: try travis fix again 5 years ago
Baris Usakli bc9e92a11c fix: try fixing psql on travis 5 years ago
Baris Usakli 6a17e32dec fix: remove select version 5 years ago
Baris Usakli 3ae983001d fix: travis config 5 years ago
Baris Usakli 3731dc4eb1 fix: travis 🐶 5 years ago
Ben Lubar f65922297d fix abysmal postgresql performance in getSortedSetsMembers (#8030)
* refactor postgres upgrade function to use async

* add function wrapper for getting the elements of a sorted set to avoid postgres planning the query with a nested sequential scan

* fix fatal(?!) lint errors

* add missing await

* bump PostgreSQL version on Travis CI to one that isn't over 3 years out of date
5 years ago
Baris Usakli 1a7036a68b feat: add node12 to travis 6 years ago
Barış Soner Uşaklı 39e3527585 fix: don't use same db as prod values 6 years ago
Barış Soner Uşaklı 1f918ca8f8
Home route (#7039)
* fix: WIP home fix

* remove console.log

* fix: #6949

on redis run all tests in subfolder /forum
fix URI errors
fix sping/ping
6 years ago
Baris Usakli e7f9cff7b5 remove node6 from tests 🔥 6 years ago
Barış Soner Uşaklı 9c022afae1
Parse int (#6853)
* 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
6 years ago
Barış Soner Uşaklı 6b7f5db623 use createUser 6 years ago
Barış Soner Uşaklı 2d8d234c57 test mongodb again 6 years ago
Barış Soner Uşaklı fc68263f91 change to TEST_ENV 6 years ago
Barış Soner Uşaklı 45b6e56665 add node_env to tests 6 years ago
Ben Lubar 33228bb7fe PostgreSQL database driver (#5861)
* [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.
7 years ago
Barış Soner Uşaklı a531bcb01e remove node_modules cache 7 years ago
Barış Soner Uşaklı c38751cec3 update travis.yml
only use mongodb or redis
7 years ago
Barış Soner Uşaklı a90020aaa4 update nodejs test versions 7 years ago
Ben Lubar 6855a87a97 Run travis builds in containers (#6232)
* [travis] Cache node_modules between test runs

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

Use package.default.json
Partial #6008

- 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
7 years ago
Barış Soner Uşaklı 557dfd5b47 testing new socket.io-client extraHeaders (#5985)
* testing new socket.io-client extraHeaders

* change mongodb installation
7 years ago
Peter Jaszkowiak 9f9eace596 End support for Node 4, add Node 8 testing 7 years ago
Baris Usakli 10c8666520 lower sleep to 15secs 8 years ago
Baris Usakli 18e0f1a9dd try to start mongod 8 years ago
Baris Usakli a9e7f768e2 wait 30 secs 8 years ago
Baris Usakli bd26cadb80 moved sleep before node setup 8 years ago
Baris Usakli 0b6902a03e testing mongodb wait script 8 years ago
psychobunny 767705085b test against nodejs 7 as well 8 years ago
Julian Lam a043876d00 what, does Travis not like 4-space indents? 8 years ago
Julian Lam 83cd07f830 request travis to build now too 8 years ago
barisusakli 0bf51c7fff remove node 5 from build matrix 8 years ago
barisusakli 224c311b5e testing again 8 years ago
barisusakli d1fb4909ba one more try catch for node5/6 8 years ago
barisusakli 9e094184ba remove trailing / on url 8 years ago
Yami 74c989d609 chore: add coveralls 8 years ago
Barış Soner Uşaklı d859163dea configure env matrix 8 years ago
Barış Soner Uşaklı ae8a75a096 add semicolon 8 years ago
Barış Soner Uşaklı c9edf1af42 escape test 8 years ago
Barış Soner Uşaklı 2262575760 escape " 8 years ago
Barış Soner Uşaklı 37206a8b13 #5066 8 years ago