96 Commits (7fb583dcfdf1ab123d58940dad75e2928f732bd8)

Author SHA1 Message Date
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
7 years ago
caoyi da5997a06e Fix typo (#6135)
Fix typo
7 years ago
Julian Lam 303f1146b2 added upload_url to nconf vars @pitaj 8 years ago
Julian Lam d98b3e8056 automatically lowercasing env vars in nconf, fixes #2544 8 years ago
Barış Soner Uşaklı 271c10c9d7 dont create indices after every test 8 years ago
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
8 years ago
Baris Usakli 062bced3dd cleanup and tests 8 years ago
Peter Jaszkowiak 3dd282b7b9 Load languages with other plugin data
- Added more tests
- Should speed up builds
- Allows for incremental builds in the future
8 years ago
Peter Jaszkowiak cd1f0ddc79 Resolve merge conflicts 8 years ago
Barış Soner Uşaklı 7fb45cc148 more tests 8 years ago
Barış Soner Uşaklı fd0043f36a more tests 8 years ago
Peter Jaszkowiak 90da6d889d Only load necessary plugin data
Fix tests to work in this case
Add more verbose messages to plugins/data
8 years ago
Barış Soner Uşaklı 6fcd12eafe fix tests 8 years ago
Peter Jaszkowiak c18808fdeb ESlint no-useless-concat, no-mixed-spaces-and-tabs 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak f3a8256f35 ESlint strict 8 years ago
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces 8 years ago
Peter Jaszkowiak 2e031f3759 ESlint comma-spacing 8 years ago
Peter Jaszkowiak 277a7fb8b4 ESlint key-spacing, no-trailing-spaces 8 years ago
Peter Jaszkowiak b09b3aef7f ESlint no-undef, remove global comments 8 years ago
Peter Jaszkowiak 2ba46808a1 ESlint one-var, fix comma-dangle 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
Peter Jaszkowiak aaacdb8413 Fix #5416, uploads path config setting
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
8 years ago
Peter Jaszkowiak 360a35d0a6 Resolve merge conflicts 8 years ago
Peter Jaszkowiak 553567c3b2 Refactor `nodebb`, move `build.js`, add `--dev` 8 years ago
Peter Jaszkowiak 001aa3d1a8 Fix tests, npm Windows fixes 8 years ago
Dominic Lennon 691b46d38b Fixing lint issues 8 years ago
Dominic Lennon f0add97cf9 Fixing tests 8 years ago
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=`
8 years ago
barisusakli 4b6e4f085d more tests
group cover upload tests
registration approval queue tests
8 years ago
barisusakli 49267d54b7 topics unread tests 8 years ago
barisusakli 2f92ce1527 check deps on test 8 years ago
barisusakli db14c29e41 socket.io/categories tests 8 years ago
barisusakli 9796f54580 analytics tests, reduce bcrypt rouds for tests 8 years ago
barisusakli e86db04631 #5211 run build step before tests
move build to its own file
8 years ago
Sergii Paryzhskyi e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
8 years ago
barisusakli 4a0f67afdc search tests
new method emptydb
use emptydb instead of flushdb, flushdb  removes indices for mongo which
breaks search tests
initialize meta.config properly in tests
enable nodebb-plugin-dbsearch for tests
8 years ago
barisusakli 1a63672e66 more test fixes 8 years ago
barisusakli 15d948894d fix typo 8 years ago
barisusakli 292055d322 show test db info before test 8 years ago
barisusakli b8a3ca98cb added callback to webserver.listen
wait for webserver to be ready to run tests
added topic restore test
added test to load topic via controller
8 years ago
barisusakli ae9b5654d3 set isPrimary and isCluster 8 years ago
barisusakli e462fadd94 init express/webserver for tests 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
HeeL 3fa1c1f927 Fix space-infix-ops linter rule 8 years ago
HeeL 4c6a75d85c Rename tests folder to test to follow standards 8 years ago