Commit Graph

29665 Commits

Author SHA1 Message Date
Julian Lam
8ba9e67cbd feat: detect alternative package managers based on lockfile
If a package manager is not explicitly set in config.json or passed-in via argv/env, NodeBB will now check for the presence of alternative package managers' lockfiles and adjust the package manager to-be-used accordingly. If the standard npm lockfile exists, npm will always be used.
2022-02-02 17:15:44 -05:00
Barış Soner Uşaklı
d134567dab Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-02-02 16:39:21 -05:00
Misty (Bot)
70eeb20474 chore(i18n): fallback strings for new resources: nodebb.users 2022-02-02 21:39:12 +00:00
Barış Soner Uşaklı
78db61cf75 chore: persona 2022-02-02 16:39:11 -05:00
Barış Soner Uşaklı
766ad6b774 feat: new language key for user search in chat 2022-02-02 16:38:31 -05:00
Renovate Bot
2c605d1c60 fix(deps): update dependency clipboard to v2.0.10 2022-02-02 13:32:45 -05:00
Julian Lam
9a1690857d refactor: updated package-install.js exports style, new exported method 'getPackageManager' for use in cases where nconf is unreliable, fix bug where nconf was not correctly set up in cli tools, proper installation of dev dependencies based on global env value 2022-02-02 11:47:35 -05:00
Misty (Bot)
c526a34605 Latest translations and fallbacks 2022-02-02 09:05:08 +00:00
Julian Lam
c869d7dbb3 docs: some tweaks to cli help 2022-02-01 21:51:16 -05:00
Julian Lam
c3d926ff7e fix: a missed invocation of colors 2022-02-01 21:48:22 -05:00
Julian Lam
cf8f62aed9 feat: remove colors in favour of chalk (#10142)
* feat: remove colors in favour of chalk

* fix: bad conversion from colors to chalk in src/cli/index.js

* fix: padWidth calculation to account for control characters

* fix: termWidth calculation, but swapped one problem for another

* fix: formatItem, implement my own padRight to take control characters into account
2022-02-01 21:43:09 -05:00
Barış Soner Uşaklı
c7a5643932 chore: up deps 2022-02-01 20:07:10 -05:00
Barış Soner Uşaklı
cf5c096806 feat: add upload helper module for drag&drop, paste, closes #6388
fix chat input not getting focused
2022-02-01 20:03:15 -05:00
Renovate Bot
6ba25557b3 chore(deps): update dependency lint-staged to v12.3.3 2022-02-02 00:17:02 +00:00
Renovate Bot
1bf938da1c fix(deps): update dependency sitemap to v7.1.1 2022-02-01 10:29:19 -05:00
Renovate Bot
b0dd68bbae fix(deps): update dependency winston to v3.5.1 2022-02-01 10:29:01 -05:00
Renovate Bot
e7ba24c55a fix(deps): pin dependency punycode to 2.1.1 2022-02-01 10:28:49 -05:00
Julian Lam
452f29c0ff chore: add punycode dependency 2022-02-01 10:26:27 -05:00
Julian Lam
fa7dcdb968 fix: proactively guard against homograph characters in website values 2022-02-01 10:25:36 -05:00
Renovate Bot
322f103340 fix(deps): update dependency postcss to v8.4.6 2022-02-01 09:45:32 -05:00
Barış Soner Uşaklı
d50d4a9ecd chore: up persona 2022-01-31 18:43:00 -05:00
Barış Soner Uşaklı
28ab4edeb7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-01-31 17:40:57 -05:00
Barış Soner Uşaklı
458606bc9a chore: up persona 2022-01-31 17:40:55 -05:00
Renovate Bot
7d5080cd6d fix(deps): update dependency nodebb-plugin-markdown to v9 2022-01-31 17:31:52 -05:00
Barış Soner Uşaklı
cfe53305da chore: up persona 2022-01-31 17:10:45 -05:00
Barış Soner Uşaklı
f29bed27c0 chore: up persona 2022-01-31 17:02:03 -05:00
Misty (Bot)
4d1200d9aa Latest translations and fallbacks 2022-01-31 09:06:07 +00:00
Barış Soner Uşaklı
1d01741ae7 fix: #10208, don't use leading slash in directory names
change to use decodeURIComponent in utils.params
2022-01-30 18:51:28 -05:00
Misty (Bot)
40a0e6dd0b Latest translations and fallbacks 2022-01-30 09:05:49 +00:00
Renovate Bot
153693e0a9 chore(deps): update dependency eslint to v8.8.0 2022-01-29 03:46:40 +00:00
Barış Soner Uşaklı
b4a4e60e6b chore: up packages 2022-01-28 20:25:46 -05:00
Barış Soner Uşaklı
93d18383ee fix: don't crash if quick search doesn't return posts 2022-01-28 20:10:21 -05:00
Julian Lam
fc2c755c64 fix: properly unregister hooks in emailer tests 2022-01-28 15:46:28 -05:00
Julian Lam
dee9cca3c8 fix: email ban tests 2022-01-28 15:41:27 -05:00
Julian Lam
e25c0313d1 Revert "refactor: emailer.send and emailer.sendToEmail returns Boolean based on message being successfully sent"
This reverts commit f0e32ff182.
2022-01-28 15:41:27 -05:00
Julian Lam
165a1d8b76 Revert "fix: update usage of emailer.send to not catch (as errors are no longer thrown), email error throttler"
This reverts commit d4e5259fcf.
2022-01-28 15:41:27 -05:00
Misty (Bot)
e9588ca7b7 chore(i18n): fallback strings for new resources: nodebb.admin-settings-email 2022-01-28 20:17:28 +00:00
Julian Lam
d4e5259fcf fix: update usage of emailer.send to not catch (as errors are no longer thrown), email error throttler 2022-01-28 15:16:41 -05:00
Julian Lam
b3f7b742c1 fix: derp 2022-01-28 15:16:41 -05:00
Julian Lam
ea27eaf166 feat: no more sending emails to banned users, + feature flag 2022-01-28 15:16:41 -05:00
Julian Lam
f0e32ff182 refactor: emailer.send and emailer.sendToEmail returns Boolean based on message being successfully sent
Note that of course this doesn't mean the message was _delivered_, just sent off.

This will stop issues where emailer errors crash NodeBB
2022-01-28 15:16:41 -05:00
Barış Soner Uşaklı
680e36da67 test: fix derp 2022-01-28 14:58:32 -05:00
Barış Soner Uşaklı
a214f9a61b test: up acp plugin page timeout 2022-01-28 14:40:57 -05:00
dependabot[bot]
2db54e67c3 chore(deps): bump nodebb-theme-persona in /install (#10199)
Bumps [nodebb-theme-persona](https://github.com/NodeBB/nodebb-theme-persona) from 11.3.19 to 11.3.20.
- [Release notes](https://github.com/NodeBB/nodebb-theme-persona/releases)
- [Commits](https://github.com/NodeBB/nodebb-theme-persona/compare/v11.3.19...v11.3.20)

---
updated-dependencies:
- dependency-name: nodebb-theme-persona
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 14:22:19 -05:00
renovate[bot]
c50f6512a9 fix(deps): update dependency ace-builds to v1.4.14 (#10200)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-28 14:21:45 -05:00
renovate[bot]
a7f142bebb fix(deps): update dependency winston to v3.5.0 (#10202)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-28 14:21:38 -05:00
renovate[bot]
c6164e487d fix(deps): update dependency clipboard to v2.0.9 (#10203)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-28 14:21:28 -05:00
Julian Lam
89b559a2a3 refactor: sorted-list .get() to be async fn
+ plugin hook `filter:settings.sorted-list.load` to allow modification of params prior to template parsing
2022-01-28 10:07:54 -05:00
Julian Lam
578145acd6 fix: bug where page wouldn't complete loading if data.scripts was emptied 2022-01-27 21:09:49 -05:00
Barış Soner Uşaklı
2a89ad8288 fix: use escaped group names in invite modal 2022-01-27 16:00:01 -05:00