Commit Graph

142 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
a2aae7f805 shorter error message 2018-10-24 13:12:19 -04:00
Baris Usakli
82cda248f3 fix plugin requires 2018-10-23 15:55:39 -04:00
Baris Usakli
138154a71c move modules 2018-10-23 15:03:32 -04:00
Barış Soner Uşaklı
26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
2018-10-20 14:40:48 -04:00
Barış Soner Uşaklı
81341e86ee log fired hooks 2018-06-13 11:43:51 -04:00
Peter Jaszkowiak
70ff2d9b88 Support scoped theme packages 2018-06-11 10:10:16 -04:00
Barış Soner Uşaklı
b7f5995aab closes #6550 2018-06-03 14:54:25 -04:00
Barış Soner Uşaklı
0b0ce1df8a closes #6549 2018-06-03 14:46:23 -04:00
Barış Soner Uşaklı
25ebd306cc closes #6548 2018-06-03 14:37:23 -04:00
Barış Soner Uşaklı
2edd908aee closes #6547 2018-06-03 14:31:02 -04:00
Julian Lam
3b57d3eadb closes #6434 2018-04-05 14:35:49 -04:00
Barış Soner Uşaklı
15e9bbac92 closes #6311 2018-02-15 14:52:49 -05:00
Peter Jaszkowiak
be00a1c013 Support for using yarn instead of npm, include unread counts on cold load (#6179)
* Close #6178

* Support for package managers besides npm

- Also fixes issue where upgrade-plugins wouldn't work
2017-12-20 15:56:14 -05:00
Barış Soner Uşaklı
b55087dab7 closes #6166 2017-12-13 12:06:45 -05:00
Peter Jaszkowiak
c47c47f7e3 Use less memory to build translation files (#6070)
* Change languages build to use less memory

Add graceful-fs so no ned to worry about fs limits

* Specify encoding for fs.readFile

Use eachLimit since graceful-fs handles that now
2017-11-16 17:43:52 -05:00
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
2017-11-02 14:12:05 -04:00
Peter Jaszkowiak
e609e497b3 Provide more error information to logs
Provides full stack instead of just message
2017-11-01 18:59:48 -06:00
Baris Usakli
9101400264 closes #5961 2017-10-12 17:57:25 -04:00
Peter Jaszkowiak
da9da8190f Bump dependencies
Bumping eslint & configs meant making some linting fixes

For future reference, the `xmlhttprequest-ssl` library must be of equal versioning to the one in `engine.io-client`, otherwise it won't be deduped which causes the socket.io tests to fail
2017-10-02 09:24:27 -04:00
Julian Lam
4976d13013 removed console log 2017-09-08 11:25:45 -04:00
Julian Lam
f7d78771f8 fixes #5921 2017-09-08 11:12:48 -04:00
psychobunny
0e219a8c58 closes #5891 2017-08-21 17:48:58 -04:00
Baris Usakli
2053726c81 up spam-be-gone 2017-08-14 11:10:54 -04:00
Julian Lam
4f9cbabec3 fixes #5853 2017-08-03 12:06:15 -04:00
Julian Lam
29e7bdbc99 expose license info in plugin API for installed plugins 2017-08-03 12:06:15 -04:00
Julian Lam
f4fb9ee04b adding filter hooks for flag list and retrieval 2017-06-16 10:58:21 -04:00
Julian Lam
b4870654fc Merge pull request #5728 from NodeBB/patch-pitaj
Assorted Fixes
2017-06-02 10:14:50 -04:00
Julian Lam
29e868b002 closes #5585 2017-06-01 16:24:45 -04:00
Peter Jaszkowiak
34af855848 Fix npm@5 saving by default 2017-06-01 14:16:13 -06:00
Peter Jaszkowiak
3c2d4fe649 Switch from underscore to lodash 2017-05-27 14:51:45 -06:00
Barış Soner Uşaklı
f1b8492164 remove unnecessary checks 2017-05-27 00:30: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
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
Peter Jaszkowiak
b0645cc67d Plugin load refactor 2017-05-18 00:49:42 -06:00
Peter Jaszkowiak
759c3f5584 Fix soundpacks not working 2017-05-10 12:23:28 -06:00
barisusakli
d500e7f2aa add back action:plugin.install and action:plugin activate #5407 2017-04-19 13:23:53 -04:00
Julian Lam
45c479a101 Merge branch 'master' into develop 2017-02-28 12:07:56 -05:00
barisusakli
2e47cf4db3 intersititial test 2017-02-28 16:42:10 +03:00
Julian Lam
72e77772db Merge branch 'master' into develop 2017-02-24 12:46:40 -05:00
Peter Jaszkowiak
dd2b930824 Resolve merge conflicts, minify only .js files 2017-02-23 18:31:49 -07:00
Julian Lam
672d7352bb Merge branch 'master' into develop 2017-02-23 12:32:03 -05:00
Peter Jaszkowiak
b227297ef3 ESlint no-use-before-define 2017-02-18 18:55:33 -07:00
Peter Jaszkowiak
4bb49a7171 ESlint no-unused-vars 2017-02-18 15:05:36 -07:00
Peter Jaszkowiak
09e868ce5f ESlint no-useless-escape, no-else-return 2017-02-18 14:27:26 -07:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
1493afee2a ESlint indent 2017-02-18 02:38:03 -07:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
feb8405f95 ESlint eol-last 2017-02-18 02:30:48 -07:00
Peter Jaszkowiak
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
2ba46808a1 ESlint one-var, fix comma-dangle 2017-02-17 20:20:42 -07:00