Commit Graph

113 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
38ce83304d up widget essentials 2018-10-16 19:07:27 -04:00
Barış Soner Uşaklı
2d8d234c57 test mongodb again 2018-10-16 18:44:03 -04:00
Barış Soner Uşaklı
8f7482955d set cluster to false again 2018-10-16 17:21:03 -04:00
Barış Soner Uşaklı
fd31ad3cfe disable busy check on tests 2018-10-16 15:50:32 -04:00
Barış Soner Uşaklı
f4df89fe90 closes #6840 2018-10-16 15:17:14 -04:00
Barış Soner Uşaklı
5dbc7f032a reset post cache between each suite 2018-10-16 15:03:06 -04:00
Barış Soner Uşaklı
fc68263f91 change to TEST_ENV 2018-10-16 13:51:34 -04:00
Barış Soner Uşaklı
45b6e56665 add node_env to tests 2018-10-16 13:20:32 -04:00
Barış Soner Uşaklı
85c60316ed upgrade to winston 3.1, closes #6590 (#6838)
* upgrade to winston 3.1

* fix winston in web/install and tests
2018-10-16 13:07:13 -04:00
Barış Soner Uşaklı
d4db8c2d42 removed reset 2018-10-13 20:28:18 -04:00
Barış Soner Uşaklı
77beaf2e15 Allow local login,closes #6800 (#6803)
* WIP

* reset groups cache after every suite
2018-09-29 06:49:41 -04:00
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.
2018-08-08 15:13:48 -04:00
Barış Soner Uşaklı
a7267df404 closes #6464 2018-05-28 11:29:41 -04:00
Barış Soner Uşaklı
0070f5c1b2 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2018-04-05 12:34:38 -04:00
Peter Jaszkowiak
eaae5b52cd ACP quick actions (#6374)
* ACP quick actions

- Moved restart, build & restart, and logout into separate buttons
- Moved buttons on mobile into the side menu
- Added version and upgrade alert to header / mobile menu
- Moved version checking to server-side with a cache for rate limiting
- Changed "reload" translations to "rebuild and restart"

* Change info alert to black-on-white to match focused search bar

* Fix tests

* Fallback for failed fetch of latest version
2018-03-20 08:32:17 -04:00
Barış Soner Uşaklı
e1c6761087 closes #6258 2018-02-28 17:38:31 -05:00
Barış Soner Uşaklı
0a5d16d1cd closes #6284 2018-01-26 15:50:31 -05:00
Barış Soner Uşaklı
ff6c6a54c1 make upload permissions global
give upload image permission to registered users on install
add global privileges to app.user.privileges for client side use
2018-01-03 13:27:34 -05:00
caoyi
da5997a06e Fix typo (#6135)
Fix typo
2017-11-30 13:01:51 -05:00
Julian Lam
303f1146b2 added upload_url to nconf vars @pitaj 2017-07-28 17:16:05 -04:00
Julian Lam
d98b3e8056 automatically lowercasing env vars in nconf, fixes #2544 2017-06-22 11:10:23 -04:00
Barış Soner Uşaklı
271c10c9d7 dont create indices after every test 2017-05-26 21:14:52 -04:00
Peter Jaszkowiak
b171f3072b Fix many "duplicate key" errors
- Reset defaults after every test
- Remove individual `after(db.emptydb)` calls
- Fix async.every in groups test
- Update plugin list in socket tests
2017-05-26 17:16:59 -06:00
Baris Usakli
062bced3dd cleanup and tests 2017-05-25 16:40:07 -04:00
Peter Jaszkowiak
3dd282b7b9 Load languages with other plugin data
- Added more tests
- Should speed up builds
- Allows for incremental builds in the future
2017-05-23 21:55:23 -06:00
Peter Jaszkowiak
cd1f0ddc79 Resolve merge conflicts 2017-05-23 18:00:52 -06:00
Barış Soner Uşaklı
7fb45cc148 more tests 2017-05-20 20:03:46 -04:00
Barış Soner Uşaklı
fd0043f36a more tests 2017-05-19 20:24:54 -04:00
Peter Jaszkowiak
90da6d889d Only load necessary plugin data
Fix tests to work in this case
Add more verbose messages to plugins/data
2017-05-18 01:32:20 -06:00
Barış Soner Uşaklı
6fcd12eafe fix tests 2017-05-08 20:55:47 -04:00
Peter Jaszkowiak
c18808fdeb ESlint no-useless-concat, no-mixed-spaces-and-tabs 2017-02-18 14:42:15 -07:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
f3a8256f35 ESlint strict 2017-02-18 02:23:47 -07:00
Peter Jaszkowiak
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
2e031f3759 ESlint comma-spacing 2017-02-18 01:31:47 -07:00
Peter Jaszkowiak
277a7fb8b4 ESlint key-spacing, no-trailing-spaces 2017-02-18 01:27:46 -07:00
Peter Jaszkowiak
b09b3aef7f ESlint no-undef, remove global comments 2017-02-17 22:03:55 -07:00
Peter Jaszkowiak
2ba46808a1 ESlint one-var, fix comma-dangle 2017-02-17 20:20:42 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
Peter Jaszkowiak
aaacdb8413 Fix #5416, uploads path config setting
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
2017-02-08 11:41:34 -07:00
Peter Jaszkowiak
360a35d0a6 Resolve merge conflicts 2017-02-02 22:15:26 -07:00
Peter Jaszkowiak
553567c3b2 Refactor nodebb, move build.js, add --dev 2017-02-02 19:15:01 -07:00
Peter Jaszkowiak
001aa3d1a8 Fix tests, npm Windows fixes 2017-01-21 19:21:02 -07:00
Dominic Lennon
691b46d38b Fixing lint issues 2017-01-16 14:43:34 +00:00
Dominic Lennon
f0add97cf9 Fixing tests 2017-01-16 14:37:14 +00:00
Peter Jaszkowiak
05b68391dd Use /assets for client assets
- Route `/assets` -> `build/public`, falling back on `public`
- Moved destinations for `nodebb.min.js`, `acp.min.js`, `admin.css`, `stylesheet.css`, `templates`, and `sounds` to `build/public`
- r.js modules previously routed through express are now symlinked into `public/build/src/modules`
- minfiles no longer served from a memory cache
- use config `views_dir` setting everywhere template directory is used
- fix cache buster `v=v=`
2017-01-14 22:38:40 -07:00
barisusakli
4b6e4f085d more tests
group cover upload tests
registration approval queue tests
2016-12-02 14:05:59 +03:00
barisusakli
49267d54b7 topics unread tests 2016-11-28 14:15:20 +03:00
barisusakli
2f92ce1527 check deps on test 2016-11-26 13:08:00 +03:00
barisusakli
db14c29e41 socket.io/categories tests 2016-11-21 13:47:34 +03:00