Commit Graph

23553 Commits

Author SHA1 Message Date
Julian Lam
6e156daaf6 fix: don't load setup.json into nconf if setup.json doesn't exist 2022-02-17 14:07:51 -05:00
renovate[bot]
0e30362b2c fix(deps): update dependency nodebb-plugin-dbsearch to v5.1.2 (#10313)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-17 13:19:52 -05:00
Julian Lam
4164898d85 fix: regression caused by 94b79ce402
`./nodebb setup` was no longer able to be called without arguments or env vars
2022-02-17 13:18:17 -05:00
Barış Soner Uşaklı
3acd2ac850 refactor: wrap around if at end
remove debug log
dont focus input on mobile
2022-02-17 11:19:43 -05:00
dependabot[bot]
5321ba4d71 chore(deps): bump express from 4.17.2 to 4.17.3 in /install
Bumps [express](https://github.com/expressjs/express) from 4.17.2 to 4.17.3.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.2...4.17.3)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-17 10:39:43 -05:00
Misty (Bot)
d12c66c8be Latest translations and fallbacks 2022-02-17 04:06:08 -05:00
Barış Soner Uşaklı
91354a281a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-02-16 22:12:02 -05:00
Barış Soner Uşaklı
c23b208984 chore: up persona 2022-02-16 22:11:53 -05:00
Misty (Bot)
dc0f9a73c0 chore(i18n): fallback strings for new resources: nodebb.topic 2022-02-16 22:09:35 -05:00
Barış Soner Uşaklı
949611960a refactor: change lang string 2022-02-16 22:08:54 -05:00
Barış Soner Uşaklı
b517b376ac feat: ability to go through your posts in a topic
because I am 👴 useful for large topics
2022-02-16 22:07:52 -05:00
renovate[bot]
5666c103cf fix(deps): update dependency nodebb-widget-essentials to v5.0.9 (#10307)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 20:50:00 -05:00
renovate[bot]
636f1baf0c fix(deps): update dependency nodebb-widget-essentials to v5.0.8 (#10306)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 18:51:10 -05:00
Misty (Bot)
09cb11c82a chore: incrementing version number - v1.19.3
(cherry picked from commit 7388f111b7)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2022-02-16 19:20:40 +00:00
Misty (Bot)
0b48ec5400 chore: update changelog for v1.19.3 2022-02-16 19:20:40 +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