Commit Graph

23548 Commits

Author SHA1 Message Date
renovate[bot]
673fcfb052 fix(deps): update dependency nodebb-plugin-mentions to v3.0.6 (#10328)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-23 15:37:18 -05:00
Julian Lam
3f13a69298 Re-introduce lodash into src/package-install.js (#10315)
* test: add failing test for if package.json is non-existant, fix tests' beforeEach method

* Revert "fix: #10289, remove lodash dependency in src/cli/package-install.js"

This reverts commit 81fa2e22bc.

* fix: regression caused by 94b79ce402

`./nodebb setup` was no longer able to be called without arguments or env vars

* fix: .updatePackageFile() throwing if no package.json

* fix: removing unneeded code in src/cli/index.js that seemed to be used to handle cases where package.json was missing (initial install)

... However, as .updatePackageFile() now handled cases where there is no package.json, it should be ok to remove this code

* fix: handle missing package.json or node_modules/
v1.19.3
2022-02-18 10:13:11 -05:00
Julian Lam
b60174f51e fix: regression caused by 94b79ce402
`./nodebb setup` was no longer able to be called without arguments or env vars
2022-02-18 10:12:59 -05:00
Misty (Bot)
7388f111b7 chore: incrementing version number - v1.19.3 2022-02-16 19:20:39 +00:00
Misty (Bot)
4bd559deba Merge commit 'e9e48a756fad301e8a6729d3e74852a644228724' into v1.19.x 2022-02-16 19:20:36 +00:00
Barış Soner Uşaklı
e9e48a756f feat: delete diffs on post purge, closes #10291 2022-02-16 13:23:27 -05:00
Barış Soner Uşaklı
503e27f709 fix: #10302, fix regression 2022-02-16 11:37:50 -05:00
Barış Soner Uşaklı
9205169f00 fix: one last try 2022-02-15 20:51:52 -05:00
Barış Soner Uşaklı
2f64d63369 fix: doggy.gif 2022-02-15 20:22:22 -05:00
Barış Soner Uşaklı
cfdfbf3280 fix: one more fix 2022-02-15 20:21:21 -05:00
Barış Soner Uşaklı
770fcd9ea8 fix: dupe key errors 2022-02-15 20:12:42 -05:00
renovate[bot]
b47ca86db5 fix(deps): update dependency nodebb-plugin-emoji to v3.5.16 (#10297)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 19:58:49 -05:00
Barış Soner Uşaklı
dbf7a45828 fix: #10292, delete missing fields 2022-02-15 19:33:52 -05:00
Barış Soner Uşaklı
58b5781cea feat: closes #10296
asset_base_url in nconf
keep assetBaseUrl in config for backwards compat
2022-02-15 19:22:34 -05:00
renovate[bot]
5b0d4a8ec9 fix(deps): update dependency nodebb-plugin-markdown to v9.0.7 (#10293)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 17:20:39 -05:00
renovate[bot]
7af057fa51 fix(deps): update dependency nodebb-plugin-emoji to v3.5.14 (#10295)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 17:16:17 -05:00
renovate[bot]
55a9818389 fix(deps): update dependency nodebb-plugin-mentions to v3.0.5 (#10294)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 17:14:15 -05:00
ppenguin
94b79ce402 Allow NodeBB setup with env vars (#9850)
* initial try [WIP]

* typo; add test start script; initial Dockerfile mod with integrated setup [WIP]

* minor fixes

* add some winston debug...

* typos

* fix pass confirm setup

* more fixes

* fix entrypoint

* cleanup

* remove echo sensitive setupVal

* remove obsolete code and comments

* fix linting errors

* Merge branch 'additional-fixes'

* Merge branch 'pitaj-suggested-fixes'

* Merge branch 'pitaj-fixes2'

* merge checkSetup functions (env vars and flags)

* comment (lint)

* remove tab

* finalise PR; tested ok locally (setup json overrides env vars)
2022-02-15 13:13:43 -05:00
Misty (Bot)
8d85dfe3f5 Latest translations and fallbacks 2022-02-15 09:06:36 +00:00
Barış Soner Uşaklı
946d351f3a refactor: lazy load slugify 2022-02-14 21:50:30 -05:00
Misty (Bot)
4043f1791d chore(i18n): fallback strings for new resources: nodebb.admin-settings-uploads 2022-02-14 20:02:49 +00:00
Julian Lam
fb78570c13 test: fix topic thumb tests and topic thumbs to work properly with post upload assoc. 2022-02-14 15:02:07 -05:00
Julian Lam
d5ed8736aa feat: deleting a user upload dissociates from posts, and vice versa 2022-02-14 15:02:07 -05:00
Julian Lam
8c2752bab1 test: user uploads.js tests 2022-02-14 15:02:07 -05:00
Julian Lam
11275d6809 test: testing user upload methods, already fixed one bug 2022-02-14 15:02:07 -05:00
Julian Lam
5d7e1ebc68 style: linting errors 2022-02-14 15:02:07 -05:00
Julian Lam
b9edee143e fix: local deleteUploads() method in src/user/delete.js to call User.deleteUpload() 2022-02-14 15:02:07 -05:00
Julian Lam
7ef9c7d220 refactor: .deleteUpload() to accept array of paths 2022-02-14 15:02:07 -05:00
Julian Lam
ea36016d87 refactor: fix user uploads paths, and associate uid with user uploads 2022-02-14 15:02:07 -05:00
Julian Lam
6489e9fd9e refactor: change the post uploads' hash seeds to have the files/ prefix 2022-02-14 15:02:07 -05:00
Julian Lam
84dfda59e6 fix: #10144, automatically delete uploads from disk on post purge, ACP option to keep uploads on disk if desired 2022-02-14 15:02:07 -05:00
Julian Lam
aad0c5fd51 refactor: abstract some common code out to local utility methods 2022-02-14 15:02:07 -05:00
Julian Lam
d92da828a3 refactor: move post upload tests to its own file 2022-02-14 15:02:07 -05:00
Julian Lam
9aa3e442d0 fix: four-space indents in package.json 2022-02-14 14:40:34 -05:00
Julian Lam
81fa2e22bc fix: #10289, remove lodash dependency in src/cli/package-install.js 2022-02-14 14:36:50 -05:00
Misty (Bot)
a1593e35c0 Latest translations and fallbacks 2022-02-14 09:05:47 +00:00
Renovate Bot
9577ef8d7d chore(deps): update dependency lint-staged to v12.3.4 2022-02-13 19:58:59 +00:00
Renovate Bot
2290cee5ed chore(deps): update commitlint monorepo to v16.2.1 2022-02-13 11:52:13 +00:00
Misty (Bot)
02ebcb7131 Latest translations and fallbacks 2022-02-13 09:05:53 +00:00
renovate[bot]
22da7a10cc fix(deps): update dependency winston to v3.6.0 (#10285)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 18:25:23 -05:00
Misty (Bot)
f62e9563c4 Latest translations and fallbacks 2022-02-12 09:05:55 +00:00
Renovate Bot
763cd193c9 chore(deps): update dependency eslint to v8.9.0 2022-02-12 04:20:36 +00:00
Barış Soner Uşaklı
e5688d2c0d Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-02-11 14:49:03 -05:00
Barış Soner Uşaklı
398d25c210 feat: #10276, dont change/revert theme if its current 2022-02-11 14:49:01 -05:00
Renovate Bot
3225a1affc fix(deps): update dependency nodebb-plugin-markdown to v9.0.6 2022-02-11 14:14:37 -05:00
Julian Lam
e9cb1452f9 chore: remove punycode dep 2022-02-11 14:12:52 -05:00
Julian Lam
6aae2e5d89 Revert "fix: proactively guard against homograph characters in website values"
This reverts commit fa7dcdb968.
2022-02-11 14:12:22 -05:00
renovate[bot]
3dc108d316 fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.7.13 (#10280)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-11 12:12:33 -05:00
renovate[bot]
2c0b63227e fix(deps): update dependency nodebb-plugin-emoji to v3.5.12 (#10279)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-11 12:12:27 -05:00
Barış Soner Uşaklı
489c0d3015 refactor: remove extra zset remove, closes #10277 2022-02-11 10:43:40 -05:00