Compare commits

...

4709 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
3ef045f7d1 test: lower dep 2023-05-22 12:28:26 -04:00
Barış Soner Uşaklı
ea7b68db71 test: cswsh 2023-05-22 12:19:14 -04:00
Barış Soner Uşaklı
b7e35408f4 change error 2023-05-22 12:09:00 -04:00
Barış Soner Uşaklı
3066519028 add await 2023-05-22 12:02:34 -04:00
Barış Soner Uşaklı
7ab05f5dfd chore: up emoji 2023-05-22 11:49:55 -04:00
Barış Soner Uşaklı
3cb4edf19e test: log socket.io error
dont call callback twice
2023-05-22 10:20:56 -04:00
Barış Soner Uşaklı
62ed6f3d08 Merge branch 'master' into develop 2023-05-22 09:04:07 -04:00
Barış Soner Uşaklı
82e26829c5 fix: closes #11620, fix copy code when line numbers are enabled 2023-05-22 09:03:17 -04:00
renovate[bot]
70bb50cd36 chore(deps): update dependency eslint to v8.41.0 (#11616)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-21 20:43:02 -04:00
Barış Soner Uşaklı
1bc24b70a8 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-05-21 19:09:18 -04:00
Barış Soner Uşaklı
4388732825 chore: up harmony 2023-05-21 19:09:13 -04:00
Misty Release Bot
1ffc9221b6 chore(i18n): fallback strings for new resources: nodebb.users 2023-05-21 23:09:09 +00:00
Barış Soner Uşaklı
b0c87e0e78 change lang key 2023-05-21 19:08:44 -04:00
Barış Soner Uşaklı
e0300ab7b4 fix: add loadingMore flag to chat infinite load 2023-05-21 18:58:45 -04:00
Barış Soner Uşaklı
12e75ff418 test: fix another test 2023-05-21 17:44:27 -04:00
Barış Soner Uşaklı
9a3c62f755 chore: up emoji 2023-05-21 17:43:18 -04:00
Barış Soner Uşaklı
c201bf4507 test: fix test 2023-05-21 17:02:59 -04:00
Barış Soner Uşaklı
783fbfd838 chore: up emoji 2023-05-21 16:16:03 -04:00
Barış Soner Uşaklı
7a3468a1f3 chore: up emoji 2023-05-21 16:08:34 -04:00
Barış Soner Uşaklı
933f5a903d chore: up emoji 2023-05-21 15:57:11 -04:00
Barış Soner Uşaklı
ed15cbb06a feat: translate bodyShort
turns [[notifications:upvoted_your_post_in, test1, Vote *for* NodeBB :ballot_box_with_ballot:]]   into <strong>test1</strong> has upvoted your post in <strong>Vote *for* NodeBB :ballot_box_with_ballot:</strong>. so emoji plugin can parse emojis and they don't get escaped by translator client side
2023-05-21 15:54:18 -04:00
Barış Soner Uşaklı
cdeaef6b7c fix: #11619, fix selector 2023-05-21 15:29:45 -04:00
Barış Soner Uşaklı
4b40b44c67 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-05-21 11:49:05 -04:00
Barış Soner Uşaklı
d586b8b6b5 Merge branch 'master' into develop 2023-05-21 11:49:04 -04:00
Misty Release Bot
5ab352118a Latest translations and fallbacks 2023-05-21 09:18:36 +00:00
Barış Soner Uşaklı
8cb6ebb90b fix: logins dashboard user images 2023-05-20 21:58:36 -04:00
Barış Soner Uşaklı
61f4202ed6 chore: up harmony 2023-05-20 20:55:07 -04:00
Barış Soner Uşaklı
dc0ab46e71 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-05-20 15:02:38 -04:00
Barış Soner Uşaklı
5d089363e1 chore: up themes 2023-05-20 15:02:33 -04:00
Misty Release Bot
54a683bbd7 chore(i18n): fallback strings for new resources: nodebb.modules 2023-05-20 18:55:33 +00:00
Barış Soner Uşaklı
ca6f43c5e7 chore: scroll up alert 2023-05-20 14:55:08 -04:00
Barış Soner Uşaklı
c48f15c50a chore: harmony 2023-05-20 14:35:45 -04:00
Barış Soner Uşaklı
b1fbc1945c refactor: use app.parseAndTranslate 2023-05-20 14:35:05 -04:00
Barış Soner Uşaklı
14c93cd503 chore: up themes 2023-05-20 14:25:55 -04:00
Barış Soner Uşaklı
6188d8be3c chore: up harmony 2023-05-19 20:42:56 -04:00
Barış Soner Uşaklı
c52916de8e fix: text area height calculation in chats 2023-05-19 20:42:39 -04:00
Barış Soner Uşaklı
9e416d7fda chore: up harmony 2023-05-19 09:35:20 -04:00
Misty Release Bot
b67a88cc6c Latest translations and fallbacks 2023-05-19 09:18:49 +00:00
Barış Soner Uşaklı
74174414ec chore: fix persona 2023-05-18 22:28:06 -04:00
Barış Soner Uşaklı
fa7789ec45 Merge branch 'master' into develop 2023-05-18 22:27:32 -04:00
renovate[bot]
f0336af4f9 fix(deps): update dependency nodebb-theme-peace to v2.0.25 (#11615)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-18 22:26:47 -04:00
Barış Soner Uşaklı
97ff1f1109 chore: up themes 2023-05-18 21:16:47 -04:00
Misty Release Bot
633dc2ded8 chore: update changelog for v3.1.4 2023-05-18 22:28:23 +00:00
Misty Release Bot
a34bbeacd5 chore: incrementing version number - v3.1.4 2023-05-18 22:28:23 +00:00
Barış Soner Uşaklı
469aa5511f fix: textarea on error 2023-05-18 18:12:11 -04:00
Barış Soner Uşaklı
c77b622453 fix: textarea on error 2023-05-18 18:12:02 -04:00
Barış Soner Uşaklı
de2f76bbd3 Merge branch 'master' into develop 2023-05-18 18:08:31 -04:00
Barış Soner Uşaklı
d8d486a633 fix: closes #11613, closes #11614
don't add input listener on every send message
2023-05-18 18:08:23 -04:00
Barış Soner Uşaklı
05b58c7047 refactor: remove unused require 2023-05-18 17:58:51 -04:00
Barış Soner Uşaklı
ca2be0e869 refactor: remove log 2023-05-18 14:26:13 -04:00
Barış Soner Uşaklı
8f6a68ca09 fix: closes #11612
fix selectors
2023-05-18 14:20:39 -04:00
Barış Soner Uşaklı
24bd9d4e88 https://github.com/NodeBB/NodeBB/issues/11612
fix post content and title edit
2023-05-18 14:20:30 -04:00
Barış Soner Uşaklı
3cef2535cc fix: closes #11612
fix selectors
2023-05-18 14:20:09 -04:00
Barış Soner Uşaklı
7c5fdfa50b Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-05-18 14:12:38 -04:00
Barış Soner Uşaklı
cf7d933439 https://github.com/NodeBB/NodeBB/issues/11612
fix post content and title edit
2023-05-18 14:12:33 -04:00
renovate[bot]
a4ae2e08d8 fix(deps): update dependency webpack to v5.83.1 (#11608)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-18 13:47:19 -04:00
renovate[bot]
d1ccfac159 fix(deps): update dependency rimraf to v5.0.1 (#11610)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-18 13:47:11 -04:00
renovate[bot]
af00ebbe03 fix(deps): update dependency terser-webpack-plugin to v5.3.9 (#11611)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-18 13:47:03 -04:00
Barış Soner Uşaklı
78c2e29cf2 chore: up persona 2023-05-18 13:46:43 -04:00
Barış Soner Uşaklı
5daaa5ea78 fix: edge case in category filter
selecting a category and then clicking on all categories was breaking selection icons
2023-05-18 13:44:59 -04:00
Barış Soner Uşaklı
160b891979 add userFilter-placeholders to core 2023-05-18 13:13:36 -04:00
Barış Soner Uşaklı
0da8b50624 chores: up peace 2023-05-18 12:41:44 -04:00
Barış Soner Uşaklı
43ea15ec71 Merge branch 'master' into develop 2023-05-18 10:30:41 -04:00
Barış Soner Uşaklı
29303f4a13 fix: #11572
add width to emojis
2023-05-18 10:30:37 -04:00
Barış Soner Uşaklı
51bf5e9512 chore: up markdown 2023-05-18 10:30:28 -04:00
Barış Soner Uşaklı
2910cb2b26 fix: #11572
add width to emojis
2023-05-18 10:29:04 -04:00
Misty Release Bot
b19fee5931 Latest translations and fallbacks 2023-05-18 09:18:43 +00:00
Barış Soner Uşaklı
7a147fb504 Merge branch 'master' into develop 2023-05-17 18:21:41 -04:00
Barış Soner Uşaklı
09fbe5651f Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-05-17 18:19:41 -04:00
Barış Soner Uşaklı
7f5ec0ef90 chore: up markdown 2023-05-17 18:19:40 -04:00
Misty Release Bot
fa3d119629 Latest translations and fallbacks 2023-05-17 09:19:37 +00:00
Barış Soner Uşaklı
cdfc1bfe5e chore: up themes 2023-05-16 20:56:50 -04:00
renovate[bot]
f1e2342d67 chore(deps): update redis docker tag to v7 (#10830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 15:42:37 -04:00
renovate[bot]
d26c9bf83f fix(deps): update dependency ace-builds to v1.21.1 (#11607)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 15:42:02 -04:00
renovate[bot]
10ed33f1b6 fix(deps): update dependency pg-cursor to v2.10.0 (#11605)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 13:46:10 -04:00
Barış Soner Uşaklı
adf14ea57c fix: browser title if options.title is undefined 2023-05-16 13:05:03 -04:00
Barış Soner Uşaklı
826cc51410 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-05-16 10:49:24 -04:00
Barış Soner Uşaklı
fd80b612d2 chore: up harmony 2023-05-16 10:49:18 -04:00
Misty Release Bot
0aef9a9118 chore(i18n): fallback strings for new resources: nodebb.themes-harmony 2023-05-16 14:48:42 +00:00
Barış Soner Uşaklı
db9b807c86 feat: add lang string and drag fix 2023-05-16 10:48:15 -04:00
Barış Soner Uşaklı
4833a2b90c feat: center chat modal attr 2023-05-16 10:30:56 -04:00
Misty Release Bot
65ee7d856f Latest translations and fallbacks 2023-05-16 09:19:23 +00:00
renovate[bot]
49b3badbc5 fix(deps): update dependency @socket.io/redis-adapter to v8.2.1 (#11602)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-15 14:00:44 -04:00
renovate[bot]
3d9f6f41ec fix(deps): update dependency ace-builds to v1.21.0 (#11603)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-15 14:00:24 -04:00
renovate[bot]
9840289c24 fix(deps): update dependency pg to v8.11.0 (#11604)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-15 14:00:05 -04:00
Misty Release Bot
9924fde6a2 chore: update changelog for v3.1.3 2023-05-15 16:44:03 +00:00
Misty Release Bot
4355b34d0e chore: incrementing version number - v3.1.3 2023-05-15 16:44:02 +00:00
Barış Soner Uşaklı
51096ad234 poc: use csrf_token in ws handshake (#11573) 2023-05-15 11:15:53 -04:00
Barış Soner Uşaklı
63b859f053 poc: use csrf_token in ws handshake (#11573) 2023-05-15 11:12:46 -04:00
Misty Release Bot
180326a420 Latest translations and fallbacks 2023-05-14 09:18:38 +00:00
Barış Soner Uşaklı
efea33d906 Merge branch 'master' into develop 2023-05-13 21:30:37 -04:00
Barış Soner Uşaklı
d55cd464a0 fix: #11601, dont trigger edit if chat input has text
pressing escape will cancel edit
2023-05-13 21:26:34 -04:00
Barış Soner Uşaklı
8eed5a8413 fix: #11600, prevent helmet crash on startup 2023-05-13 15:16:36 -04:00
Opliko
412a1ecf93 ci: use GitHub Actions expression instead of handlebars template (#11599)
Apparently Docker Meta Actions overrides, not merely adds, handlebars helpers. So `#if` just doesn't exist and errors out...

As such here is an equivalent using GitHub Actions expression (and this time I tested that it works...)
2023-05-13 14:36:59 -04:00
renovate[bot]
18606f9c4d fix(deps): update dependency semver to v7.5.1 (#11597)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-13 13:05:04 -04:00
renovate[bot]
28fb4e10ae fix(deps): update dependency esbuild to v0.17.19 (#11598)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-13 13:04:38 -04:00
Misty Release Bot
f41151b5d2 Latest translations and fallbacks 2023-05-13 09:18:41 +00:00
Barış Soner Uşaklı
85d104c375 fix: #11594
set the order of theme to same as the on it's replacing
2023-05-12 17:13:12 -04:00
Barış Soner Uşaklı
77528b984a add btn-group 2023-05-12 17:12:34 -04:00
Opliko
cd7fdfcefd ci: tag with branch name if not default branch
This should prevent failed runs like https://github.com/NodeBB/NodeBB/actions/runs/4959641483
2023-05-12 12:34:12 -04:00
Barış Soner Uşaklı
d6ead3d4c4 fix: lang strings 2023-05-12 12:18:11 -04:00
Barış Soner Uşaklı
031ffe491e test: add back missing tests 2023-05-12 10:22:13 -04:00
Misty Release Bot
5b3987828b chore: update changelog for v3.1.2 2023-05-12 13:55:31 +00:00
Misty Release Bot
8d8d102b95 chore: incrementing version number - v3.1.2 2023-05-12 13:55:30 +00:00
Barış Soner Uşaklı
bd80d36e0d Merge branch 'master' into develop 2023-05-12 09:48:25 -04:00
renovate[bot]
88e891fcc6 fix(deps): update dependency mongodb to v5.5.0 (#11593)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 09:43:08 -04:00
Barış Soner Uşaklı
28740de766 fix: #11595, use default value 2023-05-12 09:40:39 -04:00
Misty Release Bot
2f95b698af Latest translations and fallbacks 2023-05-12 09:19:08 +00:00
Barış Soner Uşaklı
11d315df50 fix: #11594
set the order of theme to same as the on it's replacing
2023-05-11 22:39:37 -04:00
Barış Soner Uşaklı
a75fd636ad test: add missing tests 2023-05-11 20:21:57 -04:00
Barış Soner Uşaklı
aff6d20f9f test: fix digest test 2023-05-11 19:01:28 -04:00
Barış Soner Uşaklı
4bfebc8123 test: add email 2023-05-11 18:45:44 -04:00
Barış Soner Uşaklı
1f03d41471 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-05-11 18:44:27 -04:00
Barış Soner Uşaklı
61563b01df test: digest 2023-05-11 18:44:22 -04:00
renovate[bot]
3a883e3f70 fix(deps): update dependency nodemailer to v6.9.2 (#11590)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 16:37:53 -04:00
renovate[bot]
97ec0c7519 fix(deps): update dependency connect-redis to v7.1.0 (#11592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 16:37:45 -04:00
renovate[bot]
12c0313057 chore(deps): update dependency jquery to v3.7.0 (#11591)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 16:37:29 -04:00
Misty Release Bot
ccd6f48c02 chore: update changelog for v3.1.1 2023-05-11 19:48:56 +00:00
Misty Release Bot
a454af4d4c chore: incrementing version number - v3.1.1 2023-05-11 19:48:56 +00:00
Julian Lam
3251bca24b fix: failing test case 2023-05-11 15:25:45 -04:00
Misty Release Bot
78bc71aa1b chore(i18n): fallback strings for new resources: nodebb.admin-settings-api 2023-05-11 19:23:15 +00:00
Julian Lam
6765d053ce test: additional tests for .roll() 2023-05-11 15:22:50 -04:00
Julian Lam
3e6dd78d86 fix: relocated upgrade script, removed outdated code that called core.api for tokens 2023-05-11 15:22:50 -04:00
Julian Lam
f42b636adc test: fix authentication tests to use new token saving utility functions 2023-05-11 15:22:50 -04:00
Julian Lam
4f524e9f94 feat: token rolling API for admins
+ tests
2023-05-11 15:22:50 -04:00
Julian Lam
ce23caf7e6 feat: token editing and deletion 2023-05-11 15:22:50 -04:00
Julian Lam
e4888dea17 feat: api token migration, new ACP tokens list, token creation 2023-05-11 15:22:50 -04:00
Julian Lam
7b8bffd763 feat: internal utility functions for token management (creation, deletion, etc)
Including tests
2023-05-11 15:22:50 -04:00
Julian Lam
686ecea123 fix: #11589, regression where a user could not confirm their email if requireEmailAddress was enabled 2023-05-11 11:34:24 -04:00
Barış Soner Uşaklı
e0149462b3 refactor: remove return 2023-05-11 10:16:28 -04:00
Misty Release Bot
c28cf404d1 Latest translations and fallbacks 2023-05-11 09:19:10 +00:00
Barış Soner Uşaklı
ad1ae29105 dep: closes #11577
Breaking: Cross-Origin-Embedder-Policy middleware is now disabled by default. See #​411
2023-05-10 17:42:56 -04:00
renovate[bot]
90e53177fc fix(deps): update dependency webpack to v5.82.1 (#11585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-10 17:38:34 -04:00
renovate[bot]
326d820fd3 fix(deps): update dependency ace-builds to v1.20.0 (#11587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-10 17:38:25 -04:00
Misty Release Bot
77212c4219 Latest translations and fallbacks 2023-05-10 16:37:55 -04:00
Misty Release Bot
b0eb3095fa Latest translations and fallbacks 2023-05-10 18:19:40 +00:00
Julian Lam
b259a00033 docs: updating changelog to move line re: breaking change down to new features
The initial commit for the change had the socket methods removed,
causing it to become a breaking change. Those methods have been restored,
but are deprecated, and now slated for removal in an as-yet-unannounced v4.
2023-05-10 13:20:16 -04:00
Misty Release Bot
2c515dc371 chore: update changelog for v3.1.0 2023-05-10 17:17:59 +00:00
Misty Release Bot
ca14404c45 chore: incrementing version number - v3.1.0 2023-05-10 17:17:59 +00:00
Barış Soner Uşaklı
cd8fa55e05 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-05-10 12:16:35 -04:00
Barış Soner Uşaklı
14a5c1aa46 chore: up themes 2023-05-10 12:16:34 -04:00
Julian Lam
e94c58becd Merge remote-tracking branch 'origin/master' into develop 2023-05-10 12:12:19 -04:00
Misty Release Bot
48a4fd50e8 chore(i18n): fallback strings for new resources: nodebb.themes-harmony, nodebb.themes-persona 2023-05-10 16:10:01 +00:00
Julian Lam
529f2d1730 feat: update transifex config with new language strings 2023-05-10 12:07:03 -04:00
Barış Soner Uşaklı
f6b2d3768c feat: #11584
add harmony, persona language files
2023-05-10 11:12:38 -04:00
Barış Soner Uşaklı
f9997b2768 chore: up harmony 2023-05-10 07:48:53 -04:00
Barış Soner Uşaklı
8a1ec4d645 fix: reset password
https://community.nodebb.org/post/93016
2023-05-10 07:41:53 -04:00
Barış Soner Uşaklı
2b259b2065 chore: up dbsearch 2023-05-09 19:41:47 -04:00
Barış Soner Uşaklı
9064920f49 chore: up harmony 2023-05-09 16:39:32 -04:00
Barış Soner Uşaklı
622d75d724 chore: up harmony 2023-05-09 13:25:17 -04:00
Barış Soner Uşaklı
e1bb277fb4 feat: add helper to convert isostrings to localeString 2023-05-09 13:24:15 -04:00
Barış Soner Uşaklı
c65c2aafd7 add interval var 2023-05-09 12:32:13 -04:00
Barış Soner Uşaklı
c92a14abe7 chore: up markdown 2023-05-09 10:48:49 -04:00
Barış Soner Uşaklı
475ecf42d0 chore: up harmony 2023-05-08 12:31:36 -04:00
Barış Soner Uşaklı
ca7ff29212 chore: up emoji 2023-05-08 12:27:55 -04:00
Barış Soner Uşaklı
78f793473d feat: up emoji, remove title parse code 2023-05-08 12:24:47 -04:00
Barış Soner Uşaklı
6d5a2635ba parse topic titles for post summaries 2023-05-08 11:40:27 -04:00
renovate[bot]
54f4aba037 chore(deps): update dependency eslint to v8.40.0 (#11574)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-08 00:03:00 -04:00
Barış Soner Uşaklı
2cdc454f3e use order by 2023-05-07 23:48:09 -04:00
renovate[bot]
77b05b73a8 fix(deps): update dependency helmet to v6.2.0 (#11576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-07 22:44:44 -04:00
renovate[bot]
f6db5f6018 fix(deps): update dependency terser-webpack-plugin to v5.3.8 (#11575)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-07 22:44:31 -04:00
Barış Soner Uşaklı
f083cd559d feat: add getSortedSetMembersWithScores (#11579)
* feat: add getSortedSetMembersWithScores

* lint: fix

* test: fix redis

* fix: mongo/psql
2023-05-07 22:32:05 -04:00
Opliko
163c977d2f ci: add 3.x docker tag 2023-05-07 20:03:21 -04:00
Opliko
c588d741ba ci: only publish latest from master
`latest` tag is currently v2. That happened because of the backported change which is newer than any commits to `master`.

However, this logically shouldn't happen. The expectation for latest would be that it has the, well, the code from the highest version released, not literally the latest commit no matter where it came from. Thankfully metadata action allows for conditional tags and even has a helper for default branch making it not hard-coded (so if NodeBB decided to migrate to `main` or someone in their fork did it'd still work).

The result would be that latest is the latest code in `master`, which I see as similar to the default git workflow (`master` is just latest code, `vX.Y` branches or tags are for using proper releases).
2023-05-07 20:03:21 -04:00
Barış Soner Uşaklı
e1473bcc2d fix: strip html tags from browser title 2023-05-07 19:00:21 -04:00
Barış Soner Uşaklı
f974c230ef fix: chat ip button not doing anything if clicked outside of icon 2023-05-05 21:10:17 -04:00
Misty Release Bot
489163aab3 chore(i18n): fallback strings for new resources: nodebb.admin-settings-email 2023-05-05 18:51:38 +00:00
Julian Lam
1ac760e89c public/language/
fix: minor change in copy for #11562
2023-05-05 14:51:09 -04:00
Misty Release Bot
6a2c6de0b4 chore(i18n): fallback strings for new resources: nodebb.user 2023-05-05 18:38:26 +00:00
Julian Lam
393a891379 test: added test cases for #11562 2023-05-05 14:38:01 -04:00
Julian Lam
84313712a2 fix: add an additional check on page load to enforce requireEmailAddress setting
The old behaviour would require that an email be entered, but did not block access to the forum (nor did it ensure that the email was verified).

The new behaviour (if the setting is enabled) will ensure that only those users with a confirmed email can continue through.

The only exceptions are super admins (so they don't get locked out).
2023-05-05 14:38:01 -04:00
Barış Soner Uşaklı
34730caf97 fix: selector for nav scroll
harmony doesn't have topic-header, they all have topic-main-buttons
2023-05-05 14:25:02 -04:00
renovate[bot]
84548edbb3 fix(deps): update dependency nodebb-theme-persona to v13.0.63 (#11571)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 22:16:28 -04:00
Barış Soner Uşaklı
ca93084cc5 fix: gdrp checkboxes 2023-05-04 21:19:09 -04:00
Barış Soner Uşaklı
18e76ba5fc fix: #11570
fix direction of dropdowns on rtl
2023-05-04 20:04:30 -04:00
renovate[bot]
bac0b7b228 fix(deps): update dependency mongodb to v5.4.0 (#11569)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 18:25:07 -04:00
Barış Soner Uşaklı
64add3e36b chore: up deps 2023-05-04 15:39:42 -04:00
Barış Soner Uşaklı
e832d365ba refactor: removed parsing for taskbar
harmony doesnt have a taskbar
2023-05-04 15:38:30 -04:00
renovate[bot]
ae7547e2e0 fix(deps): update dependency @isaacs/ttlcache to v1.4.0 (#11567)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 10:43:48 -04:00
renovate[bot]
fe041498cb chore(deps): update commitlint monorepo to v17.6.3 (#11568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 10:24:50 -04:00
Barış Soner Uşaklı
e0db9a8978 test: fix assert.reject calls
fix tests
2023-05-04 09:47:58 -04:00
Barış Soner Uşaklı
048fbcaac0 chore: up harmony 2023-05-03 22:12:23 -04:00
Barış Soner Uşaklı
f337ca652e chore: up deps 2023-05-03 21:54:36 -04:00
Barış Soner Uşaklı
101fe81d42 feat: add app.newReply
like app.newTopic
2023-05-03 21:19:02 -04:00
renovate[bot]
5f4197a986 fix(deps): update dependency nodebb-theme-persona to v13.0.61 (#11566)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 20:40:27 -04:00
renovate[bot]
e630cf2580 fix(deps): update dependency nodebb-theme-harmony to v1.0.15 (#11565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 20:40:19 -04:00
Misty Release Bot
5f72844514 chore(i18n): fallback strings for new resources: nodebb.admin-extend-widgets 2023-05-04 00:09:47 +00:00
Barış Soner Uşaklı
fbf44a10e7 feat: expiration date for widgets
closes #10495
2023-05-03 20:09:15 -04:00
renovate[bot]
0813ee7818 fix(deps): update dependency ace-builds to v1.19.0 (#11557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 16:44:05 -04:00
renovate[bot]
cdebc0d167 fix(deps): update dependency webpack to v5.82.0 (#11564)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 16:43:29 -04:00
Barış Soner Uşaklı
0c20d7cdee test: fix brackets 2023-05-03 15:48:15 -04:00
renovate[bot]
80bcd93829 fix(deps): update dependency nodebb-plugin-spam-be-gone to v2.0.7 (#11563)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 14:01:01 -04:00
Barış Soner Uşaklı
68283bcdbe chore: up widgets 2023-05-03 13:35:44 -04:00
Barış Soner Uşaklı
093ec0e8ab fix: closes #11559, fix some rtl issues 2023-05-03 13:23:57 -04:00
Barış Soner Uşaklı
eab2679f0c chore: up harmony 2023-05-03 12:28:50 -04:00
Barış Soner Uşaklı
0af2b800b3 fix: closes #11561, close dialogs on escape/backdrop click 2023-05-03 12:12:00 -04:00
Barış Soner Uşaklı
7f19913b9f chore: up harmony 2023-05-03 11:32:30 -04:00
Barış Soner Uşaklı
0462213fae Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-05-03 11:06:28 -04:00
Barış Soner Uşaklı
832fe95a33 chore: up themes 2023-05-03 11:06:22 -04:00
Misty Release Bot
db802db664 chore(i18n): fallback strings for new resources: nodebb.groups 2023-05-03 15:01:06 +00:00
Barış Soner Uşaklı
589761be97 group filter 2023-05-03 11:00:32 -04:00
Barış Soner Uşaklı
34730b0b6e Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-05-02 20:27:01 -04:00
Barış Soner Uşaklı
8e63e43a3b refactor: move to modals 2023-05-02 20:26:55 -04:00
renovate[bot]
904adf57bf fix(deps): update dependency nodebb-theme-harmony to v1.0.11 (#11556)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 13:35:54 -04:00
renovate[bot]
700d1da9a1 fix(deps): update dependency @socket.io/redis-adapter to v8.2.0 (#11555)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 12:30:38 -04:00
renovate[bot]
76cc1cf383 chore(deps): update dependency jsdom to v22 (#11551)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 12:30:04 -04:00
Misty Release Bot
fd30af100f chore: update changelog for v3.0.1 2023-05-02 16:01:07 +00:00
Misty Release Bot
a70b25a44a chore: incrementing version number - v3.0.1 2023-05-02 16:01:07 +00:00
Julian Lam
2b8dd3d202 fix: #11554, email requirement bypass by sending in whitespace 2023-05-02 11:47:54 -04:00
Barış Soner Uşaklı
d02f257945 fix badge bg 2023-05-02 11:26:42 -04:00
Barış Soner Uşaklı
9800d65a29 test: remove log 2023-05-02 10:11:03 -04:00
Barış Soner Uşaklı
663fb3e1f2 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-05-02 10:10:38 -04:00
Barış Soner Uşaklı
8a359d6338 test: increase delay after export 2023-05-02 10:10:36 -04:00
renovate[bot]
efadd7146e fix(deps): update dependency nodebb-plugin-composer-default to v10.1.4 (#11552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 09:52:03 -04:00
renovate[bot]
602f05201a fix(deps): update dependency nodebb-plugin-emoji to v5.0.8 (#11550)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 09:50:18 -04:00
Barış Soner Uşaklı
24e0e5024d fix: show edit indicator after an edit without reloading the page 2023-05-01 19:51:19 -04:00
Barış Soner Uşaklı
2c62325a1e Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-05-01 14:23:03 -04:00
Barış Soner Uşaklı
ec0da196d8 chore: whopps 2023-05-01 14:22:56 -04:00
Misty Release Bot
819ded6f2b chore(i18n): fallback strings for new resources: nodebb.global, nodebb.pages 2023-05-01 18:21:19 +00:00
Barış Soner Uşaklı
83fca31628 feat: closes #11549, new error pages 2023-05-01 14:20:39 -04:00
Barış Soner Uşaklı
caac938428 add flex-fill 2023-05-01 13:57:21 -04:00
Barış Soner Uşaklı
6dc7dcd77c Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-05-01 13:50:22 -04:00
Barış Soner Uşaklı
2caf4afc3c chore: up harmony 2023-05-01 13:50:16 -04:00
Misty Release Bot
6fe660a302 chore(i18n): fallback strings for new resources: nodebb.global 2023-05-01 17:50:01 +00:00
Barış Soner Uşaklı
73d02725f0 new 404 page 2023-05-01 13:49:34 -04:00
Julian Lam
36895421ba refactor: topic mark read/unread routes 2023-05-01 12:02:34 -04:00
Julian Lam
82b4984b9d test: replace calls to getReplies socket call to api method 2023-05-01 12:02:34 -04:00
Julian Lam
69b409385d refactor: migrate posts.getReplies to write API 2023-05-01 12:02:34 -04:00
Julian Lam
ee9f53f1ff refactor: deprecate socket method posts.getPidIndex 2023-05-01 12:02:34 -04:00
Julian Lam
d814e281a0 feat: write API shorthand to query post routes by their topic index (requires tid in either query string or request body)
middleware.checkRequired is also updated to check for matches in req.query as well.
2023-05-01 12:02:34 -04:00
Julian Lam
cdd7748003 fix: add back removed socket method, added deprecation warnings, as there are no breaking changes allowed in v3.1.0 2023-05-01 12:02:34 -04:00
Julian Lam
02f567ff3f docs: openapi schema for newly added routes 2023-05-01 12:02:34 -04:00
Julian Lam
f2082d7de8 refactor: started work on porting socket methods to write API [breaking]
The following socket calls have been removed:

* `posts.getRawPost`
* `posts.getPostSummaryByPid`

Two new Write API routes have been added:

- `GET /api/v3/posts/:pid/raw`
- `GET /api/v3/posts/:pid/summary`
2023-05-01 12:02:34 -04:00
Julian Lam
b3787bd50c fix: update openapi spec to specify optional expiry argument available to be passed in via request body.
Also updated test runner to ignore any request bodies in spec that are explicitly not required.
2023-05-01 11:55:00 -04:00
renovate[bot]
f0d989e4ba chore(deps): update dependency jsdom to v21.1.2 (#11547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-01 11:43:49 -04:00
renovate[bot]
72bc471e73 fix(deps): update dependency nodebb-plugin-mentions to v4.1.1 (#11548)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-01 11:31:10 -04:00
Julian Lam
2b70063eec fix: #11545, wrong message shown to new users re: email confirmation 2023-05-01 11:09:59 -04:00
Julian Lam
604a8f7e60 fix: black on red coloration on error when a bad reset code is received 2023-05-01 11:01:46 -04:00
Barış Soner Uşaklı
ec8d8ec45b fix: closes #11511
reset all user skins if they are no longer available
2023-05-01 10:56:05 -04:00
Barış Soner Uşaklı
e070b851b1 fix: outgoing style 2023-05-01 10:20:04 -04:00
Barış Soner Uşaklı
9e4bd4e916 chore: up harmony 2023-05-01 09:52:52 -04:00
Barış Soner Uşaklı
01960f2718 chore: up composer 2023-05-01 09:50:06 -04:00
Barış Soner Uşaklı
b691524740 chore: up deps 2023-05-01 09:23:51 -04:00
Barış Soner Uşaklı
8e0f9ce573 fix: #11541, fix leave chat error 2023-05-01 09:20:52 -04:00
Barış Soner Uşaklı
d0a15e9ec8 fix: closes #11539 2023-05-01 09:08:15 -04:00
Barış Soner Uşaklı
156b8e7721 fix: add check for no tids 2023-04-30 21:34:15 -04:00
Barış Soner Uşaklı
291c2e1cb7 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-04-30 21:23:29 -04:00
Barış Soner Uşaklı
870472108e refactor: if position 2023-04-30 21:23:24 -04:00
Misty Release Bot
a908bed891 chore(i18n): fallback strings for new resources: nodebb.error, nodebb.tags, nodebb.topic 2023-05-01 01:18:25 +00:00
Barış Soner Uşaklı
e3551d80d7 feat: allow tag editing from topic tools
closes #7536
closes #7465
closes #11538
2023-04-30 21:17:25 -04:00
Barış Soner Uşaklı
0391876822 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-04-30 12:52:35 -04:00
Barış Soner Uşaklı
4b374f044f chore: up themes 2023-04-30 12:52:29 -04:00
Misty Release Bot
6e7465debf chore(i18n): fallback strings for new resources: nodebb.global 2023-04-30 16:47:30 +00:00
Barış Soner Uşaklı
4aa87366f9 feat: #11537, copy ip on click 2023-04-30 12:47:00 -04:00
Barış Soner Uşaklı
9f485ce6f1 fix: remove positions 2023-04-29 23:02:32 -04:00
Barış Soner Uşaklı
8c3495b96a Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-04-29 23:02:13 -04:00
Barış Soner Uşaklı
5ead9b7365 fix: scroll on edit textarea 2023-04-29 21:54:28 -04:00
Barış Soner Uşaklı
95f8a3215e Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-04-29 20:41:02 -04:00
Barış Soner Uşaklı
503fab515d refactor: remove position classes 2023-04-29 20:40:57 -04:00
Misty Release Bot
28a1df16a8 chore(i18n): fallback strings for new resources: nodebb.global 2023-04-30 00:32:40 +00:00
Barış Soner Uşaklı
eb0c77fd69 feat: #7096, improve chat editing
use a new template for editing chats,
remove the data-mid on the chat inputEl
2023-04-29 20:32:09 -04:00
renovate[bot]
e0f0c08a98 fix(deps): update dependency nodebb-widget-essentials to v7.0.11 (#11536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-29 14:28:24 -04:00
Barış Soner Uşaklı
b891c5accd test: fix group tests
no idea how these passed on gh runner
2023-04-28 16:43:49 -04:00
Barış Soner Uşaklı
c23689d305 fix: #11531, fix teasers
1. with scheduled topics, pid is no longer reliable, lower pid can have higher timestamp(scheduled in the future) so use timestamp for sorting teasers
2. when restoring/deleting topics, update the teaser tid as the last step because it checks topicData.deleted
2023-04-28 16:08:02 -04:00
Julian Lam
b0005f18a1 fix(deps): bump composer-default, closes #11534 2023-04-28 15:58:18 -04:00
Misty Release Bot
3b0b2b2fae chore(i18n): fallback strings for new resources: nodebb.modules 2023-04-28 19:55:51 +00:00
gasoved
e42967d70a feat: Change Date translation string 2023-04-28 15:55:25 -04:00
Barış Soner Uşaklı
cf39f3559b Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-04-28 14:25:02 -04:00
Barış Soner Uşaklı
ee085c1d47 chore: up harmony 2023-04-28 14:24:58 -04:00
Misty Release Bot
6f573c275d chore(i18n): fallback strings for new resources: nodebb.global 2023-04-28 18:18:58 +00:00
Barış Soner Uşaklı
82ae7d667d Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-04-28 14:06:09 -04:00
Barış Soner Uşaklı
3099d57f24 feat: #11431
add joindate/postcount/reputation to user
add lastposttime to topic
2023-04-28 14:06:02 -04:00
Misty Release Bot
da5bfacd6f chore(i18n): fallback strings for new resources: nodebb.global 2023-04-28 17:36:37 +00:00
Barış Soner Uşaklı
e83a9a720e feat: add missing i18n 2023-04-28 13:34:44 -04:00
Opliko
0417e5f16c ci: multi-platform docker image (#11479)
* ci: multi-platform build

* ci: remove riscv as node doesn't support it

* ci: correct step name

it's no longer logging in to docker hub

* ci: remove less common architectures

* ci: github actions cache for docker builds

* fix: use `--omit` flag to actually avoid installing dev dependencies

* feat: two-stage build

* feat: add platform-specific rebuild

* fix: run install if target arch is different from build arch

* fix: whitespace

* fix: correct build order

* fix: remove unnecessary conditional

* fix: remove unnecessary platofm specifier

* fix: correct copy
2023-04-28 13:00:34 -04:00
oplik0
2bfdd76180 feat: show even uninstalled active plugins if set via config 2023-04-28 12:59:32 -04:00
oplik0
74cb224344 feat: add option to autoinstall plugins on setup 2023-04-28 12:59:32 -04:00
renovate[bot]
ce05e743e0 fix(deps): update dependency sharp to v0.32.1 (#11527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-28 10:22:59 -04:00
renovate[bot]
1d7e981f1f fix(deps): update dependency yargs to v17.7.2 (#11528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-28 10:13:03 -04:00
Barış Soner Uşaklı
2720a692cf fix: #11530, fix topic rescheduling
don't display scheduled posts in group page
when topic is rescheduled update post sorted sets with new timestamp
when post is published update group posts zset
fix markTopicRead if topic was read while it was still hidden
2023-04-28 10:10:34 -04:00
Barış Soner Uşaklı
2588853b60 chore: up widgets 2023-04-27 22:46:50 -04:00
Misty Release Bot
de282c0b21 chore(i18n): fallback strings for new resources: nodebb.admin-admin, nodebb.admin-appearance-customise, nodebb.admin-dashboard, nodebb.admin-extend-widgets, nodebb.admin-manage-groups, nodebb.admin-manage-privileges, nodebb.admin-settings-api, nodebb.admin-settings-navigation, nodebb.admin-settings-user, nodebb.error, nodebb.flags, nodebb.global, nodebb.groups, nodebb.modules, nodebb.pages, nodebb.post-queue, nodebb.recent, nodebb.register, nodebb.search, nodebb.tags, nodebb.topic, nodebb.user, nodebb.users 2023-04-28 01:47:26 +00:00
Barış Soner Uşaklı
83569debe8 Merge branch 'master' into develop 2023-04-27 21:41:22 -04:00
Barış Soner Uşaklı
9484ddc36f fix: use query param sort over user setting if it's set
regression from 77ddfc642e
2023-04-27 21:39:24 -04:00
Barış Soner Uşaklı
5607e5bccb fix: #10594, move counter code (#11529)
instead of updating counters one by one on each topic move, update them once after all topics are moved, use zcard instead of incr/decr
2023-04-27 20:27:42 -04:00
Barış Soner Uşaklı
01669fa54e chore: up harmony 2023-04-27 10:57:56 -04:00
renovate[bot]
e9d30f76c2 fix(deps): update dependency webpack to v5.81.0 (#11523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-26 19:47:51 -04:00
Barış Soner Uşaklı
073f4d37dc lint: fix comma 2023-04-26 17:41:53 -04:00
Barış Soner Uşaklı
45506c0c1c Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-04-26 17:41:09 -04:00
Barış Soner Uşaklı
619e910f69 fix: only add copy button to multiline codeblocks 2023-04-26 17:41:02 -04:00
Misty Release Bot
ab17e5c36c chore(i18n): fallback strings for new resources: nodebb.topic 2023-04-26 21:24:03 +00:00
Barış Soner Uşaklı
0a292fc1ae feat: closes #11428, add a copy code button to code blocks 2023-04-26 17:23:37 -04:00
Barış Soner Uşaklı
c3854b786e feat: closes #11432, use edited time if its greater 2023-04-26 16:16:44 -04:00
Barış Soner Uşaklı
9f2d1f7ed1 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-04-26 12:36:18 -04:00
Barış Soner Uşaklı
619af8871a only show thumb selector if more than 1 2023-04-26 12:36:13 -04:00
renovate[bot]
c4c55684b9 chore(deps): update commitlint monorepo to v17.6.1 (#11478)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-26 12:32:23 -04:00
renovate[bot]
8179977770 fix(deps): update dependency nodebb-plugin-emoji to v5.0.7 (#11522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-26 12:32:12 -04:00
renovate[bot]
2e2bc54bdf chore(deps): update dependency lint-staged to v13.2.2 (#11521)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-26 12:32:02 -04:00
Barış Soner Uşaklı
8a43aeac16 add padding 2023-04-26 12:28:55 -04:00
Barış Soner Uşaklı
c58d07f40c chore: up harmony 2023-04-26 12:17:34 -04:00
Barış Soner Uşaklı
84a78c2d5f feat: move topic thumb to template
use a single modal to show all thumbs and allow switching
2023-04-26 12:15:03 -04:00
Julian Lam
04219c4ccb feat: open topic thumbs on click in a bootbox dialog instead of opening in same page; complements nodebb/nodebb-theme-harmony#12 2023-04-26 11:41:02 -04:00
Julian Lam
c3ebda22c0 fix: go back to post queue after deleting an account in post queue (#11513)
It makes little sense to refresh the page as the content no longer exists, so just go back to the post queue list.
2023-04-26 11:37:58 -04:00
renovate[bot]
42bd1a63cd fix(deps): update dependency nodebb-plugin-mentions to v4.1.0 (#11518)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-26 11:37:43 -04:00
renovate[bot]
d4bf0ae743 fix(deps): update dependency lru-cache to v9.1.1 (#11493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-26 11:37:33 -04:00
renovate[bot]
6413efbbc6 fix(deps): update dependency webpack to v5.80.0 (#11503)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-26 11:37:24 -04:00
renovate[bot]
e55f1b55b1 fix(deps): update dependency mongodb to v5.3.0 (#11496)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-26 11:37:06 -04:00
renovate[bot]
d8829872fe fix(deps): update dependency sass to v1.62.1 (#11517)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-26 11:36:54 -04:00
Barış Soner Uşaklı
6b51dd5a2f feat: closes #11424, add category selector to fork modal (#11491)
select the current category on open
2023-04-26 11:30:06 -04:00
Misty Release Bot
56ad381ff2 chore: update changelog for v3.0.0 2023-04-26 15:22:12 +00:00
Misty Release Bot
2103043e78 chore: incrementing version number - v3.0.0 2023-04-26 15:22:11 +00:00
Misty Release Bot
7d04b40747 Merge branch 'develop' 2023-04-26 15:22:10 +00:00
Julian Lam
d2066f59c0 fix: bump mentions and harmony 2023-04-26 10:58:44 -04:00
Misty Release Bot
5804d3a9e7 chore: update changelog for v2.8.12 2023-04-26 14:34:45 +00:00
Misty Release Bot
3e494a1ea0 chore: incrementing version number - v2.8.12 2023-04-26 14:34:44 +00:00
Barış Soner Uşaklı
eb8c5d8234 Merge branch 'master' into develop 2023-04-26 10:34:07 -04:00
Barış Soner Uşaklı
30b6bcfca1 fix: #11519, clear parent cache all the way to root 2023-04-26 10:13:27 -04:00
Barış Soner Uşaklı
3c6f225a78 test: Blob doesnt exist in node 16 2023-04-25 17:07:04 -04:00
Barış Soner Uşaklı
bb4be716d4 test: no need for this check 2023-04-25 16:57:38 -04:00
Barış Soner Uşaklı
eacbad7ff7 test: fix utils 2023-04-25 16:55:27 -04:00
Barış Soner Uşaklı
699c3bdf35 test: missing utils tests 2023-04-25 16:48:16 -04:00
renovate[bot]
f66eba293c fix(deps): update dependency mkdirp to v3.0.1 (#11516)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-24 15:50:32 -04:00
Barış Soner Uşaklı
94229688c2 Merge branch 'master' into develop 2023-04-24 15:41:09 -04:00
Barış Soner Uşaklı
de2669a2c6 fix: only remove deleted tag, closes #11515 2023-04-24 15:39:00 -04:00
Barış Soner Uşaklı
e8fb6711b8 fix: #11512, filter by cid 2023-04-24 10:17:31 -04:00
renovate[bot]
a8a2ebbe2b fix(deps): update dependency semver to v7.5.0 (#11492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-24 09:37:27 -04:00
Barış Soner Uşaklı
7d7904b045 fix: closes #11511, reset skin if it was removed from bootswatch 2023-04-24 09:35:25 -04:00
Barış Soner Uşaklı
68efb6e601 Merge branch 'master' into develop 2023-04-24 09:29:45 -04:00
renovate[bot]
f0408ea90d fix(deps): update dependency esbuild to v0.17.18 (#11509)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-23 19:05:12 -04:00
Barış Soner Uşaklı
21fb8590e5 test: remove old comment 2023-04-23 18:59:18 -04:00
renovate[bot]
04f77adaa5 fix(deps): update dependency nodebb-plugin-emoji to v5.0.6 (#11510)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-23 15:15:01 -04:00
renovate[bot]
e74e76b15b chore(deps): update dependency eslint to v8.39.0 (#11507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-23 15:08:11 -04:00
Barış Soner Uşaklı
a405343de0 chore: up harmony 2023-04-23 09:41:17 -04:00
Misty Release Bot
5a28c96d33 Latest translations and fallbacks 2023-04-23 09:19:05 +00:00
Barış Soner Uşaklı
1767fe3d44 chore: up deps 2023-04-22 20:05:11 -04:00
Barış Soner Uşaklı
94f2e50883 feat: add hits/sec for cache 2023-04-22 16:41:27 -04:00
Barış Soner Uşaklı
9894d05f32 fix: closes #11508, update selector 2023-04-22 16:40:56 -04:00
Barış Soner Uşaklı
0962c063dd chore: up composer 2023-04-21 19:12:13 -04:00
Barış Soner Uşaklı
5c26cb5888 fix: add composer:showHelpTab to api 2023-04-21 19:10:51 -04:00
Barış Soner Uşaklı
f055b7fb74 refactor: get rid of floats in deleted-message.tpl 2023-04-21 16:08:12 -04:00
renovate[bot]
967b9840cf fix(deps): update dependency postcss to v8.4.23 (#11504)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-21 11:53:09 -04:00
Julian Lam
5ab4d2fcb1 docs: update api introductions 2023-04-21 11:13:56 -04:00
renovate[bot]
22f6b8f6f7 fix(deps): update dependency ace-builds to v1.18.0 (#11505)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-21 10:34:22 -04:00
renovate[bot]
fec552d205 chore(deps): update coverallsapp/github-action action to v2.1.2 (#11497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-21 09:51:22 -04:00
Barış Soner Uşaklı
defec52fdd double postcache size 2023-04-21 09:42:30 -04:00
Barış Soner Uşaklı
2c91c4e1b1 chore: up harmony 2023-04-21 09:40:19 -04:00
Misty Release Bot
cdc47303df Latest translations and fallbacks 2023-04-21 09:19:18 +00:00
Barış Soner Uşaklı
cef9e79105 chore: up harmony 2023-04-20 16:59:31 -04:00
Barış Soner Uşaklı
2055aae17f https://github.com/NodeBB/NodeBB/issues/11501 2023-04-20 16:58:47 -04:00
Barış Soner Uşaklı
bea1826fd5 chore: up harmony 2023-04-20 12:59:00 -04:00
Barış Soner Uşaklı
9ec5f1f54b https://github.com/NodeBB/NodeBB/issues/11500 2023-04-20 12:58:04 -04:00
Misty Release Bot
4d82210ba4 Latest translations and fallbacks 2023-04-20 09:19:08 +00:00
Barış Soner Uşaklı
6bed65dde6 fix: numeric strings in mongo (#11498) 2023-04-19 17:16:45 -04:00
renovate[bot]
f8ae6ef7ef chore(deps): update coverallsapp/github-action action to v2.1.1 (#11494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-19 09:33:58 -04:00
Misty Release Bot
c96579d4d8 Latest translations and fallbacks 2023-04-19 09:18:27 +00:00
renovate[bot]
666fe04ec0 fix(deps): update dependency nodebb-plugin-2factor to v7.0.5 (#11495)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 14:31:19 -04:00
Barış Soner Uşaklı
52f32b0b45 chore: up harmony 2023-04-18 09:52:08 -04:00
Barış Soner Uşaklı
91851364a8 fix: regression in toolmodal category selector 2023-04-17 13:19:56 -04:00
Misty Release Bot
5931a9be5c Latest translations and fallbacks 2023-04-17 09:18:25 +00:00
Barış Soner Uşaklı
af7ab9b468 Merge branch 'master' into develop 2023-04-16 18:49:49 -04:00
Barış Soner Uşaklı
459f1caad6 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-04-16 18:49:42 -04:00
Barış Soner Uşaklı
05c96033ab fork at least 1 thread in minifer 2023-04-16 18:49:35 -04:00
renovate[bot]
d2b8512cfe fix(deps): update dependency lru-cache to v9.0.3 (#11481)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-16 18:45:15 -04:00
renovate[bot]
ba2b7f5b56 fix(deps): update dependency commander to v10.0.1 (#11486)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-16 18:44:59 -04:00
renovate[bot]
90fca08ed8 fix(deps): update dependency ioredis to v5.3.2 (#11487)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-16 18:44:44 -04:00
renovate[bot]
fe4e938341 fix(deps): update dependency postcss to v8.4.22 (#11488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-16 18:44:34 -04:00
renovate[bot]
4cd8c2ffbc fix(deps): update dependency esbuild to v0.17.17 (#11489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-16 18:44:24 -04:00
Veronikya
c931183287 fix: NodeBB#11482 thumbs Post Can not upload a thumbnail, only multip… (#11483)
* fix: NodeBB#11482 thumbs Post Can not upload a thumbnail, only multiple uploads

* Modify upload thumbnail test

* Modify upload thumbnail test +,

* Get rid of v2 uploads test

* edit times

* Modify amount of files associated post test

* edit post file amount
2023-04-15 17:56:36 -04:00
Misty Release Bot
1059fe4105 Latest translations and fallbacks 2023-04-15 09:18:14 +00:00
Julian Lam
5feb509b16 fix: don't crash if taskbar.tasklist is not defined yet 2023-04-14 16:59:27 -04:00
Julian Lam
2615c1e584 fix: #11426, proper v3 style error on maintenance mode [breaking]
The v3-style error only applies to v3 routes. Existing Read API and page routes are unaffected.
2023-04-14 11:59:15 -04:00
Misty Release Bot
84dc3ba73a Latest translations and fallbacks 2023-04-14 09:18:31 +00:00
Barış Soner Uşaklı
0e4dbae91b fix dropdown nav highlight 2023-04-13 17:54:21 -04:00
Barış Soner Uşaklı
22cb918cce chore: up widgets 2023-04-13 16:37:43 -04:00
Barış Soner Uşaklı
bfb45045f6 fix bottom margin of p tags in line-clamp
base on line-height
2023-04-13 16:37:07 -04:00
Barış Soner Uşaklı
445a475292 chore: up deps 2023-04-13 16:23:45 -04:00
Misty Release Bot
85b04f724b Latest translations and fallbacks 2023-04-13 09:18:44 +00:00
renovate[bot]
455de50dfa fix(deps): update dependency webpack to v5.79.0 (#11476)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 20:07:37 -04:00
Barış Soner Uşaklı
57d64b35c5 fix: closes #11473, kudos to @pitaj 2023-04-12 18:37:18 -04:00
renovate[bot]
550d125d54 fix(deps): update dependency ace-builds to v1.17.0 (#11472)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 17:20:15 -04:00
Barış Soner Uşaklı
d1b9f83d03 chore: up composer 2023-04-12 17:20:00 -04:00
Barış Soner Uşaklı
a0bac74e63 lint: remove chalk 2023-04-12 16:22:45 -04:00
Misty Release Bot
30234cf7eb chore(i18n): fallback strings for new resources: nodebb.topic 2023-04-12 17:46:01 +00:00
Barış Soner Uşaklı
655a11d08a feat: i18n post-later 2023-04-12 13:39:58 -04:00
Barış Soner Uşaklı
1658815303 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-04-12 09:51:31 -04:00
Barış Soner Uşaklı
9806d89f15 refactor: remove log, to much noise 2023-04-12 09:48:17 -04:00
renovate[bot]
4e5fbc546a fix(deps): update dependency helmet to v6.1.5 (#11464)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 09:22:47 -04:00
renovate[bot]
c11645440e fix(deps): update dependency sass to v1.62.0 (#11468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 09:22:31 -04:00
renovate[bot]
1dc6eb51c2 chore(deps): update dependency sass-embedded to v1.62.0 (#11467)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 09:22:23 -04:00
Misty Release Bot
99bac87a15 Latest translations and fallbacks 2023-04-12 09:18:28 +00:00
Barış Soner Uşaklı
d5636df207 chore: up harmony 2023-04-11 16:25:56 -04:00
Barış Soner Uşaklı
9c16218668 test: remove history test 2023-04-11 15:55:22 -04:00
Barış Soner Uşaklı
59b149784f fix: closes #11466
show username instead of uid on history
2023-04-11 15:52:33 -04:00
Barış Soner Uşaklı
6eb1dd8687 fix: #11438, show flag history to mods
also prevent regular mods from seeing flags that are not in their category if they use direct link to flag
2023-04-11 15:38:53 -04:00
Julian Lam
70f4d7f099 fix: topic thumbnail removal error
Relaxed DOM selector to accommodate changed tpl
2023-04-11 13:46:12 -04:00
Brutus5000
ae5afdbc66 feat: name theme on error:theme-not-set-in-configuration 2023-04-11 13:42:21 -04:00
renovate[bot]
1ab7fdc81e fix(deps): update dependency semver to v7.4.0 (#11461)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-11 11:03:35 -04:00
renovate[bot]
c0d9296150 fix(deps): update dependency rtlcss to v4.1.0 (#11460)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-11 11:03:18 -04:00
Misty Release Bot
026f2d947d chore(i18n): fallback strings for new resources: nodebb.error 2023-04-11 14:42:53 +00:00
Julian Lam
dd8719a10e fix: upload modal error handler
The underlying API call was updated to v3 style (with standard status/response object in response body), so the existing code always falls back to the default error instead of showing the more specific error sent back by the backend.

Also, the fallback wasn't internationalized, so that's done to.
2023-04-11 10:42:21 -04:00
renovate[bot]
415f87811d fix(deps): update dependency helmet to v6.1.4 (#11459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 21:59:30 -04:00
Julian Lam
523628d721 Merge remote-tracking branch 'origin/master' into develop 2023-04-10 21:54:19 -04:00
Julian Lam
5343d2a01b chore: removing superfluous changelog items 2023-04-10 21:51:12 -04:00
Misty Release Bot
f2ca93f6c6 chore: update changelog for v2.8.11 2023-04-11 01:49:11 +00:00
Misty Release Bot
82f0efb14b chore: incrementing version number - v2.8.11 2023-04-11 01:49:11 +00:00
Misty Release Bot
ba213ca8ff Latest translations and fallbacks 2023-04-10 23:00:59 +00:00
renovate[bot]
d165164a13 fix(deps): update dependency helmet to v6.1.3 (#11452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 18:01:04 -04:00
Barış Soner Uşaklı
132476d581 feat: update mkdirp to 3.x, closes #11455 2023-04-10 17:56:41 -04:00
Barış Soner Uşaklı
43c6087b34 feat: update rimraf to 5.x, closes #11456 2023-04-10 17:51:48 -04:00
Barış Soner Uşaklı
c3cedefef3 feat: update lru-cache to 9.x, closes #11454 2023-04-10 17:40:52 -04:00
renovate[bot]
bdacd1c6b4 fix(deps): update dependency esbuild to v0.17.16 (#11457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 17:37:25 -04:00
renovate[bot]
88b02d9004 chore(deps): update coverallsapp/github-action action to v2.1.0 (#11458)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 17:37:12 -04:00
Misty Release Bot
aee8c564a8 Latest translations and fallbacks 2023-04-10 09:18:09 +00:00
Barış Soner Uşaklı
1fcbee0f0b chore: up harmony 2023-04-09 17:19:06 -04:00
Barış Soner Uşaklı
4363c0bb94 chore: up harmony 2023-04-09 16:55:09 -04:00
Barış Soner Uşaklı
fa633ec7ca update line-clamp class
add `line-clamp-sm-[1-6]` for use with elements that have lh-sm applied
calculate max-height from line-height instead of hardcoding to 1.25em
2023-04-09 16:54:18 -04:00
Barış Soner Uşaklı
1b862586d1 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-04-09 15:58:24 -04:00
Barış Soner Uşaklı
2235f6c280 fix: #11451 , use bookmark from localstorage for guests 2023-04-09 15:58:19 -04:00
Misty Release Bot
beeb3ba13d Latest translations and fallbacks 2023-04-09 09:18:02 +00:00
Barış Soner Uşaklı
1466d5b3e8 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-04-08 20:00:31 -04:00
Barış Soner Uşaklı
24c24e6cab chore: up harmony 2023-04-08 20:00:26 -04:00
renovate[bot]
5d880e9d89 fix(deps): update dependency helmet to v6.1.1 (#11449)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-08 19:54:13 -04:00
renovate[bot]
afa37d6d9d chore(deps): update dependency eslint to v8.38.0 (#11448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-08 19:53:58 -04:00
Barış Soner Uşaklı
eff9f98d29 chore: up harmony 2023-04-08 19:39:05 -04:00
Barış Soner Uşaklı
a0fa9e1f23 tool modal fix 2023-04-07 20:51:20 -04:00
Barış Soner Uşaklı
33b2d0024d Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-04-07 11:57:52 -04:00
renovate[bot]
d7125a0c8a fix(deps): update dependency lru-cache to v8.0.5 (#11434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-07 11:57:39 -04:00
renovate[bot]
62a84f6344 fix(deps): update dependency webpack to v5.78.0 (#11436)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-07 11:57:28 -04:00
renovate[bot]
c7ccf9b85e chore(deps): update dependency sass-embedded to v1.61.0 (#11442)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-07 11:56:36 -04:00
renovate[bot]
248c5f62ef fix(deps): update dependency sass to v1.61.0 (#11443)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-07 11:56:26 -04:00
renovate[bot]
1a888f5082 chore(deps): update dependency lint-staged to v13.2.1 (#11444)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-07 11:56:05 -04:00
Barış Soner Uşaklı
c5e83eb9ea test: fix escaping 2023-04-07 11:54:51 -04:00
Barış Soner Uşaklı
a8efe3df8b test: fix lang test 2023-04-07 11:53:38 -04:00
Misty Release Bot
7ff9e494ed chore(i18n): fallback strings for new resources: nodebb.global 2023-04-07 14:28:28 +00:00
Barış Soner Uşaklı
2830d68155 fix: closes #11446, add alert-link to 403,404,400 messages 2023-04-07 10:28:03 -04:00
Barış Soner Uşaklı
b7755b8605 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-04-07 10:23:27 -04:00
Barış Soner Uşaklı
0cd657ff2c fix: closes #11447, fix timestamp of fork event 2023-04-07 10:23:22 -04:00
Misty Release Bot
06fd510e78 Latest translations and fallbacks 2023-04-07 09:18:13 +00:00
Barış Soner Uşaklı
9020cd4085 chore: up harmony 2023-04-06 19:35:53 -04:00
Barış Soner Uşaklı
5dc1d6d5c6 chore: up harmony 2023-04-06 19:27:57 -04:00
Barış Soner Uşaklı
0e5ae21286 fix: #11440, update timestamp on lastpost button 2023-04-06 19:18:21 -04:00
Misty Release Bot
3bcfef5e7d chore(i18n): fallback strings for new resources: nodebb.error 2023-04-06 21:18:16 +00:00
Julian Lam
0fc9fdd53d fix: throw generic not-allowed error on groups.join if a non-owner tries to add another user to a group 2023-04-06 17:17:47 -04:00
Julian Lam
18447b06af fix: remove socketGroups.addMember; update admin checks to allow admin:groups privilege, hide add member controls if not admin 2023-04-06 17:17:47 -04:00
Julian Lam
f043dcec96 fix: remove socketGroups.kick 2023-04-06 17:17:47 -04:00
Julian Lam
9d49ec60a1 fix: remove socketGroups.issueMassInvite 2023-04-06 17:17:47 -04:00
Julian Lam
b53f92fa2e fix: handle client-side acceptAll and rejectAll 2023-04-06 17:17:47 -04:00
Julian Lam
18c45b4461 refactor: group invitations; issuing, accepting, rejecting; now via API 2023-04-06 17:17:47 -04:00
Julian Lam
34d99c15af fix: use api routes for group accept/reject 2023-04-06 17:17:47 -04:00
Julian Lam
be3232552b docs: openapi schema for newly added routes 2023-04-06 17:17:47 -04:00
Julian Lam
0788fb5118 feat: #11420, add new GET routes to retrieve pending and invited members of a group, plus accept/reject pending 2023-04-06 17:17:47 -04:00
Barış Soner Uşaklı
cc1c493bbf fix: updating user bookmark when entering topic at the end from teaser 2023-04-06 12:46:10 -04:00
Barış Soner Uşaklı
a3ae0c583a remove old code 2023-04-06 09:14:43 -04:00
Barış Soner Uşaklı
8680ea4d3d fix: closes #11437, link to queued post from event 2023-04-06 09:03:57 -04:00
Barış Soner Uşaklı
2f94b4b850 update max-height 2023-04-06 01:17:29 -04:00
Barış Soner Uşaklı
b912a132a9 chore: up harmony 2023-04-05 17:39:31 -04:00
Barış Soner Uşaklı
6962d20662 chore: up harmony 2023-04-05 17:10:39 -04:00
Julian Lam
654abb48cd chore: rc.2 2023-04-05 15:48:30 -04:00
Barış Soner Uşaklı
1b98995132 Merge branch 'master' into develop 2023-04-05 15:34:59 -04:00
Barış Soner Uşaklı
3a50ad3a36 chore: harmony beta.102 2023-04-05 15:30:52 -04:00
Opliko
c27567289f ci: publish to ghcr instead of docker hub 2023-04-05 14:38:47 -04:00
Julian Lam
f49fc5caac fix(deps): bump mentions 2023-04-05 14:34:29 -04:00
Barış Soner Uşaklı
90e2e0bf3f chore: up harmony 2023-04-05 09:57:27 -04:00
renovate[bot]
4bede9fb62 fix(deps): update dependency mongodb to v5.2.0 (#11433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 19:03:18 -04:00
Misty Release Bot
567a74a110 Latest translations and fallbacks 2023-04-04 09:18:47 +00:00
Misty Release Bot
ac2aefd8d9 feat: fallbacks for social.json 2023-04-03 14:24:47 +00:00
Barış Soner Uşaklı
c22c6e1299 feat: add social.json #11419 2023-04-03 10:20:28 -04:00
Barış Soner Uşaklı
0e3d34ccf7 chore: up harmony 2023-04-03 07:39:16 -04:00
Barış Soner Uşaklı
5cc1dd51d6 chore: up harmony 2023-04-02 15:53:22 -04:00
Barış Soner Uşaklı
645ebec8fa feat: allow multiple topic selects in topic-list
chore: up persona
2023-04-02 15:41:36 -04:00
renovate[bot]
569944f1d9 fix(deps): update dependency nodebb-plugin-composer-default to v10.0.44 (#11430)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-02 00:29:45 -04:00
Barış Soner Uşaklı
e18d0df8b5 chore: up harmony 2023-04-01 22:10:55 -04:00
renovate[bot]
0187e1771c fix(deps): update dependency esbuild to v0.17.15 (#11429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-01 19:09:07 -04:00
Misty Release Bot
a1419327e5 Latest translations and fallbacks 2023-04-01 09:18:06 +00:00
Barış Soner Uşaklı
c0b62346f0 feat: update thumbs modal styling 2023-03-31 17:17:12 -04:00
Barış Soner Uşaklı
4fb021a72b chore: up harmony 2023-03-31 17:00:59 -04:00
Barış Soner Uşaklı
ec106d914b chore: up harmony 2023-03-31 15:33:11 -04:00
Barış Soner Uşaklı
5d9b23cafc fix: direct replies on dynamic posts 2023-03-31 12:38:21 -04:00
Barış Soner Uşaklı
f1f32a47ab chore: up harmony 2023-03-31 12:02:49 -04:00
Barış Soner Uşaklı
9c9766334e beta.93 2023-03-31 10:59:05 -04:00
Barış Soner Uşaklı
08d159f5f7 chore: up deps 2023-03-31 10:43:46 -04:00
Misty Release Bot
803270ee8b Latest translations and fallbacks 2023-03-31 09:18:41 +00:00
Barış Soner Uşaklı
29872b4326 make border color important 2023-03-30 14:07:25 -04:00
Misty Release Bot
be272507cf Latest translations and fallbacks 2023-03-30 09:18:28 +00:00
Barış Soner Uşaklı
fe73c007da chore: up harmony 2023-03-29 23:57:43 -04:00
Barış Soner Uşaklı
764aca62de chore: up harmony 2023-03-29 22:00:02 -04:00
Barış Soner Uşaklı
9d6e509911 beta.89 2023-03-29 20:38:04 -04:00
Barış Soner Uşaklı
2d75625b26 chore: up harmony 2023-03-29 20:33:12 -04:00
Barış Soner Uşaklı
d36aad073e refactor: replace rimraf glob doesn't work on windows 2023-03-29 20:29:46 -04:00
renovate[bot]
1ac37b4333 fix(deps): update dependency nodebb-plugin-mentions to v4.0.5 (#11417)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 19:48:44 -04:00
Barış Soner Uşaklı
cc138c9303 chore: up harmony 2023-03-29 19:48:36 -04:00
Barış Soner Uşaklı
2615192fc0 fix: topic labels on topics_list 2023-03-29 19:47:22 -04:00
Barış Soner Uşaklı
28ed6c923c update buildCategoryLabel
no bg image in labels dont put a i tag if no icon
2023-03-29 18:52:30 -04:00
Barış Soner Uşaklı
a44f170a5c chore: up harmony 2023-03-29 13:59:26 -04:00
renovate[bot]
defc01d918 chore(deps): update dependency eslint to v8.37.0 (#11410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 12:27:29 -04:00
renovate[bot]
e90390180d fix(deps): update dependency webpack to v5.77.0 (#11415)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-29 12:27:21 -04:00
Barış Soner Uşaklı
80f7dce891 chore: up harmony 2023-03-29 11:55:16 -04:00
Misty Release Bot
d178920661 chore(i18n): fallback strings for new resources: nodebb.recent 2023-03-29 14:55:44 +00:00
Barış Soner Uşaklı
45addcf5ec refactor: simple load new posts 2023-03-29 10:55:17 -04:00
Julian Lam
b551b0ad47 Merge branch 'master' into develop 2023-03-29 10:32:37 -04:00
Julian Lam
7599870f1d docs: update readme with new screenshot and updated copy for Harmony 2023-03-29 10:32:23 -04:00
Julian Lam
c33730530e Revert "docs: update readme with new screenshot and updated copy for Harmony"
This reverts commit 67055006df.
2023-03-29 10:32:05 -04:00
Julian Lam
67055006df docs: update readme with new screenshot and updated copy for Harmony 2023-03-29 10:31:39 -04:00
Misty Release Bot
055f5b791c Latest translations and fallbacks 2023-03-29 09:18:30 +00:00
renovate[bot]
0e57afa9db chore(deps): update dependency @commitlint/cli to v17.5.1 (#11408)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 20:47:26 -04:00
renovate[bot]
9f5dc9adff fix(deps): update dependency nodebb-rewards-essentials to v0.2.3 (#11406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 11:44:38 -04:00
renovate[bot]
609c055807 fix(deps): update dependency nodebb-theme-persona to v13.0.55 (#11407)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 11:44:26 -04:00
Barış Soner Uşaklı
e0b2065802 test: update socket.io test 2023-03-28 08:15:42 -04:00
Barış Soner Uşaklı
4d2d76897a fix: don't crash on objects with toString property 2023-03-28 08:08:59 -04:00
Barış Soner Uşaklı
7397873db3 fix: fire action:user.online on user login 2023-03-27 22:16:41 -04:00
Julian Lam
7cb2e02cd7 fix: #11396, removal of base_templates_path variable 2023-03-27 14:48:50 -04:00
Julian Lam
491487a1a2 Merge remote-tracking branch 'origin/master' into develop 2023-03-27 14:16:14 -04:00
Misty Release Bot
188ec62f9a chore: update changelog for v2.8.10 2023-03-27 18:10:57 +00:00
Misty Release Bot
48c1c7594d chore: incrementing version number - v2.8.10 2023-03-27 18:10:57 +00:00
Barış Soner Uşaklı
69f24ed92a feat: add support for selected topic count 2023-03-27 11:09:22 -04:00
Julian Lam
830f142b7a fix: #11403, remove loader.js crash counter logic 2023-03-27 10:55:44 -04:00
Barış Soner Uşaklı
1aff9cad91 lint: fix arrow 2023-03-27 10:47:15 -04:00
Barış Soner Uşaklı
37b48b82a4 fix: don't crash if event name is not a string 2023-03-27 10:38:53 -04:00
Barış Soner Uşaklı
a83734fb2b fix: dont show search input if user doesn't have tag search priv 2023-03-27 09:39:57 -04:00
Barış Soner Uşaklı
68db271dfd chore: remove logs 2023-03-26 21:17:57 -04:00
Barış Soner Uşaklı
2c5a5bf366 feat: change chat notification delivery
instead of checking if user is online in the past x minutes, check if the user has read the room, if they have already marked the chat as read don't send notification
2023-03-26 21:13:07 -04:00
Barış Soner Uşaklı
2a9b3ee464 fix: add missing delete 2023-03-26 20:11:11 -04:00
Barış Soner Uşaklı
3f8344804a chore: up harmony 2023-03-26 14:42:52 -04:00
renovate[bot]
8906002772 fix(deps): update dependency esbuild to v0.17.14 (#11399)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-26 14:42:20 -04:00
renovate[bot]
415da6c2ed fix(deps): update dependency nodebb-theme-persona to v13.0.53 (#11401)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-26 14:41:43 -04:00
Barış Soner Uşaklı
9c0996e40a feat: add placeholder for category search 2023-03-26 14:16:54 -04:00
renovate[bot]
b17ab944e6 fix(deps): update dependency sharp to v0.32.0 (#11395)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-25 18:05:16 -04:00
renovate[bot]
4ab60c888c fix(deps): update dependency esbuild to v0.17.13 (#11397)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-25 18:05:07 -04:00
renovate[bot]
e753603e6a fix(deps): update dependency csrf-sync to v4.0.1 (#11398)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-25 18:02:01 -04:00
Misty Release Bot
b4292cf517 Latest translations and fallbacks 2023-03-25 09:17:57 +00:00
Julian Lam
33ad5a724a fix: buttons for post queue content editing 2023-03-24 16:35:41 -04:00
renovate[bot]
6947e60b47 fix(deps): update dependency @popperjs/core to v2.11.7 (#11394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 13:59:57 -04:00
renovate[bot]
034666b4c1 chore(deps): update dependency sass-embedded to v1.60.0 (#11392)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 13:16:04 -04:00
Barış Soner Uşaklı
7b7f473e14 chore: up themes 2023-03-24 11:57:52 -04:00
Barış Soner Uşaklı
6b89884dd5 use selected class for user status elements 2023-03-24 11:53:20 -04:00
Misty Release Bot
ae5d4025b2 Latest translations and fallbacks 2023-03-24 09:18:38 +00:00
renovate[bot]
400a7abf55 fix(deps): update dependency sass to v1.60.0 (#11391)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 19:56:39 -04:00
renovate[bot]
5d2900e95d fix(deps): update dependency rimraf to v4.4.1 (#11388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 19:56:30 -04:00
renovate[bot]
96305e12c9 fix(deps): update dependency @isaacs/ttlcache to v1.2.2 (#11389)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 19:56:14 -04:00
renovate[bot]
5a7104f13f fix(deps): update dependency html-to-text to v9.0.5 (#11390)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 19:55:59 -04:00
Misty Release Bot
1c0808d779 Latest translations and fallbacks 2023-03-23 09:18:16 +00:00
Barış Soner Uşaklı
1a07b77f88 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-03-22 19:58:55 -04:00
Barış Soner Uşaklı
361441bd02 chore: up harmony 2023-03-22 19:58:50 -04:00
Misty Release Bot
04652ceb95 chore(i18n): fallback strings for new resources: nodebb.topic 2023-03-22 23:58:34 +00:00
Barış Soner Uşaklı
661a6e0473 https://github.com/NodeBB/NodeBB/issues/11329 2023-03-22 19:58:05 -04:00
renovate[bot]
97f081353f fix(deps): update dependency helmet to v6 (#10891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 18:46:50 -04:00
renovate[bot]
98b58bcc3e fix(deps): update dependency nodebb-widget-essentials to v7.0.7 (#11387)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 18:07:55 -04:00
renovate[bot]
8c07a8d7e0 fix(deps): update dependency mkdirp to v2.1.6 (#11386)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 18:07:43 -04:00
renovate[bot]
69a7bfbe71 chore(deps): update dependency @commitlint/cli to v17.5.0 (#11384)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 18:03:45 -04:00
renovate[bot]
7f54709da7 fix(deps): update dependency webpack to v5.76.3 (#11385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-22 18:03:26 -04:00
Julian Lam
03e05b5154 fix: #9397, trash the active session on account lockout, if there is one 2023-03-22 17:08:37 -04:00
Julian Lam
e6e08d561b chore: bump version tag for RC 2023-03-22 13:33:39 -04:00
Julian Lam
596db09f7e Merge branch 'master' into develop 2023-03-22 10:50:29 -04:00
Julian Lam
ddd0324832 docs: fix openapi spec for new property in post queue route 2023-03-22 10:40:33 -04:00
Misty Release Bot
72bee50b97 Latest translations and fallbacks 2023-03-22 09:18:26 +00:00
Misty Release Bot
eaa5454fa1 chore(i18n): fallback strings for new resources: nodebb.post-queue 2023-03-21 20:05:47 +00:00
Julian Lam
ddcdaacc94 refactor: post-queue frontend logic 2023-03-21 14:59:18 -04:00
Barış Soner Uşaklı
4305c0a123 chore: up harmony 2023-03-21 12:13:41 -04:00
Barış Soner Uşaklı
e9a8e19508 chore: up composer-default 2023-03-21 10:13:21 -04:00
Misty Release Bot
542d830e40 Latest translations and fallbacks 2023-03-21 09:18:29 +00:00
Misty Release Bot
92ec5bd989 chore(i18n): fallback strings for new resources: nodebb.user 2023-03-21 00:51:34 +00:00
Barış Soner Uşaklı
77ddfc642e feat: closes #11139, move sort settings to user settings page
don't change user settings when user changes sort inside topic/category
2023-03-20 20:51:03 -04:00
Misty Release Bot
44c2d402a9 chore(i18n): fallback strings for new resources: nodebb.admin-settings-api 2023-03-20 21:28:12 +00:00
Julian Lam
92073cf274 test: fix openapi schema to reflect new route 2023-03-20 17:27:45 -04:00
Julian Lam
402229845c feat: display when an api key was last used, in ACP, #10873 2023-03-20 17:27:45 -04:00
Julian Lam
2614b95c40 fix: #11381, bug where the call to action:settings.sorted-list.itemLoaded did not properly pass in the correct element 2023-03-20 17:27:45 -04:00
Julian Lam
efa64032dd feat: log the last time a valid api token was seen, have v3 ping route go through setupApiRoute helper 2023-03-20 17:27:45 -04:00
renovate[bot]
7c780210a8 fix(deps): update dependency fs-extra to v11.1.1 (#11380)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-20 12:20:58 -04:00
Barış Soner Uşaklı
894f392bfc lint: whitespace 2023-03-20 11:17:05 -04:00
Barış Soner Uşaklı
c2961ad4cd fix: closes #11173, move cache clear code
if 2 deps were updated only one of them was cleared from require.cache. ie commander & lru-cache both has major version bump then only commander would be cleared from cache since it throws first
2023-03-20 11:05:48 -04:00
Misty Release Bot
3d2a28774f Latest translations and fallbacks 2023-03-20 09:18:43 +00:00
Misty Release Bot
18b2150edd chore: update changelog for v2.8.9 2023-03-19 16:31:26 +00:00
Misty Release Bot
fb100ac731 chore: incrementing version number - v2.8.9 2023-03-19 16:31:26 +00:00
Barış Soner Uşaklı
73a50d1718 chore: up cron 2023-03-19 12:21:06 -04:00
Misty Release Bot
cd5cf5cd0c Latest translations and fallbacks 2023-03-19 09:17:50 +00:00
Misty Release Bot
a3a7fac7b6 Latest translations and fallbacks 2023-03-18 09:17:54 +00:00
renovate[bot]
f286b66fe4 chore(deps): update postgres docker tag to v15 (#10976)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 20:15:28 -04:00
renovate[bot]
a2d3f6741c fix(deps): update dependency commander to v10 (#11208)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 20:12:14 -04:00
renovate[bot]
238a78098c fix(deps): update dependency lru-cache to v8.0.4 (#11378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 20:11:56 -04:00
renovate[bot]
f21c8ca4be chore(deps): update dependency @apidevtools/swagger-parser to v10 (#11207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 19:19:27 -04:00
Barış Soner Uşaklı
1502068eff chore: up rimraf to 4.x (#11377)
* chore: up rimraf to 4.x

* chore: oops up rimraf

* test: fix rimraf in tests
2023-03-17 19:09:50 -04:00
renovate[bot]
8ddb302f20 chore(deps): update docker/build-push-action action to v4 (#11245)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 18:31:22 -04:00
renovate[bot]
0d236adf2c fix(deps): update dependency lru-cache to v8 (#11356)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 18:31:03 -04:00
Barış Soner Uşaklı
fafa130406 chore: up connect-redis to 7.x, drop node 14 (#11376) 2023-03-17 18:30:05 -04:00
Julian Lam
93aa43f717 style: more fixes 2023-03-17 15:48:44 -04:00
Phạm Tấn Minh Tiến
9ed6961af8 fix lint 2023-03-17 15:48:44 -04:00
Phạm Tấn Minh Tiến
4b94c033c4 wrap quotes to prevent stripping leading 0 2023-03-17 15:48:44 -04:00
Julian Lam
c843984d57 fix: #11362, regular mods are also subject to post queue [breaking] 2023-03-17 15:26:35 -04:00
Barış Soner Uşaklı
7d831f0be3 chore: up harmony 2023-03-17 14:58:55 -04:00
Barış Soner Uşaklı
5db037f1ea chore: up mongo deps (#11375)
* chore: up mongo deps

* mongodb 5.x no more callbacks
2023-03-17 14:36:04 -04:00
renovate[bot]
75436dc02c fix(deps): update dependency ace-builds to v1.16.0 (#11372)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 12:57:57 -04:00
renovate[bot]
b0b060da2d fix(deps): update dependency sass to v1.59.3 (#11373)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 12:57:46 -04:00
renovate[bot]
2cde7231f5 chore(deps): update dependency sass-embedded to v1.59.3 (#11371)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 12:57:32 -04:00
renovate[bot]
6edb908b0b fix(deps): update dependency nodebb-plugin-spam-be-gone to v2.0.6 (#11370)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 12:53:18 -04:00
renovate[bot]
a5a4b307f3 chore(deps): update coverallsapp/github-action action to v2 (#11369)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 12:51:22 -04:00
renovate[bot]
ae9d6d775b fix(deps): update dependency cron to v2.3.0 (#11368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 12:47:02 -04:00
renovate[bot]
f90696de49 fix(deps): update dependency graceful-fs to v4.2.11 (#11367)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 12:46:49 -04:00
renovate[bot]
2273a8221a fix(deps): update dependency esbuild to v0.17.12 (#11366)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 12:24:46 -04:00
renovate[bot]
a5f19ee6ea fix(deps): update dependency webpack to v5.76.2 (#11361)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 12:24:32 -04:00
Barış Soner Uşaklı
7ba70d1561 Bootstrap5 (#10894)
* chore: up deps

* chore: up composer

* fix(deps): bump 2factor to v7

* chore: up harmony

* chore: up harmony

* fix: missing await

* feat: allow middlewares to pass in template values via res.locals

* feat: buildAccountData middleware automatically added ot all account routes

* fix: properly allow values in res.locals.templateValues to be added to the template data

* refactor: user/blocks

* refactor(accounts): categories and consent

* feat: automatically 404 if exposeUid or exposeGroupName come up empty

* refactor: remove calls to getUserDataByUserSlug for most account routes, since it is populated via middleware now

* fix: allow exposeUid and exposeGroupName to work with slugs with mixed capitalization

* fix: move reputation removal check to accountHelpers method

* test: skip i18n tests if ref branch when present is not develop

* fix(deps): bump theme versions

* fix(deps): bump ntfy and 2factor

* chore: up harmony

* fix: add missing return

* fix: #11191, only focus on search input on md environments and up

* feat: allow file uploads on mobile chat

closes https://github.com/NodeBB/NodeBB/issues/11217

* chore: up themes

* chore: add lang string

* fix(deps): bump ntfy to 1.0.15

* refactor: use new if/each syntax

* chore: up composer

* fix: regression from user helper refactor

* chore: up harmony

* chore: up composer

* chore: up harmony

* chore: up harmony

* chore: up harmony

* chore: fix composer version

* feat: add increment helper

* chore: up harmony

* fix: #11228 no timestamps in future 

* chore: up harmony

* check config.theme as well

fire action:posts.loaded after processing dom

* chore: up harmony

* chore: up harmony

* chore: up harmony

* chore: up themes

* chore: up harmony

* remove extra class

* refactor: move these to core from harmony

* chore: up widgets

* chore: up widgets

* height auto

* fix: closes #11238

* dont focus inputs, annoying on mobile

* fix: dont focus twice, only focus on chat input on desktop

dont wrap widget footer in row

* chore: up harmony

* chore: up harmony

* update chat window

* chore: up themes

* fix cache buster for skins

* chat fixes

* chore: up harmony

* chore: up composer

* refactor: change hook logs to debug

* fix: scroll to post right after adding to dom

* fix: hash scrolling and highlighting correct post

* test: re-enable read API schema tests

* fix: add back schema changes for 179faa2270 and c3920ccb10

* fix: schema changes from 488f0978a4

* fix: schema changes for f4cf482a87

* fix: schema update for be6bbabd0e

* fix: schema changes for 69c96078ea

* fix: schema changes for d1364c3130

* fix: schema changes for 84ff1152f7

* fix: schema changes for b860c2605c

* fix: schema changes for 23cb67a112

* fix: schema changes for b916e42f40

* fix: schema change for a9bbb586fc

* fix: schema changes for 4b738c8cd3

* fix: schema changes for 58b5781cea

* fix: schema changes for 794bf01b21

* fix: schema changes for 80ea12c1c1, e368feef51, and 52ead114be

* fix: composer-default object in config?

* fix: schema changes for 9acdc6808c and 0930934200

* fix: schema changes for c0a52924f1

* fix: schema change for aba420a3f3, move loggedInUser to optional props

* fix: schema changes for 8c67031609

* fix: schema changes for 27e53b42f3

* fix: schema changes for 2835966518

* fix: breaking test for email confirmation API call

* fix: schema changes for refactored search page

* fix: schema changes for user object

* fix: schema changes for 9f531f957e

* fix: schema changes for c4042c70de and 23175110a2

* fix: schema changes for 9b3616b103

* fix: schema changes for 5afd5de07d

* fix: schema change for 1d7baf1217

* fix: schema changes for 57bfb37c55 and be6bbabd0e

* fix: schema changes for 6e86b4afa2 and 3efad2e13b and 68f66223e7

* fix: allowing optional qs prop in pagination keys (not sure why this didn't break before)

* fix: re-login on email change

* fix: schema changes for c926358d73

* fix: schema changes for 388a8270c9

* fix: schema change for 2658bcc821

* fix: no need to call account middlewares for chats routes

* fix: schema changes for 71743affc3

* fix: final schema changes

* test: support for anyOf and oneOf

* fix: check thumb

* dont scroll to top on back press

* remove group log

* fix: add top margin to merged and deleted alerts

* chore: up widgets

* fix: improve fix-lists mixin

* chore: up harmony/composer

* feat: allow hiding quicksearch results during search

* dont record searches made by composer

* chore: up 54

* chore: up spam be gone

* feat: add prev/next page and page count into mobile paginator

* chore: up harmony

* chore: up harmony

* use old style for IS

* fix: hide entire toolbar row if no posts or not singlePost

* fix: updated messaging for post-queue template, #11206

* fix: btn-sm on post queue back button

* fix: bump harmony, closes #11206

* fix: remove unused alert module import

* fix: bump harmony

* fix: bump harmony

* chore: up harmony

* refactor: IS scrolltop

* fix: update users:search-user-for-chat source string

* feat: support for mark-read toggle on chats dropdown and recent chats list

* feat: api v3 calls to mark chat read/unread

* feat: send event:chats.mark socket event on mark read or unread

* refactor: allow frontend to mark chats as unread, use new API v3 routes instead of socket calls, better frontend event handling

* docs: openapi schema updates for chat marking

* fix: allow unread state toggling in chats dropdown too

* fix: issue where repeated openings of the chats dropdown would continually add events for mark-read/unread

* fix: debug log

* refactor: move userSearch filter to a module

* feat(routes): allow remounting /categories (#11230)

* feat: send flags count to frontend on flags list page

* refactor: filter form client-side js to extract out some logic

* fix: applyFilters to not take any arguments, update selectedCids in updateButton instead of onHidden

* fix: use userFilter module for assignee, reporterId, targetUid

* fix(openapi): schema changes for updated flags page

* fix: dont allow adding duplicates to userFilter

* use same var

* remove log

* fix: closes #11282

* feat: lang key for x-topics

* chore: up harmony

* chore: up emoji

* chore: up harmony

* fix: update userFilter to allow new option `selectedBlock`

* fix: wrong block name passed to userFilter

* fix: https://github.com/NodeBB/NodeBB/issues/11283

* fix: chats, allow multiple dropdowns like in harmony

* chore: up harmony

* refactor: flag note adding/editing, closes #11285

* fix: remove old prepareEdit logic

* chore: add caveat about hacky code block in userFilter module

* fix: placeholders for userFilter module

* refactor: navigator so it works with multiple thumbs/navigators

* chore: up harmony

* fix: closes #11287, destroy quick reply autocomplete

on navigation

* fix: filter disabled categories on user categories page count

* chore: up harmony

* docs: update openapi spec to include info about passing in timestamps for topic creation, removing timestamp as valid request param for topic replying

* fix: send back null values on ACP search dashboard for startDate and endDate if not expicitly passed in, fix tests

* fix: tweak table order in ACP dash searches

* fix: only invoke navigator click drag on left mouse button

* feat: add back unread indicator to navigator

* clear bookmark on mark unread

* fix: navigator crash on ajaxify

* better thumb top calculation

* fix: reset user bookmark when topic is marked unread

* Revert "fix: reset user bookmark when topic is marked unread"

This reverts commit 9bcd85c2c6.

* fix: update unread indicator on scroll, add unread count

* chore: bump harmony

* fix: crash on navigator unread update when backing out of a topic

* fix: closes #11183

* fix: update topics:recent zset when rescheduling a topic

* fix: dupe quote button, increase delay, hide immediately on empty selection

* fix: navigator not showing up on first load

* refactor: remove glance

assorted fixes to navigator
dont reduce remaning count if user scrolls down and up quickly
only call topic.navigatorCallback when index changes

* more sanity checks for bookmark

dont allow setting bookmark higher than topic postcount

* closes #11218, 🚋

* Revert "fix: update topics:recent zset when rescheduling a topic"

This reverts commit 737973cca9.

* fix: #11306, show proper error if queued post doesn't exist

was showing no-privileges if someone else accepted the post

* https://github.com/NodeBB/NodeBB/issues/11307

dont use li

* chore: up harmony

* chore: bump version string

* fix: copy paste fail

* feat: closes #7382, tag filtering

add client side support for filtering by tags on /category, /recent and /unread

* chore: up harmony

* chore: up harmony

* Revert "fix: add back req.query fallback for backwards compatibility" [breaking]

This reverts commit cf6cc2c454.
This commit is no longer required as passing in a CSRF token via query parameter is no longer supported as of NodeBB v3.x

This is a breaking change.

* fix: pass csrf token in form data, re: NodeBB/NodeBB#11309

* chore: up deps

* fix: tests, use x-csrf-token query param removed

* test: fix csrf_token

* lint: remove unused

* feat: add itemprop="image" to avatar helper

* fix: get chat upload button in chat modal

* breaking: remove deprecated socket.io methods

* test: update messaging tests to not use sockets

* fix: parent post links

* fix: prevent post tooltip if mouse leaves before data/tpl is loaded

* chore: up harmony

* chore: up harmony

* chore: up harmony

* chore: up harmony

* fix: nested replies indices

* fix(deps): bump 2factor

* feat: add loggedIn user to all api routes

* chore: up themes

* refactor: audit admin v3 write api routes as per #11321

* refactor: audit category v3 write api routes as per #11321 [breaking]

docs: fix open api spec for #11321

* refactor: audit chat v3 write api routes as per #11321

* refactor: audit files v3 write api routes as per #11321

* refactor: audit flags v3 write api routes as per #11321

* refactor: audit posts v3 write api routes as per #11321

* refactor: audit topics v3 write api routes as per #11321

* refactor: audit users v3 write api routes as per #11321

* fix: lang string

* remove min height

* fix: empty topic/labels taking up space

* fix: tag filtering when changing filter to watched topics

or changing popular time limit to month

* chore: up harmony

* fix: closes #11354, show no post error if queued post already accepted/rejected

* test: #11354

* test: #11354

* fix(deps): bump 2factor

* fix: #11357 clear cache on thumb remove

* fix: thumb remove on windows, closes #11357

* test: openapi for thumbs

* test: fix openapi

---------

Co-authored-by: Julian Lam <julian@nodebb.org>
Co-authored-by: Opliko <opliko.reg@protonmail.com>
2023-03-17 11:58:31 -04:00
Barış Soner Uşaklı
9e685e657a test: openapi for thumbs 2023-03-15 15:18:05 -04:00
Barış Soner Uşaklı
767c1d1faf fix: thumb remove on windows, closes #11357 2023-03-14 15:09:12 -04:00
Barış Soner Uşaklı
1e7f32b1c4 fix: #11357 clear cache on thumb remove 2023-03-14 14:46:17 -04:00
Barış Soner Uşaklı
a3a38e4ba3 fix: #11357 clear cache on thumb remove 2023-03-14 14:30:46 -04:00
renovate[bot]
ae53a6e046 chore(deps): update dependency jsdom to v21.1.1 (#11355)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-13 13:39:13 -04:00
renovate[bot]
967c0ccfa1 fix(deps): update dependency webpack to v5.76.1 (#11348)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-11 16:19:53 -05:00
renovate[bot]
50f1476831 chore(deps): update dependency eslint to v8.36.0 (#11349)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-11 16:17:16 -05:00
Barış Soner Uşaklı
cfd5027245 fix: closes #11352, try/catch rss feeds 2023-03-11 16:07:02 -05:00
renovate[bot]
5afea4b780 fix(deps): update dependency autoprefixer to v10.4.14 (#11344)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-10 12:51:37 -05:00
renovate[bot]
29fbecfc7b fix(deps): update dependency terser-webpack-plugin to v5.3.7 (#11345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-10 12:51:23 -05:00
renovate[bot]
d8f787eb17 chore(deps): update dependency lint-staged to v13.2.0 (#11346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-10 12:51:15 -05:00
renovate[bot]
87be26940f chore(deps): update dependency jquery to v3.6.4 (#11339)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-10 12:22:41 -05:00
renovate[bot]
b543a0d05a fix(deps): update dependency webpack to v5.76.0 (#11341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-10 12:04:59 -05:00
renovate[bot]
5fa38fbe86 fix(deps): update dependency nodebb-plugin-spam-be-gone to v1.0.3 (#11340)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-10 12:04:49 -05:00
Barış Soner Uşaklı
56427e4f9d fix: closes #11343, don't crash if tags array is empty 2023-03-10 11:40:02 -05:00
Misty Release Bot
6efff5a52e Latest translations and fallbacks 2023-03-10 09:18:12 +00:00
Misty Release Bot
c03d5db71e chore: update changelog for v2.8.8 2023-03-09 14:58:28 +00:00
Misty Release Bot
f5a59991fc chore: incrementing version number - v2.8.8 2023-03-09 14:58:28 +00:00
Julian Lam
22fc8fe38f fix: stop topic navigation hotkeys from firing if in a mousetrap-enabled form element 2023-03-09 09:55:32 -05:00
Julian Lam
17d0b40efa fix: stop topic navigation hotkeys from firing if in a mousetrap-enabled form element 2023-03-09 09:44:06 -05:00
renovate[bot]
34cf64f5ac fix(deps): update dependency pg-cursor to v2.9.0 (#11338)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 18:37:45 -05:00
Barış Soner Uşaklı
1545223e7f fix: tag filtering when changing filter to watched topics
or changing popular time limit to month
2023-03-08 18:28:55 -05:00
renovate[bot]
9a7f73ca68 fix(deps): update dependency pg to v8.10.0 (#11337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-07 19:11:13 -05:00
Barış Soner Uşaklı
f054a4f44d fix: get cid from pid instead of passing in 2023-03-06 09:44:21 -05:00
renovate[bot]
a85276a680 fix(deps): update dependency mkdirp to v2.1.5 (#11336)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-05 21:14:47 -05:00
renovate[bot]
b70716f130 fix(deps): update dependency lru-cache to v7.18.3 (#11335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-05 20:47:11 -05:00
renovate[bot]
18b3ac6e23 fix(deps): update dependency esbuild to v0.17.11 (#11333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-04 18:14:20 -05:00
renovate[bot]
b8efa4664d fix(deps): update dependency ace-builds to v1.15.3 (#11332)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-04 12:37:45 -05:00
Misty Release Bot
f43dcdc5e5 Latest translations and fallbacks 2023-03-04 09:17:56 +00:00
renovate[bot]
a6f22afafa fix(deps): update dependency mkdirp to v2.1.4 (#11330)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-03 11:25:28 -05:00
Barış Soner Uşaklı
8c762d3228 fix: closes #11331, allow 0 length content if set to 0 in acp 2023-03-03 09:30:51 -05:00
Misty Release Bot
f1b2d678fa Latest translations and fallbacks 2023-03-03 09:18:19 +00:00
renovate[bot]
b526d42ed9 fix(deps): update dependency lru-cache to v7.18.1 (#11327)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-02 11:49:14 -05:00
Misty Release Bot
44cbb484d7 Latest translations and fallbacks 2023-03-02 09:18:24 +00:00
renovate[bot]
e8e35de390 chore(deps): update coverallsapp/github-action action to v1.2.4 (#11323)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-01 10:55:17 -05:00
Misty Release Bot
2ca38e7b95 chore: update changelog for v2.8.7 2023-03-01 15:51:30 +00:00
Misty Release Bot
6976925943 chore: incrementing version number - v2.8.7 2023-03-01 15:51:30 +00:00
Misty Release Bot
c75ec225b4 Latest translations and fallbacks 2023-03-01 09:18:27 +00:00
renovate[bot]
f155eedb8d chore(deps): update dependency eslint to v8.35.0 (#11324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-28 11:08:48 -05:00
Barış Soner Uşaklı
791551098c fix: display 25 topics on category feed 2023-02-27 09:47:28 -05:00
Barış Soner Uşaklı
ec58700f6d fix: object destructuring overwriting type parameter
also check for valid types in generateExport
2023-02-27 09:10:53 -05:00
Julian Lam
e6d7e55fbc fix: missing postAtIndex handling 2023-02-24 14:23:46 -05:00
Julian Lam
4cf04f06f6 feat: add rel="author" to topic route
re: #11248
2023-02-24 14:05:25 -05:00
Julian Lam
36bcdf8f9d Merge branch 'master' into develop 2023-02-24 13:40:58 -05:00
Barış Soner Uşaklı
8cf4a6f62e fix: alert on page load 2023-02-24 13:40:37 -05:00
renovate[bot]
22a3ba65a2 fix(deps): update dependency nodebb-plugin-mentions to v3.0.13 (#11320)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 13:24:19 -05:00
renovate[bot]
a4aeee968a chore(deps): update commitlint monorepo to v17.4.4 (#11317)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 12:53:55 -05:00
renovate[bot]
b75212f757 fix(deps): update dependency yargs to v17.7.1 (#11316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 11:08:56 -05:00
renovate[bot]
3d85584234 fix(deps): update dependency sanitize-html to v2.10.0 (#11319)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 11:08:40 -05:00
renovate[bot]
17c2467dd1 fix(deps): update socket.io packages to v4.6.1 (#11318)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 11:08:06 -05:00
renovate[bot]
4211e4ddb2 fix(deps): update dependency lru-cache to v7.17.0 (#11315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 11:07:45 -05:00
renovate[bot]
02d69920ae fix(deps): update dependency body-parser to v1.20.2 (#11313)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 11:07:23 -05:00
renovate[bot]
865e150691 fix(deps): update dependency esbuild to v0.17.10 (#11314)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 11:07:06 -05:00
gasoved
5a2c6c1cb5 fix: update main post timestamp when rescheduling 2023-02-22 10:19:22 -05:00
Julian Lam
c76e344f37 fix(deps): bump theme versions 2023-02-22 10:18:42 -05:00
Julian Lam
83d3633626 fix: add back req.query fallback for backwards compatibility 2023-02-22 10:18:42 -05:00
psibean
ea95668a76 fix: update csrf parser to accept csrf_token form value if present 2023-02-22 10:18:42 -05:00
Eldor
3bd9a87154 fix: show error alert if password change fails 2023-02-22 09:06:51 -05:00
Misty Release Bot
cc147ab31d Latest translations and fallbacks 2023-02-20 09:18:07 +00:00
psibean
0b2dd4e367 Update csrf_token falee assignment to false 2023-02-17 14:58:04 -05:00
psibean
f553da48e1 Update csrf-sync to fallback to _csrf query param 2023-02-17 14:58:04 -05:00
Julian Lam
bb0397cbc8 lint: satisfy lint errors 2023-02-17 14:58:04 -05:00
psibean
5a994290f2 Replace csurf with csrf-sync 2023-02-17 14:58:04 -05:00
Misty Release Bot
b00cd8be41 Latest translations and fallbacks 2023-02-17 09:18:06 +00:00
renovate[bot]
affac5692a fix(deps): update dependency lru-cache to v7.15.0 (#11305)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 18:29:07 -05:00
renovate[bot]
01b2915e1c fix(deps): update dependency ace-builds to v1.15.2 (#11304)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 18:28:53 -05:00
gasoved
edd2fc38fc fix: update main post timestamp when rescheduling 2023-02-16 14:10:07 -05:00
renovate[bot]
0ad5f4761b fix(deps): update dependency nodebb-plugin-composer-default to v9.2.5 (#11301)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-15 10:38:39 -05:00
renovate[bot]
e29b9b1db2 fix(deps): update dependency logrotate-stream to v0.2.9 (#11300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-15 10:30:47 -05:00
renovate[bot]
1a0910bba4 fix(deps): update dependency ace-builds to v1.15.1 (#11299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-15 10:30:36 -05:00
renovate[bot]
45c3b9dfa1 chore(deps): update dependency lint-staged to v13.1.2 (#11298)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-15 10:24:42 -05:00
Julian Lam
607c8d9052 Merge branch 'master' into develop 2023-02-13 12:15:54 -05:00
Julian Lam
1b29dbb69d test: add dummy emailer hook in authentication test 2023-02-13 12:15:45 -05:00
Julian Lam
dbc84f7571 Merge branch 'master' into develop 2023-02-13 11:45:04 -05:00
Julian Lam
40e7b86da9 docs: update openapi spec to include info about passing in timestamps for topic creation, removing timestamp as valid request param for topic replying 2023-02-13 11:44:54 -05:00
renovate[bot]
4d68b0d495 chore(deps): update dependency lint-staged to v13.1.1 (#11268)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 11:33:17 -05:00
renovate[bot]
330f7ec838 chore(deps): update dependency eslint to v8.34.0 (#11291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 11:33:08 -05:00
renovate[bot]
75bd6caa6d fix(deps): update dependency ioredis to v5.3.1 (#11294)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 10:37:24 -05:00
renovate[bot]
558c1c98d5 chore(deps): update commitlint monorepo to v17.4.3 (#11293)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 10:36:59 -05:00
renovate[bot]
b9bb053266 fix(deps): update socket.io packages to v4.6.0 (#11272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 09:33:04 -05:00
renovate[bot]
3ef4922386 fix(deps): update dependency html-to-text to v9.0.4 (#11290)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 09:26:46 -05:00
renovate[bot]
e4e01f471c fix(deps): update dependency benchpressjs to v2.5.1 (#11270)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 09:25:32 -05:00
renovate[bot]
2f5f47ea8f fix(deps): update dependency esbuild to v0.17.8 (#11289)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 09:24:12 -05:00
Misty Release Bot
24bc4809b8 Latest translations and fallbacks 2023-02-12 09:17:53 +00:00
renovate[bot]
7abcf80a55 fix(deps): update dependency @socket.io/redis-adapter to v8.1.0 (#11269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-11 11:10:02 -05:00
renovate[bot]
98395d1833 fix(deps): update dependency mongodb to v4.14.0 (#11271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-11 11:09:20 -05:00
Misty Release Bot
871ec640f3 Latest translations and fallbacks 2023-02-11 09:18:08 +00:00
Misty Release Bot
c4b322f4ba Latest translations and fallbacks 2023-02-09 09:18:05 +00:00
Barış Soner Uşaklı
326b92687f fix: show admins/globalmods if content is purged 2023-02-08 17:35:38 -05:00
renovate[bot]
145dcb2fba fix(deps): update dependency esbuild to v0.17.6 (#11266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-08 13:38:46 -05:00
Barış Soner Uşaklı
e335d0f601 fix: email expiry timestamps
emailConfirmExpiry is hours and default is 24
2023-02-08 13:22:16 -05:00
Misty Release Bot
585523009f chore(i18n): fallback strings for new resources: nodebb.admin-dashboard 2023-02-08 15:57:08 +00:00
Barış Soner Uşaklı
ebb5d2d25c feat: search dashboard time range 2023-02-08 10:56:37 -05:00
Misty Release Bot
53fbe2a7a1 Latest translations and fallbacks 2023-02-07 09:18:08 +00:00
renovate[bot]
9f0c352ebd chore(deps): update dependency grunt to v1.6.1 (#11244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-06 10:45:15 -05:00
Barış Soner Uşaklı
845c8013b6 fix: #11259, clean old emails when updating via admin (#11260)
when admin is changing users emails check if its avaiable and remove old email of user first
upgrade script to cleanup email:uid, email:sorted, will remove entries if user doesn't exist or doesn't have email or if entry in user hash doesn't match entry in email:uid
fix missing ! in email interstitial
fix missing await in canSendValidation,
fix broken tests
dont pass sessionId to email.remove if admin is changing/removing email
2023-02-06 10:45:01 -05:00
renovate[bot]
0e9cfcad54 fix(deps): update dependency sanitize-html to v2.9.0 (#11261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-05 19:17:02 -05:00
renovate[bot]
7cdbf77d95 fix(deps): update dependency validator to v13.9.0 (#11262)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-05 19:16:44 -05:00
renovate[bot]
eeca887b03 chore(deps): update dependency eslint to v8.33.0 (#11243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-04 22:32:01 -05:00
Julian Lam
046c8a6ab7 Merge branch 'master' into develop 2023-02-03 16:02:11 -05:00
Julian Lam
7a5bcc2171 fix: #11257, onSuccessfulLogin called with improper uid 2023-02-03 16:01:31 -05:00
Misty Release Bot
f3306d038a chore: update changelog for v2.8.6 2023-02-03 16:39:40 +00:00
Misty Release Bot
76732140f3 chore: incrementing version number - v2.8.6 2023-02-03 16:39:40 +00:00
Barış Soner Uşaklı
bf92ee0e5f feat: add sitemap filter hooks for categories/topic pages 2023-02-03 09:46:02 -05:00
Misty Release Bot
a573a3b7b4 Latest translations and fallbacks 2023-02-03 09:18:00 +00:00
Julian Lam
9007ace136 fix: schema changes for #11206 2023-02-02 15:52:43 -05:00
Julian Lam
5dc4d2852d fix(deps): bump persona theme 2023-02-02 14:48:34 -05:00
Misty Release Bot
7439d0a610 chore(i18n): fallback strings for new resources: nodebb.post-queue 2023-02-02 19:43:05 +00:00
Julian Lam
966724adfe fix: new language keys for #11206 2023-02-02 14:42:31 -05:00
Misty Release Bot
8335f90ae0 chore(i18n): fallback strings for new resources: nodebb.error 2023-02-02 13:37:19 -05:00
Misty Release Bot
7bc22a5993 chore(i18n): fallback strings for new resources: nodebb.error 2023-02-02 18:35:29 +00:00
Julian Lam
a382e6e2e5 Merge branch 'master' into develop 2023-02-02 13:34:55 -05:00
nesro
202378b939 fix: #11254, return check for reroll property 2023-02-02 09:15:04 -05:00
Barış Soner Uşaklı
705cd13ad3 fix: closes #11249, notification uses displayname 2023-01-31 17:27:25 -05:00
Misty Release Bot
1b9f6d8250 Latest translations and fallbacks 2023-01-31 09:17:50 +00:00
renovate[bot]
6c872a05a3 fix(deps): update dependency pg-cursor to v2.8.0 (#11236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-30 19:42:50 -05:00
Julian Lam
b5598a6e5d fix: wrong link to topics in acp dashboard 2023-01-30 15:05:57 -05:00
Barış Soner Uşaklı
c241baf641 feat: closes #11241, add missing error lang keys 2023-01-30 12:40:24 -05:00
Barış Soner Uşaklı
d68352cce5 lint: remove unused 2023-01-30 12:35:08 -05:00
Barış Soner Uşaklı
0713482bd4 feat: #11240, only show relevant users in flags assignee list
for user flags-> admins + all users who have `admin:users` privilege
for post flags -> admins + global mods + moderators of the category the post is in
refactor getModeratorUids function so it can be used for different privileges
2023-01-30 12:26:08 -05:00
Barış Soner Uşaklı
1d3c0e5a2b fix: https://github.com/NodeBB/NodeBB/issues/11239
parseInt uid received from req.body._uid or req.query._uid
2023-01-30 11:48:10 -05:00
Barış Soner Uşaklı
6d819b056e fix: notif filter selecte field 2023-01-30 10:43:02 -05:00
renovate[bot]
c271762ca0 fix(deps): update dependency nodebb-rewards-essentials to v0.2.2 (#11234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-28 23:29:37 -05:00
renovate[bot]
972d17702f fix(deps): update dependency pg to v8.9.0 (#11235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-28 23:29:20 -05:00
renovate[bot]
1a28598b98 fix(deps): update dependency esbuild to v0.17.5 (#11233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-28 23:29:06 -05:00
renovate[bot]
9b34ab66f6 fix(deps): update dependency ace-builds to v1.15.0 (#11223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 10:53:49 -05:00
renovate[bot]
3749351451 fix(deps): update dependency ioredis to v5.3.0 (#11224)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 10:53:32 -05:00
renovate[bot]
94074e9092 fix(deps): update dependency nodebb-theme-persona to v12.1.14 (#11221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 10:52:21 -05:00
renovate[bot]
0e0176a1dc fix(deps): update dependency nodemailer to v6.9.1 (#11222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 10:51:56 -05:00
renovate[bot]
466c7a3a22 fix(deps): update dependency mkdirp to v2 (#11211)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 09:50:33 -05:00
Misty Release Bot
24e58c2895 chore: update changelog for v2.8.5 2023-01-27 14:35:25 +00:00
Misty Release Bot
93ccf604db chore: incrementing version number - v2.8.5 2023-01-27 14:35:24 +00:00
Peter Jaszkowiak
f6c96948fe fix: import resolution within plugin modules (#11219)
use module.exports = require('..')
export * from '..' didn't work in some cases
2023-01-27 09:17:38 -05:00
Misty Release Bot
c13f0e2128 chore: update changelog for v2.8.4 2023-01-26 14:38:07 +00:00
Misty Release Bot
b9553613ab chore: incrementing version number - v2.8.4 2023-01-26 14:38:06 +00:00
Barış Soner Uşaklı
c3653bee60 Revert "fix: import resolution within plugin modules (#11200)"
This reverts commit 89e059a084.
2023-01-26 09:27:16 -05:00
Barış Soner Uşaklı
79731735c0 feat: allow file uploads on mobile chat
closes https://github.com/NodeBB/NodeBB/issues/11217
2023-01-25 20:50:46 -05:00
Misty Release Bot
eb2841eed3 chore: update changelog for v2.8.3 2023-01-25 19:37:34 +00:00
Misty Release Bot
4c46ff42f6 chore: incrementing version number - v2.8.3 2023-01-25 19:37:33 +00:00
renovate[bot]
557198a377 fix(deps): update dependency ioredis to v5.2.6 (#11210)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-25 09:53:48 -05:00
renovate[bot]
69f4ff7588 fix(deps): update dependency nodemailer to v6.9.0 (#11205)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 20:46:12 -05:00
renovate[bot]
a2b0053426 fix(deps): update dependency ioredis to v5.2.5 (#11187)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 20:45:57 -05:00
renovate[bot]
d0e3eadb4c fix(deps): update dependency esbuild to v0.17.4 (#11204)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 20:45:43 -05:00
renovate[bot]
09712b5739 chore(deps): update dependency jsdom to v21.1.0 (#11202)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 20:45:14 -05:00
renovate[bot]
5648c8eaf1 chore(deps): update commitlint monorepo to v17.4.2 (#11186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 19:59:40 -05:00
renovate[bot]
56731d89bc chore(deps): update dependency eslint to v8.32.0 (#11189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 19:59:23 -05:00
Peter Jaszkowiak
89e059a084 fix: import resolution within plugin modules (#11200) 2023-01-24 19:59:06 -05:00
renovate[bot]
2994c42b99 fix(deps): update dependency nodebb-theme-persona to v12.1.13 2023-01-24 09:25:07 -05:00
renovate[bot]
c1785080b0 chore(deps): update dependency @apidevtools/swagger-parser to v9.0.1 2023-01-24 09:22:19 -05:00
renovate[bot]
f846153856 chore(deps): update dependency eslint-plugin-import to v2.27.5 2023-01-23 19:23:35 -05:00
Julian Lam
937344b8a8 Merge remote-tracking branch 'origin/master' into develop 2023-01-23 16:06:21 -05:00
Julian Lam
fecd84d1a0 revert: a788bd1344 2023-01-23 15:19:47 -05:00
Julian Lam
00e48803a6 fix(deps): downgrade swagger-parser to v9 2023-01-23 15:19:40 -05:00
Julian Lam
a788bd1344 revert: 9c250b78b0, fix: comment out broken test for now 2023-01-23 12:51:42 -05:00
Barış Soner Uşaklı
9f38692369 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2023-01-23 11:40:22 -05:00
Barış Soner Uşaklı
0bffd3d93c fix: #11195, allow users with admin:users privilege to delete users in acp 2023-01-23 11:40:17 -05:00
Julian Lam
9c250b78b0 fix(deps): pinning sub dependency json-schema-ref-parser to 9.0.9
ref: https://github.com/APIDevTools/json-schema-ref-parser/issues/298
2023-01-23 11:28:03 -05:00
Barış Soner Uşaklı
7d04e95226 fix: #11194, allow access to sub dashboard pages 2023-01-23 11:09:19 -05:00
Julian Lam
c99728e0c4 Merge branch 'master' into develop 2023-01-23 09:59:22 -05:00
Julian Lam
f295174e07 test: fix broken test 2023-01-23 09:58:51 -05:00
Misty Release Bot
cfb484e775 Latest translations and fallbacks 2023-01-23 09:17:53 +00:00
Julian Lam
38175b5e71 test: fix broken test 2023-01-21 14:34:01 -05:00
Julian Lam
fdc41646d1 feat: api v3 route to add email to user, optionally bypassing validation email, closes #11009 2023-01-21 14:22:34 -05:00
renovate[bot]
aa873e805f fix(deps): update dependency @socket.io/redis-adapter to v8.0.1 2023-01-21 14:21:13 -05:00
renovate[bot]
79cd4a36d9 fix(deps): update dependency jsonwebtoken to v9 2023-01-21 14:19:48 -05:00
renovate[bot]
8dc96894ea fix(deps): update dependency nodebb-plugin-2factor to v5.1.3 2023-01-21 14:12:26 -05:00
Julian Lam
eab5ab7ff9 Merge branch 'master' into develop 2023-01-19 15:39:02 -05:00
Julian Lam
459bc52338 fix: #11136, tests, and returning the proper number of arrays 2023-01-18 15:08:35 -05:00
Julian Lam
39e009c05a fix: #11136, only show mods of active categories when getModeratorUids is called 2023-01-18 14:47:10 -05:00
Barış Soner Uşaklı
747cb1f0a1 fix: closes #11173, clear require cache if wrong dependency is installed 2023-01-18 09:40:00 -05:00
Misty Release Bot
ee9631991c Latest translations and fallbacks 2023-01-16 09:17:57 +00:00
Misty Release Bot
df81fec76d Latest translations and fallbacks 2023-01-15 09:17:43 +00:00
Julian Lam
44ec8ba50e Merge remote-tracking branch 'origin/master' into develop 2023-01-13 13:41:23 -05:00
Julian Lam
48c9f4470f chore: remove extraneous lines from changelog 2023-01-13 13:38:45 -05:00
Misty Release Bot
66aa31698f chore: update changelog for v2.8.2 2023-01-13 18:38:13 +00:00
Misty Release Bot
1d5eff2365 chore: incrementing version number - v2.8.2 2023-01-13 18:38:12 +00:00
Julian Lam
a69bc2cf7f fix: remove unneeded assignment, as req and locals will not likely ever be completely reassigned 2023-01-13 10:04:58 -05:00
Julian Lam
25ae58e8a0 fix: move call to filter:middleware.buildHeader out of parallel so that req can be overridden by plugins prior to loading config 2023-01-13 09:53:14 -05:00
Misty Release Bot
28613e70e8 Latest translations and fallbacks 2023-01-12 09:18:03 +00:00
renovate[bot]
aaf9abed07 fix(deps): update dependency cron to v2.2.0 (#11140)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-11 16:52:42 -05:00
Julian Lam
0a691e6744 fix: move call to filter:middleware.buildHeader out of parallel so that req can be overridden by plugins prior to loading config 2023-01-10 11:08:29 -05:00
renovate[bot]
66b41d6763 chore(deps): update dependency @commitlint/cli to v17.4.1 (#11137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 09:31:19 -05:00
renovate[bot]
4b147ee242 fix(deps): update dependency esbuild to v0.16.16 (#11135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-10 09:31:08 -05:00
Misty Release Bot
d8184c24b1 Latest translations and fallbacks 2023-01-09 09:17:56 +00:00
renovate[bot]
aced93de16 fix(deps): update dependency commander to v9.5.0 (#11133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 20:30:08 -05:00
renovate[bot]
7905d5733a chore(deps): update dependency jsdom to v21 (#11134)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-08 20:29:47 -05:00
renovate[bot]
aa6788b7db fix(deps): update dependency postcss to v8.4.21 (#11130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-07 18:41:15 -05:00
renovate[bot]
581960de8a fix(deps): update dependency esbuild to v0.16.15 (#11132)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-07 18:40:58 -05:00
Misty Release Bot
80a27df0d9 Latest translations and fallbacks 2023-01-07 09:17:31 +00:00
Misty Release Bot
97ac3781f1 Latest translations and fallbacks 2023-01-05 20:46:21 +00:00
Misty Release Bot
0767ed5727 chore(i18n): fallback strings for new resources: nodebb.admin-settings-user 2023-01-05 20:22:56 +00:00
Julian Lam
69806662e6 Session Timeout if "Remember Me" is not checked (#11125)
* fix: convert loginDays and loginSeconds to number inputs

* feat: configurable session timeout for when "Remember Me" is not checked

closes #11124

* test: addition tests to check loginDays and sessionDuration settings

* test: also test loginSeconds override
2023-01-05 14:10:02 -05:00
renovate[bot]
2ea1510f8e chore(deps): update commitlint monorepo to v17.4.0 (#11123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-04 18:49:30 -05:00
renovate[bot]
958971973a fix(deps): update dependency esbuild to v0.16.14 (#11127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-04 18:49:15 -05:00
Julian Lam
fecdab8b6f refactor: helpers.loginUser to be fully async 2023-01-04 16:25:47 -05:00
Julian Lam
a344e6ec0c Fix for #11119, restore password reset rate limiting (#11120)
* chore: incrementing version number - v2.8.1

* chore: update changelog for v2.8.1

* fix: accidental clearing of reset rate limiting on reset send

* test: move user reset tests to its own file, add failing test for user reset locks

* fix: #11119, counter attempted flooding of user reset route

* test: fix password reset socket test to check for error now

* test: same user sending multiple reset emails

should work after waiting the correct amount of time

* lint: fixes

* chore: rename outdated `cleanTokensAndUids` method

* test: no need to create user for new test

Co-authored-by: Misty Release Bot <deploy@nodebb.org>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2023-01-04 11:24:46 -05:00
renovate[bot]
19c2b3509a chore(deps): update dependency husky to v8.0.3 2023-01-03 14:53:03 -05:00
Barış Soner Uşaklı
b81fd81af6 feat: fire filter:topics.getUnreadTids even if there are no urnead topics 2023-01-03 14:13:01 -05:00
Barış Soner Uşaklı
eef5778466 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-01-03 14:10:43 -05:00
renovate[bot]
8f83f79057 chore(deps): update dependency eslint to v8.31.0 (#11118)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-02 23:05:28 -05:00
renovate[bot]
ca43464711 fix(deps): update dependency esbuild to v0.16.13 (#11121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-02 23:05:07 -05:00
Misty Release Bot
d17d4ec09b chore: update changelog for v2.8.1 2022-12-30 20:48:48 +00:00
Misty Release Bot
96bdbf52b8 chore: incrementing version number - v2.8.1 2022-12-30 20:48:47 +00:00
Julian Lam
8a69e740a8 chore: fallbacks for new language string 2022-12-30 15:35:01 -05:00
Julian Lam
95ab5c4110 chore: add back missing dep upgrades 2022-12-30 15:33:59 -05:00
Julian Lam
830a20f182 chore: fallbacks for new language string 2022-12-30 15:30:51 -05:00
Barış Soner Uşaklı
1199336b0b Merge branch 'master' into develop 2022-12-30 09:51:02 -05:00
Barış Soner Uşaklı
24a7cc9cbb Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2022-12-30 09:50:04 -05:00
Barış Soner Uşaklı
586eed1407 fix: vulnerability in socket.io nested namespaces (#11117) 2022-12-30 09:49:22 -05:00
renovate[bot]
e3fa0152f7 fix(deps): update dependency esbuild to v0.16.12 (#11116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 23:37:02 -05:00
renovate[bot]
0ec6d6c2ba fix(deps): update dependency esbuild to v0.16.11 2022-12-27 10:37:16 -05:00
Barış Soner Uşaklı
1ea9481af6 fix: lock post/reply similar to user.create 2022-12-25 15:05:15 -05:00
renovate[bot]
a634481b74 fix(deps): update dependency nodebb-theme-slick to v2.0.4 (#11113)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-24 00:04:32 -05:00
Julian Lam
bbaf26cedc chore: remove extraneous lines from changelog 2022-12-21 17:11:53 -05:00
Misty Release Bot
a5c2edb993 chore: update changelog for v2.8.0 2022-12-21 22:10:49 +00:00
Misty Release Bot
7ce758d698 chore: incrementing version number - v2.8.0 2022-12-21 22:10:48 +00:00
renovate[bot]
ef500af8e6 fix(deps): update dependency sharp to v0.31.3 (#11110)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:36 -05:00
renovate[bot]
7ab46b784a fix(deps): update dependency sanitize-html to v2.8.1 (#11109)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:36 -05:00
renovate[bot]
13a3faa0d1 chore(deps): update dependency jquery to v3.6.3 (#11107)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:36 -05:00
renovate[bot]
eb6a9c474a fix(deps): update dependency esbuild to v0.16.10 (#11104)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:36 -05:00
renovate[bot]
05443dbeee fix(deps): update dependency mongodb to v4.13.0 (#11105)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:36 -05:00
renovate[bot]
485ee1301b chore(deps): update dependency eslint to v8.30.0 (#11102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:36 -05:00
renovate[bot]
18ff6caadd fix(deps): update dependency esbuild to v0.16.8 (#11101)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:36 -05:00
renovate[bot]
c4cc1e61df chore(deps): update dependency mocha to v10.2.0 (#11094)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:36 -05:00
renovate[bot]
faaf09f71c fix(deps): update dependency sanitize-html to v2.8.0 (#11098)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:36 -05:00
renovate[bot]
cde44587c1 fix(deps): update dependency ace-builds to v1.14.0 (#11095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:36 -05:00
renovate[bot]
5dda9a5bf1 fix(deps): update dependency nodebb-plugin-2factor to v5.1.2 (#11096)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:36 -05:00
renovate[bot]
0a5adb416a fix(deps): update dependency postcss to v8.4.20 (#11097)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:35 -05:00
Opliko
de31cb1a4f feat: add force flag to plugin install in cli (#11089) 2022-12-21 17:00:35 -05:00
Julian Lam
9f531f957e refactor: flag states so that they are not hardcoded, allow plugins to add additional states, deprecated filter:flags.getFilters hook, closes #11065 2022-12-21 17:00:35 -05:00
renovate[bot]
8b209f16d1 fix(deps): update dependency compare-versions to v5.0.3 (#11092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:35 -05:00
renovate[bot]
7bcfe38e60 fix(deps): update dependency html-to-text to v9.0.3 (#11093)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:35 -05:00
renovate[bot]
7b9bbef593 fix(deps): update dependency @socket.io/redis-adapter to v8 (#11084)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:35 -05:00
renovate[bot]
7b48156cc0 fix(deps): update dependency nodebb-widget-essentials to v6.0.1 (#11085)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:35 -05:00
renovate[bot]
65ef722e82 fix(deps): update dependency esbuild to v0.16.7 (#11086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:35 -05:00
Barış Soner Uşaklı
3e8f537830 chore: up jquery 2022-12-21 17:00:35 -05:00
renovate[bot]
4f67fc1ad0 fix(deps): update dependency esbuild to v0.16.3 (#11083)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 17:00:34 -05:00
renovate[bot]
22493ffb4c fix(deps): update dependency esbuild to v0.15.16 (#11069)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 16:59:55 -05:00
Misty Release Bot
717b36129e chore(i18n): fallback strings for new resources: nodebb.admin-settings-email 2022-12-21 16:59:10 -05:00
Julian Lam
896493dbd6 fix: change hsts-maxage back to numeric input type, change API token uid input to numeric text type 2022-12-21 16:59:10 -05:00
Julian Lam
4314b8e201 Revert "fix: replace input type number with text/pattern"
This reverts commit cde4c6ac7e.

The changeset was naive in the sense that a lot of the changes inputs actually work better as type="number".
2022-12-21 16:59:10 -05:00
Misty Release Bot
4f4b48000a chore(i18n): fallback strings for new resources: nodebb.admin-settings-email 2022-12-21 16:59:10 -05:00
Julian Lam
2bc23a9526 fix: replace input type number with text/pattern 2022-12-21 16:59:10 -05:00
Julian Lam
33af2d9c18 feat: integrating basic client-side form validity checking in settings v1 and v2 2022-12-21 16:59:08 -05:00
renovate[bot]
0665834d47 chore(deps): update dependency jquery to v3.6.3 (#11107)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 21:15:38 -05:00
renovate[bot]
048f5674eb fix(deps): update dependency esbuild to v0.16.10 (#11104)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 19:17:10 -05:00
renovate[bot]
3f5bda7e48 fix(deps): update dependency mongodb to v4.13.0 (#11105)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-20 19:16:58 -05:00
renovate[bot]
18bcc3cf89 chore(deps): update dependency eslint to v8.30.0 (#11102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-17 14:26:35 -05:00
renovate[bot]
db7ea20c80 fix(deps): update dependency esbuild to v0.16.8 (#11101)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-17 14:26:26 -05:00
renovate[bot]
ad96a4d802 chore(deps): update dependency mocha to v10.2.0 (#11094)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 16:37:01 -05:00
renovate[bot]
65241b1abd fix(deps): update dependency sanitize-html to v2.8.0 (#11098)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 15:54:38 -05:00
renovate[bot]
10056e5b26 fix(deps): update dependency ace-builds to v1.14.0 (#11095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 15:49:17 -05:00
renovate[bot]
cc376656a0 fix(deps): update dependency nodebb-plugin-2factor to v5.1.2 (#11096)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 15:48:58 -05:00
renovate[bot]
d4f045114e fix(deps): update dependency postcss to v8.4.20 (#11097)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 15:47:23 -05:00
Opliko
d447236b70 feat: add force flag to plugin install in cli (#11089) 2022-12-16 15:47:03 -05:00
Julian Lam
14091de8fe refactor: flag states so that they are not hardcoded, allow plugins to add additional states, deprecated filter:flags.getFilters hook, closes #11065 2022-12-16 14:58:16 -05:00
renovate[bot]
32fecad703 fix(deps): update dependency compare-versions to v5.0.3 (#11092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 09:57:41 -05:00
renovate[bot]
6aab1c58d5 fix(deps): update dependency html-to-text to v9.0.3 (#11093)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 09:50:21 -05:00
renovate[bot]
a82c67435f fix(deps): update dependency @socket.io/redis-adapter to v8 (#11084)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 09:13:14 -05:00
renovate[bot]
6774b35fd5 fix(deps): update dependency nodebb-widget-essentials to v6.0.1 (#11085)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 09:10:00 -05:00
renovate[bot]
27a049fb63 fix(deps): update dependency esbuild to v0.16.7 (#11086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 09:09:51 -05:00
Barış Soner Uşaklı
babe7faca0 chore: up jquery 2022-12-16 09:09:32 -05:00
Barış Soner Uşaklı
eeeff15a3b Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2022-12-16 09:09:02 -05:00
Barış Soner Uşaklı
06f4801e57 refactor: remove debug log closes #11090 2022-12-16 09:07:17 -05:00
Julian Lam
e213dbc3b7 chore: remove extraneous lines from changelog 2022-12-14 14:37:42 -05:00
Misty Release Bot
4701c96d9c chore: update changelog for v2.7.0 2022-12-14 19:36:38 +00:00
Misty Release Bot
098097257d chore: incrementing version number - v2.7.0 2022-12-14 19:36:38 +00:00
Julian Lam
9ee8502d7a chore: added stub file in hy 2022-12-14 14:22:35 -05:00
renovate[bot]
df3f1c5e37 fix(deps): update dependency nodebb-theme-lavender to v6.0.1 (#11081)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 14:22:30 -05:00
renovate[bot]
85d3815816 fix(deps): update dependency esbuild to v0.16.3 (#11083)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 14:22:30 -05:00
renovate[bot]
693d4783bb chore(deps): update dependency lint-staged to v13.1.0 (#11082)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 14:22:30 -05:00
renovate[bot]
d8e9738d9f fix(deps): update dependency html-to-text to v9 (#11075)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 14:22:30 -05:00
renovate[bot]
eab5b75463 chore(deps): update dependency eslint to v8.29.0 (#11074)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 14:22:30 -05:00
renovate[bot]
35be45944a fix(deps): update dependency ace-builds to v1.13.2 (#11080)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 14:22:30 -05:00
renovate[bot]
aafb7f6ec7 fix(deps): update dependency fs-extra to v11 (#11072)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 14:22:30 -05:00
Julian Lam
f11094cbb8 feat: update transifex config (for use with new cli)
+ hy, thanks to the fine folks at tutor-platform.com!
2022-12-14 14:22:30 -05:00
Misty Release Bot
76154a6321 Latest translations and fallbacks 2022-12-14 14:22:30 -05:00
Misty Release Bot
155343139f Latest translations and fallbacks 2022-12-14 14:22:30 -05:00
Misty Release Bot
79b27d46f4 Latest translations and fallbacks 2022-12-14 14:22:30 -05:00
renovate[bot]
7bc4b836ee fix(deps): update dependency esbuild to v0.15.16 (#11069)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 14:22:30 -05:00
renovate[bot]
f947ac6d41 chore(deps): update dependency lint-staged to v13.0.4 (#11064)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 14:22:30 -05:00
Julian Lam
43e7c98824 fix: relax selectors for client-side form validation so that all form elements are checked 2022-12-14 14:22:30 -05:00
Misty Release Bot
0e319a58cb chore(i18n): fallback strings for new resources: nodebb.admin-settings-email 2022-12-14 14:22:30 -05:00
Julian Lam
db8d3a94eb fix: change hsts-maxage back to numeric input type, change API token uid input to numeric text type 2022-12-14 14:22:30 -05:00
Julian Lam
d9852c3245 Revert "fix: replace input type number with text/pattern"
This reverts commit cde4c6ac7e.

The changeset was naive in the sense that a lot of the changes inputs actually work better as type="number".
2022-12-14 14:22:30 -05:00
Misty Release Bot
9676b192da chore(i18n): fallback strings for new resources: nodebb.admin-settings-email 2022-12-14 14:22:30 -05:00
Julian Lam
45ae31f816 fix: replace input type number with text/pattern 2022-12-14 14:22:30 -05:00
Julian Lam
dadbcd731c feat: integrating basic client-side form validity checking in settings v1 and v2 2022-12-14 14:22:30 -05:00
Misty Release Bot
e1238a5822 Latest translations and fallbacks 2022-12-14 14:22:30 -05:00
renovate[bot]
e14d4abc5d fix(deps): update dependency mongodb to v4.12.1 (#11062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 14:22:30 -05:00
renovate[bot]
c749f38ce0 fix(deps): update dependency nodebb-theme-lavender to v6.0.1 (#11081)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-09 13:48:39 -05:00
renovate[bot]
8eb880f6e5 fix(deps): update dependency esbuild to v0.16.3 (#11083)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-09 11:01:45 -05:00
renovate[bot]
7a1c258de8 chore(deps): update dependency lint-staged to v13.1.0 (#11082)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-09 11:01:17 -05:00
renovate[bot]
aa3a51b16e fix(deps): update dependency html-to-text to v9 (#11075)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-09 10:25:29 -05:00
renovate[bot]
4914332853 chore(deps): update dependency eslint to v8.29.0 (#11074)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-09 10:24:54 -05:00
renovate[bot]
67ede5c608 fix(deps): update dependency ace-builds to v1.13.2 (#11080)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-09 10:24:44 -05:00
Manuel Valle
8c4d6bbebb Fix: categories.js not showing custom privileges (#10856)
No shows correctly custom privileges in the Other section for a category.
2022-12-09 10:13:38 -05:00
renovate[bot]
fa3e6540d5 fix(deps): update dependency fs-extra to v11 (#11072)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-09 10:01:03 -05:00
Julian Lam
21a366ec57 feat: update transifex config (for use with new cli)
+ hy, thanks to the fine folks at tutor-platform.com!
2022-12-08 13:38:41 -05:00
Misty Release Bot
f41e23272f Latest translations and fallbacks 2022-12-08 09:05:54 +00:00
Barış Soner Uşaklı
c2bb2b30be test: dont try to load admin upload routes 2022-12-07 10:08:16 -05:00
Barış Soner Uşaklı
07a0212571 fix: #11077, add admin uploads paths to priv mapping
closes #11077
2022-12-07 09:55:25 -05:00
Misty Release Bot
8b7a09b1b6 Latest translations and fallbacks 2022-12-05 09:05:57 +00:00
Misty Release Bot
8ef729475c Latest translations and fallbacks 2022-12-01 09:06:22 +00:00
Barış Soner Uşaklı
4efc19d5f1 feat: add ./nodebb install <plugin_name>
will install the suggested version for current nodebb closes #11060
2022-11-28 13:13:10 -05:00
renovate[bot]
ced874173a fix(deps): update dependency esbuild to v0.15.16 (#11069)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 09:27:52 -05:00
Misty Release Bot
b5ce7e8ed8 chore: update changelog for v2.6.1 2022-11-28 01:01:10 +00:00
Misty Release Bot
f8e947e2a7 chore: incrementing version number - v2.6.1 2022-11-28 01:01:09 +00:00
Barış Soner Uşaklı
5edeb79f14 Merge branch 'master' into develop 2022-11-27 19:37:47 -05:00
Barış Soner Uşaklı
48d1439217 fix: prototype vulnerability in socket.io onMessage 2022-11-27 19:32:35 -05:00
Barış Soner Uşaklı
0e495f9ea4 fix: #11066, fix custom privilege/path in routePrefixMap
will find most specific path
2022-11-25 14:26:37 -05:00
renovate[bot]
ac14099bfb chore(deps): update dependency lint-staged to v13.0.4 (#11064)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-25 09:25:02 -05:00
Barış Soner Uşaklı
91c2e5ac25 refactor: not deprecated on 2.x 2022-11-25 09:02:08 -05:00
Julian Lam
52e7ad4de5 fix: relax selectors for client-side form validation so that all form elements are checked 2022-11-24 20:17:40 -05:00
Misty Release Bot
d8b45c61f7 chore(i18n): fallback strings for new resources: nodebb.admin-settings-email 2022-11-25 01:10:38 +00:00
Julian Lam
137388882a fix: change hsts-maxage back to numeric input type, change API token uid input to numeric text type 2022-11-24 20:09:58 -05:00
Julian Lam
d1c49a7663 Revert "fix: replace input type number with text/pattern"
This reverts commit cde4c6ac7e.

The changeset was naive in the sense that a lot of the changes inputs actually work better as type="number".
2022-11-24 20:07:39 -05:00
Misty Release Bot
80cf05d8fd chore(i18n): fallback strings for new resources: nodebb.admin-settings-email 2022-11-24 22:18:27 +00:00
Julian Lam
cde4c6ac7e fix: replace input type number with text/pattern 2022-11-24 17:17:53 -05:00
Julian Lam
07a3cee6d6 feat: integrating basic client-side form validity checking in settings v1 and v2 2022-11-24 17:17:53 -05:00
Barış Soner Uşaklı
6fe8797525 feat: add ./nodebb install <plugin_name>
will install the suggested version for current nodebb closes #11060
2022-11-24 11:17:06 -05:00
Barış Soner Uşaklı
8abea39389 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2022-11-24 11:01:33 -05:00
Misty Release Bot
c74fc9b9ca Latest translations and fallbacks 2022-11-24 09:06:27 +00:00
renovate[bot]
3c5b0210b2 fix(deps): update dependency mongodb to v4.12.1 (#11062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-23 16:15:55 -05:00
Julian Lam
8a15e58dff docs: remote extraneous lines from changelog 2022-11-23 16:13:58 -05:00
renovate[bot]
643dce38d7 fix(deps): update dependency mongodb to v4.12.1 (#11062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-23 14:26:25 -05:00
Misty Release Bot
eedd84ae4e chore: update changelog for v2.6.0 2022-11-23 19:04:45 +00:00
Misty Release Bot
12f0541dfa chore: incrementing version number - v2.6.0 2022-11-23 19:04:44 +00:00
Barış Soner Uşaklı
c7aa4ebf47 Merge branch 'master' into develop 2022-11-23 13:52:33 -05:00
Misty Release Bot
1d7dbf1480 chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced 2022-11-23 16:33:45 +00:00
Barış Soner Uşaklı
864fe0f971 feat: add permissions-policy header 2022-11-23 11:33:00 -05:00
Barış Soner Uşaklı
110311b25e fix: https://github.com/NodeBB-Community/nodebb-plugin-custom-pages/issues/68
don't crash if template doesn't have any widgets set before
2022-11-22 19:33:52 -05:00
Barış Soner Uşaklı
fc49665fe5 fix: https://github.com/NodeBB-Community/nodebb-plugin-custom-pages/issues/68
don't crash if template doesn't have any widgets set before
2022-11-22 19:30:58 -05:00
renovate[bot]
709ca59db2 fix(deps): update socket.io packages to v4.5.4 (#11061)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-22 17:56:40 -05:00
renovate[bot]
f478420569 chore(deps): update commitlint monorepo to v17.3.0 (#11058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 19:37:19 -05:00
renovate[bot]
d449710e95 fix(deps): update dependency esbuild to v0.15.15 (#11056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 19:37:06 -05:00
renovate[bot]
d480f26b2f chore(deps): update dependency eslint to v8.28.0 (#11059)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 19:36:57 -05:00
renovate[bot]
18eb35a173 fix(deps): update dependency nodebb-theme-persona to v12.1.12 (#11057)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 18:41:07 -05:00
renovate[bot]
5750ded157 chore(deps): update dependency jsdom to v20.0.3 (#11054)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 18:38:51 -05:00
renovate[bot]
13f3a04819 fix(deps): update dependency cropperjs to v1.5.13 (#11055)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 16:36:55 -05:00
renovate[bot]
6611d44c69 chore(deps): update dependency jquery to v3.6.1 (#11048)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 16:16:22 -05:00
renovate[bot]
62a60cbf17 fix(deps): update dependency nodebb-plugin-markdown to v10.1.1 (#11047)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 16:11:03 -05:00
renovate[bot]
59b4d95f91 fix(deps): update dependency mongodb to v4.12.0 (#11049)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 16:09:48 -05:00
Barış Soner Uşaklı
bb82eb71e2 fix: #11052, add missing await 2022-11-21 13:37:35 -05:00
Misty Release Bot
de640e23e5 Latest translations and fallbacks 2022-11-20 09:06:00 +00:00
Misty Release Bot
c2d19d7f0a Latest translations and fallbacks 2022-11-19 09:05:57 +00:00
Julian Lam
e4cfc5fa2e Merge branch 'master' into develop 2022-11-18 11:54:25 -05:00
Julian Lam
a87f64b4bb fix: pin jquery version for all packages that include it as a subdependency 2022-11-18 11:54:08 -05:00
Julian Lam
10ba7b9ced Merge branch 'master' into develop 2022-11-16 12:16:26 -05:00
Julian Lam
5aaebdd3d7 fix: #10877, define a resolution for jquery subdependency of timeago 2022-11-16 12:13:07 -05:00
renovate[bot]
ca162c0407 fix(deps): update dependency connect-pg-simple to v8 (#11033)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 08:51:31 -05:00
renovate[bot]
07c81d5db8 chore(deps): update dependency eslint-config-nodebb to v0.2.1 (#11043)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 08:50:50 -05:00
renovate[bot]
e0b9240d12 fix(deps): update dependency ace-builds to v1.13.1 (#11045)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 08:50:42 -05:00
Barış Soner Uşaklı
abcfb63126 fix: #11044, allow banned users to post
if given privileges
2022-11-15 17:53:15 -05:00
renovate[bot]
a5355d7885 fix(deps): update dependency esbuild to v0.15.14 2022-11-15 08:51:03 -05:00
renovate[bot]
2af7fd5f42 fix(deps): update dependency nodebb-theme-persona to v12.1.11 2022-11-14 10:18:41 -05:00
Misty Release Bot
98c949e4ec Latest translations and fallbacks 2022-11-14 09:06:04 +00:00
Barış Soner Uşaklı
6a526631b4 add openapi 2022-11-11 17:36:45 -05:00
Misty Release Bot
05b6758e59 chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced 2022-11-11 21:23:43 +00:00
Barış Soner Uşaklı
3c85b944e3 feat: allow groups to be exempt from maintenance mode
closes #11030
2022-11-11 16:23:00 -05:00
Barış Soner Uşaklı
6109061501 fix: check schedule privilege, closes #11032 2022-11-11 11:14:30 -05:00
renovate[bot]
b94bb1bf93 fix(deps): update dependency postcss to v8.4.19 (#11028)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-11 09:40:22 -05:00
renovate[bot]
313d0c3270 fix(deps): update dependency ace-builds to v1.13.0 (#11031)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-11 09:40:10 -05:00
Barış Soner Uşaklı
b34e859c1b refactor: don't prevent startup if staticDir is undefined
https://community.nodebb.org/topic/16790/problems-with-upgrading-to-2-xx
2022-11-10 13:31:51 -05:00
renovate[bot]
40c9cc053e fix(deps): update dependency webpack to v5.75.0 (#11027)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 18:42:14 -05:00
renovate[bot]
26be289e80 chore(deps): update commitlint monorepo to v17.2.0 (#11026)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 18:42:04 -05:00
renovate[bot]
8d3907b53a fix(deps): update dependency yargs to v17.6.2 (#11025)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 18:41:49 -05:00
renovate[bot]
1ea2a32b0f fix(deps): update dependency lru-cache to v7.14.1 (#11023)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 18:09:25 -05:00
renovate[bot]
51919f7abf fix(deps): update dependency sharp to v0.31.2 (#11024)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 18:08:56 -05:00
renovate[bot]
4b3978beda chore(deps): update dependency husky to v8.0.2 (#11018)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 16:01:26 -05:00
renovate[bot]
c4a1905b83 fix(deps): update dependency esbuild to v0.15.13 (#11021)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 16:01:14 -05:00
renovate[bot]
e144debb7f fix(deps): update dependency ioredis to v5.2.4 (#11022)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 16:01:03 -05:00
renovate[bot]
de507f72ea fix(deps): update dependency ace-builds to v1.12.5 (#11019)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 13:49:37 -05:00
renovate[bot]
9ca2482a55 fix(deps): update dependency mongodb to v4.11.0 (#10994)
* fix(deps): update dependency mongodb to v4.11.0

* up composer

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2022-11-09 13:49:28 -05:00
renovate[bot]
35d67ad33e fix(deps): update dependency autoprefixer to v10.4.13 (#11020)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 13:48:59 -05:00
Julian Lam
445f09f0dc chore: remove derpy extra changelog bits 2022-11-09 13:48:07 -05:00
Misty Release Bot
c9cd8975a2 chore: update changelog for v2.5.8 2022-11-09 18:46:09 +00:00
Misty Release Bot
466263172a chore: incrementing version number - v2.5.8 2022-11-09 18:46:09 +00:00
Julian Lam
892ac2eb20 Merge branch 'master' into develop 2022-11-09 13:31:31 -05:00
Julian Lam
2f9d8c350e fix: pass csrf_token into calls to /register/abort, #11017 2022-11-09 13:20:28 -05:00
Julian Lam
97d8b53fd3 Merge branch 'master' into develop 2022-11-09 12:15:24 -05:00
Julian Lam
55a197a7d7 fix: check for csrf token on /register/abort, + theme changes for v2.x branches of themes 2022-11-09 12:00:59 -05:00
renovate[bot]
5a5771e1b6 fix(deps): update dependency nodebb-plugin-composer-default to v9.2.4 (#10998)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 11:42:27 -05:00
renovate[bot]
4fcef7c54f chore(deps): update dependency eslint to v8.27.0 (#11004)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 11:42:11 -05:00
renovate[bot]
73a608549d fix(deps): update dependency sanitize-html to v2.7.3 (#11008)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 11:41:58 -05:00
renovate[bot]
a6e4fee137 chore(deps): update dependency jsdom to v20.0.2 (#11014)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 11:41:00 -05:00
Barış Soner Uşaklı
5d8df407a9 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-11-05 14:44:18 -04:00
Barış Soner Uşaklı
a31ba824ea fix: upgrade script to work from 0.x to 2.x 2022-11-05 14:44:12 -04:00
Barış Soner Uşaklı
078bd4dd1f Update README.md 2022-11-04 19:34:33 -04:00
Barış Soner Uşaklı
d264c6ac4b refactor: use utils.debounce 2022-11-03 20:17:38 -04:00
Barış Soner Uşaklı
06d1539137 test: fix tests again 2022-10-29 17:40:33 -04:00
Barış Soner Uşaklı
c833d3cdc4 test: fix test 2022-10-29 17:05:16 -04:00
Barış Soner Uşaklı
b5d38bc696 feat: new search hooks
filter:search.isAllowed, allow plugins to check if searching is allowed
filter:search.searchIn, allow searching in custom items
2022-10-29 16:57:03 -04:00
Misty Release Bot
b86eb03a4c Latest translations and fallbacks 2022-10-29 09:05:57 +00:00
Misty Release Bot
95a5d516cb Latest translations and fallbacks 2022-10-27 09:06:14 +00:00
Misty Release Bot
c4ed02ee1d Latest translations and fallbacks 2022-10-26 09:06:14 +00:00
Julian Lam
a2fafc2b15 Merge remote-tracking branch 'origin/master' into develop 2022-10-24 14:11:25 -04:00
Misty Release Bot
3a1866ce81 Latest translations and fallbacks 2022-10-24 09:06:07 +00:00
Barış Soner Uşaklı
5a7dc71067 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-10-23 19:47:01 -04:00
Barış Soner Uşaklı
673261ff98 fix: #10519, image height in emails 2022-10-23 19:46:54 -04:00
Julian Lam
b9c8c02fcf fix: fallback language strings for #10987 2022-10-21 14:45:25 -04:00
Barış Soner Uşaklı
6f673f806f fix: #10993, apply autoLocale middleware to guests only 2022-10-21 10:23:36 -04:00
Barış Soner Uşaklı
9227b82e2c fix: check cid as well as template 2022-10-20 21:01:34 -04:00
Barış Soner Uşaklı
be92be4eee feat: add search data to filter:search.inContent 2022-10-20 20:36:29 -04:00
Barış Soner Uşaklı
e3f2156202 feat: add search data to filter:search.inContent 2022-10-20 20:35:35 -04:00
Misty Release Bot
248fd6721c Latest translations and fallbacks 2022-10-20 09:06:36 +00:00
renovate[bot]
ee4fde1375 fix(deps): update dependency nodebb-plugin-composer-default to v9.2.3 (#10997)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-19 19:38:57 -04:00
renovate[bot]
29fddd6577 fix(deps): update dependency esbuild to v0.15.12 (#10996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-19 19:37:00 -04:00
Julian Lam
c2024f3484 chore: really fix indents this time 2022-10-19 15:29:54 -04:00
Julian Lam
d50512e73c chore: fix indents 2022-10-19 15:28:41 -04:00
Julian Lam
be5d6d29c9 chore: add bootstrap5 to test runner for now 2022-10-19 15:27:24 -04:00
renovate[bot]
1fc2f1e80c fix(deps): update dependency nodebb-plugin-composer-default to v9.2.2 2022-10-19 14:09:23 -04:00
renovate[bot]
6471b6989e fix(deps): update dependency nodebb-theme-persona to v12.1.9 2022-10-19 14:09:14 -04:00
Julian Lam
7b9e08478c fix(deps): bump composer-default 2022-10-19 10:51:03 -04:00
Misty Release Bot
8d6c0de735 Latest translations and fallbacks 2022-10-19 09:06:32 +00:00
Misty Release Bot
9ad3b214d6 chore(i18n): fallback strings for new resources: nodebb.admin-settings-user, nodebb.admin-settings-email 2022-10-18 19:39:53 +00:00
Julian Lam
96b46411b1 Merge branch 'master' into develop 2022-10-18 15:38:36 -04:00
Julian Lam
9ee30fe7d2 fix: revert breaking change, add back SocketUser.emailConfirm 2022-10-18 15:16:52 -04:00
Julian Lam
9c576a0758 Email confirmation QOL updates (#10987)
* breaking: remove `SocketUser.emailConfirm`, re: #10954

* chore: move email confirmation related configs to own section in Settings > Email

* feat: new user email method `getValidationExpiry`, returns expiration in ms.. probably.

* fix: bug where `user.email.isValidationPending` returned an u nexpected non-boolean value if there was no confirmation pending (only when checking email as well)

* fix: update getValidationExpiry to return ms

* test: use emailConfirmInterval for tests, for now

* fix: throw friendly error when attempting an email change within email confirmation window

* feat: new config option `emailConfirmExpiry` in days, governs how long the confirm link is good for

* test: additional tests for user email methods

* fix: add back missing handling of  option

* test: fix tests
2022-10-18 15:12:13 -04:00
renovate[bot]
1e930f9d17 fix(deps): update dependency ace-builds to v1.12.3 2022-10-18 14:33:44 -04:00
renovate[bot]
9900e5f4fd fix(deps): update dependency nodebb-theme-persona to v12.1.8 (#10982)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 09:12:54 -04:00
renovate[bot]
4260f0c245 fix(deps): update dependency ace-builds to v1.12.2 2022-10-18 09:11:53 -04:00
Misty Release Bot
773a97446a Latest translations and fallbacks 2022-10-18 09:06:36 +00:00
renovate[bot]
6485bc2539 fix(deps): update dependency ace-builds to v1.12.1 2022-10-17 22:32:46 -04:00
Julian Lam
09f3ac6574 fix: in appropriately named language key email-confirm-email2 2022-10-17 16:49:15 -04:00
Julian Lam
7672194c7c fix: correctly pass dev flag to package installer 2022-10-17 16:13:04 -04:00
Julian Lam
09cfd0bd57 fix: use --omit=dev flag for npm instead of --production 2022-10-17 16:07:26 -04:00
renovate[bot]
ffa117ab79 chore(deps): update dependency mocha to v10.1.0 (#10980)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 18:07:11 -04:00
renovate[bot]
00ce8fd85e fix(deps): update dependency ace-builds to v1.12.0 (#10978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 17:25:21 -04:00
renovate[bot]
fb41fbe7ae fix(deps): update socket.io packages to v4.5.3 (#10977)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 17:24:34 -04:00
renovate[bot]
dcca339772 fix(deps): update dependency nodebb-plugin-emoji to v4.0.6 2022-10-15 00:19:48 -04:00
renovate[bot]
ff69c3e185 fix(deps): update dependency esbuild to v0.15.11 2022-10-15 00:17:35 -04:00
renovate[bot]
647bbd57af fix(deps): update dependency @isaacs/ttlcache to v1.2.1 2022-10-15 00:17:26 -04:00
Misty Release Bot
17e948abf7 chore: update changelog for v2.5.7 2022-10-14 15:59:58 +00:00
Misty Release Bot
dd6d104820 chore: incrementing version number - v2.5.7 2022-10-14 15:59:57 +00:00
Julian Lam
af27606e20 fix: #10968, icon selector in ACP when icon name is typed in 2022-10-14 11:58:12 -04:00
Barış Soner Uşaklı
dc4a850cac show progress 2022-10-14 11:04:48 -04:00
Barış Soner Uşaklı
ba484d5478 Esbuild (#10940)
* ci: add minimum GitHub token permissions for workflows
Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>

* feat: use esbuild for minification

Co-authored-by: Ashish Kurmi <akurmi@stepsecurity.io>
2022-10-14 11:04:27 -04:00
Barış Soner Uşaklı
dd4e9cce09 perf: speed up build
run webpack as soon as js targets are done
this allows building js/css in parallel
2022-10-14 11:04:00 -04:00
Misty Release Bot
e92238d09a chore: update changelog for v2.5.6 2022-10-13 14:21:02 +00:00
Misty Release Bot
7dc45afa4c chore: incrementing version number - v2.5.6 2022-10-13 14:21:01 +00:00
Barış Soner Uşaklı
3a70530c8e fix active plugins (#10964) 2022-10-13 10:11:19 -04:00
Barış Soner Uşaklı
67efaeb4b8 fix active plugins (#10964) 2022-10-13 10:09:23 -04:00
renovate[bot]
60d0145b18 fix(deps): update dependency nodebb-plugin-mentions to v3.0.12 2022-10-13 01:08:47 -04:00
renovate[bot]
3c2a636c22 fix(deps): update dependency postcss to v8.4.18 2022-10-13 01:07:28 -04:00
Barış Soner Uşaklı
b879b6a0c2 fix: use admin:groups priv for groups (#10960) 2022-10-12 10:02:45 -04:00
renovate[bot]
b68faa095a fix(deps): update dependency nodebb-plugin-spam-be-gone to v1.0.2 (#10958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-12 09:54:34 -04:00
Barış Soner Uşaklı
e35b0a869f fix: https://github.com/NodeBB/NodeBB/issues/10525 2022-10-11 20:30:54 -04:00
Misty Release Bot
e7d0040d17 chore: update changelog for v2.5.5 2022-10-11 17:07:16 +00:00
Misty Release Bot
58b2f10ee9 chore: incrementing version number - v2.5.5 2022-10-11 17:07:16 +00:00
Barış Soner Uşaklı
b91ef6dd76 chore: up plugins 2022-10-11 12:13:03 -04:00
Misty Release Bot
aabf073c89 chore: update changelog for v2.5.4 2022-10-11 12:25:36 +00:00
Misty Release Bot
89eb0340d1 chore: incrementing version number - v2.5.4 2022-10-11 12:25:35 +00:00
Barış Soner Uşaklı
ebd5dcc6d6 fix: EEXISTS error on linux if plugin/theme overrides core js file 2022-10-11 08:13:59 -04:00
Misty Release Bot
eec683dd39 Latest translations and fallbacks 2022-10-09 09:06:13 +00:00
renovate[bot]
0f63947b4d fix(deps): update dependency body-parser to v1.20.1 (#10941)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-08 20:08:45 -04:00
renovate[bot]
ff53064cc8 fix(deps): update dependency express to v4.18.2 (#10948)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-08 20:08:32 -04:00
Misty Release Bot
688e9a53da Latest translations and fallbacks 2022-10-08 09:06:29 +00:00
renovate[bot]
3719233a43 chore(deps): update dependency eslint to v8.25.0 2022-10-07 22:23:05 -04:00
Barış Soner Uşaklı
02ef3e974c Esbuild (#10940)
* ci: add minimum GitHub token permissions for workflows
Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>

* feat: use esbuild for minification

Co-authored-by: Ashish Kurmi <akurmi@stepsecurity.io>
2022-10-06 07:51:13 -04:00
Ashish Kurmi
fe0020fb31 ci: add minimum GitHub token permissions for workflows
Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>
2022-10-05 21:23:18 -04:00
renovate[bot]
1b89b6615c fix(deps): update dependency semver to v7.3.8 (#10937)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-05 10:31:51 -04:00
renovate[bot]
1873b52746 fix(deps): update dependency nodebb-theme-persona to v12.1.7 2022-10-04 09:52:39 -04:00
renovate[bot]
241b7c4f30 chore(deps): update dependency jsdom to v20.0.1 (#10934)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-03 16:11:30 -04:00
Julian Lam
1e4846435a fix: mixing of old and new bch syntax 2022-10-03 15:36:03 -04:00
Julian Lam
1e864a7518 Merge remote-tracking branch 'origin/master' into develop 2022-10-03 14:51:55 -04:00
renovate[bot]
855a2bad9a fix(deps): update dependency commander to v9.4.1 (#10928)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-03 12:43:42 -04:00
renovate[bot]
d84ee30809 fix(deps): update dependency postcss to v8.4.17 (#10929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-03 12:42:11 -04:00
renovate[bot]
222ab6aebd fix(deps): update dependency nodemailer to v6.8.0 (#10925)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-03 12:41:57 -04:00
renovate[bot]
8bcbff33bf chore(deps): update dependency eslint to v8.24.0 (#10922)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-03 12:41:42 -04:00
renovate[bot]
7c3c3d020b fix(deps): update dependency yargs to v17.6.0 (#10931)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-03 12:41:21 -04:00
Barış Soner Uşaklı
61d32bdebb fix: category ordering add test 2022-10-03 09:41:40 -04:00
Barış Soner Uşaklı
177d904812 fix: category ordering add test 2022-10-03 09:41:08 -04:00
Misty Release Bot
8f2a78584a Latest translations and fallbacks 2022-10-02 09:08:35 +00:00
Barış Soner Uşaklı
989b55d07e fix: crash in category drag, closes #10932
happens when a child is dragged to root or from root to a nested level
2022-10-01 22:15:06 -04:00
Barış Soner Uşaklı
c0b1ded363 fix more categories button not moving with parent
fix order issue
2022-10-01 22:02:01 -04:00
renovate[bot]
28d1844e7e fix(deps): update dependency nodebb-plugin-spam-be-gone to v1.0.1 (#10912)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-30 09:25:52 -04:00
renovate[bot]
87c84fe8e0 fix(deps): update dependency ace-builds to v1.11.2 (#10923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-30 09:11:51 -04:00
renovate[bot]
8e23e41077 fix(deps): update dependency sharp to v0.31.1 (#10926)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-30 09:11:16 -04:00
Julian Lam
7240e8ce57 chore: 🤔 2022-09-28 10:27:50 -04:00
Misty Release Bot
09c24e1f03 Latest translations and fallbacks 2022-09-28 09:07:25 +00:00
Julian Lam
803398e915 fix: broken flag history on flag update 2022-09-23 13:10:34 -04:00
Barış Soner Uşaklı
a584dae650 feat: add relevant topic events to post objects
see c9604f216a
2022-09-23 10:42:15 -04:00
Barış Soner Uşaklı
aad0a618c8 fix: scroll to post if theme doesn't have top navbar 2022-09-23 09:09:15 -04:00
renovate[bot]
ce77605a83 fix(deps): update dependency ace-builds to v1.11.1 (#10920)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-23 08:46:20 -04:00
Misty Release Bot
26415ea448 Latest translations and fallbacks 2022-09-22 09:07:09 +00:00
Julian Lam
14515f6004 fix: add lru-cache to checked packages, to fix upgrade issue with lru-cache 2022-09-21 16:02:20 -04:00
Julian Lam
53d47a58f6 fix: use --omit=dev flag for npm instead of --production 2022-09-21 11:56:58 -04:00
renovate[bot]
d900fd1718 fix(deps): update dependency ace-builds to v1.11.0 (#10909)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-20 20:39:12 -04:00
renovate[bot]
5429487110 fix(deps): update dependency autoprefixer to v10.4.12 (#10911)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-20 20:38:54 -04:00
Julian Lam
6391f77b01 Merge remote-tracking branch 'origin/master' into develop 2022-09-20 14:04:02 -04:00
renovate[bot]
f971385bbc fix(deps): update dependency compare-versions to v5 (#10890)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-20 13:20:15 -04:00
Julian Lam
846eda0af6 fix(deps): bump persona #10907 2022-09-19 14:55:55 -04:00
Julian Lam
27c80d3945 fix(deps): bump persona, #10907 2022-09-19 14:30:21 -04:00
Julian Lam
135fe55bed feat: client-side hooks for navigator scroll action 2022-09-19 14:29:03 -04:00
Julian Lam
664bc5f54d fix: update nav thumb on setIndex call (thx @barisusakli) 2022-09-19 14:29:03 -04:00
Julian Lam
aeb94c32b9 feat: j and k hotkeys in topic to navigate through it quickly 2022-09-19 14:29:03 -04:00
Julian Lam
b7287c1eb8 fix: do not call navigator.update() when scrollToElement is explicitly passed a new index value 2022-09-19 14:29:03 -04:00
Julian Lam
fa643eb808 fix: race condition where navigator.update was called when it should not be 2022-09-19 14:29:03 -04:00
Julian Lam
9f9a835fcb feat: a couple utility methods in navigator module to get and set count and index 2022-09-19 14:29:03 -04:00
renovate[bot]
bbe7f7795f fix(deps): update dependency mongodb to v4.10.0 (#10908)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-19 13:00:03 -04:00
Misty Release Bot
fdf240f651 chore: update changelog for v2.5.3 2022-09-19 16:23:59 +00:00
Misty Release Bot
cf6e8101e8 chore: incrementing version number - v2.5.3 2022-09-19 16:23:58 +00:00
Julian Lam
cf4f5447bb fix: #10906, allow middleware.checkAccountPermissions to be called with either uid or userslug in params
Previously, the middleware only worked with userslug params
2022-09-19 10:08:18 -04:00
Julian Lam
5b9de0e521 fix: be tidier and explicitly clean up ctrl-f hotkey on topic page 2022-09-19 09:32:36 -04:00
Julian Lam
3700174c62 refactor: added new ajaxify method .cleanup, called before ajaxify.start. 2022-09-19 09:32:36 -04:00
renovate[bot]
0debc51b8f fix(deps): update dependency nodebb-theme-persona to v12.1.3 (#10903)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-17 01:41:53 -04:00
Barış Soner Uşaklı
b5dd89e1c0 feat: store topic title and tags in diffs (#10900)
* feat: store topic title and tags in diffs

allow restoring post diff if tags didn't change

* test: fix tests, fast computer problems
2022-09-16 22:16:08 -04:00
renovate[bot]
02fe687503 fix(deps): update dependency nodebb-plugin-2factor to v5.1.1 2022-09-16 21:56:56 -04:00
renovate[bot]
425bf87b07 fix(deps): update dependency nodebb-theme-persona to v12.1.2 2022-09-16 15:47:07 -04:00
Julian Lam
fe249fa577 fix: listen to -d flag on cli upgrade 2022-09-16 11:44:34 -04:00
Barış Soner Uşaklı
8e2129f858 fix: #10896, unescape / in taskbar 2022-09-15 19:32:37 -04:00
renovate[bot]
3f30056a71 chore(deps): update commitlint monorepo (#10888)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-15 11:06:32 -04:00
renovate[bot]
5aa55d29f3 chore(deps): update postgres docker tag to v14 (#10829)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-15 10:11:47 -04:00
renovate[bot]
bfeb03680a fix(deps): update dependency sanitize-html to v2.7.2 (#10893)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-15 09:58:04 -04:00
Misty Release Bot
ca92345c48 Latest translations and fallbacks 2022-09-15 09:06:37 +00:00
renovate[bot]
0758655a36 fix(deps): update dependency autoprefixer to v10.4.11 (#10892)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-14 15:33:15 -04:00
Julian Lam
f1cca5be8d Merge remote-tracking branch 'origin/master' into develop 2022-09-14 13:19:53 -04:00
Julian Lam
d3e38df8ea fix: add back timeago to post history modal 2022-09-14 13:19:37 -04:00
Barış Soner Uşaklı
ebd7c05c4c feat: paginate recentposts.rss and
category/1/recentposts.rss
2022-09-14 09:27:08 -04:00
renovate[bot]
2836be5cfa fix(deps): update dependency sharp to v0.31.0 (#10887)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 13:21:34 -04:00
Barış Soner Uşaklı
c039a699bd sharp test fix 2022-09-13 12:36:13 -04:00
renovate[bot]
22f3d0bb4b fix(deps): update socket.io packages to v4.5.2 (#10884)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 12:30:47 -04:00
renovate[bot]
335990beae fix(deps): update dependency nodebb-plugin-2factor to v5.1.0 (#10886)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 12:26:18 -04:00
renovate[bot]
0c6fb6e351 chore(deps): update dependency eslint to v8.23.1 (#10885)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 12:25:21 -04:00
renovate[bot]
0c2a88de06 fix(deps): update dependency autoprefixer to v10.4.10 (#10883)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 11:38:41 -04:00
renovate[bot]
d911a1bfb6 fix(deps): update dependency winston to v3.8.2 (#10882)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 11:11:49 -04:00
renovate[bot]
01129a3994 fix(deps): update dependency pg to v8.8.0 (#10863)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 11:11:31 -04:00
renovate[bot]
34d243e49b fix(deps): update dependency nodebb-plugin-emoji to v4.0.5 (#10881)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 10:49:30 -04:00
renovate[bot]
5e375e4af5 fix(deps): update dependency ioredis to v5.2.3 (#10861)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 10:49:07 -04:00
renovate[bot]
86b63fab9d fix(deps): update dependency pg-cursor to v2.7.4 (#10862)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 10:46:09 -04:00
renovate[bot]
5583ab9562 fix(deps): update dependency mongodb to v4.9.1 (#10880)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 10:45:03 -04:00
renovate[bot]
cc6798bb11 fix(deps): update dependency autoprefixer to v10.4.9 (#10879)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 10:22:11 -04:00
renovate[bot]
8c680db5bd fix(deps): update dependency postcss to v8.4.16 (#10824)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 10:21:55 -04:00
renovate[bot]
6687f49bda fix(deps): update dependency jquery to v3.6.1 (#10868)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 09:51:49 -04:00
renovate[bot]
c0c3ee0189 fix(deps): update dependency ace-builds to v1.10.1 (#10840)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 09:36:25 -04:00
Julian Lam
881c7c4d18 fix: automatically remove lang parameter if it matches the forum default 2022-09-12 13:01:19 -04:00
Misty Release Bot
bf9bb489ad Latest translations and fallbacks 2022-09-10 09:06:15 +00:00
Julian Lam
29ddeaa1e2 fix(deps): bump composer-default to v9.2.0 2022-09-09 15:14:06 -04:00
Julian Lam
6061d611ea Merge remote-tracking branch 'origin/master' into develop 2022-09-09 13:34:49 -04:00
Julian Lam
5dbcfef91f chore: remove duplicate version increment lines in changelog 2022-09-09 10:56:10 -04:00
Julian Lam
1d80a07ed1 fix(deps): bump composer-default to v9.1.1 2022-09-08 15:20:32 -04:00
Barış Soner Uşaklı
1c9c39a8c8 test: add back /admin/extend/plugins test 2022-09-04 19:42:12 -04:00
Barış Soner Uşaklı
8aa1596d23 chore: bring back treding plugins 2022-09-04 12:59:03 -04:00
Barış Soner Uşaklı
3d5a6b39d6 lint: fix lint 2022-09-04 12:28:47 -04:00
Barış Soner Uşaklı
b392450c36 perf: disable trending plugins, too slow due to nbbpm 2022-09-04 12:00:27 -04:00
Misty Release Bot
84b6a7c791 chore: update changelog for v2.5.2 2022-09-04 14:57:02 +00:00
Misty Release Bot
e351fbe89c chore: incrementing version number - v2.5.2 2022-09-04 14:56:55 +00:00
Barış Soner Uşaklı
b45e241390 lint: fix lint error 2022-09-04 10:36:57 -04:00
Barış Soner Uşaklı
1dc79d76a0 test: disable nbbpm test temporarily 2022-09-04 10:32:22 -04:00
Barış Soner Uşaklı
f6f37dc1cd fix: registration regression, closes #10875 2022-09-04 10:11:52 -04:00
Misty Release Bot
bdfacb8903 Latest translations and fallbacks 2022-09-04 09:24:00 +00:00
Opliko
665f36b707 feat: add quiet to action:settings.set
Makes it possible to ignore quiet updates without abusing the `filter` hook
2022-09-03 09:36:25 -04:00
Misty Release Bot
2b2fd4f34a chore: update changelog for v2.5.1 2022-09-02 19:14:02 +00:00
Misty Release Bot
2bf475299d chore: incrementing version number - v2.5.1 2022-09-02 19:14:01 +00:00
Julian Lam
67cb70352f fix: missing escape on ACP category backgroundImage property 2022-09-02 12:30:55 -04:00
Julian Lam
61d1e9e0d4 fix(deps): temporarily add back old textcomplete dependencies so emoji plugin can import them
Revert this commit once the emoji plugin is patched so it refers to the newer textcomplete module
2022-09-02 11:18:10 -04:00
Misty Release Bot
1076285dc9 chore: update changelog for v2.5.0 2022-09-01 16:14:07 +00:00
Misty Release Bot
c3e19005f6 chore: incrementing version number - v2.5.0 2022-09-01 16:14:06 +00:00
Julian Lam
8fe41d92a2 Merge remote-tracking branch 'origin/master' into develop 2022-09-01 08:44:20 -04:00
Misty Release Bot
4b0a786dfb Latest translations and fallbacks 2022-09-01 09:08:51 +00:00
Opliko
1920732528 feat: remove visibilityjs (#10870)
* feat: remove visibilityjs

* fix: actually remove require

* style: add a newline

* style: forgot a semicolon

* style: accidently removed trailing newline

* fix: move property declaration to its actual previous place
2022-08-30 09:52:57 -04:00
Misty Release Bot
e7806021c9 Latest translations and fallbacks 2022-08-29 09:07:47 +00:00
Barış Soner Uşaklı
d12e0b8c5e Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2022-08-28 17:46:07 -04:00
Barış Soner Uşaklı
b7addffc9e breaking: reduce nodebb.min.js size by around 800kb
const zxcvbn = require('zxcvbn');
bundles a huge amount of code, now it won't be in nodebb.min.js
2022-08-28 17:45:56 -04:00
Misty Release Bot
896ac77950 Latest translations and fallbacks 2022-08-28 09:08:08 +00:00
renovate[bot]
884d40756a fix(deps): update dependency compare-versions to v4.1.4 2022-08-27 15:46:21 -04:00
Misty Release Bot
e20433ecfc chore(i18n): fallback strings for new resources: nodebb.admin-settings-reputation 2022-08-26 20:06:42 +00:00
Julian Lam
15b1561fd3 feat: introduce ACP defined option to rescind notif or do nothing on flag resolve/reject
/cc #10867
2022-08-26 16:05:45 -04:00
Julian Lam
a088eb19af fix: empty thread tools container on open 2022-08-26 11:51:50 -04:00
Julian Lam
c1936e87f0 fix: add dropup handler to thread tools menu, updated how post tools menu adds dropup handler 2022-08-26 11:51:41 -04:00
Julian Lam
df36d96788 fix: empty thread tools container on open 2022-08-26 11:48:23 -04:00
Julian Lam
3dd3cd8297 fix: add dropup handler to thread tools menu, updated how post tools menu adds dropup handler 2022-08-26 11:48:23 -04:00
Barış Soner Uşaklı
a2d0cd162d refactor: remove console.log 2022-08-26 11:42:12 -04:00
Julian Lam
b3b48fa62f Merge remote-tracking branch 'origin/master' into develop 2022-08-25 16:42:53 -04:00
Julian Lam
3cbb7a3df0 chore: move @textcomplete and its modules to composer-default 2022-08-25 16:42:47 -04:00
Julian Lam
bc2ea86023 chore: remove client-side js file for tpl that no longer exists 2022-08-23 14:35:50 -04:00
Julian Lam
7c5a915dc9 test: have some build tests not pollute build folder 2022-08-23 11:23:49 -04:00
Julian Lam
70652ad480 docs(openapi): v3 spec for new user export routes 2022-08-22 17:03:43 -04:00
Julian Lam
d05705183f refactor: move export generation logic to v3 controller, GET/HEAD routes for exports
re: #10384
2022-08-22 17:03:43 -04:00
Julian Lam
0cda5aa3e3 feat: allow v3 api to handle 202 and 204 response codes as well. 2022-08-22 17:03:43 -04:00
gasoved
b424ba4637 test: User.hidePrivateData 2022-08-22 13:47:33 -04:00
Misty Release Bot
d505cc47ec chore: update changelog for v2.4.5 2022-08-22 16:14:00 +00:00
Misty Release Bot
d8b1291088 chore: incrementing version number - v2.4.5 2022-08-22 16:13:58 +00:00
Misty Release Bot
42e0fec392 Latest translations and fallbacks 2022-08-22 09:07:19 +00:00
Julian Lam
8b7cf48ade Merge remote-tracking branch 'origin/master' into develop 2022-08-19 15:36:08 -04:00
Julian Lam
9b96c33d5d fix: wrap passport.authenticate to pass in keepSessionInfo if not already set 2022-08-19 13:04:10 -04:00
Julian Lam
65b3996ac6 fix: removing duplicate session rerolling code (as it is in passport@^0.6 now) 2022-08-19 12:52:24 -04:00
Julian Lam
20ebf0a1e0 Merge remote-tracking branch 'origin/master' into develop 2022-08-19 10:50:59 -04:00
Barış Soner Uşaklı
bc37a5c516 fix: parseInt caller.uid closes #10849 2022-08-19 08:51:04 -04:00
Misty Release Bot
0ba03950e9 Latest translations and fallbacks 2022-08-19 09:06:15 +00:00
renovate[bot]
e51004e206 fix(deps): update dependency mongodb to v4.9.0 2022-08-18 20:00:44 -04:00
Misty Release Bot
77e492b8d7 chore: update changelog for v2.4.4 2022-08-18 13:45:27 +00:00
Misty Release Bot
24221d66e0 chore: incrementing version number - v2.4.4 2022-08-18 13:45:26 +00:00
Barış Soner Uşaklı
fc9b436f3e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-08-18 09:27:48 -04:00
Barış Soner Uşaklı
489fb3a36f fix: missing req, closes #10847 2022-08-18 09:27:37 -04:00
Misty Release Bot
665f163704 Latest translations and fallbacks 2022-08-18 09:06:36 +00:00
Misty Release Bot
06da15a576 chore: update changelog for v2.4.3 2022-08-18 02:33:19 +00:00
Misty Release Bot
be0256b26e chore: incrementing version number - v2.4.3 2022-08-18 02:33:19 +00:00
Julian Lam
4dc7fa050f fix: #10845, disallow inline viewing of uploaded html files 2022-08-17 21:48:02 -04:00
renovate[bot]
d8a52f8142 fix(deps): update dependency lru-cache to v7.14.0 2022-08-17 21:29:42 -04:00
Julian Lam
81f8d84f10 fix(deps): bump composer-default to v9 2022-08-17 21:29:12 -04:00
Julian Lam
b7bcc367c6 fix(deps): remove textcomplete in favour of @textcomplete/core (same package, just refactored) 2022-08-17 21:29:12 -04:00
Julian Lam
9e46dd2090 Merge remote-tracking branch 'origin/master' into develop 2022-08-17 21:18:47 -04:00
Misty Release Bot
ba7a3466b2 chore: update changelog for v2.4.2 2022-08-17 21:12:35 +00:00
Misty Release Bot
1635633acd chore: incrementing version number - v2.4.2 2022-08-17 21:12:34 +00:00
Julian Lam
990ad6a11a Merge remote-tracking branch 'origin/master' into develop 2022-08-17 15:32:49 -04:00
Julian Lam
ec048a01ba fix: #10841, incorrect conditional in email interstitial partial 2022-08-17 15:32:36 -04:00
Misty Release Bot
f8297362b9 Latest translations and fallbacks 2022-08-17 09:05:59 +00:00
Barış Soner Uşaklı
4ceebf3939 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2022-08-16 19:17:28 -04:00
Barış Soner Uşaklı
0a6900fc77 feat: don't show signatures again in pagination mode in same topic 2022-08-16 19:17:23 -04:00
renovate[bot]
444b4d578b fix(deps): update dependency nodebb-theme-persona to v12.1.1 (#10838)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 18:07:14 -04:00
Misty Release Bot
fcbbb4d6d3 chore(i18n): fallback strings for new resources: nodebb.admin-settings-post 2022-08-16 22:06:55 +00:00
Barış Soner Uşaklı
aba420a3f3 feat: setting to show signatures only once in topics, closes #10071 2022-08-16 18:06:16 -04:00
Opliko
72e7b9f7d8 docs: explain what export routes actually do in OpenAPI documentation (#10836) 2022-08-16 15:57:24 -04:00
Barış Soner Uşaklı
14c79763dd refactor: use group.slug on acp group urls closes #8277 2022-08-16 10:42:33 -04:00
Barış Soner Uşaklı
b663c620ce Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2022-08-16 10:24:07 -04:00
renovate[bot]
8fce68d347 chore(deps): update dependency eslint to v8.22.0 (#10835)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 10:10:24 -04:00
Misty Release Bot
6b76f99a3e Latest translations and fallbacks 2022-08-16 09:06:48 +00:00
Opliko
bcb94edeb4 feat: add event type to topic event component 2022-08-15 14:18:43 -04:00
Barış Soner Uşaklı
e06e526e54 fix: don't crash if post is undefined 2022-08-15 14:18:43 -04:00
Barış Soner Uşaklı
33458701c1 test: passport0.6 (#10638)
* test: passport0.6

* test: make logout async, fix lint

* test: keepSessionInfo flag

* revert: csrf load
2022-08-15 14:18:43 -04:00
Misty Release Bot
20a661e124 chore: update changelog for v2.4.1 2022-08-15 14:18:43 -04:00
Misty Release Bot
fecf31bd15 chore: incrementing version number - v2.4.1 2022-08-15 14:18:43 -04:00
Opliko
3975fa2e45 fix: return at least one in sizeCalculation (#10832)
if post content is empty post cache should still consider its size to be at least one. fixes #10831
2022-08-15 14:18:43 -04:00
Misty Release Bot
6f9fa8c2c8 Latest translations and fallbacks 2022-08-15 09:06:13 +00:00
Barış Soner Uşaklı
4a3e36a766 fix: don't crash if post is undefined 2022-08-14 20:18:18 -04:00
Misty Release Bot
90fc50e116 chore(i18n): fallback strings for new resources: nodebb.admin-advanced-cache 2022-08-14 00:36:36 +00:00
Opliko
a9bbb586fc feat: allow plugins to add to admin cache list (#10833)
* feat: allow plugins to add to admin cache list

resolves  #10820

plugins will have to use `filter:admin.cache.get` hook and just add their own cache to the object there.

* feat: add dump to ttlCache and expose properties

* feat: also expose properties under their current names

* feat: display TTL if set
2022-08-13 20:35:59 -04:00
Barış Soner Uşaklı
6b2a6f9006 test: passport0.6 (#10638)
* test: passport0.6

* test: make logout async, fix lint

* test: keepSessionInfo flag

* revert: csrf load
2022-08-13 20:24:42 -04:00
Misty Release Bot
4b6baabbbf chore: update changelog for v2.4.1 2022-08-14 00:18:25 +00:00
Misty Release Bot
7f5ff2e613 chore: incrementing version number - v2.4.1 2022-08-14 00:18:24 +00:00
Opliko
15ca460c8f fix: return at least one in sizeCalculation (#10832)
if post content is empty post cache should still consider its size to be at least one. fixes #10831
2022-08-13 09:29:56 -04:00
Julian Lam
2568986c58 Revert "Revert "chore(deps): update docker/build-push-action action to v3""
This reverts commit d2c2f333e1.
2022-08-12 17:15:55 -04:00
Julian Lam
9d446f9282 Revert "Revert "chore(deps): update docker/login-action action to v2""
This reverts commit 887df0e62b.
2022-08-12 17:15:55 -04:00
Julian Lam
c71335218b Revert "Revert "chore(deps): update docker/setup-buildx-action action to v2""
This reverts commit 8936f412d1.
2022-08-12 17:15:54 -04:00
renovate[bot]
8afaed223c chore(deps): update mongo docker tag to v3.7 2022-08-12 17:14:35 -04:00
renovate[bot]
4c44d12557 fix(deps): update dependency ace-builds to v1.9.5 2022-08-12 17:14:35 -04:00
renovate[bot]
4ddc0c7af9 fix(deps): update dependency lru-cache to v7.13.2 2022-08-12 17:14:35 -04:00
renovate[bot]
4aecf399eb chore(deps): update docker/setup-qemu-action action to v2 2022-08-12 17:14:35 -04:00
renovate[bot]
dd3851849b fix(deps): update dependency nodemailer to v6.7.8 2022-08-12 17:14:35 -04:00
renovate[bot]
150a7488e4 fix(deps): pin dependency @isaacs/ttlcache to 1.2.0 2022-08-12 17:14:35 -04:00
renovate[bot]
9a7dd3a3b1 fix(deps): update dependency nodebb-plugin-composer-default to v8.0.1 (#10819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 17:14:35 -04:00
renovate[bot]
269382e03d chore(deps): update redis docker tag to v2.8.23 (#10811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 17:14:35 -04:00
Julian Lam
8936f412d1 Revert "chore(deps): update docker/setup-buildx-action action to v2"
This reverts commit 371ac03220.
2022-08-12 17:14:22 -04:00
Julian Lam
887df0e62b Revert "chore(deps): update docker/login-action action to v2"
This reverts commit 3d68accf99.
2022-08-12 17:14:21 -04:00
Julian Lam
d2c2f333e1 Revert "chore(deps): update docker/build-push-action action to v3"
This reverts commit bfd6318cd6.
2022-08-12 17:14:20 -04:00
renovate[bot]
bfd6318cd6 chore(deps): update docker/build-push-action action to v3 2022-08-12 11:48:00 -04:00
renovate[bot]
3d68accf99 chore(deps): update docker/login-action action to v2 2022-08-12 11:47:53 -04:00
renovate[bot]
371ac03220 chore(deps): update docker/setup-buildx-action action to v2 2022-08-12 11:44:48 -04:00
renovate[bot]
69c87c2caa fix(deps): update dependency nodebb-plugin-composer-default to v8.0.1 (#10819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-11 20:48:20 -04:00
renovate[bot]
59fd0efe07 chore(deps): update redis docker tag to v2.8.23 (#10811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-11 20:47:55 -04:00
Misty Release Bot
c4714ff7df chore: update changelog for v2.4.0 2022-08-10 20:02:19 +00:00
Misty Release Bot
5525442279 chore: incrementing version number - v2.4.0 2022-08-10 20:02:18 +00:00
Misty Release Bot
72b03d8dea Merge branch 'develop' 2022-08-10 20:02:08 +00:00
Julian Lam
9b753d6d57 TTL Cache (#10816)
* refactor: move src/cacheCreate.js to src/cache/lru.js

* fix: call new library location for lru cache creator

* feat: add ttl cache

* fix: update upload throttler to use ttl cache instead of lru cache

* chore: add missing dependency

* fix: avoid pubsub conflicts

* fix: use get instead of peek, which is not available in ttl-cache
2022-08-10 15:26:07 -04:00
Julian Lam
c07d595662 Update to lru-cache@^7 (#10815)
* chore(deps): bump lru-cache from 6.0.0 to 7.13.1 in /install

Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 6.0.0 to 7.13.1.
- [Release notes](https://github.com/isaacs/node-lru-cache/releases)
- [Changelog](https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-lru-cache/compare/v6.0.0...v7.13.1)

---
updated-dependencies:
- dependency-name: lru-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* fix(lru-cache): remove unneeded `length` params for cache creation, as `maxSize` was not used in those init calls, also renamed some methods to match new method names in lru-cache [breaking]

Added deprecation notices for old params

* fix: replace three direct calls to lru-cache with call to cacheCreate, moved cache creation call in uploads to run on first init as config is not populated at lib init

* test: move configs init above cache reset calls in databasemock

* move some more code above cache clear

* refactor: remove unused

* test: lru

* test: more debug

* test: on more test

* use await helpers.uploadFile

* fix: tests remove logs

* fix: acp cache page

* fix: add in one more guard again cache instantiation with `length` prop but no `maxSize` prop

* fix(deps): bump markdown

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2022-08-10 13:24:16 -04:00
Julian Lam
64541dd820 Revert "Update to lru-cache@^7 (#10813)"
This reverts commit c9754b09e6.
2022-08-10 13:22:39 -04:00
Julian Lam
c9754b09e6 Update to lru-cache@^7 (#10813)
* chore(deps): bump lru-cache from 6.0.0 to 7.13.1 in /install

Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 6.0.0 to 7.13.1.
- [Release notes](https://github.com/isaacs/node-lru-cache/releases)
- [Changelog](https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-lru-cache/compare/v6.0.0...v7.13.1)

---
updated-dependencies:
- dependency-name: lru-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* fix(lru-cache): remove unneeded `length` params for cache creation, as `maxSize` was not used in those init calls, also renamed some methods to match new method names in lru-cache [breaking]

Added deprecation notices for old params

* fix: replace three direct calls to lru-cache with call to cacheCreate, moved cache creation call in uploads to run on first init as config is not populated at lib init

* test: move configs init above cache reset calls in databasemock

* move some more code above cache clear

* refactor: remove unused

* test: lru

* test: more debug

* test: on more test

* use await helpers.uploadFile

* fix: tests remove logs

* fix: acp cache page

* fix: add in one more guard again cache instantiation with `length` prop but no `maxSize` prop

* fix(deps): bump markdown

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2022-08-10 13:22:18 -04:00
Julian Lam
59f3ae201a Merge remote-tracking branch 'origin/master' into develop 2022-08-10 09:52:49 -04:00
Misty Release Bot
d7a02d677f Latest translations and fallbacks 2022-08-10 09:06:32 +00:00
Barış Soner Uşaklı
961be70725 fix test on redis 2022-08-09 18:26:46 -04:00
Misty Release Bot
8e9677544b Latest translations and fallbacks 2022-08-09 09:06:35 +00:00
Opliko
b3a37a7f35 feat: support packageManager property in package.json
resolves #10714
2022-08-08 17:23:32 -04:00
renovate[bot]
13a17bd10a chore(deps): update dependency eslint to v8.21.0 2022-08-08 17:18:22 -04:00
Julian Lam
38bf30c8ca fix: adapt to breaking change in commander 2022-08-08 17:17:38 -04:00
dependabot[bot]
993b77478e chore(deps): bump commander from 7.2.0 to 9.4.0 in /install
Bumps [commander](https://github.com/tj/commander.js) from 7.2.0 to 9.4.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v7.2.0...v9.4.0)

---
updated-dependencies:
- dependency-name: commander
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 17:17:38 -04:00
Julian Lam
1465598d3b fix(deps): bump persona v12.1.0 2022-08-08 16:19:36 -04:00
Julian Lam
d0255fc6a5 fix: move panel-offset setting code back to theme header 2022-08-08 16:02:27 -04:00
Julian Lam
659cfe853d chore: update to new transifex project url 2022-08-08 15:23:33 -04:00
Misty Release Bot
18c144bf37 Latest translations and fallbacks 2022-08-08 09:06:28 +00:00
Misty Release Bot
cdaa8f21e4 chore(i18n): fallback strings for new resources: nodebb.admin-settings-email 2022-08-05 19:40:09 +00:00
Julian Lam
4055e3bd1c feat: automatically enable the SMTP transport option if the SMTP service is changed 2022-08-05 15:39:32 -04:00
Misty Release Bot
3e56c547a9 chore(i18n): fallback strings for new resources: nodebb.admin-settings-email 2022-08-05 19:28:31 +00:00
Julian Lam
7082291bae fix: #10808; tweak copy for gmail app passwords support 2022-08-05 15:27:46 -04:00
Julian Lam
c6782a2173 Merge remote-tracking branch 'origin/master' into develop 2022-08-05 14:40:47 -04:00
Misty Release Bot
bcf7ef6779 chore(i18n): fallback strings for new resources: nodebb.user 2022-08-05 18:40:17 +00:00
Julian Lam
65c59cc16a test: additional tests for password challenge on email update 2022-08-05 14:39:36 -04:00
Julian Lam
8e1a4bb5df test: add dummy emailer hook to suppress sendmail error logging 2022-08-05 14:39:36 -04:00
Julian Lam
68bcd7f48e test: fix one last failing test 2022-08-05 14:39:36 -04:00
Julian Lam
9d27e90740 fix: don't require password challenge if no password is set in user account 2022-08-05 14:39:36 -04:00
Julian Lam
287f4c2c41 fix: do not throw if password passed into isPasswordCorrect is invalid, just return false 2022-08-05 14:39:36 -04:00
Julian Lam
342cca35c1 chore: re-order interstitial tests so email and gdpr tests are in sub-blocks 2022-08-05 14:39:36 -04:00
Julian Lam
7fcee42be9 feat: present a password challenge on email update flow 2022-08-05 14:39:36 -04:00
Barış Soner Uşaklı
7e8ad785f4 fix: don't crash if req.body.username is not string
Error: req.body.username.trim is not a function
File: authenticationController.login (/usr/src/app/src/controllers/authentication.js:247:40)
2022-08-05 08:11:32 -04:00
Barış Soner Uşaklı
55c5588a4b fix: don't crash if target/user is undefined
Error: TypeError: Cannot read properties of undefined (reading 'displayname')
File: Flags.notify (/usr/src/app/src/flags.js:812:89)
2022-08-05 08:11:11 -04:00
Barış Soner Uşaklı
4586f68eaf fix: race condition causing undefined ajaxify.data 2022-08-04 18:37:27 -04:00
Julian Lam
9ee1afbb0f Merge branch 'master' into develop 2022-08-04 16:04:09 -04:00
Julian Lam
06f089afda test: fix user email tests 2022-08-04 16:02:16 -04:00
Barış Soner Uşaklı
d73f0f9ccb perf: make single db call 2022-08-04 15:51:24 -04:00
Julian Lam
3b296c3aa4 Merge remote-tracking branch 'origin/master' into develop 2022-08-04 14:26:07 -04:00
Julian Lam
f93a0b83bb test: fix tests so that when user.create is called, email is set prior to confirmation 2022-08-04 14:24:30 -04:00
Julian Lam
1ca09b63ed fix: #10809, test runner to only run tests for plugins included in test_plugins 2022-08-04 14:20:36 -04:00
Julian Lam
bd18004d77 fix(deps): bump 2factor to v5.0.2 2022-08-03 15:44:09 -04:00
Julian Lam
e092bfeb46 Merge remote-tracking branch 'origin/master' into develop 2022-08-03 15:21:04 -04:00
Julian Lam
cba9047f67 fix: #10805, hide unconfirmed emails from user data retrieval methods 2022-08-03 12:36:11 -04:00
Julian Lam
3e062a7f29 fix: use different emoji on NodeBB Ready — again because procrastination 2022-08-03 12:10:08 -04:00
renovate[bot]
f02492bde3 fix(deps): update dependency sanitize-html to v2.7.1 (#10792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-30 21:04:51 -04:00
renovate[bot]
f22790c0d0 fix(deps): update dependency html-to-text to v8.2.1 2022-07-30 20:56:58 -04:00
renovate[bot]
e748e31fed fix(deps): update dependency webpack to v5.74.0 2022-07-30 20:56:26 -04:00
renovate[bot]
4ca0d57172 fix(deps): update dependency autoprefixer to v10.4.8 (#10799)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-30 20:05:32 -04:00
Barış Soner Uşaklı
cd438b328a fix: unnecessary escape 2022-07-30 19:57:48 -04:00
Barış Soner Uşaklı
f64a69132a Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2022-07-30 19:56:03 -04:00
Opliko
456b87983a fix: remove socket.io cluster adapter (#10742) 2022-07-30 19:47:19 -04:00
Misty Release Bot
d073e09c11 Latest translations and fallbacks 2022-07-30 09:06:33 +00:00
Julian Lam
dc3a6a29bc fix: #10783, do not purge files without a timestamp prefix 2022-07-29 15:32:23 -04:00
Julian Lam
70d6028954 chore: opt-out of dependabot, due to conflicts with renovate 2022-07-29 11:29:42 -04:00
Misty Release Bot
2f487175a2 chore: update changelog for v2.3.1 2022-07-29 15:26:23 +00:00
Misty Release Bot
44dd42dc89 chore: incrementing version number - v2.3.1 2022-07-29 15:26:22 +00:00
Julian Lam
89173f17ca fix: #10798, logic error in COEP header; helmet config 2022-07-29 11:14:45 -04:00
Misty Release Bot
39e65d0bdf Latest translations and fallbacks 2022-07-29 09:06:47 +00:00
dependabot[bot]
7b606d2e59 chore(deps): bump sanitize-html from 2.7.0 to 2.7.1 in /install
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/apostrophecms/sanitize-html/releases)
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/2.7.0...2.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 20:42:39 -04:00
dependabot[bot]
a99006251c chore(deps): bump webpack from 5.73.0 to 5.74.0 in /install
Bumps [webpack](https://github.com/webpack/webpack) from 5.73.0 to 5.74.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.74.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 19:24:56 -04:00
Julian Lam
847d2b9141 fix: #10795, early return for selection tooltip based on calling user privilege 2022-07-28 15:58:17 -04:00
Julian Lam
5176fb1544 feat: add emoji to startup logs, because procrastination. 2022-07-28 15:13:35 -04:00
Julian Lam
9f225e7062 fix(deps): update persona to v12.0.14 2022-07-28 14:27:37 -04:00
Misty Release Bot
17120e034b chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced, nodebb.admin-menu, nodebb.error 2022-07-28 18:23:10 +00:00
Misty Release Bot
a6f7fff0ad chore: update changelog for v2.3.0 2022-07-28 18:21:07 +00:00
Misty Release Bot
e616b2e16d chore: incrementing version number - v2.3.0 2022-07-28 18:21:06 +00:00
Julian Lam
dcacd815a9 refactor: invert helmet configuration 2022-07-27 17:02:02 -04:00
Barış Soner Uşaklı
b2da02d676 feat: add client side filter:chat.send, closes #10729 2022-07-27 13:12:39 -04:00
Misty Release Bot
56372fb618 Latest translations and fallbacks 2022-07-27 09:07:22 +00:00
renovate[bot]
8384b7cf0d fix(deps): update dependency mongodb to v4.8.1 2022-07-26 19:57:55 -04:00
renovate[bot]
07ce0c3942 chore(deps): update dependency lint-staged to v13 2022-07-26 19:28:00 -04:00
Misty Release Bot
d3c0b7c375 Latest translations and fallbacks 2022-07-26 18:34:45 +00:00
Julian Lam
820bc994d8 feat: UI changes for ACP > Manage > Categories (#10782)
* Revert "Revert "feat: cross origin opener policy options (#10710)""

This reverts commit 46050ace1a.

* Revert "Revert "chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced""

This reverts commit 9f291c07d3.

* feat: closes #10719, don't trim children if category is marked section

* feat: fire hook to allow plugins to filter the pids returned in a user profile

/cc julianlam/nodebb-plugin-support-forum#14

* fix: use `user.hidePrivateData();` more consistently across user retrieval endpoints

* fix: better looking placeholder text for ACP search

* fix: bug where fallback to forum search was not working due to client-side error

* feat: allow plugins to toggle whether IPs are shown in the users CSV export

* feat: Allow defining active plugins in config (#10767)

* Revert "Revert "feat: cross origin opener policy options (#10710)""

This reverts commit 46050ace1a.

* Revert "Revert "chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced""

This reverts commit 9f291c07d3.

* feat: closes #10719, don't trim children if category is marked section

* feat: fire hook to allow plugins to filter the pids returned in a user profile

/cc julianlam/nodebb-plugin-support-forum#14

* fix: use `user.hidePrivateData();` more consistently across user retrieval endpoints

* feat: Allow defining active plugins in config

resolves #10766

* fix: assign the db result to files properly

* test: add tests with plugins in config

* feat: better theme change handling

* feat: add visual indication that plugins can't be activated

* test: correct hooks

* test: fix test definitions

* test: remove instead of resetting nconf to avoid affecting other tests

* test: ... I forgot how nconf worked

* fix: remove negation

* docs: improve wording of error message

* feat: reduce code duplication

* style: remove a redundant space

* fix: remove unused imports

* fix: use nconf instead of requiring config.json

* fix: await...

* fix: second missed await

* fix: move back from getActiveIds to getActive

* fix: use paths again?

* fix: typo

* fix: move require into the function

* fix: forgot to change back to getActive

* test: getActive returns only id

* test: accedently commented out some stuff

* feat: added note to top of plugins page if \!canChangeState

Co-authored-by: Julian Lam <julian@nodebb.org>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>

* feat: show an informative message when no plugins are found after filtering

fixes #10771

* Latest translations and fallbacks

* Latest translations and fallbacks

* chore(deps): bump ace-builds from 1.7.1 to 1.8.1 in /install

Bumps [ace-builds](https://github.com/ajaxorg/ace-builds) from 1.7.1 to 1.8.1.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases)
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.7.1...v1.8.1)

---
updated-dependencies:
- dependency-name: ace-builds
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* fix: swap out icons in ACP > Manage > Categories to more intuitive ones, remove extra placeholder div

* fix: hide expando button if no subcategories; remove attempt at establishing common vars, increased spacing between categories in list

* fix: buggy expando state on category drag/drop

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
Co-authored-by: Opliko <opliko.reg@protonmail.com>
Co-authored-by: Misty Release Bot <deploy@nodebb.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-26 14:29:32 -04:00
renovate[bot]
03a173bb6a fix(deps): update dependency helmet to v5.1.1 2022-07-26 14:27:17 -04:00
dependabot[bot]
f397d96830 chore(deps): bump ace-builds from 1.7.1 to 1.8.1 in /install
Bumps [ace-builds](https://github.com/ajaxorg/ace-builds) from 1.7.1 to 1.8.1.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases)
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.7.1...v1.8.1)

---
updated-dependencies:
- dependency-name: ace-builds
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-26 14:27:17 -04:00
Julian Lam
6840a7423b feat: show an informative message when no plugins are found after filtering
fixes #10771
2022-07-26 14:27:17 -04:00
Opliko
23cb67a112 feat: Allow defining active plugins in config (#10767)
* Revert "Revert "feat: cross origin opener policy options (#10710)""

This reverts commit 46050ace1a.

* Revert "Revert "chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced""

This reverts commit 9f291c07d3.

* feat: closes #10719, don't trim children if category is marked section

* feat: fire hook to allow plugins to filter the pids returned in a user profile

/cc julianlam/nodebb-plugin-support-forum#14

* fix: use `user.hidePrivateData();` more consistently across user retrieval endpoints

* feat: Allow defining active plugins in config

resolves #10766

* fix: assign the db result to files properly

* test: add tests with plugins in config

* feat: better theme change handling

* feat: add visual indication that plugins can't be activated

* test: correct hooks

* test: fix test definitions

* test: remove instead of resetting nconf to avoid affecting other tests

* test: ... I forgot how nconf worked

* fix: remove negation

* docs: improve wording of error message

* feat: reduce code duplication

* style: remove a redundant space

* fix: remove unused imports

* fix: use nconf instead of requiring config.json

* fix: await...

* fix: second missed await

* fix: move back from getActiveIds to getActive

* fix: use paths again?

* fix: typo

* fix: move require into the function

* fix: forgot to change back to getActive

* test: getActive returns only id

* test: accedently commented out some stuff

* feat: added note to top of plugins page if \!canChangeState

Co-authored-by: Julian Lam <julian@nodebb.org>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2022-07-26 14:27:17 -04:00
Julian Lam
a6af47da02 feat: allow plugins to toggle whether IPs are shown in the users CSV export 2022-07-26 14:27:17 -04:00
Julian Lam
25046642e7 fix: bug where fallback to forum search was not working due to client-side error 2022-07-26 14:27:17 -04:00
Julian Lam
1b9c68196f fix: better looking placeholder text for ACP search 2022-07-26 14:27:17 -04:00
Julian Lam
0529f2fb5d fix: use user.hidePrivateData(); more consistently across user retrieval endpoints 2022-07-26 14:27:17 -04:00
Julian Lam
c26be43ac5 feat: fire hook to allow plugins to filter the pids returned in a user profile
/cc julianlam/nodebb-plugin-support-forum#14
2022-07-26 14:27:17 -04:00
Barış Soner Uşaklı
7e80cc1033 feat: closes #10719, don't trim children if category is marked section 2022-07-26 14:27:17 -04:00
Julian Lam
15fb6c3304 Revert "Revert "chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced""
This reverts commit 9f291c07d3.
2022-07-26 14:27:17 -04:00
Julian Lam
ad072c03d1 Revert "Revert "feat: cross origin opener policy options (#10710)""
This reverts commit 46050ace1a.
2022-07-26 14:27:17 -04:00
Julian Lam
f334e398fa chore: have renovate work off of develop branch instead 2022-07-25 16:05:34 -04:00
Julian Lam
4faf0cdf5c fix: minor margin tweak for alert in acp header 2022-07-25 14:32:34 -04:00
dependabot[bot]
067a51107c chore(deps): bump ioredis from 5.2.0 to 5.2.2 in /install
Bumps [ioredis](https://github.com/luin/ioredis) from 5.2.0 to 5.2.2.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/luin/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.2.0...v5.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 12:24:46 -04:00
Tong Ho
bbc7f2afba fix: cannot turn off all networks 2022-07-25 10:39:55 -04:00
Tong Ho
2e088a8ef0 fix: cannot setting networks for sharing posts 2022-07-25 10:39:55 -04:00
Misty Release Bot
0523dfbacb Latest translations and fallbacks 2022-07-23 09:06:33 +00:00
Misty Release Bot
2f6448e736 Latest translations and fallbacks 2022-07-22 09:07:07 +00:00
Misty Release Bot
6c3ebf3b1c chore: update changelog for v2.2.5 2022-07-21 02:16:49 +00:00
Misty Release Bot
d1fe975974 chore: incrementing version number - v2.2.5 2022-07-21 02:16:48 +00:00
Julian Lam
c93bd0105e fix: expire email validation tokens on password change 2022-07-20 17:02:39 -04:00
Misty Release Bot
6f88894cb9 Latest translations and fallbacks 2022-07-20 09:07:57 +00:00
dependabot[bot]
8d109fef47 chore(deps-dev): bump eslint from 8.19.0 to 8.20.0 in /install
Bumps [eslint](https://github.com/eslint/eslint) from 8.19.0 to 8.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.19.0...v8.20.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 09:04:03 -04:00
Julian Lam
0d58e8a6af fix: remove extraneous console.log 2022-07-15 14:57:37 -04:00
dependabot[bot]
4c1bda32c9 chore(deps): bump cron from 2.0.0 to 2.1.0 in /install
Bumps [cron](https://github.com/kelektiv/node-cron) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/kelektiv/node-cron/releases)
- [Changelog](https://github.com/kelektiv/node-cron/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kelektiv/node-cron/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: cron
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-15 08:12:37 -04:00
dependabot[bot]
abb19e981e chore(deps): bump jquery-ui from 1.13.1 to 1.13.2 in /install
Bumps [jquery-ui](https://github.com/jquery/jquery-ui) from 1.13.1 to 1.13.2.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.13.1...1.13.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-15 08:12:18 -04:00
renovate[bot]
bff239da99 fix(deps): update dependency mongodb to v4.8.0 2022-07-13 15:31:48 -04:00
dependabot[bot]
9e52b8c648 chore(deps): bump nodebb-theme-persona in /install
Bumps [nodebb-theme-persona](https://github.com/NodeBB/nodebb-theme-persona) from 12.0.11 to 12.0.12.
- [Release notes](https://github.com/NodeBB/nodebb-theme-persona/releases)
- [Commits](https://github.com/NodeBB/nodebb-theme-persona/compare/v12.0.11...v12.0.12)

---
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>
2022-07-13 11:12:37 -04:00
dependabot[bot]
2a88a50fe5 chore(deps-dev): bump @commitlint/config-angular in /install
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 17.0.0 to 17.0.3.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-angular/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.0.3/@commitlint/config-angular)

---
updated-dependencies:
- dependency-name: "@commitlint/config-angular"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-13 11:02:16 -04:00
dependabot[bot]
8c20fdad9f chore(deps): bump ioredis from 5.1.0 to 5.2.0 in /install
Bumps [ioredis](https://github.com/luin/ioredis) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/luin/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.1.0...v5.2.0)

---
updated-dependencies:
- dependency-name: ioredis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-13 11:01:55 -04:00
Misty Release Bot
52f7ed643c chore: update changelog for v2.2.4 2022-07-12 19:00:24 +00:00
Misty Release Bot
7cc33d6db4 chore: incrementing version number - v2.2.4 2022-07-12 19:00:23 +00:00
Renovate Bot
42a45a71f4 chore(deps): update docker/metadata-action action to v4 2022-07-12 14:21:51 -04:00
Renovate Bot
452e5bf76c fix(deps): update dependency diff to v5.1.0 2022-07-12 14:21:39 -04:00
dependabot[bot]
d568d2f5fb chore(deps): bump ace-builds from 1.5.3 to 1.7.1 in /install
Bumps [ace-builds](https://github.com/ajaxorg/ace-builds) from 1.5.3 to 1.7.1.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases)
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.5.3...v1.7.1)

---
updated-dependencies:
- dependency-name: ace-builds
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-12 14:21:04 -04:00
Julian Lam
3c41ae04cd fix: #10733, extraneous apostrophes in plugin upgrader 2022-07-07 15:10:52 -04:00
Julian Lam
60114219c1 fix: get version from install/package.json instead 2022-07-07 15:07:03 -04:00
dependabot[bot]
9e44cdad19 chore(deps-dev): bump @commitlint/cli from 17.0.2 to 17.0.3 in /install
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.0.2 to 17.0.3.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.0.3/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 11:54:12 -04:00
dependabot[bot]
7139ad5f5a chore(deps-dev): bump eslint from 8.18.0 to 8.19.0 in /install
Bumps [eslint](https://github.com/eslint/eslint) from 8.18.0 to 8.19.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.18.0...v8.19.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 09:56:35 -04:00
dependabot[bot]
26b73b39e0 chore(deps): bump winston from 3.8.0 to 3.8.1 in /install
Bumps [winston](https://github.com/winstonjs/winston) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/v3.8.0...v3.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 09:38:03 -04:00
dependabot[bot]
0d55c42de3 chore(deps): bump ioredis from 5.0.6 to 5.1.0 in /install
Bumps [ioredis](https://github.com/luin/ioredis) from 5.0.6 to 5.1.0.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/luin/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.0.6...v5.1.0)

---
updated-dependencies:
- dependency-name: ioredis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 09:23:27 -04:00
dependabot[bot]
bd37b2865b chore(deps): bump nodemailer from 6.7.5 to 6.7.7 in /install
Bumps [nodemailer](https://github.com/nodemailer/nodemailer) from 6.7.5 to 6.7.7.
- [Release notes](https://github.com/nodemailer/nodemailer/releases)
- [Changelog](https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodemailer/nodemailer/compare/v6.7.5...v6.7.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 08:14:24 -04:00
Julian Lam
8d701ec3e2 fix: #10739, always re-add theme to active plugins, on theme set 2022-07-05 13:15:22 -04:00
Misty Release Bot
d3ef4fa0cd Latest translations and fallbacks 2022-07-05 09:06:42 +00:00
Misty Release Bot
8719a93f43 chore: update changelog for v2.2.3 2022-07-05 02:47:22 +00:00
Misty Release Bot
57b8292d07 chore: incrementing version number - v2.2.3 2022-07-05 02:47:21 +00:00
Julian Lam
b778e38c2b fix: move call to ajaxify.parseData out to root level 2022-07-04 17:06:06 -04:00
Misty Release Bot
9c48e3d66d Latest translations and fallbacks 2022-07-04 09:06:34 +00:00
Misty Release Bot
fb96072f67 Latest translations and fallbacks 2022-07-03 09:06:47 +00:00
Julian Lam
165b804d64 refactor: rewrite ajaxify.parseData in vanilla 2022-07-01 15:45:31 -04:00
Julian Lam
2582cb53a6 fix: move ajaxify.parseData back out to DOMContentLoaded
partialy reverts 2bfccac72
2022-07-01 15:45:15 -04:00
Misty Release Bot
077eb0912a Latest translations and fallbacks 2022-07-01 09:06:40 +00:00
Misty Release Bot
f59ddc34a2 chore: update changelog for v2.2.2 2022-06-30 18:49:12 +00:00
Misty Release Bot
7863459667 chore: incrementing version number - v2.2.2 2022-06-30 18:49:11 +00:00
dependabot[bot]
bfd626b019 chore(deps-dev): bump eslint from 8.17.0 to 8.18.0 in /install
Bumps [eslint](https://github.com/eslint/eslint) from 8.17.0 to 8.18.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.17.0...v8.18.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 09:14:04 -04:00
dependabot[bot]
d037c2c98c chore(deps-dev): bump jsdom from 19.0.0 to 20.0.0 in /install
Bumps [jsdom](https://github.com/jsdom/jsdom) from 19.0.0 to 20.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/19.0.0...20.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 09:13:58 -04:00
Misty Release Bot
f71a349524 Latest translations and fallbacks 2022-06-30 09:06:20 +00:00
Julian Lam
f38b2a737a fix: improper handling of single vs. multiple inputs for hidePrivateData 2022-06-29 16:19:52 -04:00
Julian Lam
ecf0e8ce22 fix: observe user-specific and ACP-specific hiding rules for fullname 2022-06-29 16:12:32 -04:00
Julian Lam
3f5ae893c6 refactor: allow user.hidePrivateData() to handle an array of userData 2022-06-29 16:10:04 -04:00
Barış Soner Uşaklı
cb084cbd62 feat: add client side filter:chat.send, closes #10729 2022-06-28 14:14:40 -04:00
Barış Soner Uşaklı
01943b0e81 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2022-06-28 14:08:58 -04:00
Misty Release Bot
6fac823e64 Latest translations and fallbacks 2022-06-28 09:07:45 +00:00
Misty Release Bot
b5c1658c7f Latest translations and fallbacks 2022-06-27 09:06:44 +00:00
Misty Release Bot
667780cf1e chore: update changelog for v2.2.1 2022-06-24 19:13:06 +00:00
Misty Release Bot
178613cedd chore: incrementing version number - v2.2.1 2022-06-24 19:13:05 +00:00
renovate[bot]
d4a5039e33 fix(deps): update dependency winston to v3.8.0 (#10725)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-24 14:13:21 -04:00
renovate[bot]
0a07c2c028 fix(deps): update dependency sharp to v0.30.7 (#10724)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-24 12:17:02 -04:00
Opliko
7f5b285eb7 docs: remove the redundant security policy template 2022-06-24 11:45:15 -04:00
Julian Lam
17e44ff5c9 feat: fire hook to allow plugins to filter the pids returned in a user profile
/cc julianlam/nodebb-plugin-support-forum#14
2022-06-24 11:35:21 -04:00
Barış Soner Uşaklı
be917e8d39 feat: closes #10719, don't trim children if category is marked section 2022-06-24 11:35:21 -04:00
Julian Lam
e0985d72e7 Revert "Revert "chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced""
This reverts commit 9f291c07d3.
2022-06-24 11:35:21 -04:00
Julian Lam
0d68643bcb Revert "Revert "feat: cross origin opener policy options (#10710)""
This reverts commit 46050ace1a.
2022-06-24 11:35:21 -04:00
Opliko
97baa8f2f7 Use new form issue templates (#10720)
* docs: use the new form issue template

* docs: add codeblock to plugins command in issue template

* docs: remove labels

* docs: remove all labels from issue templates

* style: add new line at the end of issue template files

* docs: re-add issue template labels
2022-06-24 11:34:46 -04:00
Misty Release Bot
fa023f1c5d Latest translations and fallbacks 2022-06-23 09:06:31 +00:00
Misty Release Bot
ab021902a4 Latest translations and fallbacks 2022-06-21 09:06:52 +00:00
Barış Soner Uşaklı
0bec52bc19 feat: closes #10719, don't trim children if category is marked section 2022-06-20 16:40:24 -04:00
Misty Release Bot
871bd04bf8 Latest translations and fallbacks 2022-06-20 09:07:27 +00:00
Misty Release Bot
ee4a6505df Latest translations and fallbacks 2022-06-19 09:07:04 +00:00
Misty Release Bot
66ad72eb57 Latest translations and fallbacks 2022-06-18 09:06:23 +00:00
Misty Release Bot
da48116373 chore(i18n): fallback strings for new resources: nodebb.admin-settings-uploads 2022-06-17 19:10:52 +00:00
Julian Lam
43f9e6c8e4 fix: handle ENOENT on file deletion, closes #10645 2022-06-17 15:09:45 -04:00
Julian Lam
05c30677f5 test: fix i18n tests 2022-06-17 14:26:12 -04:00
Julian Lam
06074e8c33 chore: add in warning in language directories about not editing files directly 2022-06-17 13:47:05 -04:00
Julian Lam
6eed1143ed Revert "Revert "chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced""
This reverts commit 9f291c07d3.
2022-06-17 11:23:12 -04:00
Julian Lam
d903b30feb Revert "Revert "feat: cross origin opener policy options (#10710)""
This reverts commit 46050ace1a.
2022-06-17 11:22:57 -04:00
Julian Lam
46050ace1a Revert "feat: cross origin opener policy options (#10710)"
This reverts commit 881323583f.
2022-06-17 11:21:41 -04:00
Julian Lam
9f291c07d3 Revert "chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced"
This reverts commit 34d75e96e1.
2022-06-17 11:21:35 -04:00
Misty Release Bot
34d75e96e1 chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced 2022-06-17 13:41:11 +00:00
Barış Soner Uşaklı
881323583f feat: cross origin opener policy options (#10710) 2022-06-17 09:40:02 -04:00
Misty Release Bot
20b75b24ad Latest translations and fallbacks 2022-06-17 09:06:43 +00:00
Misty Release Bot
1c8909cc90 Latest translations and fallbacks 2022-06-16 09:07:29 +00:00
Misty Release Bot
bb3766df65 chore: update changelog for v2.2.0 2022-06-15 20:16:58 +00:00
Misty Release Bot
783250ee6f chore: incrementing version number - v2.2.0 2022-06-15 20:16:58 +00:00
Misty Release Bot
f5afb5c396 chore(i18n): fallback strings for new resources: nodebb.admin-settings-uploads 2022-06-15 19:24:01 +00:00
Julian Lam
22368b996e refactor: move orphan cleaning logic to its own method, added tests for getOrphans and cleanOrphans 2022-06-15 15:22:51 -04:00
Julian Lam
88aee43947 feat: new cronjob and ACP option to delete orphans after configurable number of days, closes #10659 2022-06-15 15:22:51 -04:00
Julian Lam
bef236f371 chore: remove unnecessary affected set from deprecated plugin hook 2022-06-15 13:50:12 -04:00
Julian Lam
b9d4724e0f feat: allowed plugins to modify email verification details prior to db saving or email send/plugin fire
+ new hook `filter:user.verify`
- hook `filter:user.verify.code`
2022-06-15 13:49:30 -04:00
Julian Lam
3a015eb8e3 fix: no need to pass in empty Set in deprecated hooks 2022-06-15 13:49:19 -04:00
Julian Lam
c7fa73b163 chore: bump persona, #10699 2022-06-15 12:11:09 -04:00
Misty Release Bot
7836ee4ca7 Latest translations and fallbacks 2022-06-15 09:08:32 +00:00
Misty Release Bot
b1dc053142 chore(i18n): fallback strings for new resources: nodebb.admin-manage-users 2022-06-15 00:12:41 +00:00
Barış Soner Uşaklı
f2f7f78051 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-06-14 13:29:39 -04:00
Barış Soner Uşaklı
2da188fe10 fix: #10696, fix alert for password reset email 2022-06-14 13:29:34 -04:00
Misty Release Bot
bc224905c0 Latest translations and fallbacks 2022-06-14 09:07:47 +00:00
Barış Soner Uşaklı
8045109154 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-06-13 18:45:38 -04:00
Barış Soner Uşaklı
ea1ed66717 test: add more asserts to failing test 2022-06-13 18:45:27 -04:00
Misty Release Bot
2971f7b729 Latest translations and fallbacks 2022-06-13 09:07:21 +00:00
dependabot[bot]
78322636c1 chore(deps): bump less from 4.1.2 to 4.1.3 in /install (#10685)
Bumps [less](https://github.com/less/less.js) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/less/less.js/releases)
- [Changelog](https://github.com/less/less.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/less/less.js/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: less
  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-06-13 01:26:27 -04:00
dependabot[bot]
701d8d76aa chore(deps): bump nodebb-plugin-2factor from 5.0.0 to 5.0.1 in /install (#10686)
Bumps [nodebb-plugin-2factor](https://github.com/julianlam/nodebb-plugin-2factor) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/julianlam/nodebb-plugin-2factor/releases)
- [Commits](https://github.com/julianlam/nodebb-plugin-2factor/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: nodebb-plugin-2factor
  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-06-13 01:26:08 -04:00
Misty Release Bot
630f7181a5 Latest translations and fallbacks 2022-06-12 09:06:49 +00:00
Barış Soner Uşaklı
b6f8e2fd05 fix: #10692 2022-06-11 19:50:05 -04:00
Misty Release Bot
ec143ebc4b Latest translations and fallbacks 2022-06-11 09:06:55 +00:00
Julian Lam
a04da673fa fix: #10690, all uploads in uploads/files showing orphaned 2022-06-10 15:29:18 -04:00
Julian Lam
7f870beb59 fix: bug where post associations are not shown when the directory is files 2022-06-10 14:32:43 -04:00
Julian Lam
d90fc18bf1 chore: bump vanilla 2022-06-10 13:59:09 -04:00
Julian Lam
5bc972df46 chore: bump persona, closes #10566 2022-06-10 13:56:02 -04:00
Misty Release Bot
d7d32a8a17 chore(i18n): fallback strings for new resources: nodebb.topic 2022-06-10 17:55:38 +00:00
Julian Lam
ece733eddc feat: pass absolute url to post into post tools response, #10566 2022-06-10 13:54:42 -04:00
dependabot[bot]
c82d34c88d chore(deps): bump spdx-license-list from 6.5.0 to 6.6.0 in /install
Bumps [spdx-license-list](https://github.com/sindresorhus/spdx-license-list) from 6.5.0 to 6.6.0.
- [Release notes](https://github.com/sindresorhus/spdx-license-list/releases)
- [Commits](https://github.com/sindresorhus/spdx-license-list/compare/v6.5.0...v6.6.0)

---
updated-dependencies:
- dependency-name: spdx-license-list
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 09:21:20 -04:00
Misty Release Bot
ca038b8409 chore: update changelog for v2.1.1 2022-06-08 14:24:57 +00:00
Misty Release Bot
5d3db8c72b chore: incrementing version number - v2.1.1 2022-06-08 14:24:56 +00:00
dependabot[bot]
bb39dfba41 chore(deps): bump nodebb-theme-persona from 12.0.8 to 12.0.9 in /install
Bumps [nodebb-theme-persona](https://github.com/NodeBB/nodebb-theme-persona) from 12.0.8 to 12.0.9.
- [Release notes](https://github.com/NodeBB/nodebb-theme-persona/releases)
- [Commits](https://github.com/NodeBB/nodebb-theme-persona/compare/v12.0.8...v12.0.9)

---
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>
2022-06-08 08:45:05 -04:00
dependabot[bot]
a898785671 chore(deps): bump mongodb from 4.6.0 to 4.7.0 in /install
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v4.6.0...v4.7.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 09:51:07 -04:00
dependabot[bot]
ce38f711cf chore(deps): bump async from 3.2.3 to 3.2.4 in /install
Bumps [async](https://github.com/caolan/async) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v3.2.3...v3.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 09:50:53 -04:00
dependabot[bot]
e5e788d2ad chore(deps-dev): bump @commitlint/config-angular in /install
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 16.3.0 to 17.0.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-angular/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.0.0/@commitlint/config-angular)

---
updated-dependencies:
- dependency-name: "@commitlint/config-angular"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 13:23:36 -04:00
dependabot[bot]
52c86dba69 chore(deps-dev): bump eslint from 8.16.0 to 8.17.0 in /install
Bumps [eslint](https://github.com/eslint/eslint) from 8.16.0 to 8.17.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.16.0...v8.17.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 12:53:34 -04:00
dependabot[bot]
eb9a46f871 chore(deps): bump xregexp from 5.1.0 to 5.1.1 in /install
Bumps [xregexp](https://github.com/slevithan/xregexp) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/slevithan/xregexp/releases)
- [Commits](https://github.com/slevithan/xregexp/compare/v5.1.0...v5.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 12:53:11 -04:00
Barış Soner Uşaklı
48564cfa86 fix: #10675, don't ajaxify to /assets/ urls 2022-06-03 19:16:29 -04:00
dependabot[bot]
6239a1ff52 chore(deps): bump webpack from 5.72.1 to 5.73.0 in /install (#10677)
Bumps [webpack](https://github.com/webpack/webpack) from 5.72.1 to 5.73.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.72.1...v5.73.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 13:50:38 -04:00
dependabot[bot]
557648e609 chore(deps): bump nodebb-theme-slick from 2.0.1 to 2.0.2 in /install
Bumps [nodebb-theme-slick](https://github.com/pichalite/nodebb-theme-slick) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/pichalite/nodebb-theme-slick/releases)
- [Commits](https://github.com/pichalite/nodebb-theme-slick/compare/v2.0.1...v2.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-03 09:15:29 -04:00
Misty Release Bot
a320a9761e Latest translations and fallbacks 2022-06-03 09:07:31 +00:00
Barış Soner Uşaklı
6a0339dea4 https://github.com/pichalite/nodebb-theme-slick/issues/60 2022-06-02 18:12:46 -04:00
Julian Lam
a97444169f docs: fix changelog to more accurately reflect new changes 2022-06-02 17:20:08 +00:00
Misty Release Bot
7121949d4e chore: update changelog for v2.1.0 2022-06-02 16:48:20 +00:00
Misty Release Bot
987045c372 chore: incrementing version number - v2.1.0 2022-06-02 16:48:20 +00:00
dependabot[bot]
6e95e5c5ae chore(deps): bump nodebb-plugin-2factor from 4.0.1 to 5.0.0 in /install
Bumps [nodebb-plugin-2factor](https://github.com/julianlam/nodebb-plugin-2factor) from 4.0.1 to 5.0.0.
- [Release notes](https://github.com/julianlam/nodebb-plugin-2factor/releases)
- [Commits](https://github.com/julianlam/nodebb-plugin-2factor/compare/v4.0.1...v5.0.0)

---
updated-dependencies:
- dependency-name: nodebb-plugin-2factor
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 07:32:38 -04:00
Barış Soner Uşaklı
2345025e37 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-06-01 12:48:32 -04:00
Barış Soner Uşaklı
39d61061e0 feat: add clipboard to runtime modules 2022-06-01 12:48:30 -04:00
dependabot[bot]
5f6e9f67c6 chore(deps-dev): bump @commitlint/cli from 17.0.1 to 17.0.2 in /install (#10672)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.0.1 to 17.0.2.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.0.2/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  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-06-01 10:38:07 -04:00
Misty Release Bot
78a4d594cc Latest translations and fallbacks 2022-06-01 09:07:02 +00:00
renovate[bot]
e7fd186118 fix(deps): update dependency ace-builds to v1.5.3 (#10667)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-31 21:02:14 -04:00
renovate[bot]
5bafab79e1 fix(deps): update dependency ioredis to v5.0.6 (#10668)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-31 21:02:04 -04:00
renovate[bot]
e47a63f05d fix(deps): update dependency nodebb-theme-persona to v12.0.8 (#10669)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-31 21:01:54 -04:00
Renovate Bot
01f607a5c0 chore(deps): update dependency lint-staged to v12.5.0 2022-06-01 00:59:32 +00:00
Julian Lam
a35642601c fix: buildBreadcrumbs naively prepending relative path even if absolute paths are passed in 2022-05-31 14:56:41 -04:00
Misty Release Bot
01be1a9955 Latest translations and fallbacks 2022-05-31 09:06:57 +00:00
Renovate Bot
8885d2287c chore(deps): update dependency lint-staged to v12.4.3 2022-05-31 02:49:04 +00:00
renovate[bot]
356f9a189a fix(deps): update dependency nodebb-plugin-2factor to v4.0.1 (#10665)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-30 20:48:24 -04:00
renovate[bot]
7b5f53fc84 fix(deps): update dependency ace-builds to v1.5.2 (#10664)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-30 20:48:14 -04:00
renovate[bot]
a9a2683681 fix(deps): update dependency nodebb-theme-persona to v12.0.7 (#10666)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-30 20:17:09 -04:00
renovate[bot]
23232508d3 fix(deps): update dependency sharp to v0.30.6 (#10662)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-30 20:14:27 -04:00
Julian Lam
91f32487fd chore: bump persona 2022-05-30 14:47:14 -04:00
Julian Lam
f6a7582c51 fix: more generic copy for notif/chat button labels 2022-05-30 14:46:29 -04:00
renovate[bot]
f6728404f0 chore(deps): update dependency eslint to v8.16.0 (#10654)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-28 21:51:43 -04:00
dependabot[bot]
d9f2096db1 chore(deps): bump sharp from 0.30.4 to 0.30.5 in /install (#10651)
Bumps [sharp](https://github.com/lovell/sharp) from 0.30.4 to 0.30.5.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.30.4...v0.30.5)

---
updated-dependencies:
- dependency-name: sharp
  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-05-28 21:18:24 -04:00
dependabot[bot]
0772ec07db chore(deps): bump postcss from 8.4.13 to 8.4.14 in /install (#10652)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.13 to 8.4.14.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.13...8.4.14)

---
updated-dependencies:
- dependency-name: postcss
  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-05-28 21:17:23 -04:00
dependabot[bot]
a13a523b1f chore(deps): bump socket.io-client from 4.5.0 to 4.5.1 in /install (#10653)
Bumps [socket.io-client](https://github.com/socketio/socket.io-client) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/socketio/socket.io-client/releases)
- [Changelog](https://github.com/socketio/socket.io-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-client/compare/4.5.0...4.5.1)

---
updated-dependencies:
- dependency-name: socket.io-client
  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-05-28 21:17:09 -04:00
Barış Soner Uşaklı
edf8b0f8c0 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-05-28 20:20:56 -04:00
renovate[bot]
1fd68281d0 fix(deps): update dependency nodebb-theme-persona to v12.0.5 (#10649)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-28 20:20:25 -04:00
dependabot[bot]
fe873182f6 chore(deps-dev): bump @commitlint/cli from 16.3.0 to 17.0.1 in /install (#10644)
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 16.3.0 to 17.0.1.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.0.1/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-28 20:18:33 -04:00
renovate[bot]
18e76c215e chore(deps): update dependency lint-staged to v12.4.2 (#10647)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-28 20:17:45 -04:00
dependabot[bot]
e894147c82 chore(deps): bump nodebb-plugin-mentions in /install (#10648)
Bumps [nodebb-plugin-mentions](https://github.com/julianlam/nodebb-plugin-mentions) from 3.0.10 to 3.0.11.
- [Release notes](https://github.com/julianlam/nodebb-plugin-mentions/releases)
- [Commits](https://github.com/julianlam/nodebb-plugin-mentions/compare/v3.0.10...v3.0.11)

---
updated-dependencies:
- dependency-name: nodebb-plugin-mentions
  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-05-28 20:17:37 -04:00
Barış Soner Uşaklı
6f9829e663 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-05-28 19:43:49 -04:00
Barış Soner Uşaklı
2bfccac72a fix: #10642, fix order of dom ready events
plugin $().ready hooks will fire first, core will fire last
2022-05-28 19:43:45 -04:00
renovate[bot]
ad37020218 fix(deps): update dependency cron to v2 (#10568)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-28 19:41:20 -04:00
dependabot[bot]
5faaf6a152 chore(deps): bump helmet from 5.0.2 to 5.1.0 in /install (#10641)
Bumps [helmet](https://github.com/helmetjs/helmet) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/helmetjs/helmet/releases)
- [Changelog](https://github.com/helmetjs/helmet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/helmetjs/helmet/compare/v5.0.2...v5.1.0)

---
updated-dependencies:
- dependency-name: helmet
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-28 19:40:58 -04:00
Misty Release Bot
abd8e216b0 chore: update changelog for v2.0.1 2022-05-28 17:14:12 +00:00
Misty Release Bot
768427d4bb chore: incrementing version number - v2.0.1 2022-05-28 17:14:11 +00:00
Misty Release Bot
89631a1cdb Latest translations and fallbacks 2022-05-27 09:06:16 +00:00
Barış Soner Uşaklı
191fb9f443 test: fix tests again 2022-05-26 13:10:57 -04:00
Barış Soner Uşaklı
6677efd7b5 test: fix UUID test 2022-05-26 12:42:09 -04:00
Barış Soner Uşaklı
60eeae95d2 lint: unnecessary escape 2022-05-26 12:32:58 -04:00
Barış Soner Uşaklı
e802fab87f fix: get rid of math.random in utils.generateUUID 2022-05-26 12:12:19 -04:00
dependabot[bot]
9d9b3f4e2f chore(deps): bump socket.io from 4.5.0 to 4.5.1 in /install (#10639)
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.5.0...4.5.1)

---
updated-dependencies:
- dependency-name: socket.io
  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-05-24 13:29:11 -04:00
dependabot[bot]
f9c9ac9c70 chore(deps): bump ioredis from 5.0.4 to 5.0.5 in /install (#10637)
Bumps [ioredis](https://github.com/luin/ioredis) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/luin/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.0.4...v5.0.5)

---
updated-dependencies:
- dependency-name: ioredis
  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-05-24 12:59:00 -04:00
dependabot[bot]
acf188b00f chore(deps): bump ace-builds from 1.4.14 to 1.5.1 in /install (#10636)
Bumps [ace-builds](https://github.com/ajaxorg/ace-builds) from 1.4.14 to 1.5.1.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases)
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.4.14...v1.5.1)

---
updated-dependencies:
- dependency-name: ace-builds
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-24 12:33:00 -04:00
Misty Release Bot
5017b1a3a8 Latest translations and fallbacks 2022-05-24 09:06:16 +00:00
Barış Soner Uşaklı
b124370b92 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-05-20 20:23:36 -04:00
Barış Soner Uşaklı
7e4d2852f6 fix: #10528, gray out disabled nav items
use enabled property if present
change default to true, so added nav items are enabled by default
2022-05-20 20:23:16 -04:00
Julian Lam
92abb352b6 fix: encode privilege name for API call 2022-05-20 13:55:55 -04:00
Misty Release Bot
50c1f986d6 Latest translations and fallbacks 2022-05-20 09:07:23 +00:00
Barış Soner Uşaklı
0084b563f3 fix: #10631, fix user digest setting display acp 2022-05-19 12:32:52 -04:00
dependabot[bot]
c7aefe9cdf chore(deps): bump yargs from 17.4.1 to 17.5.1 in /install (#10624)
Bumps [yargs](https://github.com/yargs/yargs) from 17.4.1 to 17.5.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.4.1...v17.5.1)

---
updated-dependencies:
- dependency-name: yargs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 13:43:03 -04:00
Julian Lam
54ff768f51 chore: remove optional middleware parameter from setupPageRoute and setupAdminPageRoute calls 2022-05-16 13:34:14 -04:00
Misty Release Bot
0ca458abfc Latest translations and fallbacks 2022-05-16 09:06:41 +00:00
Misty Release Bot
2bace63425 chore(i18n): fallback strings for new resources: nodebb.user 2022-05-16 02:27:25 +00:00
Barış Soner Uşaklı
c926358d73 feat: add mute history, closes #10596 2022-05-15 22:26:35 -04:00
Barış Soner Uşaklı
9acdc6808c feat: allow unban/unmute on flag details page. closes #10593 2022-05-15 21:49:27 -04:00
Barış Soner Uşaklı
b17a81bfb0 fix: translate api error messages to user lang, closes #10623, 2022-05-15 21:23:23 -04:00
Misty Release Bot
a4784ed357 Latest translations and fallbacks 2022-05-15 09:06:09 +00:00
Barış Soner Uşaklı
24a640d93e fix: alert template error. closes #10620 2022-05-14 20:29:33 -04:00
Barış Soner Uşaklı
3a009f96cd fix: closes #10621, convert \r\n to \n so it isn't counted as 2 characters 2022-05-14 20:03:16 -04:00
Renovate Bot
1dc9671749 chore(deps): update dependency @commitlint/cli to v16.3.0 2022-05-14 16:30:33 +00:00
dependabot[bot]
9c4ef133e1 chore(deps-dev): bump @commitlint/config-angular in /install (#10614)
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 16.2.4 to 16.3.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-angular/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v16.3.0/@commitlint/config-angular)

---
updated-dependencies:
- dependency-name: "@commitlint/config-angular"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-14 11:02:06 -04:00
renovate[bot]
db67a50a6b fix(deps): update dependency clipboard to v2.0.11 (#10574)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-14 10:29:26 -04:00
dependabot[bot]
548765838f chore(deps-dev): bump husky from 8.0.0 to 8.0.1 in /install (#10595)
Bumps [husky](https://github.com/typicode/husky) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  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-05-14 10:29:12 -04:00
dependabot[bot]
aee74bd682 chore(deps): bump mongodb from 4.5.0 to 4.6.0 in /install (#10603)
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-14 10:28:57 -04:00
dependabot[bot]
b1967681c3 chore(deps): bump express-session from 1.17.2 to 1.17.3 in /install (#10604)
Bumps [express-session](https://github.com/expressjs/session) from 1.17.2 to 1.17.3.
- [Release notes](https://github.com/expressjs/session/releases)
- [Changelog](https://github.com/expressjs/session/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/session/compare/v1.17.2...v1.17.3)

---
updated-dependencies:
- dependency-name: express-session
  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-05-14 10:28:31 -04:00
Barış Soner Uşaklı
578363ad0d Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-05-14 10:11:31 -04:00
Barış Soner Uşaklı
082a9e1d42 fix: remove ev, hooks don't pass event, closes #10611 2022-05-14 10:11:26 -04:00
Misty Release Bot
d492bc3dce Latest translations and fallbacks 2022-05-14 09:06:14 +00:00
Misty Release Bot
192aa2d303 chore(i18n): fallback strings for new resources: nodebb.admin-manage-admins-mods 2022-05-13 23:53:12 +00:00
Barış Soner Uşaklı
b860c2605c feat: paginaton for admins-mods, closes #10610
ability to select categoriest to see children
2022-05-13 19:52:19 -04:00
Julian Lam
1411059698 feat: fix typo, show route in deprecation notice for third-param removal in setupPageRoute 2022-05-13 13:31:43 -04:00
Misty Release Bot
f1bc9aa9f0 Latest translations and fallbacks 2022-05-13 09:06:22 +00:00
Barış Soner Uşaklı
3a77e71443 lint: fix semicolon 2022-05-12 20:58:14 -04:00
Barış Soner Uşaklı
a583141252 feat: add button to see category children, closes #10606 2022-05-12 20:48:57 -04:00
Barış Soner Uşaklı
0e60a704a5 fix: 'unread' postIndex regression closes #10607 2022-05-12 11:33:11 -04:00
Barış Soner Uşaklı
70ad4a5222 fix: clear dragging on mouseup as well
dragging a modal wasn't firing dragend
2022-05-11 19:38:00 -04:00
Julian Lam
5aca106b81 chore: add note re: sort module 2022-05-11 14:02:57 -04:00
dependabot[bot]
06edb6e6c0 chore(deps): bump webpack from 5.72.0 to 5.72.1 in /install (#10600)
Bumps [webpack](https://github.com/webpack/webpack) from 5.72.0 to 5.72.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.72.0...v5.72.1)

---
updated-dependencies:
- dependency-name: webpack
  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-05-11 13:53:13 -04:00
dependabot[bot]
fcb6c191a2 chore(deps-dev): bump grunt from 1.5.2 to 1.5.3 in /install
Bumps [grunt](https://github.com/gruntjs/grunt) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/gruntjs/grunt/releases)
- [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG)
- [Commits](https://github.com/gruntjs/grunt/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: grunt
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 13:48:01 -04:00
Barış Soner Uşaklı
dc320c897a feat: closes #10601, ability to prevent alerts on topic list 2022-05-11 11:08:50 -04:00
Barış Soner Uşaklı
f07b4484cf feat: add post to hook params 2022-05-11 10:34:29 -04:00
dependabot[bot]
03453a620f chore(deps-dev): bump husky from 7.0.4 to 8.0.0 in /install (#10591)
Bumps [husky](https://github.com/typicode/husky) from 7.0.4 to 8.0.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v7.0.4...v8.0.0)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 14:18:30 -04:00
dependabot[bot]
0d75c6cb1a chore(deps-dev): bump eslint from 8.14.0 to 8.15.0 in /install (#10592)
Bumps [eslint](https://github.com/eslint/eslint) from 8.14.0 to 8.15.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.14.0...v8.15.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 14:18:09 -04:00
Misty Release Bot
a4ed398c19 Latest translations and fallbacks 2022-05-09 09:06:30 +00:00
Barış Soner Uşaklı
e904f43857 feat: add sorted-list.parse 2022-05-06 23:33:53 -04:00
Barış Soner Uşaklı
8faa6f2382 feat: add new hook that fires when sorted-set list modal is shown 2022-05-06 21:24:12 -04:00
Barış Soner Uşaklı
265a013938 chore: up emoji 2022-05-06 21:11:21 -04:00
Julian Lam
e2ff1e39b1 fix: #10588 exit code 1 on failed plugin activation 2022-05-06 16:02:07 -04:00
Barış Soner Uşaklı
7867ccd780 feat: #10585, ability to mute from flag details 2022-05-06 14:16:41 -04:00
Barış Soner Uşaklı
5e7d366f55 fix: #10584, dont show backlinks if you dont have read privilege 2022-05-06 14:01:08 -04:00
Barış Soner Uşaklı
1928a18617 fix: #10586, fix webinstaller folders 2022-05-06 12:53:44 -04:00
Misty Release Bot
8838bc200d Latest translations and fallbacks 2022-05-06 09:06:30 +00:00
Barış Soner Uşaklı
5e82cf23c6 fix: closes #10583, replace removed socket method with api method 2022-05-05 21:24:25 -04:00
Barış Soner Uşaklı
bcd219d227 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-05-05 18:53:53 -04:00
Barış Soner Uşaklı
12b58fcfe6 refactor: return module if it doesn't have default export 2022-05-05 18:53:49 -04:00
Julian Lam
0c19b1e57c feat: send back missing parameters as array of missing properties, in API response 2022-05-05 14:16:10 -04:00
Barış Soner Uşaklı
323dbc9789 feat: add hook for user invite 2022-05-05 12:43:48 -04:00
Barış Soner Uşaklı
e707739326 fix: add missing fs-extra, #10580 2022-05-05 11:35:54 -04:00
renovate[bot]
d98f4ea90c fix(deps): update dependency nodebb-theme-slick to v2.0.1 (#10578)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 21:17:22 -04:00
renovate[bot]
930aefcf2c fix(deps): update dependency nodebb-theme-persona to v12.0.2 (#10577)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 21:13:32 -04:00
Barış Soner Uşaklı
84f2726391 refactor: deprecate middleware param (#10513)
* refactor: deprecate middleware param

make middlewares optional

* chore: add node 18 again
2022-05-04 21:12:37 -04:00
renovate[bot]
6eef08f9c1 fix(deps): update dependency nodemailer to v6.7.5 (#10573)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 21:12:23 -04:00
Misty Release Bot
60fc3f5d02 chore: update changelog for v2.0.0 2022-05-04 19:19:01 +00:00
Misty Release Bot
f23c3ff5b2 chore: incrementing version number - v2.0.0 2022-05-04 19:19:00 +00:00
Misty Release Bot
3f2aea4437 Latest translations and fallbacks 2022-05-04 09:06:35 +00:00
renovate[bot]
c3c779153a fix(deps): update dependency @socket.io/redis-adapter to v7.2.0 (#10571)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-03 16:35:20 -04:00
renovate[bot]
68168a7d74 fix(deps): update dependency autoprefixer to v10.4.7 (#10563)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-03 16:33:33 -04:00
Barış Soner Uşaklı
ea01ba0152 fix: #10569, fix category move event text 2022-05-03 14:19:38 -04:00
Misty Release Bot
0035e5f868 Latest translations and fallbacks 2022-05-03 09:06:41 +00:00
Misty Release Bot
1764f2f7fb Latest translations and fallbacks 2022-05-02 09:06:42 +00:00
Barış Soner Uşaklı
d2e6f31717 refactor: not used anymore 2022-05-01 23:04:57 -04:00
renovate[bot]
1d446e14fc fix(deps): update dependency nodebb-theme-persona to v12.0.1 (#10561)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-01 13:26:30 -04:00
Renovate Bot
a7986773fe chore(deps): update dependency mocha to v10 2022-05-01 13:23:43 +00:00
Misty Release Bot
fa118c6ba4 Latest translations and fallbacks 2022-05-01 09:06:04 +00:00
renovate[bot]
eb3c398e26 fix(deps): update dependency nodebb-plugin-mentions to v3.0.10 (#10560)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 21:20:41 -04:00
renovate[bot]
c3ff28ff55 fix(deps): update dependency nodebb-plugin-dbsearch to v5.1.5 (#10559)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 21:20:33 -04:00
Misty Release Bot
d617c6651b chore(i18n): fallback strings for new resources: nodebb.post-queue 2022-04-30 23:18:25 +00:00
Barış Soner Uşaklı
40047e1599 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-04-30 19:17:26 -04:00
Barış Soner Uşaklı
012860a49a feat: show number of selected posts in reject confirm 2022-04-30 19:17:22 -04:00
Misty Release Bot
3492dd11e6 chore(i18n): fallback strings for new resources: nodebb.post-queue 2022-04-30 23:08:36 +00:00
Barış Soner Uşaklı
23175110a2 feat: post queue bulk actions closes #10520, fix #10555, 2022-04-30 19:07:49 -04:00
renovate[bot]
1acbe4c10f fix(deps): update dependency nodebb-plugin-mentions to v3.0.9 (#10554)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 18:51:11 -04:00
renovate[bot]
6217db0041 fix(deps): update dependency postcss to v8.4.13 (#10553)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 09:58:04 -04:00
renovate[bot]
b0dc561579 fix(deps): update dependency express to v4.18.1 (#10550)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 09:57:37 -04:00
renovate[bot]
672ab25ab4 fix(deps): pin dependency webpack to 5.72.0 (#10549)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 09:56:38 -04:00
Misty Release Bot
72d47a0b8a chore(i18n): fallback strings for new resources: nodebb.error, nodebb.flags 2022-04-30 01:40:55 +00:00
Barış Soner Uşaklı
d20b07cfea Webpack5 (#10311)
* feat: webpack 5 part 1

* fix: gruntfile fixes

* fix: fix taskbar warning

add app.importScript
copy public/src/modules to build folder

* refactor: remove commented old code

* feat: reenable admin

* fix: acp settings pages, fix sortable on manage categories

embedded require in html not allowed

* fix: bundle serialize/deserizeli so plugins dont break

* test: fixe util tests

* test: fix require path

* test: more test fixes

* test: require correct utils module

* test: require correct utils

* test: log stack

* test: fix db require blowing up tests

* test: move and disable bundle test

* refactor: add aliases

* test: disable testing route

* fix: move webpack modules necessary for build, into `dependencies`

* test: fix one more test

remove 500-embed.tpl

* fix: restore use of assets/nodebb.min.js, at least for now

* fix: remove unnecessary line break

* fix: point to proper ACP bundle

* test: maybe fix build test

* test: composer

* refactor: dont need dist

* refactor: more cleanup

use everything from build/public folder

* get rid of conditional import in app.js

* fix: ace

* refactor: cropper alias

* test: lint and test fixes

* lint: fix

* refactor: rename function to app.require

* refactor: go back to using app.require

* chore: use github branch

* chore: use webpack branch

* feat: webpack webinstaller

* feat: add chunkFile name with contenthash

* refactor: move hooks to top

* refactor: get rid of template500Function

* fix(deps): use webpack5 branch of 2factor plugin

* chore: tagging v2.0.0-beta.0 pre-release version 💥 :shipit: 🎉 🚀

* refactor: disable cache on templates

loadTemplate is called once by benchpress and the result is cache internally

* refactor: add server side helpers.js

* feat: deprecate /plugins shorthand route, closes #10343

* refactor: use build/public for webpack

* test: fix filename

* fix: more specific selector

* lint: ignore

* refactor: fix comments

* test: add debug for random failing test

* refactor: cleanup

remove test page, remove dupe functions in utils.common

* lint: use relative path  for now

* chore: bump prerelease version

* feat: add translateKeys

* fix: optional params

* fix: get rid of extra timeago files

* refactor: cleanup, require timeago locale earlier

remove translator.prepareDOM, it is in header.tpl html tag

* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)

* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels

- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks

* docs: fix typo in comment

* test: spec changes

* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)

* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels

- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks

* docs: fix typo in comment

* test: spec changes

* feat: allow app.require('bootbox'/'benchpressjs')

* refactor: require server side utils

* test: jquery ready

* change istaller to use build/public

* test: use document.addEventListener

* refactor: closes #10301

* refactor: generateTopicClass

* fix: column counts for other privileges

* fix: #10443, regression where sorted-list items did not render into the DOM in the predicted order [breaking]

* fix: typo in hook name

* refactor: introduce a generic autocomplete.init() method that can be called to add nodebb-style autocompletion but using different data sources (e.g. not user/groups/tags)

* fix: crash if `delay` not passed in (as it cannot be destructured)

* refactor: replace substr

* feat: set --panel-offset style in html element based on stored value in localStorage

* refactor: addDropupHandler() logic to be less naive

- Take into account height of the menu
- Don't apply dropUp logic if there's nothing in the dropdown
- Remove 'hidden' class (added by default in Persona for post tools) when menu items are added

closes #10423

* refactor: simplify utils.params [breaking]

Retrospective analysis of the usage of this method suggests that the options passed in are superfluous, and that only `url` is required. Using a browser built-in makes more sense to accomplish what this method sets out to do.

* feat: add support for returning full URLSearchParams for utils.params

* fix: utils.params() fallback handling

* fix: default empty obj for params()

* fix: remove \'loggedin\' and \'register\' qs parameters once they have been used, delay invocation of messages until ajaxify.end

* fix: utils.params() not allowing relative paths to be passed in

* refactor(DRY): new assertPasswordValidity utils method

* fix: incorrect error message returned on insufficient privilege on flag edit

* fix: read/update/delete access to flags API should be limited for moderators to only post flags in categories they moderate

- added failing tests and patched up middleware.assert.flags to fix

* refactor: flag api v3 tests to create new post and flags on every round

* fix: missing error:no-flag language key

* refactor: flags.canView to check flag existence, simplify middleware.assert.flag

* feat: flag deletion API endpoint, #10426

* feat: UI for flag deletion, closes #10426

* chore: update plugin versions

* chore: up emoji

* chore: update markdown

* chore: up emoji-android

* fix: regression caused by utils.params() refactor, supports arrays and pipes all values through utils.toType, adjusts tests to type check

Co-authored-by: Julian Lam <julian@nodebb.org>
2022-04-29 21:39:33 -04:00
renovate[bot]
d6843294fc fix(deps): update dependency cron to v1.8.3 (#10543)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 12:49:30 -04:00
dependabot[bot]
a2e263a12a chore(deps): bump nodebb-plugin-dbsearch from 5.1.3 to 5.1.4 in /install (#10545)
Bumps [nodebb-plugin-dbsearch](https://github.com/barisusakli/nodebb-plugin-dbsearch) from 5.1.3 to 5.1.4.
- [Release notes](https://github.com/barisusakli/nodebb-plugin-dbsearch/releases)
- [Commits](https://github.com/barisusakli/nodebb-plugin-dbsearch/compare/v5.1.3...v5.1.4)

---
updated-dependencies:
- dependency-name: nodebb-plugin-dbsearch
  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-04-29 12:38:21 -04:00
renovate[bot]
8d47f352e5 fix(deps): update dependency bootbox to v5.5.3 (#10531)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 12:03:41 -04:00
renovate[bot]
afefee0802 fix(deps): update dependency nodemailer to v6.7.4 (#10540)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 12:02:54 -04:00
Julian Lam
e4a9c07817 feat: output canonical URL as last line on NodeBB boot 2022-04-29 11:29:02 -04:00
Renovate Bot
62f1c78a06 chore(deps): update dependency smtp-server to v3.11.0 2022-04-29 00:52:11 +00:00
Misty Release Bot
a764df5212 chore: update changelog for v1.19.7 2022-04-28 13:40:05 +00:00
Misty Release Bot
0c4850e287 chore: incrementing version number - v1.19.7 2022-04-28 13:40:04 +00:00
Renovate Bot
0d9179f7a1 chore(deps): update commitlint monorepo to v16.2.4 2022-04-28 06:37:13 +00:00
Misty Release Bot
4345439895 Latest translations and fallbacks 2022-04-27 09:06:30 +00:00
renovate[bot]
804542e403 chore(deps): update dependency lint-staged to v12.4.1 (#10527)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 13:40:41 -04:00
Barış Soner Uşaklı
50658a82f0 test: remove node18 until nodemailer is fixed 2022-04-26 13:35:29 -04:00
Julian Lam
21dbd47688 fix: typo in hook name 2022-04-26 11:31:46 -04:00
Julian Lam
46fbe15665 fix: #10443, regression where sorted-list items did not render into the DOM in the predicted order [breaking] 2022-04-26 11:31:42 -04:00
Misty Release Bot
78afb88284 Latest translations and fallbacks 2022-04-26 09:08:14 +00:00
renovate[bot]
5ae690a672 fix(deps): update dependency express to v4.18.0 (#10526)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 22:10:29 -04:00
renovate[bot]
d86c447a6c fix(deps): update socket.io packages to v4.5.0 (#10522)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 22:10:06 -04:00
dependabot[bot]
0c2d015cdc chore(deps): bump socket.io from 4.4.1 to 4.5.0 in /install (#10523)
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.4.1...4.5.0)

---
updated-dependencies:
- dependency-name: socket.io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 18:56:22 -04:00
renovate[bot]
5ce4c87473 fix(deps): update dependency autoprefixer to v10.4.5 (#10521)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-24 22:34:35 -04:00
renovate[bot]
b81a0cfe8a fix(deps): update dependency nodebb-plugin-2factor to v3.0.7 (#10510)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-24 22:06:44 -04:00
renovate[bot]
40b7ff4b7b chore(deps): update dependency eslint to v8.14.0 (#10514)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-24 22:06:31 -04:00
renovate[bot]
a767d623a6 fix(deps): update dependency nodebb-widget-essentials to v5.0.11 (#10517)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-24 22:06:16 -04:00
Barış Soner Uşaklı
82389469f6 feat: make it simpler to use redis sentinels 2022-04-22 15:39:27 -04:00
Barış Soner Uşaklı
d98ca43799 Revert "refactor: closes #10509"
This reverts commit 7f241dbbe6.
2022-04-22 15:24:02 -04:00
Barış Soner Uşaklı
7f241dbbe6 refactor: closes #10509
deprecate third param(middleware) to setupPageRoute/setupAdminPageRoute
make middlewares optional on all 3 helpers
2022-04-22 15:22:08 -04:00
Barış Soner Uşaklı
976914e71f test: remove node 12, add 18 2022-04-22 13:29:41 -04:00
Barış Soner Uşaklı
ac125538d0 refactor: show invalid uri 2022-04-22 12:13:43 -04:00
Misty Release Bot
dba12fd4bf Latest translations and fallbacks 2022-04-22 09:06:40 +00:00
Barış Soner Uşaklı
a8e642ade2 refactor: skip content length check if submitting from post-queue 2022-04-21 12:23:37 -04:00
Misty Release Bot
0afe1d5f73 Latest translations and fallbacks 2022-04-21 09:06:18 +00:00
Renovate Bot
fff818c65f chore(deps): update dependency lint-staged to v12.4.0 2022-04-21 03:21:41 +00:00
renovate[bot]
a36911fc49 fix(deps): update dependency sharp to v0.30.4 (#10504)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-19 13:19:16 -04:00
Barış Soner Uşaklı
983197b236 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-04-19 13:17:13 -04:00
Barış Soner Uşaklı
424db9ff37 fix: upload test for latest sharp 2022-04-19 13:17:03 -04:00
Misty Release Bot
56888b1de7 Latest translations and fallbacks 2022-04-19 09:07:07 +00:00
Misty Release Bot
01e65395ef chore(i18n): fallback strings for new resources: nodebb.admin-settings-reputation, nodebb.error 2022-04-18 19:30:38 +00:00
Misty Release Bot
9007afb995 Latest translations and fallbacks 2022-04-18 19:24:44 +00:00
Barış Soner Uşaklı
b9f9164308 fix: #10502, allow unblocking admin/mod
if they were blocked before becoming admin/mod it wasn't possible to unblock them
2022-04-17 18:15:49 -04:00
Barış Soner Uşaklı
b28f9f776a feat: closes #10501, minimum reputation to chat 2022-04-16 21:37:54 -04:00
renovate[bot]
07678fb5a4 fix(deps): update dependency prompt to v1.3.0 (#10487)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 22:14:08 -04:00
renovate[bot]
fe492b1127 fix(deps): update dependency nconf to v0.12.0 (#10496)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 22:12:46 -04:00
renovate[bot]
6c72785971 fix(deps): update dependency archiver to v5.3.1 (#10500)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 22:11:39 -04:00
Renovate Bot
7c1d98c7fa chore(deps): update dependency lint-staged to v12.3.8 2022-04-15 13:34:01 +00:00
Misty Release Bot
acca78117a chore: update changelog for v1.19.6 2022-04-13 21:25:10 +00:00
Misty Release Bot
283a0072a8 chore: incrementing version number - v1.19.6 2022-04-13 21:25:09 +00:00
Barış Soner Uşaklı
5316029f91 fix: dont add caller to arrays 2022-04-13 15:09:58 -04:00
dependabot[bot]
65cec8d026 chore(deps): bump semver from 7.3.6 to 7.3.7 in /install (#10493)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.6 to 7.3.7.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.6...v7.3.7)

---
updated-dependencies:
- dependency-name: semver
  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-04-13 13:30:32 -04:00
Barış Soner Uşaklı
c52401da02 fix: #10491, don't leak deleted message in cleanedContent 2022-04-12 15:36:06 -04:00
renovate[bot]
7c733e9cf1 fix(deps): update dependency nodebb-plugin-mentions to v3.0.8 (#10490)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 12:13:24 -04:00
Renovate Bot
9f49665958 chore(deps): update dependency grunt to v1.5.2 2022-04-12 15:46:44 +00:00
renovate[bot]
dc03a2f95c fix(deps): update dependency winston to v3.7.2 (#10454)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-11 18:39:39 -04:00
renovate[bot]
f253bbddae fix(deps): update dependency nconf to v0.11.4 (#10481)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-11 18:39:02 -04:00
Renovate Bot
0a8bf44e63 chore(deps): update dependency grunt to v1.5.1 2022-04-11 18:25:45 +00:00
Renovate Bot
e82d8bb69b chore(deps): update dependency grunt to v1.5.0 2022-04-11 12:30:07 +00:00
renovate[bot]
bbf2b73e91 fix(deps): update dependency yargs to v17.4.1 (#10480)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-09 21:35:44 -04:00
renovate[bot]
88200ec12f fix(deps): update dependency ioredis to v5.0.4 (#10479)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-09 21:35:16 -04:00
Renovate Bot
bc3aabb453 chore(deps): update dependency eslint to v8.13.0 2022-04-09 01:47:45 +00:00
Julian Lam
9f91db16cb fix: #10473, trim trailing slashes on config url 2022-04-08 10:28:15 -04:00
renovate[bot]
91026e5f14 fix(deps): update dependency html-to-text to v8.2.0 (#10471)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-07 18:05:41 -04:00
Barış Soner Uşaklı
398777633f fix: closes #10436, fix DST issue on acp dashboard 2022-04-07 14:14:28 -04:00
renovate[bot]
c50de9112d fix(deps): update dependency semver to v7.3.6 (#10466)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-07 14:07:03 -04:00
renovate[bot]
b3ec805988 fix(deps): update dependency html-to-text to v8.1.1 (#10470)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-07 14:06:53 -04:00
Barış Soner Uşaklı
767973717b perf: WIP #10449, allow array of pids for posts.purge (#10465)
* perf: WIP #10449, allow array of pids for posts.purge

* refactor: deletePostDiffs

* perf: deletePostFromReplies/deletePostFromGroups

* refactor: upload

* refactor: deleteFromCategoryRecentPosts

deleteFromUsersBookmarks
deleteFromUsersVotes

* feat: closes #10468, add incrObjectFieldByBulk

* refactor: allow nids for notifications.rescind

* refactor: allow uids array for user.updatePostCount

* refactor: rewrite deleteFromTopicUserNotification to work with an array

* feat: deprecate action:post.purge as well

* lint: add missing comma
2022-04-07 14:06:25 -04:00
Renovate Bot
a2ebf53b60 chore(deps): update dependency eslint-plugin-import to v2.26.0 2022-04-06 01:06:19 +00:00
renovate[bot]
b6517cfd64 fix(deps): update dependency nodebb-widget-essentials to v5.0.10 (#10461)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-05 18:43:57 -04:00
Barış Soner Uşaklı
799e94e02e feat: #10460, add cutoff to suggested topics 2022-04-05 15:37:31 -04:00
renovate[bot]
26511185ac fix(deps): update dependency body-parser to v1.20.0 (#10450)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 20:21:19 -04:00
renovate[bot]
5e37f34e19 fix(deps): update dependency spdx-license-list to v6.5.0 (#10452)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 20:20:56 -04:00
renovate[bot]
947fa193a9 fix(deps): update dependency graceful-fs to v4.2.10 (#10457)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 20:20:17 -04:00
renovate[bot]
30f728ca2d fix(deps): update dependency mongodb to v4.5.0 (#10458)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 20:20:08 -04:00
Barış Soner Uşaklı
e8058ca35c feat: add response:helpers.notAllowed 2022-04-04 17:34:52 -04:00
Barış Soner Uşaklı
b8765df5f4 feat: add filter:image.stripEXIF 2022-03-31 14:58:43 -04:00
CommanderRoot
200f0b2e4f refactor: replace deprecated String.prototype.substr() (#10432)
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-31 13:49:56 -04:00
renovate[bot]
0d744d30f2 fix(deps): update dependency ioredis to v5.0.3 (#10446)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-31 11:25:05 -04:00
chadjw
fe072d6091 Allows socket authentication to be handled within plugins (#10428) 2022-03-30 14:58:08 -04:00
renovate[bot]
060ad1b003 fix(deps): update dependency ioredis to v5 (#10434)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-30 14:56:20 -04:00
renovate[bot]
0ac426e0fc fix(deps): update dependency nodebb-plugin-2factor to v3.0.6 (#10435)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-30 14:54:23 -04:00
dependabot[bot]
5b1789c139 chore(deps): bump nodebb-theme-persona from 11.4.3 to 11.4.4 in /install (#10437)
Bumps [nodebb-theme-persona](https://github.com/NodeBB/nodebb-theme-persona) from 11.4.3 to 11.4.4.
- [Release notes](https://github.com/NodeBB/nodebb-theme-persona/releases)
- [Commits](https://github.com/NodeBB/nodebb-theme-persona/compare/v11.4.3...v11.4.4)

---
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-03-30 14:30:30 -04:00
dependabot[bot]
c8c4293306 chore(deps): bump nodebb-plugin-composer-default in /install (#10438)
Bumps [nodebb-plugin-composer-default](https://github.com/NodeBB/nodebb-plugin-composer-default) from 7.0.21 to 7.0.22.
- [Release notes](https://github.com/NodeBB/nodebb-plugin-composer-default/releases)
- [Commits](https://github.com/NodeBB/nodebb-plugin-composer-default/compare/v7.0.21...v7.0.22)

---
updated-dependencies:
- dependency-name: nodebb-plugin-composer-default
  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-03-30 14:30:22 -04:00
Misty (Bot)
7acc3ea3f8 Latest translations and fallbacks 2022-03-28 09:05:56 -04:00
Misty (Bot)
829870391b Latest translations and fallbacks 2022-03-26 09:05:57 -04:00
Renovate Bot
a6590e20e4 chore(deps): update dependency eslint to v8.12.0 2022-03-26 01:27:27 +00:00
renovate[bot]
898e0e8925 fix(deps): update dependency nodebb-plugin-composer-default to v7.0.21 (#10429)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-25 12:47:02 -04:00
Misty (Bot)
4fe531fc2a Latest translations and fallbacks 2022-03-25 09:06:01 -04:00
Misty (Bot)
a06d1246fd chore(i18n): fallback strings for new resources: nodebb.post-queue 2022-03-24 13:00:35 -04:00
Barış Soner Uşaklı
538ad9e18b feat: add confirm to reject, closes #10427 2022-03-24 12:59:38 -04:00
Misty (Bot)
56db0b56ab Latest translations and fallbacks 2022-03-24 09:06:14 -04:00
Barış Soner Uşaklı
002a241cc5 fix: delete history as well 2022-03-23 19:07:18 -04:00
Barış Soner Uşaklı
93b6053284 fix: handle purge posts as well 2022-03-23 18:38:36 -04:00
Barış Soner Uşaklı
41e70901a6 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-03-23 18:38:20 -04:00
Julian Lam
b88bb3cfbb feat: allow client-side hook registration chaining 2022-03-23 16:35:59 -04:00
Barış Soner Uşaklı
edd7144946 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-03-23 15:38:26 -04:00
Barış Soner Uşaklı
31251282ad feat: delete flagId field from post/user on flag purge 2022-03-23 15:38:21 -04:00
renovate[bot]
47399bfee4 fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.8.1 (#10425)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 15:30:08 -04:00
Barış Soner Uşaklı
03fdb5bede fix: byCid removal, targetCid not stored in flagObj 2022-03-23 15:27:45 -04:00
Barış Soner Uşaklı
3b529b84b5 feat: add flags.purge 2022-03-23 15:10:10 -04:00
Misty (Bot)
adda7c3f3d Latest translations and fallbacks 2022-03-23 09:06:24 -04:00
Barış Soner Uşaklı
9abe22a04b refactor: remove some verbose logging 2022-03-22 18:29:37 -04:00
Misty (Bot)
afe478b799 Latest translations and fallbacks 2022-03-22 09:06:09 -04:00
renovate[bot]
12cd1df256 fix(deps): update dependency sortablejs to v1.15.0 (#10418)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-21 20:34:13 -04:00
renovate[bot]
7e54249566 fix(deps): update dependency nodemailer to v6.7.3 (#10421)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-21 20:29:23 -04:00
Misty (Bot)
cf2011dff2 Latest translations and fallbacks 2022-03-21 09:05:58 -04:00
Misty (Bot)
d43596e7a8 Latest translations and fallbacks 2022-03-20 09:05:45 -04:00
renovate[bot]
eaa055179c fix(deps): update dependency yargs to v17.4.0 (#10416)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-19 22:10:10 -04:00
Misty (Bot)
fa14bbfec7 Latest translations and fallbacks 2022-03-19 09:05:57 -04:00
renovate[bot]
720a9dbad2 fix(deps): update dependency nodebb-theme-persona to v11.4.3 (#10414)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-19 00:30:46 -04:00
renovate[bot]
0659413185 fix(deps): update dependency connect-redis to v6.1.3 (#10390)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-18 22:43:55 -04:00
Barış Soner Uşaklı
29b86b3276 refactor: :trollface: 2022-03-18 15:58:29 -04:00
Barış Soner Uşaklı
421ba6e1a2 feat: new admin events, closes #10405 2022-03-18 15:54:40 -04:00
Barış Soner Uşaklı
55be42026c fix: upgrade script 2022-03-18 12:50:49 -04:00
Barış Soner Uşaklı
dab22d5fd0 perf: #10410, faster upgrade script 2022-03-18 12:40:13 -04:00
Julian Lam
38ca73c493 fix(security): explicitly declare cache-control header instead of using middleware
This commit reverts 1f6f389ff2
2022-03-18 11:56:16 -04:00
Misty (Bot)
2f2ed6c3ad Latest translations and fallbacks 2022-03-18 09:06:19 -04:00
Julian Lam
1f6f389ff2 fix(security): cache-control on all pages using setupPageRoute or setupApiRoute, and 404 controllers.
This commit also reverts e39cdd490b
2022-03-17 21:42:26 -04:00
Julian Lam
e39cdd490b fix(security): explicitly set cache-control 'private' on any page where a header is built 2022-03-17 16:24:03 -04:00
renovate[bot]
5f36ad3976 chore(deps): update dependency lint-staged to v12.3.7 (#10407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 14:54:08 -04:00
Julian Lam
2b9b2b4a25 fix: column counts for other privileges 2022-03-17 13:38:40 -04:00
Misty (Bot)
edb6209582 Latest translations and fallbacks 2022-03-17 09:06:06 -04:00
Julian Lam
309968bf13 feat: add Albanian localisation 🎉
/cc @zhivkoangelov
2022-03-16 22:00:07 -04:00
Barış Soner Uşaklı
37221d5179 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-03-16 17:24:30 -04:00
Barış Soner Uşaklı
f76c0e8952 refactor: shorter generateTopicClass 2022-03-16 17:24:25 -04:00
Misty (Bot)
05032ca2c0 chore: update changelog for v1.19.5 2022-03-16 17:05:48 -04:00
Misty (Bot)
48d6eb4f14 chore: incrementing version number - v1.19.5 2022-03-16 17:05:47 -04:00
Barış Soner Uşaklı
3935a86b83 fix: topic events if there is a blocked user in topic 2022-03-16 16:56:07 -04:00
Barış Soner Uşaklı
2808c952c5 fix: topic events disappearing if there are queued posts 2022-03-16 15:52:59 -04:00
dependabot[bot]
d33485f6ef chore(deps): bump less from 3.13.1 to 4.1.2 in /install (#9856)
Bumps [less](https://github.com/less/less.js) from 3.13.1 to 4.1.2.
- [Release notes](https://github.com/less/less.js/releases)
- [Changelog](https://github.com/less/less.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/less/less.js/commits)

---
updated-dependencies:
- dependency-name: less
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 15:25:50 -04:00
renovate[bot]
bdbc168d70 fix(deps): update dependency postcss to v8.4.12 (#10396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 15:16:33 -04:00
dependabot[bot]
90094935fe chore(deps): bump autoprefixer from 10.4.2 to 10.4.4 in /install (#10403)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.2 to 10.4.4.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.2...10.4.4)

---
updated-dependencies:
- dependency-name: autoprefixer
  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-03-16 15:15:47 -04:00
Misty (Bot)
c5377380e3 Latest translations and fallbacks 2022-03-16 09:06:12 -04:00
Renovate Bot
0a4522a2f3 chore(deps): update dependency lint-staged to v12.3.6 2022-03-16 12:14:28 +00:00
Renovate Bot
0a97015d9f chore(deps): update commitlint monorepo to v16.2.3 2022-03-16 09:37:45 +00:00
Julian Lam
935704a83c feat: collect hook logs in order to reduce console noise, flush on ajaxify loadScript completion 2022-03-15 16:30:05 -04:00
Julian Lam
e578c60566 test: skip i18n tests if the github event is a pull request 2022-03-15 15:15:38 -04:00
Misty (Bot)
2f09c22c71 chore(i18n): fallback strings for new resources: nodebb.admin-manage-users 2022-03-15 13:58:07 -04:00
Julian Lam
cd687cff06 fix: #10393, move 'Create User' control to overflow menu 2022-03-15 13:57:09 -04:00
Julian Lam
c83987bd20 fix: don't append to history on refresh or ajaxify to same url 2022-03-15 10:43:11 -04:00
dependabot[bot]
445e3d704d chore(deps): bump nodebb-plugin-spam-be-gone in /install (#10387)
Bumps [nodebb-plugin-spam-be-gone](https://github.com/akhoury/nodebb-plugin-spam-be-gone) from 0.7.14 to 0.8.0.
- [Release notes](https://github.com/akhoury/nodebb-plugin-spam-be-gone/releases)
- [Commits](https://github.com/akhoury/nodebb-plugin-spam-be-gone/compare/v0.7.14...v0.8.0)

---
updated-dependencies:
- dependency-name: nodebb-plugin-spam-be-gone
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 09:41:27 -04:00
renovate[bot]
b42138596b fix(deps): update dependency sharp to v0.30.3 (#10389)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-15 09:41:16 -04:00
dependabot[bot]
145621f7a5 chore(deps): bump connect-redis from 6.1.1 to 6.1.2 in /install (#10391)
Bumps [connect-redis](https://github.com/visionmedia/connect-redis) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/visionmedia/connect-redis/releases)
- [Commits](https://github.com/visionmedia/connect-redis/compare/v6.1.1...v6.1.2)

---
updated-dependencies:
- dependency-name: connect-redis
  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-03-15 09:40:48 -04:00
Misty (Bot)
8c35fbcac2 Latest translations and fallbacks 2022-03-15 09:06:17 -04:00
Julian Lam
4b79dfd29d feat: add support for PATCH method in api module 2022-03-14 17:22:09 -04:00
Misty (Bot)
b10df78141 Latest translations and fallbacks 2022-03-14 09:32:22 -04:00
Misty (Bot)
60fa6c46a5 Latest translations and fallbacks 2022-03-12 04:05:44 -05:00
Barış Soner Uşaklı
24c1f879a5 test: fix middleware test 2022-03-11 23:50:28 -05:00
Barış Soner Uşaklı
6344c3b689 test: fix category tests 2022-03-11 23:45:01 -05:00
Barış Soner Uşaklı
7c946570d5 feat: on online users page override timeago cutoff to 24 hours 2022-03-11 23:42:46 -05:00
Barış Soner Uşaklı
df8ea4bad3 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-03-11 23:42:09 -05:00
Barış Soner Uşaklı
7d063d731e fix: global privs 2022-03-11 23:42:06 -05:00
Misty (Bot)
15508bac97 chore(i18n): fallback strings for new resources: nodebb.admin-manage-privileges, nodebb.admin-manage-users, nodebb.error, nodebb.user 2022-03-11 23:09:29 -05:00
Barış Soner Uşaklı
be6bbabd0e feat: ability to mute users
new mute privilege
2022-03-11 23:07:20 -05:00
Renovate Bot
feaf3068f8 chore(deps): update dependency eslint to v8.11.0 2022-03-12 03:22:45 +00:00
renovate[bot]
4ffbd78df5 chore(deps): update dependency mocha to v9.2.2 (#10383)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-11 19:46:23 -05:00
Julian Lam
cb113208bb fix: #10384 -- mixed up sizes for fallback touch icons 2022-03-11 16:24:19 -05:00
Barış Soner Uşaklı
c8e986d61c refactor: closes #10301 2022-03-11 15:33:28 -05:00
Barış Soner Uşaklı
ad55b55223 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-03-11 13:46:08 -05:00
Barış Soner Uşaklı
a551142593 test: fix one more test 2022-03-11 13:46:01 -05:00
Misty (Bot)
5274a6aad9 chore(i18n): fallback strings for new resources: nodebb.admin-settings-reputation, nodebb.error 2022-03-11 13:36:03 -05:00
Barış Soner Uşaklı
3414a23bce feat: min:rep:upvote, and other limits similar to downvotes
closes #10380
2022-03-11 13:34:36 -05:00
Barış Soner Uşaklı
2056ac04e0 feat: post-queue hooks, closes #10381 2022-03-11 12:27:07 -05:00
Barış Soner Uşaklı
997ab7d416 fix: #10377, remove logging of env vars 2022-03-10 12:14:19 -05:00
Misty (Bot)
0e6e49b258 chore: update changelog for v1.19.4 2022-03-09 15:51:43 -05:00
Misty (Bot)
67282057e7 chore: incrementing version number - v1.19.4 2022-03-09 15:51:42 -05:00
Barış Soner Uşaklı
df46ab4874 feat: add hook filter:posts.getUserInfoForPosts 2022-03-09 15:05:11 -05:00
Julian Lam
83fd4311b2 chore: delay filter:email.send removal to v2.0.0 2022-03-08 22:35:00 -05:00
Julian Lam
93b80f170b refactor: show a louder deprecation notice, alert once for each hook, not per plugin per hook 2022-03-08 22:33:02 -05:00
Julian Lam
a3b4c668d5 fix: apply some DRY 2022-03-08 15:14:57 -05:00
Barış Soner Uşaklı
e9a86cb912 fix: optional params 2022-03-08 14:44:53 -05:00
Barış Soner Uşaklı
e841d59a67 feat: add translateKeys 2022-03-08 11:40:12 -05:00
Barış Soner Uşaklı
70e613f814 fix: #10374, use quick search in setting 2022-03-08 09:17:31 -05:00
Barış Soner Uşaklı
e9421617dd Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-03-07 18:44:46 -05:00
Barış Soner Uşaklı
371b46581a fix: #10366, remove dupe /files
dont display duplicate thumb og:image items
2022-03-07 18:44:31 -05:00
dependabot[bot]
d7a4ae1f9c chore(deps): bump postcss from 8.4.7 to 8.4.8 in /install (#10372)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.7 to 8.4.8.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.7...8.4.8)

---
updated-dependencies:
- dependency-name: postcss
  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-03-07 18:22:18 -05:00
Renovate Bot
bcb68ee9af fix(deps): update dependency nodebb-plugin-markdown to v9.0.10 2022-03-07 13:21:20 -05:00
Misty (Bot)
021f2c286c Latest translations and fallbacks 2022-03-07 04:05:58 -05:00
Renovate Bot
517ae926ff chore(deps): update dependency lint-staged to v12.3.5 2022-03-05 12:32:05 +00:00
Misty (Bot)
188f955d8b Latest translations and fallbacks 2022-03-05 04:05:33 -05:00
Misty (Bot)
a5fe8350e9 chore(i18n): fallback strings for new resources: nodebb.admin-settings-reputation, nodebb.flags 2022-03-04 15:39:23 -05:00
gasoved
62187caa67 feat: post auto flagging on downvotes #10029 (#10367)
* feat: post auto flagging on downvotes

* fix: just get one admin
2022-03-04 15:38:16 -05:00
Barış Soner Uşaklı
56345777ce fix: always show self on /users?online 2022-03-04 13:28:54 -05:00
Barış Soner Uşaklı
21cd1e612f fix: db call 2022-03-03 18:16:24 -05:00
Barış Soner Uşaklı
cc665fd614 fix: lastonline timestamps and display for guests 2022-03-03 18:16:05 -05:00
renovate[bot]
4b730df974 fix(deps): update dependency mongodb to v4.4.1 (#10364)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 12:50:17 -05:00
Misty (Bot)
2cc3f0a19a Latest translations and fallbacks 2022-03-03 04:05:37 -05:00
renovate[bot]
4d590f6550 fix(deps): update dependency nodebb-theme-persona to v11.4.2 (#10361)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 18:34:24 -05:00
renovate[bot]
c75714b7e3 fix(deps): update dependency body-parser to v1.19.2 (#10298)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 18:31:19 -05:00
Barış Soner Uşaklı
eac9cd03ca feat: closes #10324, show recently online users as well 2022-03-02 18:29:17 -05:00
renovate[bot]
1a6c2c5534 fix(deps): update dependency sharp to v0.30.2 (#10359)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 17:56:06 -05:00
Barış Soner Uşaklı
50ed3a324c test: possible fix random psql test failure 2022-03-02 17:51:07 -05:00
Barış Soner Uşaklı
7ee4e4e004 fix: #10357 2022-03-02 15:00:27 -05:00
Julian Lam
5479f36443 fix: #10358, bad uploads path 2022-03-02 11:41:15 -05:00
Barış Soner Uşaklı
37ef8366d0 fix: #10360, only take top level posts 2022-03-02 11:08:16 -05:00
Julian Lam
fec907d99d fix: #10354, flag actions regression 2022-03-01 14:30:29 -05:00
renovate[bot]
3e5a0f0d68 fix(deps): update dependency nodebb-plugin-mentions to v3.0.7 (#10355)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-01 13:38:11 -05:00
Barış Soner Uşaklı
40230725c3 refactor: move header unread code to separate module 2022-02-28 20:37:55 -05:00
Barış Soner Uşaklı
4a1e761adb refactor: remove code that doesn't do anything 2022-02-28 20:36:47 -05:00
dependabot[bot]
81e7ca201e chore(deps): bump nodebb-plugin-spam-be-gone in /install
Bumps [nodebb-plugin-spam-be-gone](https://github.com/akhoury/nodebb-plugin-spam-be-gone) from 0.7.13 to 0.7.14.
- [Release notes](https://github.com/akhoury/nodebb-plugin-spam-be-gone/releases)
- [Commits](https://github.com/akhoury/nodebb-plugin-spam-be-gone/compare/v0.7.13...v0.7.14)

---
updated-dependencies:
- dependency-name: nodebb-plugin-spam-be-gone
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 08:51:34 -05:00
Misty (Bot)
64a6ff370a Latest translations and fallbacks 2022-02-28 04:05:52 -05:00
Renovate Bot
e83c8be2bd chore(deps): update dependency eslint to v8.10.0 2022-02-26 03:38:02 +00:00
Barış Soner Uşaklı
0e12f82dd8 fix: dont overwrite asset_base_url if its set 2022-02-25 18:42:45 -05:00
Barış Soner Uşaklı
e0b1c374e4 feat: resolve paths for staticDirs as well 2022-02-25 14:43:10 -05:00
dependabot[bot]
52ee5ce8e1 chore(deps): bump postcss from 8.4.6 to 8.4.7 in /install
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.6 to 8.4.7.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.6...8.4.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-25 07:37:14 -05:00
dependabot[bot]
e44cbb2430 chore(deps): bump json2csv from 5.0.6 to 5.0.7 in /install
Bumps [json2csv](https://github.com/zemirco/json2csv) from 5.0.6 to 5.0.7.
- [Release notes](https://github.com/zemirco/json2csv/releases)
- [Changelog](https://github.com/zemirco/json2csv/blob/v5.0.7/CHANGELOG.md)
- [Commits](https://github.com/zemirco/json2csv/compare/v5.0.6...v5.0.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 09:24:09 -05:00
Misty (Bot)
3fc592d4c8 Latest translations and fallbacks 2022-02-24 04:06:02 -05:00
Renovate Bot
f30c65a49d fix(deps): update dependency nodebb-plugin-2factor to v3.0.5 2022-02-23 13:02:28 -05:00
Renovate Bot
67e4df7817 chore(deps): update dependency smtp-server to v3.10.0 2022-02-23 15:16:47 +00:00
renovate[bot]
b84e61d568 fix(deps): update dependency nodebb-theme-persona to v11.4.1 (#10337)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-22 16:05:03 -05:00
Julian Lam
1c8d1d231e fix(sorted-list): call loadItem hook on add/edit items as well as on item retrieval, refactor edit to call parse() 2022-02-22 13:26:30 -05:00
Julian Lam
914733e44b fix: allow calls to api module without a defined payload 2022-02-22 11:41:33 -05:00
Julian Lam
92d613e420 feat(sorted-list): add new client-side hook filter:settings.sorted-list.loadItem 2022-02-22 10:39:54 -05:00
Julian Lam
fb4f89f391 fix(sorted-list): only call .stripHTMLTags() on string values 2022-02-22 10:30:52 -05:00
Barış Soner Uşaklı
6b22d0e15f fix: #10334, use the correct env vars for web install 2022-02-21 20:12:45 -05:00
Misty (Bot)
496e9013d3 Latest translations and fallbacks 2022-02-21 04:05:55 -05:00
renovate[bot]
244d88017f fix(deps): update dependency nodebb-theme-persona to v11.4.0 (#10325)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-20 13:45:23 -05:00
Barış Soner Uşaklı
10a5901e4a fix: persona test fail 2022-02-20 13:43:50 -05:00
Renovate Bot
00eebf10af chore(deps): update dependency mocha to v9.2.1 2022-02-19 12:55:29 +00:00
Barış Soner Uşaklı
0b813d601e fix: #10316, fix quoting regression 2022-02-18 19:01:32 -05:00
Barış Soner Uşaklı
5694e62e59 fix: #10322 2022-02-18 17:22:14 -05:00
renovate[bot]
31cbff19ed fix(deps): update dependency nodebb-plugin-mentions to v3.0.6 (#10328)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 17:16:16 -05:00
renovate[bot]
1c1062e11b fix(deps): update dependency nodebb-plugin-dbsearch to v5.1.3 (#10330)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 16:49:56 -05:00
Julian Lam
1fa4134201 fix: #10329, select elements in sorted-list not showing proper values 2022-02-18 14:49:28 -05:00
Julian Lam
52836f3a7f fix: allow translation keys in label attributes 2022-02-18 14:49:28 -05:00
renovate[bot]
c17b9bd447 fix(deps): update dependency nodebb-plugin-markdown to v9.0.8 (#10327)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 14:42:13 -05:00
dependabot[bot]
21913b5b19 chore(deps): bump prompt from 1.2.1 to 1.2.2 in /install
Bumps [prompt](https://github.com/flatiron/prompt) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/flatiron/prompt/releases)
- [Changelog](https://github.com/flatiron/prompt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/flatiron/prompt/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-18 11:32:12 -05:00
renovate[bot]
afd2993dfe fix(deps): update dependency mongodb to v4.4.0 (#10319)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-17 19:27:49 -05:00
renovate[bot]
04900291db fix(deps): update dependency nodebb-plugin-emoji to v3.5.17 (#10314)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-17 19:26:31 -05:00
Barış Soner Uşaklı
9db90a3098 test: log configJSON 2022-02-17 15:11:24 -05:00
Barış Soner Uşaklı
32f693019b test: check contents of config.json in tests 2022-02-17 14:47:23 -05:00
Julian Lam
17836f2a3a 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/
2022-02-17 14:10:24 -05:00
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
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
Misty (Bot)
2d125ecdbb Latest translations and fallbacks 2022-02-11 09:05:47 +00:00
Julian Lam
1c7fb8fe11 fix: non-functional upgrade script 2022-02-10 15:19:56 -05:00
Misty (Bot)
b8362c49cd Latest translations and fallbacks 2022-02-10 09:05:53 +00:00
renovate[bot]
766ef4e5c0 fix(deps): update dependency nodebb-plugin-emoji to v3.5.11 (#10274)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 18:47:00 -05:00
Misty (Bot)
775d90771e chore(i18n): fallback strings for new resources: nodebb.user 2022-02-09 22:50:56 +00:00
Barış Soner Uşaklı
350052ec50 fix: language keys 2022-02-09 17:50:08 -05:00
Barış Soner Uşaklı
d70ce3a937 fix: #10273, properly calculate item count for best/controversial 2022-02-09 17:42:41 -05:00
Misty (Bot)
e49b31f0c1 chore: incrementing version number - v1.19.2
(cherry picked from commit ded19254ac)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2022-02-09 21:28:33 +00:00
Misty (Bot)
f012984d7f chore: update changelog for v1.19.2 2022-02-09 21:28:33 +00:00
renovate[bot]
8e52abe8be fix(deps): update dependency sharp to v0.30.1 (#10270)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 16:13:24 -05:00
Barış Soner Uşaklı
2896ff1f0f Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-02-09 12:56:07 -05:00
Barış Soner Uşaklı
14ecafb6c7 chore: up persona 2022-02-09 12:44:11 -05:00
renovate[bot]
6c0f7034b3 fix(deps): update dependency nodebb-widget-essentials to v5.0.7 (#10269)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 12:43:21 -05:00
Misty (Bot)
9b40eb88ee Latest translations and fallbacks 2022-02-09 09:06:10 +00:00
Barış Soner Uşaklı
2dbdd1818f test: fix occasional test failure 2022-02-08 17:36:28 -05:00
Barış Soner Uşaklı
8a4b7dc454 chore: up markdown 2022-02-08 12:44:44 -05:00
Barış Soner Uşaklı
b98758d30a chore: add missing quote 2022-02-08 12:28:51 -05:00
renovate[bot]
78d48c3775 fix(deps): update dependency nodebb-theme-persona to v11.3.37 (#10265)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-08 12:26:03 -05:00
Julian Lam
a2c7d69e1b fix: remove extraneous devDependencies on package merge
/cc @pitaj
2022-02-08 11:13:51 -05:00
Julian Lam
9e4147f07c chore: use source and current local vars, + docs 2022-02-08 11:00:35 -05:00
Misty (Bot)
65ca8bbfd8 Latest translations and fallbacks 2022-02-08 09:05:52 +00:00
renovate[bot]
721a70c038 fix(deps): update dependency ioredis to v4.28.5 (#10252)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-07 20:53:52 -05:00
dependabot[bot]
b496ad445c chore(deps): bump ioredis from 4.28.4 to 4.28.5 in /install (#10254)
Bumps [ioredis](https://github.com/luin/ioredis) from 4.28.4 to 4.28.5.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/luin/ioredis/blob/master/Changelog.md)
- [Commits](https://github.com/luin/ioredis/compare/v4.28.4...v4.28.5)

---
updated-dependencies:
- dependency-name: ioredis
  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-02-07 20:53:40 -05:00
renovate[bot]
a10e4940f0 fix(deps): update dependency connect-redis to v6.1.1 (#10260)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-07 20:53:31 -05:00
Barış Soner Uşaklı
5143ca33f3 feat: handle array of keys in psql exists for zsets 2022-02-07 17:54:51 -05:00
Julian Lam
0ac2843587 feat: upgrade script to clean up leftover :thumb zsets 2022-02-07 17:29:34 -05:00
Julian Lam
0f788b8eaa fix: #10257, topic thumbs not deleting on topic deletion 2022-02-07 17:29:34 -05:00
Julian Lam
606808760e test: add test to verify that a sorted set is automatically deleted if its last element is removed (#10261)
* test: add test to verify that a sorted set is automatically deleted if its last element is removed

* fix: remote empty zsets when all elements have been removed #yolo

* Revert "fix: remote empty zsets when all elements have been removed #yolo"

This reverts commit 0ac73244bb.

* fix: altered behaviour in module.exists instead of zrem
2022-02-07 17:16:50 -05:00
Barış Soner Uşaklı
fb3f4f9a13 fix: #10256, allow quote tooltip on mobile 2022-02-07 15:59:19 -05:00
Barış Soner Uşaklı
08f2a05053 fix: #10255, create verified/unverified groups on install 2022-02-07 10:30:46 -05:00
Misty (Bot)
0823992d63 Latest translations and fallbacks 2022-02-07 09:06:13 +00:00
renovate[bot]
0e2a4a2d4a fix(deps): update dependency nodebb-theme-persona to v11.3.36 (#10253)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-06 22:25:47 -05:00
Misty (Bot)
0144f7d917 Latest translations and fallbacks 2022-02-06 09:05:34 +00:00
renovate[bot]
6465e012c5 fix(deps): update dependency nodebb-theme-persona to v11.3.35 (#10251)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-05 17:33:23 -05:00
Misty (Bot)
a71b8e599a chore(i18n): fallback strings for new resources: nodebb.modules 2022-02-05 20:16:15 +00:00
Barış Soner Uşaklı
76d0412992 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-02-05 15:15:26 -05:00
Barış Soner Uşaklı
fbd9ba7914 refactor: update chat plcaeholder message 2022-02-05 15:15:21 -05:00
Misty (Bot)
6b3f45b436 Latest translations and fallbacks 2022-02-05 09:05:25 +00:00
Barış Soner Uşaklı
6be330f2d6 lint: remove unused require 2022-02-04 21:56:58 -05:00
Barış Soner Uşaklı
b548083b24 perf: increase batch size 2022-02-04 21:53:30 -05:00
Barış Soner Uşaklı
079c487dcb fix: controversial posts/bests posts not showing anything
fix upgrade script so posts with negative votes are stored, a post can have 10 upvotes and 2 downvotes
fix missing negative votes checks
remove unnecessary pids flters since the cids are only already filtered by topics:read
2022-02-04 21:52:44 -05:00
renovate[bot]
e6185883ba fix(deps): update dependency pg-cursor to v2.7.3 (#10244)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-04 20:54:33 -05:00
renovate[bot]
3247767620 fix(deps): update dependency nodebb-theme-persona to v11.3.33 (#10248)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-04 20:54:26 -05:00
renovate[bot]
8f5b5ef1b2 fix(deps): update dependency nodebb-theme-vanilla to v12.1.17 (#10249)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-04 20:54:18 -05:00
renovate[bot]
1eb0939e88 fix(deps): update dependency nodebb-plugin-emoji to v3.5.9 (#10250)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-04 20:54:10 -05:00
Julian Lam
d34471f69f fix: regression in package.json merging logic that caused extraneous packages to not be removed 2022-02-04 16:20:31 -05:00
Julian Lam
689c125cd3 fix: #10229, package merging should deep merge nested objects
+ tests
2022-02-04 16:20:31 -05:00
Julian Lam
a0a3870611 fix: use fs.promises 2022-02-04 16:20:31 -05:00
renovate[bot]
845717b8c0 fix(deps): update dependency sanitize-html to v2.7.0 (#10246)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-04 15:08:22 -05:00
renovate[bot]
531a3b1e88 fix(deps): update dependency pg to v8.7.3 (#10243)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-04 15:07:57 -05:00
renovate[bot]
c343b631a1 fix(deps): update dependency connect-redis to v6.1.0 (#10245)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-04 15:07:47 -05:00
Misty (Bot)
aa812f03d7 chore(i18n): fallback strings for new resources: nodebb.global, nodebb.pages 2022-02-04 19:35:24 +00:00
Julian Lam
1b8eeaf840 feat: more tests for ensuring downvoted posts are added to the :votes zset 2022-02-04 14:33:58 -05:00
Julian Lam
9b912db71e docs: openapi spec for new route 2022-02-04 14:33:58 -05:00
Julian Lam
cf88483fee feat: upgrade script to store downvotes posts in the user :votes sorted set 2022-02-04 14:33:58 -05:00
Julian Lam
5cff6e3f95 fix: bug where .reduce() exploded due to no initial value, if input value was an empty array 2022-02-04 14:33:58 -05:00
Julian Lam
5afd5de07d feat: new accounts route to show most downvoted ('controversial') posts 2022-02-04 14:33:58 -05:00
Barış Soner Uşaklı
1eaae1d0a7 chore: up persona 2022-02-04 10:41:04 -05:00
Barış Soner Uşaklı
45ca046533 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-02-04 10:38:06 -05:00
Barış Soner Uşaklı
dcb201dfa8 fix: https://github.com/NodeBB/NodeBB/issues/10242 2022-02-04 10:37:59 -05:00
Julian Lam
aa8914a153 feat: v3 user email tests 2022-02-04 10:20:46 -05:00
Julian Lam
d1b1f50bb2 test: stricter isValidationPending check 2022-02-04 10:20:46 -05:00
Julian Lam
ad63517511 fix: missing early return 2022-02-04 10:20:46 -05:00
Julian Lam
936562c3cb fix: handle case where email is explicitly passed into user.create, and thus is set in user hash, but confirmation request may have expired 2022-02-04 10:20:46 -05:00
Julian Lam
0322e984e0 fix: #10236, don't check email:uid, instead verify an email confirmation is active 2022-02-04 10:20:46 -05:00
Misty (Bot)
c5637d1527 Latest translations and fallbacks 2022-02-04 09:05:44 +00:00
renovate[bot]
f1bed4418e fix(deps): update dependency nodebb-theme-persona to v11.3.31 (#10241)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-03 20:06:14 -05:00
renovate[bot]
a470295925 fix(deps): update dependency nodebb-plugin-composer-default to v7.0.20 (#10231)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-03 16:58:03 -05:00
renovate[bot]
916a0db3d0 fix(deps): update dependency nodebb-theme-persona to v11.3.30 (#10232)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-03 16:57:53 -05:00
renovate[bot]
ebf4e12b28 fix(deps): update dependency nodebb-plugin-emoji to v3.5.8 (#10239)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-03 16:44:46 -05:00
Barış Soner Uşaklı
106ef7cf44 chore: up emoji 2022-02-03 16:44:09 -05:00
Barış Soner Uşaklı
9883910857 fix: don't crash if requestedFields is undefined 2022-02-03 09:48:14 -05:00
Misty (Bot)
d208422d6a Latest translations and fallbacks 2022-02-03 09:05:46 +00:00
Barış Soner Uşaklı
7f1c4477e3 feat: allow gif profile images, sharp 0.30.0 supports gifs 2022-02-02 21:27:33 -05:00
dependabot[bot]
b71025cee9 chore(deps): bump nodebb-widget-essentials in /install (#10219)
Bumps [nodebb-widget-essentials](https://github.com/psychobunny/nodebb-widget-essentials) from 5.0.5 to 5.0.6.
- [Release notes](https://github.com/psychobunny/nodebb-widget-essentials/releases)
- [Commits](https://github.com/psychobunny/nodebb-widget-essentials/compare/v5.0.5...v5.0.6)

---
updated-dependencies:
- dependency-name: nodebb-widget-essentials
  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-02-02 20:39:25 -05:00
renovate[bot]
2924cd3bf0 fix(deps): update dependency sharp to v0.30.0 (#10221)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-02 20:38:54 -05:00
renovate[bot]
cda07cb706 fix(deps): update dependency ioredis to v4.28.4 (#10224)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-02 20:38:21 -05:00
Barış Soner Uşaklı
3b4cf9713d chore: persona 2022-02-02 20:26:18 -05:00
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
Julian Lam
e1e1d5223e feat: push the theme name into body class 2022-01-27 13:23:51 -05:00
Misty (Bot)
63d54098ba Latest translations and fallbacks 2022-01-27 09:06:09 +00:00
Renovate Bot
814cb66bed chore(deps): update dependency lint-staged to v12.3.2 2022-01-26 20:20:59 +00:00
Barış Soner Uşaklı
dc6e629d59 fix: https://github.com/julianlam/nodebb-plugin-mentions/issues/170 2022-01-25 18:01:35 -05:00
Barış Soner Uşaklı
92a249c947 fix: #10197, fix relative path urls for dashboard pages 2022-01-25 13:20:50 -05:00
Julian Lam
df8c8ad8e4 fix: actually, CORP is ok 2022-01-25 09:50:09 -05:00
Julian Lam
4467299e42 fix: update defaults for corp and coep to be more permissive, for now, to be reverted for v1.20.0 2022-01-25 09:46:28 -05:00
Misty (Bot)
c159efc7cd Latest translations and fallbacks 2022-01-25 09:05:51 +00:00
Barış Soner Uşaklı
3e30b6cd23 chore: up persona 2022-01-24 18:06:02 -05:00
Barış Soner Uşaklı
94da502629 fix: if no group label is selected, select no group title option
dont save groupTitle: "['null']" if nothing is selected
2022-01-24 16:41:25 -05:00
Renovate Bot
05e2b3541b chore(deps): update dependency mocha to v9.2.0 2022-01-24 14:11:36 +00:00
dependabot[bot]
1f037bf692 chore(deps): bump helmet from 5.0.1 to 5.0.2 in /install
Bumps [helmet](https://github.com/helmetjs/helmet) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/helmetjs/helmet/releases)
- [Changelog](https://github.com/helmetjs/helmet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/helmetjs/helmet/compare/v5.0.1...v5.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 07:02:18 -05:00
Renovate Bot
ac244af338 chore(deps): update dependency lint-staged to v12.3.1 2022-01-23 16:32:13 +00:00
Renovate Bot
7060837b82 chore(deps): update dependency lint-staged to v12.3.0 2022-01-23 13:45:47 +00:00
Misty (Bot)
3c63651fee Latest translations and fallbacks 2022-01-23 09:05:41 +00:00
Misty (Bot)
1b80be5392 Latest translations and fallbacks 2022-01-22 09:05:39 +00:00
Misty (Bot)
2ec4e31f7c chore(i18n): fallback strings for new resources: nodebb.admin-settings-advanced 2022-01-21 21:48:39 +00:00
Julian Lam
d91aeea3c3 feat: add ACP toggles for COEP and CORP headers 2022-01-21 16:47:55 -05:00
dependabot[bot]
5d3900dcd4 chore(deps): bump helmet from 4.6.0 to 5.0.1 in /install
Bumps [helmet](https://github.com/helmetjs/helmet) from 4.6.0 to 5.0.1.
- [Release notes](https://github.com/helmetjs/helmet/releases)
- [Changelog](https://github.com/helmetjs/helmet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/helmetjs/helmet/compare/v4.6.0...v5.0.1)

---
updated-dependencies:
- dependency-name: helmet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-21 16:47:55 -05:00
Misty (Bot)
7f450268f6 chore: incrementing version number - v1.19.1
(cherry picked from commit 04ce24e661)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2022-01-21 18:20:50 +00:00
Misty (Bot)
55df683aa2 chore: update changelog for v1.19.1 2022-01-21 18:20:50 +00:00
Julian Lam
d098e26f82 User Email and email validation API (#10160)
* feat: wip user emails api

* fix: allow admins with manage-users access to email confirmation api as well

* fix: wrong route path

* docs: openapi spec
2022-01-21 11:20:39 -05:00
Julian Lam
868bff302c Update SECURITY.md
- fixed link to bounty page
2022-01-21 10:39:54 -05:00
Misty (Bot)
890b1201b9 Latest translations and fallbacks 2022-01-21 09:06:06 +00:00
dependabot[bot]
4a5182e4aa chore(deps): bump compare-versions from 4.1.2 to 4.1.3 in /install (#10154)
Bumps [compare-versions](https://github.com/omichelsen/compare-versions) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/omichelsen/compare-versions/releases)
- [Changelog](https://github.com/omichelsen/compare-versions/blob/master/CHANGELOG.md)
- [Commits](https://github.com/omichelsen/compare-versions/commits)

---
updated-dependencies:
- dependency-name: compare-versions
  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-20 23:18:20 -05:00
renovate[bot]
55b3a355be fix(deps): update dependency jquery-ui to v1.13.1 (#10186)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 23:18:02 -05:00
renovate[bot]
7fa2ba70d9 fix(deps): update dependency multiparty to v4.2.3 (#10188)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 23:17:50 -05:00
Barış Soner Uşaklı
10949184ca test: add failing guest csrf test (#10169)
* test: add failing guest csrf test

* test: use correct var

* fix: use applyCsrf for guests as well
2022-01-20 18:22:10 -05:00
Renovate Bot
f090de3688 chore(deps): update dependency lint-staged to v12.2.2 2022-01-20 21:18:48 +00:00
Renovate Bot
44d81a95bc chore(deps): update dependency @commitlint/cli to v16.1.0 2022-01-20 12:54:14 +00:00
Misty (Bot)
4e0b4b0759 Latest translations and fallbacks 2022-01-20 09:06:00 +00:00
Barış Soner Uşaklı
89871d714a chore: up persona 2022-01-19 21:53:17 -05:00
Barış Soner Uşaklı
2835966518 fix: urls used when recent/unread/popular/top is used as the homepage
if recent is used as the homepage then changing the selected category or filters was redirecting the user to forum.com/recent?cid=1 instead of staying at forum.com/?cid=1

also fix unread page mark read button showing the selected category
2022-01-19 21:48:49 -05:00
Barış Soner Uşaklı
1c80adf1ef feat: revert label js change 2022-01-19 21:41:39 -05:00
Barış Soner Uşaklı
fdfafb44fb fix: mark unread button showing the selected category 2022-01-19 21:30:14 -05:00
Barış Soner Uşaklı
a8c0a56bcc Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-01-19 20:52:18 -05:00
Barış Soner Uşaklı
c1ec20470b fix: catch exceptions from sendNotifications 2022-01-19 20:52:12 -05:00
renovate[bot]
e03d47473b fix(deps): update dependency nodebb-theme-persona to v11.3.15 (#10155)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Barış Soner Uşaklı <baris@nodebb.org>
2022-01-19 20:51:22 -05:00
Barış Soner Uşaklı
d7796f0b73 chore: add test.sh to gitignore 2022-01-19 20:32:00 -05:00
Barış Soner Uşaklı
250274c72b chore: delete test script 2022-01-19 20:31:20 -05:00
Barış Soner Uşaklı
e9d0db2892 feat: hide all categories link on flags filters 2022-01-19 20:30:52 -05:00
Barış Soner Uşaklı
3e8cb732c5 fix: multiple cid filter on flags page
if multiple categories were selected it wasnt applied because of typeof string check
2022-01-19 20:30:31 -05:00
renovate[bot]
693ca1f11f fix(deps): update dependency mongodb to v4.3.1 (#10178)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-19 10:19:23 -05:00
Magnus
7bd3e31dec Fullname in notifications (#10157)
* init - fullname notifications setting

* fullname in topic reply

* fullname for group-request-membership

* fullname for group-leave notification

* fullname for new-post-flag & new-user-flag

* removed log

* fullname for user follow

* fullname in message notification

* fullname in follow

* fullname for sendNotificationToPostOwner

* fullname in sendNotificationToTopicOwner

* fullname in doExport

* shorthand name set

* shorter name set

* fullname in notifications

* displayname for notifications

* removed unused require
2022-01-19 10:19:11 -05:00
Renovate Bot
857ac48021 chore(deps): update dependency lint-staged to v12.2.1 2022-01-19 15:11:43 +00:00
Renovate Bot
9c63d076db chore(deps): update dependency @commitlint/cli to v16.0.3 2022-01-19 13:42:50 +00:00
Barış Soner Uşaklı
f9279b636b fix: post indices if there is a blocked user in topic 2022-01-18 20:31:06 -05:00
Barış Soner Uşaklı
3b72ff8742 fix: dont add duplicate link backs 2022-01-18 20:12:50 -05:00
Misty (Bot)
78cd6de7e7 chore(i18n): fallback strings for new resources: nodebb.admin-settings-user 2022-01-19 00:39:12 +00:00
Barış Soner Uşaklı
2fe91e364e chore: remove unused lang key #10180 2022-01-18 19:38:25 -05:00
Renovate Bot
1a0c117dde chore(deps): update dependency lint-staged to v12.2.0 2022-01-18 17:58:47 +00:00
Misty (Bot)
8c9609fdd0 Latest translations and fallbacks 2022-01-18 09:05:54 +00:00
Barış Soner Uşaklı
b06c6329e4 fix: #10175, fix topic linkbacks duplicating on post edit 2022-01-17 19:05:07 -05:00
Misty (Bot)
8b06d3770d Latest translations and fallbacks 2022-01-17 09:05:55 +00:00
Renovate Bot
8abaf3f643 chore(deps): update dependency eslint to v8.7.0 2022-01-17 02:20:09 +00:00
Misty (Bot)
3ec9197c5c chore(i18n): fallback strings for new resources: nodebb.user 2022-01-16 23:34:48 +00:00
Barış Soner Uşaklı
d1eb21c56d fix: #10173, don't show optional message if email is required 2022-01-16 18:34:05 -05:00
Barış Soner Uşaklı
6a75ed50fa fix: #10172, fix postqueue accept/reject notification text 2022-01-16 16:13:42 -05:00
Barış Soner Uşaklı
4799efc790 fix: #10167, fix regression prevent guest post 2022-01-15 10:29:52 -05:00
Renovate Bot
f5ad173b56 chore(deps): update dependency mocha to v9.1.4 2022-01-14 23:54:49 +00:00
renovate[bot]
2c75cce654 fix(deps): update dependency nodebb-plugin-composer-default to v7.0.18 (#10164)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-14 17:08:26 -05:00
Misty (Bot)
354aa1a58b chore(i18n): fallback strings for new resources: nodebb.email 2022-01-14 20:35:33 +00:00
Julian Lam
31ea2266a6 feat: nicer error handling for bad jwt in unsubscribe template 2022-01-14 15:34:46 -05:00
Barış Soner Uşaklı
c9fabb0e1d refactor: add method to error messages 2022-01-14 14:34:08 -05:00
Julian Lam
e9ee843b27 fix: CSRF handler to go back to saving in session (#10159) 2022-01-14 13:38:24 -05:00
Barış Soner Uşaklı
03f5cbcce1 fix: #10158, fix extra padding 2022-01-13 19:52:11 -05:00
Misty (Bot)
18b0a29f6f chore: incrementing version number - v1.19.0
(cherry picked from commit aa77758afd)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2022-01-13 18:51:22 +00:00
Misty (Bot)
c8f1bc530b chore: update changelog for v1.19.0 2022-01-13 18:51:22 +00:00
Misty (Bot)
d35ed55b5c Latest translations and fallbacks 2022-01-13 09:06:53 +00:00
Renovate Bot
ad6f6051bd fix(deps): update dependency nodebb-plugin-markdown to v8.14.6 2022-01-12 22:04:29 -05:00
Julian Lam
31b4b8fd6e feat: bundling nodebb-plugin-2factor with all NodeBB installations, v1.19.0 onwards 🎉 2022-01-12 11:18:44 -05:00
Julian Lam
6ca216ab6e feat: revoke user sessions on successful password reset 2022-01-12 11:09:02 -05:00
Julian Lam
be4dbe3441 chore: org; merge consecutive await calls into one Promise.all 2022-01-12 11:08:34 -05:00
Misty (Bot)
53ac159e28 Latest translations and fallbacks 2022-01-12 09:06:03 +00:00
renovate[bot]
2fee1d074e fix(deps): update dependency winston to v3.4.0 (#10150)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 18:52:39 -05:00
renovate[bot]
bfad04ab85 fix(deps): update dependency ioredis to v4.28.3 (#10151)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 18:51:56 -05:00
Renovate Bot
56d134c317 chore(deps): update commitlint monorepo 2022-01-11 23:50:19 +00:00
Julian Lam
0a5420ed74 chore: fix #9213 2022-01-11 14:35:38 -05:00
Julian Lam
487f25ba29 chore: revert engines change in install/package.json 2022-01-11 14:33:41 -05:00
Julian Lam
f95acce3b5 chore: update renovate config
- Auto-merge dev dependencies only
- Do not touch
2022-01-11 14:33:10 -05:00
Julian Lam
ffdf26afef docs: comment hint :shipit: 2022-01-11 13:54:02 -05:00
Misty (Bot)
2633d8a53c Latest translations and fallbacks 2022-01-11 09:05:42 +00:00
Renovate Bot
da2bb340ac fix(deps): pin dependencies 2022-01-11 08:36:35 +00:00
renovate[bot]
15bf3db2b6 fix(deps): pin dependency socket.io-adapter-cluster to 1.0.1 (#10146)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 20:15:29 -05:00
renovate[bot]
2fa3cd0de7 fix(deps): update dependency nodebb-theme-vanilla to v12.1.15 (#10149)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 20:15:14 -05:00
Barış Soner Uşaklı
6c1e184c74 test: fix util test 2022-01-10 18:54:06 -05:00
Barış Soner Uşaklı
afc75ba48a lint: remove unused 2022-01-10 18:45:42 -05:00
Barış Soner Uşaklı
9b75b1ede2 test: update tag tests, fix linux symlink error 2022-01-10 18:41:07 -05:00
renovate[bot]
762de2d862 fix(deps): update dependency nodebb-theme-slick to v1.4.23 (#10148)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 18:18:56 -05:00
renovate[bot]
385d4c71d8 fix(deps): update dependency nodebb-theme-persona to v11.3.13 (#10147)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 18:17:22 -05:00
Barış Soner Uşaklı
ea735bc245 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2022-01-10 18:02:26 -05:00
Barış Soner Uşaklı
c9592e173c fix: lint 2022-01-10 18:02:25 -05:00
Julian Lam
37a71291af fix: icon alignment issue that was also bugging me :shipit: 2022-01-10 17:33:29 -05:00
Julian Lam
bc0f33df95 chore: update renovate range strategy...
... to pin dependencies, and not use a range

@barisusakli @pitaj @oplik0
2022-01-10 16:53:12 -05:00
Barış Soner Uşaklı
a75a043b61 feat: allow % in tags, #10135 2022-01-10 16:44:16 -05:00
Barış Soner Uşaklı
42caef7fa7 fix: #10143, add back ace editor searchbox 2022-01-10 16:22:39 -05:00
Renovate Bot
4bada01b2d fix(deps): update dependency winston to v3.3.4 2022-01-10 05:16:25 +00:00
Opliko
1adc898ba7 Stop colors.js vandalism (#10131)
* fix: pin colors to 1.4.0

* fix: exclude colors from renovate updates
2022-01-08 19:26:28 -05:00
Renovate Bot
40e7007fee chore(deps): update dependency lint-staged to v12.1.7 2022-01-07 20:29:46 +00:00
Renovate Bot
a47883e89b fix(deps): update dependency autoprefixer to v10.4.2 2022-01-07 18:11:13 +00:00
Renovate Bot
f78108ace5 chore(deps): update dependency lint-staged to v12.1.6 2022-01-07 11:49:41 +00:00
Renovate Bot
50eb4556cf fix(deps): update dependency mongodb to v4.3.0 2022-01-07 03:30:21 +00:00
Renovate Bot
9eb00cb2e0 fix(deps): update socket.io packages to v4.4.1 2022-01-06 11:44:52 +00:00
Misty (Bot)
418a6cf04c Latest translations and fallbacks 2022-01-06 09:05:48 +00:00
Misty (Bot)
b610db09e5 Latest translations and fallbacks 2022-01-05 09:06:12 +00:00
Misty (Bot)
d79d7e8081 chore(i18n): fallback strings for new resources: nodebb.user 2022-01-04 15:51:02 +00:00
Barış Soner Uşaklı
5eb02f59c2 fix: #10095, add login info to email interstitial 2022-01-04 10:50:19 -05:00
Barış Soner Uşaklı
8ad64ec0f9 fix: #10121, fix error messages in user creation 2022-01-04 10:24:10 -05:00
Misty (Bot)
6b1cd17e4a Latest translations and fallbacks 2022-01-03 09:05:39 +00:00
Renovate Bot
a69afdb60b chore(deps): update dependency eslint-plugin-import to v2.25.4 2022-01-03 01:37:37 +00:00
Renovate Bot
12038039f5 chore(deps): update dependency lint-staged to v12.1.5 2022-01-02 23:27:13 +00:00
Barış Soner Uşaklı
69a7634a78 fix: #10115, fix chat autocomplete hook 2022-01-02 15:13:30 -05:00
Misty (Bot)
bec0ef8995 Latest translations and fallbacks 2022-01-02 09:05:42 +00:00
Renovate Bot
0a15c99e4f fix(deps): update dependency nodebb-rewards-essentials to v0.2.1 2022-01-02 00:27:18 +00:00
Misty (Bot)
9260355a96 Latest translations and fallbacks 2022-01-01 09:05:41 +00:00
Renovate Bot
b546ff4e84 chore(deps): update dependency eslint to v8.6.0 2022-01-01 01:41:48 +00:00
Misty (Bot)
ccdf65884e Latest translations and fallbacks 2021-12-31 09:05:47 +00:00
Barış Soner Uşaklı
cc27a324b5 fix: notice links in subfolder installs 2021-12-30 23:06:43 -05:00
Julian Lam
d89fc44c03 fix: move authenticateRequest before interstitial and maintenance mode middlewares, allowed plugins to disable authentication on certain routes
fixes #10112
2021-12-30 16:14:50 -05:00
Renovate Bot
f1aa5f7d18 fix(deps): update dependency autoprefixer to v10.4.1 2021-12-29 19:17:10 +00:00
Barış Soner Uşaklı
0d9ec9d30e test: fix restore test 2021-12-28 21:36:37 -05:00
Misty (Bot)
e6a46ef6ce chore(i18n): fallback strings for new resources: nodebb.admin-settings-uploads 2021-12-28 17:41:44 +00:00
Barış Soner Uşaklı
a78e58f252 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-12-28 12:40:57 -05:00
Barış Soner Uşaklı
5278b11a01 refactor: remove unused language key 2021-12-28 12:40:48 -05:00
Misty (Bot)
5439e45f3e Latest translations and fallbacks 2021-12-28 09:05:54 +00:00
Misty (Bot)
1a6d5250fb Latest translations and fallbacks 2021-12-26 09:16:51 +00:00
Renovate Bot
87779fc8f9 chore(deps): update dependency lint-staged to v12.1.4 2021-12-24 13:04:03 +00:00
Misty (Bot)
a395596fbc Latest translations and fallbacks 2021-12-24 09:05:54 +00:00
Renovate Bot
5c3335b799 fix(deps): update dependency yargs to v17.3.1 2021-12-24 01:50:17 +00:00
Julian Lam
b5b188fd53 feat: allow isCluster, isPrimary, and jobsDisabled to be passed in as numbers in addition to string/bool
/cc @barisusakli
2021-12-23 15:20:34 -05:00
renovate[bot]
dd8b1f757d fix(deps): update dependency nodebb-theme-vanilla to v12.1.14 (#10102)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 13:58:44 -05:00
renovate[bot]
dd1633fff8 fix(deps): update dependency nodebb-theme-slick to v1.4.22 (#10101)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 13:54:50 -05:00
renovate[bot]
eccdfc9d6b fix(deps): update dependency nodebb-theme-lavender to v5.3.2 (#10099)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 13:27:12 -05:00
renovate[bot]
ee05b76264 chore(deps): update dependency jsdom to v19 (#10053)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 13:23:11 -05:00
renovate[bot]
4f6fc10b84 fix(deps): update dependency nodebb-theme-persona to v11.3.12 (#10100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 13:22:22 -05:00
Barış Soner Uşaklı
07232a8cf6 fix: retry incrObjtFieldBy 2021-12-23 11:28:48 -05:00
Barış Soner Uşaklı
b179f0fc0f fix: use component instead of class name 2021-12-23 11:05:37 -05:00
Misty (Bot)
842f96fc68 Latest translations and fallbacks 2021-12-23 09:05:46 +00:00
Julian Lam
d960f601a1 style: eslint 2021-12-22 15:37:23 -05:00
Julian Lam
2fe53cf849 feat: GET /api/v3/chats/:roomId/messages 2021-12-22 15:19:37 -05:00
Julian Lam
d95b4ee29a fix: assertion check to ensure messages are in the room when editing/deleting, etc 2021-12-22 14:58:42 -05:00
Julian Lam
82768fcf6e chore: remove debug logs in test/api.js 2021-12-22 14:39:31 -05:00
Julian Lam
aaa6f752d0 refactor: put message api calls behind /messages prefix, #10097 2021-12-22 14:39:18 -05:00
Misty (Bot)
207ae8cd6e chore(i18n): fallback strings for new resources: nodebb.error 2021-12-22 16:14:58 +00:00
Julian Lam
aeb43b9bb1 fix: rename language key for incorrect parameter type error 2021-12-22 10:59:36 -05:00
Julian Lam
e747998cba test: fix user tests calling deprecated socket methods 2021-12-22 10:59:36 -05:00
Julian Lam
47ab952639 docs: fix description for route 2021-12-22 10:59:36 -05:00
Julian Lam
0aa25f20d5 docs: roomId is number 2021-12-22 10:59:36 -05:00
Julian Lam
16ba16cdc4 fix: deprecate chats.leave 2021-12-22 10:59:36 -05:00
Julian Lam
fe17c94c35 feat: DELETE /api/v3/chats/:roomId/users and DELETE /api/v3/chats/:roomId/users/:uid 2021-12-22 10:59:36 -05:00
Julian Lam
6294beea0b fix: re-allow kicking of the other party in a 1-to-1 chat 2021-12-22 10:59:36 -05:00
Julian Lam
d62ee84637 feat: POST /chats/:roomId/users 2021-12-22 10:59:36 -05:00
Julian Lam
6eea6451d2 feat: GET /chats/:roomId/users [breaking] 2021-12-22 10:59:36 -05:00
Julian Lam
d5fd098ecf feat: POST /chats/:roomId/:mid and DELETE /chats/:roomId/:mid 2021-12-22 10:59:36 -05:00
Julian Lam
90fcbe4416 feat: middleware.assert.message 2021-12-22 10:59:36 -05:00
Julian Lam
b292960594 feat: GET /chats/:roomId/:mid 2021-12-22 10:59:36 -05:00
Julian Lam
f48ed3658a feat: PUT /chats/:roomId/:mid 2021-12-22 10:59:36 -05:00
Julian Lam
140f9d2481 fix: isFinite check for room assertion, more test migrating 2021-12-22 10:59:36 -05:00
Julian Lam
e745e21242 chore: use apiv3 for room rename tests 2021-12-22 10:59:36 -05:00
Julian Lam
74f1905ea8 feat: allow API checkRequired middleware error to be internationalized 2021-12-22 10:59:36 -05:00
Julian Lam
c990211cf2 refactor: rewrite messaging tests to use API v3 calls when available, rewrote a bunch of tests to async..await 2021-12-22 10:59:36 -05:00
Julian Lam
9a4fd5dc7e feat: PUT /api/v3/chats/:roomId 2021-12-22 10:59:36 -05:00
Julian Lam
eeffb9d978 feat: POST /api/v3/chats/:roomId 2021-12-22 10:59:36 -05:00
Julian Lam
09cf9c7770 feat: GET /api/v3/chats/:roomId 2021-12-22 10:59:36 -05:00
Julian Lam
55e68e2fd5 docs: openAPI documentation for routes 2021-12-22 10:59:36 -05:00
Julian Lam
40b4544e70 feat: POST /api/v3/chats, chat room creation, plus openAPI docs update 2021-12-22 10:59:36 -05:00
Julian Lam
94bead71fe feat: GET /api/v3/chats 2021-12-22 10:59:36 -05:00
Julian Lam
02e878be72 feat: stub code for v3 chats api 2021-12-22 10:59:36 -05:00
Barış Soner Uşaklı
a115b771f0 fix: #10096, don't display preview for links if hostname doesnt match 2021-12-22 10:55:30 -05:00
Misty (Bot)
139a4378b3 Latest translations and fallbacks 2021-12-22 09:05:51 +00:00
Barış Soner Uşaklı
35fea58a57 refactor: only write analytics data on nbb that has runJobs=true
prevents mongodb index error when lots of nodebbs try to write to the same key
2021-12-21 23:09:01 -05:00
Barış Soner Uşaklı
a9f81215cf fix: only render preview on topic page 2021-12-21 11:52:16 -05:00
Julian Lam
33c8b1971e docs: use social media card in readme header 2021-12-21 01:10:47 -05:00
Julian Lam
f7b3f69f6a docs: add social media card 2021-12-21 01:10:15 -05:00
Barış Soner Uşaklı
42781467d2 refactor: remove knonwOwner param 2021-12-20 17:43:45 -05:00
Barış Soner Uşaklı
8fb89d761a fix: don't crash server if analytics fails to save
fixes
MongoBulkWriteError: E11000 duplicate key error collection:
 community.objects index: _key_1_value_-1 dup key: { _key: "analytics:pageviews", value: "1639807200000" }
2021-12-20 16:28:03 -05:00
Barış Soner Uşaklı
e332acf3f7 fix: upgrade script to handle strings as well 2021-12-20 15:43:44 -05:00
Renovate Bot
32cbf760f6 fix(deps): update dependency nodebb-theme-persona to v11.3.11 2021-12-20 13:58:36 -05:00
Nazim
d23ac79839 Revert 2021-12-20 10:11:19 -05:00
Nils Ramsperger
c046b8f41d fixed version number 2021-12-20 10:09:52 -05:00
Renovate Bot
9253519c72 fix(deps): update dependency nodebb-theme-slick to v1.4.21 2021-12-19 17:31:40 +00:00
Misty (Bot)
a1729e1afd Latest translations and fallbacks 2021-12-19 09:05:48 +00:00
Barış Soner Uşaklı
fdaf8274cf fix: #10090, remove left over necro posts messages 2021-12-18 16:46:49 -05:00
Renovate Bot
c0dd8dcb1f chore(deps): update dependency lint-staged to v12.1.3 2021-12-18 13:45:45 +00:00
Misty (Bot)
34ffe69f27 Latest translations and fallbacks 2021-12-18 09:05:48 +00:00
Renovate Bot
55b9fab1be chore(deps): update dependency eslint to v8.5.0 2021-12-18 02:25:28 +00:00
Barış Soner Uşaklı
a76444662c refactor: remove console.log 2021-12-17 19:06:41 -05:00
Barış Soner Uşaklı
59214ca297 fix: #10086, if pidfile is empty delete 2021-12-17 19:06:01 -05:00
Misty (Bot)
edba10e22c chore(i18n): fallback strings for new resources: nodebb.post-queue 2021-12-17 20:31:45 +00:00
Julian Lam
5e68a99e73 Revert "chore: trigger lang"
This reverts commit 540eeae9bc.
2021-12-17 15:30:58 -05:00
Barış Soner Uşaklı
540eeae9bc chore: trigger lang 2021-12-17 13:50:37 -05:00
renovate[bot]
019804e177 fix(deps): update dependency nodebb-theme-slick to v1.4.20 (#10084)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-17 12:22:33 -05:00
renovate[bot]
66c759ed2b fix(deps): update dependency nodebb-theme-vanilla to v12.1.13 (#10085)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-17 12:18:03 -05:00
Misty (Bot)
98abf30b18 Latest translations and fallbacks 2021-12-17 09:06:11 +00:00
renovate[bot]
d276c9cdb1 fix(deps): update dependency nodebb-theme-persona to v11.3.10 (#10083)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 22:50:27 -05:00
renovate[bot]
0ef9c7ab2e fix(deps): update dependency nodebb-plugin-composer-default to v7.0.17 (#10082)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 22:50:21 -05:00
Barış Soner Uşaklı
4e1d421722 refactor: remove unused validator 2021-12-16 22:45:31 -05:00
Misty (Bot)
fd939f8bec chore(i18n): fallback strings for new resources: nodebb.modules, nodebb.notifications 2021-12-17 03:26:55 +00:00
Barış Soner Uşaklı
c4042c70de feat: #9506, allow seeing and editing your queued posts
allow regular users access to post queue
allow regular users to edit their queued post/topic title
allow regular users to remove their post from post queue
ability to send a notification to user without removing from post queue
allow accessing single post queue items from notifications
2021-12-16 22:25:39 -05:00
Barış Soner Uşaklı
b8896d1328 refactor: only pass qs 2021-12-16 13:46:49 -05:00
Barış Soner Uşaklı
599bffd8e0 feat: pass in all query params to category search filter 2021-12-16 13:26:07 -05:00
Barış Soner Uşaklı
c4156bdd7b feat: add data param to filter:categories.search
so plugins can do custom search for categories
2021-12-16 09:42:16 -05:00
Misty (Bot)
2170c8a8f5 Latest translations and fallbacks 2021-12-16 09:06:09 +00:00
Barış Soner Uşaklı
1e60ae8703 refactor: change error message 2021-12-15 21:32:30 -05:00
Barış Soner Uşaklı
1264dcb555 test: add email interstitial tests 2021-12-15 21:28:46 -05:00
Barış Soner Uşaklı
91e21ecc62 fix: utils method 2021-12-15 14:03:46 -05:00
Barış Soner Uşaklı
9f1b8a3b1e refactor: use hasOwnProperty 2021-12-15 13:48:59 -05:00
Barış Soner Uşaklı
dbba0c396b refactor: remove object.create 2021-12-15 13:48:31 -05:00
Barış Soner Uşaklı
3d3ae82f5b refactor: remove unused args 2021-12-15 13:42:16 -05:00
Barış Soner Uşaklı
633061f4a7 refactor: remove comment 2021-12-15 12:51:52 -05:00
Barış Soner Uşaklı
d4f3ee67fa refactor: use .map to return promises 2021-12-15 12:49:50 -05:00
Renovate Bot
dda7c0753e fix(deps): update dependency nodebb-theme-vanilla to v12.1.12 2021-12-14 23:51:42 +00:00
Barış Soner Uşaklı
5e08f7e604 test: don't use csrf_token for get,head, options 2021-12-14 14:44:05 -05:00
Renovate Bot
4577600e98 fix(deps): update dependency nodebb-theme-slick to v1.4.19 2021-12-14 19:15:13 +00:00
Barış Soner Uşaklı
0e273ab25a test: fix tests 2021-12-14 12:15:08 -05:00
Barış Soner Uşaklı
1f063058f0 breaking: remove socket.emit('user.exists')
remove socket.emit('user.deleteAccount')
remove socket.emit('user.follow')
remove socket.emit('user.unfollow')
remove socket.emit('user.saveSettings')
2021-12-14 12:05:12 -05:00
Renovate Bot
5e2281c350 fix(deps): update dependency nodebb-theme-persona to v11.3.8 2021-12-14 08:01:20 +00:00
Renovate Bot
0551a19e6e fix(deps): update dependency mongodb to v4.2.2 2021-12-14 04:26:09 +00:00
Barış Soner Uşaklı
6b45dee9c5 breaking: remove socket.emit('user.changeUsernameEmail')
remove socket.emit('user.changePassword')
remove socket.emit('user.updateProfile')
2021-12-13 20:10:45 -05:00
Barış Soner Uşaklı
cc0a087a70 fix: prevent crash if groups is not valid json 2021-12-13 19:19:56 -05:00
Barış Soner Uşaklı
968d461692 fix: upgrade script 2021-12-13 19:18:51 -05:00
Barış Soner Uşaklı
682f60890b lint: fix 2021-12-13 16:57:26 -05:00
Barış Soner Uşaklı
737e1c191e fix: delete left over nav items after removal of some 2021-12-13 16:29:39 -05:00
Barış Soner Uşaklı
10e890e41f fix: targetBlank/dropdown not getting cleared
show caret if nav item is dropdown
2021-12-13 16:24:17 -05:00
Barış Soner Uşaklı
69c96078ea breaking: #10077, store nav items in objects 2021-12-13 16:00:22 -05:00
Barış Soner Uşaklı
3b0c42a591 fix: prettier bulk method usage 2021-12-13 14:46:52 -05:00
Julian Lam
42959df053 fix: bug where groupChat property was not set for chat rooms 2021-12-13 14:46:47 -05:00
Barış Soner Uşaklı
f918a38164 breaking: remove socket.emit('topics.follow')
remove socket.emit('topics.changeWatching')
2021-12-13 12:55:54 -05:00
Renovate Bot
16398dd92f fix(deps): update dependency postcss to v8.4.5 2021-12-13 03:45:21 +00:00
Barış Soner Uşaklı
68fd087567 test: remove old test 2021-12-12 13:58:21 -05:00
Barış Soner Uşaklı
6ad0472106 breaking: remove socket.emit('topics.post')
remove socket.emit('topics.search')
remove socket.emit('topics.getTopic')
2021-12-12 13:14:08 -05:00
Barış Soner Uşaklı
49641a3217 breaking: remove socket.emit('user.banUsers');
remove socket.emit('user.unbanUsers');
2021-12-12 12:47:02 -05:00
Barış Soner Uşaklı
4604a5724c breaking: remove socket.emit('posts.reply')
remove socket.emit('posts.getPost')
2021-12-12 12:19:24 -05:00
Barış Soner Uşaklı
6d95684bc8 breaking: remove socket.emit('user.changePicture') 2021-12-12 11:53:00 -05:00
Barış Soner Uşaklı
0d694c781c breaking: remove socket.emit('user.search') 2021-12-12 11:38:15 -05:00
Misty (Bot)
5e232f17f6 Latest translations and fallbacks 2021-12-11 09:05:40 +00:00
Barış Soner Uşaklı
99f865c618 breaking: remove socketHelpers.setDefaultPostData 2021-12-10 22:14:21 -05:00
Barış Soner Uşaklı
02ea17ea1b breaking: remove deprecated groups socket calls
socket.emit('groups.join') removed use `PUT /api/v3/groups/:slug/membership/:uid`
socket.emit('groups.leave') removed use `DELETE /api/v3/groups/:slug/membership/:uid`
socket.emit('groups.grant') removed, `PUT /api/v3/groups/:slug/ownership/:uid`
socket.emit('groups.rescind') removed, `DELETE /api/v3/groups/:slug/ownership/:uid`
socket.emit('groups.update') removed, `PUT /api/v3/groups/:slug`
socket.emit('groups.create') removed, `POST /api/v3/groups`
socket.emit('groups.delete') removed, `DELETE /api/v3/groups`
2021-12-10 21:50:23 -05:00
Julian Lam
bc7707aa88 fix: #9484 show user history only to admins and gmods 2021-12-10 15:38:50 -05:00
Baris Usakli
20e76699a2 lint: missing ; 2021-12-10 12:16:58 -05:00
Baris Usakli
0d1e57dce0 breaking: remove deprecated methods
socket.emit('topics.delete') removed use `DELETE /api/v3/topics/state`
socket.emit('topics.restore') removed use `PUT /api/v3/topics/state`
socket.emit('topics.purge') removed use `DELETE /api/v3/topics`
socket.emit('topics.lock') removed use `PUT /api/v3/topics/lock`
socket.emit('topics.unlock') removed use `DELETE /api/v3/topics/lock`
socket.emit('topics.pin') removed use `PUT /api/v3/topics/pin`
socket.emit('topics.unpin') removed use `DELETE /api/v3/topics/pin`
2021-12-10 12:12:04 -05:00
Julian Lam
45c9dde319 fix: no need to pass 'img' to teaser tags stripping as images are already converted to alt text 2021-12-10 10:18:16 -05:00
Renovate Bot
de1ed01d81 fix(deps): update dependency compare-versions to v4.1.2 2021-12-10 08:37:51 +00:00
Barış Soner Uşaklı
bd1cb2d4f9 breaking: remove socket.emit('posts.delete')
remove socket.emit('posts.restore')
remove socket.emit('posts.purge')
remove socket.emit('posts.deletePosts')
remove socket.emit('posts.purgePosts')
2021-12-09 19:58:40 -05:00
Barış Soner Uşaklı
ec1d5e38da breaking: remove socket.emit('posts.upvote')
socket.emit('posts.downvote')
socket.emit('posts.unvote')
2021-12-09 19:12:49 -05:00
Barış Soner Uşaklı
8427c5d9db breaking: remove socket.emit('posts.move') 2021-12-09 18:59:23 -05:00
Barış Soner Uşaklı
4247f62441 breaking: remove socket.emit('posts.edit') 2021-12-09 18:42:43 -05:00
Barış Soner Uşaklı
f7418ccd47 breaking: remove socket.emit('posts.bookmark/unbookmark') 2021-12-09 17:59:23 -05:00
Julian Lam
16c88a977c fix(deps): bump persona 2021-12-09 09:41:06 -05:00
Misty (Bot)
f2ca69d8f7 Latest translations and fallbacks 2021-12-09 09:05:43 +00:00
Barış Soner Uşaklı
5c3d5f1f40 test: make it async 2021-12-08 22:59:12 -05:00
Barış Soner Uşaklı
26f00ffb60 test: fix 2021-12-08 20:48:19 -05:00
Barış Soner Uşaklı
cfd474487a refactor: async 2021-12-08 19:45:18 -05:00
Barış Soner Uşaklı
f0394c4965 refactor: async 2021-12-08 19:40:50 -05:00
Barış Soner Uşaklı
8491f67daf refactor: use async 2021-12-08 19:40:33 -05:00
Barış Soner Uşaklı
e3c0f0be0a refactor: remove unused 2021-12-08 19:30:12 -05:00
Barış Soner Uşaklı
07e2741ea6 breaking: remove deprecated admin.groups methods 2021-12-08 19:28:08 -05:00
Barış Soner Uşaklı
a8afdc6019 fix: #10069, don't modify fields array
use a single setObjectFields for the profile update
2021-12-08 18:38:02 -05:00
Julian Lam
c90a89264c fix(deps): bump persona 2021-12-08 16:58:09 -05:00
Barış Soner Uşaklı
236d4e8056 fix: #10068, update data-index values after sort 2021-12-08 11:16:49 -05:00
Barış Soner Uşaklı
9af2335134 fix: #10068, baseIndex should be read before sort update fix off by one error 2021-12-08 09:41:48 -05:00
Barış Soner Uşaklı
45d8157fee fix: tests 2021-12-07 19:03:20 -05:00
Barış Soner Uşaklı
9627fa9029 refactor: always returns array 2021-12-07 18:43:14 -05:00
Barış Soner Uşaklı
830166d120 fix: #10067, count posts instead of incr/decr 2021-12-07 18:40:23 -05:00
Barış Soner Uşaklı
f4aa249d8c refactor: use async/await 2021-12-07 15:24:22 -05:00
renovate[bot]
07217762e6 fix(deps): update dependency nodebb-plugin-mentions to v3.0.4 (#10063)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 12:14:21 -05:00
renovate[bot]
a5840c5aff fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.7.12 (#10064)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 11:50:07 -05:00
renovate[bot]
5477cf32ad fix(deps): update dependency nodebb-theme-slick to v1.4.18 (#10065)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 11:49:58 -05:00
renovate[bot]
60d778f063 fix(deps): update dependency nodebb-plugin-markdown to v8.14.5 (#10062)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 11:08:44 -05:00
renovate[bot]
8695d370ce fix(deps): update dependency nodebb-theme-persona to v11.3.5 (#10059)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 11:08:34 -05:00
Renovate Bot
70068d6c8b fix(deps): update dependency nodebb-plugin-dbsearch to v5.1.1 2021-12-07 15:28:27 +00:00
Renovate Bot
84b03a348c fix(deps): update dependency nodebb-plugin-composer-default to v7.0.15 2021-12-07 14:06:41 +00:00
Misty (Bot)
cf6032b1b2 Latest translations and fallbacks 2021-12-07 09:06:28 +00:00
Renovate Bot
ba02f01553 chore(deps): update dependency eslint to v8.4.1 2021-12-07 08:37:16 +00:00
Barış Soner Uşaklı
cbf198fe9b lint: remove unused 2021-12-06 22:07:25 -05:00
Barış Soner Uşaklı
45d755b6ae breaking: remove socket.emit('categories.getCategory') 2021-12-06 21:58:56 -05:00
Barış Soner Uşaklı
cc3f82bc83 breaking: remove socket.emit('admin.categories.setPrivilege') and socket.emit('admin.categories.getPrivilegeSettings') 2021-12-06 21:47:47 -05:00
Barış Soner Uşaklı
0b9c01f9a0 breaking: remove deprecated socket.emit('admin.categories.update') 2021-12-06 20:34:33 -05:00
Barış Soner Uşaklı
ba5d2e7b81 breaking: remove deprecated socket.emit('admin.categories.purge') 2021-12-06 20:22:09 -05:00
Barış Soner Uşaklı
b335372348 breaking: remove deprecated socket.emit('admin.categories.create') 2021-12-06 20:14:44 -05:00
Barış Soner Uşaklı
10c19af2ad breaking: remove deprecated socket.emit('admin.categories.getAll') 2021-12-06 20:06:15 -05:00
Barış Soner Uşaklı
f8f0a83b52 test: one more getTopicPosts test 2021-12-06 17:18:38 -05:00
Barış Soner Uşaklı
a20abdce02 lint: remove unused 2021-12-06 17:07:32 -05:00
Barış Soner Uşaklı
36eb47d9a0 refactor: change var name 2021-12-06 17:00:50 -05:00
Barış Soner Uşaklı
170e5dd941 breaking: remove getTopicPosts(tid, ...) usage 2021-12-06 17:00:25 -05:00
Barış Soner Uşaklı
906dc5675e fix: handle start=0 stop=0 for topics.getTopicPosts
add more tests
2021-12-06 16:36:30 -05:00
Barış Soner Uşaklı
621c142f8e refactor: alerts 2021-12-06 16:24:09 -05:00
Barış Soner Uşaklı
0a6eeb933e lint: fix 2021-12-06 15:25:10 -05:00
Barış Soner Uşaklı
cba78aee16 refactor: use alerts.error/success 2021-12-06 14:31:35 -05:00
Barış Soner Uşaklı
4f4236101b fix: wrong usage of is ACP 2021-12-06 14:27:43 -05:00
Misty (Bot)
4a53adf626 chore(i18n): fallback strings for new resources: nodebb.admin-admin 2021-12-06 17:52:30 +00:00
Barış Soner Uşaklı
b4a0af4972 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-12-06 12:51:06 -05:00
Barış Soner Uşaklı
dd02c49f43 refactor: use lang keys, fix typo 2021-12-06 12:50:59 -05:00
Misty (Bot)
b052a8e763 chore(i18n): fallback strings for new resources: nodebb.admin-admin 2021-12-06 17:46:20 +00:00
Barış Soner Uşaklı
1980feed46 refactor: use alerts module 2021-12-06 12:45:35 -05:00
Renovate Bot
8cbe0df2e5 fix(deps): update dependency nodebb-theme-persona to v11.3.3 2021-12-06 00:06:12 +00:00
Renovate Bot
4b11371586 chore(deps): update dependency eslint to v8.4.0 2021-12-04 11:32:58 +00:00
Misty (Bot)
0b88cfd9dd Latest translations and fallbacks 2021-12-04 09:06:26 +00:00
Julian Lam
fa01801f64 fix: don't throw on invalid session, just return early so socket is not opened.
Also updated the plugin hook call to `static:sockets.validateSession` to not return a result, because in static calls that result is always null anyway
2021-12-02 14:13:20 -05:00
Renovate Bot
b342338935 chore(deps): update dependency lint-staged to v12 2021-12-02 12:09:58 -05:00
Renovate Bot
e9aadde180 chore(deps): update dependency eslint to v8 2021-12-02 12:09:50 -05:00
Renovate Bot
f6c6425d68 chore(deps): update commitlint monorepo to v15 2021-12-02 12:09:43 -05:00
Barış Soner Uşaklı
71fa8175bb chore: up themes 2021-12-02 11:43:32 -05:00
Barış Soner Uşaklı
a29535833f fix: #10052, dont use spaces in tag class name 2021-12-02 10:58:23 -05:00
Barış Soner Uşaklı
41db9436e8 perf: only add middleware if relativePath is set 2021-12-01 17:18:38 -05:00
Julian Lam
a3bdb70617 feat: ensure that all requests handled by NodeBB fall under the relative_path as configured 2021-12-01 16:57:46 -05:00
Julian Lam
14e352470d fix(deps): bump emoji plugin 2021-12-01 16:28:23 -05:00
Renovate Bot
597d826b26 fix(deps): update dependency ioredis to v4.28.2 2021-12-01 13:46:55 +00:00
Misty (Bot)
7af902fc31 Latest translations and fallbacks 2021-12-01 09:06:09 +00:00
Renovate Bot
115de4e544 fix(deps): update dependency yargs to v17.3.0 2021-12-01 03:34:52 +00:00
renovate[bot]
49813cce42 fix(deps): update dependency mime to v3 (#9963)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 20:28:44 -05:00
Barış Soner Uşaklı
2bb0828af6 refactor: dont need local function 2021-11-30 20:27:16 -05:00
sadaszewski
a1c9a69cd3 incr by bulk. (#9952)
* incr by bulk.

* Update analytics.js

* Update analytics.js

* lint: fix

Co-authored-by: Barış Soner Uşaklı <baris@nodebb.org>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2021-11-30 20:26:07 -05:00
Barış Soner Uşaklı
6ea3b51f12 Zincrybulk (#9975)
* feat: zincry bulk

* feat: psql bulk incr placeholder

* test: redis test fix

* test: redis test
2021-11-30 19:59:47 -05:00
Barış Soner Uşaklı
d9c42c000c feat: show 10 members 2021-11-30 18:42:52 -05:00
Barış Soner Uşaklı
7b99dc46eb test: utils.params 2021-11-30 18:36:18 -05:00
Renovate Bot
f72af319fb fix(deps): update dependency mongodb to v4.2.1 2021-11-30 22:50:25 +00:00
Barış Soner Uşaklı
594293c763 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-11-30 15:47:24 -05:00
Barış Soner Uşaklı
1cdb0b1e19 fix: don't crash if tid is falsy 2021-11-30 15:47:19 -05:00
Misty (Bot)
32326c22fd Latest translations and fallbacks 2021-11-30 09:07:46 +00:00
Renovate Bot
ed4b0cf73d fix(deps): update dependency @socket.io/redis-adapter to v7.1.0 2021-11-30 02:56:32 +00:00
Barış Soner Uşaklı
0414356cf7 perf: don't load all set members to get count 2021-11-29 19:29:18 -05:00
Barış Soner Uşaklı
50063fe238 fix: regression from 27c05448e1 2021-11-29 15:17:02 -05:00
Misty (Bot)
7e6fa7b490 Latest translations and fallbacks 2021-11-29 09:07:01 +00:00
Barış Soner Uşaklı
cd2040ac6b test: regular user shouldn't see admin:privileges 2021-11-28 20:47:13 -05:00
Barış Soner Uşaklı
82b72f7edc lint: remove unused utils 2021-11-28 20:26:27 -05:00
Barış Soner Uşaklı
5843122178 test: add missing tests 2021-11-28 20:18:36 -05:00
Barış Soner Uşaklı
8117b7f22f breaking: remove deprecated post diff socket calls 2021-11-28 19:45:29 -05:00
Barış Soner Uşaklı
324262cbb5 refactor: DRY 2021-11-28 19:31:08 -05:00
Barış Soner Uşaklı
1a7fffc7e9 breaking: remove deprecated user middlewares 2021-11-28 18:58:17 -05:00
Barış Soner Uşaklı
941ecaf899 fix: keep query params on /me redirects 2021-11-28 18:48:52 -05:00
Barış Soner Uşaklı
65c5504193 fix: 403/400/500 page not generating csrf_token 2021-11-28 07:31:09 -05:00
Barış Soner Uşaklı
747b2e7f70 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-11-28 06:42:21 -05:00
Barış Soner Uşaklı
3dd681ebce fix: error pages dont have config.csrf_token 2021-11-28 06:42:19 -05:00
Misty (Bot)
6b054d7a23 Latest translations and fallbacks 2021-11-28 09:06:35 +00:00
Barış Soner Uşaklı
36aa60346b breaking: remove action:category.loaded, use action:topics.loading
action:category.loaded will not fire on infintite load of topics
2021-11-27 14:58:03 -05:00
Renovate Bot
b34b8aa969 fix(deps): update dependency postcss to v8.4.4 2021-11-27 18:10:53 +00:00
Renovate Bot
2dadf7865a fix(deps): update dependency postcss to v8.4.3 2021-11-27 04:22:19 +00:00
Barış Soner Uşaklı
7434cbf66f test: add api token tests 2021-11-26 18:59:29 -05:00
Barış Soner Uşaklı
1e53552874 feat: closes #10018 2021-11-26 17:08:47 -05:00
Baris Usakli
9239582e36 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-11-26 14:43:06 -05:00
Baris Usakli
06bfec8840 feat: #10018 add href 2021-11-26 14:42:57 -05:00
Misty (Bot)
23c915ba66 chore(i18n): fallback strings for new resources: nodebb.topic 2021-11-26 19:42:35 +00:00
Baris Usakli
0f14f23b2a feat: #10018 , wip 2021-11-26 14:41:46 -05:00
Julian Lam
6c07433dea refactor: use routePrefixMap instead of routeRegexpMap, +tests (#10035)
* refactor: use routePrefixMap instead of routeRegexpMap, +tests

Currently tests fail because privilege pages resolve if passed garbage... hmm

* fix: priv check paths

remove /v3 from path as well

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2021-11-26 13:53:53 -05:00
Baris Usakli
d378bf4c9c fix: quote button staying on screen on slow computers 2021-11-26 12:57:13 -05:00
Misty (Bot)
2c08a2b3bd Latest translations and fallbacks 2021-11-26 09:06:42 +00:00
Misty (Bot)
bfb29fea07 Latest translations and fallbacks 2021-11-25 09:08:47 +00:00
Renovate Bot
6a2737980e fix(deps): update dependency postcss to v8.4.1 2021-11-25 02:11:34 +00:00
Barış Soner Uşaklı
daf385cd42 refactor: use hasOwnProprety 2021-11-24 18:17:58 -05:00
Renovate Bot
2934527532 fix(deps): update dependency postcss to v8.4.0 2021-11-24 16:38:04 +00:00
Misty (Bot)
ffc26bc9be Latest translations and fallbacks 2021-11-24 09:07:06 +00:00
Barış Soner Uşaklı
404a877408 test: add missing tests 2021-11-23 19:47:29 -05:00
Barış Soner Uşaklı
2bdb4906ec test: upgrade.runParticular 2021-11-23 19:02:49 -05:00
Barış Soner Uşaklı
6dcdf1d342 breaking: remove setTopicSort/setCategorySort 2021-11-23 18:45:30 -05:00
Barış Soner Uşaklı
7aa85882d5 chore: right dropdown 2021-11-23 18:25:30 -05:00
Barış Soner Uşaklı
a998cc1c47 chore: right dropdown 2021-11-23 18:25:01 -05:00
Barış Soner Uşaklı
c17ec996e0 test: add missing acp root category test 2021-11-23 18:18:02 -05:00
Barış Soner Uşaklı
a7d1dfb65c breaking: remove deprecated socket user create/delete functions
add missing tests
2021-11-23 18:02:44 -05:00
Barış Soner Uşaklı
217aae4c81 test: cache dump test 2021-11-23 15:20:44 -05:00
Barış Soner Uşaklı
a0e2704da1 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-11-23 15:16:47 -05:00
Barış Soner Uşaklı
c93d7fdbdd breaking: remove deprecated uploads.delete 2021-11-23 15:16:41 -05:00
Julian Lam
e0caa5e0c4 fix: removed unused var 2021-11-23 14:53:30 -05:00
Misty (Bot)
eecd02fbee chore(i18n): fallback strings for new resources: nodebb.admin-settings-user, nodebb.login 2021-11-23 19:47:37 +00:00
Julian Lam
01bd8a8694 remove email only login (#10030)
* feat: remove ACP option for email-only logins

* feat: remove email-only login, upgrade script to fix config
2021-11-23 14:46:24 -05:00
Barış Soner Uşaklı
79de48c57f breaking: remove deprecated methods 2021-11-23 13:21:18 -05:00
Renovate Bot
9966a00fbe fix(deps): update dependency ioredis to v4.28.1 2021-11-23 11:05:44 +00:00
Misty (Bot)
9fdbfe6779 Latest translations and fallbacks 2021-11-23 09:07:43 +00:00
Barış Soner Uşaklı
bc120dba68 test: add missing controllers 2021-11-23 00:13:54 -05:00
Barış Soner Uşaklı
edf7c647e8 test: fix tpl name 2021-11-23 00:04:10 -05:00
Barış Soner Uşaklı
6d186ff10d test: add mising email.test tpls 2021-11-22 23:53:13 -05:00
Barış Soner Uşaklı
754cdab896 test: debug routes in dev 2021-11-22 23:38:04 -05:00
Barış Soner Uşaklı
1280d9ae85 test: add digest route test 2021-11-22 23:28:04 -05:00
Barış Soner Uşaklı
2473d5d873 fix: #10027, properly auto confirm first user 2021-11-22 23:20:31 -05:00
Barış Soner Uşaklı
71e34be565 fix: cli password reset 2021-11-22 22:20:01 -05:00
Barış Soner Uşaklı
f11bc33ac5 test: digest 2021-11-22 21:22:44 -05:00
Barış Soner Uşaklı
0e72512509 test: fix function name 2021-11-22 21:17:54 -05:00
Barış Soner Uşaklı
d375dcb873 test: submitUsage 2021-11-22 21:10:12 -05:00
Barış Soner Uşaklı
d7c32ccbc2 test: remove log 2021-11-22 20:01:47 -05:00
Barış Soner Uşaklı
29b3587d91 test: middleware/expose.js 2021-11-22 19:56:12 -05:00
Barış Soner Uşaklı
fa1ac04dc6 lint: fix 2021-11-22 19:26:18 -05:00
Barış Soner Uşaklı
c5f08fdc81 breaking: remove socket.io/flags.js
refactor: helpers.loginUser returns a single object {jar, csrf_token}
2021-11-22 19:23:51 -05:00
Julian Lam
f0d192fbfd feat: autocomplete for activate/reset
useless features™️
2021-11-22 15:37:37 -05:00
Renovate Bot
fdae69911b fix(deps): update dependency nodebb-theme-persona to v11.3.1 2021-11-22 14:33:37 -05:00
Julian Lam
a10ea03c3a fix: #10023, bump persona 2021-11-22 11:14:29 -05:00
Misty (Bot)
6eac500a50 Latest translations and fallbacks 2021-11-22 09:06:27 +00:00
Renovate Bot
87433b79ef chore(deps): update dependency jsdom to v18.1.1 2021-11-22 05:21:28 +00:00
Barış Soner Uşaklı
242f8e95ad fix: #10020, /api/post/upload returns v3 style response 2021-11-21 19:45:04 -05:00
Misty (Bot)
34de9608d0 Latest translations and fallbacks 2021-11-21 09:06:13 +00:00
Misty (Bot)
387f2a07eb Latest translations and fallbacks 2021-11-20 09:06:23 +00:00
Julian Lam
5b42b6b369 API route for returning tracked analytics keys (#10019)
* feat: track metrics saved by NodeBB (and assoc. plugins), #9949

* feat: route to retrieve analytics keys, closes #9949
2021-11-19 15:12:13 -05:00
Julian Lam
449366ca83 fix: consolidate plugin reset logic 2021-11-19 12:21:14 -05:00
Barış Soner Uşaklı
9245f71a66 fix: search crash 2021-11-18 20:12:07 -05:00
Barış Soner Uşaklı
fb363957d1 refactor: tab rules 2021-11-18 16:42:18 -05:00
Barış Soner Uşaklı
c26870d227 feat: #10008, add history entry for note deletion 2021-11-18 13:59:39 -05:00
Barış Soner Uşaklı
697dd37670 refactor: change category feed so it is not updated on every reply
allow cid query param for recent/top/popular feeds
2021-11-18 13:11:05 -05:00
Renovate Bot
f05d308ac7 fix(deps): update socket.io packages to v4.4.0 2021-11-18 16:03:55 +00:00
Renovate Bot
68dddbd946 fix(deps): update dependency nodebb-theme-vanilla to v12.1.10 2021-11-18 13:07:31 +00:00
Renovate Bot
3eb91a2011 fix(deps): update dependency nodebb-theme-persona to v11.2.22 2021-11-18 11:14:11 +00:00
Renovate Bot
5ec32c3145 fix(deps): update dependency nodebb-plugin-mentions to v3.0.3 2021-11-18 09:10:41 +00:00
Barış Soner Uşaklı
d5bfd51267 fix: #10010, handle reverse sorting for topic events
dont add events to dom if sort is most votes
if sorting is reverse add new events after the main post or at the top instead of bottom
2021-11-17 23:34:01 -05:00
Barış Soner Uşaklı
e368feef51 refactor: dont expost entire res._locals to client side 2021-11-17 22:11:24 -05:00
renovate[bot]
2378fc84fa fix(deps): update dependency mongodb to v4.2.0 (#10011)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 13:42:10 -05:00
Barış Soner Uşaklı
af5393ecdc chore: update readme mongodb version 2021-11-17 13:20:07 -05:00
Barış Soner Uşaklı
500cad78e5 test: up mongodb version 2021-11-17 13:07:58 -05:00
Barış Soner Uşaklı
190532b3b4 refactor: shorter meta.settings.get 2021-11-16 19:25:40 -05:00
Barış Soner Uşaklı
51cbeccb08 refactor: clone settings before returning
prevents plugins from mistakenly modifying saved settings in cache
2021-11-16 19:20:18 -05:00
Barış Soner Uşaklı
27c05448e1 refactor: remove another async.series 2021-11-16 17:11:26 -05:00
Barış Soner Uşaklı
4359e5c97c refactor: remove tabs after declaration 2021-11-16 16:24:17 -05:00
Barış Soner Uşaklı
0532c1b2a1 feat: #9957, don't remove existing fields form config.json 2021-11-16 16:20:39 -05:00
Barış Soner Uşaklı
047f031dd7 fix: #10006, dont allow new rooms or adding to a room if target is blocked 2021-11-16 11:57:00 -05:00
Misty (Bot)
c16dad40cf Latest translations and fallbacks 2021-11-16 09:07:13 +00:00
Barış Soner Uşaklı
aac0792ab8 test: mainPost removed from inf scroll 2021-11-15 18:31:55 -05:00
Barış Soner Uşaklı
6d38eab69a refactor: update dates 2021-11-15 18:27:22 -05:00
Barış Soner Uşaklı
f729e51921 refactor: clone before returning 2021-11-15 18:21:52 -05:00
Barış Soner Uşaklı
258f368e32 refactor: add filter:topic.getPosts
this hook only fires when loading the posts of a topic cold load + infinite scroll
do not remove posts if they have index =-1
use topics.getTopicPosts instead of getMainPostAndReplies
2021-11-15 18:08:09 -05:00
dependabot[bot]
ea9f2c731c chore(deps): bump compare-versions from 3.6.0 to 4.1.1 in /install
Bumps [compare-versions](https://github.com/omichelsen/compare-versions) from 3.6.0 to 4.1.1.
- [Release notes](https://github.com/omichelsen/compare-versions/releases)
- [Changelog](https://github.com/omichelsen/compare-versions/blob/master/CHANGELOG.md)
- [Commits](https://github.com/omichelsen/compare-versions/compare/v3.6.0...v4.1.1)

---
updated-dependencies:
- dependency-name: compare-versions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 12:10:59 -05:00
Renovate Bot
aae7be027e fix(deps): update dependency @socket.io/redis-adapter to v7.0.1 2021-11-15 12:56:30 +00:00
Renovate Bot
4616253755 fix(deps): update dependency sharp to v0.29.3 2021-11-14 14:30:14 +00:00
Misty (Bot)
2b39dc4dea Latest translations and fallbacks 2021-11-14 09:05:56 +00:00
Barış Soner Uşaklı
231472354e perf: create user tooltips on demand 2021-11-13 20:25:09 -05:00
Barış Soner Uşaklı
7f8783555b Revert "perf: remove createUserTooltips"
This reverts commit facc10e40f.
2021-11-13 20:16:24 -05:00
Renovate Bot
d7c2a311ab chore(deps): update dependency jsdom to v18.1.0 2021-11-13 03:59:36 +00:00
Barış Soner Uşaklı
8379c11b22 refactor: setObjectBulk to match sortedSetAddBulk 2021-11-12 19:51:59 -05:00
Julian Lam
1a85aaad23 docs: add docs link higher up 2021-11-12 15:26:00 -05:00
Julian Lam
e325aa935a docs: update readme blurb 2021-11-12 15:23:46 -05:00
Baris Usakli
d412ba4411 perf: closes #9994, bulk methods for settings 2021-11-12 15:13:36 -05:00
Misty (Bot)
72e1c281d7 chore(i18n): fallback strings for new resources: nodebb.admin-settings-email 2021-11-12 19:59:42 +00:00
Julian Lam
09e0c6d503 feat: add feature flag to disable verification emails, closes #9996 2021-11-12 14:58:56 -05:00
Baris Usakli
facc10e40f perf: remove createUserTooltips 2021-11-12 11:18:44 -05:00
Barış Soner Uşaklı
d196409580 refactor: remove more async.eachSeries/mapSeries 2021-11-10 20:55:06 -05:00
Barış Soner Uşaklı
8750ee04a6 refactor: make a single call to set widgets per template 2021-11-10 20:40:34 -05:00
Barış Soner Uşaklı
80f9963bed refactor: remove jshint, remove async.parallel 2021-11-10 20:19:13 -05:00
Misty (Bot)
3a78a15134 chore: incrementing version number - v1.18.6
(cherry picked from commit 22e74dc0bb)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2021-11-10 20:45:25 +00:00
Misty (Bot)
3c8109e27f chore: update changelog for v1.18.6 2021-11-10 20:45:25 +00:00
Barış Soner Uşaklı
a0f0dd021b chore: make it a link 2021-11-10 15:33:15 -05:00
Barış Soner Uşaklı
dad31c8ea2 chore: update badges, remove david doesnt work 2021-11-10 15:32:36 -05:00
Renovate Bot
45a0895c34 chore(deps): update dependency eslint-plugin-import to v2.25.3 2021-11-10 12:35:52 +00:00
Misty (Bot)
975cb51262 Latest translations and fallbacks 2021-11-10 09:07:28 +00:00
Barış Soner Uşaklı
41c3eb8298 refactor: shorter require 2021-11-09 19:38:35 -05:00
Barış Soner Uşaklı
96f13e4f5d feat: #9992, hooks.one 2021-11-09 19:29:29 -05:00
Barış Soner Uşaklı
0428912c6d refactor: deprecate app.alert functions user alerts module directly 2021-11-09 13:34:59 -05:00
Barış Soner Uşaklı
ae64b9f495 test: add another assert for random failing test 2021-11-09 11:05:03 -05:00
Barış Soner Uşaklı
61d1f56500 test: socket.emit doesnt exist in tests 2021-11-09 10:51:44 -05:00
Julian Lam
1719bff89c feat: use auto-generated meta and link tags in ACP, closes #9991 2021-11-09 10:39:48 -05:00
Barış Soner Uşaklı
8b4510cc70 refactor: deprecate app.logout
use logout module instead
move header related code out of app.js
2021-11-08 23:28:26 -05:00
Barış Soner Uşaklı
415dfbb9f7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-11-08 22:55:40 -05:00
renovate[bot]
cf30876fbf fix(deps): update dependency nodebb-theme-slick to v1.4.16 (#9990)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 22:50:11 -05:00
renovate[bot]
ef02bdc467 fix(deps): update dependency nodebb-plugin-composer-default to v7.0.14 (#9989)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 22:50:05 -05:00
Barış Soner Uşaklı
a9265dbf5c Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-11-08 22:48:07 -05:00
Barış Soner Uşaklı
619034484f refactor: simpler rejoin
remove pointless app.cacheBuster = null
2021-11-08 22:48:02 -05:00
renovate[bot]
654c8e6148 fix(deps): update dependency nodebb-plugin-composer-default to v7.0.13 (#9988)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 22:37:57 -05:00
Barış Soner Uşaklı
e3f5b706a5 test: show body when test fails 2021-11-08 22:36:10 -05:00
Barış Soner Uşaklı
f352be63dc refactor: deprecate app.openChat/newChat
use chat.openChat/newChat instead
2021-11-08 22:20:41 -05:00
Barış Soner Uşaklı
1a9b15989b refactor: move search functions from app.js to search module
deprecate:
app.handleSearch, use search.init(options) instead
app.enableTopicSearch, use search.enableQuickSearch(options) instead
app.prepareSearch, use search.showAndFocusInput() instead
2021-11-08 21:31:49 -05:00
Barış Soner Uşaklı
666fe209f0 refactor: move session messages 2021-11-08 21:00:37 -05:00
Barış Soner Uşaklı
3d2398ac4c test: lint 2021-11-08 20:48:32 -05:00
Barış Soner Uşaklı
518552543d refactor: move warnings/messages out of app.js 2021-11-08 20:40:41 -05:00
Barış Soner Uşaklı
cb0d74bdd1 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-11-08 16:55:31 -05:00
Barış Soner Uşaklı
0a7ff2085e refactor: remove jshint 2021-11-08 16:55:25 -05:00
Julian Lam
c1ac291284 fix: ability to enumerate email via updateProfile method 2021-11-08 15:36:37 -05:00
Julian Lam
b912a564e3 fix: accidentally not clearing email when said email is confirmed for a different uid 2021-11-08 15:16:48 -05:00
Renovate Bot
1a22b0ecf2 fix(deps): update dependency nodebb-plugin-mentions to v3.0.2 2021-11-08 18:08:11 +00:00
Renovate Bot
98ebc4d9ac fix(deps): update dependency socket.io to v4.3.2 2021-11-08 11:54:00 +00:00
Misty (Bot)
b736347cd3 Latest translations and fallbacks 2021-11-08 09:07:54 +00:00
Renovate Bot
c1f5889f13 fix(deps): update dependency html-to-text to v8.1.0 2021-11-07 20:26:00 +00:00
Misty (Bot)
91676c6c7c chore(i18n): fallback strings for new resources: nodebb.admin-development-info 2021-11-07 02:07:52 +00:00
Barış Soner Uşaklı
4b738c8cd3 refactor: cleanup info, better cpu usage % 2021-11-06 22:07:06 -04:00
Barış Soner Uşaklı
890bf03fcc refactor: acp only uses 3 modes and a single theme
so only copy 7 files to build folder instead of 400+
2021-11-06 21:20:05 -04:00
Misty (Bot)
8a12ac3470 Latest translations and fallbacks 2021-11-06 09:06:33 +00:00
Barış Soner Uşaklı
30cce14204 test: fix tpl test 2021-11-05 20:21:19 -04:00
renovate[bot]
4f1ee1fcb1 fix(deps): update dependency nodebb-plugin-dbsearch to v5.1.0 (#9983)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 18:16:36 -04:00
Barış Soner Uşaklı
3386893b58 test: dbsearch no longer has staticDir 2021-11-05 18:14:08 -04:00
Renovate Bot
7fee0e3272 fix(deps): update dependency nodebb-plugin-composer-default to v7.0.12 2021-11-05 15:47:53 -04:00
renovate[bot]
8224a2a930 fix(deps): update dependency nodebb-plugin-mentions to v3.0.1 (#9979)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Julian Lam <julian@nodebb.org>
2021-11-05 15:47:36 -04:00
Renovate Bot
91293ecc6d fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.7.11 2021-11-05 15:45:53 -04:00
Renovate Bot
f7295aaad5 fix(deps): update dependency nodebb-theme-lavender to v5.3.1 2021-11-05 15:45:42 -04:00
Barış Soner Uşaklı
4ac9270a2a test: increase timeout 2021-11-05 14:25:43 -04:00
Barış Soner Uşaklı
28dd31a8e7 fix: #9976 2021-11-05 14:12:45 -04:00
Barış Soner Uşaklı
9bfb6c7281 fix: #9976, handle array or object 2021-11-05 14:11:03 -04:00
Barış Soner Uşaklı
41e0240010 fix: dont show previews on mobile 2021-11-05 13:20:13 -04:00
Misty (Bot)
9e1d8da643 Latest translations and fallbacks 2021-11-05 09:06:51 +00:00
Barış Soner Uşaklı
c1cc35a949 refactor: display errors from category drag/drop 2021-11-04 14:23:16 -04:00
Barış Soner Uşaklı
054685265d fix: category load more btn visibility 2021-11-04 13:19:37 -04:00
Barış Soner Uşaklı
66e7cdac7a fix: #9973, ignore if assigning to same parent 2021-11-04 11:45:06 -04:00
Misty (Bot)
fb0588576d Latest translations and fallbacks 2021-11-04 09:07:12 +00:00
Barış Soner Uşaklı
d27c9696e3 feat: add node 16 (#9847)
* feat: add node 16

* fix: check errors in fork

* test: add use-spawn

* test: another test

* Revert "test: another test"

This reverts commit 606efe26fe.

* test: another test

* fix: lint

* fix: remove spawn-wrap

* test: comment out plugin installs

* fix: lint

* test: uncomment all tests except npm i

* fix: lint

* test: bring back tests

* test: remove leftover override
2021-11-04 00:09:14 -04:00
Barış Soner Uşaklı
67cb249122 fix: #9972 2021-11-03 22:47:15 -04:00
Barış Soner Uşaklı
b1d6c9ba29 chore: up themes 2021-11-03 19:05:02 -04:00
renovate[bot]
0888aae6d2 fix(deps): update dependency nodebb-plugin-mentions to v3 (#9966)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 19:02:38 -04:00
renovate[bot]
f59937314b fix(deps): update dependency mongodb to v4.1.4 (#9968)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 19:02:29 -04:00
renovate[bot]
8fac8d6188 fix(deps): update dependency nodebb-theme-persona to v11.2.21 (#9969)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 19:02:13 -04:00
Misty (Bot)
3727e39f87 chore(i18n): fallback strings for new resources: nodebb.admin-settings-navigation 2021-11-03 20:02:19 +00:00
Barış Soner Uşaklı
2e623dd271 feat: #9967, allow dropdowns in navigation 2021-11-03 16:01:32 -04:00
Barış Soner Uşaklı
98b98a1130 chore: up mentions 2021-11-03 12:25:58 -04:00
Barış Soner Uşaklı
cbe19cb8b4 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-11-03 10:52:10 -04:00
Barış Soner Uşaklı
f728abda06 fix: remove tooltip on ajaxify 2021-11-03 10:52:03 -04:00
Renovate Bot
0f8a68c045 fix(deps): update dependency nodebb-plugin-mentions to v2.15.1 2021-11-03 11:32:40 +00:00
Misty (Bot)
ddeeee7f1a Latest translations and fallbacks 2021-11-03 09:07:30 +00:00
Barış Soner Uşaklı
3e4d477e48 chore: up mentions 2021-11-03 00:09:30 -04:00
Barış Soner Uşaklı
8a88295d04 fix: don't highlight external nav items 2021-11-02 20:05:17 -04:00
Renovate Bot
dc78125aa6 chore(deps): update commitlint monorepo to v14 2021-11-02 09:44:23 -04:00
Misty (Bot)
1fce1056c5 Latest translations and fallbacks 2021-11-02 09:07:51 +00:00
Renovate Bot
81c8d70c51 fix(deps): update dependency validator to v13.7.0 2021-11-02 02:54:53 +00:00
Barış Soner Uşaklı
b916e42f40 feat: show number of events per type in acp 2021-11-01 19:36:18 -04:00
Barış Soner Uşaklı
9fbb3b11ef perf: only load posts once 2021-11-01 18:22:39 -04:00
Barış Soner Uşaklı
63976c42fe Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-11-01 15:30:42 -04:00
Barış Soner Uşaklı
5a0efd2d42 fix: don't use # for previews 2021-11-01 15:30:36 -04:00
Misty (Bot)
46789910a8 chore(i18n): fallback strings for new resources: nodebb.admin-settings-post 2021-11-01 19:09:49 +00:00
Barış Soner Uşaklı
8c67031609 feat: show posts previews if enabled on mouse over 2021-11-01 15:09:05 -04:00
Renovate Bot
7d468e7203 chore(deps): update dependency jsdom to v18.0.1 2021-11-01 18:33:09 +00:00
Misty (Bot)
2ca40c6729 Latest translations and fallbacks 2021-11-01 09:07:17 +00:00
Barış Soner Uşaklı
3d611ab70e fix: events for just topic with main post 2021-10-31 16:13:16 -04:00
Barış Soner Uşaklı
89399c0ed5 fix: #9954, get next post timestamp
fixes topic events being inserted in after first page but at the wrong spot
2021-10-31 15:09:33 -04:00
Barış Soner Uşaklı
a7f235dbac fix: topic events not rendered in infinitescroll 2021-10-31 10:51:16 -04:00
Misty (Bot)
1452557838 Latest translations and fallbacks 2021-10-30 09:06:24 +00:00
Julian Lam
10bb8cf747 test: fix account export test routes 2021-10-29 15:18:40 -04:00
Julian Lam
485b6ced1d fix: broken post uploads due to 6a976a9db0 2021-10-29 14:23:22 -04:00
Julian Lam
591424cea1 chore: fix type.yaml example and summary 2021-10-29 14:21:42 -04:00
Julian Lam
0ee85d5a0b fix: #9950, rename account export routes to remove uid/ prefix 2021-10-29 14:12:14 -04:00
Julian Lam
60352eca54 fix: double invocation of authenticateRequest 2021-10-29 11:16:37 -04:00
Julian Lam
6a976a9db0 fix: #9945, call authenticateRequest middleware for mount points in /api 2021-10-29 10:56:06 -04:00
Misty (Bot)
d8d5f416cc Latest translations and fallbacks 2021-10-29 09:06:56 +00:00
Barış Soner Uşaklı
74aa12c95b fix: hooks is sometimes undefined 2021-10-28 21:33:21 -04:00
Barış Soner Uşaklı
62ac9a8bbb test: add test aliases.buildTargets 2021-10-28 15:40:53 -04:00
Barış Soner Uşaklı
bc4b19b4d7 fix: typo in flags 2021-10-28 15:12:12 -04:00
Renovate Bot
755860f16b fix(deps): update dependency autoprefixer to v10.4.0 2021-10-28 18:37:33 +00:00
Barış Soner Uşaklı
e8c17feedb refactor: use utils.debounce 2021-10-28 12:00:51 -04:00
Barış Soner Uşaklı
783db5748b Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-10-28 09:46:27 -04:00
Barış Soner Uşaklı
50b2ebf844 fix: remove unused code 2021-10-28 09:46:21 -04:00
Misty (Bot)
4ffbbae878 Latest translations and fallbacks 2021-10-28 09:07:10 +00:00
Barış Soner Uşaklı
bda5d14425 test: empty query params for search 2021-10-27 14:40:42 -04:00
Barış Soner Uşaklı
8f08d9cac0 fix: handle undefined data.query 2021-10-27 14:21:36 -04:00
Misty (Bot)
1e418f5b5e chore: incrementing version number - v1.18.5
(cherry picked from commit c248805165)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2021-10-27 16:47:59 +00:00
Misty (Bot)
82eda23a9e chore: update changelog for v1.18.5 2021-10-27 16:47:59 +00:00
Julian Lam
28efcb59cb chore: remove .opacity() mixin as it is supported cross-browser 2021-10-27 12:35:10 -04:00
renovate[bot]
bf20965f0b fix(deps): update dependency nodebb-theme-vanilla to v12.1.7 (#9944)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 12:14:11 -04:00
renovate[bot]
bcf85fcfba fix(deps): update dependency nodebb-theme-persona to v11.2.19 (#9943)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 12:14:04 -04:00
Barış Soner Uşaklı
3d1cf168f2 revert: lazy load 2021-10-27 09:52:46 -04:00
Barış Soner Uşaklı
196a98c6ff Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-10-27 09:39:53 -04:00
Barış Soner Uşaklı
015727855f fix: remove loading="lazy", fixes inf. scroll loaded images 2021-10-27 09:39:48 -04:00
Misty (Bot)
f2bf33a28c Latest translations and fallbacks 2021-10-27 09:07:24 +00:00
Renovate Bot
8d4bb8bbbe chore(deps): update dependency lint-staged to v11.2.6 2021-10-27 03:00:24 +00:00
Renovate Bot
7c2ecb1234 fix(deps): update dependency nodebb-rewards-essentials to v0.2.0 2021-10-27 02:00:40 +00:00
Barış Soner Uşaklı
c428ba80aa refactor: wider value field 2021-10-26 16:20:24 -04:00
Barış Soner Uşaklı
c7e078d495 refactor: dont save partial searches 2021-10-26 15:51:42 -04:00
Barış Soner Uşaklı
25ebbd6563 fix: windows tests 2021-10-26 14:51:49 -04:00
Misty (Bot)
9b68dc37cc chore(i18n): fallback strings for new resources: nodebb.admin-settings-email, nodebb.error 2021-10-26 18:30:00 +00:00
Julian Lam
80ea12c1c1 feat: new ACP option emailPrompt
... which allows administrators to disable the client-side prompt to
encourage users to enter or confirm their email addresses
2021-10-26 14:28:42 -04:00
Julian Lam
5a328485dd Revert "fix: only show email confirmation warning toast on pages that it applies"
This reverts commit 1bd1cc74a4.
2021-10-26 14:28:42 -04:00
Renovate Bot
0728a99453 chore(deps): update dependency lint-staged to v11.2.5 2021-10-26 13:25:06 +00:00
Renovate Bot
49b8b983b6 fix(deps): update dependency nodebb-theme-vanilla to v12.1.6 2021-10-26 11:01:15 +00:00
Misty (Bot)
3e94def687 Latest translations and fallbacks 2021-10-26 09:09:53 +00:00
Renovate Bot
ed0adf2ccf fix(deps): update dependency nodebb-theme-persona to v11.2.18 2021-10-26 08:05:11 +00:00
Barış Soner Uşaklı
64192731a0 refactor: use search api for topic search 2021-10-25 23:12:34 -04:00
Barış Soner Uşaklı
6cfaea06f0 fix: undefined query showing in searches 2021-10-25 22:06:28 -04:00
Barış Soner Uşaklı
89f5e06bbf fix: don't repeat search if on same page 2021-10-25 22:03:59 -04:00
Barış Soner Uşaklı
19ee717444 refactor: slowdown quick search 2021-10-25 21:22:44 -04:00
Barış Soner Uşaklı
0926ae6ecf fix: api session revoke test 2021-10-25 20:47:10 -04:00
Barış Soner Uşaklı
62e44dc5be Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-10-25 16:37:41 -04:00
Barış Soner Uşaklı
da64810a4a fix: crash 2021-10-25 16:37:36 -04:00
Misty (Bot)
ff962b5ddf chore(i18n): fallback strings for new resources: nodebb.admin-dashboard 2021-10-25 20:36:22 +00:00
Barış Soner Uşaklı
eb075c7328 fix: add missing translation 2021-10-25 16:35:37 -04:00
Barış Soner Uşaklı
a528790615 refactor: typo 2021-10-25 16:34:24 -04:00
Barış Soner Uşaklı
178600b1bb Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-10-25 16:32:40 -04:00
Barış Soner Uşaklı
ee8e048015 fix: move record to controller 2021-10-25 16:32:35 -04:00
Misty (Bot)
abe59131dd chore(i18n): fallback strings for new resources: nodebb.admin-dashboard, nodebb.admin-menu 2021-10-25 20:28:14 +00:00
Barış Soner Uşaklı
f4cf482a87 feat: show popular searches 2021-10-25 16:26:50 -04:00
Barış Soner Uşaklı
63572c23ce fix: profile edit fields showing translated values 2021-10-25 15:00:05 -04:00
Barış Soner Uşaklı
8d316d1859 fix: #9934, fix translator test 2021-10-25 13:59:43 -04:00
Barış Soner Uşaklı
719cfc0d57 breaking: disable javascript in custom less tab 2021-10-25 13:53:45 -04:00
Barış Soner Uşaklı
04dab1d550 fix: token verify 2021-10-25 13:23:54 -04:00
Barış Soner Uşaklı
1783f918bc fix: guard against prototype pollution 2021-10-25 13:17:33 -04:00
Barış Soner Uşaklı
c8b2fc46dc fix: translator path traversal 2021-10-25 12:51:56 -04:00
Barış Soner Uşaklı
835c73c431 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-10-25 10:44:05 -04:00
Barış Soner Uşaklı
e62948f73d fix: there is no alltime digest, fixes translation in test email
there is no digest.title.alltime
2021-10-25 10:44:04 -04:00
Misty (Bot)
ab70ba3905 Latest translations and fallbacks 2021-10-24 09:06:39 +00:00
Barış Soner Uşaklı
47df62e700 fix: clicking outside postContainer should close tooltip 2021-10-23 20:49:14 -04:00
Renovate Bot
7866107988 fix(deps): update dependency nodebb-theme-persona to v11.2.17 2021-10-24 00:40:39 +00:00
Renovate Bot
f76a788290 chore(deps): update dependency lint-staged to v11.2.4 2021-10-23 22:23:39 +00:00
Barış Soner Uşaklı
4246f59729 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-10-23 14:56:23 -04:00
Barış Soner Uşaklı
f02fba29dc refactor: add callback to loadNotifications 2021-10-23 14:56:17 -04:00
Misty (Bot)
e6982da955 Latest translations and fallbacks 2021-10-23 09:06:38 +00:00
Julian Lam
7ef5214ef9 test: fix broken openapi3 schema 2021-10-22 16:14:41 -04:00
Julian Lam
506c34a84d refactor: simplified utilities API > login rout
Removed continueLogin override in favour of a simpler `redirectAfterLogin` override
Use passport to authenticate username and password instead of duplicated logic.
2021-10-22 15:56:31 -04:00
Julian Lam
6b4f35c2fa feat: new plugin hook to allow plugins to reject email address on new registration or email change 2021-10-22 15:06:51 -04:00
Julian Lam
806a1e50d2 feat: utilities login API route now starts an actual login session, if requested 2021-10-22 15:06:51 -04:00
Renovate Bot
a5f4e20681 fix(deps): update dependency postcss to v8.3.11 2021-10-21 21:56:52 +00:00
Barış Soner Uşaklı
b91ae0880d feat: add method name to deprecation message 2021-10-21 15:40:42 -04:00
Renovate Bot
d74a6bd35e fix(deps): update dependency nodebb-theme-vanilla to v12.1.5 2021-10-21 19:18:32 +00:00
Renovate Bot
2a3e13f360 chore(deps): update dependency husky to v7.0.4 2021-10-21 18:04:05 +00:00
Barış Soner Uşaklı
1d62bd6d7b refactor: log error as well 2021-10-21 12:34:26 -04:00
Barış Soner Uşaklı
73a9ca09c9 refactor: catch errors from buildHeader in error handler 🔥 2021-10-21 10:28:27 -04:00
Barış Soner Uşaklı
d4da98404c refactor: add missing helpers.tryRoute 2021-10-21 10:14:53 -04:00
Renovate Bot
8b8fe39303 fix(deps): update dependency sharp to v0.29.2 2021-10-21 12:34:43 +00:00
Barış Soner Uşaklı
998b9e7918 fix: minification regression 2021-10-20 21:17:15 -04:00
Barış Soner Uşaklı
463b2076a6 chore: up themes 2021-10-20 20:32:16 -04:00
Barış Soner Uşaklı
fec7ebed04 fix: tooltip 2021-10-20 20:31:27 -04:00
Barış Soner Uşaklı
66fca4e066 feat: quote tooltip 2021-10-20 19:58:25 -04:00
Renovate Bot
b18a24e97b fix(deps): update dependency postcss to v8.3.10 2021-10-20 21:37:34 +00:00
Julian Lam
d22b076b2e feat: additional quality options for jpeg uploads, added quality and compression settings for png uploads 2021-10-20 14:07:25 -04:00
Barış Soner Uşaklı
ee0282f5aa refactor: shorter middleware 2021-10-20 12:45:09 -04:00
Barış Soner Uşaklı
b2429ef00e refactor: meta/minifier use async/await 2021-10-20 11:52:23 -04:00
Julian Lam
fa1afbcf4a test: restore commented-out i18n test 2021-10-19 14:06:27 -04:00
Misty (Bot)
2bed40bed0 chore(i18n): fallback strings for new resources: nodebb.admin-manage-digest, nodebb.admin-settings-user, nodebb.user 2021-10-19 18:05:17 +00:00
Barış Soner Uşaklı
90b81262fa refactor: remove unused var 2021-10-19 12:38:40 -04:00
Barış Soner Uşaklı
9cb4de50a2 fix: biweekly digest #8053 2021-10-19 12:21:54 -04:00
Julian Lam
44687394dc fix: restore plugin upgrade checking logic
unintended regression from ac86937c88
2021-10-19 10:25:51 -04:00
Misty (Bot)
22f05b3961 Latest translations and fallbacks 2021-10-19 09:06:44 +00:00
Renovate Bot
f3c8d7da8e fix(deps): update dependency nodebb-theme-persona to v11.2.15 2021-10-19 08:38:11 +00:00
Barış Soner Uşaklı
8e319a9b25 refactor: catch errors from digest 2021-10-18 20:17:35 -04:00
Barış Soner Uşaklı
f7967bdf68 feat: #8053, biweekly digest option 2021-10-18 20:10:14 -04:00
Barış Soner Uşaklı
14bc83a88e refactor: less.render returns promise 2021-10-18 18:19:21 -04:00
Barış Soner Uşaklı
6da3239230 refactor: less.render already returns promise
rename callback to next to match other controllers
2021-10-18 18:12:23 -04:00
Barış Soner Uşaklı
c70eaa0a34 refactor: prompt.get already returns promise 2021-10-18 17:34:26 -04:00
Barış Soner Uşaklı
057d1d58e3 refactor: no need for async/callbacks 2021-10-18 17:31:14 -04:00
Barış Soner Uşaklı
38756a0c34 refactor: no more 🐮 2021-10-18 17:24:03 -04:00
bukajsytlos
ced8e72a69 Run nodebb docker process under node user (#9913)
Closes #9888
2021-10-18 17:09:40 -04:00
Julian Lam
ed4ebd2277 fix: fallbacks for new langauge key 2021-10-18 14:49:08 -04:00
Julian Lam
605a53812e feat: core submit button dropdown 2021-10-18 14:49:08 -04:00
Barış Soner Uşaklı
4333d217a1 fix: #9917, show topics as unread for guests 2021-10-18 14:17:42 -04:00
Misty (Bot)
fe2cfa8039 Latest translations and fallbacks 2021-10-18 09:06:16 +00:00
renovate[bot]
5e08e67b0e fix(deps): update dependency nodebb-theme-persona to v11.2.14 (#9919)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-17 16:27:24 -04:00
Misty (Bot)
1339c75781 Latest translations and fallbacks 2021-10-17 09:06:04 +00:00
Renovate Bot
deba3e2752 fix(deps): update dependency socket.io-client to v4.3.2 2021-10-17 01:13:28 +00:00
Renovate Bot
e1554f619a fix(deps): update dependency socket.io to v4.3.1 2021-10-16 23:13:02 +00:00
Barış Soner Uşaklı
a9bc6a0962 refactor: allow array of uids for blocks.is/list
remove async.filter
use cacheCreate
2021-10-16 13:09:14 -04:00
Peter Jaszkowiak
6436aa65ad fix: clarify site settings urls vs config.json url (#9912) 2021-10-16 10:36:21 -04:00
Peter Jaszkowiak
09f198fc37 fix: clarify SMTP enable toggle (#9911) 2021-10-16 10:24:04 -04:00
Misty (Bot)
e7f0a77fd8 Latest translations and fallbacks 2021-10-16 09:06:01 +00:00
Renovate Bot
ce5a0a2113 fix(deps): update socket.io packages 2021-10-16 04:43:38 +00:00
Renovate Bot
600a872031 fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.7.10 2021-10-16 00:44:32 +00:00
Renovate Bot
b0128f8572 fix(deps): update dependency nodebb-plugin-composer-default to v7.0.10 2021-10-15 14:46:36 -04:00
Barış Soner Uşaklı
9e0ce0272c fix: don't overwrite reloadRequired with false
1. meta.settings.set('name', values); // reloadRequired is set to true
2. meta.settings.set('otherName', values, false); // reloadRequired was set to false, even though it should stay true until restart due to step 1
2021-10-15 10:31:33 -04:00
Renovate Bot
4784f016a7 chore(deps): update dependency mocha to v9.1.3 2021-10-15 10:56:55 +00:00
Misty (Bot)
54ae334995 Latest translations and fallbacks 2021-10-15 09:07:19 +00:00
Renovate Bot
f8f35d7e7e fix(deps): update dependency nodebb-plugin-markdown to v8.14.4 2021-10-15 04:25:26 +00:00
Renovate Bot
ed87466208 fix(deps): update dependency nodebb-plugin-composer-default to v7.0.9 2021-10-15 02:19:46 +00:00
Barış Soner Uşaklı
8e6bd7e913 refactor: show full url on error log 2021-10-14 19:00:03 -04:00
Renovate Bot
1dba75e9c9 fix(deps): update dependency nodebb-theme-persona to v11.2.13 2021-10-14 22:17:47 +00:00
Julian Lam
b460e5909c fix: delete translations in admin/general folder (since general was removed and relocated elsewhere)
Also added "flags.json" for language uk (which was missing for some reason...)
2021-10-14 14:45:50 -04:00
Julian Lam
21b610826c fix: pushed missing key to tx and pulled fallbacks 2021-10-14 14:45:50 -04:00
Julian Lam
0f9b0b7846 fix: adding missing language namespace "top" 2021-10-14 14:45:50 -04:00
Julian Lam
35af763418 feat: added failing i18n tests 2021-10-14 14:45:50 -04:00
Julian Lam
bd893cdaa3 fix: extra debug log 2021-10-14 13:59:11 -04:00
Misty (Bot)
c84ad776c2 Latest translations and fallbacks 2021-10-14 09:07:36 +00:00
Julian Lam
154ffea01b test: moved topic event and topic thumb tests to subfolder for better organisation 2021-10-13 21:02:05 -04:00
Renovate Bot
4ff5452d6f fix(deps): update dependency ioredis to v4.28.0 2021-10-13 16:18:37 +00:00
Renovate Bot
fe9f82f6b4 fix(deps): update dependency nodebb-theme-persona to v11.2.12 2021-10-12 23:20:12 -04:00
Renovate Bot
3c3f45d91b chore(deps): update dependency eslint-plugin-import to v2.25.2 2021-10-13 02:43:12 +00:00
Barış Soner Uşaklı
1feb111ade perf: dont fs.open if plugin doesnt have language namespace (#9893)
closes #9892
2021-10-12 17:40:08 -04:00
gasoved
b0a24d6dd5 refactor: var to const and let (#9885)
* refactor: var to const and let

* fix: missed global bootbox usage

* refactor: align with eslint expectations
2021-10-12 10:26:18 -04:00
Julian Lam
eddb98681c fix: have renovate add dependencies label to its PRs 2021-10-12 10:13:53 -04:00
Renovate Bot
4b8dcd4c2b chore(deps): update dependency jsdom to v18 2021-10-12 09:59:20 -04:00
Renovate Bot
7c4aebbdf0 chore(deps): update dependency eslint-plugin-import to v2.25.1 2021-10-12 09:21:18 +00:00
Renovate Bot
6d2e0aa970 fix(deps): update dependency ioredis to v4.27.11 2021-10-11 04:34:30 +00:00
Renovate Bot
288b5456f7 chore(deps): update dependency lint-staged to v11.2.3 2021-10-10 20:47:33 +00:00
Renovate Bot
f96c8c4db0 chore(deps): update dependency lint-staged to v11.2.2 2021-10-09 20:27:08 +00:00
Renovate Bot
52c38a1dc8 chore(deps): update dependency @commitlint/cli to v13.2.1 2021-10-09 10:47:09 +00:00
Renovate Bot
022e8df035 chore(deps): update dependency lint-staged to v11.2.1 2021-10-09 07:43:03 +00:00
Renovate Bot
820f8cdf87 fix(deps): update dependency nodebb-plugin-mentions to v2.14.1 2021-10-08 21:57:15 +00:00
gasoved
227456fb17 fix: no global bootbox (#9879)
* fix: require bootbox (easy ones)

* fix: require bootbox (ugly ones)

* fix(eslint): a lengthy line
2021-10-08 15:25:36 -04:00
Julian Lam
94c4f87b2f docs: update verbiage re: login API route 2021-10-08 15:24:34 -04:00
Baris Usakli
997fb2b348 refactor: remove unused code 2021-10-08 15:16:17 -04:00
Renovate Bot
4b92df821b chore(deps): update dependency eslint-config-nodebb to v0.0.3 2021-10-08 13:31:40 -04:00
Julian Lam
3e69bcdf1f fix: #9872 update app badge with notification count if applicable 2021-10-08 11:32:54 -04:00
gasoved
c1149d045c fix: better nomenclature 2021-10-08 10:37:55 -04:00
gasoved
3acaac4c7c fix: html attributes (#9877)
* fix: some empty xml tag bodies

* fix: missing/wrong attributing of label tags

* fix: attribute fixes

* fix: misassociated label

* fix: missing alt attributes

* fix: some more missing associated labels
2021-10-08 10:36:51 -04:00
Misty (Bot)
1958dffa04 Latest translations and fallbacks 2021-10-08 09:07:02 +00:00
Barış Soner Uşaklı
6c25b9dbaa test: remove escape 2021-10-07 16:24:53 -04:00
Barış Soner Uşaklı
176ed9199b Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-10-07 15:20:47 -04:00
Barış Soner Uşaklı
4f9717fb08 fix: escape thumbs, allow robots meta tag 2021-10-07 15:20:41 -04:00
gasoved
7935bd9efb fix: missing translations (#9876) 2021-10-07 14:59:03 -04:00
gasoved
56d05b4e86 feat: confirm before deleting all events (#9875) 2021-10-07 14:53:51 -04:00
Renovate Bot
b0eb2aed0e fix(deps): update dependency jquery-ui to v1.13.0 2021-10-07 18:33:17 +00:00
Barış Soner Uşaklı
543d85212b refactor: remove unused colorpicker 2021-10-07 12:45:44 -04:00
Barış Soner Uşaklı
63109c0705 test: possible fix to timeout 2021-10-07 11:24:12 -04:00
Barış Soner Uşaklı
8654a996d3 test: increase timeout 2021-10-07 11:10:58 -04:00
Barış Soner Uşaklı
1438f40984 chore: up persona 2021-10-07 09:16:53 -04:00
Misty (Bot)
21166069dc Latest translations and fallbacks 2021-10-07 09:06:41 +00:00
Misty (Bot)
945c2b0b8a chore: incrementing version number - v1.18.4
(cherry picked from commit 8593ea87e9)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2021-10-06 17:59:38 +00:00
Misty (Bot)
7cbcb52151 chore: update changelog for v1.18.4 2021-10-06 17:59:38 +00:00
Barış Soner Uşaklı
f4e62fb1cd chore: up persona 2021-10-06 13:50:03 -04:00
Barış Soner Uşaklı
27e53b42f3 feat: use unread icon in mobile 2021-10-06 12:58:34 -04:00
Misty (Bot)
d30c316be9 Latest translations and fallbacks 2021-10-06 09:06:39 +00:00
Renovate Bot
b4fc277307 fix(deps): update dependency mongodb to v4.1.3 2021-10-05 22:39:55 +00:00
Barış Soner Uşaklı
8ad9a103b3 fix: #9866, fire vote hooks after reputation changes (#9867) 2021-10-05 12:20:09 -04:00
Barış Soner Uşaklı
96f5312de9 fix: #9865, don't display register messages after login 2021-10-05 10:41:26 -04:00
Barış Soner Uşaklı
a0df389021 fix: dont show decimails on auto approva minutes 2021-10-05 10:13:24 -04:00
Julian Lam
e954ca1025 fix: #9864 2021-10-05 09:54:14 -04:00
Barış Soner Uşaklı
a70c69fa83 fix: delete old topic tags 2021-10-04 20:12:11 -04:00
Renovate Bot
9455e5b2b9 fix(deps): update dependency postcss to v8.3.9 2021-10-04 23:55:33 +00:00
Renovate Bot
78895d0586 fix(deps): update dependency autoprefixer to v10.3.7 2021-10-04 22:39:03 +00:00
gasoved
d1ff3d6298 feat: cli user management commands (#9848)
* feat: cli user management commands

* fix: consistent nomenclature
2021-10-04 15:59:09 -04:00
Renovate Bot
9215c7d1e1 fix(deps): update dependency nodebb-plugin-composer-default to v7.0.8 2021-10-04 17:21:16 +00:00
Barış Soner Uşaklı
a7668a7fb1 refactor: use utils.debounce
fixes socket message spam in chat resize
2021-10-04 10:58:32 -04:00
Renovate Bot
840b49b9b2 chore(deps): update dependency lint-staged to v11.2.0 2021-10-04 13:46:50 +00:00
Renovate Bot
4694382cc7 fix(deps): update dependency ioredis to v4.27.10 2021-10-04 11:21:39 +00:00
Misty (Bot)
c5e49b08ce Latest translations and fallbacks 2021-10-04 09:06:03 +00:00
Barış Soner Uşaklı
5aea6c6aa1 feat: #9855, allow uid for post queue notifications 2021-10-03 15:05:30 -04:00
Barış Soner Uşaklı
4404e81991 fix: switch inf. scroll to xhr (#9854)
this fixes infinitescroll when url has custom query parameters
also fixes infinitescroll for plugins like QnA
fixes infinitescroll on tags page
deprecate topics.loadMoreSortedTopics
deprecate topics.loadMoreFromSet
2021-10-02 13:35:58 -04:00
Misty (Bot)
cb25faaa2d Latest translations and fallbacks 2021-10-02 09:06:06 +00:00
Barış Soner Uşaklı
e6a17a6349 Psql multikey (#9852)
* perf: convert promise.all to single query

* perf: single query for removeBulk

* perf: list
2021-10-01 19:36:42 -04:00
Barış Soner Uşaklı
ea04aeded4 perf: convert promise.all to single query (#9851) 2021-10-01 15:24:19 -04:00
Misty (Bot)
7d1c7e0a7b Latest translations and fallbacks 2021-10-01 09:06:21 +00:00
Misty (Bot)
a658757382 Latest translations and fallbacks 2021-09-30 09:07:35 +00:00
Barış Soner Uşaklı
409151050a fix: #9828, max-width 2021-09-29 20:22:21 -04:00
Julian Lam
be43cd2597 Topic Linkbacks (#9825)
* feat: WIP topic linkbacks, + failing tests

* test: don't accidentally comment out all of the post tests

* fix: rename to "backlinks"

* feat: more stub code, more failing tests

* feat: backend methods and passing tests for topic backlinks

* test: uncomment test/posts.js again

* fix: missing quotation mark in topic event helper

* fix: superfluous usage of Promise.all

* test: fix broken test -- used hardcoded (and incorrect) url

* test: parseInt shenanigans
2021-09-29 12:26:15 -04:00
Barış Soner Uşaklı
f24b630e1a feat: add userData to static:user.delete 2021-09-29 09:38:31 -04:00
Misty (Bot)
c40bdad87e Latest translations and fallbacks 2021-09-29 09:06:40 +00:00
Renovate Bot
346e08908b fix(deps): update dependency nodebb-theme-persona to v11.2.9 2021-09-28 18:20:18 +00:00
Barış Soner Uşaklı
6399b42826 feat: closes #9845, sort by views 2021-09-28 11:13:56 -04:00
Renovate Bot
aa370310a1 chore(deps): update commitlint monorepo to v13.2.0 2021-09-28 04:06:33 +00:00
Julian Lam
c5a48b44a5 docs: added link to unofficial IRC channel 2021-09-27 18:14:34 -04:00
Peter Jaszkowiak
ff84d6c52f Add more chat hooks, replace toobig.jpg (#9843)
* feat: more hooks for messaging

for use in global chat plugin

* fix: replace toobig.jpg

toobig.png is a real 10000x10000 image
2021-09-27 13:22:12 -04:00
gasoved
ac1b9692f2 fix: handle undefined returnTo on registerAbort 2021-09-26 09:09:49 -04:00
Renovate Bot
058fdca44e fix(deps): update dependency autoprefixer to v10.3.6 2021-09-26 11:40:04 +00:00
Misty (Bot)
659685722c Latest translations and fallbacks 2021-09-26 09:05:36 +00:00
Renovate Bot
d50dd801ed fix(deps): update dependency yargs to v17.2.1 2021-09-25 23:12:27 +00:00
Renovate Bot
193c92e386 fix(deps): update dependency postcss to v8.3.8 2021-09-25 10:49:02 +00:00
Renovate Bot
6385b88e99 chore(deps): update dependency mocha to v9.1.2 2021-09-25 09:55:10 +00:00
Barış Soner Uşaklı
ff850b2431 fix: lint 2021-09-24 21:44:55 -04:00
Barış Soner Uşaklı
4f8647a59c test: dashboard 2021-09-24 21:41:56 -04:00
Barış Soner Uşaklı
9fe9ab0869 test: add tests for admin privileges 2021-09-24 21:28:54 -04:00
Barış Soner Uşaklı
123354ca36 fix: psql tests 2021-09-24 20:06:56 -04:00
Barış Soner Uşaklı
f8d4ec6ca6 fix: psql test 2021-09-24 19:58:10 -04:00
Barış Soner Uşaklı
3605ac811d fix: possible test fix for subfolder redirect 2021-09-24 19:23:46 -04:00
Barış Soner Uşaklı
3479832593 test: add missing tests 2021-09-24 18:32:59 -04:00
Julian Lam
8cb475482a test: remove debug log 2021-09-24 17:08:36 -04:00
Julian Lam
4eacfef02b fix: missing relative path in test 2021-09-24 17:07:21 -04:00
Julian Lam
58e0a366c8 fix: #9834, missing null email check on new registrations, added tests 2021-09-24 12:15:40 -04:00
Julian Lam
cb69934ad0 test: no need to create fake interstitial as NodeBB comes with some by default 2021-09-24 10:43:45 -04:00
Julian Lam
a9645475fe feat: duplicate requireEmailAddress settings block to Settings > User 2021-09-24 10:34:13 -04:00
Renovate Bot
daea8a86c1 fix(deps): update dependency passport to ^0.5.0 2021-09-24 00:30:23 +00:00
renovate[bot]
054f3da65d fix(deps): update dependency connect-pg-simple to v7 (#9785)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-23 17:09:45 -04:00
Barış Soner Uşaklı
07adb49e7f feat: mongodb driver 4.x (#9832)
* feat: mongodb driver 4.x

* feat: up dbsearach
2021-09-23 16:49:56 -04:00
Barış Soner Uşaklı
6b34065f2a refactor: remove async.waterfall from remaining upgrade scripts 2021-09-23 14:56:20 -04:00
Barış Soner Uşaklı
04ee5c0dfb Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-09-23 10:00:43 -04:00
Barış Soner Uşaklı
0faa493745 fix: crossorigin not showing up on manifest link tag 2021-09-23 10:00:37 -04:00
Misty (Bot)
fc1a31ed87 Latest translations and fallbacks 2021-09-23 09:07:44 +00:00
Renovate Bot
c78309b573 fix(deps): update dependency yargs to v17.2.0 2021-09-23 08:18:57 +00:00
Barış Soner Uşaklı
89af00d1d5 fix: #9827, fix reward duplication 2021-09-22 23:56:34 -04:00
Julian Lam
1a61ffc595 feat: a useless hover effect because raisins 2021-09-22 16:33:24 -04:00
Misty (Bot)
57358743fa chore: incrementing version number - v1.18.3
(cherry picked from commit 9e52236973)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2021-09-22 17:01:45 +00:00
Misty (Bot)
f066ddb8f6 chore: update changelog for v1.18.3 2021-09-22 17:01:45 +00:00
Renovate Bot
9855429445 fix(deps): update dependency nodebb-plugin-composer-default to v7.0.7 2021-09-22 16:48:38 +00:00
Julian Lam
31975a628e fix: fixed element shifting in ACP menu that's been bothering me for 5-ish years 2021-09-22 11:31:56 -04:00
Barış Soner Uşaklı
aea0eb18d1 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-09-22 09:16:15 -04:00
Barış Soner Uşaklı
30f387710c fix: #9822, use correct username/pwd 2021-09-22 09:16:08 -04:00
Renovate Bot
6ebe707ca5 fix(deps): update dependency postcss to v8.3.7 2021-09-22 13:08:08 +00:00
Renovate Bot
2568744167 fix(deps): update dependency autoprefixer to v10.3.5 2021-09-22 11:25:34 +00:00
Misty (Bot)
6b4e77e3ce Latest translations and fallbacks 2021-09-22 09:06:51 +00:00
Barış Soner Uşaklı
2add84a568 fix: remove unused translator 2021-09-21 17:16:21 -04:00
Barış Soner Uşaklı
07859f7e8c fix: ban info test 2021-09-21 17:12:59 -04:00
Barış Soner Uşaklı
9f0e55ad3e fix: #9819, show same time info for ban 2021-09-21 17:04:17 -04:00
Barış Soner Uşaklı
7a2f0ae15b fix: show local time for ban 2021-09-21 16:10:37 -04:00
Barış Soner Uşaklı
c437b33652 fix: crash 2021-09-21 13:51:24 -04:00
Barış Soner Uşaklı
15f9aaa6ee fix: remove caller from payload after hooks is done
only if it was added automatically
2021-09-21 13:48:16 -04:00
renovate[bot]
c18678cef2 fix(deps): update dependency nodebb-plugin-composer-default to v7.0.6 (#9815)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 13:25:59 -04:00
renovate[bot]
39d73d0c3d fix(deps): update dependency nodebb-theme-persona to v11.2.8 (#9816)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 13:25:51 -04:00
Julian Lam
ce8ea6ea42 fix: bad uid reference 2021-09-21 13:03:59 -04:00
Julian Lam
f194809f06 feat: move filter:topic.post hook to top of method 2021-09-21 13:00:45 -04:00
Julian Lam
7777812e62 fix: update Topics.post and Topics.reply so that plugins can modify uid (or redirect a reply to a different topic)
/cc @antosik
2021-09-21 11:26:17 -04:00
Barış Soner Uşaklı
c4fc7bf9b5 fix: #9818, fix totalTime calculation 2021-09-21 10:21:52 -04:00
Misty (Bot)
e838b616df Latest translations and fallbacks 2021-09-21 09:06:38 +00:00
psychobunny
1ed62aa82f fix: missing microdata in category data 2021-09-20 23:03:24 -04:00
Barış Soner Uşaklı
c0a52924f1 fix: #9812, add topics:schedule 2021-09-20 10:48:35 -04:00
Barış Soner Uşaklı
18252fb9a8 refactor: no regex 2021-09-20 10:41:26 -04:00
Barış Soner Uşaklı
31a6d4b39a fix: for subfolders 2021-09-20 10:39:56 -04:00
Barış Soner Uşaklı
0236ea86ad fix: req.path doesn't have full url 2021-09-20 10:24:02 -04:00
Barış Soner Uşaklı
75ebe78619 fix: escape moderation note before adding to dom 2021-09-20 10:16:16 -04:00
Barış Soner Uşaklı
40c9fca918 fix: #9811, send bodyClass on 403
use helpers.formatApiResponse for /api/v3 routes only
2021-09-20 10:11:25 -04:00
Barış Soner Uşaklı
05ddd60c5e dont check empty emails in queue 2021-09-18 15:20:24 -04:00
Barış Soner Uşaklı
58ac55c16a refactor: remove async.waterfall 2021-09-17 20:33:31 -04:00
Barış Soner Uşaklı
222dccaf67 refactor: remove async.waterfall 2021-09-17 15:29:10 -04:00
Barış Soner Uşaklı
f35a0f430a refactor: remove async.waterfall 2021-09-17 13:31:49 -04:00
Julian Lam
944a798552 fix: also launch docker workflow on release branches 2021-09-17 12:21:38 -04:00
Barış Soner Uşaklı
ba3582b873 fix: xss on flags page via ban reason 2021-09-17 11:10:43 -04:00
Julian Lam
66eaae44a6 feat: add client-side static hook to fire immediately before any topic action (hint: delete action to stop default behaviour) 2021-09-17 10:37:22 -04:00
Julian Lam
819917daf2 refactor: allow plugins to replace og:image, or specify additional og:image
/cc @antosik
2021-09-17 09:57:31 -04:00
Renovate Bot
8e886c853b fix(deps): update dependency connect-mongo to v4.6.0 2021-09-17 13:51:12 +00:00
Barış Soner Uşaklı
896ff2152f fix: up timeout for psql tests 2021-09-17 08:20:03 -04:00
Renovate Bot
8af54255d8 fix(deps): update dependency nodebb-plugin-composer-default to v7.0.4 2021-09-15 18:48:13 +00:00
Misty (Bot)
a66659ff6c Latest translations and fallbacks 2021-09-15 09:06:50 +00:00
Barış Soner Uşaklı
0c4b875e10 fix: redis batch 2021-09-14 18:28:18 -04:00
Barış Soner Uşaklı
3261edcc32 fix: redis processing batch+1 items every iteration 2021-09-14 18:13:44 -04:00
Renovate Bot
9049dcd76c fix(deps): update dependency mongodb to v3.7.1 2021-09-14 19:38:52 +00:00
Barış Soner Uşaklı
8b576a3704 fix: #9560, don't save post diffs if content didn't change 2021-09-14 14:07:58 -04:00
Misty (Bot)
1cca8eaddc Latest translations and fallbacks 2021-09-14 09:07:13 +00:00
Barış Soner Uşaklı
6a55c02702 fix: #9790, get baseIndex on update for infinitescroll 2021-09-11 18:07:01 -04:00
Barış Soner Uşaklı
2657804c1f fix: #9790, fix sorting of more than one page of pinned topics 2021-09-11 17:57:42 -04:00
Barış Soner Uşaklı
3ecbb624d8 fix: privileges added by plugins (#9802)
* fix: privileges added by plugins

when copying a categories privileges, privileges added by plugins will be copied as well
when purging a category privileges added by plugins will be purged as well
show plugin privileges in privileges.<categories/admin/global>.get
show plugin privileges in privileges.<categories/admin/global>.userPrivileges
show plugin privileges in privileges.<categories/admin/global>.groupPrivileges

* fix: typo
2021-09-11 16:43:48 -04:00
Renovate Bot
506035b5f7 fix(deps): update dependency nodebb-theme-persona to v11.2.6 2021-09-11 20:31:29 +00:00
Barış Soner Uşaklı
71ed50b9c1 fix: #9800, don't send all welcome test emails to test@example.org @julianlam 2021-09-11 13:11:11 -04:00
uplift
92d1ee31e4 Add authenticateRequest middleware (#9795)
* Add  authenticateRequest middleware

to Post routes

* Fix linting error
2021-09-10 12:36:12 -04:00
Antosik
b06e8dba7b fix: docker - remove sha tag 2021-09-10 07:39:55 -04:00
Barış Soner Uşaklı
397835a05a feat: allow removing multiple items from list 2021-09-09 22:25:17 -04:00
Barış Soner Uşaklı
7f48edc02a feat: add uid to filter:user.saveSettings 2021-09-09 22:24:55 -04:00
Antosik
52eace4b38 fix: Return QEMU back, remove platforms definition 2021-09-09 10:45:59 -04:00
Anton Grigoryev
e7f4cde466 Fix: Docker workflow tweaks (#9792)
* fix: docker workflow tweaks

* fix: run workflow on push to master branch
2021-09-09 09:08:27 -04:00
Misty (Bot)
c05fba98d4 Latest translations and fallbacks 2021-09-09 09:06:09 +00:00
Renovate Bot
787306a6c1 fix(deps): update dependency nodebb-theme-slick to v1.4.13 2021-09-08 23:24:27 +00:00
gasoved
84ff1152f7 feat: headers for global privs #9717 (#9762)
* feat: headers for global privs #9717

* fix: don't spoil headers to adminPrivs

Co-authored-by: Julian Lam <julian@nodebb.org>
2021-09-08 17:17:25 -04:00
Renovate Bot
ee02771959 chore(deps): update docker/build-push-action action to v2.7.0 2021-09-08 15:10:36 -04:00
Renovate Bot
732b59c2d8 fix(deps): update dependency nodebb-plugin-composer-default to v7.0.3 2021-09-08 15:00:54 -04:00
Julian Lam
66f70b2aa0 Revert "Revert "Use Github Action as a release pipeline to Docker (#9720)" (#9738)"
This reverts commit d2bc1fa565.
2021-09-08 14:50:32 -04:00
Julian Lam
0b4d7d1f8e style: give me an A! 💯 2021-09-08 14:27:48 -04:00
Julian Lam
006fc700dd feat: add ACP option to require email address on new registration 2021-09-08 14:18:20 -04:00
Julian Lam
34afb74762 fix: browsers autocompleting smtp fields when they should not 2021-09-08 14:05:56 -04:00
Misty (Bot)
0a56158bb4 chore: incrementing version number - v1.18.2
(cherry picked from commit 854c078b73)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2021-09-08 16:27:01 +00:00
Misty (Bot)
27e9282aa4 chore: update changelog for v1.18.2 2021-09-08 16:27:01 +00:00
Misty (Bot)
507517fce5 Latest translations and fallbacks 2021-09-08 09:06:50 +00:00
psychobunny
bf0c02a71e feat: a slightly less ugly rewards panel 2021-09-07 11:49:43 -04:00
psychobunny
a7855c4cc4 fix: dashboard graph controls 2021-09-07 10:48:03 -04:00
psychobunny
580a016b0e fix: #9767 ACP change group icon fix 2021-09-07 10:22:09 -04:00
Renovate Bot
ac6cd02fa2 fix(deps): update dependency sharp to v0.29.1 2021-09-07 11:34:03 +00:00
Misty (Bot)
a17ffcd094 Latest translations and fallbacks 2021-09-07 09:06:24 +00:00
Renovate Bot
338f90fc5e fix(deps): update dependency nodebb-plugin-dbsearch to v5.0.3 2021-09-06 19:41:02 +00:00
Misty (Bot)
9084520027 Latest translations and fallbacks 2021-09-06 09:06:27 +00:00
Misty (Bot)
2e1b99f504 Latest translations and fallbacks 2021-09-05 09:06:12 +00:00
Barış Soner Uşaklı
0ce4b87d85 fix: #9781 (#9782) 2021-09-03 20:34:42 -04:00
Julian Lam
856ba78a5f fix: replace logic in isPrivilegedOrSelfAndPasswordMatch to use privileges.users.canEdit 2021-09-03 17:13:55 -04:00
Renovate Bot
87ba768f5c chore(deps): update commitlint monorepo to v13 2021-09-03 17:06:11 -04:00
Renovate Bot
0b3ea5adb4 fix(deps): update dependency nodebb-theme-vanilla to v12.1.3 2021-09-03 17:05:47 -04:00
Julian Lam
8cbad61e8a test: added test for external image via new change picture API 2021-09-03 16:59:42 -04:00
Julian Lam
cdaea61136 fix: handle missing uid in deprecated socket call 2021-09-03 16:59:42 -04:00
Julian Lam
0a41741b7e refactor: deprecate picture update socket call, new API routes for picture update 2021-09-03 16:59:42 -04:00
Julian Lam
e33e046f15 fix: use privileges.users.canEdit for image upload priv check 2021-09-03 16:59:42 -04:00
Barış Soner Uşaklı
a48bbdbfe3 fix: errors from registerComplete 2021-09-03 15:30:05 -04:00
Renovate Bot
57e54d559b fix(deps): update dependency nodebb-theme-persona to v11.2.5 2021-09-03 18:35:00 +00:00
Julian Lam
60de084475 fix: simplify logic for fullname and email blanking in user retrieval (getUserDataByUserSlug)
Previous logic seemed to match the logic used in privileges.users.canEdit, except
the latter allows plugins to modify the value.
2021-09-03 13:38:24 -04:00
Barış Soner Uşaklı
1e2bda13d0 fix: lint 2021-09-03 12:41:11 -04:00
Barış Soner Uşaklı
488f0978a4 fix: manifest error 2021-09-03 12:29:11 -04:00
Barış Soner Uşaklı
72710b8040 fix: #9772, regression from 70a04bc105 2021-09-03 12:22:03 -04:00
Julian Lam
dd4e66e22c fix: push back some deprecations, remove deprecated stuff scheduled for v1.18.0 2021-09-03 12:04:20 -04:00
Barış Soner Uşaklı
1f91a31327 Priv hook fix (#9775)
* fix: #9773, fire hooks properly for priv changes

* fix: admin/global group privs

dont allow invalid privs
2021-09-03 11:58:17 -04:00
Julian Lam
4ac701d747 fix: deprecate userData.showHidden as it is functionally equivalent to userData.canEdit 2021-09-03 11:57:18 -04:00
Julian Lam
46e5e17d0f fix: focus on save button on plugin activation 2021-09-03 11:34:09 -04:00
Barış Soner Uşaklı
6869920e06 fix: #9773, fire hooks properly for priv changes (#9774) 2021-09-03 11:22:42 -04:00
Misty (Bot)
f8f80e4fb3 chore: incrementing version number - v1.18.1
(cherry picked from commit 0409403f5b)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2021-09-03 15:04:06 +00:00
Misty (Bot)
0713475dc5 chore: update changelog for v1.18.1 2021-09-03 15:04:06 +00:00
Misty (Bot)
b73d8849ab Latest translations and fallbacks 2021-09-03 09:06:15 +00:00
Renovate Bot
67b932f4d1 fix(deps): update dependency autoprefixer to v10.3.4 2021-09-03 01:10:14 +00:00
Renovate Bot
fe18e100c5 fix(deps): update dependency nodebb-theme-persona to v11.2.4 2021-09-02 16:01:50 +00:00
Misty (Bot)
3957ff283a Latest translations and fallbacks 2021-09-02 09:06:42 +00:00
gasoved
fc0e655eef refactor: consistent jquery element var naming 2021-09-01 22:41:41 -04:00
gasoved
760ea9df1e fix: determine indeterminate checkboxes 2021-09-01 22:41:41 -04:00
gasoved
1272da6539 refactor: var to const 2021-09-01 22:41:41 -04:00
Julian Lam
ca9bae3a1c fix: move app.alert back into the conditionals 2021-09-01 10:51:04 -04:00
Julian Lam
1bd1cc74a4 fix: only show email confirmation warning toast on pages that it applies 2021-09-01 10:51:04 -04:00
Julian Lam
2d1380ddf1 fix: updated email confirm warning to be more positive 2021-09-01 10:51:04 -04:00
Misty (Bot)
985be8ad87 Latest translations and fallbacks 2021-09-01 09:05:55 +00:00
Renovate Bot
31a35d7f71 fix(deps): update dependency mongodb to v3.7.0 2021-08-31 22:31:25 +00:00
psychobunny
6afeac375b fix: automated tests are a good thing to have 2021-08-31 11:33:20 -04:00
psychobunny
ae793b4a44 chore: found some hooks that don't play well docgen 2021-08-31 10:45:08 -04:00
gasoved
3df79683f5 feat: create folders in ACP uploads #9638 (#9750)
* feat: create folders in ACP uploads #9638

* fix: openapi

* test: missing tests

* fix: eslint

* fix: tests
2021-08-31 09:27:00 -04:00
Renovate Bot
f2028d7009 fix(deps): update socket.io packages to v4.2.0 2021-08-31 11:53:11 +00:00
Renovate Bot
6052eb1613 fix(deps): update dependency ioredis to v4.27.9 2021-08-31 10:53:54 +00:00
Misty (Bot)
35a6715aff Latest translations and fallbacks 2021-08-31 09:06:29 +00:00
renovate[bot]
5fa982c123 fix(deps): update dependency mongodb to v3.6.12 (#9761)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-30 21:16:53 -04:00
gasoved
61f02f17d8 feat: column based view on wide priv. tables (#9699)
* feat: column based view on wide priv. tables

* fix: add group/user

* feat: copy buttons to work on visible privs

* feat: show what's being copied in modal

* feat: optional title and message for category selector modal
2021-08-30 10:42:58 -04:00
Barış Soner Uşaklı
e59d357533 feat: als (#9749)
* feat: als

* fix: up test timeout

* fix: don't overwrite caller if it already exists

* fix: up test timeout for psql
2021-08-30 10:23:38 -04:00
Misty (Bot)
156ba0958e Latest translations and fallbacks 2021-08-30 09:06:45 +00:00
Misty (Bot)
e005b20470 Latest translations and fallbacks 2021-08-29 09:05:41 +00:00
Renovate Bot
33d5120181 fix(deps): update dependency nodebb-plugin-composer-default to v7.0.2 2021-08-28 19:08:49 +00:00
Renovate Bot
64bac178e1 chore(deps): update dependency mocha to v9.1.1 2021-08-28 17:28:03 +00:00
Misty (Bot)
7802622eba Latest translations and fallbacks 2021-08-28 09:05:50 +00:00
Renovate Bot
1b416d7ed9 fix(deps): update dependency nodebb-theme-slick to v1.4.12 2021-08-27 21:22:38 +00:00
Barış Soner Uşaklı
e93148420d feat: add quick reply key 2021-08-27 14:39:29 -04:00
Misty (Bot)
d16d3ebace Latest translations and fallbacks 2021-08-27 09:06:48 +00:00
Renovate Bot
65b32fa1fc fix(deps): update dependency nodebb-theme-slick to v1.4.11 2021-08-27 05:09:42 +00:00
Renovate Bot
6ce321e4c4 fix(deps): update dependency nodebb-theme-persona to v11.2.3 2021-08-27 03:28:13 +00:00
Barış Soner Uşaklı
6e73d8c934 feat: add new lang key for no best posts 2021-08-26 19:18:20 -04:00
Renovate Bot
91ba7cdf79 fix(deps): update dependency autoprefixer to v10.3.3 2021-08-26 19:35:40 +00:00
Renovate Bot
d80b378f4e fix(deps): update dependency nodebb-theme-slick to v1.4.9 2021-08-26 17:58:27 +00:00
SAES:RPG
dd15065706 Fix [MONGODB DRIVER] Warning: bulk operation remove has been deprecated, please use delete (#9746)
Co-authored-by: Brophy <paul.brophy@bastage.net>
2021-08-26 09:44:16 -04:00
Misty (Bot)
fac8136f9b Latest translations and fallbacks 2021-08-26 09:06:05 +00:00
renovate[bot]
7f9451cea5 fix(deps): update dependency jquery-deserialize to v2.0.0 (#9744)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-25 16:52:23 -04:00
Misty (Bot)
1e436ae793 chore: incrementing version number - v1.18.0
(cherry picked from commit d220d1d461)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2021-08-25 20:29:56 +00:00
Misty (Bot)
2fd9c09544 chore: update changelog for v1.18.0 2021-08-25 20:29:56 +00:00
Julian Lam
4ddc26fc08 Add dependabot.yml for automatic security updates 2021-08-25 12:56:50 -04:00
Barış Soner Uşaklı
d2bc1fa565 Revert "Use Github Action as a release pipeline to Docker (#9720)" (#9738)
This reverts commit 1a72d3b4f8.
2021-08-25 10:59:28 -04:00
Steve Fan
1a72d3b4f8 Use Github Action as a release pipeline to Docker (#9720)
* Create main.yml

* Update and rename main.yml to docker.yml
2021-08-25 10:55:52 -04:00
loid345
635f5555de Update package.json (#9722) 2021-08-25 10:55:42 -04:00
Julian Lam
55693ec1b0 fix: lint 2021-08-25 10:24:02 -04:00
Julian Lam
12e7f8d5ae fix(deps): bump persona 2021-08-25 10:21:23 -04:00
Julian Lam
e803737a4b feat: add confirmation modal to topic event deletion 2021-08-25 10:12:50 -04:00
Julian Lam
1ee92c281d fix: topic event deletion 2021-08-25 10:12:50 -04:00
Renovate Bot
324c7d482d chore(deps): update dependency husky to v7.0.2 2021-08-25 04:18:54 +00:00
Renovate Bot
9a34fe1857 chore(deps): update dependency eslint-plugin-import to v2.24.2 2021-08-25 02:43:30 +00:00
renovate[bot]
2e1562b813 fix(deps): update dependency nodebb-theme-persona to v11.2.1 (#9734)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 13:36:48 -04:00
renovate[bot]
4bd66a7ca9 fix(deps): update dependency nodebb-theme-vanilla to v12.1.2 (#9735)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 13:36:42 -04:00
Julian Lam
152f194aee Server-side rendering of topic events (#9733)
* style: reformat list of helpers exported

* refactor: move topic events partial into a helper, invoke helper in topic.tpl (see persona), update how events are added to the DOM via addTopicEvents

closes #9731

* style: lint
2021-08-24 11:56:04 -04:00
Barış Soner Uşaklı
0743554dd4 fix: pluginPaths 2021-08-23 21:41:08 -04:00
Barış Soner Uşaklı
13878e9f14 fix: #9730, show warning if plugin is active but not installed 2021-08-23 21:27:03 -04:00
renovate[bot]
096c5a5891 fix(deps): update dependency nodebb-theme-slick to v1.4.8 (#9732)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-23 14:17:00 -04:00
Barış Soner Uşaklı
60bf564321 fix: #9729, insert new posts after topic events 2021-08-23 12:31:11 -04:00
Barış Soner Uşaklı
c354cde347 fix: #9719, only apply to non https 2021-08-23 11:51:36 -04:00
Misty (Bot)
2dcced5518 Latest translations and fallbacks 2021-08-22 09:06:14 +00:00
Barış Soner Uşaklı
77c3085a7b fix: #9727, addHandlers after hooks 2021-08-21 23:32:05 -04:00
Barış Soner Uşaklı
6659e95a4a refactor: remove promisify from redis, ioredis supports promises nati… (#9728)
* refactor: remove promisify from redis, ioredis supports promises natively

* refactor: remove unused util
2021-08-21 23:31:31 -04:00
Renovate Bot
d44e3a8ecf fix(deps): update dependency autoprefixer to v10.3.2 2021-08-21 20:21:49 +00:00
Misty (Bot)
8358c3b426 Latest translations and fallbacks 2021-08-21 09:05:54 +00:00
Renovate Bot
cd85a55dd4 chore(deps): update dependency eslint-config-nodebb to v0.0.2 2021-08-20 11:06:00 -04:00
Renovate Bot
c5a4227310 chore(deps): update dependency mocha to v9.1.0 2021-08-20 11:16:05 +00:00
Misty (Bot)
b14cdc5f6d Latest translations and fallbacks 2021-08-20 09:06:34 +00:00
Renovate Bot
daca09d455 chore(deps): update dependency eslint-plugin-import to v2.24.1 2021-08-20 00:01:47 +00:00
Misty (Bot)
81a1cd00cf Latest translations and fallbacks 2021-08-19 09:06:26 +00:00
Barış Soner Uşaklı
a288f51f42 fix: allow smaller than 5mins for admin relogin duration
setting the value to 1min in ACP wasn't working
2021-08-18 20:46:51 -04:00
Barış Soner Uşaklı
794bf01b21 feat: allow changing default search in 2021-08-18 20:35:39 -04:00
Renovate Bot
116f9cb55e fix(deps): update dependency nodebb-theme-persona to v11.2.0 2021-08-18 17:06:06 +00:00
Renovate Bot
8461791a52 fix(deps): update dependency ioredis to v4.27.8 2021-08-18 15:49:20 +00:00
Julian Lam
cf4b78dbd3 Revert "fix: taskbar icon not pushed via composer/persona"
This reverts commit 3a81c8fd42.
2021-08-18 10:09:39 -04:00
psychobunny
d2492ef48e style: eslint 2021-08-17 18:16:43 -04:00
psychobunny
3a81c8fd42 fix: taskbar icon not pushed via composer/persona
@antosik, partially reverted your PR:
342503e07a

just specifically this file: 342503e07a/public/src/modules/taskbar.js

I'm not 100% sure, but it might be because this hook is called sooner than the hook being registered? https://github.com/NodeBB/nodebb-theme-persona/blob/master/public/persona.js#L100-L101  @julianlam
2021-08-17 17:49:06 -04:00
Renovate Bot
ec103ce8dd fix(deps): update dependency nodebb-theme-persona to v11.1.3 2021-08-17 17:05:13 -04:00
Renovate Bot
626d5565c6 fix(deps): update dependency sharp to v0.29.0 2021-08-17 18:46:37 +00:00
Renovate Bot
ce6039f2d1 fix(deps): update dependency connect-mongo to v4.5.0 2021-08-17 16:11:17 +00:00
Misty (Bot)
0c672d8faa Latest translations and fallbacks 2021-08-17 09:06:13 +00:00
Andrew Rodrigues
b74eefacf6 chore: up markdown/composer-default, fixes: #9708 2021-08-16 18:36:45 -04:00
Renovate Bot
de83f82eae fix(deps): update dependency nodebb-theme-vanilla to v12.1.1 2021-08-16 18:22:02 +00:00
Renovate Bot
ee10ae0450 fix(deps): update dependency nodebb-theme-persona to v11.1.2 2021-08-16 16:58:06 +00:00
Barış Soner Uşaklı
382a4c2785 feat: #9705, use radio buttons for flag reasons 2021-08-16 11:26:49 -04:00
Renovate Bot
ffdf61b882 chore(deps): update dependency @apidevtools/swagger-parser to v10.0.3 2021-08-15 11:21:00 +00:00
Misty (Bot)
2f2e6b4b5e Latest translations and fallbacks 2021-08-15 09:05:42 +00:00
Renovate Bot
38e38580fb fix(deps): update dependency yargs to v17.1.1 2021-08-13 23:27:07 +00:00
renovate[bot]
418553757f chore(deps): update dependency jsdom to v17 (#9700)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-13 16:59:00 -04:00
Anton Grigoryev
342503e07a Feat: Client-side hooks - replace window.trigger (#9679)
* feat/clientside-hooks: replace window.trigger with hooks.fire

* feat(clientside-hooks): Move hooks require to the top

* fix: simplifying complex logical expression

* fix: client-side hook for translator - post-review fixes
2021-08-13 16:58:37 -04:00
Misty (Bot)
a850dd2e34 Latest translations and fallbacks 2021-08-13 09:06:19 +00:00
Barış Soner Uşaklı
9de64bf516 fix: #9698, pass along query params in redirect 2021-08-12 11:26:15 -04:00
Misty (Bot)
4c67592f55 Latest translations and fallbacks 2021-08-12 09:06:01 +00:00
Misty (Bot)
8100b6a841 Latest translations and fallbacks 2021-08-11 09:06:57 +00:00
Renovate Bot
4794141852 fix(deps): update dependency nodebb-theme-persona to v11.1.1 2021-08-11 03:02:13 +00:00
Barış Soner Uşaklı
8bf2896d6c fix: lint 2021-08-10 21:19:01 -04:00
Barış Soner Uşaklı
358ad74054 feat: closes #9684, allow event deletion
fix: topic events appearing before necro messages
feat: add move topic event
feat: add ability to delete specific topic events via events.purge
2021-08-10 19:39:51 -04:00
Renovate Bot
23dafa204c chore(deps): update dependency eslint-plugin-import to v2.24.0 2021-08-08 23:03:22 +00:00
Julian Lam
f653a6ff6a feat: replace eslint configs on server and client side to inherit rules from eslint-config-nodebb 2021-08-08 15:38:02 -04:00
opliko
5e6b8433a3 change font order 2021-08-06 19:39:33 -04:00
opliko
f576d6e0ea fix solid font weight in shim 2021-08-06 19:39:33 -04:00
opliko
a370c26f73 feat: re-add FontAwesome font for compatibility 2021-08-06 19:39:33 -04:00
opliko
093ac1c09a fix: remove unnecessary quote 2021-08-06 19:39:33 -04:00
opliko
41762e6603 feat: update to FontAwesome 5.15, resolve #6976 2021-08-06 19:39:33 -04:00
Renovate Bot
d47bdde260 chore(deps): update dependency lint-staged to v11.1.2 2021-08-06 08:57:29 +00:00
Renovate Bot
a0fd026801 fix(deps): update dependency mongodb to v3.6.11 2021-08-05 19:19:19 +00:00
Barış Soner Uşaklı
8fb53252a8 refactor: get rid of async.waterfall/each 2021-08-05 14:09:34 -04:00
Barış Soner Uşaklı
42dbd40253 refactor: remove unused async 2021-08-05 13:02:28 -04:00
Barış Soner Uşaklı
6b6a7d4b8a refactor: remove waterfall 2021-08-05 12:52:07 -04:00
Renovate Bot
181c20ba56 fix(deps): update dependency yargs to v17.1.0 2021-08-05 00:14:52 +00:00
Misty (Bot)
fadb71bff5 Latest translations and fallbacks 2021-08-03 09:06:27 +00:00
Misty (Bot)
39911a9fc5 Latest translations and fallbacks 2021-08-02 09:06:49 +00:00
Opliko
d509a307f0 Remove some deprecated/unnecessary code (#9688)
* refactor: remove mkdirp promisify

* refactor: remove old session deletion API route

* refactor: remove middleware.isAdmin

* refactor: remove templateValues.config.bootswatchSkin

* fix: unused dependencies
2021-08-01 22:03:19 -04:00
Renovate Bot
9db28b4b4f chore(deps): update dependency jsdom to v16.7.0 2021-08-01 23:06:36 +00:00
Renovate Bot
4c9d6b62a8 fix(deps): update dependency ioredis to v4.27.7 2021-08-01 18:12:41 +00:00
Misty (Bot)
e8b2aa51bf Latest translations and fallbacks 2021-08-01 09:05:23 +00:00
Misty (Bot)
d675795749 Latest translations and fallbacks 2021-07-31 09:05:46 +00:00
Barış Soner Uşaklı
162ebacf5b fix: parseInt tids 2021-07-30 22:54:19 -04:00
Barış Soner Uşaklı
0c81642997 fix: #9681, update posts in queue if target tid is merged 2021-07-30 22:51:06 -04:00
Renovate Bot
03a98f4de4 chore(deps): update dependency eslint to v7.32.0 2021-07-31 01:02:58 +00:00
Julian Lam
4a521ea218 fix: email update interstitial to not error on empty email field (on new registration) 2021-07-30 15:08:43 -04:00
Julian Lam
70a04bc105 feat: removed registerAndLoginUserCallback local helper, added handling if a bad interstitial doesn't go away nor throw errors 2021-07-30 14:50:56 -04:00
Misty (Bot)
46243719b7 Latest translations and fallbacks 2021-07-30 17:53:30 +00:00
Julian Lam
3b34571de9 fix(deps): update theme versions for #9607 2021-07-30 13:41:31 -04:00
Julian Lam
bbbacd86ab feat: updated email confirmation alert to more closely reflect email usage, remembering dismissal 2021-07-30 13:29:13 -04:00
Julian Lam
58adb76246 feat: allow requirejs modules to be awaited 2021-07-30 13:29:13 -04:00
Julian Lam
0e05cbe1f7 feat: show instructional modal after email change request 2021-07-30 13:29:13 -04:00
Julian Lam
e95df2f066 refactor: move interstitials into its own file in src/user/ 2021-07-30 13:29:13 -04:00
Julian Lam
324a12b6c3 feat: return back to profile after editing email 2021-07-30 13:29:13 -04:00
Julian Lam
b3c916414b feat: allow registration interstitial abort to also follow returnTo 2021-07-30 13:29:13 -04:00
Julian Lam
96398faa3c feat: plumb current session id into email removal/confirmation flow, so all other sessions are revoked except for the current session
This utilises the new argument in user.auth.revokeAllSessions
2021-07-30 13:29:13 -04:00
Julian Lam
b0a4a1d3e4 feat: allow revokeAllSessions method to revoke all sessions except that which is passed in (new arg) 2021-07-30 13:29:13 -04:00
Julian Lam
f53fc1ad0b feat: return generic 404 on invalid confirm code 2021-07-30 13:29:13 -04:00
Julian Lam
824a72b220 fix: updated ACP > Manage > Users to handle users with no email address 2021-07-30 13:29:13 -04:00
Julian Lam
d5b5b7d531 fix: allowed reset and reset_notify emails to go out to unconfirmed email addresses 2021-07-30 13:29:13 -04:00
Julian Lam
ccf004f1f4 refactor: added user.email.remove method, updated email interstitial to handle email removal 2021-07-30 13:29:13 -04:00
Julian Lam
414d733d76 fix: bug where confirmation email was sent to the old email address, not the new one 2021-07-30 13:29:13 -04:00
Julian Lam
3bcd1f1438 fix: email validation flow, so that it actually works, fixed event logging bug, new email verification template 2021-07-30 13:29:13 -04:00
Julian Lam
caf8968791 fix: accidental early return in confirmByCode, tests, race condition
A race condition caused mongo/psql tests to fail.
2021-07-30 13:29:13 -04:00
gasoved
a917210c5b feat: invites no longer require email 2021-07-30 13:29:13 -04:00
Julian Lam
81611ae1c4 fix(emails): broken test for api/user/email/:email
+ fixed broken tests due to unexpected behaviour for email confirmation
2021-07-30 13:29:13 -04:00
Julian Lam
c4e3362bd3 feat(emails): restore ability for admins to edit a user's email address [breaking]
The edited user's email will be automatically confirmed
2021-07-30 13:29:13 -04:00
Julian Lam
afd2d8dab1 feat(emails): pass req in to filter:registration.interstitial 2021-07-30 13:29:13 -04:00
Barış Soner Uşaklı
7d115c8ef2 fix(emails): dont allow retrieving user data if showemail is false @julianlam 2021-07-30 13:29:13 -04:00
Julian Lam
6694bdd550 fix(emails): registration tests, email no longer passed-in, API tests (confirm email for test accounts) 2021-07-30 13:29:13 -04:00
Julian Lam
e726048e0c fix(emails): don't automatically associate email during user creation if passed in at registration 2021-07-30 13:29:13 -04:00
Julian Lam
f52919990b feat(emails): display current email in interstitial form 2021-07-30 13:29:13 -04:00
Julian Lam
b4b65ecd98 fix(emails): remove debug log 2021-07-30 13:29:13 -04:00
Julian Lam
087e6020e4 refactor(email): validation checking methods, +tests fix 2021-07-30 13:29:13 -04:00
Julian Lam
50517020a2 feat(emails): upgrade script for includeUnverifiedEmails 2021-07-30 13:29:13 -04:00
Julian Lam
be97aa6f13 feat(emails): +includeUnverifiedEmails ACP setting 2021-07-30 13:29:13 -04:00
Julian Lam
ab9b671693 fix(emails): broken test due to sticky registration interstitial 2021-07-30 13:29:13 -04:00
Julian Lam
a3a3b10fb3 test(emails): fixing broken tests introduced by e5ff68acd 2021-07-30 13:29:13 -04:00
Julian Lam
69c96dd23c refactor(emails): more work in update email interstitial, interstitial skipping, email change on confirmation, deprecation of requireEmailConfirmation 2021-07-30 13:29:13 -04:00
Julian Lam
f365bc4600 refactor(emails): interstitial for adding/updating email 2021-07-30 13:29:13 -04:00
Julian Lam
74aaa0a926 feat: show different registration intersitial lead text on new account vs. existing 2021-07-30 13:29:13 -04:00
Julian Lam
7c1d1c777b refactor(emails): remove email validation on client and server side 2021-07-30 13:29:13 -04:00
Julian Lam
12b2a979a0 feat: removal of emailExists socket listener 2021-07-30 13:29:13 -04:00
Barış Soner Uşaklı
04b1f702cd feat: add loggedin/guest class to body 2021-07-29 11:10:13 -04:00
Misty (Bot)
c54d339dca Latest translations and fallbacks 2021-07-29 09:07:10 +00:00
Misty (Bot)
09c2b85e36 Latest translations and fallbacks 2021-07-28 09:06:17 +00:00
Renovate Bot
40384fcb5a chore(deps): update dependency mocha to v9.0.3 2021-07-25 17:26:44 +00:00
Misty (Bot)
9f56c893ab Latest translations and fallbacks 2021-07-25 09:05:45 +00:00
Renovate Bot
7588aae13c chore(deps): update dependency lint-staged to v11.1.1 2021-07-24 13:50:06 +00:00
Renovate Bot
cb5fe27118 chore(deps): update dependency lint-staged to v11.1.0 2021-07-22 17:27:20 +00:00
Misty (Bot)
8826e7a858 Latest translations and fallbacks 2021-07-22 09:06:54 +00:00
Renovate Bot
ebdba8f13b fix(deps): update dependency postcss to v8.3.6 2021-07-21 22:36:42 +00:00
Julian Lam
2c06ac9a45 fix: test :shipit: 2021-07-21 17:36:46 -04:00
Julian Lam
340ccb2498 style: lint fix 2021-07-21 17:08:51 -04:00
Julian Lam
f71f29510d fix: failing test from d1959a2 2021-07-21 17:06:08 -04:00
Julian Lam
d1959a258b fix: #9670 return 4xx errors instead of 5xx on flag routes, when unauthenticated or not privileged [breaking] 2021-07-21 13:27:41 -04:00
Barış Soner Uşaklı
6c47a060c1 fix: #9668, add raw info to psql database page 2021-07-20 20:36:44 -04:00
Misty (Bot)
6650c0bbf7 Latest translations and fallbacks 2021-07-20 09:06:56 +00:00
Renovate Bot
3f24746cd1 fix(deps): update dependency html-to-text to v8 2021-07-19 10:17:57 -04:00
Renovate Bot
1b6b1fe591 fix(deps): update dependency yargs to v17 2021-07-19 10:16:45 -04:00
Renovate Bot
f43291f582 chore(deps): update dependency mocha to v9 2021-07-19 10:15:40 -04:00
Renovate Bot
702290c47e chore(deps): update dependency husky to v7 2021-07-19 10:15:30 -04:00
Misty (Bot)
b837e04ae0 Latest translations and fallbacks 2021-07-19 09:06:22 +00:00
Misty (Bot)
84830bf7c8 Latest translations and fallbacks 2021-07-18 09:06:11 +00:00
Renovate Bot
f5a53b7f1e chore(deps): update dependency eslint to v7.31.0 2021-07-17 23:51:40 +00:00
Misty (Bot)
9efdbecc00 Latest translations and fallbacks 2021-07-17 09:05:23 +00:00
Julian Lam
51458c75f5 fix(deps): bump composer-default to v7 2021-07-16 14:46:24 -04:00
Julian Lam
21359eabac feat: convert _fireStaticHook to async function (auto-refactor by vscode) 2021-07-16 14:42:48 -04:00
Julian Lam
6bc090f8bb docs: some hook deprecation notices 2021-07-16 14:37:47 -04:00
Julian Lam
ef4e74bfc8 refactor: client-side to use flag notes API 2021-07-16 13:51:54 -04:00
Julian Lam
cc6cbfcdc4 Flags API (#9666)
* feat: new routes for flags API

+ flag get
+ flag creation, migration from socket method
+ flag update, migration from socket method
* fixed bug where you could not unassign someone from a flag

* feat: tests for new flags API

added missing files for schema update

* fix: flag tests to use Write API instead of sockets

* feat: flag notes API + tests

* chore: remove debug line

* test: fix breaking test on mongo
2021-07-16 13:44:42 -04:00
Misty (Bot)
71bc258731 Latest translations and fallbacks 2021-07-15 09:06:22 +00:00
psychobunny
acb11cc764 fix: use hooks module instead of window trigger 2021-07-14 14:54:17 -04:00
Misty (Bot)
c4be0078ed Latest translations and fallbacks 2021-07-14 09:06:19 +00:00
Renovate Bot
021013159e chore(deps): update dependency lint-staged to v11.0.1 2021-07-13 11:01:05 +00:00
Misty (Bot)
f9a89adc97 Latest translations and fallbacks 2021-07-13 09:06:01 +00:00
Barış Soner Uşaklı
4a56388ec3 feat: store topic tags in topic hash (#9656)
* feat: store topic tags in topic hash

breaking: remove color info from tags (use css)

* fix: remove unused tag modal

* fix: tag search
2021-07-12 19:25:04 -04:00
Renovate Bot
0d3f74b762 fix(deps): update dependency autoprefixer to v10.3.1 2021-07-12 19:43:49 +00:00
psychobunny
522291726d style: lint 2021-07-12 13:55:16 -04:00
psychobunny
e0db904b0e feat: new hook action:topics.loading (in the same format as action:posts.loading) 2021-07-12 13:10:57 -04:00
psychobunny
8ae4c30029 feat: schedule deprecation for action:category.loaded and action:category.loading. Use action:topics.loaded/ing instead
(or action:ajaxify.end if you are using it to check cid on page load)
2021-07-12 13:05:06 -04:00
psychobunny
07f25d8c47 fix: made TopicList.onTopicsLoaded private [breaking] 2021-07-12 12:57:59 -04:00
Misty (Bot)
62cd5f669b Latest translations and fallbacks 2021-07-12 09:07:04 +00:00
Renovate Bot
b6a8471205 fix(deps): update dependency nodebb-plugin-markdown to v8.14.2 2021-07-10 15:55:34 +00:00
Renovate Bot
72c9650fd3 fix(deps): update dependency autoprefixer to v10.3.0 2021-07-10 13:29:39 +00:00
Renovate Bot
f14df0d443 fix(deps): update socket.io packages to v4.1.3 2021-07-10 11:54:11 +00:00
Misty (Bot)
98b685d9c5 Latest translations and fallbacks 2021-07-10 09:05:51 +00:00
Renovate Bot
31dae04f3b fix(deps): update dependency nodebb-plugin-composer-default to v6.5.34 2021-07-10 01:59:49 +00:00
Julian Lam
0960a81468 fix: tests 2021-07-09 12:24:32 -04:00
Julian Lam
415416d2a7 fix: translate language keys if passed in to formatApiResponse 2021-07-09 12:24:32 -04:00
Julian Lam
7036c3751e feat: internationalize API error messages 2021-07-09 12:24:32 -04:00
Julian Lam
a54a3ee1ca fix: return proper API-style response if exception caught by error handler on v3 routes [breaking] 2021-07-09 12:24:32 -04:00
Renovate Bot
ae14016efc fix(deps): update dependency nodebb-theme-persona to v11.0.26 2021-07-08 16:39:05 +00:00
Barış Soner Uşaklı
ff78969c2c fix: lint 2021-07-08 11:25:54 -04:00
Barış Soner Uşaklı
55d7e55867 fix: tests 2021-07-08 11:22:36 -04:00
Barış Soner Uşaklı
6ed7e937ce refactor: fix wording 2021-07-08 11:07:52 -04:00
Barış Soner Uşaklı
47c8c69264 fix: keep query string on redirects 2021-07-08 11:06:20 -04:00
Barış Soner Uşaklı
5fd190f7c4 feat: #9651, change category desc to multiline 2021-07-08 10:01:22 -04:00
Misty (Bot)
7da8f12173 Latest translations and fallbacks 2021-07-08 09:05:51 +00:00
Renovate Bot
8b41684ee3 fix(deps): update dependency nodebb-plugin-markdown to v8.14.1 2021-07-07 16:09:03 -04:00
Misty (Bot)
46be2046ef chore: incrementing version number - v1.17.2
(cherry picked from commit 9f90bdcd59)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2021-07-07 18:44:41 +00:00
Misty (Bot)
5c9c0605a7 chore: update changelog for v1.17.2 2021-07-07 18:44:41 +00:00
Barış Soner Uşaklı
8e0561f226 perf: cache Topics.getTopicsTags 2021-07-07 11:42:19 -04:00
Barış Soner Uşaklı
10ddfff38f perf: bypass getMultipleUserSettings 2021-07-07 09:58:06 -04:00
Julian Lam
e03782f218 fix(docs): #9648 2021-07-07 09:33:26 -04:00
Renovate Bot
f17625fb34 fix(deps): update dependency mongodb to v3.6.10 2021-07-06 22:00:03 +00:00
Renovate Bot
99c230372a chore(deps): update coverallsapp/github-action action to v1.1.3 2021-07-06 21:08:13 +00:00
Misty (Bot)
5fe074c133 Latest translations and fallbacks 2021-07-06 09:06:41 +00:00
Renovate Bot
c11927c5f5 fix(deps): update dependency nodebb-theme-persona to v11.0.25 2021-07-05 12:22:15 -04:00
Barış Soner Uşaklı
c9348efbdc feat: add merge/fork hooks 2021-07-05 10:02:42 -04:00
Misty (Bot)
d9ea704731 Latest translations and fallbacks 2021-07-05 09:06:33 +00:00
Renovate Bot
5ff9319f9d fix(deps): update dependency sortablejs to v1.14.0 2021-07-04 20:55:55 +00:00
Misty (Bot)
f7f008a779 Latest translations and fallbacks 2021-07-03 09:05:52 +00:00
Renovate Bot
725e70e9d7 chore(deps): update dependency eslint to v7.30.0 2021-07-03 01:10:47 +00:00
Renovate Bot
c7feea566f fix(deps): update dependency nodebb-theme-persona to v11.0.24 2021-07-02 19:32:59 +00:00
Misty (Bot)
7b20cd304b Latest translations and fallbacks 2021-07-02 09:06:36 +00:00
Misty (Bot)
b3658329da Latest translations and fallbacks 2021-07-01 09:05:51 +00:00
Julian Lam
b896484351 fix: #9634, re-jig top bar of Admin > Manage > Users 2021-06-30 17:43:16 -04:00
gasoved
97c8569a79 fix: hide private user data in api/v3/users/[uid] 2021-06-30 17:02:38 -04:00
Barış Soner Uşaklı
d9e2190a6b fix: numThumb upgrade script 2021-06-30 11:08:55 -04:00
Barış Soner Uşaklı
fee782c436 fix: acp dashboard sometimes not loading on cold load 2021-06-30 10:38:15 -04:00
Renovate Bot
edefac9645 chore(deps): update dependency coveralls to v3.1.1 2021-06-29 10:58:40 +00:00
Misty (Bot)
4d6421bb76 Latest translations and fallbacks 2021-06-29 09:06:33 +00:00
Julian Lam
849049765b fix: #9636, sanitize all attributes in meta and link tags 2021-06-28 13:17:22 -04:00
Julian Lam
09bac6bd7e fix: convert some hooks to use hooks module
re: julianlam/nodebb-plugin-markdown#130
2021-06-28 11:33:56 -04:00
Misty (Bot)
a76eab1ca2 Latest translations and fallbacks 2021-06-28 09:08:49 +00:00
Misty (Bot)
e6f30d2a36 Latest translations and fallbacks 2021-06-27 09:05:55 +00:00
Misty (Bot)
366b36a560 Latest translations and fallbacks 2021-06-26 09:05:52 +00:00
Renovate Bot
3611b04e0e fix(deps): update dependency nodebb-plugin-composer-default to v6.5.33 2021-06-25 22:26:37 +00:00
Renovate Bot
e40f648ff5 fix(deps): update dependency nodebb-plugin-markdown to v8.14.0 2021-06-25 14:35:29 -04:00
Julian Lam
acdbd04913 fix: #9627 2021-06-25 13:56:21 -04:00
Anton Grigoryev
db65360c0d fix(post-queue): moderatedCids is an array of numbers (#9631) 2021-06-24 19:04:37 -04:00
Renovate Bot
cf6fcc2107 fix(deps): update dependency nodebb-plugin-markdown to v8.13.1 2021-06-23 21:55:45 +00:00
Barış Soner Uşaklı
561ce7d30a fix: #9629, translate content property of meta tags 2021-06-23 11:03:59 -04:00
Barış Soner Uşaklı
9a9250338a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-06-23 09:53:28 -04:00
Barış Soner Uşaklı
2fe30b6fa0 feat: #9628, allow setting custom icon names 2021-06-23 09:53:26 -04:00
Misty (Bot)
eacd00e9a4 Latest translations and fallbacks 2021-06-23 09:05:47 +00:00
Barış Soner Uşaklı
52596902a6 feat: #9617 update fa link 2021-06-22 13:16:59 -04:00
renovate[bot]
90e3f5acda fix(deps): update dependency nodebb-plugin-composer-default to v6.5.32 (#9626)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-22 13:08:26 -04:00
Barış Soner Uşaklı
909db3ae71 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-06-22 12:36:00 -04:00
Barış Soner Uşaklı
ab6f062ff9 fix: prevent crash in expandObjBy #9618 2021-06-22 12:35:53 -04:00
renovate[bot]
2060dc61bc fix(deps): update dependency nodebb-plugin-composer-default to v6.5.30 (#9624)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-22 12:22:03 -04:00
Barış Soner Uşaklı
1bf263c4a2 9622 (#9625)
* fix: #9622

dont allow regular user to remove system tags

* refactor: add guest/spider check to isPrivileged

string/trim tag
2021-06-22 12:21:52 -04:00
Barış Soner Uşaklı
0d975bc4fb fix: dont show system tags in whitelist dropdown to regular users 2021-06-22 12:21:40 -04:00
Barış Soner Uşaklı
84e065752f fix: #9622 (#9623)
dont allow regular user to remove system tags
2021-06-22 11:09:32 -04:00
Misty (Bot)
50e1a1a7ca Latest translations and fallbacks 2021-06-22 09:05:52 +00:00
Barış Soner Uşaklı
73f40e96a5 fix: #9620, fix notif delay 2021-06-21 11:17:57 -04:00
Barış Soner Uşaklı
c92fc19b5c fix: #9619, add group chat filter to /notifications 2021-06-21 10:02:18 -04:00
Renovate Bot
2700f7175e chore(deps): update dependency eslint to v7.29.0 2021-06-18 22:04:36 +00:00
Barış Soner Uşaklı
3cd9434b56 fix: scope 2021-06-18 12:36:04 -04:00
Barış Soner Uşaklı
1eda538da5 fix: #9615, catch exceptions in renderOverride 2021-06-18 12:24:07 -04:00
Barış Soner Uşaklı
46a454f194 feat: add bodyClass to 500 page 2021-06-18 09:55:08 -04:00
gasoved
8168c6c407 fix: purge uploaded images accordingly #9606 (#9611)
* fix: purge uploaded images accordingly

* fix: tests

* fix: relative paths
2021-06-18 09:21:23 -04:00
Misty (Bot)
ab5e2a4163 Latest translations and fallbacks 2021-06-18 09:08:51 +00:00
Renovate Bot
09aebbdafe fix(deps): update dependency postcss to v8.3.5 2021-06-17 04:38:56 +00:00
Barış Soner Uşaklı
7b4c0a1683 fix: keep query params when switching chat 2021-06-16 09:49:29 -04:00
Julian Lam
a2400f6baf fix: accidental unnecessarily strict conditional that effectively rendered SSO state checking opt-in instead of opt-out 2021-06-14 14:13:39 -04:00
Renovate Bot
520050da19 fix(deps): update dependency postcss to v8.3.4 2021-06-14 16:39:46 +00:00
Julian Lam
f9728aff2c feat: clear reset tokens on successful login 2021-06-14 11:50:36 -04:00
Renovate Bot
c7006ec6b4 fix(deps): update dependency postcss to v8.3.3 2021-06-14 10:37:32 +00:00
Misty (Bot)
dc613835e1 Latest translations and fallbacks 2021-06-14 09:06:31 +00:00
Renovate Bot
82b33dc40a fix(deps): update dependency ioredis to v4.27.6 2021-06-13 10:25:12 +00:00
Misty (Bot)
8f58c97c6d Latest translations and fallbacks 2021-06-12 09:07:24 +00:00
Julian Lam
5c42b3eab0 test: fixed broken tests from #9605, removed token clean on token usage as it is superceded by token clean on generation (+ associated test) 2021-06-11 15:43:03 -04:00
Julian Lam
f6c14d6b62 fix: introduce artificial delay + delay fudging on invalid email during reset token generation 2021-06-11 14:47:13 -04:00
Julian Lam
229f96f872 fix: #9605, expire all active reset tokens for a uid if that uid generates a new one 2021-06-11 14:39:00 -04:00
Julian Lam
f4eb336ad3 fix(deps): bump persona 2021-06-11 11:16:21 -04:00
Barış Soner Uşaklı
8c952aa381 fix: lint 2021-06-11 09:57:40 -04:00
Barış Soner Uşaklı
be19f27f40 feat: add filter:categories.categorySearch 2021-06-11 09:47:23 -04:00
Misty (Bot)
3cc3ef6e70 Latest translations and fallbacks 2021-06-11 09:10:52 +00:00
Renovate Bot
88f21e9143 fix(deps): update dependency postcss to v8.3.2 2021-06-11 04:27:05 +00:00
Misty (Bot)
db5f988324 Latest translations and fallbacks 2021-06-10 09:11:16 +00:00
Renovate Bot
71b4d6345b fix(deps): update dependency postcss to v8.3.1 2021-06-10 02:44:19 +00:00
Barış Soner Uşaklı
cc0cf99fed feat: allow nested properties on category page (#9601)
* feat: allow nested properties on category page

* fix: remove debug

* fix: remove debug
2021-06-09 17:40:36 -04:00
Misty (Bot)
8f00abc838 Latest translations and fallbacks 2021-06-09 09:11:00 +00:00
Barış Soner Uşaklı
39e1359142 fix: schema 2021-06-08 11:54:52 -04:00
Barış Soner Uşaklı
8ea58432c9 feat: show ip on acp manage users
update url on search
show matching ip when searching by ip
add ip to export csv
2021-06-08 11:50:52 -04:00
Barış Soner Uşaklı
6695927ea9 fix: pagination on acp users search 2021-06-08 10:00:51 -04:00
Misty (Bot)
1709139200 Latest translations and fallbacks 2021-06-08 09:11:28 +00:00
psychobunny
2db77b0cd2 docs: add undoTimeout 2021-06-07 14:51:55 -04:00
psychobunny
e588948ff5 feat: add undoTimeout to moving posts as well #9599 2021-06-07 14:46:37 -04:00
psychobunny
05cc7ccb60 feat: make undoTimeout configurable, closes #9599 2021-06-07 14:44:12 -04:00
Julian Lam
93d94564c1 fix: #9596, incorrect placeholder string in some translations 2021-06-07 12:21:44 -04:00
Mats
2b42e7edb0 chore: lint 2021-06-07 10:54:07 -04:00
Mats
6f73261186 fix: extra ')' 2021-06-07 10:54:07 -04:00
Mats
d07229aa6b chore: fix indentation 2021-06-07 10:54:07 -04:00
Mats
edcba61aa9 fix: disallow editing of other users' notes
Feel free to close this if it is intentional, but as you are not allowed to delete other users notes I expect you shouldn't be able to edit them. Editing another users post also changes ownership, allowing you to then delete it.

I also added `error:` to the errormessage so that they display properly.
2021-06-07 10:54:07 -04:00
Barış Soner Uşaklı
ca72aa93d7 Locks bug failing test (#9595)
* test: failing test for issue

* fix: #9593, don't lock if email is identical to username

* fix: lock calls after first call

* fix: add back email check

* test: remove invalid test

Co-authored-by: Julian Lam <julian@nodebb.org>
2021-06-07 10:26:00 -04:00
Renovate Bot
9f74caf65c fix(deps): update dependency ioredis to v4.27.5 2021-06-05 19:54:30 +00:00
Renovate Bot
fac0bcbd35 chore(deps): update dependency eslint to v7.28.0 2021-06-05 01:22:05 +00:00
Julian Lam
816856b0c6 feat: introduce boolean res.locals flag to bypass session reroll (used by session-sharing)
The session reroll logic is still standard practice, but in some cases, it is not necessary or causes UX issues. An issue opened in session sharing (julianlam/nodebb-plugin-session-sharing#95) brought this to attention in that parsing the cookie to log in the user caused a reroll (as expected), but caused the session open on other tabs to be mismatched. If "re-validate" was turned on, it basically meant that it was not possible to use NodeBB with multiple tabs.

Session sharing now sets `reroll` to `false` if re-validate is enabled.
2021-06-04 11:37:06 -04:00
renovate[bot]
6632b2b6c3 fix(deps): update dependency connect-redis to v6 (#9590)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-04 10:56:53 -04:00
Mats
c448ba6f5a Fixes flag note editing, deletion, and template update (#9581)
* Fixes flag note editing, deletion, and template update

Flag note datetime should be int.
Corrects argument order for note reloading.

* Chore: add missing radix

* fix: empty append bug

This line results in an error message popping up when clicking the flag notes text box, as the 'appendNote' case fires with no text. I can't tell that it serves any function.
2021-06-04 10:46:35 -04:00
Barış Soner Uşaklı
286644d0b8 fix: #9592, check session 2021-06-04 09:41:23 -04:00
Renovate Bot
4ffd234ff9 fix(deps): update dependency ioredis to v4.27.4 2021-06-04 09:37:59 +00:00
Barış Soner Uşaklı
3717df610a fix: don't crash if session doesn't exist 2021-06-03 17:11:25 -04:00
Barış Soner Uşaklı
66cae54ee3 fix: lint 2021-06-01 11:26:18 -04:00
Barış Soner Uşaklı
57e46e41e3 feat: allow modifying default category privileges 2021-06-01 11:21:15 -04:00
Renovate Bot
8672329218 chore(deps): update dependency smtp-server to v3.9.0 2021-06-01 12:45:35 +00:00
Misty (Bot)
21c992242e Latest translations and fallbacks 2021-05-30 09:08:41 +00:00
Renovate Bot
886d65f686 chore(deps): update dependency eslint-plugin-import to v2.23.4 2021-05-29 22:29:44 +00:00
Misty (Bot)
866a53088b Latest translations and fallbacks 2021-05-29 09:09:00 +00:00
Renovate Bot
062928d2e2 fix(deps): update dependency nodebb-theme-persona to v11.0.21 2021-05-28 18:38:16 +00:00
Julian Lam
16e0bca570 fix: improper use of filename extensions 2021-05-28 14:05:30 -04:00
Renovate Bot
c3b0e2fa99 chore(deps): update dependency eslint-plugin-import to v2.23.3 2021-05-28 14:05:30 -04:00
Barış Soner Uşaklı
d8d6c98970 fix: return null 2021-05-28 12:32:52 -04:00
Barış Soner Uşaklı
ac7b093f99 feat: add filter:notifications.create 2021-05-28 12:31:49 -04:00
Mats
f9b248b87f fix: updates navigation menu user icon 2021-05-28 11:17:56 -04:00
Barış Soner Uşaklı
3fb7444580 fix: returnOriginal deprecation
https://github.com/mongodb/node-mongodb-native/pull/2808
2021-05-28 11:12:21 -04:00
Misty (Bot)
e6c3840a4d Latest translations and fallbacks 2021-05-28 09:09:58 +00:00
Andrew Rodrigues
ca9ca876f5 chore: up rewards 2021-05-27 10:25:58 -04:00
Barış Soner Uşaklı
3d5fef6e80 feat: pass req.query to getUnreadData 2021-05-27 10:02:54 -04:00
Misty (Bot)
b9482e3c87 Latest translations and fallbacks 2021-05-27 09:08:12 +00:00
Renovate Bot
d8c64479d7 fix(deps): update dependency mongodb to v3.6.9 2021-05-26 23:45:05 +00:00
Julian Lam
d2960aeb09 feat: added GET user route for api v3 2021-05-26 12:35:37 -04:00
Julian Lam
48b8e3bb3f fix: error when trying to trim an object 2021-05-26 12:32:06 -04:00
Renovate Bot
3aeac357b2 fix(deps): update dependency autoprefixer to v10.2.6 2021-05-26 16:31:50 +00:00
Misty (Bot)
0aad131204 chore: incrementing version number - v1.17.1
(cherry picked from commit 902da54029)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2021-05-26 15:40:54 +00:00
Misty (Bot)
1e6ed0adbc chore: update changelog for v1.17.1 2021-05-26 15:40:53 +00:00
Misty (Bot)
925883bf4c Latest translations and fallbacks 2021-05-26 09:08:53 +00:00
Barış Soner Uşaklı
9ebfdeb7ee fix: #9580, proper 404 when ajaxifying 2021-05-25 12:44:17 -04:00
Barış Soner Uşaklı
09f5179216 fix: lint 2021-05-25 12:04:34 -04:00
Barış Soner Uşaklı
77dde41f7b feat: keep query string when redirecting category 2021-05-25 11:57:10 -04:00
Renovate Bot
963a9fe600 fix(deps): update dependency sharp to v0.28.3 2021-05-24 17:32:24 +00:00
Renovate Bot
0e37bbfd2c chore(deps): update dependency grunt to v1.4.1 2021-05-24 16:55:54 +00:00
Renovate Bot
60170ad68c chore(deps): update dependency jsdom to v16.6.0 2021-05-23 22:51:00 +00:00
Misty (Bot)
609e579442 Latest translations and fallbacks 2021-05-22 09:09:27 +00:00
Renovate Bot
298af98d52 chore(deps): update dependency eslint to v7.27.0 2021-05-22 09:04:13 +00:00
Renovate Bot
075dab27fa fix(deps): update dependency ioredis to v4.27.3 2021-05-22 05:20:23 +00:00
renovate[bot]
10290f54ae fix(deps): update dependency nodebb-theme-vanilla to v12.0.8 (#9574)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-21 14:39:50 -04:00
renovate[bot]
6493578749 fix(deps): update dependency mongodb to v3.6.8 (#9573)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-21 14:39:41 -04:00
Misty (Bot)
99472e7652 Latest translations and fallbacks 2021-05-21 09:08:15 +00:00
Renovate Bot
ad4afd599c fix(deps): update dependency postcss to v8.3.0 2021-05-21 08:45:18 +00:00
Renovate Bot
403bcfac10 fix(deps): update dependency nodebb-theme-persona to v11.0.20 2021-05-20 21:41:50 +00:00
Renovate Bot
8d7e442065 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.29 2021-05-20 19:46:44 +00:00
Barış Soner Uşaklı
951e71a0e5 fix: #9567 fix tests 2021-05-20 11:20:19 -04:00
Barış Soner Uşaklı
5215c30ade fix: #9567, use regular 404 2021-05-20 10:41:47 -04:00
Mats
e6ef094079 Re-enable "change username" button after failed attempt (#9568)
* Re-enable "change username" button after failed attempt

* chore: proper indentation
2021-05-20 10:24:16 -04:00
Misty (Bot)
0a5f165371 Latest translations and fallbacks 2021-05-20 09:12:29 +00:00
Barış Soner Uşaklı
3d6bdeb3df feat: add req.query to flags.list/getCount 2021-05-19 10:01:33 -04:00
Misty (Bot)
573a6e11e3 Latest translations and fallbacks 2021-05-19 09:11:31 +00:00
Renovate Bot
f29e4e87ef fix(deps): update dependency mongodb to v3.6.7 2021-05-18 20:39:49 +00:00
Barış Soner Uşaklı
d35c64b1a2 feat: add filter:flags.getFlagIdsWithFilters 2021-05-18 10:54:43 -04:00
Misty (Bot)
d81ce3e566 Latest translations and fallbacks 2021-05-18 09:07:32 +00:00
Renovate Bot
9b7653cccb fix(deps): update dependency textcomplete to ^0.18.0 2021-05-18 01:38:50 +00:00
Barış Soner Uşaklı
f5847f4f02 feat: #9559, set order help text 2021-05-17 20:18:33 -04:00
renovate[bot]
ca7c77bc1d fix(deps): update socket.io packages to v4.1.2 (#9563)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-17 19:22:44 -04:00
renovate[bot]
2d0564cb78 fix(deps): update dependency nodebb-plugin-dbsearch to v5.0.2 (#9562)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-17 19:22:38 -04:00
Barış Soner Uşaklı
1ec9739629 switch to request-promise-native (#9561)
* refactor: cli/upgrade async/await

async/await cli/upgrade-plugins
remove unused payload.files

* fix: add missing await

* refactor: use request-promise-native
2021-05-17 17:24:23 -04:00
Barış Soner Uşaklı
ac86937c88 refactor: cli/upgrade async/await (#9558)
* refactor: cli/upgrade async/await

async/await cli/upgrade-plugins
remove unused payload.files

* fix: add missing await
2021-05-17 17:08:00 -04:00
Barış Soner Uşaklı
1ce595083a fix: ioredis upgrade fix, maybe 2021-05-17 13:59:11 -04:00
Barış Soner Uşaklı
4afca6900b feat: add filter:user.getWatchedCategories 2021-05-17 12:12:16 -04:00
Julian Lam
1d9cfe1e96 fix: bug where interstitial errors were not properly passed to the front-end via req.flash 2021-05-17 10:50:58 -04:00
Barış Soner Uşaklı
518157d9fa feat: pass req.query to getUserDataByUserSlug 2021-05-17 10:26:32 -04:00
Renovate Bot
bf4aa50c8c fix(deps): update dependency nodebb-theme-slick to v1.4.7 2021-05-17 01:44:58 +00:00
Renovate Bot
4164b3229b fix(deps): update dependency nodebb-plugin-composer-default to v6.5.28 2021-05-14 22:19:53 +00:00
Barış Soner Uşaklı
0551642a35 fix: #9553, use same fields for user search results in acp 2021-05-14 13:00:56 -04:00
Barış Soner Uşaklı
e8c5c18af1 fix: lint 2021-05-14 11:21:49 -04:00
Barış Soner Uşaklı
94c12e3771 feat: #9508, add cluster support 2021-05-14 10:56:03 -04:00
Misty (Bot)
728db64485 Latest translations and fallbacks 2021-05-14 09:10:04 +00:00
Renovate Bot
1623ba4f41 chore(deps): update dependency eslint-plugin-import to v2.23.0 2021-05-14 04:55:39 -04:00
Barış Soner Uşaklı
a3d6c56ec3 feat: #9551 2021-05-13 12:16:53 -04:00
Misty (Bot)
70852c24de Latest translations and fallbacks 2021-05-13 09:07:39 +00:00
Renovate Bot
4a01313de3 chore(deps): update commitlint monorepo to v12.1.4 2021-05-13 08:03:26 +00:00
Barış Soner Uşaklı
ffa8016355 fix: lint 2021-05-12 10:41:38 -04:00
Barış Soner Uşaklı
fad5988ed6 fix: tests 2021-05-12 10:38:11 -04:00
Barış Soner Uşaklı
074ee859c4 fix: tests 2021-05-12 10:28:35 -04:00
Barış Soner Uşaklı
1f3e660108 feat: add template to hook 2021-05-12 10:22:51 -04:00
Barış Soner Uşaklı
a2442ee914 feat: add filter:account.getPostsFromUserSet 2021-05-12 10:20:45 -04:00
Renovate Bot
b82774c51d chore(deps): update commitlint monorepo to v12.1.3 2021-05-12 10:24:12 +00:00
Misty (Bot)
2e6a01a7c8 Latest translations and fallbacks 2021-05-12 09:08:37 +00:00
Renovate Bot
155a7fb6e7 fix(deps): update socket.io packages to v4.1.1 2021-05-12 01:08:58 +00:00
Peter Jaszkowiak
dd81dd03e0 fix(#9508): switch to ioredis (#9545)
* switch to ioredis

also need this fix in redisearch:

redis-search.js:98
```
  redisClient.multi(cmds).exec(function(err, ids) {
    if (err) {
      return callback(err);
    }
    var errRes = ids[resultIndex];
    if (errRes[0]) {
      return callback(errRes[0]);
    }
    callback(null, errRes[1]);
  });
```

* dbsearch compatible with ioredis

* fixed dbsearch?
2021-05-11 14:18:45 -04:00
Renovate Bot
53335677e3 fix(deps): update socket.io packages to v4.1.0 2021-05-11 11:10:02 +00:00
Misty (Bot)
f645a96d18 Latest translations and fallbacks 2021-05-11 09:09:16 +00:00
Renovate Bot
4bc07a087a fix(deps): update dependency sharp to v0.28.2 2021-05-11 01:43:41 +00:00
Renovate Bot
7770c2a131 fix(deps): update dependency postcss to v8.2.15 2021-05-11 00:24:39 +00:00
Renovate Bot
3145c7d5f1 fix(deps): update dependency nodebb-theme-persona to v11.0.19 2021-05-10 22:51:45 +00:00
Renovate Bot
7e2ea4df2c fix(deps): update dependency nodebb-plugin-mentions to v2.13.11 2021-05-10 21:03:43 +00:00
Julian Lam
8cc61f1197 feat: automatically attempt reconnection on window focus 2021-05-10 13:59:17 -04:00
Barış Soner Uşaklı
0096cf178a refactor: bubble other errors 2021-05-10 11:34:54 -04:00
Julian Lam
a9bb108802 fix: wrong error message checked 2021-05-10 11:33:20 -04:00
Julian Lam
ec6d1e2321 fix: #9507 session reroll causes socket.io to become confused (#9534)
* fix: #9507 session reroll causes socket.io to become confused

* fix: added return

* fix: simpler logic for error handling

* fix: overly sensitive catch
2021-05-10 11:22:37 -04:00
Julian Lam
6ef0c8e950 docs: update API docs to better outline authentication options 2021-05-10 11:20:28 -04:00
Renovate Bot
2ac5a08559 fix(deps): update dependency nodebb-plugin-markdown to v8.12.10 2021-05-10 15:18:49 +00:00
Misty (Bot)
b4c31f78ec Latest translations and fallbacks 2021-05-10 09:13:56 +00:00
Misty (Bot)
7f7d5a8f79 Latest translations and fallbacks 2021-05-09 09:07:05 +00:00
Misty (Bot)
230bbf01fc Latest translations and fallbacks 2021-05-08 09:08:16 +00:00
Renovate Bot
d1418210ca chore(deps): update dependency eslint to v7.26.0 2021-05-08 07:15:39 +00:00
Renovate Bot
ee3634cc5c fix(deps): update dependency nodebb-plugin-markdown to v8.12.9 2021-05-07 22:34:23 +00:00
Renovate Bot
1bf57d40f2 chore(deps): update dependency lint-staged to v11 2021-05-07 16:26:19 -04:00
Renovate Bot
461e187b03 chore(deps): update dependency mocha to v8.4.0 2021-05-07 11:06:33 -04:00
Barış Soner Uşaklı
f6b583bb9d feat: #9533, allow redirect in build hooks 2021-05-07 09:32:06 -04:00
Misty (Bot)
d8a8864cee Latest translations and fallbacks 2021-05-07 09:14:07 +00:00
Barış Soner Uşaklı
2c22b06feb fix: isObjectField(s) empty field 2021-05-06 12:44:01 -04:00
Renovate Bot
ff98f85488 fix(deps): update socket.io packages to v4.0.2 2021-05-06 15:22:36 +00:00
Misty (Bot)
3cfd8f7671 Latest translations and fallbacks 2021-05-06 09:12:28 +00:00
Renovate Bot
22ec1ea5a6 fix(deps): update dependency postcss to v8.2.14 2021-05-05 21:50:38 +00:00
Misty (Bot)
45a4bb4174 Latest translations and fallbacks 2021-05-05 09:10:08 +00:00
Misty (Bot)
32d67666cd Latest translations and fallbacks 2021-05-04 09:09:22 +00:00
gasoved
ce5fea2abd fix: do not register SW for Safari until upstream fixes #9193 2021-05-03 11:55:01 -04:00
gasoved
cb1dd0a3db fix: infinite scroll with small number of items #9524 (#9525) 2021-05-03 11:23:28 -04:00
Misty (Bot)
9950602eff Latest translations and fallbacks 2021-05-02 09:07:08 +00:00
Renovate Bot
0389dd968f fix(deps): update dependency sitemap to v7 2021-05-02 03:59:18 -04:00
Barış Soner Uşaklı
7c1e163d82 Revert "feat: add _hooks metadata object to all hooks that have object-type params"
This reverts commit 46899ccadb.
2021-04-30 12:16:30 -04:00
Julian Lam
db48b9527d fix: #9519 unable to properly ajaxify to home on subfolder installs if anchor did not have a trailing slash 2021-04-30 12:02:15 -04:00
Julian Lam
46899ccadb feat: add _hooks metadata object to all hooks that have object-type params 2021-04-30 11:23:07 -04:00
Barış Soner Uşaklı
9895e682ac Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-04-30 10:06:26 -04:00
Barış Soner Uşaklı
d8e4fd4cdd feat: add filter:categories.copySettingsFrom 2021-04-30 10:06:19 -04:00
Renovate Bot
19f1cbfc4a fix(deps): update dependency nodebb-widget-essentials to v5.0.4 2021-04-29 23:13:52 +00:00
Barış Soner Uşaklı
084c985117 feat: guard against multiple resolves 2021-04-29 10:47:23 -04:00
Misty (Bot)
8789716ae4 Latest translations and fallbacks 2021-04-29 09:18:19 +00:00
Barış Soner Uşaklı
5fe97b9c2e revert: sync hooks 2021-04-28 15:00:43 -04:00
Renovate Bot
33d91fdef8 fix(deps): update dependency nodebb-theme-persona to v11.0.18 2021-04-28 11:28:56 +00:00
Misty (Bot)
ac1a272321 Latest translations and fallbacks 2021-04-28 09:14:04 +00:00
Renovate Bot
c0d54a06f6 fix(deps): update dependency connect-redis to v5.2.0 2021-04-27 15:01:38 +00:00
Barış Soner Uşaklı
6ed8890c2e fix: #9512, fix chat icon if no privileges 2021-04-27 10:00:52 -04:00
Misty (Bot)
55e3f5c1db Latest translations and fallbacks 2021-04-27 09:13:53 +00:00
Renovate Bot
831e5c2682 fix(deps): update dependency postcss to v8.2.13 2021-04-26 22:23:13 +00:00
Julian Lam
d08d0c42e9 docs: update API authentication verbiage 2021-04-26 16:14:06 -04:00
Barış Soner Uşaklı
b40fc4b64d feat: #9511 send notifications on accept/reject 2021-04-26 14:50:44 -04:00
psychobunny
2bfa63aecf feat: hidden class to FOUC 2021-04-26 11:17:46 -04:00
Barış Soner Uşaklı
a478dc7ee8 feat: add filter:middleware.autoLocale 2021-04-26 10:35:34 -04:00
Renovate Bot
32c20806bc chore(deps): update dependency eslint to v7.25.0 2021-04-24 01:47:50 +00:00
Barış Soner Uşaklı
308252f566 fix: #9503, dont error in markUnread if room doesnt exist
this prevents deleting the user if they are the only person in the chat room
2021-04-23 14:46:54 -04:00
Barış Soner Uşaklı
9e07efc126 fix: use socket.request.headers 2021-04-23 12:41:58 -04:00
Barış Soner Uşaklı
ed534f34f5 fix: buildReqObject headers for socket.io calls 2021-04-23 12:37:59 -04:00
Misty (Bot)
3b98d83a6b Latest translations and fallbacks 2021-04-23 09:11:53 +00:00
Renovate Bot
38454df9a3 fix(deps): update dependency postcss to v8.2.12 2021-04-22 20:39:23 +00:00
Renovate Bot
a30deef3ed chore(deps): update dependency grunt to v1.4.0 2021-04-22 18:46:26 +00:00
Barış Soner Uşaklı
1029a06a87 test: fix tests 2021-04-22 11:50:05 -04:00
Barış Soner Uşaklı
01956af43a feat: remove sync hooks support 2021-04-22 11:35:36 -04:00
Barış Soner Uşaklı
4e490f6058 test: fix redis tests 2021-04-22 11:28:10 -04:00
Barış Soner Uşaklı
92de49be00 test: add test for undefined fields in getObjectsFields 2021-04-22 11:14:47 -04:00
Misty (Bot)
75f7972b88 chore: incrementing version number - v1.17.0
(cherry picked from commit 6b4ef46ead)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2021-04-22 00:37:32 +00:00
Misty (Bot)
4c441a1b0b chore: update changelog for v1.17.0 2021-04-22 00:37:32 +00:00
Barış Soner Uşaklı
1db8920b18 refactor: make debug handler async 2021-04-21 19:29:46 -04:00
gasoved
8b79c7f139 fix: regress. rescheduling shouldn't add to sets that pinning removed… (#9477)
* fix: regress. rescheduling shouldn't add to sets that pinning removed from

* test: remove the also from tests
2021-04-21 19:19:04 -04:00
Renovate Bot
427e4f4724 fix(deps): update dependency html-to-text to v7.1.1 2021-04-21 18:39:19 +00:00
Renovate Bot
35a4d0be08 fix(deps): update dependency redis to v3.1.2 2021-04-21 12:22:27 +00:00
Misty (Bot)
56f6b98b80 Latest translations and fallbacks 2021-04-21 09:11:54 +00:00
Renovate Bot
e3d5d8d76c fix(deps): update dependency validator to v13.6.0 2021-04-20 13:40:30 +00:00
Misty (Bot)
a90f123b50 Latest translations and fallbacks 2021-04-20 09:12:07 +00:00
Renovate Bot
1b84627171 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.27 2021-04-19 19:45:37 +00:00
Misty (Bot)
eca6a8aa2e Latest translations and fallbacks 2021-04-19 09:11:29 +00:00
Barış Soner Uşaklı
9b71b087ec feat: lang strings 2021-04-18 21:57:07 -04:00
Barış Soner Uşaklı
435067aa5f test: remove logs 2021-04-18 21:57:07 -04:00
Barış Soner Uşaklı
2ea468daa3 test: clear cache between runs, require middleware later in helpers 2021-04-18 21:57:07 -04:00
Barış Soner Uşaklı
d15e27107e test: log 2021-04-18 21:57:07 -04:00
Barış Soner Uşaklı
354e0a822d test: remove equals 2021-04-18 21:57:07 -04:00
Barış Soner Uşaklı
2f401d7d74 test: test times 2021-04-18 21:57:07 -04:00
psychobunny
4dd3844680 fix: logic is hard 2021-04-18 21:57:07 -04:00
psychobunny
bc0ca61c6a fix: run in series 2021-04-18 21:57:07 -04:00
Barış Soner Uşaklı
80ef108220 test: log 2021-04-18 21:57:07 -04:00
psychobunny
2e9efc0e8a fix: wrong variable for cache 2021-04-18 21:57:07 -04:00
psychobunny
13fa983e61 fix: accidentally committed this 2021-04-18 21:57:07 -04:00
psychobunny
eb240c905f fix: tests 2021-04-18 21:57:07 -04:00
psychobunny
fa0c92a7c4 fix: eslint 2021-04-18 21:57:07 -04:00
psychobunny
ea22cd302a fix: use req.ip instead, since guests can upload as well 2021-04-18 21:57:07 -04:00
psychobunny
a9978fcfd2 feat: rate limit file uploads 2021-04-18 21:57:07 -04:00
Misty (Bot)
0a3a22db9d Latest translations and fallbacks 2021-04-18 09:07:58 +00:00
Misty (Bot)
f44ec97f3b Latest translations and fallbacks 2021-04-17 09:06:53 +00:00
Misty (Bot)
c484ed4858 Latest translations and fallbacks 2021-04-16 09:09:34 +00:00
Barış Soner Uşaklı
36f119a96a fix: #9492, keep query params on redirect 2021-04-15 12:43:28 -04:00
Misty (Bot)
0cfccee3bd Latest translations and fallbacks 2021-04-15 09:12:07 +00:00
Renovate Bot
286a63e3de fix(deps): update dependency redis to v3.1.1 2021-04-14 23:50:20 +00:00
Renovate Bot
51d58ce6d4 fix(deps): update dependency nodebb-theme-persona to v11.0.17 2021-04-14 17:42:20 -04:00
Renovate Bot
16a1ba5700 fix(deps): update dependency nodebb-theme-vanilla to v12.0.7 2021-04-14 17:42:02 -04:00
psychobunny
93598982f9 fix: stripTags for editing sorted list items as well 2021-04-14 17:01:25 -04:00
psychobunny
b5ce8d257c style: eslint 2021-04-14 16:52:55 -04:00
gasoved
8faa6e4515 feat: filter flags by username #8489 (#9451)
* feat: filter flags by username #8489

* feat: toggle flag filter text
2021-04-14 16:50:30 -04:00
Julian Lam
1fee6a702a fix: #9487, session data gathered during a session is lost upon login
e.g. returnTo, tids_viewed, etc.
2021-04-14 16:42:27 -04:00
Julian Lam
f4c5050a16 fix: failure on session reroll 🍣 test 2021-04-14 16:32:59 -04:00
Julian Lam
a3a7ab3ae1 test: added test for session id reroll on login 2021-04-14 11:38:17 -04:00
Misty (Bot)
47348d2c9f Latest translations and fallbacks 2021-04-14 09:09:29 +00:00
Julian Lam
697ed3bf37 feat: roll session identifier on login, as security best practice
see: https://owasp.org/www-community/attacks/Session_fixation
2021-04-13 21:32:48 -04:00
Julian Lam
e845c34b52 fix: registration interstitials not handling promise rejections properly 2021-04-13 21:32:48 -04:00
psychobunny
75073c0ed3 fix: stripHTMLTags for sorted list entries 2021-04-13 13:08:14 -04:00
psychobunny
e50408b461 fix: restore original behavior for up/downvoting when logged out 2021-04-13 10:19:45 -04:00
Misty (Bot)
b93a2717fd Latest translations and fallbacks 2021-04-13 09:09:13 +00:00
Barış Soner Uşaklı
4494728cf8 feat: allow different slugs 2021-04-12 17:12:26 -04:00
psychobunny
60eed8d89f fix: let recent replies respect oldest/newest sort settings 2021-04-11 19:53:40 -04:00
Renovate Bot
0f249aa729 chore(deps): update dependency jsdom to v16.5.3 2021-04-11 21:46:53 +00:00
Barış Soner Uşaklı
6907837fce fix: #9483, fix events count display 2021-04-11 16:13:31 -04:00
Renovate Bot
31cec2de95 fix(deps): update dependency postcss to v8.2.10 2021-04-11 18:16:19 +00:00
Misty (Bot)
e2105ca8fa Latest translations and fallbacks 2021-04-11 09:07:16 +00:00
Misty (Bot)
c66032d169 Latest translations and fallbacks 2021-04-10 09:07:50 +00:00
Renovate Bot
60c0c16f13 chore(deps): update dependency eslint to v7.24.0 2021-04-09 23:58:22 +00:00
Barış Soner Uşaklı
161081e960 fix: escape flag reason 2021-04-09 14:20:42 -04:00
Renovate Bot
fe087806cc fix(deps): update dependency nodebb-plugin-mentions to v2.13.9 2021-04-09 16:42:00 +00:00
Julian Lam
95d5359cbe fix: copy change on plugin activate to instruct admins to rebuild as well as restart
re: nodebb/nodebb-plugin-poll#122
2021-04-09 10:10:16 -04:00
Misty (Bot)
f40ee34c5b Latest translations and fallbacks 2021-04-09 09:11:44 +00:00
Barış Soner Uşaklı
fd3bc605c6 feat: remove sort again 2021-04-08 15:56:26 -04:00
Barış Soner Uşaklı
2dc3283f19 fix: updateCategoryTagsCount 2021-04-08 15:55:06 -04:00
Barış Soner Uşaklı
f9df6431c9 revert: revert tag sort 2021-04-08 15:19:35 -04:00
Barış Soner Uşaklı
036f935fa9 fix: #9473 (#9476) 2021-04-08 13:02:40 -04:00
Barış Soner Uşaklı
1af34b43e3 fix: #9474, load hooks on page load 2021-04-08 12:28:34 -04:00
gasoved
397baf0254 refactor: widgets (#9471) 2021-04-07 15:22:16 -04:00
Barış Soner Uşaklı
ae385d8336 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-04-07 14:23:44 -04:00
Barış Soner Uşaklı
d09cdc0436 fix: spec 2021-04-07 14:23:39 -04:00
Julian Lam
f65d2162f8 feat: update hook
Hook payload updated to pass login strategy (if overridden, this value will be something other than 'local'), and explicitly pass error if the login failed.
2021-04-07 14:21:51 -04:00
Barış Soner Uşaklı
f32ea1737a fix: #9466, don't call leaveRoom in maintenance mode 2021-04-07 14:10:15 -04:00
gasoved
a0dd90804c fix: exempt ST from being del/res via last main posts (#9468) 2021-04-07 08:58:52 -04:00
renovate[bot]
4264b236b3 fix(deps): update dependency mongodb to v3.6.6 (#9467)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-06 18:41:45 -04:00
Barış Soner Uşaklı
784600d930 fix: #9462, on install copy default favicon 2021-04-06 18:22:59 -04:00
Barış Soner Uşaklı
05f2236193 feat: add reverse of recent to getSortedTopics 2021-04-06 12:43:32 -04:00
Barış Soner Uşaklı
c5ae8a70e1 fix: #9463 2021-04-06 11:47:08 -04:00
Barış Soner Uşaklı
4041e786b2 fix: #9465 2021-04-06 11:43:56 -04:00
Misty (Bot)
81f2fb201e Latest translations and fallbacks 2021-04-06 09:10:29 +00:00
Misty (Bot)
42c4f963f9 chore: incrementing version number - v1.17.0-beta.5 2021-04-05 22:02:41 +00:00
Renovate Bot
34cbc9e264 fix(deps): update dependency sharp to v0.28.1 2021-04-05 14:40:24 +00:00
Renovate Bot
a8330b6db3 fix(deps): update dependency nodebb-theme-persona to v11.0.16 2021-04-05 13:56:09 +00:00
Misty (Bot)
e0f23c9031 Latest translations and fallbacks 2021-04-05 09:07:48 +00:00
Renovate Bot
f155f3260f chore(deps): update dependency husky to v6 2021-04-04 05:11:15 -04:00
Misty (Bot)
22474753c4 Latest translations and fallbacks 2021-04-04 09:07:05 +00:00
Renovate Bot
c02310b80f fix(deps): update dependency nodebb-theme-vanilla to v12.0.6 2021-04-02 21:39:44 +00:00
Renovate Bot
316c71d7e5 fix(deps): update dependency nodebb-theme-persona to v11.0.15 2021-04-02 21:00:51 +00:00
Julian Lam
9c52fd2e74 fix: #9450 express session saved even if saveUninitialized explicitly passed in 2021-04-02 11:07:16 -04:00
Misty (Bot)
7754c1f66e Latest translations and fallbacks 2021-04-02 09:10:28 +00:00
Renovate Bot
b4d0138850 chore(deps): update commitlint monorepo to v12.1.1 2021-04-02 04:01:39 +00:00
Barış Soner Uşaklı
cb53a64cde fix: acp crash 2021-04-01 14:05:24 -04:00
Misty (Bot)
e963715e94 Latest translations and fallbacks 2021-04-01 09:12:02 +00:00
Renovate Bot
e7776f8db8 fix(deps): update socket.io packages to v4.0.1 2021-04-01 02:55:44 +00:00
Renovate Bot
fd9ff334b4 fix(deps): update dependency redis to v3.1.0 2021-04-01 01:36:04 +00:00
Barış Soner Uşaklı
285aa36556 feat: allow exists methods to work with arrays and single id 2021-03-31 13:20:35 -04:00
Barış Soner Uşaklı
d16b45fd2d feat: pass all data to filter:category.get 2021-03-31 11:15:50 -04:00
Barış Soner Uşaklı
dbb59228f2 feat: add action:posts.loaded 2021-03-30 21:09:42 -04:00
Barış Soner Uşaklı
536591f842 fix: #9447, include query params in previousUrl 2021-03-30 20:10:14 -04:00
renovate[bot]
8d9afbc606 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.26 (#9446)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-30 18:52:13 -04:00
psychobunny
1ad1787eaa fix: thumb count not updated when uploading multiple thumbs at a time 2021-03-30 18:02:58 -04:00
Barış Soner Uşaklı
6406e52705 chore: fix indent 2021-03-30 17:52:01 -04:00
gasoved
aa0137b1c4 feat: rescheduling (editing ST) (#9445) 2021-03-30 17:51:23 -04:00
Renovate Bot
6f51c46052 fix(deps): update dependency postcss to v8.2.9 2021-03-30 21:50:24 +00:00
Misty (Bot)
75a4d37e2e Latest translations and fallbacks 2021-03-30 09:09:20 +00:00
renovate[bot]
fecfcd81c1 fix(deps): update dependency nodebb-theme-persona to v11.0.14 (#9443)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 23:20:39 -04:00
renovate[bot]
e5cc6e4020 fix(deps): update dependency nodebb-theme-persona to v11.0.13 (#9437)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 21:00:29 -04:00
Barış Soner Uşaklı
f7f46e7c65 feat: upgrade sharp (#9442) 2021-03-29 21:00:12 -04:00
Misty (Bot)
4c66c7f9b2 Latest translations and fallbacks 2021-03-29 09:08:14 +00:00
Renovate Bot
5e2e7a582d chore(deps): update dependency jsdom to v16.5.2 2021-03-28 23:10:20 +00:00
psychobunny
01f63e5d58 fix: change email button stays disabled if user submitted an invalid email 2021-03-28 13:03:15 -04:00
psychobunny
cfdef77b28 fix: use app.logout() to clear session after deleting user
I think this was originally changed when we added logging in/out without refreshing, but didn't change this back after reverting that feature
2021-03-28 11:59:17 -04:00
psychobunny
9e1f72a435 feat: optional urlMethod param for loginStrategies 2021-03-27 22:21:27 -04:00
Peter Jaszkowiak
2a03012e2c fix: ./nodebb help with commander@7 (#9434)
hopefully this one last as long as the last one did
2021-03-27 12:14:27 -04:00
Renovate Bot
dfdb005099 fix(deps): update dependency nodebb-theme-slick to v1.4.6 2021-03-27 15:20:26 +00:00
Renovate Bot
27de58f2f8 fix(deps): update dependency nodebb-theme-persona to v11.0.11 2021-03-27 14:09:11 +00:00
Misty (Bot)
a72cc99012 Latest translations and fallbacks 2021-03-27 09:06:03 +00:00
Renovate Bot
382f75bc9d fix(deps): update dependency benchpressjs to v2.4.3 2021-03-27 06:21:13 +00:00
Renovate Bot
d600cd94fe chore(deps): update dependency eslint to v7.23.0 2021-03-27 03:15:06 +00:00
Barış Soner Uşaklı
728ac5ff72 perf: increase batch size for notifs, run parallel 2021-03-26 17:47:57 -04:00
Renovate Bot
24236718d5 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.25 2021-03-26 18:36:10 +00:00
Misty (Bot)
40ed7a3b1e Latest translations and fallbacks 2021-03-26 09:10:27 +00:00
Barış Soner Uşaklı
344575dde1 feat: add hooks to language loading (#9426)
and flushNamespace method
2021-03-25 20:21:47 -04:00
Barış Soner Uşaklı
edf80cfb3b fix: hide titleRaw for deleted topics as well 2021-03-25 18:32:11 -04:00
Barış Soner Uşaklı
b06f0ea20e feat: doggy.gif 2021-03-25 15:38:35 -04:00
gasoved
a3e95e798f feat: allow adding sorted-list items from forms outside of modal 2021-03-25 15:26:42 -04:00
Barış Soner Uşaklı
3403635ce6 chore: benchpress 2.4.1 2021-03-25 13:32:28 -04:00
Misty (Bot)
60e3131c81 Latest translations and fallbacks 2021-03-25 09:12:03 +00:00
Renovate Bot
89973d8050 fix(deps): update dependency nodebb-theme-vanilla to v12.0.5 2021-03-25 05:13:37 +00:00
Renovate Bot
dec344462d fix(deps): update dependency nodebb-plugin-composer-default to v6.5.24 2021-03-25 02:10:16 +00:00
Barış Soner Uşaklı
a1ee1a2a76 chore: remove log 2021-03-24 19:21:01 -04:00
Barış Soner Uşaklı
c5dda64fa8 fix: #9410, fix post queue
items in the cache were parsed over and over again
2021-03-24 19:19:49 -04:00
Renovate Bot
f78b4ba693 fix(deps): update dependency nodebb-theme-persona to v11.0.10 2021-03-24 22:07:29 +00:00
renovate[bot]
e35d074110 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.23 (#9422)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-24 15:57:33 -04:00
Barış Soner Uşaklı
9052db930f fix: privilege tables 2021-03-24 15:05:42 -04:00
gasoved
077330b764 feat: scheduled topics (#9399)
* feat: scheduled topics

* refactor: linting fixes

* fix: tests

* fix(test): race condition

* fix: make a single request
2021-03-24 14:28:02 -04:00
Barış Soner Uşaklı
67b09cba5f fix: #9420, paginate after loading notifications 2021-03-24 12:41:37 -04:00
Renovate Bot
124cb9d977 fix(deps): update dependency nodebb-theme-persona to v11.0.8 2021-03-24 12:25:36 -04:00
Renovate Bot
1dddcb490e fix(deps): update dependency benchpressjs to v2.4.2 2021-03-24 12:52:35 +00:00
Misty (Bot)
66e986960d Latest translations and fallbacks 2021-03-24 09:11:18 +00:00
Julian Lam
d9e2029074 fix: hooks for alert animate, no more fadein/fadeout for reconnect alert 2021-03-23 13:42:18 -04:00
Renovate Bot
d511216c82 fix(deps): update dependency nodebb-plugin-mentions to v2.13.8 2021-03-23 16:16:27 +00:00
Renovate Bot
29ff5bb93f fix(deps): update dependency connect-mongo to v4.4.1 2021-03-23 12:37:51 +00:00
Misty (Bot)
831ecc6af0 Latest translations and fallbacks 2021-03-23 09:10:52 +00:00
Renovate Bot
c5734063d1 fix(deps): update dependency nodebb-theme-persona to v11.0.7 2021-03-22 14:34:18 -04:00
Misty (Bot)
280e163690 Latest translations and fallbacks 2021-03-22 09:09:52 +00:00
Barış Soner Uşaklı
e42b152f16 fix: #9414, use posts:view_deleted 2021-03-21 21:38:08 -04:00
Renovate Bot
77f551a4cc chore(deps): update dependency husky to v5.2.0 2021-03-21 23:07:28 +00:00
Misty (Bot)
ab38f745a0 Latest translations and fallbacks 2021-03-21 09:06:46 +00:00
Barış Soner Uşaklı
a94d96514e feat: show link if category is a link 2021-03-20 18:32:21 -04:00
Barış Soner Uşaklı
2ceda70a97 fix: preserve order when changing parent 2021-03-20 15:51:34 -04:00
Barış Soner Uşaklı
3c4e93a3c1 fix: #9411 2021-03-20 15:51:17 -04:00
Barış Soner Uşaklı
cef58d1d6f fix: #9412 2021-03-20 15:10:36 -04:00
Barış Soner Uşaklı
d00268c9b8 refactor: style, no need to convert length to string 2021-03-20 14:50:21 -04:00
Misty (Bot)
91992240bd chore: incrementing version number - v1.17.0-beta.4 2021-03-20 01:48:29 +00:00
renovate[bot]
870e6c2c28 fix(deps): update dependency nodebb-theme-vanilla to v12.0.4 (#9409)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-19 21:17:40 -04:00
renovate[bot]
24be86420c fix(deps): update dependency nodebb-theme-slick to v1.4.5 (#9408)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-19 21:01:43 -04:00
renovate[bot]
b50739c175 fix(deps): update dependency nodebb-theme-persona to v11.0.6 (#9407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-19 20:25:18 -04:00
Barış Soner Uşaklı
93c595d95e fix: #9406, update flag post tools 2021-03-19 19:39:24 -04:00
Julian Lam
d8ff9851a3 fix: typo in switch..case 2021-03-19 15:46:58 -04:00
Misty (Bot)
026ceaf3ec Latest translations and fallbacks 2021-03-19 09:07:47 +00:00
Misty (Bot)
d56bca65aa Latest translations and fallbacks 2021-03-18 09:09:57 +00:00
renovate[bot]
9359cae9cd fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.7.9 (#9405)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-17 18:27:32 -04:00
Julian Lam
289bfc0b43 chore: bump composer-default 2021-03-17 17:10:59 -04:00
Barış Soner Uşaklı
801570e4cf fix: #9404, show signatures if the target user has signature privilege 2021-03-17 13:31:31 -04:00
Barış Soner Uşaklı
ee69c1f80e fix: selector 2021-03-17 13:26:37 -04:00
Barış Soner Uşaklı
75553b246c fix: sorting when filtering by uid 2021-03-17 13:14:55 -04:00
Julian Lam
98b72ca572 fix: allow local (and overridden) login strategies to pass Error objects back 2021-03-17 12:10:57 -04:00
Misty (Bot)
17693dd5ca Latest translations and fallbacks 2021-03-17 09:10:04 +00:00
Renovate Bot
47b2b97fef fix(deps): update dependency nodebb-theme-persona to v11.0.5 2021-03-17 05:36:51 +00:00
Barış Soner Uşaklı
dd12c83fa0 feat: make info page full width 2021-03-16 23:26:07 -04:00
Barış Soner Uşaklı
6aa60b63b5 fix: category search not using uid 2021-03-16 22:59:58 -04:00
Barış Soner Uşaklı
262e059fa6 fix: inf scroll with subfolder install 2021-03-16 19:40:26 -04:00
renovate[bot]
2f70ac5a91 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.21 (#9401)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-16 19:24:28 -04:00
Barış Soner Uşaklı
56523aa148 revert: change toPid truthy 2021-03-16 18:02:21 -04:00
Renovate Bot
fcd887fd52 fix(deps): update dependency mongodb to v3.6.5 2021-03-16 18:39:57 +00:00
Barış Soner Uşaklı
2041b8084f fix: flicker on dashboard 2021-03-15 23:24:16 -04:00
Barış Soner Uşaklı
d14ba1f4e1 chore: up themes 2021-03-15 19:47:15 -04:00
Barış Soner Uşaklı
90d64fe1df fix: #9398, crash on post flag 2021-03-15 17:55:14 -04:00
Barış Soner Uşaklı
8d3ec23483 chore: remove node 10 2021-03-15 15:35:33 -04:00
Barış Soner Uşaklı
a8f7b24452 fix: #9395, pass all data from client to Topics.reply (#9396)
* fix: #9395, pass all data from client to Topics.reply

so plugins can set custom fields
refactor and use setDefaultPostData

* fix: circular json error

* refactor: change params
2021-03-15 15:34:05 -04:00
Julian Lam
33fbfdfe40 chore: bump composer-default to 6.5.20 2021-03-15 14:40:49 -04:00
Barış Soner Uşaklı
4ac38ab2bc fix: lint 2021-03-15 14:32:15 -04:00
Barış Soner Uşaklı
eb360351e5 fix: #9394, fix guest handles 2021-03-15 14:03:35 -04:00
Julian Lam
d1685600d3 refactor: deprecate action:script.load, use filter:script.load instead 2021-03-15 13:56:12 -04:00
Misty (Bot)
6a354db491 Latest translations and fallbacks 2021-03-15 09:10:50 +00:00
renovate[bot]
1631f159ef fix(deps): update dependency nodebb-plugin-composer-default to v6.5.19 (#9391)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 18:22:23 -04:00
Barış Soner Uşaklı
03e306349c fix: #9387, don't try to load undefined images 2021-03-14 15:57:08 -04:00
Barış Soner Uşaklı
5c59354c58 fix: #9389, allow admins to add themselves to private groups 2021-03-14 15:20:14 -04:00
Barış Soner Uşaklı
482641e30e fix: #9386, add missing translation string 2021-03-14 14:05:17 -04:00
Misty (Bot)
6e8b1bb9ad chore: incrementing version number - v1.17.0-beta.3 2021-03-14 16:37:13 +00:00
Barış Soner Uşaklı
ef3ec96af2 chore: add multiparty dep 2021-03-14 12:29:12 -04:00
renovate[bot]
8d40176028 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.17 (#9384)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 11:41:06 -04:00
Barış Soner Uşaklı
4327a09d76 feat: allow optional fields argument on db.getObject(s) (#9385) 2021-03-14 11:40:54 -04:00
Misty (Bot)
754965b572 Latest translations and fallbacks 2021-03-14 09:06:43 +00:00
Barış Soner Uşaklı
f316c4d4b8 refactor: remove uncessary check 2021-03-14 00:39:11 -05:00
Barış Soner Uşaklı
e789fe8d2a fix: #9383, don't show deleted topic titles in inf scroll 2021-03-13 22:54:32 -05:00
Julian Lam
cc489708ee fix: #9378, crash on verifyToken if API Token settings not saved (null case error) 2021-03-13 21:25:27 -05:00
Renovate Bot
27facadb6a fix(deps): update dependency nodebb-theme-persona to v11.0.3 2021-03-13 22:46:40 +00:00
Misty (Bot)
0c1945dc5b chore: incrementing version number - v1.17.0-beta.2 2021-03-13 20:13:43 +00:00
Barış Soner Uşaklı
35700d1634 fix: closes #9382, fix digest topic links 2021-03-13 14:46:08 -05:00
Barış Soner Uşaklı
1e1127bd20 fix: spec 2021-03-13 14:35:26 -05:00
Barış Soner Uşaklı
668508cc37 feat: closes #9380, add category filtering and topic tools to tag page 2021-03-13 13:34:49 -05:00
Barış Soner Uşaklı
34b9aaedee feat: allow sync function (#9379)
* feat: allow sync function

* fix: remove async
2021-03-13 12:03:06 -05:00
Barış Soner Uşaklı
e725beaa4a Revert "feat: allow filter functions that return promises or the data directly"
This reverts commit e6c52cf26c.
2021-03-13 11:39:34 -05:00
Barış Soner Uşaklı
e6c52cf26c feat: allow filter functions that return promises or the data directly 2021-03-13 11:27:53 -05:00
Barış Soner Uşaklı
53f67ff396 fix: regression from filter hook change 2021-03-13 10:12:30 -05:00
Barış Soner Uşaklı
e539ff4f95 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-03-13 09:16:33 -05:00
Barış Soner Uşaklı
617f4730a0 fix: crash if unreadTopics is undefined 2021-03-13 09:16:26 -05:00
Renovate Bot
adaddde624 fix(deps): update dependency socket.io-redis to v6.1.0 2021-03-13 13:39:01 +00:00
Renovate Bot
a98e92b4ea fix(deps): update dependency nodebb-plugin-composer-default to v6.5.16 2021-03-13 11:59:23 +00:00
Misty (Bot)
df0518f934 Latest translations and fallbacks 2021-03-13 09:07:04 +00:00
Renovate Bot
28ed579b69 chore(deps): update dependency jsdom to v16.5.1 2021-03-13 06:13:26 +00:00
Barış Soner Uşaklı
5b0d068ccd Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-03-12 22:45:23 -05:00
Barış Soner Uşaklı
f45c0aab51 fix: dont crash if login el doesnt exist 2021-03-12 22:45:15 -05:00
Renovate Bot
775c3b9188 chore(deps): update dependency eslint to v7.22.0 2021-03-13 01:37:15 +00:00
Barış Soner Uşaklı
52082e1296 feat: add resolve flag to post tools 2021-03-12 16:38:05 -05:00
Julian Lam
2a939aad8d fix: regression via c1b3079d93
Also refactored privilege render logic so that it no longer needs a server-side hack to render column count
2021-03-12 14:22:16 -05:00
Julian Lam
4cbd13fd9c feat: hide revert button in ACP > Privileges until privileges change 2021-03-12 13:25:58 -05:00
Julian Lam
8472513093 fix: change notification updateCount to use client-side hooks 2021-03-12 09:25:06 -05:00
Renovate Bot
3ce731d84b chore(deps): update dependency mocha to v8.3.2 2021-03-12 13:27:28 +00:00
Misty (Bot)
6b4cd7557c Latest translations and fallbacks 2021-03-12 09:08:44 +00:00
Barış Soner Uşaklı
46270f9f20 feat: bring back static hook timeout 2021-03-11 22:56:14 -05:00
renovate[bot]
56b0bfd518 fix(deps): update dependency nodebb-plugin-markdown to v8.12.7 (#9371)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-11 22:20:27 -05:00
Barış Soner Uşaklı
39b0e0fb91 fix: tests 2021-03-11 22:12:05 -05:00
Barış Soner Uşaklı
d05d7091ae refactor: remove async.each/reduce from hooks for better stack traces 2021-03-11 21:44:37 -05:00
Barış Soner Uşaklı
0d3979efd0 refactor: use hooks.fire 2021-03-11 21:43:11 -05:00
renovate[bot]
8923d34ce7 fix(deps): update dependency nodebb-theme-vanilla to v12.0.2 (#9369)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-11 19:20:11 -05:00
renovate[bot]
fa71c483d0 fix(deps): update dependency nodebb-theme-persona to v11.0.2 (#9368)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-11 19:20:03 -05:00
Barış Soner Uşaklı
9382fc6dc5 fix: #9370, show correct teaser index if sorting is newest to oldest 2021-03-11 19:17:42 -05:00
Barış Soner Uşaklı
1982edfde3 refactor: fix variable name 2021-03-11 18:47:50 -05:00
Barış Soner Uşaklı
3c60ccfd4d feat: upgrade connect-mongo, closes https://github.com/NodeBB/NodeBB/pull/9367 2021-03-11 13:44:14 -05:00
renovate[bot]
13f3c5040a fix(deps): update socket.io packages to v4 (#9363)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-11 13:38:47 -05:00
Julian Lam
f71cb0e427 feat: pass interstital errors to individual partials as well as to registerComplete 2021-03-11 11:22:32 -05:00
Barış Soner Uşaklı
63de46c532 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-03-11 10:39:39 -05:00
Barış Soner Uşaklı
8ef38cb252 test: add missing test 2021-03-11 10:39:36 -05:00
Misty (Bot)
31872aaceb chore: incrementing version number - v1.17.0-beta.1 2021-03-11 14:52:08 +00:00
Misty (Bot)
5ec22c6845 Latest translations and fallbacks 2021-03-11 09:09:47 +00:00
Barış Soner Uşaklı
5eb3132dae feat: add filter:plugins.firehook 2021-03-10 21:43:37 -05:00
Julian Lam
98bf4064e7 refactor: account edit logic and template, closes #9364 2021-03-10 13:01:56 -05:00
Barış Soner Uşaklı
f6fa94a8ce Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-03-10 08:01:51 -05:00
Barış Soner Uşaklı
ebccc7940b fix: don't copy if src doesn't exist 2021-03-10 08:01:43 -05:00
Misty (Bot)
62bf211894 Latest translations and fallbacks 2021-03-10 09:08:35 +00:00
Barış Soner Uşaklı
754283d37b feat: copy default favicon if it doesn't exist 2021-03-09 23:22:05 -05:00
Barış Soner Uşaklı
a9b33ed39f Delete favicon.ico 2021-03-09 23:21:18 -05:00
psychobunny
771a8955a4 fix: #9362 best not to check file exists on every page load; copying favicon to uploads/system folder instead 2021-03-09 22:46:43 -05:00
psychobunny
ad5654952a fix: #9362 2021-03-09 22:32:34 -05:00
Julian Lam
678e8f0fde fix: regression where login redirect for admin routes didn't go to local=1 2021-03-09 20:50:01 -05:00
Renovate Bot
680cf5ef2a fix(deps): update dependency postcss to v8.2.8 2021-03-10 00:04:31 +00:00
Renovate Bot
2645bf555a fix(deps): update dependency nodebb-theme-persona to v10.5.17 2021-03-09 22:34:29 +00:00
Barış Soner Uşaklı
70a653d0a5 test: double filter test 2021-03-09 14:02:28 -05:00
Barış Soner Uşaklı
f4f61b92b4 fix: lint 2021-03-09 13:26:23 -05:00
Barış Soner Uşaklı
0e67ab01ca test: admin/manage/users tests 2021-03-09 13:14:59 -05:00
Barış Soner Uşaklı
2085a7d163 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-03-09 13:14:00 -05:00
Barış Soner Uşaklı
17184bface feat: add missing translation keys 2021-03-09 13:13:58 -05:00
Julian Lam
4b5450853d feat: allow missing (or non-array) middlewares argument in route helper methods 2021-03-09 10:53:06 -05:00
Renovate Bot
5945907429 fix(deps): update dependency connect-mongo to v4.3.1 2021-03-09 11:49:45 +00:00
Misty (Bot)
4a9b3af278 Latest translations and fallbacks 2021-03-09 09:08:28 +00:00
Barış Soner Uşaklı
e74df53997 feat: pass modified params, only affects filter hooks 2021-03-08 18:08:47 -05:00
Barış Soner Uşaklı
e787e6ea22 fix: if no in passed use "titles" to match header search 2021-03-08 17:59:56 -05:00
Barış Soner Uşaklı
696c489524 feat: add back topic id input 2021-03-08 17:50:58 -05:00
Julian Lam
166d65a1ba fix: add back middleware.authenticateOrGuest 2021-03-08 14:52:49 -05:00
Julian Lam
e3b2c00db1 fix: request authentication called twice in account routes 2021-03-08 14:47:55 -05:00
Julian Lam
7da061f0d7 refactor: automatically authenticate all requests setup through route helpers (#9357)
* refactor: automatically authenticate all requests setup through route helpers

* fix: removed connect-ensure-login dependency

* fix: bug with some middlewares not defined outside route helper methods
2021-03-08 14:03:22 -05:00
Renovate Bot
f388086ab9 fix(deps): update dependency connect-mongo to v4.3.0 2021-03-08 13:39:45 +00:00
Renovate Bot
fd926d6121 chore(deps): update dependency jsdom to v16.5.0 2021-03-08 01:35:19 +00:00
Misty (Bot)
4c73c26dd8 Latest translations and fallbacks 2021-03-07 09:06:34 +00:00
Barış Soner Uşaklı
3095478904 chore: bump composer 2021-03-06 15:42:34 -05:00
Barış Soner Uşaklı
8a4c361ece fix: #9354, don't close quicksearch results if mouse is down on them 2021-03-06 15:42:04 -05:00
Renovate Bot
651c629ff3 chore(deps): update dependency mocha to v8.3.1 2021-03-06 11:01:19 +00:00
Misty (Bot)
2826e29494 Latest translations and fallbacks 2021-03-06 09:06:53 +00:00
Barış Soner Uşaklı
3aa26c4df2 fix: #9339, only log email errors once per digest, notification push
show notice in acp
2021-03-05 19:03:16 -05:00
Barış Soner Uşaklı
3f42d40c78 fix: winston.info 2021-03-05 18:19:49 -05:00
Barış Soner Uşaklı
0021c6019e refactor: async listen testSocket 2021-03-05 18:18:16 -05:00
Julian Lam
c5e257888a fix: #9351 bad logic when inserting rows to privilege tables, also a missing tfoot 🦶 2021-03-05 15:09:37 -05:00
Julian Lam
c265016944 fix: app.parseAndTranslate to always return promise 2021-03-05 14:27:32 -05:00
Renovate Bot
4f4cdacc46 fix(deps): update dependency autoprefixer to v10.2.5 2021-03-05 18:23:23 +00:00
Julian Lam
bfd512b99b feat: expose username validation logic to user lib, new hook filter:username.check 2021-03-05 11:20:19 -05:00
Misty (Bot)
67bb63bd09 Latest translations and fallbacks 2021-03-05 09:13:54 +00:00
psychobunny
e5133a78f8 feat: add $.deserialize to client side 2021-03-04 20:48:29 -05:00
psychobunny
66196d2caf feat: allow for settings.save/settings.load on client side
w/ optional data-socket-get / data-socket-set params on form element for custom calls
2021-03-04 20:48:29 -05:00
Julian Lam
e755067387 docs: fixed typo 2021-03-04 13:56:45 -05:00
Barış Soner Uşaklı
902a88c25e feat: remove promise-pollyfil 2021-03-04 13:27:02 -05:00
Barış Soner Uşaklı
48bc23c065 refactor: remove startsWith/endsWith 2021-03-04 13:18:29 -05:00
Julian Lam
b5a6a3149d refactor: app.parseAndTranslate to return promise if no callback passed 2021-03-04 12:46:54 -05:00
Julian Lam
c1b3079d93 feat: category privilege API routes
closes #9342
2021-03-04 12:46:31 -05:00
Julian Lam
1e579428e7 fix: bug where fallback window trigger was not firing if there were no hook listeners attached
... so in essence the backwards compatibility was not working at all.

closes nodebb/nodebb-plugin-composer-default#147
2021-03-04 11:10:06 -05:00
Julian Lam
c8b78654d9 fix: bad assignment 2021-03-04 10:58:27 -05:00
Julian Lam
fbe9215b17 fix: #9348 incorrect redirect via connect-ensure-login 2021-03-04 10:16:21 -05:00
Misty (Bot)
b2c1b4ac45 Latest translations and fallbacks 2021-03-04 09:11:42 +00:00
Renovate Bot
72db3754d1 fix(deps): update dependency postcss to v8.2.7 2021-03-04 01:52:48 +00:00
Renovate Bot
017af7cbfd fix(deps): update dependency nodebb-plugin-composer-default to v6.5.13 2021-03-04 00:25:31 +00:00
Barış Soner Uşaklı
0af9d26fe5 feat: change uploadCroppedPicture to use updateProfile as well 2021-03-03 17:14:55 -05:00
Barış Soner Uşaklı
a598abcd8e feat: use updateProfile for picture change
so it triggers action:user:updateProfile
2021-03-03 17:11:13 -05:00
Julian Lam
f806befd2f fix: bug where loginSeconds setting was ignored for local login 2021-03-03 16:06:58 -05:00
Renovate Bot
dd6082a081 fix(deps): update dependency jquery to v3.6.0 2021-03-02 20:36:06 +00:00
Julian Lam
1155b0c42f feat: allow payload to be passed to emailer test method 2021-03-02 12:30:37 -05:00
Julian Lam
00a68a9548 feat: add additional flag hooks [breaking]
`action:flags.create` on initial flag creation
`action:flags.notify` on notification to admins and moderators
`action:flags.addReport` on flag report addition (called during initial flag create, too)
2021-03-02 10:09:30 -05:00
Renovate Bot
ec0912ccb6 fix(deps): update dependency connect-mongo to v4.2.2 2021-03-02 10:08:26 +00:00
Renovate Bot
8791b44e5f chore(deps): update dependency husky to v5.1.3 2021-03-02 05:54:09 +00:00
Barış Soner Uşaklı
069ac60f62 feat: add uid of user who created flag to action:flags.create 2021-03-01 19:02:00 -05:00
Julian Lam
7d391d4789 feat: new client-side hook filter:api.options to allow plugins to modify api requests 2021-03-01 10:57:43 -05:00
Renovate Bot
5f061b9419 chore(deps): update dependency husky to v5.1.2 2021-03-01 04:36:50 +00:00
renovate[bot]
536bae70b7 fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.7.8 (#9337)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-28 21:25:52 -05:00
preetykumar
2826c6986c Update taskbar.js (#9314)
* Update taskbar.js

add aria-label to make the link text discernible to screen readers.

* place quotes around attribute value

Co-authored-by: Peter Jaszkowiak <p.jaszkow@gmail.com>
2021-02-28 17:57:19 -05:00
Peter Jaszkowiak
b9fd2c87f3 chore: bump deps (#9335)
* chore: bump deps

* fix: husky git hooks
2021-02-28 17:54:56 -05:00
Barış Soner Uşaklı
b58bacaf80 fix: remove old dep 2021-02-28 12:58:49 -05:00
Barış Soner Uşaklı
3bf8ee10d3 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-02-28 12:54:08 -05:00
Barış Soner Uşaklı
2737f6531b fix: notif pruning 2021-02-28 12:54:06 -05:00
Misty (Bot)
21377cfa2b Latest translations and fallbacks 2021-02-28 09:06:40 +00:00
Renovate Bot
42f7cd52ac chore(deps): update commitlint monorepo to v12 2021-02-27 19:49:36 -05:00
Renovate Bot
5951843712 chore(deps): update dependency eslint to v7.21.0 2021-02-28 00:29:31 +00:00
Misty (Bot)
35a3cc3461 Latest translations and fallbacks 2021-02-27 09:06:13 +00:00
Barış Soner Uşaklı
ca8176312f fix: notification prune test 2021-02-26 22:37:57 -05:00
Barış Soner Uşaklı
02f08111cf feat: keep notifs for one month, load 50 notifications instead of 30 2021-02-26 22:22:12 -05:00
Renovate Bot
2674de01dd fix(deps): update dependency nodebb-plugin-composer-default to v6.5.12 2021-02-27 00:30:04 +00:00
Julian Lam
2b7d0b5a47 fix: user icon text overflow in some cases 2021-02-26 16:12:15 -05:00
Julian Lam
114e3a1e76 fix: use components for toggleNavbar instead 2021-02-26 15:03:24 -05:00
Julian Lam
9bf94ad50f fix: allow interstitial callbacks to be functional (no cb required) 2021-02-26 09:58:54 -05:00
Barış Soner Uşaklı
cdf5d18f54 fix: don't publish before pubClient is connected 2021-02-26 08:17:45 -05:00
Renovate Bot
510eb1f981 fix(deps): update socket.io packages to v3.1.2 2021-02-26 03:44:26 +00:00
Renovate Bot
217d3afd18 fix(deps): update dependency nodebb-theme-persona to v10.5.16 2021-02-26 01:58:38 +00:00
Julian Lam
86b0c57d7a feat: also pass in uid to filter:email.prepare 2021-02-25 17:11:57 -05:00
Julian Lam
27ea3dcb2f feat: new hook filter:email.prepare 2021-02-25 17:10:56 -05:00
Julian Lam
bf90d15881 feat: new hook static:email.send
deprecates filter:email.send
2021-02-25 15:05:58 -05:00
Barış Soner Uşaklı
0dad568cbe perf: faster category tags upgrade script 2021-02-25 11:31:09 -05:00
Misty (Bot)
21634e2681 Latest translations and fallbacks 2021-02-25 09:09:24 +00:00
Renovate Bot
e820934192 fix(deps): update dependency nodebb-plugin-emoji-android to v2.0.5 2021-02-25 08:17:47 +00:00
Barış Soner Uşaklı
95033ef756 perf: use setObjectBulk 2021-02-24 21:38:00 -05:00
Barış Soner Uşaklı
a07509f770 perf: make upgrade script faster 2021-02-24 21:16:43 -05:00
Barış Soner Uşaklı
48f1e265f4 fix: remove unused async 2021-02-24 20:54:03 -05:00
Barış Soner Uşaklı
0959b1248b perf: make upgrade script faster
use bulkAdd/remove
2021-02-24 20:38:57 -05:00
Barış Soner Uşaklı
14a6c349c2 feat: show time info for upgrade scripts 2021-02-24 20:10:18 -05:00
Barış Soner Uşaklı
293b7c2650 refactor: privileges, export modules directly (#9325)
fix unused/commented out methods in admin privileges
2021-02-24 18:10:34 -05:00
Julian Lam
984c9dd915 fix: in setupPageRoute helper, buildHeader after plugin hooks have fired
To allow for a plugin to call doLogin and have it properly reflect in the header
2021-02-24 17:23:32 -05:00
Julian Lam
73dc64d9ff feat: add dashboard sub-pages to ACP menu 2021-02-24 15:28:19 -05:00
Julian Lam
655e2c67ad fix: timeago missing on table update 2021-02-24 12:52:05 -05:00
Julian Lam
0804d54759 spec: schema docs for new ACP dashboard subpage routes 2021-02-24 12:51:20 -05:00
Julian Lam
2f89b0d791 feat: recent logins sessions table in dashbaord subpage 2021-02-24 12:51:20 -05:00
Julian Lam
e1ed514b10 feat: topics dashboard details subpage 2021-02-24 12:51:20 -05:00
Julian Lam
c57c77030e feat: update user list in dashboard/users on graph update 2021-02-24 12:51:20 -05:00
Julian Lam
3fa2e3cef2 refactor: have Graph.init and Graph.update return promises 2021-02-24 12:51:20 -05:00
Julian Lam
f8e1a74c26 fix: wrong qs param, allow string to be passed to util.getDaysArray 2021-02-24 12:51:20 -05:00
Julian Lam
cc93822436 feat: show list of recent users in dashboard/users 2021-02-24 12:51:20 -05:00
Julian Lam
6fdcae7320 feat: req.query parsing and dynamically loading data instead 2021-02-24 12:51:20 -05:00
Julian Lam
f561799f74 refactor: abstract out some client side dashboard code into modules, analytics subpages for users, topics, and logins 2021-02-24 12:51:20 -05:00
Julian Lam
079a13d41a feat: new hooks for notifications get/getCount 2021-02-24 12:45:49 -05:00
Misty (Bot)
aed8b123bc Latest translations and fallbacks 2021-02-24 09:11:37 +00:00
Julian Lam
d0136074b6 feat: allow hook unregistration, and temporary page-based hooks
Temporary hooks automatically unregister themselves on the next ajaxify, making them perfect for in-page events.
2021-02-23 15:18:00 -05:00
Barış Soner Uşaklı
de6d156533 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-02-23 08:38:25 -05:00
Barış Soner Uşaklı
7ae7626c1b Revert "feat: add logout to invalid session"
This reverts commit beb1427387.
2021-02-23 08:38:23 -05:00
Misty (Bot)
49c369528d Latest translations and fallbacks 2021-02-23 09:09:21 +00:00
Peter Jaszkowiak
0d59fe3d2b fix(#9315): api v3 post, put, del JSON
also allow `app.alertError` to be called without an argument
also fix `./nodebb build --dev` to actually build in dev mode
2021-02-22 21:19:46 -05:00
Renovate Bot
c5231f10ff fix(deps): update dependency sharp to v0.27.2 2021-02-23 00:03:37 +00:00
Renovate Bot
2551295ce0 chore(deps): update dependency husky to v5.1.1 2021-02-22 21:07:20 +00:00
Julian Lam
dbe5f7027b fix: wrong call to sortedSetAdd 2021-02-22 13:31:54 -05:00
Julian Lam
16d3c45782 feat: report login statistics from analytics data, instead of its own zset 2021-02-22 13:23:25 -05:00
Julian Lam
9a9f366d3b feat: track login sessions for admin dashboard reporting 2021-02-22 11:38:26 -05:00
Julian Lam
020f0b8322 fix: session not persisting to database in some scenarios
In some edge cases (e.g. SSO plugin redirecting the user immediately), with modern browsers, the request is never "completed" for speed. This causes a condition where the session object never persists to the database, even though it has changed. This added line forces a db persist on a successful login.

Context: https://github.com/expressjs/session/pull/484
2021-02-22 11:18:30 -05:00
Julian Lam
504fd107c7 feat: track successful logins in analytics 2021-02-22 11:16:43 -05:00
Renovate Bot
dc06fe2215 chore(deps): update dependency husky to v5.1.0 2021-02-22 05:04:27 +00:00
Misty (Bot)
0bc74e7056 Latest translations and fallbacks 2021-02-21 09:06:35 +00:00
Julian Lam
beaac0a1ab fix: allow hidden inputs in user settings page 2021-02-20 15:01:50 -05:00
Misty (Bot)
cf1939e16d Latest translations and fallbacks 2021-02-20 09:06:30 +00:00
Renovate Bot
8596dcc4b5 fix(deps): update dependency nodebb-theme-vanilla to v11.4.5 2021-02-19 22:37:55 +00:00
Renovate Bot
753ab0a089 fix(deps): update dependency nodebb-theme-persona to v10.5.15 2021-02-19 21:26:10 +00:00
Misty (Bot)
b61257efc2 chore: incrementing version number - v1.17.0-beta.0 2021-02-19 19:43:25 +00:00
Julian Lam
74c14c0fa4 Revert "chore: incrementing version number - v1.16.3-beta.0"
This reverts commit 477157cc2b.
2021-02-19 14:32:38 -05:00
Misty (Bot)
477157cc2b chore: incrementing version number - v1.16.3-beta.0 2021-02-19 19:12:34 +00:00
Julian Lam
c96fd3b19b feat: pass user picture object into change_picture_modal 2021-02-19 13:39:22 -05:00
Julian Lam
28f6931e16 refactor: move picture change client-side logic to its own rjs module 2021-02-19 11:54:48 -05:00
Barış Soner Uşaklı
beb1427387 feat: add logout to invalid session 2021-02-19 11:51:28 -05:00
Barış Soner Uşaklı
cfc237c2b7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-02-19 11:39:58 -05:00
Barış Soner Uşaklı
a592ebd1ff feat: category search test 2021-02-19 11:39:10 -05:00
Julian Lam
d3a9e76ae2 test(user): added additional tests for icon background colour 2021-02-19 11:38:48 -05:00
Julian Lam
955021247e feat(user): icon background selector in change picture modal 2021-02-19 11:38:48 -05:00
Julian Lam
fbccf6e22f refactor(user): all plugins to change list of icon background colours
One notable change is line 200, where a conditional was changed. The conditional used to check for `user.hasOwnProperty('picture')` and was added so that icons would only be included in the response if the picture was requested. This doesn't seem to apply as picture could be set regardless (see default avatar logic above), so I explicitly check `requestedFields` now.
2021-02-19 11:38:48 -05:00
Julian Lam
b4c0b32b26 fix: use root context if buildAvatar context is undefined 2021-02-19 11:38:48 -05:00
Barış Soner Uşaklı
ed3d9dcbbf feat: pass post object to filter:post.tools 2021-02-19 11:32:17 -05:00
Renovate Bot
ed503b8051 fix(deps): update dependency nodebb-theme-persona to v10.5.14 2021-02-19 12:22:10 +00:00
Misty (Bot)
e23bf9f94d Latest translations and fallbacks 2021-02-19 09:08:52 +00:00
Misty (Bot)
f9fc884867 Latest translations and fallbacks 2021-02-18 09:08:51 +00:00
Barış Soner Uşaklı
fa91525a6d fix: use bootbox module 2021-02-17 21:24:24 -05:00
Barış Soner Uşaklı
0e07f3c9ba feat: allow defining a list of system tags 2021-02-17 14:44:04 -05:00
Barış Soner Uşaklı
bbaaead09c feat: add category search test, #9307 2021-02-17 13:03:14 -05:00
Barış Soner Uşaklı
25c8f02634 fix: #9307, use _.flatten 2021-02-17 12:48:11 -05:00
Julian Lam
2fef462782 fix: awaiting res.render in send404 controller
>
> A plugin wanted to use `response:rotuer.page` to 404 a specific page on some condition. res.render returns early in send404 and so must be awaited otherwise multiple responses will be sent
2021-02-17 11:57:12 -05:00
Julian Lam
65c57c730c docs: added comment re: #9305 2021-02-17 10:52:04 -05:00
ahwayakchih
34096b73ef fix: do not overwrite config.port from URL, if it's already set
If URL was set to something like `http://example.com:8080`, and port
was set to 4567, keep listening on port 4567 and keep linking through
URL that was specified.
This allows to listen on port 4567, while having NGINX (or any proxy)
set to listen on port 8080 and route traffic to port 4567.
So NodeBB can be "hidden" behind proxy while URL can still contain
non-standard port, i.e., port different than 80 and 443.
2021-02-17 10:51:08 -05:00
Julian Lam
8686fbfa3f fix: switch back to getSortedSetRange
/cc @barisusakli
2021-02-17 10:41:57 -05:00
Misty (Bot)
ce3f581434 Latest translations and fallbacks 2021-02-17 09:08:43 +00:00
Renovate Bot
ddd8fa31d6 fix(deps): update dependency nodebb-theme-persona to v10.5.12 2021-02-17 06:48:03 +00:00
Barış Soner Uşaklı
9ce6f8ad93 feat: add tag filter to getSortedTopics 2021-02-16 23:12:10 -05:00
Barış Soner Uşaklı
5286f20862 refactor: remove dupe code 2021-02-16 22:10:26 -05:00
Julian Lam
4c078084dc test: fix spec for topic thumbs 2021-02-16 12:40:25 -05:00
Julian Lam
1d9ade4c36 test: added missing properties to topicObject 2021-02-16 12:29:11 -05:00
Julian Lam
b31f6dd24a test: added missing test file 2021-02-16 12:22:35 -05:00
Julian Lam
ad54b174a4 test: topic reordering tests 2021-02-16 12:18:25 -05:00
Julian Lam
7223074f1d feat: ability to re-order topic thumbnails 2021-02-16 11:54:09 -05:00
Julian Lam
db027170a8 feat: add close button to topic thumbnail modal 2021-02-16 11:54:09 -05:00
Misty (Bot)
2821b917d0 Latest translations and fallbacks 2021-02-16 09:09:26 +00:00
Barış Soner Uşaklı
91734a6484 fix: settings v3 2021-02-15 20:52:01 -05:00
Barış Soner Uşaklı
0738dae895 feat: #9304, add category/topic/username to post queue notification emails 2021-02-15 16:15:04 -05:00
Misty (Bot)
59885a9e2e Latest translations and fallbacks 2021-02-15 09:08:41 +00:00
Barış Soner Uşaklı
8f0386d9ac feat: add failing test for list append/prepend with list (#9303)
* feat: add failing test for list append/prepend with list

* feat: mongo/psql

* feat: improve test
2021-02-14 11:12:56 -05:00
Misty (Bot)
b5b92768e2 Latest translations and fallbacks 2021-02-14 09:06:43 +00:00
Renovate Bot
4ee3a8e876 fix(deps): update dependency benchpressjs to v2.4.1 2021-02-14 05:26:21 +00:00
Julian Lam
782bef5eec fix: another topic thumb test fix 2021-02-13 12:06:18 -05:00
Julian Lam
1ae8dda8a8 chore: extra console.log 2021-02-13 11:57:10 -05:00
Julian Lam
7ebb6d3056 fix: thumbs.associate logic fix + tests 2021-02-13 11:52:12 -05:00
Renovate Bot
7f8fd4b0f6 fix(deps): update dependency nodebb-theme-persona to v10.5.10 2021-02-13 10:51:56 +00:00
Misty (Bot)
3ad25e8ff6 Latest translations and fallbacks 2021-02-13 09:06:41 +00:00
Renovate Bot
9ec0b2ed68 chore(deps): update dependency eslint to v7.20.0 2021-02-13 08:40:39 +00:00
Barış Soner Uşaklı
7665adf7d1 fix: missing awaits, possible test fix 2021-02-13 01:43:52 -05:00
Barış Soner Uşaklı
9a6cf3d967 fix: #9301, dont call sitemapstream if there are no entries in categories/pages/topics.xml 2021-02-12 23:18:16 -05:00
Julian Lam
50664487b9 test: additional tests for topic thumbs 2021-02-12 20:43:38 -05:00
Barış Soner Uşaklı
807b0d4348 fix: properly incase its the same path 2021-02-12 20:18:47 -05:00
Barış Soner Uşaklı
76bcc0c99c fix: numThumbs count on associate 2021-02-12 20:17:43 -05:00
Julian Lam
1490b32d1b fix: missing cache deletion calls for post-queue cache
/cc @barisusakli
2021-02-12 19:57:26 -05:00
Julian Lam
3e6640efb2 refactor: thumbs.associate accepts both relative path and url in path arg 2021-02-12 17:11:32 -05:00
Julian Lam
36e8d251c8 fix: use of removed URL to get post data 2021-02-12 17:10:59 -05:00
Julian Lam
a4b4a5566d feat: link to post-queue from topic event 2021-02-12 15:15:20 -05:00
Julian Lam
8fd78ce512 feat: post-queue topic event 2021-02-12 15:10:47 -05:00
Julian Lam
3f35fd335d feat: add post-queue cache 2021-02-12 15:10:30 -05:00
Julian Lam
36f2021186 refactor: move post queue retrival code to posts.getQueuedPosts 2021-02-12 12:25:27 -05:00
Julian Lam
b81508c4e2 fix: init topic events from webserver.js 2021-02-12 11:50:43 -05:00
Julian Lam
6074a0fbbf refactor: call topic events init from within file itself 2021-02-12 10:26:50 -05:00
Julian Lam
cc275e1016 Revert "feat: newsletter opt-in/out in UCP, closes #21"
This reverts commit 3c7cd9a6c4.
2021-02-12 10:12:38 -05:00
Julian Lam
3c7cd9a6c4 feat: newsletter opt-in/out in UCP, closes #21 2021-02-12 10:11:08 -05:00
Misty (Bot)
48a3c4bd2e Latest translations and fallbacks 2021-02-12 09:08:08 +00:00
Renovate Bot
73f07958d8 chore(deps): update dependency mocha to v8.3.0 2021-02-11 23:56:24 +00:00
Barış Soner Uşaklı
3595473485 feat: load user posts/topics via xhr on infinitescroll 2021-02-11 16:47:51 -05:00
Barış Soner Uşaklı
b753c69cfe fix: check null topics 2021-02-11 14:51:17 -05:00
Barış Soner Uşaklı
58cd797e4c fix: guard against null topics 2021-02-11 14:48:29 -05:00
Barış Soner Uşaklı
fc90f32ec0 fix: tests, new categories go to top now 2021-02-11 12:58:59 -05:00
Barış Soner Uşaklı
c953b1b3d1 fix: #9292, messageobj.content already parsed 2021-02-11 12:55:00 -05:00
Barış Soner Uşaklı
4b2bf12fd1 feat: #9294, put new categories at top 2021-02-11 12:35:10 -05:00
Julian Lam
9d17f397c0 fix(remountable-routes): more fixes to remountable routes
fix: ensure proper admin privilege checking on remounted `/admin` mount

fix: guard against plugins sending back missing mounts

fix: no need to make addRemountableRoutes awaitable
2021-02-11 11:45:24 -05:00
Julian Lam
16c1d6e937 style(remountable-routes): abstract removable routes code to a separate local fn 2021-02-11 11:45:24 -05:00
Julian Lam
1f28713f1a refactor(remountable-routes): rename src/routes/accounts.js to src/routes/user.js to better match the route prefix 2021-02-11 11:45:24 -05:00
Julian Lam
bc68e990af fix(remountable-routes): bug with user routes remounting to itself 2021-02-11 11:45:24 -05:00
Julian Lam
9021f071d4 feat(remountable-routes): allow category and account routes to be remounted 2021-02-11 11:45:24 -05:00
Julian Lam
f01af62b53 feat(remountable-routes): allow /admin and /post to be remountable 2021-02-11 11:45:24 -05:00
Julian Lam
92758ec50d refactor(remountable-routes): allow certain route prefixes to be mounted elsewhere 2021-02-11 11:45:24 -05:00
Renovate Bot
5dd748c633 fix(deps): update dependency nodebb-theme-persona to v10.5.9 2021-02-11 08:48:52 -05:00
Misty (Bot)
3a61ac2119 Latest translations and fallbacks 2021-02-11 09:09:52 +00:00
Barış Soner Uşaklı
765db86d4e fix: clear category cache on copy parent 2021-02-10 22:13:35 -05:00
Barış Soner Uşaklı
ed3e9ce2e2 fix: delete category cache key on category create 2021-02-10 22:10:54 -05:00
Barış Soner Uşaklı
c61cc37bba fix: typo 2021-02-10 17:56:46 -05:00
Barış Soner Uşaklı
cf4002bcc9 perf: cache base_url 2021-02-10 17:41:39 -05:00
Barış Soner Uşaklı
5ce2820799 perf: single call to get digest topics, dont send duplicate topics 2021-02-10 17:37:22 -05:00
Julian Lam
86e911ba4b fix(deps): require xregexp 5.0.1 2021-02-10 17:05:53 -05:00
Renovate Bot
513cd1c325 fix(deps): update dependency xregexp to v5 2021-02-10 17:05:53 -05:00
Renovate Bot
54b4dc1dfa fix(deps): update dependency nodebb-theme-persona to v10.5.8 2021-02-10 17:04:04 -05:00
Renovate Bot
4d92af5a6b fix(deps): update dependency postcss to v8.2.6 2021-02-10 20:23:00 +00:00
Misty (Bot)
949f043a96 Latest translations and fallbacks 2021-02-10 09:10:53 +00:00
Barış Soner Uşaklı
90d5c9da44 perf: single db call to add all uids 2021-02-10 00:58:07 -05:00
Barış Soner Uşaklı
a5fa212fc7 fix: wait for event.log to finish before killing process 2021-02-09 23:03:02 -05:00
Barış Soner Uşaklı
0185ea1b4f perf: make digests a little bit faster
and use batch.processArray
dont load data for users who have no email or have not confirmed their emails
2021-02-09 15:27:08 -05:00
Barış Soner Uşaklı
b6493f896f fix: tests, only generate csrf_token on 404 gets 2021-02-09 12:40:29 -05:00
Barış Soner Uşaklı
2c52fbd1b9 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-02-09 12:40:08 -05:00
Barış Soner Uşaklı
1c9acef6dd chore: up composer 2021-02-09 12:27:25 -05:00
renovate[bot]
c2459fd50e fix(deps): update dependency nodebb-theme-persona to v10.5.7 (#9288)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-09 12:26:48 -05:00
Barış Soner Uşaklı
94f72d6093 fix: #9287, generate csrf_token on 404 2021-02-09 12:23:55 -05:00
Julian Lam
783786cf8c fix: do not blindly escape a notification's bodyLong
For 7+ years we were escaping this value, but it is in many cases already sanitized (as it may be a post content). For those cases when it is not, I now run it through parse.raw.

Instead of escaping, it now strips p, img, and a tags.
2021-02-09 11:16:40 -05:00
Misty (Bot)
0092df2c02 Latest translations and fallbacks 2021-02-09 09:07:34 +00:00
Renovate Bot
b312725fd3 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.10 2021-02-09 06:15:04 +00:00
Renovate Bot
4599144f31 fix(deps): update dependency nodebb-theme-persona to v10.5.6 2021-02-09 02:45:52 +00:00
renovate[bot]
eb9f058fa1 fix(deps): update dependency nodebb-widget-essentials to v5.0.3 (#9284)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 20:14:29 -05:00
Barış Soner Uşaklı
670cde78da feat: add invalid event name to error message 2021-02-08 18:36:41 -05:00
Peter Jaszkowiak
cc9d6fd08b chore: eslint max-len 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
5c2f0f0557 chore: eslint no-restricted-syntax 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
115d19e289 chore: eslint prefer-rest-params, prefer-spread 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
23f212a4c0 chore: eslint prefer-destructuring 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
8d1462ffd8 chore: eslint object-curly-newline 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
62869bae3d chore: eslint function-paren-newline 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
dab3b23575 chore: eslint no-var, vars-on-top 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
b56d9e12b5 chore: eslint prefer-arrow-callback 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
707b55b6a5 chore: eslint prefer-template 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
4ee0f1459d chore: eslint import/newline-after-import 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
9f6a682ca9 chore: eslint no-script-url 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
dad01e3051 chore: eslint no-bitwise 2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
58528d1a3e chore: eslint rules matching existing styles 2021-02-08 18:06:44 -05:00
Renovate Bot
d89ccf261b chore(deps): update dependency husky to v5 2021-02-08 16:32:40 -05:00
Renovate Bot
6e14014bfa fix(deps): update dependency nodebb-plugin-composer-default to v6.5.9 2021-02-08 16:32:32 -05:00
Julian Lam
16610b2dca fix: pass jquery object in to action:notifications.loaded hook 2021-02-08 16:29:45 -05:00
Julian Lam
7edc8f458d feat: new notifications load/loaded hooks on client side
refactored `toggleTimeagoShorthand` code to be inside of a hook listener
2021-02-08 15:26:03 -05:00
Barış Soner Uşaklı
0cca6893f3 fix: #9275, 2021-02-08 14:57:28 -05:00
Barış Soner Uşaklı
cfa0d42390 fix: don't use global bootbox obj 2021-02-08 14:37:55 -05:00
Renovate Bot
674a31d12f fix(deps): update dependency nodebb-plugin-composer-default to v6.5.8 2021-02-08 19:17:53 +00:00
Barış Soner Uşaklı
550cd995e8 fix: remove console.log 2021-02-08 12:11:13 -05:00
Barış Soner Uşaklı
622ff9cd6a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-02-08 12:06:58 -05:00
renovate[bot]
d39235858d fix(deps): update dependency nodebb-theme-slick to v1.4.3 (#9278)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 12:06:21 -05:00
Barış Soner Uşaklı
fca17cb713 fix: move service worker back to relative_path/service-worker.js 2021-02-08 12:05:57 -05:00
renovate[bot]
1f28e8c31f fix(deps): update dependency nodebb-theme-vanilla to v11.4.4 (#9279)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 12:01:27 -05:00
renovate[bot]
a7b46adc56 fix(deps): update dependency nodebb-theme-persona to v10.5.5 (#9277)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 12:00:13 -05:00
renovate[bot]
83a0b6b800 fix(deps): update dependency connect-redis to v5.1.0 (#9276)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 11:56:16 -05:00
Barış Soner Uşaklı
ab0ef44289 fix: spec 2021-02-08 11:46:42 -05:00
Barış Soner Uşaklı
a4878a5b22 fix: markread selector 2021-02-08 11:36:36 -05:00
Renovate Bot
030ecffa15 chore(deps): update dependency lint-staged to v10.5.4 2021-02-08 15:19:34 +00:00
Misty (Bot)
429cff93ee Latest translations and fallbacks 2021-02-08 09:08:48 +00:00
Barış Soner Uşaklı
3090a2aee4 fix: position when scrolling up
if sorting is newest to oldest scrollTop wont be changed if you are at the top of the page
2021-02-07 23:19:58 -05:00
Barış Soner Uşaklı
7eebcbdbbc perf: only load thumbs for topics that actually have thumbs 2021-02-07 19:13:21 -05:00
renovate[bot]
dc14528427 fix(deps): update dependency nodebb-theme-persona to v10.5.4 (#9270)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-07 18:10:53 -05:00
renovate[bot]
2fda677457 fix(deps): update dependency nodebb-theme-vanilla to v11.4.3 (#9272)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Barış Soner Uşaklı <baris@nodebb.org>
2021-02-07 18:10:43 -05:00
Renovate Bot
2b12905df1 fix(deps): update dependency nodebb-theme-slick to v1.4.2 2021-02-07 22:59:56 +00:00
Renovate Bot
fb2f114336 fix(deps): update dependency nodebb-theme-lavender to v5.2.1 2021-02-07 21:03:03 +00:00
Barış Soner Uşaklı
47299ea587 Categories refactor (#9257)
* feat: wip categories pagination

* feat: add subCategoriesPerPage setting

* feat: add load more sub categories button to category page

* fix: openapi spec

* feat: show sub categories left on category page

hide button when no more categories left

* breaking: rename categories to allCategories on /search

categories contains the search results

* fix: spec

* refactor: remove cidsPerPage

* fix: tests

* feat: use component for subcategories

* fix: prevent negative subCategoriesLeft

* feat: new category filter/search WIP

* feat: remove categories from /tag

* fix: dont load all categories when showing move modal

* feat: allow adding custom categories to list

* breaking: dont load entire category tree on post queue

removed unused code
add hooks to filter/selector
add options to filter/selector

* feat: make selector modal work again

* feat: replace old search module

* fix: topic move selector

* feat: dont load all categories on create category modal

* fix: fix more categorySelectors

* feat: dont load entire category tree on group details page

* feat: dont load all categories on home page and user settings page

* feat: add pagination to /user/:userslug/categories

* fix: update schemas

* fix: more tests

* fix: test

* feat: flags page, dont return entire category tree

* fix: flag test

* feat: categories manage page

dont load all categories
allow changing root category
clear caches properly

* fix: spec

* feat: admins&mods page

dont load all categories

* fix: spec

* fix: dont load all children when opening dropdown

* fix: on search results dont return all children

* refactor: pass all options, rename options.cids to options.selectedCids

* fix: #9266

* fix: index 0

* fix: spec

* feat: #9265, add setObjectBulk

* refactor: shoter updateOrder

* feat: selectors on categories/category

* fix: tests and search filter

* fix: category update test

* feat: pagination on acp categories page

show order in set order modal

* fix: allow drag&drop on pages > 1 in /admin/manage/categories

* fix: teasers for deep nested categories

fix sub category display on /category page

* fix: spec

* refactor: use eslint-disable-next-line

* refactor: shorter
2021-02-07 15:09:52 -05:00
renovate[bot]
2cfab3678e fix(deps): update dependency nodebb-theme-slick to v1.4.1 (#9262)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-07 13:35:59 -05:00
renovate[bot]
2147d386be fix(deps): update socket.io packages to v3.1.1 (#9253)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-07 13:35:22 -05:00
Renovate Bot
1fa0d4f45c fix(deps): update dependency postcss to v8.2.5 2021-02-06 20:50:42 +00:00
Misty (Bot)
73c9c1c25a Latest translations and fallbacks 2021-02-06 09:06:44 +00:00
Renovate Bot
42e365d913 fix(deps): update dependency nodebb-plugin-emoji-android to v2.0.1 2021-02-06 02:39:33 +00:00
Renovate Bot
4fd6027bca fix(deps): update dependency nodebb-plugin-markdown to v8.12.6 2021-02-06 00:31:14 +00:00
Barış Soner Uşaklı
e40af441c9 fix: cache key collision 2021-02-05 16:29:56 -05:00
Renovate Bot
8a2fe3d916 fix(deps): update dependency nodebb-plugin-mentions to v2.13.7 2021-02-05 21:11:01 +00:00
Julian Lam
a6fa351b72 feat: pass req.session into buildReqObject 2021-02-05 14:31:31 -05:00
Julian Lam
4f97639009 feat: new hook action:login.continue 2021-02-05 14:31:31 -05:00
Julian Lam
5c21c33e58 fix: tests breakage due to 67e3fb6498 2021-02-05 14:31:31 -05:00
Renovate Bot
2326e9a6a7 fix(deps): update dependency nodebb-theme-vanilla to v11.4.2 2021-02-05 19:10:09 +00:00
Renovate Bot
9245ffaf16 fix(deps): update dependency nodebb-theme-persona to v10.5.3 2021-02-05 18:07:01 +00:00
Julian Lam
67e3fb6498 fix: register returnTo logic to match login route
Login route saves the previous page by checking for the X-Return-To header. This header is automatically set by ajaxify.
Login takes this value and saves it to `req.session`.

Up until now, `/register` saved the previous URL in a hidden input, and redirected based on that value, but it occasionally conflicted with req.session.returnTo. It was also confusing because it did not match how login handled the values.

This commit updates the route handling so it works identically to `/login`.
2021-02-05 11:49:48 -05:00
Misty (Bot)
9576bec6c3 Latest translations and fallbacks 2021-02-05 09:08:37 +00:00
Julian Lam
492cbc6227 fix: tests
/cc @pitaj
2021-02-04 14:34:57 -05:00
Peter Jaszkowiak
5e5d37c38f fix(#9252): pass site domain to nodemailer (#9254) 2021-02-04 12:08:14 -05:00
Misty (Bot)
4939837d5b Latest translations and fallbacks 2021-02-04 09:08:15 +00:00
Julian Lam
f79aeef889 fix: posts.uploads.sync dissociates uploaded thumbs of the main pid 2021-02-03 17:02:33 -05:00
Julian Lam
28b3013424 test: added more topic thumbnail tests
... to test for post upload tracking logic
2021-02-03 16:34:39 -05:00
Julian Lam
74be1a5963 chore: fallbacks 2021-02-03 15:26:45 -05:00
Julian Lam
68da1c558f fix: update grammar on unban text 2021-02-03 15:22:44 -05:00
Julian Lam
c729adeb08 fix: privileges page - tweak icon position and width, group name wrapping 2021-02-03 15:22:44 -05:00
gasoved
970bd06fd2 refactor: improvements 2021-02-03 15:22:44 -05:00
gasoved
53e0d4d2e0 feat: banned-users group 2021-02-03 15:22:44 -05:00
Renovate Bot
389690c3fa fix(deps): update dependency nodebb-plugin-dbsearch to v4.2.0 2021-02-03 18:14:07 +00:00
Renovate Bot
13e12c9565 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.7 2021-02-03 11:40:44 -05:00
Renovate Bot
0aa8e03f34 fix(deps): update dependency json2csv to v5.0.6 2021-02-03 16:16:27 +00:00
Julian Lam
4af9c2fcdd fix: autofocus on search field in ACP > Manage > Plugins 2021-02-03 10:08:14 -05:00
Julian Lam
44019e2805 fix(deps): bump theme deps for #9244 2021-02-03 09:49:58 -05:00
gasoved
cabec378f4 fix: openapi test specs 2021-02-03 09:49:28 -05:00
gasoved
7c9674de6c fix: include admins 2021-02-03 09:49:28 -05:00
gasoved
a2a7557cc0 refactor: update dom after diff deletion better 2021-02-03 09:49:28 -05:00
gasoved
eaf9d2e44a fix: include admins, limit to category mods, correct privilege name 2021-02-03 09:49:28 -05:00
gasoved
4447a64eaa refactor: removed 3 lines 2021-02-03 09:49:28 -05:00
gasoved
72b050b4a8 test: post diff deletion tests 2021-02-03 09:49:28 -05:00
gasoved
eb642f40b9 feat: #9109, ability to delete a post's diffs 2021-02-03 09:49:28 -05:00
Misty (Bot)
a87416971b Latest translations and fallbacks 2021-02-03 09:07:44 +00:00
Renovate Bot
56e4e56b57 fix(deps): update dependency mongodb to v3.6.4 2021-02-02 23:10:49 +00:00
Julian Lam
bd5839639d fix: http 200 test for api routes 2021-02-02 12:08:31 -05:00
Julian Lam
501441b736 feat: add .delete() method to api module 2021-02-02 10:27:34 -05:00
psychobunny
58655e9a0b fix: invalid API call when unfollowing a user 2021-02-02 10:16:03 -05:00
Misty (Bot)
526df41db1 Latest translations and fallbacks 2021-02-02 09:07:11 +00:00
Barış Soner Uşaklı
833c73e81b fix: example 2021-02-01 22:21:19 -05:00
Barış Soner Uşaklı
cc560ca3f9 feat: doc add description 2021-02-01 22:08:56 -05:00
Barış Soner Uşaklı
8e85a28d85 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-02-01 22:08:51 -05:00
Renovate Bot
0441144968 fix(deps): update dependency nodebb-theme-persona to v10.5.1 2021-02-01 22:03:58 -05:00
Barış Soner Uşaklı
ed11e17129 feat: add doc for query param 2021-02-01 22:03:44 -05:00
Barış Soner Uşaklı
fffdc4e0ca feat: #9234, add pagination to /api/recent/posts/:term? 2021-02-01 21:38:26 -05:00
Opliko
2bc74cffe6 fix: #9127, scope service worker to relative_path for the forum (#9239)
Adds a `Service-Worker-Allowed` header on `assets/src/service-worker.js` URL and uses `scope` option during registration to ensure the service worker is correctly scoped to the entire forum and only the forum.
2021-02-01 19:40:14 -05:00
renovate[bot]
897d29ecd6 fix(deps): update dependency nodebb-theme-vanilla to v11.4.0 (#9238)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-01 17:52:25 -05:00
renovate[bot]
8e2deab4ad fix(deps): update dependency nodebb-theme-slick to v1.4.0 (#9237)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-01 17:50:09 -05:00
renovate[bot]
4f842a79f2 fix(deps): update dependency nodebb-theme-persona to v10.5.0 (#9236)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-01 17:33:51 -05:00
Renovate Bot
47fd1634b6 fix(deps): update dependency nodebb-theme-lavender to v5.2.0 2021-02-01 21:29:50 +00:00
Barış Soner Uşaklı
d1364c3130 Categories refactor (#9233)
* feat: wip categories pagination

* feat: add subCategoriesPerPage setting

* feat: add load more sub categories button to category page

* fix: openapi spec

* feat: show sub categories left on category page

hide button when no more categories left

* breaking: rename categories to allCategories on /search

categories contains the search results

* fix: spec

* refactor: remove cidsPerPage

* fix: tests

* feat: use component for subcategories

* fix: prevent negative subCategoriesLeft
2021-02-01 15:19:32 -05:00
Barış Soner Uşaklı
4c12e0aaf8 fix: update docs 2021-02-01 15:16:36 -05:00
Julian Lam
d6f60f4502 fix: broken test after sorted-lists logic change 2021-02-01 14:51:16 -05:00
Julian Lam
d5d24594e8 feat: allow sorted-lists on multiple pages
If multiple sorted-lists were on separate pages, saving one page would erase the sorted-lists saved on the other page. This was caused by naive deletion of the sorted-lists index on settings save.

At the same time, a bug was found where if fewer items were passed in, only that many items were removed from the database, leaving leftover orphan data in the database.

The logic now:

- Only removes sorted-lists if they are passed in (and empty)
- Deletes all sorted list items, not just the items passed in.
2021-02-01 11:47:26 -05:00
Barış Soner Uşaklı
9834f72fc7 fix: clear all locks on restart 2021-02-01 11:31:47 -05:00
Barış Soner Uşaklı
f6cd2862bd feat: #9232, add profile picture into exported zip 2021-02-01 11:31:30 -05:00
Julian Lam
5131eb6b90 fix: action:admin.settingsLoaded to use new hooks lib 2021-01-31 16:59:03 -05:00
Julian Lam
b0f5d5a594 fix: crash on firing action hook that had no listeners registered 2021-01-31 16:59:03 -05:00
Julian Lam
1a04ec6419 fix: bug where action:settings.sorted-list.loaded fired early
The hook was fired before the elements had been added to the DOM.

Also, I updated it to use the new hooks lib.
2021-01-31 16:59:03 -05:00
Julian Lam
a8be6fb8fb fix: regression where filter:settings.set no longer received sorted-lists 2021-01-31 16:59:03 -05:00
Barış Soner Uşaklı
5bc1f5b4e8 fix: #9231, fix redis pubsub connection
regression from fdfbc90255
2021-01-31 12:37:28 -05:00
Renovate Bot
3696a19970 chore(deps): update dependency eslint to v7.19.0 2021-01-31 07:07:45 +00:00
Barış Soner Uşaklı
a29dd21de4 fix: don't translate message on every ajaxify 2021-01-30 15:01:43 -05:00
Misty (Bot)
195e688bac Latest translations and fallbacks 2021-01-30 09:06:05 +00:00
Renovate Bot
1e10ebfb68 fix(deps): update dependency nodebb-plugin-dbsearch to v4.1.3 2021-01-29 23:33:20 +00:00
Julian Lam
05c53394f3 fix: tests 2021-01-29 17:05:45 -05:00
Julian Lam
7419922040 fix: improper override of req.body.username in login logic 2021-01-29 17:03:44 -05:00
Julian Lam
b820d23401 feat: new hook filter:login.override, deprecate action:auth.overrideLogin 2021-01-29 16:59:57 -05:00
Julian Lam
473d5f4aba fix: full settings hash not passed through to action:settings.set
The sorted lists were being filtered out
2021-01-29 15:18:57 -05:00
Julian Lam
eb96046e97 Revert "refactor: use Map to track sorted lists in Settings.set()"
This reverts commit 65de2e76b4.
2021-01-29 15:07:09 -05:00
Julian Lam
65de2e76b4 refactor: use Map to track sorted lists in Settings.set() 2021-01-29 15:00:14 -05:00
Baris Usakli
a5bf9779fd fix: #9223, don't overwrite stmp settings 2021-01-29 14:22:08 -05:00
Renovate Bot
0e2b329bb7 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.6 2021-01-29 19:00:52 +00:00
Julian Lam
4029ec3713 fix: multiple sorted-lists do not save to the correct set 2021-01-29 13:39:00 -05:00
Renovate Bot
6c3b1fde87 fix(deps): update dependency autoprefixer to v10.2.4 2021-01-29 18:37:56 +00:00
Misty (Bot)
406faf4c66 Latest translations and fallbacks 2021-01-29 09:10:35 +00:00
Renovate Bot
05901fcd3a fix(deps): update dependency nodebb-plugin-markdown to v8.12.5 2021-01-28 23:47:56 +00:00
Julian Lam
3052256db3 chore: deprecation notices for plugins using plugin old hook methods 2021-01-28 17:15:51 -05:00
Julian Lam
15ba0abb34 docs: update deprecation-removal version for plugin hook helper methods in 1.18.0 2021-01-28 16:23:03 -05:00
Julian Lam
f8bf9e99c4 fix: pass module name to static:script.init, +comments
I feel it is difficult to know exactly what the original use-cases were for these hooks, so some comments may be helpful.
2021-01-28 16:15:04 -05:00
Julian Lam
4bb3b0323d feat: guard password fields in login/register against accidental caps lock 2021-01-28 15:00:26 -05:00
Barış Soner Uşaklı
e8429f509b fix: handle delete and update for categories:name zset 2021-01-28 10:18:09 -05:00
Misty (Bot)
53a6dca3c6 Latest translations and fallbacks 2021-01-28 09:10:07 +00:00
Renovate Bot
a9b3fb373b fix(deps): update dependency nodebb-theme-persona to v10.4.1 2021-01-28 05:36:58 +00:00
Barış Soner Uşaklı
34c42c6fa3 feat: ability to search categories, #8813 2021-01-27 22:51:22 -05:00
Barış Soner Uşaklı
faeb637353 fix: tests remove old routes 2021-01-27 20:30:33 -05:00
Barış Soner Uşaklı
d41ce87334 fix: removed object routes 2021-01-27 17:44:48 -05:00
Barış Soner Uşaklı
a1c014462c revert: bring back backwards compat 2021-01-27 17:41:07 -05:00
Barış Soner Uşaklı
647d3ba810 fix: removed methods 2021-01-27 17:36:58 -05:00
Barış Soner Uşaklı
05be1c6603 feat: restore action:script.load, allow modifying loaded module via static:script.init 2021-01-27 17:21:08 -05:00
Renovate Bot
a90773a61d fix(deps): update dependency sharp to v0.27.1 2021-01-27 22:02:21 +00:00
Julian Lam
fb84c78544 chore: remove deprecated User.emailConfirm [breaking]
Use `User.email.confirmByCode` instead.
2021-01-27 16:21:53 -05:00
Julian Lam
5a775e09dc chore: remove deprecated plugin hook filter:privileges:isUserAllowedTo [breaking]
Use `filter:privileges:isAllowedTo` instead.
2021-01-27 16:20:45 -05:00
Julian Lam
d41de481a4 chore: remove deprecated plugin hook methods [breaking]
Call plugins.hooks.fire() instead.
2021-01-27 16:18:19 -05:00
Julian Lam
cc0d562e9a chore: more removals of thumb specific backwards-compatibility [breaking] 2021-01-27 16:17:14 -05:00
Julian Lam
8b09292e77 chore: add deprecation notice in comments for ajaxify.loadExtraScripts 2021-01-27 16:10:19 -05:00
Julian Lam
5f9f241e37 chore: remove deprecated filter:admin/header.build hook [breaking]
Use `filter:middleware.renderAdminHeader` instead.
2021-01-27 16:10:19 -05:00
Julian Lam
84dfdfe659 chore: remove deprecated v2 style responses for thumbs upload route [breaking] 2021-01-27 16:10:13 -05:00
Julian Lam
2ad0d0d0d8 chore: remove deprecated getObject routes [breaking]
`/api/post/pid/:pid`, `/api/topic/tid/:tid`, `/api/category/cid/:cid` have now been removed in favour of routes in the Write API (`/api/v3/(posts|topics|categories)/:id`)
2021-01-27 16:07:00 -05:00
Julian Lam
7b090c588b fix: incorrect return for Thumbs.get() if thumbs were disabled 2021-01-27 14:33:40 -05:00
Julian Lam
7da1b43f2b fix: script failure if client-side page script does not exist 2021-01-27 14:32:15 -05:00
Julian Lam
ca14c0e2a6 fix(deps): bump persona to get timeline style 2021-01-27 14:00:14 -05:00
Julian Lam
aa8b84bb56 fix(topic-events): topicEvents.init() test 2021-01-27 13:16:49 -05:00
Julian Lam
dc84559d0b feat(topic-events): topic events GET route in write API 2021-01-27 13:16:49 -05:00
Julian Lam
449c379d22 feat(topic-events): server-side tests for topic events 2021-01-27 13:16:49 -05:00
Julian Lam
0d4a377558 feat(topic-events): clear out topic events when a topic is purged 2021-01-27 13:16:49 -05:00
Julian Lam
8e93bf7362 feat(topic-events): client-side handling on topic event log 2021-01-27 13:16:49 -05:00
Julian Lam
df2fdd56ba fix(topic-events): repeated invocations of Posts.addTopicEvents caused dupes to be added to DOM 2021-01-27 13:16:49 -05:00
Julian Lam
9559fad8ac refactor(topic-events): expose addTopicEvents method in topic posts lib
+ allow it to accept an array of events, or fall back to ajaxify data otherwise
2021-01-27 13:16:49 -05:00
Julian Lam
cec3fc934d refactor(topic-events): break out some logic in events.get into local modifyEvent method
+ events.log now returns a complete event object
2021-01-27 13:16:49 -05:00
Julian Lam
882e6a159c feat(topic-events): handle newest_to_oldest sort in topic events, WIP 2021-01-27 13:16:49 -05:00
Julian Lam
2293a07a06 feat(topic-events): generic css for timeline-event 2021-01-27 13:16:49 -05:00
Julian Lam
611d1f872d feat(topic-events): support for uids in topic event payloads 2021-01-27 13:16:49 -05:00
Julian Lam
425eca145b refactor(topic-events): fire topic event logging in topics/tools instead, pass uid into payload 2021-01-27 13:16:49 -05:00
Julian Lam
ab2e1ecb40 feat(topic-events): work in progress topic events logic and client-side implementation 2021-01-27 13:16:49 -05:00
Julian Lam
faf5960373 fix: bug where action:ajaxify.end was never called if there were no init scripts 2021-01-27 12:23:02 -05:00
Julian Lam
8e5687a4af refactor(hooks): deprecate action:script.load client-side hook
Use `static:script.init` instead.
2021-01-27 12:23:02 -05:00
Julian Lam
efff8e2ae2 fix(hooks): bug where hook firing would fail if there were no listeners 2021-01-27 12:23:02 -05:00
Julian Lam
e7bd038db1 refactor(hooks): better error handling
Hook listeners can both throw and reject, and it will be handled appropriately (e.g. filters won't fail)
2021-01-27 12:23:02 -05:00
Julian Lam
8ff07bc196 fix: update js concatenation logic to bundle scripts.rjs into minfile regardless of build environment
The slowdown is fairly insignificant (< .1s), and the only change is the minified file is identical across environments, which is better from a debugging standpoint
2021-01-27 12:23:02 -05:00
Julian Lam
1d77572117 feat(hooks): update action:ajaxify.end to use new hooks module 2021-01-27 12:23:02 -05:00
Julian Lam
412d285850 fix(hooks): fallback handling for core invocations of hooks.fire
+ .on() which is the same as .register()
2021-01-27 12:23:02 -05:00
Julian Lam
01c9b1847e feat(hooks): client-side hooks module
Similar to server-side, comes with three hook types, filter, action, and static. Behaviour also mimics server-side.
2021-01-27 12:23:02 -05:00
Misty (Bot)
42c0f9ac52 Latest translations and fallbacks 2021-01-27 09:11:26 +00:00
Misty (Bot)
39bc741bca Latest translations and fallbacks 2021-01-26 09:10:04 +00:00
Julian Lam
f975063b7d fix: #7125, allow list for page route, configurable via plugin hook 2021-01-25 16:01:10 -05:00
Julian Lam
8b72479f62 fix: remove 'filters' and 'categories' from flag details API return [breaking]
These options were originally used when the flag filters were shown in the sidebar. This has seen been removed, and so the information is now superfluous
2021-01-25 12:13:09 -05:00
Julian Lam
1603566bcc fix: filtering logic of flags [breaking]
When combining filters, the old logic assumed that every filter was
exclusive, unless that filter contained multiple items, in which
case it was added to a list of "or" filters that returned all
matching flags.

A fault was discovered in that if you passed in multiple "or"
states, it did not return flags with the expected filtering.

e.g. open flags, closed flags, flags of cid 1, flags of cid 2

This could return open flags of cid 3, since all of the filters
were "OR"'d.

This logic change updates the behaviour so disparate OR sets are
intersected (ANDed).
2021-01-25 11:29:00 -05:00
Julian Lam
942d924779 fix: error on flag list if no flag filters were saved in session 2021-01-25 11:19:16 -05:00
Julian Lam
6b1c97db79 feat: feature flag for auto-resolving a user's flags on ban [breaking]
The default behaviour has now been changed to 'off'. Going forward, a user's flags will no longer automatically resolve on ban.
2021-01-25 11:07:29 -05:00
Misty (Bot)
a396b1099c Latest translations and fallbacks 2021-01-25 09:09:10 +00:00
Julian Lam
35c92d0cff fix: mod cid filter accidentally saved in session 2021-01-24 14:23:00 -05:00
Julian Lam
ce7c74b2e1 fix: more tests for #9217 2021-01-24 14:11:47 -05:00
Julian Lam
f2a5cd0b67 fix: tests for #9217 2021-01-24 14:05:11 -05:00
Julian Lam
27cae0d5d8 fix: missing return for #9217 2021-01-24 14:01:16 -05:00
Julian Lam
b2b1450e5d fix: #9217, render 400 error page on bad access to /register 2021-01-24 13:59:16 -05:00
Misty (Bot)
06e2ef1a8e Latest translations and fallbacks 2021-01-24 09:06:49 +00:00
Misty (Bot)
65849d9b93 Latest translations and fallbacks 2021-01-23 09:06:25 +00:00
Barış Soner Uşaklı
78896fc623 fix: redis check compat tests 2021-01-23 00:04:48 -05:00
Barış Soner Uşaklı
fdfbc90255 feat: async/await redis connection 2021-01-22 23:59:52 -05:00
Barış Soner Uşaklı
33bf1b0e2c feat: async/await psql connection 2021-01-22 22:10:34 -05:00
Barış Soner Uşaklı
672959c13f feat: add group name to csv event 2021-01-22 13:14:14 -05:00
Julian Lam
a186ea0fe3 fix: registration completion overriding returnTo if it was already set 2021-01-22 10:01:42 -05:00
Julian Lam
280285cda9 feat: allow interstitial callbacks to be async functions [breaking]
This change is breaking in the sense that if you have written
interstitial callbacks before that are async functions _with_ a
callback, those are no longer allowed. You will not need to call
next() as that argument will no longer be passed in to async
functions.
2021-01-22 10:01:42 -05:00
Misty (Bot)
d1f78cb8c0 Latest translations and fallbacks 2021-01-22 09:09:56 +00:00
Renovate Bot
5b2f0be080 fix(deps): update dependency postcss to v8.2.4 2021-01-21 14:43:12 -05:00
Renovate Bot
d99cb1cf83 fix(deps): update dependency autoprefixer to v10.2.3 2021-01-21 19:22:52 +00:00
Renovate Bot
4232d97b57 fix(deps): update dependency postcss-clean to v1.2.0 2021-01-21 16:24:03 +00:00
Barış Soner Uşaklı
525fbeeb4d Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-01-20 20:17:12 -05:00
Barış Soner Uşaklı
5c1b742979 fix: add missing user delete event types 2021-01-20 20:16:32 -05:00
psychobunny
1c42060241 fix: missing option for user-deleteAccount on ACP Events page 2021-01-20 20:16:24 -05:00
Misty (Bot)
ea7f838170 chore: incrementing version number - v1.16.2
(cherry picked from commit 023e4cfcee)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2021-01-21 00:43:53 +00:00
Misty (Bot)
d3883d4bd9 chore: update changelog for v1.16.2 2021-01-21 00:43:53 +00:00
renovate[bot]
b5cb2f8b9c fix(deps): update dependency bootbox to v5 (#8751)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-20 16:50:41 -05:00
Misty (Bot)
a55051de2f Latest translations and fallbacks 2021-01-20 09:09:28 +00:00
Barış Soner Uşaklı
7fb583dcfd Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-01-18 19:31:14 -05:00
Barış Soner Uşaklı
c608b0e8a3 fix: https://github.com/NodeBB/nodebb-plugin-webhooks/issues/3 2021-01-18 19:31:07 -05:00
Julian Lam
d85ad10d34 fix: restored sanity checks for post move socket calls 2021-01-18 15:47:15 -05:00
Julian Lam
966c4117ec refactor(api): post move to write API 2021-01-18 15:31:14 -05:00
Barış Soner Uşaklı
0fa4c11ea6 fix: don't chagne scrollTop if at the top of page 2021-01-18 14:52:52 -05:00
Julian Lam
e118e59ce0 refactor(api): post diffs to use write API 2021-01-18 14:26:22 -05:00
Barış Soner Uşaklı
c2e2370655 feat: add filter:email.cancel to allow plugins to cancel sending emails 2021-01-18 13:34:28 -05:00
Barış Soner Uşaklı
1590cdf19f fix: #9206, fix double escaped arguments 2021-01-17 20:22:46 -05:00
Julian Lam
f5fcd232f6 fix: regression caused by 77ab46686d
Access checks were added for topic GET route, but occasionally a post_uuid is passed in, which is available to everyone, and so checks should be skipped
2021-01-17 15:43:29 -05:00
Barış Soner Uşaklı
4fb907875e fix: don't crash if fullname is not a string
https://community.nodebb.org/topic/15291/upgrade-error-fullname-substr-is-not-a-function
2021-01-17 13:10:28 -05:00
Barış Soner Uşaklı
1374e0eeba refactor: change var to const 2021-01-16 12:54:11 -05:00
Barış Soner Uşaklı
7a790d1830 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-01-16 09:40:00 -05:00
Barış Soner Uşaklı
00ba89b6d6 fix: #9204, bypass groupname length check for system group in upgrade script 2021-01-16 09:37:32 -05:00
Renovate Bot
f16cdc9f0a fix(deps): update dependency nodebb-theme-persona to v10.3.19 2021-01-16 06:15:50 +00:00
Renovate Bot
a6f5de8690 chore(deps): update dependency husky to v4.3.8 2021-01-16 04:51:15 +00:00
Renovate Bot
afbef95f7d chore(deps): update dependency eslint to v7.18.0 2021-01-16 03:42:58 +00:00
Barış Soner Uşaklı
9938a139fe fix: add missing await 2021-01-15 14:42:19 -05:00
Barış Soner Uşaklı
ceb1566834 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-01-15 14:41:57 -05:00
Barış Soner Uşaklı
25ab99b91d refactor: single remove call 2021-01-15 14:41:45 -05:00
Misty (Bot)
43ff8e4197 chore: incrementing version number - v1.16.2-beta.0 2021-01-15 15:31:56 +00:00
Misty (Bot)
a972b5a77a Latest translations and fallbacks 2021-01-15 09:08:26 +00:00
Renovate Bot
3d1224e18d fix(deps): update socket.io packages to v3.1.0 2021-01-15 03:20:58 +00:00
Julian Lam
ab11435ed5 feat: grant plugins the ability to specify options to the SSO handler
... to be handled in the plugin itself (overriding the passport prototype's authorizationParams method)

+ new hook filter:auth.options
2021-01-13 16:57:48 -05:00
Julian Lam
9b289eca9d fix: ssoState passed to strategies even if not called for 2021-01-13 16:25:19 -05:00
Barış Soner Uşaklı
3d36208877 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-01-13 11:37:22 -05:00
Barış Soner Uşaklı
0a471b76b5 fix: use max 2021-01-13 11:37:15 -05:00
Barış Soner Uşaklı
c30b40abe7 fix: keep 60 topics minimum on topic list 2021-01-13 11:35:18 -05:00
Julian Lam
fdf0347240 style: update codeclimate config to be less sensitive to duplicate code blocks
After conversing with Dave from CodeClimate, he suggested these changes to adjust CodeClimate's detection so that it does not alert as frequently for code blocks that are similar, but functionally different. I also added a line to enforce the rule of threes, since CC often alerted only when two blocks were identical.
2021-01-13 10:26:43 -05:00
Misty (Bot)
fc3a0bd427 Latest translations and fallbacks 2021-01-13 09:08:53 +00:00
Julian Lam
77ab46686d fix: access checks for tags and thumbs get route 2021-01-12 17:38:35 -05:00
Julian Lam
c0fb1cb59c fix: #9194 global mods unable to pin or unpin topics 2021-01-12 14:02:12 -05:00
Barış Soner Uşaklı
286aa243f5 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-01-12 11:19:15 -05:00
Barış Soner Uşaklı
ef16cd2e6f fix: #9192, exit after logging error 2021-01-12 10:46:55 -05:00
Misty (Bot)
a26bfb3fda Latest translations and fallbacks 2021-01-12 09:08:47 +00:00
Renovate Bot
1901ecb244 fix(deps): update dependency nodebb-theme-slick to v1.3.8 2021-01-12 04:36:38 +00:00
gasoved
69419571a9 fix: make sure inviter user exists 2021-01-11 17:00:17 -05:00
Julian Lam
a407a51da6 fix: #9178 missing language strings (and fallbacks) for post-queue 2021-01-11 14:47:09 -05:00
Barış Soner Uşaklı
a82f943c76 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-01-11 14:35:48 -05:00
Barış Soner Uşaklı
89e6c75d58 fix: #9185, fix string boolean values 2021-01-11 14:35:23 -05:00
Julian Lam
e817d5beda fix: test for topicThumbs 2021-01-11 14:31:47 -05:00
Julian Lam
66da6bcd1c fix: #9184 proper relative_path usage in topic thumbs.get 2021-01-11 13:28:04 -05:00
Misty (Bot)
d90c7ff43b Latest translations and fallbacks 2021-01-11 09:08:27 +00:00
Misty (Bot)
6c855bf48e Latest translations and fallbacks 2021-01-10 09:08:11 +00:00
Misty (Bot)
96280d76af Latest translations and fallbacks 2021-01-09 09:07:47 +00:00
Julian Lam
b742229e59 fix: #9169, re-adding v2-style behaviour so as to not break the API... yet 2021-01-08 15:12:33 -05:00
Barış Soner Uşaklı
aa95cc7d60 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-01-08 14:19:37 -05:00
Barış Soner Uşaklı
eaf62d39fd fix: #9177, handled multiple deleted users properly 2021-01-08 14:19:25 -05:00
Julian Lam
4ede18ce5f fix: broken test caused by errant .pop(), missing await 2021-01-08 14:15:54 -05:00
Julian Lam
c07e1e16af feat: add unread-count badge if navigator contains /flags route 2021-01-08 14:15:54 -05:00
Julian Lam
6a1311b4bc refactor: flags lib to have a separate getFlagIdsWithFilters method
added quick filter for unresolved flags
2021-01-08 14:15:54 -05:00
Julian Lam
6cb5888c13 fix: unescape header navigation originalRoute [breaking] 2021-01-08 14:15:54 -05:00
Julian Lam
03a0e72fae refactor: split out logic dedicated to calculating unread counts, to a separate local method 2021-01-08 14:15:54 -05:00
Barış Soner Uşaklı
5cae95eb9f Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-01-08 13:33:00 -05:00
Barış Soner Uşaklı
d83d40cf9b fix: missing error message 2021-01-08 12:01:44 -05:00
Renovate Bot
36069da2f8 fix(deps): update dependency sortablejs to v1.13.0 2021-01-08 04:53:57 +00:00
Renovate Bot
5b3c48fd02 fix(deps): update dependency autoprefixer to v10.2.1 2021-01-08 03:17:34 +00:00
Manuel Valle
e14b67786c Solve Custom home page route error bug (#9180)
When you select Custom Route as home you get a 404 error "/custom not found" error.
This because 'homePageRoute' property was used instead of 'homePageCustom'
2021-01-07 21:44:02 -05:00
Barış Soner Uşaklı
8ece64ab82 fix: test for https://github.com/NodeBB/NodeBB/pull/9180 2021-01-07 21:42:19 -05:00
Barış Soner Uşaklı
7069735aa2 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-01-07 20:58:53 -05:00
Barış Soner Uşaklı
da54697075 fix: #9176, limit description size 2021-01-07 20:58:45 -05:00
Julian Lam
9534d95619 fix: broken test due to change in response code 2021-01-07 15:11:45 -05:00
Julian Lam
0da2843281 feat(api): schema definition for new credential checking route 2021-01-07 15:11:45 -05:00
Julian Lam
97d678fd2a fix: return a user object, not an array of user objects (in v3 login check route) 2021-01-07 15:11:45 -05:00
Julian Lam
8c86f5bcec fix: bad execution flow in utilities.login 2021-01-07 15:11:45 -05:00
Julian Lam
87a7d85e89 fix: missing breadcrumbs in schema 2021-01-07 15:11:45 -05:00
Julian Lam
534224133b fix: random loadFiles added by errant vscode autocompletion 2021-01-07 15:11:45 -05:00
Julian Lam
8bbb320867 feat: handle HTTP 429 as a response code 2021-01-07 15:11:45 -05:00
Julian Lam
56f929ed4f feat: add write API route for checking login credentials 2021-01-07 15:11:45 -05:00
Julian Lam
1cf0032d9f feat: allow override of local fns in login controller, 400 instead of 500 for wrong login type [breaking] 2021-01-07 15:11:45 -05:00
Renovate Bot
d3e041e292 chore(deps): update dependency husky to v4.3.7 2021-01-07 04:36:33 +00:00
Barış Soner Uşaklı
6cbb77afda fix: add missing breadcrumb on /user/<slug>/categories 2021-01-06 22:00:56 -05:00
Barış Soner Uşaklı
f0dd302c77 perf: use only required calls 2021-01-06 21:25:32 -05:00
Peter Jaszkowiak
a51c5698c7 fix: --help usage info
yargs (via nconf) would exit when detecting a help flag

also improves the speed of `./nodebb help build`
2021-01-06 20:43:07 -05:00
Barış Soner Uşaklı
072a0e32d8 feat: #8813, faster category search dropdown
when you have 4k+ categories manipulating DOM becomes very slow
clone the list and manipulate it outside of DOM, replace list on DOM when search is done
add utils.debounce so list is updated slower
2021-01-06 17:04:18 -05:00
Misty (Bot)
e3cd7a2343 chore: incrementing version number - v1.16.1
(cherry picked from commit 7fb032b396)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2021-01-06 19:17:56 +00:00
Misty (Bot)
b6d71710a0 chore: update changelog for v1.16.1 2021-01-06 19:17:56 +00:00
Julian Lam
171017c38c fix: #9130, remove timestamp prefix from thumbnail names in API response 2021-01-06 12:15:32 -05:00
Barış Soner Uşaklı
8c31afae7d feat: #9173, show installed plugin versions in ./nodebb plugins 2021-01-06 11:52:19 -05:00
Misty (Bot)
afe6d84710 Latest translations and fallbacks 2021-01-06 09:09:57 +00:00
Renovate Bot
e445ae5a7a fix(deps): update dependency autoprefixer to v10.2.0 2021-01-06 04:23:40 +00:00
Julian Lam
b9ba44edd7 fix: #9166 missing relative path in topic thumbs modal and topic list 2021-01-05 13:40:36 -05:00
Renovate Bot
fd045c67c9 fix(deps): update socket.io packages to v3.0.5 2021-01-05 13:38:31 +00:00
Barış Soner Uşaklı
0d7dfeeb86 chore: increase test timeout 2021-01-04 17:09:14 -05:00
Barış Soner Uşaklı
1968bf50f1 fix: #9163, fix total connection count on ACP
sockets.sockets is a JS map in 3.x
2021-01-04 16:58:29 -05:00
Renovate Bot
87e333b44f fix(deps): update dependency nodebb-theme-persona to v10.3.16 2021-01-04 20:20:22 +00:00
Renovate Bot
4524f825d4 fix(deps): update dependency benchpressjs to v2.4.0 2021-01-04 18:52:33 +00:00
Misty (Bot)
5fcf3ea61b chore: incrementing version number - v1.16.1-beta.0 2021-01-04 14:40:53 +00:00
Misty (Bot)
ebf1624a90 Latest translations and fallbacks 2021-01-02 09:07:42 +00:00
Renovate Bot
18ae7cf719 chore(deps): update dependency eslint to v7.17.0 2021-01-02 03:44:22 +00:00
Misty (Bot)
d1700c40e2 Latest translations and fallbacks 2020-12-31 09:09:40 +00:00
Andrew Rodrigues
4d6ddf6dbf feat: added note that you can now upload videos 2020-12-31 00:17:10 -05:00
Julian Lam
e5edbc6faf feat: automatically attempt socket.io reconnection on ajaxify
Also, updated messaging and toaster to accurately reflect offline-mode state
2020-12-30 13:59:00 -05:00
Renovate Bot
189be9e0be fix(deps): update dependency nodebb-theme-persona to v10.3.15 2020-12-30 02:16:52 +00:00
Julian Lam
041d45c3d2 fix: genericise .necro-post, bump persona to latest 2020-12-29 16:34:05 -05:00
Julian Lam
edb8da1ef9 feat(api): closes #9123 category and topic routes migrated to Write API 2020-12-29 10:32:01 -05:00
Julian Lam
77a5adb616 fix(tests): handle nested allOf blocks 2020-12-29 10:32:01 -05:00
Julian Lam
9ecfac9b68 feat(api): #9123, migrate rest of the getObject controllers to Write API 2020-12-29 10:32:01 -05:00
Julian Lam
cdff8d286a chore(api): add deprecation notices re: #9123 2020-12-29 10:32:01 -05:00
Julian Lam
e267f29584 feat(api): #9123, migrate /api/post/pid/:pid to Write API 2020-12-29 10:32:01 -05:00
Misty (Bot)
1002c14aa2 Latest translations and fallbacks 2020-12-29 09:08:10 +00:00
Barış Soner Uşaklı
33290850ee fix: #9126, skip base64 and long values 2020-12-28 12:10:48 -05:00
Barış Soner Uşaklı
3121215e87 fix: #9127, use assets path 2020-12-28 12:03:27 -05:00
Barış Soner Uşaklı
c1ecfd1ebf feat: #9135, don't try to reconnect forever 2020-12-28 11:44:14 -05:00
Julian Lam
a555f02415 fix: inability for admins with setting privilege to save plugin settings 2020-12-28 11:09:40 -05:00
Julian Lam
fb3f3f729f refactor(openapi): update TopicObject component to reference TopicObjectSlim in its schema 2020-12-28 10:48:58 -05:00
Julian Lam
895e3d939e fix: #9149, server-side handling of disableChatMessageEditing 2020-12-28 10:20:52 -05:00
Julian Lam
d27815a8c0 fix: #9149, incorrect client-side disableChatMessageEditing value for admins/gmods 2020-12-28 09:51:28 -05:00
Barış Soner Uşaklı
20c1b684ed fix: #9151, dont use service worker for posts requests 2020-12-27 21:18:41 -05:00
Misty (Bot)
f1ec4961d9 Latest translations and fallbacks 2020-12-27 09:06:08 +00:00
Misty (Bot)
29fcdc4c22 Latest translations and fallbacks 2020-12-26 09:06:53 +00:00
Barış Soner Uşaklı
183cabe90f fix: #9150, fix selector so it doesn't add img-responsive to profile pics 2020-12-25 23:19:45 -05:00
Renovate Bot
1dd1d3b064 fix(deps): update dependency nodebb-widget-essentials to v5.0.2 2020-12-25 02:43:17 +00:00
Misty (Bot)
d85e351f43 Latest translations and fallbacks 2020-12-24 09:08:02 +00:00
Julian Lam
2874036024 fix: tests 2020-12-23 17:48:54 -05:00
Julian Lam
223f0a5515 feat(acp): admin tags privilege 2020-12-23 17:44:17 -05:00
Julian Lam
d90aa95808 feat: add confirmation modal when assigning admin:admins-mods privilege 2020-12-23 14:18:14 -05:00
Julian Lam
fb46a8d975 feat(acp): admins-mods privilege 2020-12-23 14:18:14 -05:00
Julian Lam
5b8558e9a5 feat: allow dashes in privilege group names 2020-12-23 14:18:14 -05:00
Julian Lam
3aa5beb832 feat: allow multiple privileges to be defined for a given admin socket call 2020-12-23 14:18:14 -05:00
renovate[bot]
f55dddb2be fix(deps): update dependency nodebb-widget-essentials to v5.0.1 (#9144)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-23 12:49:34 -05:00
Barış Soner Uşaklı
fcc1e24ad0 feat: rename admin middleware header hook 2020-12-23 10:47:51 -05:00
Renovate Bot
6d980d26d7 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.5 2020-12-23 10:03:55 -05:00
Misty (Bot)
c62a6b6ca8 Latest translations and fallbacks 2020-12-23 09:07:52 +00:00
Julian Lam
da191341e8 feat(acp): added new admin privilege for groups management 2020-12-22 21:45:51 -05:00
Julian Lam
3959a7bd9c fix(api): failing test due to missing file 2020-12-22 14:43:22 -05:00
Julian Lam
80ee3dfbd1 fix(api): tests 2020-12-22 14:39:48 -05:00
Barış Soner Uşaklı
931105e6cb fix: dont show deleted posts in navigator 2020-12-22 14:29:25 -05:00
Julian Lam
32e36f7b2e feat(api): group ownership API route, switch client-side to use API route 2020-12-22 14:26:31 -05:00
Julian Lam
98550d61d7 feat(api): add schema for groups update route 2020-12-22 13:22:01 -05:00
Julian Lam
4fc1337762 feat(api): added schema for email unsubscribe token 2020-12-22 13:22:01 -05:00
Julian Lam
501a7b7774 fix: bug in api path existence test
It was only checking for the path, but not ensuring that the method was also defined
2020-12-22 13:22:01 -05:00
Julian Lam
1cd2689cf6 refactor(api): deprecated groups update socket in favour of API lib 2020-12-22 13:22:01 -05:00
Julian Lam
e640a41a78 refactor(api): update group deletion calls to use write API 2020-12-22 13:22:01 -05:00
Renovate Bot
4919e5968d fix(deps): update dependency sharp to v0.27.0 2020-12-22 14:52:37 +00:00
Misty (Bot)
4ac13160b5 Latest translations and fallbacks 2020-12-22 09:09:07 +00:00
Barış Soner Uşaklı
2ef72a94c2 fix: #9136, fix move topic/post timeout errors 2020-12-21 11:19:51 -05:00
Julian Lam
34ccabe3ab fix: bad assignment logic in middleware.renderHeader 2020-12-21 10:02:28 -05:00
Julian Lam
75b1bbd09f feat: explicitly add filter:admin/header.build hook
As it is not fired during middleware.processRender
2020-12-21 09:59:19 -05:00
Julian Lam
05d8b3c339 chore: add deprecation notice to topic thumb tpl value 2020-12-21 09:59:19 -05:00
Renovate Bot
2610dfcf56 chore(deps): update dependency eslint to v7.16.0 2020-12-19 02:07:07 +00:00
Renovate Bot
37b35f7de0 fix(deps): update dependency nodebb-theme-persona to v10.3.12 2020-12-19 00:18:08 +00:00
Julian Lam
da4f91186b fix: #9113, wrong path separator used in thumbs.get 2020-12-18 16:50:31 -05:00
Peter Jaszkowiak
2be396ff6e fix: email testing and settings change from ACP
- changing email SMTP settings wouldn't apply the first time
- "Send Test Email" now will report emailer errors in most cases
2020-12-18 16:39:09 -05:00
Julian Lam
713f029dc8 fix: removing ability to specify deprecated topic 'thumb' on topic creation 2020-12-18 15:25:37 -05:00
Barış Soner Uşaklı
b369dc888b fix: #9129, event is fired on socket.io 2020-12-18 14:53:21 -05:00
Julian Lam
bbd97ccb48 fix: subfolder handling in tests 2020-12-18 14:01:41 -05:00
Julian Lam
5f038dffbd test: changed test a bit to see what is going on 2020-12-18 14:01:41 -05:00
Julian Lam
6062039de2 fix: .flat() not defined in v10, added debug router to exclusion list 2020-12-18 14:01:41 -05:00
Julian Lam
f416dc177a fix: all tests, wrap up work 2020-12-18 14:01:41 -05:00
Julian Lam
9c2de86a6e fix: two more routes 2020-12-18 14:01:41 -05:00
Julian Lam
cb32e32ae3 feat: fix more tests, add more routes, update api test suite 2020-12-18 14:01:41 -05:00
Julian Lam
14c51e3c60 feat: add registration/complete route, fix some other tests 2020-12-18 14:01:41 -05:00
Julian Lam
b9a61d2d45 fix: api tests 2020-12-18 14:01:41 -05:00
Julian Lam
600807fbe1 fix: don't return deleted: 0 for ephemeral groups 2020-12-18 14:01:41 -05:00
Julian Lam
9de35ec5a3 feat: add missing schemas for various ACP settings routes 2020-12-18 14:01:41 -05:00
Julian Lam
438fa5c88f fix: send fewer items to client-side for ACP settings/email page 2020-12-18 14:01:41 -05:00
Julian Lam
c079051b19 fix: errors in write-api schema 2020-12-18 14:01:41 -05:00
Julian Lam
8e5a413e4e chore: minor reordering of lines 2020-12-18 14:01:41 -05:00
Julian Lam
990f107736 fix: broken tests from last round of fixes 2020-12-18 14:01:41 -05:00
Julian Lam
a962935743 fix: bad error message for request body api test 2020-12-18 14:01:41 -05:00
Julian Lam
d6de925348 feat: add missing schema for category update and deletion
Deleted CategoryObj component, since CategoryObject is used more
2020-12-18 14:01:41 -05:00
Julian Lam
7fc329de2f fix: modify backreference test to not check router.all() calls 2020-12-18 14:01:41 -05:00
Julian Lam
eef052c1bf fix: add missing token generation route to write api spec 2020-12-18 14:01:41 -05:00
Julian Lam
d85181e031 feat: add schema for api ping routes 2020-12-18 14:01:41 -05:00
Julian Lam
878ee06715 refactor: schema backreference test to use map instead of reduce, properly check write-api routes 2020-12-18 14:01:41 -05:00
Julian Lam
df8d62ba06 feat: normalize paths before comparison 2020-12-18 14:01:41 -05:00
Julian Lam
dbe85630e3 feat: additional test to ensure any new routes added to express have a corresponding schema doc
re: #9103
2020-12-18 14:01:41 -05:00
Barış Soner Uşaklı
a2152dd100 feat: update html-to-text closes https://github.com/NodeBB/NodeBB/pull/8810 2020-12-18 11:18:49 -05:00
renovate[bot]
55a55ea284 chore(deps): update actions/setup-node action to v2 (#9115)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-18 11:01:44 -05:00
psychobunny
b8d4709eec fix(pwa): #9127 service-worker.js missing on subfolder installs 2020-12-18 10:03:36 -05:00
Renovate Bot
db4c68639d fix(deps): update dependency nodebb-theme-persona to v10.3.11 2020-12-17 20:32:37 -05:00
Barış Soner Uşaklı
b7b588f5c8 fix: trigger action:posts.edited 2020-12-17 20:30:13 -05:00
Misty (Bot)
6d01fd5028 chore: incrementing version number - v1.16.0
(cherry picked from commit 67ccc21760)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2020-12-17 23:59:27 +00:00
Misty (Bot)
1437c62f3a chore: update changelog for v1.16.0 2020-12-17 23:59:27 +00:00
renovate[bot]
fff0cea685 fix(deps): update dependency nodebb-plugin-composer-default to v6.5.4 (#9120)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-17 10:55:36 -05:00
Barış Soner Uşaklı
feecd66506 fix: api usage 2020-12-16 12:00:14 -05:00
Barış Soner Uşaklı
a15ef53c70 feat: add new client side hooks 2020-12-16 11:12:13 -05:00
Barış Soner Uşaklı
4404e32ed9 fix: #9117, lower query before search 2020-12-16 10:41:45 -05:00
Misty (Bot)
e99fe307b6 Latest translations and fallbacks 2020-12-16 09:11:01 +00:00
Barış Soner Uşaklı
ab96f526d6 feat: remove max age since cache is cleared when thumbs change 2020-12-15 19:15:10 -05:00
Barış Soner Uşaklı
3ed55799ab fix: #9114, fix client side groups update for memberPostCids 2020-12-15 16:32:24 -05:00
Barış Soner Uşaklı
acbf27ceea Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-12-14 21:49:14 -05:00
Barış Soner Uşaklı
2dee3cbe1a fix: test 2020-12-14 21:46:44 -05:00
renovate[bot]
30688b1b88 fix(deps): update dependency nodebb-theme-slick to v1.3.7 (#9112)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-14 21:28:41 -05:00
renovate[bot]
877f4673b0 fix(deps): update dependency nodebb-theme-lavender to v5.0.17 (#9111)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-14 21:26:50 -05:00
Barış Soner Uşaklı
2d5a224b06 perf: don't load thumbs if disabled globally, cache thumb results 2020-12-14 21:24:46 -05:00
Renovate Bot
ff18cdfa39 fix(deps): update dependency nodebb-theme-vanilla to v11.3.10 2020-12-15 01:43:47 +00:00
renovate[bot]
5d71834846 fix(deps): update dependency validator to v13.5.2 (#9094)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-14 20:35:45 -05:00
renovate[bot]
f37dbeedd5 fix(deps): update dependency nodebb-theme-vanilla to v11.3.9 (#9091)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-14 20:07:43 -05:00
gasoved
d28581eb6a feat: show alt text instead of images in teasers (#9107)
* feat: show alt text instead of images in teasers

* refactor: from utils to local function
2020-12-14 14:24:48 -05:00
gasoved
3ba0575584 fix: don't check "select all" if there are no enabled checkboxes 2020-12-14 08:08:57 -05:00
Misty (Bot)
850bf497ea Latest translations and fallbacks 2020-12-14 09:09:05 +00:00
Renovate Bot
2371b432af chore(deps): update dependency husky to v4.3.6 2020-12-13 20:52:53 +00:00
Renovate Bot
d036408d5a fix(deps): update dependency nodebb-plugin-composer-default to v6.5.3 2020-12-12 04:39:59 +00:00
Barış Soner Uşaklı
8f938eba19 fix: #9074, fix svg uploads 2020-12-11 22:50:42 -05:00
Julian Lam
ab98740821 fix: #9100 topic thumbs in OG image tags 2020-12-11 15:38:40 -05:00
Julian Lam
74d73313fd feat: migration of old topic thumbs to new format
closes #9099
2020-12-11 15:00:20 -05:00
Julian Lam
378a3a6945 fix: update version removal comments to 1.17 for some features 2020-12-11 12:26:53 -05:00
Julian Lam
4c87f30184 feat: allow plugins to override ACP relogin challenge
- used in 2factor
2020-12-11 11:50:24 -05:00
Misty (Bot)
e7ac767080 Latest translations and fallbacks 2020-12-11 09:07:17 +00:00
Barış Soner Uşaklı
80de572aa1 feat: add user.email.confirmByUid for sso plugins 2020-12-10 20:25:48 -05:00
Renovate Bot
b07fb9abca fix(deps): update dependency nodebb-plugin-composer-default to v6.5.2 2020-12-10 17:34:59 +00:00
Misty (Bot)
7eaedf4847 Latest translations and fallbacks 2020-12-10 09:07:57 +00:00
Julian Lam
05dd859714 fix: postgres is slow™️ 2020-12-09 19:23:23 -05:00
Julian Lam
f8dff94a15 fix: derp? 2020-12-09 19:05:26 -05:00
Julian Lam
9a4ea04a75 fix: attempted fix for psql test in topic thumbs 2020-12-09 18:57:45 -05:00
Julian Lam
9f62df15bd chore: appease codeclimate 2020-12-09 18:45:37 -05:00
Julian Lam
24e754d120 feat: add thumbs to category data return 2020-12-09 18:41:46 -05:00
Julian Lam
edf67f349f fix: use getSortedSetRange instead of getSortedSetsMembers 2020-12-09 17:12:59 -05:00
Julian Lam
bd5c4a5cff fix: tests 2020-12-09 16:46:19 -05:00
Julian Lam
e83baa97a0 fix: bad topic thumbs logic on local thumb upload 2020-12-09 16:30:11 -05:00
Julian Lam
ce8057f389 feat: broken test for bad topic thumbs logic 2020-12-09 16:23:31 -05:00
Julian Lam
3e54b70c06 fix: #9092, Topic thumbnails do not work with third-party uploaders 2020-12-09 15:47:58 -05:00
Julian Lam
dd448e2b1a fix: move topic thumb tests to root level, so they actually get run by mocha 2020-12-09 15:31:46 -05:00
Julian Lam
9681557f60 fix: tests for topic thumbs 2020-12-09 15:29:25 -05:00
Julian Lam
91899329fc chore(deps): bump persona to 10.3.9 2020-12-09 11:37:07 -05:00
Julian Lam
228cfa6710 chore(deps): bump composer to 6.5.1, re: #9067 2020-12-09 11:30:43 -05:00
Julian Lam
15f1a08940 chore(i18n): fallbacks for new topic thumb keys 2020-12-09 10:45:14 -05:00
Julian Lam
0db4912111 fix(deps): bump composer-default to 6.5.0 2020-12-09 10:42:41 -05:00
Julian Lam
2170c40007 fix: iteration logic bug 2020-12-09 10:42:41 -05:00
Julian Lam
ae9439748d fix: spec 2020-12-09 10:42:41 -05:00
Julian Lam
9342d611be fix: enable topic thumbnails across the board [breaking] 2020-12-09 10:42:41 -05:00
Julian Lam
a30c8ab5c8 feat: clent-side modal for managing topic thumbs
closes #9087
2020-12-09 10:42:41 -05:00
Julian Lam
67cf5e83b7 fix: changes to thumb resizing logic
- Resized thumb no longer skews aspect ratio
- Thumbs resized down to maximum thumb size by WIDTH only
- image.checkDimensions() now returns dimensions
2020-12-09 10:42:41 -05:00
Julian Lam
37c367d6ff feat: raise maximum thumb size to 512 2020-12-09 10:42:41 -05:00
Julian Lam
1c5cdb5121 feat: associate topic thumbs with post uploads (for the mainPid) 2020-12-09 10:42:41 -05:00
Julian Lam
08736b1812 fix: use file lib instead of direct fs module access 2020-12-09 10:42:41 -05:00
Julian Lam
c043cfebd6 fix: added back missing topic thumb tests that were removed in last commit 2020-12-09 10:42:41 -05:00
Julian Lam
5ec3b3d083 fix: tests 2020-12-09 10:42:41 -05:00
Julian Lam
d31aae167e fix(spec): broken link to status component 2020-12-09 10:42:41 -05:00
Julian Lam
cb7e4cda2a feat: helper method to get thumbs by pid 2020-12-09 10:42:41 -05:00
Julian Lam
41379e27c8 fix: hack uploader to handle a response from v3 write api 2020-12-09 10:42:41 -05:00
Julian Lam
340387c18a fix: #9055, non-standard API response from addThumbs route
Also removed old thumb upload router handler, and updated uploadPost handling in composer to match new response schema
2020-12-09 10:42:41 -05:00
Julian Lam
c09c238e3f fix: do not allow thumb deletion route to arbitrarily delete other files in uploads folder 2020-12-09 10:42:41 -05:00
Julian Lam
5950683316 feat: closes #9048, tests for topic thumbs routes, write API schema 2020-12-09 10:42:41 -05:00
Julian Lam
ef10b6b70d fix: missing file added 2020-12-09 10:42:41 -05:00
Julian Lam
4152aa552e feat: tests for topic thumbs
Also added some error checking to addThumbs controller
2020-12-09 10:42:41 -05:00
Julian Lam
ef7d6db912 feat: server-side work for #9047
- rename Thumbs.commit to Thumbs.migrate
- new PUT method that calls Thumbs.migrate
- `checkThumbPrivileges` now takes a single object parameter (ins. of req/res)
2020-12-09 10:42:41 -05:00
Julian Lam
b5d910f53b feat: core work for #9042, thumb deletion now accepts uuids
+ common data validation for thumb addition and deletion
2020-12-09 10:42:41 -05:00
Julian Lam
1f0c1cd229 fix: references to since-removed Topics.thumbs.resizeAndUpload 2020-12-09 10:42:41 -05:00
Julian Lam
90497e3ef5 feat: more work on topic thumbs refactor
- addThumb and deleteThumb are now protected routes (duh)
- new getThumbs route GET /api/v3/topics/<tid>/thumbs
- Updated `assert.path` middleware to better handle if relative paths are received with upload_url
- Slight refactor of thumbs lib to use validator to differentiate between tid and UUID
2020-12-09 10:42:41 -05:00
Julian Lam
43dc3e3e48 fix: #9041, remove Topics.thumbs.resizeAndUpload() 2020-12-09 10:42:41 -05:00
Julian Lam
708b1c338f fix: #9040 2020-12-09 10:42:41 -05:00
Julian Lam
1949d20a87 fix: spec 2020-12-09 10:42:41 -05:00
Julian Lam
1257aa981e feat: expose uploaded thumbnails to client-side via API
+ plugin hook: filter:topics.getThumbs
2020-12-09 10:42:41 -05:00
Julian Lam
7e9e08f718 feat: server-side routes for handling multiple topic thumbnails
closes #8994, requires 'topic-thumb-refactor' branch of composer-default
2020-12-09 10:42:41 -05:00
Julian Lam
98cd9e3549 feat: allow uploadThumb controller to be called in code
it, and uploadsController.upload() now return the results of their operation
2020-12-09 10:42:41 -05:00
Julian Lam
4fc9da81a9 refactor: topic thumbs lib to topics.thumbs 2020-12-09 10:42:41 -05:00
Barış Soner Uşaklı
0f480be658 fix: #9085, dont prevent admins from deleting other users 2020-12-09 10:15:30 -05:00
Barış Soner Uşaklı
ff2aa17bbc fix: show errors when user delete fails 2020-12-09 10:07:40 -05:00
Barış Soner Uşaklı
dd9ed23631 fix: dont start logout timer if adminReloginDuration is disabled 2020-12-09 09:56:09 -05:00
Misty (Bot)
8c125cab6c Latest translations and fallbacks 2020-12-09 09:09:16 +00:00
psychobunny
6d186be067 feat(deps): update lavender to allow category sections 2020-12-08 16:11:06 -05:00
Julian Lam
efa4eca0fe fix: #9045, no post usage info if '/files/' path received 2020-12-08 08:58:19 -05:00
Misty (Bot)
68251fffe7 Latest translations and fallbacks 2020-12-08 09:09:01 +00:00
Renovate Bot
024d1fef23 fix(deps): update dependency autoprefixer to v10.1.0 2020-12-08 08:41:45 +00:00
renovate[bot]
25f697b1f3 fix(deps): update dependency nodebb-theme-persona to v10.3.8 (#9084)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-07 22:06:29 -05:00
Barış Soner Uşaklı
60e7de0d13 feat: move upgrade script and make it shorter 2020-12-07 21:25:19 -05:00
Julian Lam
6037f5ee2c chore: add comment for clarification 2020-12-07 15:44:34 -05:00
Barış Soner Uşaklı
13d5a1440b fix: reconnectin no longer fires on socket.io 3 2020-12-07 14:31:20 -05:00
Barış Soner Uşaklı
1f32d38778 fix: default values, clamp postsPerPage/topicsPerPage to max 2020-12-07 12:51:11 -05:00
Barış Soner Uşaklı
9da0ed400e fix: #9081, load raw settings before merging 2020-12-07 12:01:44 -05:00
Renovate Bot
62463430a9 fix(deps): update socket.io packages to v3.0.4 2020-12-07 12:31:58 +00:00
Renovate Bot
48a31763eb chore(deps): update dependency husky to v4.3.5 2020-12-07 10:43:12 +00:00
Misty (Bot)
d95200ce60 Latest translations and fallbacks 2020-12-07 09:09:05 +00:00
Renovate Bot
c22cdb515d fix(deps): update dependency nodebb-theme-persona to v10.3.7 2020-12-07 05:39:03 +00:00
Barış Soner Uşaklı
74274b60ed feat: allow clicks on navigator, clean dupe code 2020-12-06 23:14:33 -05:00
renovate[bot]
5937fbafa3 fix(deps): update dependency nodebb-theme-persona to v10.3.6 (#9077)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-06 19:23:40 -05:00
Barış Soner Uşaklı
ed70e7028e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-12-06 19:11:03 -05:00
Barış Soner Uşaklı
bb6cc49c16 perf: dont build identical langs 2020-12-06 19:10:56 -05:00
renovate[bot]
a535350f2d fix(deps): update dependency nodebb-plugin-mentions to v2.13.6 (#9071)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-06 14:00:50 -05:00
renovate[bot]
19c438c608 fix(deps): update dependency nodebb-theme-slick to v1.3.6 (#9072)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-06 14:00:39 -05:00
Barış Soner Uşaklı
86f0f82be7 fix: #9068 2020-12-06 13:53:52 -05:00
Barış Soner Uşaklı
10cfdd4c5d fix: remove old utils.slugify tests 2020-12-06 13:28:14 -05:00
Barış Soner Uşaklı
4a0d883359 breaking: #8808, remove utils.slugify 2020-12-06 13:18:09 -05:00
Barış Soner Uşaklı
1c45fa1ba5 feat: socket.io 3 changes (#8845)
* feat: socket.io 3 changes

* feat: replace socketio-wildcard with socket.onAny

up socket.io-redis to 6.x

* feat: remove mongodb/psql socket.io adapters

* feat: show data on fail

* fix: tests

* fix: typo

* fix: logger test fix

* fix: logger.io_close

* chore: up deps

* chore: update readme to reflect redis requirement

* fix: increase timeout show data if test fails
2020-12-06 13:03:33 -05:00
renovate[bot]
d7f5efd960 fix(deps): update dependency nodebb-widget-essentials to v5 (#9070)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-06 12:50:13 -05:00
Barış Soner Uşaklı
d2888d1d1f Category tags (#8938)
* feat: wip category tags

* fix: tag search

* feat: remove debug

* fix: returns of searchTags and autocomplete

* fix: alpha sort

* fix: redis

* fix: delete zsets on category purge, fix another test

* fix: test
2020-12-06 12:36:40 -05:00
Barış Soner Uşaklı
792e9e703e fix: dont strip tags 2020-12-06 12:22:39 -05:00
Barış Soner Uşaklı
91c20ceca5 fix: #9065, settings v2/v3 conflict 2020-12-05 14:45:58 -05:00
Julian Lam
970ccb5a68 fix: #9063, missing handler for passwordless accounts in admin.checkPrivileges middleware 2020-12-05 09:50:49 -05:00
Renovate Bot
cf5c482d1f chore(deps): update dependency husky to v4.3.4 2020-12-05 13:40:46 +00:00
Renovate Bot
f4c4d671ca chore(deps): update dependency eslint to v7.15.0 2020-12-05 10:17:25 +00:00
Misty (Bot)
ba57876c96 Latest translations and fallbacks 2020-12-05 09:06:11 +00:00
Renovate Bot
8fb814ba08 fix(deps): update dependency nodebb-plugin-markdown to v8.12.4 2020-12-05 03:39:56 +00:00
Barış Soner Uşaklı
2345b70bda Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-12-04 21:01:43 -05:00
Barış Soner Uşaklı
a389a31b4a fix: timeago in navigation 2020-12-04 21:01:36 -05:00
renovate[bot]
0d08228015 fix(deps): update dependency nodebb-theme-persona to v10.3.5 (#9060)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-04 20:42:30 -05:00
renovate[bot]
84e4e480d0 fix(deps): update dependency nodebb-theme-persona to v10.3.4 (#9059)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-04 20:26:02 -05:00
Barış Soner Uşaklı
163d1a39ce fix: navigation fixes 2020-12-04 20:17:36 -05:00
Renovate Bot
3d7e2e1e8e fix(deps): update dependency nodebb-theme-persona to v10.3.3 2020-12-04 21:00:01 +00:00
Renovate Bot
3e6f7359a7 chore(deps): update dependency lint-staged to v10.5.3 2020-12-04 19:45:10 +00:00
renovate[bot]
f49ce4adb6 fix(deps): update dependency nodebb-theme-persona to v10.3.2 (#9056)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-04 14:22:47 -05:00
Barış Soner Uşaklı
73d2f51d7a fix: cache some jquery objects 2020-12-04 14:18:40 -05:00
renovate[bot]
344caf5c2e fix(deps): update dependency nodebb-theme-persona to v10.3.1 (#9054)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-04 13:05:27 -05:00
renovate[bot]
e7d72d8a79 fix(deps): update dependency nodebb-theme-lavender to v5.0.15 (#9053)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-04 13:04:24 -05:00
Barış Soner Uşaklı
63d0839550 fix: add ev.cancelable 2020-12-04 12:59:08 -05:00
renovate[bot]
dcd6fbafb2 fix(deps): update dependency nodebb-theme-persona to v10.3.0 (#9052)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-04 12:12:39 -05:00
Barış Soner Uşaklı
790f4e4521 fix: #9046, pretranslate string 2020-12-04 12:01:46 -05:00
Barış Soner Uşaklı
6669496dba Navigator (#9049)
* feat: navigator changes

* fix: remove extra code

* feat: add lang keys
2020-12-04 11:56:10 -05:00
Barış Soner Uşaklı
648f6215ef fix: redirect external with absolute urls 2020-12-03 17:20:03 -05:00
Barış Soner Uşaklı
184028ab78 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-12-03 14:56:58 -05:00
Barış Soner Uşaklı
458bfc0faf fix: external path for subfolder installs 2020-12-03 14:52:27 -05:00
Misty (Bot)
57cd1343f4 chore: incrementing version number - v1.15.5
(cherry picked from commit 8245015cee)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2020-12-03 19:27:46 +00:00
Misty (Bot)
b02993266c chore: update changelog for v1.15.5 2020-12-03 19:27:45 +00:00
Barış Soner Uşaklı
64ac483ddd fix: #9032 2020-12-03 13:51:22 -05:00
Barış Soner Uşaklı
fcb10ebdbb feat: add socket connect/disconnect action hooks 2020-12-03 10:44:12 -05:00
Barış Soner Uşaklı
5d00b0895b fix: sso redirect on /login & /api/login 2020-12-03 10:29:18 -05:00
renovate[bot]
c7f2640a18 fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.7.7 (#9039)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-03 09:37:41 -05:00
Julian Lam
3ea66f84e1 fix: use file lib instead of directly accessing fs (for Assert.path) 2020-12-03 07:41:14 -05:00
Barış Soner Uşaklı
698718f87c feat: allow modifiying browser title on ajaxify 2020-12-02 20:46:57 -05:00
psychobunny
c111bde126 chore: up persona 2020-12-02 19:55:20 -05:00
Barış Soner Uşaklı
ef6c3b0029 fix: check uid as well 2020-12-02 19:04:07 -05:00
Barış Soner Uşaklı
7e867cf95e fix: #7597, fix progress bar of cover/profile uploads
send big cover images in chunks
2020-12-02 18:38:01 -05:00
Misty (Bot)
a1b658d945 chore: incrementing version number - v1.15.4
(cherry picked from commit e0f77d1791)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2020-12-02 22:15:27 +00:00
Misty (Bot)
252dddfc10 chore: update changelog for v1.15.4 2020-12-02 22:15:27 +00:00
Barış Soner Uşaklı
73746bb489 refactor: remove old hack 2020-12-02 14:14:56 -05:00
Barış Soner Uşaklı
6f68f4d20a fix: #9032, fix login redirect for sso plugins 2020-12-02 12:42:21 -05:00
Misty (Bot)
b771a5733b Latest translations and fallbacks 2020-12-02 09:09:11 +00:00
renovate[bot]
1870794068 fix(deps): update dependency nodebb-theme-vanilla to v11.3.8 (#9031)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-02 00:06:24 -05:00
renovate[bot]
4085f3e6bb fix(deps): update dependency nodebb-theme-slick to v1.3.5 (#9030)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-02 00:03:23 -05:00
renovate[bot]
f7d60c43d0 fix(deps): update dependency nodebb-theme-persona to v10.2.98 (#9029)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-02 00:02:13 -05:00
Barış Soner Uşaklı
86b7f8a5d4 fix: #8962, dont show null for purged targets 2020-12-01 23:53:29 -05:00
Barış Soner Uşaklı
3488daa1e8 fix: selector on hooks page 2020-12-01 21:01:46 -05:00
Barış Soner Uşaklı
5f0f476b57 feat: #9005, use timestamp in profile/cover images
delete current one if keepAllUserImages is turned off
fix typo in data
2020-12-01 20:24:22 -05:00
Renovate Bot
42b23a3b39 fix(deps): update dependency nodebb-theme-persona to v10.2.97 2020-12-01 22:51:42 +00:00
Barış Soner Uşaklı
954dc5b7be feat: #8983, update pin tooltip in topic 2020-12-01 16:25:13 -05:00
psychobunny
69864b8746 fix(openapi): spec for c1a7968d23 2020-12-01 16:07:42 -05:00
psychobunny
53abada5f0 Revert "feat: option to allow auto-joining of groups (optionally skip the "request membership" step)"
This reverts commit 685f3c6aa6.
2020-12-01 16:06:14 -05:00
psychobunny
1c1a0e0e0d Revert "chore: up persona"
This reverts commit dde3171c22.
2020-12-01 16:06:10 -05:00
psychobunny
af9e676291 Revert "fix(openapi): spec for 685f3c6aa6173383d6c31b87ed51cf8ed0ca44ce"
This reverts commit 1bb75e762e.
2020-12-01 16:06:03 -05:00
psychobunny
1bb75e762e fix(openapi): spec for 685f3c6aa6 2020-12-01 14:53:16 -05:00
psychobunny
dde3171c22 chore: up persona 2020-12-01 14:42:15 -05:00
psychobunny
685f3c6aa6 feat: option to allow auto-joining of groups (optionally skip the "request membership" step) 2020-12-01 14:41:11 -05:00
renovate[bot]
43bbfb6780 fix(deps): update dependency nodebb-plugin-composer-default to v6.4.10 (#9025)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-01 14:32:22 -05:00
psychobunny
c1a7968d23 feat: user notification settings for group.leave event 2020-12-01 14:11:56 -05:00
renovate[bot]
3f597a5539 fix(deps): update dependency nodebb-theme-vanilla to v11.3.7 (#9024)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-01 14:10:40 -05:00
renovate[bot]
110186b92c fix(deps): update dependency nodebb-plugin-composer-default to v6.4.9 (#9023)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-01 14:06:42 -05:00
renovate[bot]
8dc1437edb fix(deps): update dependency nodebb-theme-slick to v1.3.4 (#9022)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-01 14:05:36 -05:00
psychobunny
f7558c6052 fix: notification on group.leave incorrectly showing "Guest has left X group" 2020-12-01 13:58:15 -05:00
renovate[bot]
2c9cd2864c fix(deps): update dependency nodebb-theme-persona to v10.2.96 (#9021)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-01 13:52:54 -05:00
Barış Soner Uşaklı
b46d2f93e6 fix: #9019, add missing lang strings 2020-12-01 12:38:23 -05:00
Barış Soner Uşaklı
e45b5cba81 fix: #9018 2020-12-01 12:31:28 -05:00
renovate[bot]
1f5f2e1d96 fix(deps): update dependency nodebb-plugin-composer-default to v6.4.8 (#9017)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-01 10:32:06 -05:00
Barış Soner Uşaklı
0cba269165 feat: add defaults for composer help 2020-12-01 10:25:36 -05:00
Barış Soner Uşaklı
0f1fc10f6c fix: #9015, add default value for dailyDigestFreq 2020-12-01 10:00:05 -05:00
Misty (Bot)
4093ccf813 Latest translations and fallbacks 2020-12-01 09:09:48 +00:00
Barış Soner Uşaklı
cfb7b113e9 fix: spec 2020-11-30 22:54:27 -05:00
Barış Soner Uşaklı
f7c738deda fix: #8997, don't send notifications if uids already in group 2020-11-30 22:51:33 -05:00
Barış Soner Uşaklı
1eb5fabdb1 feat: #8900, postQueue setting for category 2020-11-30 22:36:30 -05:00
Barış Soner Uşaklı
14bb0a4469 feat: #8960, update view count after merge 2020-11-30 18:09:30 -05:00
psychobunny
4317cdea34 fix: #9002 ban templates not user friendly 2020-11-30 16:07:23 -05:00
Barış Soner Uşaklı
202dcef42e fix: #9010, show rest of info even if clusterMonitor priv is not granted 2020-11-30 15:23:37 -05:00
Barış Soner Uşaklı
d46740f860 fix: #9007 revoke old sessions after adding 2020-11-30 15:05:26 -05:00
psychobunny
54dc449fb9 fix(acp): #9008 undefined link for "no users browsing" state on dashboard 2020-11-30 14:07:28 -05:00
psychobunny
286243cd37 fix(acp): #9009 no-users-browsing untranslated on dashboard 2020-11-30 14:02:07 -05:00
Renovate Bot
9004319e0d fix(deps): update dependency nodebb-plugin-markdown to v8.12.3 2020-11-30 17:42:00 +00:00
Barış Soner Uşaklı
700736535c fix: guests dont always have sid 2020-11-30 11:51:52 -05:00
Barış Soner Uşaklı
a4fe4d3cf5 fix: allow guests to see their replies immediately 2020-11-30 11:08:00 -05:00
Renovate Bot
7b39cf4bb7 fix(deps): update dependency validator to v13.5.1 2020-11-30 15:31:50 +00:00
Misty (Bot)
cfef2092de Latest translations and fallbacks 2020-11-30 09:08:58 +00:00
Barış Soner Uşaklı
92d1b8a65f fix: privs headers 2020-11-30 01:12:34 -05:00
renovate[bot]
4ddab38095 fix(deps): update dependency nodebb-theme-persona to v10.2.95 (#9001)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-29 23:36:01 -05:00
renovate[bot]
877d85549d fix(deps): update dependency nodebb-theme-persona to v10.2.94 (#9000)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-29 23:28:21 -05:00
Barış Soner Uşaklı
557f0f5631 feat: use correct code 2020-11-29 22:41:19 -05:00
Barış Soner Uşaklı
82bddcd882 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-11-29 22:34:23 -05:00
Barış Soner Uşaklı
f25000cb60 fix: pwd reset test 2020-11-29 22:30:40 -05:00
renovate[bot]
c44d9d2f69 fix(deps): update dependency nodebb-theme-persona to v10.2.93 (#8999)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-29 22:27:23 -05:00
Barış Soner Uşaklı
4c650aeead feat: #8989, convert widget nav to dropdown 2020-11-29 22:23:50 -05:00
Barış Soner Uşaklı
5080f35752 fix: #8991, logout on password reset, dont verify email if password expired
dont allow same password on reset
2020-11-29 21:55:07 -05:00
Barış Soner Uşaklı
8adbf54ae6 fix: don't show topic search if no search privilege 2020-11-29 15:50:34 -05:00
Barış Soner Uşaklı
3cd0c9a476 fix: #8998, allow guests to use write api to post/reply 2020-11-29 15:43:40 -05:00
Barış Soner Uşaklı
5a137a0dd6 fix: guest handles to user displayname as well 2020-11-29 15:38:02 -05:00
Misty (Bot)
f6765ec74d Latest translations and fallbacks 2020-11-29 09:06:02 +00:00
renovate[bot]
346b91eb16 fix(deps): update dependency nodebb-theme-persona to v10.2.92 (#8995)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-28 22:08:34 -05:00
Barış Soner Uşaklı
546f58bf1f fix: timestamp in queue, add post queue strings 2020-11-28 22:03:08 -05:00
Barış Soner Uşaklı
7f5efc3e93 fix: #8992, set email:confirmed for first admin user 2020-11-28 14:43:28 -05:00
Barış Soner Uşaklı
6f21832db7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-11-28 09:21:42 -05:00
Barış Soner Uşaklı
80f0750bd4 fix: typo in upgrade script, closes #8990 2020-11-28 09:21:33 -05:00
Misty (Bot)
eb5a5b6ac2 Latest translations and fallbacks 2020-11-28 09:06:46 +00:00
renovate[bot]
6c980db1e8 fix(deps): update dependency nodebb-theme-vanilla to v11.3.6 (#8987)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-27 17:13:10 -05:00
renovate[bot]
8258536a0b fix(deps): update dependency nodebb-theme-persona to v10.2.91 (#8986)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-27 17:13:00 -05:00
renovate[bot]
fad2d34266 fix(deps): update dependency autoprefixer to v10.0.4 (#8985)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-27 17:07:54 -05:00
Barış Soner Uşaklı
1269103fbb fix: #8984, post-queue ux 2020-11-27 16:56:18 -05:00
Barış Soner Uşaklı
a369c94c5e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-11-27 16:37:41 -05:00
Barış Soner Uşaklı
9ab4fb412b fix: order 2020-11-27 16:37:33 -05:00
Barış Soner Uşaklı
d3c04afb98 fix: #8982, copy color on tag rename, dont copy if target exists
refresh page on tag rename
2020-11-27 16:36:23 -05:00
Julian Lam
b596e94826 fix: tests 2020-11-27 16:26:32 -05:00
Barış Soner Uşaklı
77a6dbacc4 fix: api test 2020-11-27 16:15:01 -05:00
Barış Soner Uşaklı
cbbda45102 fix: remove dupe 2020-11-27 16:10:30 -05:00
Barış Soner Uşaklı
3de692cd52 fix: csv test 2020-11-27 16:07:52 -05:00
Barış Soner Uşaklı
700ef1af97 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-11-27 16:04:59 -05:00
Barış Soner Uşaklı
4afdf8bc27 fix: spec, remove old tests 2020-11-27 16:04:44 -05:00
Julian Lam
acb576662e fix(spec): from 6e6a7a8f8a 2020-11-27 15:51:56 -05:00
Julian Lam
88a60473d9 fix(spec): breaking tests 2020-11-27 15:45:16 -05:00
Barış Soner Uşaklı
6e6a7a8f8a fix: #8969, export csv to file 2020-11-27 15:38:22 -05:00
Julian Lam
007a3258a0 feat: add handler for 501 api response 2020-11-27 15:13:33 -05:00
Julian Lam
1b1205a9ce fix(spec): broken test due to canFlag addition 2020-11-27 13:36:30 -05:00
Renovate Bot
f5714452b1 fix(deps): update dependency nodebb-plugin-markdown to v8.12.2 2020-11-27 12:54:33 -05:00
Barış Soner Uşaklı
88e5cda5b4 fix: spec for /tag 2020-11-27 12:46:12 -05:00
Barış Soner Uşaklı
f4d217d829 fix: #8980, fix lang string 2020-11-27 12:38:43 -05:00
Barış Soner Uşaklı
bf171adc83 fix: #8979 2020-11-27 12:26:45 -05:00
Julian Lam
82ca376012 chore: fallbacks for nodebb.error 2020-11-27 11:58:05 -05:00
Julian Lam
1e7cf1cbc4 fix: #8971, disallow flags of privileged users (mods, gmods, admins) 2020-11-27 11:54:32 -05:00
Barış Soner Uşaklı
dadb2527da fix: #8974, with password login for approval queue 2020-11-27 11:34:14 -05:00
Barış Soner Uşaklı
c77361c8d7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-11-27 11:17:47 -05:00
Barış Soner Uşaklı
fdca8b16ca fix: #8974, dont show wrong message on register queue
configs don't support booleans
2020-11-27 11:17:28 -05:00
Julian Lam
5b269bc5aa chore: fallbacks for nodebb.topic 2020-11-27 11:05:14 -05:00
Renovate Bot
5664807d18 fix(deps): update dependency nodebb-theme-persona to v10.2.90 2020-11-27 11:02:50 -05:00
Renovate Bot
19fe249334 fix(deps): update dependency nodebb-theme-vanilla to v11.3.5 2020-11-27 11:02:41 -05:00
Renovate Bot
ad60bc0641 fix(deps): update dependency nodebb-theme-persona to v10.2.89 2020-11-27 10:59:54 -05:00
Julian Lam
12b3aa0d8f feat: add translation key for pin icon label with expiry 2020-11-27 10:55:03 -05:00
Barış Soner Uşaklı
cd072c0b74 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-11-27 10:46:48 -05:00
Barış Soner Uşaklı
5c3deb4b0e fix: #8973, fix timestamp on ban modal 2020-11-27 10:46:25 -05:00
Julian Lam
ad8e770037 feat: add pinExpiry and pinExpiryISO to topic data 2020-11-27 10:38:40 -05:00
Julian Lam
22715d5413 refactor: add TopicObjectSlim common schema 2020-11-27 10:38:40 -05:00
Barış Soner Uşaklı
c8554b78b9 fix: #8968, don't show topic search if search is not enabled 2020-11-27 10:30:33 -05:00
Misty (Bot)
664614bbe3 Latest translations and fallbacks 2020-11-27 09:09:22 +00:00
Barış Soner Uşaklı
4c7374ea33 fix: flicker on tooltips if server call takes long time 2020-11-26 21:37:17 -05:00
Renovate Bot
b2f0d38f5c fix(deps): update dependency autoprefixer to v10.0.3 2020-11-27 00:22:22 +00:00
gasoved
a56a657759 fix: missing select/clear all checkbox added to category privileges template (#8967) 2020-11-26 17:25:26 -05:00
Peter Jaszkowiak
ba3981e270 fix: use package.name for theme.id (#8965)
Prevents cases like #8953
2020-11-26 16:59:23 -05:00
Julian Lam
e1432caf92 feat: add cancel button to pin expiration modal 2020-11-26 15:57:31 -05:00
Julian Lam
15c6f32c93 refactor: pin/lock threadTools to use topicCommand, rewrote topicCommand to match categoryCommand signature 2020-11-26 15:57:31 -05:00
Renovate Bot
6c316be477 fix(deps): update dependency benchpressjs to v2.3.0 2020-11-26 20:40:25 +00:00
Barış Soner Uşaklı
07fe959ce5 chore: remove test code 2020-11-26 13:56:53 -05:00
Barış Soner Uşaklı
b8cafefce2 fix: winston usages 2020-11-26 13:56:34 -05:00
Barış Soner Uşaklı
414caac01b fix: #8957 2020-11-26 12:45:02 -05:00
Barış Soner Uşaklı
7e6427bca7 fix: dont go back after delete account actions 2020-11-26 12:26:03 -05:00
Barış Soner Uşaklı
5ceda14874 Revert "fix: #8955, popstate to purged topic should go to homepage"
This reverts commit 39dae0aaff.
2020-11-26 12:23:41 -05:00
Barış Soner Uşaklı
47a19d6763 fix: error message 2020-11-26 12:22:24 -05:00
Barış Soner Uşaklı
5bb5ec4618 fix: #8954, clear purged replies and toPids (#8959)
* fix: #8954, clear purged replies and toPids

* fix: redis test
2020-11-26 12:04:01 -05:00
Julian Lam
39dae0aaff fix: #8955, popstate to purged topic should go to homepage 2020-11-26 11:25:09 -05:00
Julian Lam
21d6225ce0 fix: 'already-deleting' error on subsequent account content deletions 2020-11-26 11:05:45 -05:00
Misty (Bot)
97c037f0a1 Latest translations and fallbacks 2020-11-26 09:07:31 +00:00
Barış Soner Uşaklı
93863bb3c6 fix: #8949, faster upgrade script 2020-11-26 00:01:59 -05:00
Misty (Bot)
d1ae08fa4a chore: incrementing version number - v1.15.3
(cherry picked from commit c0d406ae68)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2020-11-26 01:11:08 +00:00
Misty (Bot)
cf157c9bfd chore: update changelog for v1.15.3 2020-11-26 01:11:08 +00:00
Misty (Bot)
7de8b732c0 Latest translations and fallbacks 2020-11-26 01:03:05 +00:00
Barış Soner Uşaklı
720170a9f6 chore: bump persona 2020-11-25 19:57:03 -05:00
renovate[bot]
167ab3a4bc fix(deps): update dependency nodebb-theme-persona to v10.2.87 (#8946)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 19:34:41 -05:00
renovate[bot]
5af5cb8517 fix(deps): update dependency nodebb-theme-persona to v10.2.86 (#8945)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 18:11:40 -05:00
Barış Soner Uşaklı
6771ca150a fix: add topic uid to infinitescroll 2020-11-25 18:07:40 -05:00
Barış Soner Uşaklı
c037779fa1 feat: add topicOwnerPost #8778 2020-11-25 17:58:44 -05:00
Barış Soner Uşaklı
6a819944d5 chore: remove console.log 2020-11-25 16:54:09 -05:00
Julian Lam
d584516947 fix: #8943, session mismatch modal thrown on login (race condition) 2020-11-25 15:45:03 -05:00
Julian Lam
ac734b8335 fix: #8912 2020-11-25 15:31:49 -05:00
Barış Soner Uşaklı
4f37eddc5e feat: clear reset tokens on user delete 2020-11-25 14:55:25 -05:00
Barış Soner Uşaklı
e32cd31ec6 fix: #8918 2020-11-25 14:33:19 -05:00
Barış Soner Uşaklı
3af4d13fa5 fix: basepath for r.js modules 2020-11-25 12:46:09 -05:00
Barış Soner Uşaklı
db1c140ff9 refactor: remove unused require 2020-11-25 12:32:37 -05:00
gasoved
00e75de736 feat: select/clear all checkboxes in privilege table (#8941) 2020-11-25 12:24:32 -05:00
Barış Soner Uşaklı
61c6a762ad fix: test 2020-11-25 10:49:14 -05:00
Misty (Bot)
0dcc5b2bbf Latest translations and fallbacks 2020-11-25 09:08:39 +00:00
psychobunny
1c0e8c1663 fix: move meta.getServerTime call to admin namespace 2020-11-24 16:30:16 -05:00
Julian Lam
45a4f1361f chore(spec): replace ugly hack with another hack for optional properties 2020-11-24 14:45:47 -05:00
Barış Soner Uşaklı
f20c12ee40 fix: add client side check for userslug #8939 2020-11-24 14:37:54 -05:00
Julian Lam
90434a4668 Revert "fix(spec): always show thumb in topic response"
This reverts commit 493c568a75.
2020-11-24 14:26:47 -05:00
Julian Lam
493c568a75 fix(spec): always show thumb in topic response 2020-11-24 14:19:40 -05:00
Barış Soner Uşaklı
0ca40af834 fix: #8939, fix username change notification getting filtered out 2020-11-24 14:05:32 -05:00
Julian Lam
ae402e213e chore: move topic route schema up two levels as slug and index are optional 2020-11-24 13:48:02 -05:00
Julian Lam
b3b501d789 chore: move category route schema up two levels as slug and index are optional 2020-11-24 13:42:11 -05:00
Julian Lam
906d7d734b refactor: move API banned response handler to separate internal method 2020-11-24 13:28:05 -05:00
Julian Lam
afb26bfe48 feat: show ban reason and expiry in write api responses, if user is banned 2020-11-24 10:26:14 -05:00
Misty (Bot)
aa7a6991ff Latest translations and fallbacks 2020-11-24 09:07:46 +00:00
Renovate Bot
5815260650 fix(deps): update dependency nconf to ^0.11.0 2020-11-24 08:03:51 +00:00
Renovate Bot
db205e2eae chore(deps): update dependency lint-staged to v10.5.2 2020-11-24 06:53:23 +00:00
Renovate Bot
5363ebbb1d fix(deps): update dependency postcss to v8.1.10 2020-11-23 23:50:30 +00:00
Barış Soner Uşaklı
cf903e4e8f fix: #8931, fix lang string 2020-11-23 17:14:57 -05:00
Barış Soner Uşaklı
c62f29f0a1 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-11-23 17:12:42 -05:00
Barış Soner Uşaklı
95a3f03009 fix: #8932, fix client side error when updating username 2020-11-23 17:11:20 -05:00
Julian Lam
eab4ca7104 fix: bug with Topics.resizeAndUploadThumb not checking for extension validity 2020-11-23 17:03:06 -05:00
Barış Soner Uşaklı
2b73a14e42 fix: #8933 2020-11-23 17:01:36 -05:00
Julian Lam
6e5ec3f895 feat: automatically unban users in onSuccessfulLogin
This allows write API (and probably SSO login) to go through unimpeded if a user's ban has expired. Closes nodebb/nodebb-plugin-write-api#126
2020-11-23 16:06:06 -05:00
Barış Soner Uşaklı
77f0bff54f fix: #8929, fix popular, top rss feed urls 2020-11-23 14:36:02 -05:00
Barış Soner Uşaklı
8f4060819f Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-11-23 14:21:14 -05:00
Julian Lam
5dd3b03125 fix: a derp 2020-11-23 14:18:49 -05:00
Barış Soner Uşaklı
b18e7e319b fix: spec 2020-11-23 14:18:47 -05:00
Julian Lam
4ca62dc45b fix: improper handling of scheme-relative URLs in topic thumb logic 2020-11-23 14:16:04 -05:00
renovate[bot]
abc32d6270 fix(deps): update dependency nodebb-theme-persona to v10.2.85 (#8928)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-23 14:07:57 -05:00
Barış Soner Uşaklı
3f337b5d7c feat: #8925, #8924 2020-11-23 13:58:44 -05:00
Barış Soner Uşaklı
5fa098326f fix: https://github.com/NodeBB/NodeBB/pull/8685
fix category link redirect on cold load
fix helpers.redirect if passed in url is external
fix ajaxify so it doesn't slice first character of external url
2020-11-23 12:25:57 -05:00
Julian Lam
f33a9185ff fix: on OP edit, call helper method to upload and resize thumb 2020-11-23 12:19:26 -05:00
Barış Soner Uşaklı
9ee1fb490e fix: https://github.com/NodeBB/NodeBB/pull/8759 2020-11-23 11:18:42 -05:00
Misty (Bot)
093f984b03 Latest translations and fallbacks 2020-11-23 09:07:59 +00:00
Misty (Bot)
e4d9934155 Latest translations and fallbacks 2020-11-22 09:06:25 +00:00
Barış Soner Uşaklı
c2bb61231e fix: spec 2020-11-21 23:39:52 -05:00
Barış Soner Uşaklı
672d4da078 feat: human readable uptime 2020-11-21 23:34:12 -05:00
Renovate Bot
d1cb5d4813 fix(deps): update dependency postcss to v8.1.9 2020-11-21 20:59:01 +00:00
Misty (Bot)
bc871dc029 Latest translations and fallbacks 2020-11-21 09:06:11 +00:00
Renovate Bot
80404216f6 chore(deps): update dependency eslint to v7.14.0 2020-11-21 01:13:29 +00:00
Barış Soner Uşaklı
0ffc091b6d chore: up persona 2020-11-20 17:43:58 -05:00
Barış Soner Uşaklı
2f2f0ab7ac chore: up persona 2020-11-20 17:28:12 -05:00
Barış Soner Uşaklı
5c9ff18e3c chore: up persona 2020-11-20 17:12:54 -05:00
Julian Lam
6e2da9966e refactor: move plugin hook methods to plugin.hooks.* 2020-11-20 16:32:39 -05:00
Julian Lam
3b1c03ed50 feat: allow ACP API access to bearer tokens
closes nodebb/nodebb-plugin-write-api#132
2020-11-20 15:26:16 -05:00
Julian Lam
98a05e4dde chore: add missing plugin hook deprecation warning 2020-11-20 15:22:49 -05:00
Barış Soner Uşaklı
ef3df47a6d refactor: remove breaking change in pin expiry 2020-11-20 14:05:02 -05:00
Julian Lam
046d0b1637 feat: allow pins to expire (if set) (#8908)
* fix: add back topic assert middleware for pin route

* feat: server-side handling of pin expiries

* refactor: togglePin to not require uid parameter [breaking]

* feat: automatic unpinning if pin has expiration set

* feat: client-side modal for setting pin expiration

* refactor: categories.getPinnedTids to accept multiple cids

... in preparation for pin expiry logic, direct access to *:pinned zsets is discouraged

* fix: remove references to since-removed jobs file for topics

* feat: expire pins when getPinnedTids is called

* refactor: make the togglePin change non-breaking

The 'action:topic.pin' hook now sends uid again, as before. However, if it is a system action (that is, a pin that expired), 'system' will be sent in instead of a valid uid
2020-11-20 11:31:14 -05:00
Misty (Bot)
e5d94d9096 Latest translations and fallbacks 2020-11-20 09:11:36 +00:00
Barış Soner Uşaklı
1be08b2e8b fix: guest displayname 2020-11-19 22:08:03 -05:00
Barış Soner Uşaklı
46eb77011d chore: pin autoprefixer to latest 2020-11-19 20:35:00 -05:00
Barış Soner Uşaklı
46acbfdaf1 fix: show messages after app load 2020-11-19 20:34:26 -05:00
Barış Soner Uşaklı
814771bdc7 fix: restart on js changes in vendor 2020-11-19 20:34:12 -05:00
Barış Soner Uşaklı
6ef7e8675f fix: #8915, fix queue not being cleared after firing click events
if you clicked elements early then on every ajaxify.end the same elements were getting click events @julianlam
2020-11-19 17:23:52 -05:00
Renovate Bot
b47a470b9b fix(deps): update dependency postcss to v8.1.8 2020-11-19 17:45:57 +00:00
Julian Lam
00aee84bf7 refactor: use categoryCommand local method for pin/lock in category tools (#8917)
* refactor: use categoryCommand local method for main actions in category tools

* fix: wrong command passed in
2020-11-19 11:51:44 -05:00
Misty (Bot)
28fa03bd7e chore: incrementing version number - v1.15.3-beta.0 2020-11-19 16:00:49 +00:00
Barış Soner Uşaklı
81984285bb chore: up persona 2020-11-19 10:36:47 -05:00
Barış Soner Uşaklı
8fb9117430 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-11-19 10:35:35 -05:00
Barış Soner Uşaklı
5f2fe883ca chore: up slick 2020-11-19 10:31:28 -05:00
renovate[bot]
589f7a567c fix(deps): update dependency nodebb-theme-vanilla to v11.3.4 (#8914)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-19 10:27:29 -05:00
renovate[bot]
38127b04b5 fix(deps): update dependency nodebb-theme-persona to v10.2.80 (#8913)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-19 10:27:16 -05:00
Barış Soner Uşaklı
dbd814c25f fix: spec, only call modifyUser on unique user objects 2020-11-19 10:23:19 -05:00
Barış Soner Uşaklı
903e9d82b8 feat: #8637 2020-11-19 09:52:16 -05:00
Tudor-Dan Ravoiu
39279a1e54 Run grunt with debugger enabled (#8911)
* Run grunt with debugger enabled

When forking a node.js thread we are also having the possibility to pass some node.js arguments, such as "--inspect=0.0.0.0". By providing this, we are adding the capability of doing live debugging even when the system is started with grunt.

* removed whitespace

* Update Gruntfile.js
2020-11-19 09:48:13 -05:00
Misty (Bot)
f7f119d5cc Latest translations and fallbacks 2020-11-19 09:09:21 +00:00
Barış Soner Uşaklı
ae5d4405c0 fix: setting 2020-11-19 01:14:13 -05:00
renovate[bot]
8e1b2458c2 fix(deps): update dependency nodebb-theme-persona to v10.2.79 (#8907)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-19 01:04:40 -05:00
Barış Soner Uşaklı
9ca44e6f54 feat: add displayname into user obj #8637 (#8909)
* feat: add displayname into user obj #8637

* fix: spec

* perf: dont load settings if acp setting is turned off
2020-11-19 00:52:19 -05:00
Barış Soner Uşaklı
8d060065a0 fix: spec 2020-11-18 23:24:51 -05:00
Barış Soner Uşaklı
e9585b9be2 fix: group userTitles translation escapes 2020-11-18 23:07:38 -05:00
Barış Soner Uşaklı
965671a97b fix: remove params from error log 2020-11-18 21:50:47 -05:00
Renovate Bot
b98561792a fix(deps): update dependency nodebb-theme-persona to v10.2.75 2020-11-18 21:20:43 +00:00
Misty (Bot)
5867a5b99f chore: incrementing version number - v1.15.2
(cherry picked from commit ce5c0ee6e7)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2020-11-18 19:42:38 +00:00
Misty (Bot)
37965d4528 chore: update changelog for v1.15.2 2020-11-18 19:42:38 +00:00
Barış Soner Uşaklı
fa4177c3bc fix: #6407, fix feeds
display latest posts instead of oldest in topic rss feed
fix missing await that was causing rss_tokens to not function
fix feed test
more tests for getTopicWithPosts
2020-11-18 14:25:39 -05:00
Misty (Bot)
8de48c3935 Latest translations and fallbacks 2020-11-18 09:15:10 +00:00
Barış Soner Uşaklı
4e9b10ab76 feat: #5274 2020-11-17 22:42:08 -05:00
Barış Soner Uşaklı
fb567a7a33 feat: #4456 2020-11-17 22:11:39 -05:00
renovate[bot]
5f6137f0e6 fix(deps): update dependency nodebb-theme-persona to v10.2.74 (#8905)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-17 21:31:12 -05:00
Barış Soner Uşaklı
a6afcfd531 feat: #8475, allow flagging self posts
dont count flags towards self posts
dont allow flagging your own account
2020-11-17 21:28:32 -05:00
Barış Soner Uşaklı
62b62821c1 fix: navigation highlight
/top was getting hightlighted in navigation if you went into a /topic
2020-11-17 21:20:20 -05:00
renovate[bot]
c2019b7b3a fix(deps): update dependency nodebb-theme-persona to v10.2.73 (#8904)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-17 20:57:03 -05:00
renovate[bot]
b7b1f2035b fix(deps): update dependency nodebb-plugin-composer-default to v6.4.7 (#8902)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-17 19:34:11 -05:00
renovate[bot]
bee8cfe4e0 fix(deps): update dependency nodebb-theme-persona to v10.2.72 (#8903)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-17 19:34:00 -05:00
Barış Soner Uşaklı
a87ccccc9c fix: benchpress warnings 2020-11-17 18:46:25 -05:00
Barış Soner Uşaklı
dfdc0c420c fix: benchpress warnings 2020-11-17 18:27:52 -05:00
Julian Lam
a0b7a82350 feat(api): account deletion routes for the Write API (#8881)
* feat(api): account deletion routes for the Write API

* refactor: rewrite client-side calls to account deletion to use api

* style: apply DRY
2020-11-17 17:29:50 -05:00
Renovate Bot
422aa7f0b6 fix(deps): update dependency nodebb-theme-vanilla to v11.3.3 2020-11-17 21:49:58 +00:00
Renovate Bot
3b6e71d5eb fix(deps): update dependency nodebb-theme-persona to v10.2.71 2020-11-17 20:30:43 +00:00
Barış Soner Uşaklı
9e154f1c9d Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-11-17 14:47:48 -05:00
Barış Soner Uşaklı
120999bf63 feat: #7550, show message if post is queued when js is disabled 2020-11-17 14:47:06 -05:00
Renovate Bot
d6dd1cb6f6 fix(deps): update dependency nodebb-theme-persona to v10.2.70 2020-11-17 19:45:17 +00:00
Barış Soner Uşaklı
35f932cd64 feat: #8171, add oldCategory if topic is moved 2020-11-17 13:56:04 -05:00
Barış Soner Uşaklı
b44ddecdf8 feat: #8204, separate notification type for group chats 2020-11-17 12:52:02 -05:00
Opliko
6e43086558 resolve #8444 - Allow nested objects in translations (#8793)
* feat: #8444 Allow nested objects in translations

* feat: #8444 Allow nested objects in translations

* style: don't change formatting

* fix: don't use the first string match if key isn't finished

* feat: #8444 Allow nested objects in translations

* feat: #8444 Allow nested objects in translations

* style: don't change formatting

* fix: don't use the first string match if key isn't finished

* feat: add nested translations test
2020-11-17 10:06:49 -05:00
Misty (Bot)
fbdde03217 Latest translations and fallbacks 2020-11-17 09:08:29 +00:00
Renovate Bot
2ce1fcd336 fix(deps): update dependency nodebb-theme-slick to v1.3.2 2020-11-17 06:33:19 +00:00
Renovate Bot
9f2d0d42be fix(deps): update dependency nodebb-theme-vanilla to v11.3.2 2020-11-17 05:54:49 +00:00
Renovate Bot
1581064362 fix(deps): update dependency nodebb-theme-persona to v10.2.69 2020-11-17 04:33:09 +00:00
Barış Soner Uşaklı
7928036a1b feat: add test for custom translations 2020-11-16 21:50:06 -05:00
Barış Soner Uşaklı
1d6bcbebde feat: https://github.com/NodeBB/NodeBB/issues/8147 2020-11-16 21:31:55 -05:00
Renovate Bot
84d545775e fix(deps): update dependency sharp to v0.26.3 2020-11-17 00:46:13 +00:00
Julian Lam
e1d7c4d8aa fix: internal helper method hasGlobalPrivilege, DRY 2020-11-16 15:42:39 -05:00
Julian Lam
d83eb7f89e refactor: client-side handlers for user invitations
DRY
2020-11-16 15:19:20 -05:00
gasoved
3ccebf112e feat: invites regardless of registration type, invite privilege, groups to join on acceptance (#8786)
* feat: allow invites in normal registration mode + invite privilege

* feat: select groups to join from an invite

* test: check if groups from invitations have been joined

* fix: remove unused variable

* feat: write API versions of socket calls

* docs: openapi specs for the new routes

* test: iron out mongo redis difference

* refactor: move inviteGroups endpoint into write API

* refactor: use GET /api/v3/users/:uid/invites/groups

Instead of GET /api/v3/users/:uid/inviteGroups

* fix: no need for /api/v3 prefix when using api module

* fix: tests

* refactor: change POST /api/v3/users/invite

To POST /api/v3/users/:uid/invites

* refactor: make helpers.invite awaitable

* fix: restrict invite API to self-use only

* fix: move invite groups controller to write api, +tests

* fix: tests

Co-authored-by: Julian Lam <julian@nodebb.org>
2020-11-16 14:47:23 -05:00
Renovate Bot
dde9f1890f fix(deps): update dependency nodebb-plugin-mentions to v2.13.5 2020-11-16 19:32:46 +00:00
Peter Jaszkowiak
d30ea25629 feat(deps): benchpressjs@2.2.1 (#8887)
Better warnings, faster template compiles
2020-11-16 11:55:24 -05:00
Renovate Bot
b63b7ae5d7 fix(deps): update dependency json2csv to v5.0.5 2020-11-16 16:16:35 +00:00
Misty (Bot)
20c05e80e4 chore: incrementing version number - v1.15.2-beta.1 2020-11-16 15:21:11 +00:00
Julian Lam
0a0b4661be chore: remove debug log 2020-11-16 10:19:23 -05:00
Tudor-Dan Ravoiu
452d7f2b17 Create verified/unverified user groups (#8889)
Co-authored-by: Tudor-Dan Ravoiu <tudor-dan.ravoiu@ubisoft.com>
2020-11-16 10:10:28 -05:00
Misty (Bot)
996174a187 chore: incrementing version number - v1.15.2-beta.0 2020-11-16 14:49:07 +00:00
Renovate Bot
d1e804aa61 fix(deps): update dependency benchpressjs to v2.2.2 2020-11-16 11:42:47 +00:00
Misty (Bot)
ce9cf2a545 Latest translations and fallbacks 2020-11-16 09:11:10 +00:00
Barış Soner Uşaklı
2f4653a3cc fix: spec 2020-11-15 16:50:24 -05:00
Barış Soner Uşaklı
e4d2764d4c fix: #8884, remove header/footer cache 2020-11-15 16:43:06 -05:00
Barış Soner Uşaklı
9dac9630df fix: check tid in event handlers client side 2020-11-15 10:36:30 -05:00
Misty (Bot)
03329408b7 Latest translations and fallbacks 2020-11-15 09:06:46 +00:00
Barış Soner Uşaklı
5598130a92 refactor: async/await controllers/index.js 2020-11-14 20:18:47 -05:00
Barış Soner Uşaklı
f14e42d8bc fix: #8883 2020-11-14 19:56:01 -05:00
Barış Soner Uşaklı
29c2ca94f4 feat: add nodejs version to issue template 2020-11-14 13:14:34 -05:00
Misty (Bot)
7693ab90e2 Latest translations and fallbacks 2020-11-14 09:05:55 +00:00
renovate[bot]
85aaededae fix(deps): update dependency nodebb-theme-vanilla to v11.3.1 (#8878)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Barış Soner Uşaklı <baris@nodebb.org>
2020-11-13 16:31:17 -05:00
Renovate Bot
bbfb276a83 fix(deps): update dependency nodebb-theme-slick to v1.3.1 2020-11-13 21:22:43 +00:00
Renovate Bot
ec70329aed fix(deps): update dependency nodebb-theme-persona to v10.2.68 2020-11-13 20:30:36 +00:00
Barış Soner Uşaklı
8fbe832460 refactor: less dupe code 2020-11-13 14:42:44 -05:00
Julian Lam
fdab76f822 fix: #8872 missing admin/menu language key+fallback 2020-11-13 14:32:35 -05:00
Julian Lam
8518404e22 feat: allow groups to specify which cids to show member posts from (#8875)
* feat: allow groups to specify which cids to show member posts from

* docs: fix tests for openapi

* fix: test breakage caused by improper conditional

* feat: server-side checking of memberPostCids for validity

* feat: admin panel template update to select categories to include

* refactor: privilege helpers.isUserAllowedTo

... to helpers.isAllowedTo, allowing group names to be passed in
2020-11-13 14:15:37 -05:00
renovate[bot]
45922faebc fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.7.6 (#8877)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-13 14:02:18 -05:00
renovate[bot]
48e8252099 fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.7.5 (#8876)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-13 13:13:24 -05:00
renovate[bot]
eab27f237f fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.7.4 (#8874)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-13 11:34:14 -05:00
Renovate Bot
5f5f0edb81 chore(deps): update dependency smtp-server to v3.8.0 2020-11-13 14:00:25 +00:00
Misty (Bot)
daf2e73c29 Latest translations and fallbacks 2020-11-13 09:08:52 +00:00
Barış Soner Uşaklı
51b7eca119 fix: run every hour, dont show message if average_time is 0 2020-11-12 22:23:50 -05:00
Opliko
04f4429f72 Resolve #7514 - optional timer for registration queue (#8796)
* feat: #7514 Optional timer for registration queue

* feat: show minutes in average time

* fix: don't show total number of minutes

* feat: implement requested changes

* fix: just store minutes instead of milliseconds

* feat: set default values
2020-11-12 22:23:07 -05:00
Julian Lam
b3e00489c8 fix: add back test timeout for exports 2020-11-12 15:57:36 -05:00
Julian Lam
bcccb331db docs: openapi schema for user/group exist check, session deletion 2020-11-12 15:53:15 -05:00
Julian Lam
97842c43d3 test: new api test to ensure each path's parameters are defined in context 2020-11-12 15:52:33 -05:00
Julian Lam
319cfeaa1c test: updated test name to be more specific 2020-11-12 14:32:49 -05:00
Julian Lam
dc9668e417 fix: pass length to messaging checkContent hook 2020-11-11 19:53:59 -05:00
Misty (Bot)
a2468b84b4 chore: incrementing version number - v1.15.1
(cherry picked from commit 2790a3a3fe)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2020-11-11 22:51:06 +00:00
Misty (Bot)
efb7d688f0 chore: update changelog for v1.15.1 2020-11-11 22:51:06 +00:00
Barış Soner Uşaklı
dc6e27730a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-11-11 12:48:32 -05:00
Barış Soner Uşaklı
567c5f2056 fix: #8869, dont escape category title,description twice 2020-11-11 12:48:22 -05:00
Renovate Bot
1460a7a84d fix(deps): update dependency nodebb-plugin-mentions to v2.13.4 2020-11-11 15:52:59 +00:00
Julian Lam
769aba0aed fix: refresh flags list on bulk action success 2020-11-11 10:15:49 -05:00
Renovate Bot
72d1b3cdca fix(deps): update dependency diff to v5 2020-11-10 14:43:20 -05:00
Julian Lam
ee4d90f68f fix: test breakage from f300c933a5 2020-11-10 14:39:57 -05:00
Julian Lam
f300c933a5 refactor: move session revocation route to write api 2020-11-10 14:27:38 -05:00
renovate[bot]
e250c3f1fb fix(deps): update dependency nodebb-theme-persona to v10.2.67 (#8847)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-10 13:18:52 -05:00
renovate[bot]
ba7b23ac48 fix(deps): update dependency json2csv to v5.0.4 (#8865)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-10 13:15:10 -05:00
renovate[bot]
2946bb1679 fix(deps): update dependency postcss to v8.1.7 (#8866)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-10 13:14:25 -05:00
Barış Soner Uşaklı
9c5c32d4a5 feat: #8864, add action:events.log 2020-11-10 11:29:15 -05:00
renovate[bot]
20f4fe085f fix(deps): update dependency nodebb-theme-slick to v1.2.40 (#8863)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-10 11:10:11 -05:00
renovate[bot]
c18f449190 fix(deps): update dependency nodebb-plugin-mentions to v2.13.3 (#8862)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-10 10:50:21 -05:00
Misty (Bot)
e033da8a04 chore: incrementing version number - v1.15.1-beta.0 2020-11-10 14:16:12 +00:00
Barış Soner Uşaklı
62c0454cfe feat: show db info side by side 2020-11-09 13:27:40 -05:00
Misty (Bot)
0b57ec19ce Latest translations and fallbacks 2020-11-09 09:08:52 +00:00
Barış Soner Uşaklı
9f7902efdf fix: remove some unnecessary jquery wrappers 2020-11-08 20:26:43 -05:00
Barış Soner Uşaklı
978f1ee04f fix: send back jquery object to keep backwards compat 2020-11-08 20:02:27 -05:00
Barış Soner Uşaklı
a0164b1c38 fix: use header/footer cache in prod 2020-11-08 19:46:36 -05:00
Barış Soner Uşaklı
05a92885f2 fix: add missing maxAge to cache 2020-11-08 08:35:40 -05:00
Peter Jaszkowiak
e128264b66 refactor: change Benchpress.parse to .render (#8856)
It has been deprecated with no warning message for a while
Changing these over before enabling the warning message to reduce spam
2020-11-08 08:17:49 -05:00
Renovate Bot
14ba638345 fix(deps): update dependency benchpressjs to v2.1.0 2020-11-08 10:11:34 +00:00
Misty (Bot)
e6b9e8ddee Latest translations and fallbacks 2020-11-08 09:05:59 +00:00
Renovate Bot
381a32abe6 fix(deps): update dependency benchpressjs to v2.0.9 2020-11-08 05:30:12 +00:00
Barış Soner Uşaklı
3f5f38dd89 fix: clear header-cache after each suite 2020-11-07 22:57:03 -05:00
Barış Soner Uşaklı
255cf43ea9 fix: show msg on fail 2020-11-07 22:40:34 -05:00
Barış Soner Uşaklı
fe63c6aef3 fix: spec 2020-11-07 22:21:04 -05:00
Barış Soner Uşaklı
2e44639210 fix: guest header/footer cache
allow clearing individual caches
2020-11-07 22:06:25 -05:00
Tobias Dossinger
1ce983ccb9 add public/language/de/admin/menu.json & public/language/de/admin/settings/api.json (#8842)
Co-authored-by: Tobias Dossinger <tobiasdossinger@Jans-MBP-3.localdomain>
Co-authored-by: Julian Lam <julian@nodebb.org>
2020-11-07 17:25:08 -05:00
Julian Lam
8368c25b1d chore: fallback l10n for admin-settings-api 2020-11-07 17:05:03 -05:00
Julian Lam
d32e4e0213 feat: add language keys for admin-settings-api 2020-11-07 17:05:03 -05:00
Misty (Bot)
e81e88f3e9 Latest translations and fallbacks 2020-11-07 09:06:12 +00:00
Barış Soner Uşaklı
f1f9b225b0 feat: #8824, cache refactor (#8851)
* feat: #8824, cache refactor

ability to disable caches
ability to download contents of cache
refactor cache modules to remove duplicated code

* fix: remove duplicate hit/miss tracking

check cacheEnabled in getUncachedKeys
2020-11-06 23:13:12 -05:00
Renovate Bot
bcbc085497 chore(deps): update dependency eslint to v7.13.0 2020-11-07 03:40:16 +00:00
Renovate Bot
d227fe9fb6 chore(deps): update dependency eslint-config-airbnb-base to v14.2.1 2020-11-07 00:19:18 +00:00
Barış Soner Uşaklı
6255874e32 feat: move mkdirp to beforeBuild so it doesnt get called twice 2020-11-06 13:44:29 -05:00
Barış Soner Uşaklı
74951f5967 fix: #8846, possible fix 2020-11-06 12:46:27 -05:00
Barış Soner Uşaklı
0b30efba31 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-11-06 12:30:15 -05:00
Barış Soner Uşaklı
16d03975a0 fix: winston error message 2020-11-06 12:24:50 -05:00
Julian Lam
d263192271 feat: group exists API call in write api 2020-11-06 12:18:42 -05:00
Julian Lam
1446cec77f feat: user exist route in write api 2020-11-06 11:55:04 -05:00
Julian Lam
6b196a207f fix: permanent redirect on user api redirect shorthand 2020-11-06 11:54:46 -05:00
Julian Lam
f2bb42c076 fix: user exist route needs no authentication 2020-11-06 11:53:56 -05:00
Julian Lam
60e1e99b4f feat: new shorthand route /api/v3/users/bySlug/:userslug
closes #8844
2020-11-06 11:37:21 -05:00
renovate[bot]
7e273e7710 fix(deps): update dependency mongodb to v3.6.3 (#8841)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-06 10:25:49 -05:00
Renovate Bot
90bcfa6d16 chore(deps): update commitlint monorepo to v11 2020-11-06 09:21:48 -05:00
Julian Lam
512f6de6de feat: allow passwords with length > 73 characters (#8818)
* feat: allow passwords longer than 73 characters

Context: A bcrypt/blowfish limitation means that password length is capped at 72 characters. We can get around this without compromising on security
by hashing all incoming passwords with SHA512, and then sending that to bcrypt.

https://dropbox.tech/security/how-dropbox-securely-stores-your-passwords

* feat: add additional test for passwords > 73 chars

* fix: remove 'password-too-long' error message and all invocations

* test: added test to show that a super long password won't bring down NodeBB

* fix: remove debug log

* Revert "fix: remove 'password-too-long' error message and all invocations"

This reverts commit 1e312bf7ef.

* fix: added back password length checks, but at 512 chars

As processing a large string still uses a lot of memory
2020-11-06 08:40:00 -05:00
Misty (Bot)
113d3324fb Latest translations and fallbacks 2020-11-06 09:08:06 +00:00
Barış Soner Uşaklı
c61dee4b62 fix: #8840, don't crash if /compose route is called with no query params 2020-11-05 21:01:19 -05:00
Barış Soner Uşaklı
9e3eb5d41a feat: #8821, allow guest topic views 2020-11-05 20:52:43 -05:00
Julian Lam
f68bce86a9 fix: XSS in event:banned messaging modal 2020-11-05 19:18:17 -05:00
renovate[bot]
00f90cd98c fix(deps): update dependency nodebb-theme-persona to v10.2.66 (#8839)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-05 16:50:41 -05:00
Barış Soner Uşaklı
78ee83324c fix: #8838, fix chat dropdown timestamps
use shorthand like notification dropdown
2020-11-05 16:46:17 -05:00
Barış Soner Uşaklı
76cd5b0fc1 fix: #8836, truncate fullname 2020-11-05 16:25:55 -05:00
renovate[bot]
064c99cd9f fix(deps): update dependency nodebb-plugin-mentions to v2.13.2 (#8835)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-05 14:35:40 -05:00
Renovate Bot
e0cf9740d1 fix(deps): update dependency postcss to v8.1.6 2020-11-05 19:25:03 +00:00
Peter Jaszkowiak
de5a21f19b fix(#8828): web install templates now compiled (#8832) 2020-11-05 12:05:31 -05:00
renovate[bot]
40eb658bc1 fix(deps): update dependency @nodebb/socket.io-adapter-mongo to v3.1.1 (#8831)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-05 11:58:40 -05:00
psychobunny
eec630f1ef fix(acp): max-height for plugin menu list 2020-11-05 11:44:23 -05:00
renovate[bot]
7b8a5567c7 fix(deps): update dependency @nodebb/mubsub to v1.7.1 (#8830)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-05 11:40:54 -05:00
Renovate Bot
9f5ef9d0cb fix(deps): update dependency postcss to v8.1.5 2020-11-05 16:31:13 +00:00
Julian Lam
891a1ea2af fix: #8827, do not require admin:users privilege to ban users 2020-11-05 10:22:07 -05:00
Julian Lam
540a32cfdd chore: changing log to remove pre-release changelogs from changelog
... changelog
2020-11-04 15:56:45 -05:00
Misty (Bot)
a30aa5629c chore: incrementing version number - v1.15.0
(cherry picked from commit 71cdbbce0d1118c9631e77d1adeb5af519a2c3fa)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2020-11-04 20:50:38 +00:00
Misty (Bot)
155f74e45e chore: update changelog for v1.15.0 2020-11-04 20:50:38 +00:00
Julian Lam
1afd215050 feat: add back error handling for a number of api calls 2020-11-04 14:11:54 -05:00
Renovate Bot
b44c7e9658 fix(deps): update dependency nodebb-plugin-composer-default to v6.4.6 2020-11-04 13:48:24 -05:00
Renovate Bot
f06d4878c0 fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.7.3 2020-11-04 18:34:00 +00:00
Barış Soner Uşaklı
4b63f9937c fix: check is banned in buildHeader
remove unused banReason
remove generateHeader function
2020-11-04 13:23:10 -05:00
Misty (Bot)
69f4d5ac7d chore: update changelog for v1.15.0-rc.5 2020-11-04 16:22:37 +00:00
Misty (Bot)
4bd2788ba3 chore: incrementing version number - v1.15.0-rc.5 2020-11-04 16:22:37 +00:00
Barış Soner Uşaklı
a338f52780 feat: #8823, remove hardcoded write concern 2020-11-04 11:10:23 -05:00
Barış Soner Uşaklı
518d4fa170 fix: undefined call 2020-11-04 08:57:19 -05:00
Renovate Bot
0d80190f79 fix(deps): update dependency nodebb-theme-vanilla to v11.3.0 2020-11-04 13:53:29 +00:00
Barış Soner Uşaklı
08ff4041aa fix: missing await 2020-11-03 17:13:05 -05:00
Barış Soner Uşaklı
5a2b14b751 fix: client side crash when creating groups 2020-11-03 16:54:44 -05:00
psychobunny
d40779a4ba feat(acp): autocomplete user search for welcome notifications 2020-11-03 14:10:39 -05:00
Barış Soner Uşaklı
f6623622be Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-11-03 11:17:32 -05:00
Barış Soner Uşaklı
715775a707 feat: #8817, add login clientside hooks
same as logout
2020-11-03 11:17:25 -05:00
Julian Lam
c0f699e655 fix: disallow registration attempts with password length > 4096
This is a stopgap measure for v1.15.0
2020-11-03 09:54:04 -05:00
Renovate Bot
35e725d17c chore(deps): update dependency mocha to v8.2.1 2020-11-03 14:37:17 +00:00
Julian Lam
e66c1f4017 Revert "fix(deps): update dependency textcomplete to ^0.18.0"
This reverts commit 8fe954997c.
2020-11-03 08:35:13 -05:00
Renovate Bot
df5d66e5fe fix(deps): update dependency textcomplete to ^0.18.0 2020-11-03 13:32:15 +00:00
Renovate Bot
2fa78e4384 chore(deps): update dependency lint-staged to v10.5.1 2020-11-03 12:52:18 +00:00
Barış Soner Uşaklı
b6d8687837 chore: add info log into tests 2020-11-02 20:34:12 -05:00
Barış Soner Uşaklı
4818ec377e fix: missing await 2020-11-02 15:13:22 -05:00
Julian Lam
1c8b8ce14a chore: update renovate config to automatically merge non-major version bumps #yolo 2020-11-02 14:45:25 -05:00
Misty (Bot)
1688294165 chore: update changelog for v1.15.0-rc.4 2020-11-02 19:42:54 +00:00
Misty (Bot)
57b4932074 chore: incrementing version number - v1.15.0-rc.4 2020-11-02 19:42:53 +00:00
Peter Jaszkowiak
eddf4a4f33 feat: use github actions for ci (#8811)
- test using minimum supported db versions
- ESLint will make review comments on PRs
- formatted configs
2020-11-02 13:12:29 -05:00
Peter Jaszkowiak
a3fa313298 Github actions lint demo (#8812)
* feat: use github actions for ci

- test using minimum supported db versions
- ESLint will make review comments on PRs
- formatted configs

* mess up eslint

* fix: lint maybe

Co-authored-by: Barış Soner Uşaklı <baris@nodebb.org>
2020-11-02 12:59:16 -05:00
Barış Soner Uşaklı
6e85920cb6 feat: allow mods/admins to see deleted posts on user profile 2020-11-02 12:03:21 -05:00
Misty (Bot)
841cbcc3e3 Latest translations and fallbacks 2020-11-01 09:05:53 +00:00
Julian Lam
87bff6cd65 fix: broken test 2020-10-30 17:17:31 -04:00
Renovate Bot
0c7d58605e fix(deps): update dependency nodebb-theme-persona to v10.2.65 2020-10-30 16:10:45 -04:00
Julian Lam
a53d49a2b0 fix: updated commitlint config to allow longer subjects, because nobody anywhere uses an email client that limits subject lines to 72 characters 2020-10-30 14:12:07 -04:00
Julian Lam
dda5d42610 fix: restore old behaviour of empty json w/ 401 code in admin middleware 2020-10-30 14:07:47 -04:00
Julian Lam
15e0731dd9 fix: deprecate middleware.isAdmin
Also, handle admin logout timer in middleware.admin.checkPrivileges
2020-10-30 12:30:58 -04:00
Julian Lam
4439864ce0 fix: post editing not taking plugin hook results into account 2020-10-30 10:05:26 -04:00
Misty (Bot)
2738041b38 chore: update changelog for v1.15.0-rc.3 2020-10-30 03:46:16 +00:00
Misty (Bot)
6de7760a1d chore: incrementing version number - v1.15.0-rc.3 2020-10-30 03:46:16 +00:00
Barış Soner Uşaklı
a02ae6f5df refactor: simpler check in user.blocks.filter 2020-10-29 22:33:28 -04:00
Barış Soner Uşaklı
27016d221c feat: rearrange buttons on manage/users 2020-10-29 13:39:08 -04:00
Julian Lam
57ed6be78b fix: #8805 define our own name for write API v3 2020-10-29 12:51:36 -04:00
Julian Lam
a08fb8e53b fix: removed superfluous assignment 2020-10-29 12:33:12 -04:00
Julian Lam
0b6ef61e40 fix: createNewPosts to build tpl with ajaxify.data
If the post template contains references to items outside of the scope of the post, then when the post is loaded via IS, the expected values are empty.

This was due to createNewPosts calling app.parseAndTranslate with a subset of the page payload. This works fine in Persona (and most other themes)
because they do not refer to properties outside of the post object, but it may be helpful to include the rest of the ajaxify data as well.
2020-10-29 12:29:29 -04:00
Julian Lam
266d7587b2 refactor: remove usage of middlewares
Specifically, middleware.isAdmin|exposePrivilegeSet|exposePrivileges
2020-10-29 07:56:28 -04:00
Julian Lam
bff53de03f fix: handle ACP category enable/disable states after call success 2020-10-29 07:16:41 -04:00
Julian Lam
a6a52430ce fix: remove setCategorySort and setTopicSort 2020-10-28 17:21:54 -04:00
Julian Lam
aa8faf58a0 refactor: remove /users/{uid}/settings/{setting} route
@baris Also, I am now allowing the following properties to be saved in User.saveSettings:
- categoryTopicSort
- topicPostSort
- setCategorySort
- setTopicSort
2020-10-28 17:21:54 -04:00
Barış Soner Uşaklı
e0b6781776 chore: bump persona 2020-10-28 16:52:46 -04:00
Barış Soner Uşaklı
9082062e90 fix: sort setting not using correct field name 2020-10-28 16:05:40 -04:00
renovate[bot]
c4431294a5 fix(deps): update dependency jsesc to v3.0.2 (#8802)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-28 12:30:48 -04:00
Julian Lam
2d29e603bd fix: update readme to include psql 2020-10-28 07:51:17 -04:00
Renovate Bot
7d0d0005ff fix(deps): update dependency nodebb-plugin-composer-default to v6.4.5 2020-10-28 07:37:33 -04:00
Misty (Bot)
2baccd3ce2 Latest translations and fallbacks 2020-10-28 09:10:35 +00:00
renovate[bot]
224502d8c3 chore(deps): update dependency eslint to v7.12.1 (#8799)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-28 00:21:01 -04:00
renovate[bot]
1f2eca6a52 chore(deps): update dependency lint-staged to v10.5.0 (#8797)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-28 00:20:46 -04:00
Barış Soner Uşaklı
6ac73ccb7e feat: #8801, disable express compression by default 2020-10-27 21:40:21 -04:00
Julian Lam
cc1c722092 fix: breaking test from 0db0231cff
Also lowered export timeout to 5s
2020-10-27 20:37:23 -04:00
Julian Lam
04185d94c1 fix: indentation 2020-10-27 20:37:23 -04:00
Julian Lam
8e7914ff72 fix: add back derpy 20 second sleep 2020-10-27 20:37:23 -04:00
Julian Lam
14e5c24ec5 fix(openapi): final fixes to schemas 2020-10-27 20:37:23 -04:00
Julian Lam
b2e9e3e048 fix(writeapi): more tweaks to schema files 2020-10-27 20:37:23 -04:00
Julian Lam
9f9e3c1582 fix(writeapi): fix components, + tag object schema 2020-10-27 20:37:23 -04:00
Julian Lam
3ebb3a3479 fix: missing method in test error output 2020-10-27 20:37:23 -04:00
Julian Lam
3c98cd3d95 fix: topic object in post editing data return 2020-10-27 20:37:23 -04:00
Julian Lam
a4f3270fc5 fix(writeapi): missing files for tests 2020-10-27 20:37:23 -04:00
Julian Lam
1392d064a1 fix(writeapi): normalizing data 2020-10-27 20:37:23 -04:00
Julian Lam
b092f65d95 fix(writeapi): tests 2020-10-27 20:37:23 -04:00
Julian Lam
ec03af7a38 feat: allow passing subset of user settings on update route 2020-10-27 20:37:23 -04:00
Julian Lam
618e098305 fix: bug where token generation route would fail on null case 2020-10-27 20:37:23 -04:00
Julian Lam
843aff582d refactor: api test suite to accept methods other than GET 2020-10-27 20:37:23 -04:00
Julian Lam
93f65f89e7 fix(writeapi): added examples to all parameter objects in schema 2020-10-27 20:37:23 -04:00
Julian Lam
b156b8b573 feat: wip, write api tests framework
re-using read api tests if possible
2020-10-27 20:37:23 -04:00
Renovate Bot
b3ca7de016 fix(deps): update dependency nodebb-theme-persona to v10.2.63 2020-10-27 17:27:53 -04:00
Barış Soner Uşaklı
a512d99472 refactor: remove unnecessary wrapper 2020-10-27 14:51:49 -04:00
Barış Soner Uşaklı
f0131e72ae Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-10-27 11:02:16 -04:00
Barış Soner Uşaklı
2e9f27d8ff fix: typo 2020-10-27 10:59:08 -04:00
Misty (Bot)
c3a7ab54dc chore: update changelog for v1.15.0-rc.2 2020-10-27 13:41:06 +00:00
Misty (Bot)
7c084134c7 chore: incrementing version number - v1.15.0-rc.2 2020-10-27 13:41:05 +00:00
Misty (Bot)
5605a0d1b7 Latest translations and fallbacks 2020-10-27 09:08:02 +00:00
renovate[bot]
12c590ad56 fix(deps): update dependency nodebb-theme-persona to v10.2.62 (#8798)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-26 22:00:31 -04:00
Barış Soner Uşaklı
93bdfe2f10 perf: reorder async calls 2020-10-26 21:09:51 -04:00
Barış Soner Uşaklı
88a07e69b5 feat: add filter:category.getFields 2020-10-26 15:14:54 -04:00
renovate[bot]
3108f628b6 chore(deps): update dependency eslint to v7.12.0 (#8791)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-26 12:50:26 -04:00
renovate[bot]
8353857b3b fix(deps): update dependency nodebb-plugin-mentions to v2.13.1 (#8790)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-26 12:49:55 -04:00
Misty (Bot)
4f49b3da8c chore: update changelog for v1.15.0-rc.1 2020-10-26 15:45:21 +00:00
Misty (Bot)
943424b539 chore: incrementing version number - v1.15.0-rc.1 2020-10-26 15:45:21 +00:00
Barış Soner Uşaklı
a05905f196 performance improvements (#8795)
* perf: nconf/winston/render

cache nconf.get calls
modify middleware.pageView to call next earlier
don't call winston.verbose on every hook see https://github.com/winstonjs/winston/issues/1669
translate header/footer separately and cache results for guests

* fix: copy paste fail

* refactor: style and fire hook only log in dev mode

* fix: cache key, header changes based on template

* perf: change replace

* fix: add missing await

* perf: category

* perf: lodash clone

* perf: remove escapeRegexChars
2020-10-26 10:43:18 -04:00
Misty (Bot)
822c13f199 Latest translations and fallbacks 2020-10-26 09:08:20 +00:00
Misty (Bot)
89a1f481e0 Latest translations and fallbacks 2020-10-25 09:06:02 +00:00
renovate[bot]
9de8497dad fix(deps): update dependency nodebb-theme-persona to v10.2.61 (#8794)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-24 23:32:34 -04:00
Barış Soner Uşaklı
0db0231cff feat: move postercount to topic hash 2020-10-24 21:14:52 -04:00
Barış Soner Uşaklı
203db47b30 fix: return early for guests/spiders 2020-10-24 01:49:22 -04:00
Barış Soner Uşaklı
156e1396f2 fix: #8789,cache meta.settings 2020-10-23 14:20:47 -04:00
Barış Soner Uşaklı
7a3183520f fix: spec 2020-10-22 19:51:25 -04:00
Barış Soner Uşaklı
a7b6d0dfe5 feat: add free and total mem usage to info 2020-10-22 17:46:12 -04:00
Julian Lam
63e07c9433 fix: tests 2020-10-22 14:43:29 -04:00
Julian Lam
c26f2b6599 feat(writeapi): user settings API 2020-10-22 14:07:50 -04:00
Misty (Bot)
aab5f018b9 chore: update changelog for v1.15.0-rc.0 2020-10-21 21:19:57 +00:00
4272 changed files with 121927 additions and 82385 deletions

View File

@@ -10,13 +10,21 @@ checks:
threshold: 500
method-lines:
config:
threshold: 50
threshold: 75
method-complexity:
config:
threshold: 10
similar-code:
config:
threshold: 65
plugins:
duplication:
enabled: true
config:
languages:
javascript:
mass_threshold: 110
count_threshold: 3
exclude_paths:
- "public/vendor/*"
- "test/*"

139
.eslintrc
View File

@@ -1,140 +1,3 @@
{
"extends": "airbnb-base",
"parserOptions": {
"sourceType": "script"
},
"rules": {
// Customized
"handle-callback-err": [ "error","^(e$|(e|(.*(_e|E)))rr)" ],
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
"no-return-await": "off",
"no-constant-condition": "off",
"no-empty": ["error", { "allowEmptyCatch": true }],
"no-underscore-dangle": "off",
"no-console": "off",
"no-mixed-operators": ["error", { "allowSamePrecedence": true }],
"strict": ["error", "global"],
"consistent-return": "off",
"func-names": "off",
"no-tabs": "off",
"indent": ["error", "tab", { "SwitchCase": 1 }],
"no-eq-null": "off",
"camelcase": "off",
"no-new": "off",
"no-shadow": "off",
"no-use-before-define": ["error", "nofunc"],
"no-prototype-builtins": "off",
"new-cap": "off",
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"object-curly-newline": "off",
"no-restricted-globals": "off",
"function-paren-newline": "off",
"import/no-unresolved": "error",
"quotes": ["error", "single", {
"avoidEscape": true,
"allowTemplateLiterals": true
}],
"no-else-return": [ "error", { "allowElseIf": true } ],
"operator-linebreak": [ "error", "after" ],
"arrow-parens": ["error", "as-needed", { "requireForBlockBody": true }],
// ES6
"prefer-rest-params": "off",
"prefer-spread": "off",
"prefer-arrow-callback": "off",
"prefer-template": "off",
"no-var": "off",
"object-shorthand": "off",
"vars-on-top": "off",
"prefer-destructuring": "off",
// TODO
"import/no-extraneous-dependencies": "off",
"import/no-dynamic-require": "off",
"import/newline-after-import": "off",
"no-bitwise": "off",
"global-require": "off",
"max-len": "off",
"no-param-reassign": "off",
"no-restricted-syntax": "off",
"no-script-url": "off",
"default-case": "off",
"linebreak-style": "off",
// "no-multi-assign": "off",
// "one-var": "off",
// "no-undef": "off",
// "max-nested-callbacks": "off",
// "no-mixed-requires": "off",
// "brace-style": "off",
// "max-statements-per-line": "off",
// "no-unused-vars": "off",
// "no-mixed-spaces-and-tabs": "off",
// "no-useless-concat": "off",
// "require-jsdoc": "off",
// "eqeqeq": "off",
// "no-negated-condition": "off",
// "one-var-declaration-per-line": "off",
// "no-lonely-if": "off",
// "radix": "off",
// "no-else-return": "off",
// "no-useless-escape": "off",
// "block-scoped-var": "off",
// "operator-assignment": "off",
// "yoda": "off",
// "no-loop-func": "off",
// "no-void": "off",
// "valid-jsdoc": "off",
// "no-cond-assign": "off",
// "no-redeclare": "off",
// "no-unreachable": "off",
// "no-nested-ternary": "off",
// "operator-linebreak": "off",
// "guard-for-in": "off",
// "no-unneeded-ternary": "off",
// "no-sequences": "off",
// "no-extend-native": "off",
// "no-shadow-restricted-names": "off",
// "no-extra-boolean-cast": "off",
// "no-path-concat": "off",
// "no-unused-expressions": "off",
// "no-return-assign": "off",
// "no-restricted-modules": "off",
// "object-curly-spacing": "off",
// "indent": "off",
// "padded-blocks": "off",
// "eol-last": "off",
// "lines-around-directive": "off",
// "strict": "off",
// "comma-dangle": "off",
// "no-multi-spaces": "off",
// "quotes": "off",
// "keyword-spacing": "off",
// "no-mixed-operators": "off",
// "comma-spacing": "off",
// "no-trailing-spaces": "off",
// "key-spacing": "off",
"no-multiple-empty-lines": "off"
// "spaced-comment": "off",
// "space-in-parens": "off",
// "block-spacing": "off",
// "quote-props": "off",
// "space-unary-ops": "off",
// "no-empty": "off",
// "dot-notation": "off",
// "func-call-spacing": "off",
// "array-bracket-spacing": "off",
// "object-property-newline": "off",
// "no-continue": "off",
// "no-extra-semi": "off",
// "no-spaced-func": "off",
// "no-useless-return": "off"
}
"extends": "nodebb"
}

View File

@@ -1,28 +0,0 @@
<!--
== Github Issues are for bug reports and feature requests only ==
== Please visit https://community.nodebb.org for other support ==
== Found a security exploit? Please email us at security@nodebb.org instead for immediate attention ==
== → DO NOT SUBMIT VULNERABILITIES TO THE PUBLIC BUG TRACKER ==
-->
<!-- ++ Please include the following information when submitting a bug report ++ -->
- **NodeBB version:**
- **NodeBB git hash:**
<!-- (to find your git hash, execute `git rev-parse HEAD` from the main NodeBB directory) -->
- **Installed NodeBB Plugins:**
<!-- (to find installed plugins run ./nodebb plugins) -->
- **Database type:** mongo, redis, or postgres
- **Database version:**
<!-- `mongod --version`, `redis-server --version`, or `postgres --version` -->
- **Exact steps to cause this issue:**
<!--
1. First I did this...
2. Then, I clicked on this item...
-->
- **What you expected:**
<!-- e.g. I expected *abc* to *xyz* -->
- **What happened instead:**
<!-- e.g. Instead, I got *zyx* and NodeBB set fire to my house -->
<!-- Thank you! -->

81
.github/ISSUE_TEMPLATE/bug-report.yml vendored Normal file
View File

@@ -0,0 +1,81 @@
name: Bug Report
description: File a bug report
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Github Issues are for bug reports and feature requests only
Please visit https://community.nodebb.org for other support
Found a security exploit? Please email us at security@nodebb.org instead for immediate attention
### → DO NOT SUBMIT VULNERABILITIES TO THE PUBLIC BUG TRACKER ←
- type: input
attributes:
label: NodeBB version
placeholder: e.g. v2.2.0
- type: input
attributes:
label: NodeBB git hash
description: to find your git hash, execute `git rev-parse HEAD` from the main NodeBB directory
placeholder: e.g. 783250ee6f8c51cdc243ce3b8d9f1a080517247e
- type: input
attributes:
label: NodeJS version
placeholder: e.g. v16.15.1
- type: textarea
attributes:
label: Installed NodeBB plugins
description: to find installed plugins run `./nodebb plugins`
placeholder: |
e.g.
* nodebb-plugin-2factor@5.0.1 (installed, disabled)
* nodebb-plugin-composer-default@8.0.0 (installed, enabled)
* nodebb-plugin-dbsearch@5.1.5 (installed, disabled)
* nodebb-plugin-emoji@4.0.4 (installed, enabled)
* nodebb-plugin-emoji-android@3.0.0 (installed, enabled)
* nodebb-plugin-markdown@10.0.0 (installed, enabled)
* nodebb-plugin-mentions@3.0.11 (installed, enabled)
* nodebb-plugin-spam-be-gone@1.0.0 (installed, disabled)
* nodebb-rewards-essentials@0.2.1 (installed, enabled)
* nodebb-theme-lavender@6.0.0 (installed, disabled)
* nodebb-theme-persona@12.0.11 (installed, enabled)
* nodebb-theme-slick@2.0.2 (installed, disabled)
* nodebb-theme-vanilla@12.1.18 (installed, disabled)
* nodebb-widget-essentials@6.0.0 (installed, enabled)
- type: dropdown
attributes:
label: Database type
multiple: true
options:
- MongoDB
- Redis
- PostgreSQL
- type: input
attributes:
label: Database version
description: "`mongod --version`, `redis-server --version`, or `postgres --version`"
placeholder: e.g. v5.0.9
- type: textarea
attributes:
label: Exact steps to cause this issue
placeholder: |
1. First I did this...
2. Then, I clicked on this item...
A quick note: MP4 and MOV formatted video files are now allowed to be uploaded to GH.
Please upload if reproduction steps are hard to describe or reproduce reliably.
- type: textarea
attributes:
label: What you expected
placeholder: e.g. I expected *abc* to *xyz*
- type: textarea
attributes:
label: What happened instead
placeholder: e.g. Instead, I got *zyx* and NodeBB set fire to my house
- type: textarea
attributes:
label: Anything else?
description: Any additional context about the issue you're encountering
- type: markdown
attributes:
value: "**Thank you!**"

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Community Forum
url: https://community.nodebb.org
about: Github Issues are for bug reports and feature requests only, please use community forum for other support

View File

@@ -0,0 +1,24 @@
name: Feature Request
description: Suggest a new feature
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Github Issues are for bug reports and feature requests only
Please visit https://community.nodebb.org for other support
Found a security exploit? Please email us at security@nodebb.org instead for immediate attention
### → DO NOT SUBMIT VULNERABILITIES TO THE PUBLIC BUG TRACKER ←
- type: textarea
attributes:
label: Description
validations:
required: true
- type: input
attributes:
label: Community forum reference
description: If this feature was already discussed on the Community Forum link it here
placeholder: https://community.nodebb.org/topic/0/example-feature-request
- type: markdown
attributes:
value: "**Thank you!**"

4
.github/SECURITY.md vendored
View File

@@ -2,8 +2,8 @@
NodeBB's security policy is based around a private bug bounty program. Users are invited to explore NodeBB for vulnerabilities, and report them to the NodeBB team so that they can be patched.
If you have found a security vulnerability, **do not post it onto our GitHub tracker**. Some security vulnerabilities are quite severe and discretion is recommended. Email the NodeBB Security Team at security@nodebb.org, instead.
If you have found a security vulnerability, **do not post it onto our GitHub tracker**. Some security vulnerabilities are quite severe and discretion is recommended. Email the NodeBB Security Team at security@nodebb.org, instead, even if you are not sure whether something qualifies.
# Bug Bounty Program
Security vulnerability reports may be eligible for a bounty based on severity and confirmation from NodeBB team members. For full details regarding our bug bounty program, including the bounty amounts, please consult the following page: https://blog.nodebb.org/bounty
Security vulnerability reports may be eligible for a bounty based on severity and confirmation from NodeBB team members. For full details regarding our bug bounty program, including the bounty amounts, please consult the [dedicated page for our Bug Bounty Program](https://nodebb.org/bounty).

61
.github/workflows/docker.yml vendored Normal file
View File

@@ -0,0 +1,61 @@
name: Run Docker
# Controls when the workflow will run
on:
push:
branches:
- 'master'
- 'v*.x'
tags:
- 'v*'
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
permissions:
contents: read
packages: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}.x
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=branch,enable=${{ github.event.repository.default_branch != github.ref }}
- name: Build and push Docker images
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
platforms: linux/amd64,linux/arm64,linux/arm/v7
cache-from: type=gha
cache-to: type=gha,mode=max

214
.github/workflows/test.yaml vendored Normal file
View File

@@ -0,0 +1,214 @@
name: Lint and test
on:
push:
branches:
- master
- develop
- bootstrap5
pull_request:
branches:
- master
- develop
- bootstrap5
defaults:
run:
shell: bash
permissions:
contents: read
jobs:
test:
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code
name: Lint and test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [16, 18]
database: [mongo-dev, mongo, redis, postgres]
include:
# only run coverage once
- os: ubuntu-latest
node: 16
coverage: true
# test under development once
- database: mongo-dev
test_env: development
# only run eslint once
- os: ubuntu-latest
node: 16
database: mongo-dev
lint: true
runs-on: ${{ matrix.os }}
env:
TEST_ENV: ${{ matrix.test_env || 'production' }}
services:
postgres:
image: 'postgres:15-alpine'
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps port 5432 on service container to the host
- 5432:5432
redis:
image: 'redis:7.0.11'
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps port 6379 on service container to the host
- 6379:6379
mongo:
image: 'mongo:3.7'
ports:
# Maps port 27017 on service container to the host
- 27017:27017
steps:
- uses: actions/checkout@v2
- run: cp install/package.json package.json
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: NPM Install
uses: bahmutov/npm-install@v1
with:
useLockFile: false
- name: Setup on MongoDB
if: startsWith(matrix.database, 'mongo')
env:
SETUP: >-
{
"url": "http://127.0.0.1:4567",
"secret": "abcdef",
"admin:username": "admin",
"admin:email": "test@example.org",
"admin:password": "hAN3Eg8W",
"admin:password:confirm": "hAN3Eg8W",
"database": "mongo",
"mongo:host": "127.0.0.1",
"mongo:port": 27017,
"mongo:username": "",
"mongo:password": "",
"mongo:database": "nodebb"
}
CI: >-
{
"host": "127.0.0.1",
"port": 27017,
"database": "ci_test"
}
run: |
node app --setup="${SETUP}" --ci="${CI}"
- name: Setup on PostgreSQL
if: startsWith(matrix.database, 'postgres')
env:
SETUP: >-
{
"url": "http://127.0.0.1:4567",
"secret": "abcdef",
"admin:username": "admin",
"admin:email": "test@example.org",
"admin:password": "hAN3Eg8W",
"admin:password:confirm": "hAN3Eg8W",
"database": "postgres",
"postgres:host": "127.0.0.1",
"postgres:port": 5432,
"postgres:username": "postgres",
"postgres:password": "postgres",
"postgres:database": "nodebb"
}
CI: >-
{
"host": "127.0.0.1",
"database": "ci_test",
"port": 5432,
"username": "postgres",
"password": "postgres"
}
run: |
node -e "const { Client } = require('pg'); const c = new Client({ host: '127.0.0.1', port: 5432, user: 'postgres', password: 'postgres' }); c.connect().then(() => c.query('CREATE DATABASE nodebb')).then(() => c.query('CREATE DATABASE ci_test')).then(() => c.end())"
node app --setup="${SETUP}" --ci="${CI}"
- name: Setup on Redis
if: startsWith(matrix.database, 'redis')
env:
SETUP: >-
{
"url": "http://127.0.0.1:4567/forum",
"secret": "abcdef",
"admin:username": "admin",
"admin:email": "test@example.org",
"admin:password": "hAN3Eg8W",
"admin:password:confirm": "hAN3Eg8W",
"database": "redis",
"redis:host": "127.0.0.1",
"redis:port": 6379,
"redis:password": "",
"redis:database": 0
}
CI: >-
{
"host": "127.0.0.1",
"database": 1,
"port": 6379
}
run: |
node app --setup="${SETUP}" --ci="${CI}"
- name: Run ESLint
if: matrix.lint
run: npm run lint
- name: Node tests
run: npm test
- name: Extract coverage info
run: npm run coverage
- name: Test coverage
uses: coverallsapp/github-action@v2.1.2
if: matrix.coverage
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ${{ matrix.os }}-node-${{ matrix.node }}-db-${{ matrix.database }}
parallel: true
finish:
permissions:
checks: write # for coverallsapp/github-action to create new checks
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true

4
.gitignore vendored
View File

@@ -40,6 +40,7 @@ pidfile
/public/acp.min.js.map
/public/installer.css
/public/installer.min.js
/public/bootstrap.min.css
/public/logo.png
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
@@ -67,4 +68,5 @@ test/files/normalise-resized.jpg
package-lock.json
/package.json
*.mongodb
link-plugins.sh
link-plugins.sh
test.sh

1
.husky/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
_

4
.husky/commit-msg Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install commitlint --edit $1

4
.husky/pre-commit Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install lint-staged

View File

@@ -1,17 +0,0 @@
{
"indent_size": 4,
"indent_char": " ",
"indent_level": 0,
"indent_with_tabs": true,
"preserve_newlines": true,
"max_preserve_newlines": 10,
"jslint_happy": true,
"brace_style": "collapse",
"keep_array_indentation": false,
"keep_function_indentation": false,
"space_before_conditional": true,
"break_chained_methods": false,
"eval_code": false,
"unescape_strings": false,
"wrap_line_length": 0
}

View File

@@ -1,91 +0,0 @@
{
// JSHint Default Configuration File (as on JSHint website)
// See http://jshint.com/docs/ for more details
"maxerr" : 50, // {int} Maximum error before stopping
"esversion": 6,
// Enforcing
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
"camelcase" : false, // true: Identifiers must be in camelCase
"curly" : true, // true: Require {} for every new block or scope
"eqeqeq" : true, // true: Require triple equals (===) for comparison
"forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty()
"immed" : false, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
"indent" : 4, // {int} Number of spaces to use for indentation
"latedef" : false, // true: Require variables/functions to be defined before being used
"newcap" : false, // true: Require capitalization of all constructor functions e.g. `new F()`
"noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
"noempty" : true, // true: Prohibit use of empty blocks
"nonew" : false, // true: Prohibit use of constructors for side-effects (without assignment)
"plusplus" : false, // true: Prohibit use of `++` & `--`
"quotmark" : false, // Quotation mark consistency:
// false : do nothing (default)
// true : ensure whatever is used is consistent
// "single" : require single quotes
// "double" : require double quotes
"undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
"unused" : true, // true: Require all defined variables be used
"strict" : true, // true: Requires all functions run in ES5 Strict Mode
"trailing" : false, // true: Prohibit trailing whitespaces
"maxparams" : false, // {int} Max number of formal params allowed per function
"maxdepth" : false, // {int} Max depth of nested blocks (within functions)
"maxstatements" : false, // {int} Max number statements per function
"maxcomplexity" : false, // {int} Max cyclomatic complexity per function
"maxlen" : false, // {int} Max number of characters per line
// Relaxing
"asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
"boss" : false, // true: Tolerate assignments where comparisons would be expected
"debug" : false, // true: Allow debugger statements e.g. browser breakpoints.
"eqnull" : false, // true: Tolerate use of `== null`
"es5" : false, // true: Allow ES5 syntax (ex: getters and setters)
"esnext" : false, // true: Allow ES.next (ES6) syntax (ex: `const`)
"moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
// (ex: `for each`, multiple try/catch, function expression…)
"evil" : false, // true: Tolerate use of `eval` and `new Function()`
"expr" : false, // true: Tolerate `ExpressionStatement` as Programs
"funcscope" : false, // true: Tolerate defining variables inside control statements"
"globalstrict" : false, // true: Allow global "use strict" (also enables 'strict')
"iterator" : false, // true: Tolerate using the `__iterator__` property
"lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block
"laxbreak" : false, // true: Tolerate possibly unsafe line breakings
"laxcomma" : false, // true: Tolerate comma-first style coding
"loopfunc" : false, // true: Tolerate functions being defined in loops
"multistr" : false, // true: Tolerate multi-line strings
"proto" : false, // true: Tolerate using the `__proto__` property
"scripturl" : false, // true: Tolerate script-targeted URLs
"smarttabs" : false, // true: Tolerate mixed tabs/spaces when used for alignment
"shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
"sub" : false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
"supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
"validthis" : false, // true: Tolerate using this in a non-constructor function
// Environments
"browser" : true, // Web Browser (window, document, etc)
"couch" : false, // CouchDB
"devel" : true, // Development/debugging (alert, confirm, etc)
"dojo" : false, // Dojo Toolkit
"jquery" : true, // jQuery
"mootools" : false, // MooTools
"node" : true, // Node.js
"nonstandard" : false, // Widely adopted globals (escape, unescape, etc)
"prototypejs" : false, // Prototype and Scriptaculous
"rhino" : false, // Rhino
"worker" : false, // Web Workers
"wsh" : false, // Windows Scripting Host
"yui" : false, // Yahoo User Interface
"mocha": true,
// Legacy
"nomen" : false, // true: Prohibit dangling `_` in variables
"onevar" : false, // true: Allow only one `var` statement per function
"passfail" : false, // true: Stop on first error
"white" : false, // true: Check against strict whitespace and indentation rules
// Custom Globals
"globals" : {
"Promise": true
} // additional predefined global variables
}

View File

@@ -1,47 +0,0 @@
services:
- mongodb
- redis-server
- postgresql
before_install:
- cp install/package.json package.json
- sudo apt-get update
- sudo apt-get --yes remove postgresql\*
- sudo apt-get install -y postgresql-12 postgresql-client-12
- sudo cp /etc/postgresql/{9.6,12}/main/pg_hba.conf
- sudo service postgresql restart 12
before_script:
- sleep 15 # wait for mongodb to be ready
- "mongo mydb_test --eval 'db.createUser({user:\"travis\", pwd: \"test\", roles: []});'"
- sh -c "if [ '$DB' = 'mongodb' ]; then node app --setup=\"{\\\"url\\\":\\\"http://127.0.0.1:4567\\\",\\\"secret\\\":\\\"abcdef\\\",\\\"database\\\":\\\"mongo\\\",\\\"mongo:host\\\":\\\"127.0.0.1\\\",\\\"mongo:port\\\":27017,\\\"mongo:username\\\":\\\"\\\",\\\"mongo:password\\\":\\\"\\\",\\\"mongo:database\\\":0,\\\"admin:username\\\":\\\"admin\\\",\\\"admin:email\\\":\\\"test@example.org\\\",\\\"admin:password\\\":\\\"hAN3Eg8W\\\",\\\"admin:password:confirm\\\":\\\"hAN3Eg8W\\\"}\" --ci=\"{\\\"host\\\":\\\"127.0.0.1\\\",\\\"port\\\":27017,\\\"database\\\":\\\"travis_ci_test\\\"}\"; fi"
- sh -c "if [ '$DB' = 'redis' ]; then node app --setup=\"{\\\"url\\\":\\\"http://127.0.0.1:4567/forum\\\",\\\"secret\\\":\\\"abcdef\\\",\\\"database\\\":\\\"redis\\\",\\\"redis:host\\\":\\\"127.0.0.1\\\",\\\"redis:port\\\":6379,\\\"redis:password\\\":\\\"\\\",\\\"redis:database\\\":0,\\\"admin:username\\\":\\\"admin\\\",\\\"admin:email\\\":\\\"test@example.org\\\",\\\"admin:password\\\":\\\"hAN3Eg8W\\\",\\\"admin:password:confirm\\\":\\\"hAN3Eg8W\\\"}\" --ci=\"{\\\"host\\\":\\\"127.0.0.1\\\",\\\"port\\\":6379,\\\"database\\\":1}\"; fi"
- sh -c "if [ '$DB' = 'postgres' ]; then psql -c 'create database nodebb;' -U postgres; psql -c 'create database travis_ci_test;' -U postgres; node app --setup=\"{\\\"url\\\":\\\"http://127.0.0.1:4567\\\",\\\"secret\\\":\\\"abcdef\\\",\\\"database\\\":\\\"postgres\\\",\\\"postgres:host\\\":\\\"127.0.0.1\\\",\\\"postgres:port\\\":5433,\\\"postgres:password\\\":\\\"\\\",\\\"postgres:database\\\":\\\"nodebb\\\",\\\"admin:username\\\":\\\"admin\\\",\\\"admin:email\\\":\\\"test@example.org\\\",\\\"admin:password\\\":\\\"hAN3Eg8W\\\",\\\"admin:password:confirm\\\":\\\"hAN3Eg8W\\\"}\" --ci=\"{\\\"host\\\":\\\"127.0.0.1\\\",\\\"port\\\":5433,\\\"username\\\":\\\"postgres\\\",\\\"database\\\":\\\"travis_ci_test\\\"}\"; fi"
after_success:
- "npm run coveralls"
language: node_js
sudo: false
dist: xenial
env:
global:
- PGUSER=postgres
- PGPORT=5433
- CXX=g++-4.8
jobs:
- "DB=mongodb TEST_ENV=production"
- "DB=mongodb TEST_ENV=development"
- "DB=redis TEST_ENV=production"
- "DB=postgres TEST_ENV=production"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- mongodb-4.0-xenial
packages:
- g++-4.8
- mongodb-org-server
node_js:
- "14"
- "12"
branches:
only:
- master
- develop

7298
.tx/config

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,17 +1,36 @@
FROM --platform=$BUILDPLATFORM node:lts as npm
RUN mkdir -p /usr/src/build && \
chown -R node:node /usr/src/build
WORKDIR /usr/src/build
ARG NODE_ENV
ENV NODE_ENV $NODE_ENV
COPY --chown=node:node install/package.json /usr/src/build/package.json
USER node
RUN npm install --omit=dev
FROM node:lts
RUN mkdir -p /usr/src/app
RUN mkdir -p /usr/src/app && \
chown -R node:node /usr/src/app
WORKDIR /usr/src/app
ARG NODE_ENV
ENV NODE_ENV $NODE_ENV
COPY install/package.json /usr/src/app/package.json
COPY --chown=node:node --from=npm /usr/src/build /usr/src/app
RUN npm install --only=prod && \
USER node
RUN npm rebuild && \
npm cache clean --force
COPY . /usr/src/app
COPY --chown=node:node . /usr/src/app
ENV NODE_ENV=production \
daemon=false \
@@ -19,4 +38,4 @@ ENV NODE_ENV=production \
EXPOSE 4567
CMD node ./nodebb build ; node ./nodebb start
CMD test -n "${SETUP}" && ./nodebb setup || node ./nodebb build; node ./nodebb start

View File

@@ -2,24 +2,28 @@
const path = require('path');
const nconf = require('nconf');
nconf.argv().env({
separator: '__',
});
const winston = require('winston');
const fork = require('child_process').fork;
const env = process.env;
var worker;
const { fork } = require('child_process');
const { env } = process;
let worker;
env.NODE_ENV = env.NODE_ENV || 'development';
const configFile = path.resolve(__dirname, nconf.any(['config', 'CONFIG']) || 'config.json');
const prestart = require('./src/prestart');
prestart.loadConfig(configFile);
var db = require('./src/database');
const db = require('./src/database');
const plugins = require('./src/plugins');
module.exports = function (grunt) {
var args = [];
const args = [];
if (!grunt.option('verbose')) {
args.push('--log-level=info');
@@ -36,64 +40,51 @@ module.exports = function (grunt) {
grunt.registerTask('default', ['watch']);
grunt.registerTask('init', async function () {
var done = this.async();
let plugins = [];
const done = this.async();
let pluginList = [];
if (!process.argv.includes('--core')) {
await db.init();
plugins = await db.getSortedSetRange('plugins:active', 0, -1);
addBaseThemes(plugins);
if (!plugins.includes('nodebb-plugin-composer-default')) {
plugins.push('nodebb-plugin-composer-default');
pluginList = await plugins.getActive();
addBaseThemes(pluginList);
if (!pluginList.includes('nodebb-plugin-composer-default')) {
pluginList.push('nodebb-plugin-composer-default');
}
if (!plugins.includes('nodebb-theme-persona')) {
plugins.push('nodebb-theme-persona');
if (!pluginList.includes('nodebb-theme-persona')) {
pluginList.push('nodebb-theme-persona');
}
}
const styleUpdated_Client = plugins.map(p => 'node_modules/' + p + '/*.less')
.concat(plugins.map(p => 'node_modules/' + p + '/*.css'))
.concat(plugins.map(p => 'node_modules/' + p + '/+(public|static|less)/**/*.less'))
.concat(plugins.map(p => 'node_modules/' + p + '/+(public|static)/**/*.css'));
const styleUpdated_Client = pluginList.map(p => `node_modules/${p}/*.scss`)
.concat(pluginList.map(p => `node_modules/${p}/*.css`))
.concat(pluginList.map(p => `node_modules/${p}/+(public|static|scss)/**/*.scss`))
.concat(pluginList.map(p => `node_modules/${p}/+(public|static)/**/*.css`));
const styleUpdated_Admin = plugins.map(p => 'node_modules/' + p + '/*.less')
.concat(plugins.map(p => 'node_modules/' + p + '/*.css'))
.concat(plugins.map(p => 'node_modules/' + p + '/+(public|static|less)/**/*.less'))
.concat(plugins.map(p => 'node_modules/' + p + '/+(public|static)/**/*.css'));
const clientUpdated = plugins.map(p => 'node_modules/' + p + '/+(public|static)/**/*.js');
const serverUpdated = plugins.map(p => 'node_modules/' + p + '/*.js')
.concat(plugins.map(p => 'node_modules/' + p + '/+(lib|src)/**/*.js'));
const templatesUpdated = plugins.map(p => 'node_modules/' + p + '/+(public|static|templates)/**/*.tpl');
const langUpdated = plugins.map(p => 'node_modules/' + p + '/+(public|static|languages)/**/*.json');
const clientUpdated = pluginList.map(p => `node_modules/${p}/+(public|static)/**/*.js`);
const serverUpdated = pluginList.map(p => `node_modules/${p}/*.js`)
.concat(pluginList.map(p => `node_modules/${p}/+(lib|src)/**/*.js`));
const templatesUpdated = pluginList.map(p => `node_modules/${p}/+(public|static|templates)/**/*.tpl`);
const langUpdated = pluginList.map(p => `node_modules/${p}/+(public|static|languages)/**/*.json`);
const interval = 100;
grunt.config(['watch'], {
styleUpdated_Client: {
styleUpdated: {
files: [
'public/less/**/*.less',
'public/scss/**/*.scss',
...styleUpdated_Client,
],
options: {
interval: 1000,
},
},
styleUpdated_Admin: {
files: [
'public/less/**/*.less',
...styleUpdated_Admin,
],
options: {
interval: 1000,
interval: interval,
},
},
clientUpdated: {
files: [
'public/src/**/*.js',
'public/vendor/**/*.js',
...clientUpdated,
'node_modules/benchpressjs/build/benchpress.js',
],
options: {
interval: 1000,
interval: interval,
},
},
serverUpdated: {
@@ -101,14 +92,14 @@ module.exports = function (grunt) {
'app.js',
'install/*.js',
'src/**/*.js',
'public/src/modules/translator.js',
'public/src/modules/helpers.js',
'public/src/utils.js',
'public/src/modules/translator.common.js',
'public/src/modules/helpers.common.js',
'public/src/utils.common.js',
serverUpdated,
'!src/upgrades/**',
],
options: {
interval: 1000,
interval: interval,
},
},
templatesUpdated: {
@@ -117,7 +108,7 @@ module.exports = function (grunt) {
...templatesUpdated,
],
options: {
interval: 1000,
interval: interval,
},
},
langUpdated: {
@@ -127,13 +118,13 @@ module.exports = function (grunt) {
...langUpdated,
],
options: {
interval: 1000,
interval: interval,
},
},
});
const build = require('./src/meta/build');
if (!grunt.option('skip')) {
await build.build(true);
await build.build(true, { watch: true });
}
run();
done();
@@ -143,26 +134,33 @@ module.exports = function (grunt) {
if (worker) {
worker.kill();
}
const execArgv = [];
const inspect = process.argv.find(a => a.startsWith('--inspect'));
if (inspect) {
execArgv.push(inspect);
}
worker = fork('app.js', args, {
env: env,
env,
execArgv,
});
}
grunt.task.run('init');
grunt.event.removeAllListeners('watch');
grunt.event.on('watch', function update(action, filepath, target) {
var compiling;
if (target === 'styleUpdated_Client') {
compiling = 'clientCSS';
} else if (target === 'styleUpdated_Admin') {
compiling = 'acpCSS';
grunt.event.on('watch', (action, filepath, target) => {
let compiling;
if (target === 'styleUpdated') {
compiling = ['clientCSS', 'acpCSS'];
} else if (target === 'clientUpdated') {
compiling = 'js';
compiling = ['js'];
} else if (target === 'templatesUpdated') {
compiling = 'tpl';
compiling = ['tpl'];
} else if (target === 'langUpdated') {
compiling = 'lang';
compiling = ['lang'];
} else if (target === 'serverUpdated') {
// empty require cache
const paths = ['./src/meta/build.js', './src/meta/index.js'];
@@ -170,7 +168,7 @@ module.exports = function (grunt) {
return run();
}
require('./src/meta/build').build([compiling], function (err) {
require('./src/meta/build').build(compiling, { webpack: false }, (err) => {
if (err) {
winston.error(err.stack);
}
@@ -181,23 +179,23 @@ module.exports = function (grunt) {
});
};
function addBaseThemes(plugins) {
let themeId = plugins.find(p => p.includes('nodebb-theme-'));
function addBaseThemes(pluginList) {
let themeId = pluginList.find(p => p.includes('nodebb-theme-'));
if (!themeId) {
return plugins;
return pluginList;
}
let baseTheme;
do {
try {
baseTheme = require(themeId + '/theme').baseTheme;
baseTheme = require(`${themeId}/theme`).baseTheme;
} catch (err) {
console.log(err);
}
if (baseTheme) {
plugins.push(baseTheme);
pluginList.push(baseTheme);
themeId = baseTheme;
}
} while (baseTheme);
return plugins;
return pluginList;
}

View File

@@ -1,21 +1,15 @@
# ![NodeBB](public/images/logo.svg)
# ![NodeBB](public/images/sm-card.png)
[![Build Status](https://travis-ci.org/NodeBB/NodeBB.svg?branch=master)](https://travis-ci.org/NodeBB/NodeBB)
[![Workflow](https://github.com/NodeBB/NodeBB/actions/workflows/test.yaml/badge.svg)](https://github.com/NodeBB/NodeBB/actions/workflows/test.yaml)
[![Coverage Status](https://coveralls.io/repos/github/NodeBB/NodeBB/badge.svg?branch=master)](https://coveralls.io/github/NodeBB/NodeBB?branch=master)
[![Dependency Status](https://david-dm.org/nodebb/nodebb.svg?path=install)](https://david-dm.org/nodebb/nodebb?path=install)
[![Code Climate](https://codeclimate.com/github/NodeBB/NodeBB/badges/gpa.svg)](https://codeclimate.com/github/NodeBB/NodeBB)
[![](https://dcbadge.vercel.app/api/server/p6YKPXu7er?style=flat)](https://discord.gg/p6YKPXu7er)
[**NodeBB Forum Software**](https://nodebb.org) is powered by Node.js and built on either a Redis or MongoDB database. It utilizes web sockets for instant interactions and real-time notifications. NodeBB has many modern features out of the box such as social network integration and streaming discussions, while still making sure to be compatible with older browsers.
[**NodeBB Forum Software**](https://nodebb.org) is powered by Node.js and supports either Redis, MongoDB, or a PostgreSQL database. It utilizes web sockets for instant interactions and real-time notifications. NodeBB takes the best of the modern web: real-time streaming discussions, mobile responsiveness, and rich RESTful read/write APIs, while staying true to the original bulletin board/forum format &rarr; categorical hierarchies, local user accounts, and asynchronous messaging.
Additional functionality is enabled through the use of third-party plugins.
NodeBB by itself contains a "common core" of basic functionality, while additional functionality and integrations are enabled through the use of third-party plugins.
* [Demo & Meta Discussion](http://community.nodebb.org)
* [Documentation & Installation Instructions](http://docs.nodebb.org)
* [Help translate NodeBB](https://www.transifex.com/projects/p/nodebb/)
* [NodeBB Blog](http://blog.nodebb.org)
* [Premium Hosting for NodeBB](http://www.nodebb.org/ "NodeBB")
* [Follow us on Twitter](http://www.twitter.com/NodeBB/ "NodeBB Twitter")
* [Like us on Facebook](http://www.facebook.com/NodeBB/ "NodeBB Facebook")
### [Try it now](//try.nodebb.org) | [Documentation](//docs.nodebb.org)
## Screenshots
@@ -30,26 +24,24 @@ NodeBB's theming engine is highly flexible and does not restrict your design cho
[![](http://i.imgur.com/LmHtPhob.png)](http://i.imgur.com/LmHtPho.png)
[![](http://i.imgur.com/paiJPJkb.jpg)](http://i.imgur.com/paiJPJk.jpg)
Our minimalist "Persona" theme gets you going right away, no coding experience required.
[![](http://i.imgur.com/HwNEXGu.png)](http://i.imgur.com/HwNEXGu.png)
[![](http://i.imgur.com/II1byYs.png)](http://i.imgur.com/II1byYs.png)
Our minimalist "Harmony" theme gets you going right away, no coding experience required.
![Rendering of a NodeBB install on desktop and mobile devices](https://user-images.githubusercontent.com/923011/228570420-2a4db745-b20d-474a-a571-1b59259508ef.png)
## How can I follow along/contribute?
* If you are a developer, feel free to check out the source and submit pull requests. We also have a wide array of [plugins](http://community.nodebb.org/category/7/nodebb-plugins) which would be a great starting point for learning the codebase.
* If you are a designer, [NodeBB needs themes](http://community.nodebb.org/category/10/nodebb-themes)! NodeBB's theming system allows extension of the base templates as well as styling via LESS or CSS. NodeBB's base theme utilizes [Bootstrap 3](http://getbootstrap.com/) but themes can choose to use a different framework altogether.
* If you know languages other than English you can help us translate NodeBB. We use [Transifex](https://www.transifex.com/projects/p/nodebb/) for internationalization.
* If you are a designer, [NodeBB needs themes](http://community.nodebb.org/category/10/nodebb-themes)! NodeBB's theming system allows extension of the base templates as well as styling via SCSS or CSS. NodeBB's base theme utilizes [Bootstrap 5](http://getbootstrap.com/) as a frontend toolkit.
* If you know languages other than English you can help us translate NodeBB. We use [Transifex](https://explore.transifex.com/nodebb/nodebb/) for internationalization.
* Please don't forget to **like**, **follow**, and **star our repo**! Join our growing [community](http://community.nodebb.org) to keep up to date with the latest NodeBB development.
## Requirements
NodeBB requires the following software to be installed:
* A version of Node.js at least 12 or greater ([installation/upgrade instructions](https://github.com/nodesource/distributions))
* MongoDB, version 2.6 or greater **or** Redis, version 2.8.9 or greater
* A version of Node.js at least 16 or greater ([installation/upgrade instructions](https://github.com/nodesource/distributions))
* MongoDB, version 3.6 or greater **or** Redis, version 2.8.9 or greater
* If you are using [clustering](https://docs.nodebb.org/configuring/scaling/) you need Redis installed and configured.
* nginx, version 1.3.13 or greater (**only if** intending to use nginx to proxy requests to a NodeBB)
## Installation
@@ -76,3 +68,15 @@ Detailed upgrade instructions are listed in [Upgrading NodeBB](https://docs.node
NodeBB is licensed under the **GNU General Public License v3 (GPL-3)** (http://www.gnu.org/copyleft/gpl.html).
Interested in a sublicense agreement for use of NodeBB in a non-free/restrictive environment? Contact us at sales@nodebb.org.
## More Information/Links
* [Demo](https://try.nodebb.org)
* [Developer Community](http://community.nodebb.org)
* [Documentation & Installation Instructions](https://docs.nodebb.org)
* [Help translate NodeBB](https://explore.transifex.com/nodebb/nodebb/)
* [NodeBB Blog](https://nodebb.org/blog)
* [Premium Hosting for NodeBB](https://www.nodebb.org/ "NodeBB")
* Unofficial IRC community &ndash; channel `#nodebb` on Libera.chat
* [Follow us on Twitter](http://www.twitter.com/NodeBB/ "NodeBB Twitter")
* [Like us on Facebook](http://www.facebook.com/NodeBB/ "NodeBB Facebook")

8
app.js
View File

@@ -1,7 +1,7 @@
/*
NodeBB - A better forum platform for the modern web
https://github.com/NodeBB/NodeBB/
Copyright (C) 2013-2017 NodeBB Inc.
Copyright (C) 2013-2021 NodeBB Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -22,6 +22,7 @@
require('./require-main');
const nconf = require('nconf');
nconf.argv().env({
separator: '__',
});
@@ -40,6 +41,7 @@ const configFile = path.resolve(__dirname, nconf.any(['config', 'CONFIG']) || 'c
const configExists = file.existsSync(configFile) || (nconf.get('url') && nconf.get('secret') && nconf.get('database'));
const prestart = require('./src/prestart');
prestart.loadConfig(configFile);
prestart.setupWinston();
prestart.versionCheck();
@@ -47,7 +49,7 @@ winston.verbose('* using configuration stored in: %s', configFile);
if (!process.send) {
// If run using `node app`, log GNU copyright info along with server info
winston.info('NodeBB v' + nconf.get('version') + ' Copyright (C) 2013-' + (new Date()).getFullYear() + ' NodeBB Inc.');
winston.info(`NodeBB v${nconf.get('version')} Copyright (C) 2013-${(new Date()).getFullYear()} NodeBB Inc.`);
winston.info('This program comes with ABSOLUTELY NO WARRANTY.');
winston.info('This is free software, and you are welcome to redistribute it under certain conditions.');
winston.info('');
@@ -69,7 +71,7 @@ if (nconf.get('setup') || nconf.get('install')) {
});
} else if (nconf.get('activate')) {
require('./src/cli/manage').activate(nconf.get('activate'));
} else if (nconf.get('plugins')) {
} else if (nconf.get('plugins') && typeof nconf.get('plugins') !== 'object') {
require('./src/cli/manage').listPlugins();
} else if (nconf.get('build')) {
require('./src/cli/manage').build(nconf.get('build'));

View File

@@ -3,6 +3,7 @@
module.exports = {
extends: ['@commitlint/config-angular'],
rules: {
'header-max-length': [1, 'always', 72],
'type-enum': [
2,
'always',

View File

@@ -4,7 +4,7 @@
"description": "Announcements regarding our community",
"descriptionParsed": "<p>Announcements regarding our community</p>\n",
"bgColor": "#fda34b",
"color": "#fff",
"color": "#ffffff",
"icon" : "fa-bullhorn",
"order": 1
},
@@ -13,7 +13,7 @@
"description": "A place to talk about whatever you want",
"descriptionParsed": "<p>A place to talk about whatever you want</p>\n",
"bgColor": "#59b3d0",
"color": "#fff",
"color": "#ffffff",
"icon" : "fa-comments-o",
"order": 2
},
@@ -22,7 +22,7 @@
"description": "Blog posts from individual members",
"descriptionParsed": "<p>Blog posts from individual members</p>\n",
"bgColor": "#86ba4b",
"color": "#fff",
"color": "#ffffff",
"icon" : "fa-newspaper-o",
"order": 4
},
@@ -31,7 +31,7 @@
"description": "Got a question? Ask away!",
"descriptionParsed": "<p>Got a question? Ask away!</p>\n",
"bgColor": "#e95c5a",
"color": "#fff",
"color": "#ffffff",
"icon" : "fa-question",
"order": 3
}

View File

@@ -4,6 +4,7 @@
"defaultLang": "en-GB",
"loginDays": 14,
"loginSeconds": 0,
"sessionDuration": 0,
"loginAttempts": 5,
"lockoutDuration": 60,
"adminReloginDuration": 60,
@@ -14,36 +15,45 @@
"newbiePostEditDuration": 3600,
"postDeleteDuration": 0,
"enablePostHistory": 1,
"postCacheSize": 10485760,
"topicBacklinks": 1,
"postCacheSize": 20971520,
"disableChat": 0,
"chatEditDuration": 0,
"chatDeleteDuration": 0,
"chatMessageDelay": 200,
"notificationSendDelay": 60,
"newbiePostDelayThreshold": 3,
"postQueue": 0,
"postQueueReputationThreshold": 0,
"groupsExemptFromPostQueue": ["administrators", "Global Moderators"],
"groupsExemptFromMaintenanceMode": ["administrators", "Global Moderators"],
"minimumPostLength": 8,
"maximumPostLength": 32767,
"systemTags": "",
"minimumTagsPerTopic": 0,
"maximumTagsPerTopic": 5,
"minimumTagLength": 3,
"maximumTagLength": 15,
"allowTopicsThumbnail": 0,
"undoTimeout": 10000,
"allowTopicsThumbnail": 1,
"registrationType": "normal",
"registrationApprovalType": "normal",
"allowAccountDelete": 1,
"privateUploads": 0,
"allowedFileExtensions": "png,jpg,bmp,txt",
"uploadRateLimitThreshold": 10,
"uploadRateLimitCooldown": 60,
"allowUserHomePage": 1,
"allowMultipleBadges": 0,
"maximumFileSize": 2048,
"stripEXIFData": 1,
"orphanExpiryDays": 0,
"resizeImageWidthThreshold": 2000,
"resizeImageWidth": 760,
"rejectImageWidth": 5000,
"rejectImageHeight": 5000,
"resizeImageQuality": 80,
"topicThumbSize": 120,
"topicThumbSize": 512,
"minimumTitleLength": 3,
"maximumTitleLength": 255,
"minimumUsernameLength": 2,
@@ -59,10 +69,10 @@
"profileImageDimension": 200,
"profile:convertProfileImageToPNG": 0,
"profile:keepAllUserImages": 0,
"requireEmailConfirmation": 0,
"gdpr_enabled": 1,
"allowProfileImageUploads": 1,
"teaserPost": "last-reply",
"showPostPreviewsOnHover": 1,
"allowPrivateGroups": 1,
"unreadCutoff": 2,
"bookmarkThreshold": 5,
@@ -70,9 +80,14 @@
"reputation:disabled": 0,
"downvote:disabled": 0,
"disableSignatures": 0,
"signatures:hideDuplicates": 0,
"upvotesPerDay": 20,
"upvotesPerUserPerDay": 6,
"downvotesPerDay": 10,
"downvotesPerUserPerDay": 3,
"min:rep:chat": 0,
"min:rep:downvote": 0,
"min:rep:upvote": 0,
"min:rep:flag": 0,
"min:rep:profile-picture": 0,
"min:rep:cover-picture": 0,
@@ -80,13 +95,18 @@
"min:rep:aboutme": 0,
"min:rep:signature": 0,
"flags:limitPerTarget": 0,
"flags:autoFlagOnDownvoteThreshold": 0,
"flags:actionOnResolve": "rescind",
"flags:actionOnReject": "rescind",
"notificationType_upvote": "notification",
"notificationType_new-topic": "notification",
"notificationType_new-reply": "notification",
"notificationType_post-edit": "notification",
"notificationType_follow": "notification",
"notificationType_new-chat": "notification",
"notificationType_new-group-chat": "notification",
"notificationType_group-invite": "notification",
"notificationType_group-leave": "notification",
"notificationType_group-request-membership": "notification",
"notificationType_mention": "notification",
"notificationType_new-register": "notification",
@@ -98,11 +118,16 @@
"maxPostsPerPage": 20,
"topicsPerPage": 20,
"postsPerPage": 20,
"categoriesPerPage": 50,
"userSearchResultsPerPage": 50,
"searchDefaultSortBy": "relevance",
"searchDefaultIn": "titlesposts",
"searchDefaultInQuick": "titles",
"maximumGroupNameLength": 255,
"maximumGroupTitleLength": 40,
"preventTopicDeleteAfterReplies": 0,
"feeds:disableSitemap": 0,
"feeds:disableRSS": 0,
"sitemapTopics": 500,
"maintenanceMode": 0,
"maintenanceModeStatus": 503,
@@ -110,18 +135,33 @@
"maximumInvites": 0,
"username:disableEdit": 0,
"email:disableEdit": 0,
"email:smtpTransport:pool": false,
"email:smtpTransport:pool": 0,
"hideFullname": 0,
"hideEmail": 0,
"showFullnameAsDisplayName": 0,
"allowGuestHandles": 0,
"guestsIncrementTopicViews": 1,
"allowGuestReplyNotifications": 1,
"incrementTopicViewsInterval": 60,
"recentMaxTopics": 200,
"disableRecentCategoryFilter": 0,
"maximumRelatedTopics": 0,
"disableEmailSubscriptions": 0,
"emailConfirmInterval": 10,
"emailConfirmExpiry": 24,
"removeEmailNotificationImages": 0,
"sendValidationEmail": 1,
"includeUnverifiedEmails": 0,
"emailPrompt": 1,
"sendEmailToBanned": 0,
"requireEmailAddress": 0,
"inviteExpiration": 7,
"dailyDigestFreq": "off",
"digestHour": 17,
"passwordExpiryDays": 0,
"cross-origin-embedder-policy": 0,
"cross-origin-opener-policy": "same-origin",
"cross-origin-resource-policy": "same-origin",
"hsts-maxage": 31536000,
"hsts-subdomains": 0,
"hsts-preload": 0,
@@ -134,5 +174,14 @@
"necroThreshold": 7,
"categoryWatchState": "watching",
"submitPluginUsage": 1,
"maxUserSessions": 10
"showAverageApprovalTime": 1,
"autoApproveTime": 0,
"maxUserSessions": 10,
"useCompression": 0,
"updateUrlWithPostIndex": 1,
"composer:showHelpTab": 1,
"composer:allowPluginHelp": 1,
"maxReconnectionAttempts": 5,
"reconnectionDelay": 1500,
"disableCustomUserSkins": 0
}

View File

@@ -2,7 +2,7 @@
{
"widget": "html",
"data" : {
"html": "<footer id=\"footer\" class=\"container footer\">\r\n\t<div>\r\n\t\tPowered by <a target=\"_blank\" href=\"https://nodebb.org\">NodeBB</a> | <a target=\"_blank\" href=\"//github.com/NodeBB/NodeBB/graphs/contributors\">Contributors</a>\r\n\t</div>\r\n</footer>",
"html": "<footer id=\"footer\" class=\"container footer d-flex flex-column align-items-center gap-1 mb-2\">\n\t<span>Powered by <a class=\"link-secondary text-decoration-underline\" target=\"_blank\" href=\"https://nodebb.org\">NodeBB</a></span>\n\t<span><a class=\"link-secondary\" target=\"_blank\" href=\"//github.com/NodeBB/NodeBB/graphs/contributors\"><i class=\"fa fa-users\"></i> <span class=\"text-decoration-underline\">Contributors<span></a></span>\n</footer>",
"title":"",
"container":""
}

View File

@@ -4,7 +4,7 @@
"title": "[[global:header.categories]]",
"enabled": true,
"iconClass": "fa-list",
"textClass": "visible-xs-inline",
"textClass": "d-lg-none",
"text": "[[global:header.categories]]"
},
{
@@ -13,7 +13,7 @@
"title": "[[global:header.unread]]",
"enabled": true,
"iconClass": "fa-inbox",
"textClass": "visible-xs-inline",
"textClass": "d-lg-none",
"text": "[[global:header.unread]]",
"groups": ["registered-users"]
},
@@ -22,7 +22,7 @@
"title": "[[global:header.recent]]",
"enabled": true,
"iconClass": "fa-clock-o",
"textClass": "visible-xs-inline",
"textClass": "d-lg-none",
"text": "[[global:header.recent]]"
},
{
@@ -30,7 +30,7 @@
"title": "[[global:header.tags]]",
"enabled": true,
"iconClass": "fa-tags",
"textClass": "visible-xs-inline",
"textClass": "d-lg-none",
"text": "[[global:header.tags]]"
},
{
@@ -38,7 +38,7 @@
"title": "[[global:header.popular]]",
"enabled": true,
"iconClass": "fa-fire",
"textClass": "visible-xs-inline",
"textClass": "d-lg-none",
"text": "[[global:header.popular]]"
},
{
@@ -46,7 +46,7 @@
"title": "[[global:header.users]]",
"enabled": true,
"iconClass": "fa-user",
"textClass": "visible-xs-inline",
"textClass": "d-lg-none",
"text": "[[global:header.users]]"
},
{
@@ -54,7 +54,7 @@
"title": "[[global:header.groups]]",
"enabled": true,
"iconClass": "fa-group",
"textClass": "visible-xs-inline",
"textClass": "d-lg-none",
"text": "[[global:header.groups]]"
},
{
@@ -62,11 +62,8 @@
"title": "[[global:header.admin]]",
"enabled": true,
"iconClass": "fa-cogs",
"textClass": "visible-xs-inline",
"textClass": "d-lg-none",
"text": "[[global:header.admin]]",
"groups": ["administrators"],
"properties": {
"targetBlank": false
}
"groups": ["administrators"]
}
]

View File

@@ -3,10 +3,6 @@
const prompt = require('prompt');
const winston = require('winston');
const util = require('util');
const promptGet = util.promisify((schema, callback) => prompt.get(schema, callback));
const questions = {
redis: require('../src/database/redis').questions,
mongo: require('../src/database/mongo').questions,
@@ -14,7 +10,7 @@ const questions = {
};
module.exports = async function (config) {
winston.info('\nNow configuring ' + config.database + ' database:');
winston.info(`\nNow configuring ${config.database} database:`);
const databaseConfig = await getDatabaseConfig(config);
return saveDatabaseConfig(config, databaseConfig);
};
@@ -28,19 +24,19 @@ async function getDatabaseConfig(config) {
if (config['redis:host'] && config['redis:port']) {
return config;
}
return await promptGet(questions.redis);
return await prompt.get(questions.redis);
} else if (config.database === 'mongo') {
if ((config['mongo:host'] && config['mongo:port']) || config['mongo:uri']) {
return config;
}
return await promptGet(questions.mongo);
return await prompt.get(questions.mongo);
} else if (config.database === 'postgres') {
if (config['postgres:host'] && config['postgres:port']) {
return config;
}
return await promptGet(questions.postgres);
return await prompt.get(questions.postgres);
}
throw new Error('unknown database : ' + config.database);
throw new Error(`unknown database : ${config.database}`);
}
function saveDatabaseConfig(config, databaseConfig) {
@@ -79,11 +75,11 @@ function saveDatabaseConfig(config, databaseConfig) {
ssl: databaseConfig['postgres:ssl'],
};
} else {
throw new Error('unknown database : ' + config.database);
throw new Error(`unknown database : ${config.database}`);
}
const allQuestions = questions.redis.concat(questions.mongo).concat(questions.postgres);
for (var x = 0; x < allQuestions.length; x += 1) {
for (let x = 0; x < allQuestions.length; x += 1) {
delete config[allQuestions[x].name];
}

View File

@@ -2,8 +2,8 @@
"name": "nodebb",
"license": "GPL-3.0",
"description": "NodeBB Forum",
"version": "1.15.0-rc.0",
"homepage": "http://www.nodebb.org",
"version": "3.1.4",
"homepage": "https://www.nodebb.org",
"repository": {
"type": "git",
"url": "https://github.com/NodeBB/NodeBB/"
@@ -11,9 +11,9 @@
"main": "app.js",
"scripts": {
"start": "node loader.js",
"lint": "npx eslint --cache ./nodebb .",
"pretest": "npm run lint",
"test": "npx nyc --reporter=html --reporter=text-summary npx mocha",
"lint": "eslint --cache ./nodebb .",
"test": "nyc --reporter=html --reporter=text-summary mocha",
"coverage": "nyc report --reporter=text-lcov > ./coverage/lcov.info",
"coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage"
},
"nyc": {
@@ -22,166 +22,166 @@
"test/*"
]
},
"husky": {
"hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "npx commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
"eslint --fix"
]
},
"dependencies": {
"@adactive/bootstrap-tagsinput": "^0.8.2",
"ace-builds": "^1.4.9",
"archiver": "^5.0.0",
"async": "^3.2.0",
"autoprefixer": "^10.0.0",
"@adactive/bootstrap-tagsinput": "0.8.2",
"@isaacs/ttlcache": "1.4.0",
"@popperjs/core": "2.11.7",
"ace-builds": "1.21.1",
"archiver": "5.3.1",
"async": "3.2.4",
"autoprefixer": "10.4.14",
"bcryptjs": "2.4.3",
"benchpressjs": "2.0.8",
"body-parser": "^1.19.0",
"bootbox": "4.4.0",
"bootstrap": "^3.4.1",
"chart.js": "^2.9.3",
"cli-graph": "^3.2.2",
"clipboard": "^2.0.6",
"colors": "^1.4.0",
"commander": "^6.0.0",
"compare-versions": "3.6.0",
"compression": "^1.7.4",
"connect-ensure-login": "^0.1.1",
"connect-flash": "^0.1.1",
"connect-mongo": "3.2.0",
"connect-multiparty": "^2.2.0",
"connect-pg-simple": "^6.1.0",
"connect-redis": "5.0.0",
"cookie-parser": "^1.4.5",
"cron": "^1.8.2",
"cropperjs": "^1.5.6",
"csurf": "^1.11.0",
"daemon": "^1.1.0",
"diff": "^4.0.2",
"express": "^4.17.1",
"express-session": "^1.17.0",
"express-useragent": "^1.0.13",
"graceful-fs": "^4.2.3",
"helmet": "^4.0.0",
"html-to-text": "^5.1.1",
"ipaddr.js": "^2.0.0",
"jquery": "3.5.1",
"jquery-deserialize": "2.0.0-rc1",
"benchpressjs": "2.5.1",
"body-parser": "1.20.2",
"bootbox": "6.0.0",
"bootstrap": "5.2.3",
"bootswatch": "5.2.3",
"chalk": "4.1.2",
"chart.js": "2.9.4",
"cli-graph": "3.2.2",
"clipboard": "2.0.11",
"colors": "1.4.0",
"commander": "10.0.1",
"compare-versions": "5.0.3",
"compression": "1.7.4",
"connect-flash": "0.1.1",
"connect-mongo": "5.0.0",
"connect-multiparty": "2.2.0",
"connect-pg-simple": "8.0.0",
"connect-redis": "7.1.0",
"cookie-parser": "1.4.6",
"cron": "2.3.0",
"cropperjs": "1.5.13",
"csrf-sync": "4.0.1",
"daemon": "1.1.0",
"diff": "5.1.0",
"esbuild": "0.17.19",
"express": "4.18.2",
"express-session": "1.17.3",
"express-useragent": "1.0.15",
"file-loader": "6.2.0",
"fs-extra": "11.1.1",
"graceful-fs": "4.2.11",
"helmet": "7.0.0",
"html-to-text": "9.0.5",
"ipaddr.js": "2.0.1",
"jquery": "3.7.0",
"jquery-deserialize": "2.0.0",
"jquery-form": "4.3.0",
"jquery-serializeobject": "1.0.0",
"jquery-ui": "1.12.1",
"jsesc": "3.0.1",
"json2csv": "5.0.3",
"jsonwebtoken": "^8.5.1",
"less": "^3.11.1",
"lodash": "^4.17.15",
"logrotate-stream": "^0.2.6",
"lru-cache": "6.0.0",
"material-design-lite": "^1.3.0",
"mime": "^2.4.4",
"mkdirp": "^1.0.4",
"mongodb": "3.6.2",
"morgan": "^1.10.0",
"mousetrap": "^1.6.5",
"@nodebb/bootswatch": "3.4.2",
"@nodebb/mubsub": "1.7.0",
"@nodebb/socket.io-adapter-mongo": "3.1.0",
"nconf": "^0.10.0",
"nodebb-plugin-composer-default": "6.4.4",
"nodebb-plugin-dbsearch": "4.1.2",
"nodebb-plugin-emoji": "^3.3.0",
"nodebb-plugin-emoji-android": "2.0.0",
"nodebb-plugin-markdown": "8.12.1",
"nodebb-plugin-mentions": "2.13.0",
"nodebb-plugin-soundpack-default": "1.0.0",
"nodebb-plugin-spam-be-gone": "0.7.2",
"nodebb-rewards-essentials": "0.1.4",
"nodebb-theme-lavender": "5.0.14",
"nodebb-theme-persona": "10.2.60",
"nodebb-theme-slick": "1.2.39",
"nodebb-theme-vanilla": "11.2.22",
"nodebb-widget-essentials": "4.1.2",
"nodemailer": "^6.4.6",
"jquery-ui": "1.13.2",
"jsesc": "3.0.2",
"json2csv": "5.0.7",
"jsonwebtoken": "9.0.0",
"less": "4.1.3",
"lodash": "4.17.21",
"logrotate-stream": "0.2.9",
"lru-cache": "9.1.1",
"material-design-lite": "1.3.0",
"mime": "3.0.0",
"mkdirp": "3.0.1",
"mongodb": "5.5.0",
"morgan": "1.10.0",
"mousetrap": "1.6.5",
"multiparty": "4.2.3",
"nconf": "0.12.0",
"nodebb-plugin-2factor": "7.0.5",
"nodebb-plugin-composer-default": "10.1.5",
"nodebb-plugin-dbsearch": "6.0.1",
"nodebb-plugin-emoji": "5.0.15",
"nodebb-plugin-emoji-android": "4.0.0",
"nodebb-plugin-markdown": "12.0.4",
"nodebb-plugin-mentions": "4.1.1",
"nodebb-plugin-ntfy": "1.0.15",
"nodebb-plugin-spam-be-gone": "2.0.7",
"nodebb-rewards-essentials": "0.2.3",
"nodebb-theme-harmony": "1.0.34",
"nodebb-theme-lavender": "7.0.9",
"nodebb-theme-peace": "2.0.26",
"nodebb-theme-persona": "13.0.69",
"nodebb-widget-essentials": "7.0.12",
"nodemailer": "6.9.2",
"nprogress": "0.2.0",
"passport": "^0.4.1",
"passport-http-bearer": "^1.0.1",
"passport": "0.6.0",
"passport-http-bearer": "1.0.1",
"passport-local": "1.0.0",
"pg": "^8.0.2",
"pg-cursor": "^2.1.9",
"postcss": "8.0.6",
"postcss-clean": "1.1.0",
"promise-polyfill": "^8.1.3",
"prompt": "^1.0.0",
"redis": "3.0.2",
"pg": "8.11.0",
"pg-cursor": "2.10.0",
"postcss": "8.4.23",
"postcss-clean": "1.2.0",
"progress-webpack-plugin": "1.0.16",
"prompt": "1.3.0",
"ioredis": "5.3.2",
"request": "2.88.2",
"request-promise-native": "^1.0.8",
"requirejs": "2.3.6",
"rimraf": "3.0.2",
"rss": "^1.2.2",
"sanitize-html": "^2.0.0",
"semver": "^7.2.1",
"serve-favicon": "^2.5.0",
"sharp": "0.26.2",
"sitemap": "^6.1.0",
"request-promise-native": "1.0.9",
"rimraf": "5.0.1",
"rss": "1.2.2",
"rtlcss": "4.1.0",
"sanitize-html": "2.10.0",
"sass": "1.62.1",
"semver": "7.5.1",
"serve-favicon": "2.5.0",
"sharp": "0.32.1",
"sitemap": "7.1.1",
"slideout": "1.0.1",
"socket.io": "2.3.0",
"socket.io-adapter-cluster": "^1.0.1",
"socket.io-adapter-postgres": "^1.2.1",
"socket.io-client": "2.3.1",
"socket.io-redis": "5.4.0",
"socketio-wildcard": "2.0.0",
"sortablejs": "1.10.2",
"spdx-license-list": "^6.1.0",
"socket.io": "4.6.1",
"socket.io-client": "4.6.1",
"@socket.io/redis-adapter": "8.2.0",
"sortablejs": "1.15.0",
"spdx-license-list": "6.6.0",
"spider-detector": "2.0.0",
"textcomplete": "^0.17.1",
"textcomplete.contenteditable": "^0.1.1",
"timeago": "^1.6.7",
"terser-webpack-plugin": "5.3.9",
"textcomplete": "0.18.2",
"textcomplete.contenteditable": "0.1.1",
"timeago": "1.6.7",
"tinycon": "0.6.8",
"toobusy-js": "^0.5.1",
"uglify-es": "^3.3.9",
"validator": "13.1.17",
"visibilityjs": "2.0.2",
"winston": "3.3.3",
"xml": "^1.0.1",
"xregexp": "^4.3.0",
"zxcvbn": "^4.4.2"
"toobusy-js": "0.5.1",
"validator": "13.9.0",
"webpack": "5.83.1",
"webpack-merge": "5.8.0",
"winston": "3.8.2",
"xml": "1.0.1",
"xregexp": "5.1.1",
"yargs": "17.7.2",
"zxcvbn": "4.4.2"
},
"devDependencies": {
"@apidevtools/swagger-parser": "10.0.2",
"@commitlint/cli": "9.1.2",
"@commitlint/config-angular": "9.1.2",
"coveralls": "3.1.0",
"eslint": "7.11.0",
"eslint-config-airbnb-base": "14.2.0",
"eslint-plugin-import": "2.22.1",
"grunt": "1.3.0",
"@apidevtools/swagger-parser": "10.1.0",
"@commitlint/cli": "17.6.3",
"@commitlint/config-angular": "17.6.3",
"coveralls": "3.1.1",
"eslint": "8.41.0",
"eslint-config-nodebb": "0.2.1",
"eslint-plugin-import": "2.27.5",
"grunt": "1.6.1",
"grunt-contrib-watch": "1.1.0",
"husky": "4.3.0",
"jsdom": "16.4.0",
"lint-staged": "10.4.2",
"mocha": "8.2.0",
"husky": "8.0.3",
"jsdom": "22.0.0",
"lint-staged": "13.2.2",
"mocha": "10.2.0",
"mocha-lcov-reporter": "1.3.0",
"mockdate": "3.0.5",
"nyc": "15.1.0",
"smtp-server": "3.7.0"
"smtp-server": "3.11.0"
},
"optionalDependencies": {
"sass-embedded": "1.62.0"
},
"resolutions": {
"*/jquery": "3.7.0"
},
"bugs": {
"url": "https://github.com/NodeBB/NodeBB/issues"
},
"engines": {
"node": ">=10"
"node": ">=12"
},
"maintainers": [
{
"name": "Andrew Rodrigues",
"email": "andrew@nodebb.org",
"url": "https://github.com/psychobunny"
},
{
"name": "Julian Lam",
"email": "julian@nodebb.org",

View File

@@ -6,16 +6,14 @@ const bodyParser = require('body-parser');
const fs = require('fs');
const path = require('path');
const childProcess = require('child_process');
const less = require('less');
const util = require('util');
const lessRenderAsync = util.promisify(
(style, opts, cb) => less.render(String(style), opts, cb)
);
const uglify = require('uglify-es');
const webpack = require('webpack');
const nconf = require('nconf');
const Benchpress = require('benchpressjs');
const { mkdirp } = require('mkdirp');
const { paths } = require('../src/constants');
const sass = require('../src/utils').getSass();
const app = express();
let server;
@@ -25,8 +23,8 @@ const formats = [
];
const timestampFormat = winston.format((info) => {
var dateString = new Date().toISOString() + ' [' + global.process.pid + ']';
info.level = dateString + ' - ' + info.level;
const dateString = `${new Date().toISOString()} [${global.process.pid}]`;
info.level = `${dateString} - ${info.level}`;
return info;
});
formats.push(timestampFormat());
@@ -48,41 +46,35 @@ winston.configure({
});
const web = module.exports;
const scripts = [
'node_modules/jquery/dist/jquery.js',
'node_modules/xregexp/xregexp-all.js',
'public/src/modules/slugify.js',
'public/src/utils.js',
'public/src/installer/install.js',
'node_modules/zxcvbn/dist/zxcvbn.js',
];
let installing = false;
let success = false;
let error = false;
let launchUrl;
const viewsDir = path.join(paths.baseDir, 'build/public/templates');
web.install = async function (port) {
port = port || 4567;
winston.info('Launching web installer on port ' + port);
winston.info(`Launching web installer on port ${port}`);
app.use(express.static('public', {}));
app.engine('tpl', function (filepath, options, callback) {
app.use('/assets', express.static(path.join(__dirname, '../build/public'), {}));
app.engine('tpl', (filepath, options, callback) => {
filepath = filepath.replace(/\.tpl$/, '.js');
Benchpress.__express(filepath, options, callback);
});
app.set('view engine', 'tpl');
const viewsDir = path.join(paths.baseDir, 'build/public/templates');
app.set('views', viewsDir);
app.use(bodyParser.urlencoded({
extended: true,
}));
try {
await Promise.all([
compileLess(),
compileJS(),
compileTemplate(),
compileSass(),
runWebpack(),
copyCSS(),
loadDefaults(),
]);
@@ -93,9 +85,16 @@ web.install = async function (port) {
}
};
async function runWebpack() {
const util = require('util');
const webpackCfg = require('../webpack.installer');
const compiler = webpack(webpackCfg);
const webpackRun = util.promisify(compiler.run).bind(compiler);
await webpackRun();
}
function launchExpress(port) {
server = app.listen(port, function () {
server = app.listen(port, () => {
winston.info('Web installer listening on http://%s:%s', '0.0.0.0', port);
});
}
@@ -113,11 +112,9 @@ function ping(req, res) {
}
function welcome(req, res) {
var dbs = ['redis', 'mongo', 'postgres'];
var databases = dbs.map(function (databaseName) {
var questions = require('../src/database/' + databaseName).questions.filter(function (question) {
return question && !question.hideOnWebInstall;
});
const dbs = ['mongo', 'redis', 'postgres'];
const databases = dbs.map((databaseName) => {
const questions = require(`../src/database/${databaseName}`).questions.filter(question => question && !question.hideOnWebInstall);
return {
name: databaseName,
@@ -125,10 +122,10 @@ function welcome(req, res) {
};
});
var defaults = require('./data/defaults');
const defaults = require('./data/defaults.json');
res.render('install/index', {
url: nconf.get('url') || (req.protocol + '://' + req.get('host')),
url: nconf.get('url') || (`${req.protocol}://${req.get('host')}`),
launchUrl: launchUrl,
skipGeneralSetup: !!nconf.get('url'),
databases: databases,
@@ -148,35 +145,33 @@ function install(req, res) {
}
req.setTimeout(0);
installing = true;
var setupEnvVars = nconf.get();
for (var i in req.body) {
if (req.body.hasOwnProperty(i) && !process.env.hasOwnProperty(i)) {
setupEnvVars[i.replace(':', '__')] = req.body[i];
}
}
// Flatten any objects in setupEnvVars
const pushToRoot = function (parentKey, key) {
setupEnvVars[parentKey + '__' + key] = setupEnvVars[parentKey][key];
const database = nconf.get('database') || req.body.database || 'mongo';
const setupEnvVars = {
...process.env,
NODEBB_URL: nconf.get('url') || req.body.url || (`${req.protocol}://${req.get('host')}`),
NODEBB_PORT: nconf.get('port') || 4567,
NODEBB_ADMIN_USERNAME: nconf.get('admin:username') || req.body['admin:username'],
NODEBB_ADMIN_PASSWORD: nconf.get('admin:password') || req.body['admin:password'],
NODEBB_ADMIN_EMAIL: nconf.get('admin:email') || req.body['admin:email'],
NODEBB_DB: database,
NODEBB_DB_HOST: nconf.get(`${database}:host`) || req.body[`${database}:host`],
NODEBB_DB_PORT: nconf.get(`${database}:port`) || req.body[`${database}:port`],
NODEBB_DB_USER: nconf.get(`${database}:username`) || req.body[`${database}:username`],
NODEBB_DB_PASSWORD: nconf.get(`${database}:password`) || req.body[`${database}:password`],
NODEBB_DB_NAME: nconf.get(`${database}:database`) || req.body[`${database}:database`],
NODEBB_DB_SSL: nconf.get(`${database}:ssl`) || req.body[`${database}:ssl`],
defaultPlugins: JSON.stringify(nconf.get('defaultplugins') || nconf.get('defaultPlugins') || []),
};
for (var j in setupEnvVars) {
if (setupEnvVars.hasOwnProperty(j) && typeof setupEnvVars[j] === 'object' && setupEnvVars[j] !== null && !Array.isArray(setupEnvVars[j])) {
Object.keys(setupEnvVars[j]).forEach(pushToRoot.bind(null, j));
delete setupEnvVars[j];
} else if (Array.isArray(setupEnvVars[j])) {
setupEnvVars[j] = JSON.stringify(setupEnvVars[j]);
}
}
winston.info('Starting setup process');
winston.info(setupEnvVars);
launchUrl = setupEnvVars.url;
launchUrl = setupEnvVars.NODEBB_URL;
var child = require('child_process').fork('app', ['--setup'], {
const child = require('child_process').fork('app', ['--setup'], {
env: setupEnvVars,
});
child.on('close', function (data) {
child.on('close', (data) => {
installing = false;
success = data === 0;
error = data !== 0;
@@ -190,7 +185,7 @@ async function launch(req, res) {
res.json({});
server.close();
req.setTimeout(0);
var child;
let child;
if (!nconf.get('launchCmd')) {
child = childProcess.spawn('node', ['loader.js'], {
@@ -211,15 +206,20 @@ async function launch(req, res) {
}
const filesToDelete = [
'installer.css',
'installer.min.js',
'bootstrap.min.css',
path.join(__dirname, '../public', 'installer.css'),
path.join(__dirname, '../public', 'bootstrap.min.css'),
path.join(__dirname, '../build/public', 'installer.min.js'),
];
await Promise.all(
filesToDelete.map(
filename => fs.promises.unlink(path.join(__dirname, '../public', filename))
)
);
try {
await Promise.all(
filesToDelete.map(
filename => fs.promises.unlink(filename)
)
);
} catch (err) {
console.log(err.stack);
}
child.unref();
process.exit(0);
} catch (err) {
@@ -228,51 +228,61 @@ async function launch(req, res) {
}
}
async function compileLess() {
// this is necessary because otherwise the compiled templates won't be available on a clean install
async function compileTemplate() {
const sourceFile = path.join(__dirname, '../src/views/install/index.tpl');
const destTpl = path.join(viewsDir, 'install/index.tpl');
const destJs = path.join(viewsDir, 'install/index.js');
const source = await fs.promises.readFile(sourceFile, 'utf8');
const [compiled] = await Promise.all([
Benchpress.precompile(source, { filename: 'install/index.tpl' }),
mkdirp(path.dirname(destJs)),
]);
await Promise.all([
fs.promises.writeFile(destJs, compiled),
fs.promises.writeFile(destTpl, source),
]);
}
async function compileSass() {
try {
const installSrc = path.join(__dirname, '../public/less/install.less');
const installSrc = path.join(__dirname, '../public/scss/install.scss');
const style = await fs.promises.readFile(installSrc);
const css = await lessRenderAsync(style, { filename: path.resolve(installSrc) });
await fs.promises.writeFile(path.join(__dirname, '../public/installer.css'), css.css);
const scssOutput = sass.compileString(String(style), {
loadPaths: [
path.join(__dirname, '../public/scss'),
],
});
await fs.promises.writeFile(path.join(__dirname, '../public/installer.css'), scssOutput.css.toString());
} catch (err) {
winston.error('Unable to compile LESS: \n' + err.stack);
winston.error(`Unable to compile SASS: \n${err.stack}`);
throw err;
}
}
async function compileJS() {
let code = '';
for (const srcPath of scripts) {
// eslint-disable-next-line no-await-in-loop
const buffer = await fs.promises.readFile(path.join(__dirname, '..', srcPath));
code += buffer.toString();
}
const minified = uglify.minify(code, {
compress: false,
});
if (!minified.code) {
throw new Error('[[error:failed-to-minify]]');
}
await fs.promises.writeFile(path.join(__dirname, '../public/installer.min.js'), minified.code);
}
async function copyCSS() {
const src = await fs.promises.readFile(
path.join(__dirname, '../node_modules/bootstrap/dist/css/bootstrap.min.css'), 'utf8'
await fs.promises.copyFile(
path.join(__dirname, '../node_modules/bootstrap/dist/css/bootstrap.min.css'),
path.join(__dirname, '../public/bootstrap.min.css'),
);
await fs.promises.writeFile(path.join(__dirname, '../public/bootstrap.min.css'), src);
}
async function loadDefaults() {
const setupDefaultsPath = path.join(__dirname, '../setup.json');
try {
// eslint-disable-next-line no-bitwise
await fs.promises.access(setupDefaultsPath, fs.constants.F_OK | fs.constants.R_OK);
} catch (err) {
// setup.json not found or inaccessible, proceed with no defaults
if (err.code !== 'ENOENT') {
throw err;
}
return;
}
winston.info('[installer] Found setup.json, populating default values');
nconf.file({

155
loader.js
View File

@@ -1,82 +1,61 @@
'use strict';
var nconf = require('nconf');
var fs = require('fs');
var url = require('url');
var path = require('path');
var fork = require('child_process').fork;
var async = require('async');
var logrotate = require('logrotate-stream');
var mkdirp = require('mkdirp');
const nconf = require('nconf');
const fs = require('fs');
const url = require('url');
const path = require('path');
const { fork } = require('child_process');
const logrotate = require('logrotate-stream');
const { mkdirp } = require('mkdirp');
var file = require('./src/file');
var pkg = require('./package.json');
const file = require('./src/file');
const pkg = require('./package.json');
var pathToConfig = path.resolve(__dirname, process.env.CONFIG || 'config.json');
const pathToConfig = path.resolve(__dirname, process.env.CONFIG || 'config.json');
nconf.argv().env().file({
file: pathToConfig,
});
var pidFilePath = path.join(__dirname, 'pidfile');
const pidFilePath = path.join(__dirname, 'pidfile');
var outputLogFilePath = path.join(__dirname, nconf.get('logFile') || 'logs/output.log');
const outputLogFilePath = path.join(__dirname, nconf.get('logFile') || 'logs/output.log');
var logDir = path.dirname(outputLogFilePath);
const logDir = path.dirname(outputLogFilePath);
if (!fs.existsSync(logDir)) {
mkdirp.sync(path.dirname(outputLogFilePath));
}
var output = logrotate({ file: outputLogFilePath, size: '1m', keep: 3, compress: true });
var silent = nconf.get('silent') === 'false' ? false : nconf.get('silent') !== false;
var numProcs;
var workers = [];
var Loader = {
timesStarted: 0,
};
var appPath = path.join(__dirname, 'app.js');
const output = logrotate({ file: outputLogFilePath, size: '1m', keep: 3, compress: true });
const silent = nconf.get('silent') === 'false' ? false : nconf.get('silent') !== false;
let numProcs;
const workers = [];
const Loader = {};
const appPath = path.join(__dirname, 'app.js');
Loader.init = function (callback) {
Loader.init = function () {
if (silent) {
console.log = function () {
var args = Array.prototype.slice.call(arguments);
output.write(args.join(' ') + '\n');
console.log = (...args) => {
output.write(`${args.join(' ')}\n`);
};
}
process.on('SIGHUP', Loader.restart);
process.on('SIGTERM', Loader.stop);
callback();
};
Loader.displayStartupMessages = function (callback) {
Loader.displayStartupMessages = function () {
console.log('');
console.log('NodeBB v' + pkg.version + ' Copyright (C) 2013-2014 NodeBB Inc.');
console.log(`NodeBB v${pkg.version} Copyright (C) 2013-${(new Date()).getFullYear()} NodeBB Inc.`);
console.log('This program comes with ABSOLUTELY NO WARRANTY.');
console.log('This is free software, and you are welcome to redistribute it under certain conditions.');
console.log('For the full license, please visit: http://www.gnu.org/copyleft/gpl.html');
console.log('');
callback();
};
Loader.addWorkerEvents = function (worker) {
worker.on('exit', function (code, signal) {
if (code !== 0) {
if (Loader.timesStarted < numProcs * 3) {
Loader.timesStarted += 1;
if (Loader.crashTimer) {
clearTimeout(Loader.crashTimer);
}
Loader.crashTimer = setTimeout(function () {
Loader.timesStarted = 0;
}, 10000);
} else {
console.log((numProcs * 3) + ' restarts in 10 seconds, most likely an error on startup. Halting.');
process.exit();
}
}
console.log('[cluster] Child Process (' + worker.pid + ') has exited (code: ' + code + ', signal: ' + signal + ')');
worker.on('exit', (code, signal) => {
console.log(`[cluster] Child Process (${worker.pid}) has exited (code: ${code}, signal: ${signal})`);
if (!(worker.suicide || code === 0)) {
console.log('[cluster] Spinning up another process...');
@@ -84,7 +63,7 @@ Loader.addWorkerEvents = function (worker) {
}
});
worker.on('message', function (message) {
worker.on('message', (message) => {
if (message && typeof message === 'object' && message.action) {
switch (message.action) {
case 'restart':
@@ -92,12 +71,12 @@ Loader.addWorkerEvents = function (worker) {
Loader.restart();
break;
case 'pubsub':
workers.forEach(function (w) {
workers.forEach((w) => {
w.send(message);
});
break;
case 'socket.io':
workers.forEach(function (w) {
workers.forEach((w) => {
if (w !== worker) {
w.send(message);
}
@@ -108,32 +87,28 @@ Loader.addWorkerEvents = function (worker) {
});
};
Loader.start = function (callback) {
Loader.start = function () {
numProcs = getPorts().length;
console.log('Clustering enabled: Spinning up ' + numProcs + ' process(es).\n');
console.log(`Clustering enabled: Spinning up ${numProcs} process(es).\n`);
for (var x = 0; x < numProcs; x += 1) {
for (let x = 0; x < numProcs; x += 1) {
forkWorker(x, x === 0);
}
if (callback) {
callback();
}
};
function forkWorker(index, isPrimary) {
var ports = getPorts();
var args = [];
const ports = getPorts();
const args = [];
if (!ports[index]) {
return console.log('[cluster] invalid port for worker : ' + index + ' ports: ' + ports.length);
return console.log(`[cluster] invalid port for worker : ${index} ports: ${ports.length}`);
}
process.env.isPrimary = isPrimary;
process.env.isCluster = nconf.get('isCluster') || ports.length > 1;
process.env.port = ports[index];
var worker = fork(appPath, args, {
const worker = fork(appPath, args, {
silent: silent,
env: process.env,
});
@@ -146,20 +121,20 @@ function forkWorker(index, isPrimary) {
Loader.addWorkerEvents(worker);
if (silent) {
var output = logrotate({ file: outputLogFilePath, size: '1m', keep: 3, compress: true });
const output = logrotate({ file: outputLogFilePath, size: '1m', keep: 3, compress: true });
worker.stdout.pipe(output);
worker.stderr.pipe(output);
}
}
function getPorts() {
var _url = nconf.get('url');
const _url = nconf.get('url');
if (!_url) {
console.log('[cluster] url is undefined, please check your config.json');
process.exit();
}
var urlObject = url.parse(_url);
var port = nconf.get('PORT') || nconf.get('port') || urlObject.port || 4567;
const urlObject = url.parse(_url);
let port = nconf.get('PORT') || nconf.get('port') || urlObject.port || 4567;
if (!Array.isArray(port)) {
port = [port];
}
@@ -172,13 +147,13 @@ Loader.restart = function () {
nconf.remove('file');
nconf.use('file', { file: pathToConfig });
fs.readFile(pathToConfig, { encoding: 'utf-8' }, function (err, configFile) {
fs.readFile(pathToConfig, { encoding: 'utf-8' }, (err, configFile) => {
if (err) {
console.error('Error reading config');
throw err;
}
var conf = JSON.parse(configFile);
const conf = JSON.parse(configFile);
nconf.stores.env.readOnly = false;
nconf.set('url', conf.url);
@@ -201,13 +176,13 @@ Loader.stop = function () {
};
function killWorkers() {
workers.forEach(function (worker) {
workers.forEach((worker) => {
worker.suicide = true;
worker.kill();
});
}
fs.open(pathToConfig, 'r', function (err) {
fs.open(pathToConfig, 'r', (err) => {
if (err) {
// No config detected, kickstart web installer
fork('app');
@@ -216,12 +191,25 @@ fs.open(pathToConfig, 'r', function (err) {
if (nconf.get('daemon') !== 'false' && nconf.get('daemon') !== false) {
if (file.existsSync(pidFilePath)) {
let pid = 0;
try {
var pid = fs.readFileSync(pidFilePath, { encoding: 'utf-8' });
process.kill(pid, 0);
process.exit();
} catch (e) {
fs.unlinkSync(pidFilePath);
pid = fs.readFileSync(pidFilePath, { encoding: 'utf-8' });
if (pid) {
process.kill(pid, 0);
console.info(`Process "${pid}" from pidfile already running, exiting`);
process.exit();
} else {
console.info(`Invalid pid "${pid}" from pidfile, deleting pidfile`);
fs.unlinkSync(pidFilePath);
}
} catch (err) {
if (err.code === 'ESRCH') {
console.info(`Process "${pid}" from pidfile not found, deleting pidfile`);
fs.unlinkSync(pidFilePath);
} else {
console.error(err.stack);
throw err;
}
}
}
@@ -233,15 +221,12 @@ fs.open(pathToConfig, 'r', function (err) {
fs.writeFileSync(pidFilePath, String(process.pid));
}
async.series([
Loader.init,
Loader.displayStartupMessages,
Loader.start,
], function (err) {
if (err) {
console.error('[loader] Error during startup');
throw err;
}
});
try {
Loader.init();
Loader.displayStartupMessages();
Loader.start();
} catch (err) {
console.error('[loader] Error during startup');
throw err;
}
});

View File

@@ -1,54 +1,3 @@
{
"globals": {
"app": true,
"io": true,
"socket": true,
"ajaxify": true,
"config": true,
"utils": true,
"overrides": true,
"componentHandler": true,
"bootbox": true,
"Visibility": true,
"Tinycon": true,
"Promise": true
},
"env": {
"jquery": true,
"amd": true,
"browser": true,
"es6": true
},
"rules": {
"block-scoped-var": "off",
"no-dupe-class-members": "off",
"no-var": "off",
"object-shorthand": "off",
"prefer-arrow-callback": "off",
"prefer-spread": "off",
"prefer-object-spread": "off",
"prefer-reflect": "off",
"prefer-template": "off"
},
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"classes": false,
"defaultParams": false,
"experimentalObjectRestSpread": false,
"blockBindings": false,
"forOf": false,
"generators": false,
"globalReturn": false,
"jsx": false,
"modules": false,
"objectLiteralComputedProperties": false,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": false,
"objectLiteralShorthandProperties": false,
"impliedStrict": false,
"restParams": false,
"superInFunctions": false
}
}
"extends": "nodebb/public"
}

View File

@@ -1,83 +0,0 @@
{
"maxerr" : 50, // {int} Maximum error before stopping
// Enforcing
"bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.)
"camelcase" : false, // true: Identifiers must be in camelCase
"curly" : true, // true: Require {} for every new block or scope
"eqeqeq" : true, // true: Require triple equals (===) for comparison
"forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty()
"immed" : false, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
"indent" : 4, // {int} Number of spaces to use for indentation
"latedef" : false, // true: Require variables/functions to be defined before being used
"newcap" : false, // true: Require capitalization of all constructor functions e.g. `new F()`
"noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
"noempty" : true, // true: Prohibit use of empty blocks
"nonew" : false, // true: Prohibit use of constructors for side-effects (without assignment)
"plusplus" : false, // true: Prohibit use of `++` & `--`
"quotmark" : false, // Quotation mark consistency:
// false : do nothing (default)
// true : ensure whatever is used is consistent
// "single" : require single quotes
// "double" : require double quotes
"undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
"unused" : true, // true: Require all defined variables be used
"strict" : true, // true: Requires all functions run in ES5 Strict Mode
"trailing" : false, // true: Prohibit trailing whitespaces
"maxparams" : false, // {int} Max number of formal params allowed per function
"maxdepth" : false, // {int} Max depth of nested blocks (within functions)
"maxstatements" : false, // {int} Max number statements per function
"maxcomplexity" : false, // {int} Max cyclomatic complexity per function
"maxlen" : false, // {int} Max number of characters per line
// Relaxing
"asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
"boss" : false, // true: Tolerate assignments where comparisons would be expected
"debug" : false, // true: Allow debugger statements e.g. browser breakpoints.
"eqnull" : false, // true: Tolerate use of `== null`
"es5" : false, // true: Allow ES5 syntax (ex: getters and setters)
"esnext" : false, // true: Allow ES.next (ES6) syntax (ex: `const`)
"moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
// (ex: `for each`, multiple try/catch, function expression…)
"evil" : false, // true: Tolerate use of `eval` and `new Function()`
"expr" : false, // true: Tolerate `ExpressionStatement` as Programs
"funcscope" : false, // true: Tolerate defining variables inside control statements"
"globalstrict" : false, // true: Allow global "use strict" (also enables 'strict')
"iterator" : false, // true: Tolerate using the `__iterator__` property
"lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block
"laxbreak" : false, // true: Tolerate possibly unsafe line breakings
"laxcomma" : false, // true: Tolerate comma-first style coding
"loopfunc" : false, // true: Tolerate functions being defined in loops
"multistr" : false, // true: Tolerate multi-line strings
"proto" : false, // true: Tolerate using the `__proto__` property
"scripturl" : false, // true: Tolerate script-targeted URLs
"smarttabs" : false, // true: Tolerate mixed tabs/spaces when used for alignment
"shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
"sub" : false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
"supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;`
"validthis" : false, // true: Tolerate using this in a non-constructor function
"globals": {
"app": true,
"io": true,
"socket": true,
"ajaxify": true,
"config": true,
"utils": true,
"overrides": true,
"componentHandler": true,
"bootbox": true,
"templates": true,
"Visibility": true,
"Tinycon": true,
"require": true,
"define": true,
"ace": true,
"Sortable": true,
"Slideout": true,
"NProgress": true
},
"jquery": true,
"browser": true
}

BIN
public/images/sm-card.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

View File

@@ -3,7 +3,7 @@
The files here are read-only and overwritten daily (if there are changes) by the
helper bot [Misty](https://github.com/nodebb-misty).
Our localisation efforts are handled via [our Transifex Project](https://www.transifex.com/nodebb/nodebb/),
Our localisation efforts are handled via [our Transifex Project](https://explore.transifex.com/nodebb/nodebb/),
and any pull requests made to this directory will be automatically closed because
localisations can go out-of-sync when edited directly.

View File

@@ -0,0 +1,3 @@
# The files here are not meant to be edited directly
Please see the &rarr; [Internalization README](../README.md).

View File

@@ -3,5 +3,7 @@
"alert.confirm-restart": "هل تريد بالتأكيد إعادة تشغيل NodeBB؟",
"acp-title": "لوحة تحكم إدارة NodeBB | %1",
"settings-header-contents": "محتويات"
"settings-header-contents": "محتويات",
"changes-not-saved": "لم يتم حفظ التغييرات",
"changes-not-saved-message": "حدثت مشكلة أثناء حفظ التغييرات في NodeBB. (%1)"
}

View File

@@ -1,11 +1,9 @@
{
"post-cache": "التخزين المؤقت للمشاركات",
"posts-in-cache": "المشاركات المخزنة مؤقتاً",
"average-post-size": "متوسط ​​حجم المشاركة",
"length-to-max": "الطول / أقصى حد",
"group-cache": "التخزين المؤقت للمجموعات",
"local-cache": "تخزين مؤقت محلي",
"object-cache": "تخزين مؤقت للأشياء",
"percent-full": "1% كاملة",
"post-cache-size": "حجم التخزين المؤقت للمشاركات",
"items-in-cache": "العناصر في التخزين المؤقت",
"control-panel": "لوحة التحكم",
"update-settings": "تحديث إعدادات التخزين المؤقت"
"items-in-cache": "العناصر في التخزين المؤقت"
}

View File

@@ -1,52 +1,52 @@
{
"x-b": "%1 b",
"x-mb": "%1 mb",
"x-gb": "%1 gb",
"uptime-seconds": "Uptime in Seconds",
"uptime-days": "Uptime in Days",
"x-b": "٪1 بايت",
"x-mb": "٪1 ميقا بايت",
"x-gb": "٪1 قيقا بايت",
"uptime-seconds": "مدة التشغيل بالثواني",
"uptime-days": "مدة التشغيل بالأيام",
"mongo": "Mongo",
"mongo.version": "MongoDB Version",
"mongo.storage-engine": "Storage Engine",
"mongo.collections": "Collections",
"mongo.objects": "Objects",
"mongo.avg-object-size": "Avg. Object Size",
"mongo.data-size": "Data Size",
"mongo.storage-size": "Storage Size",
"mongo.index-size": "Index Size",
"mongo.file-size": "File Size",
"mongo.resident-memory": "Resident Memory",
"mongo.version": "اصدار MongoDB",
"mongo.storage-engine": "محرك التخزين",
"mongo.collections": "التجميعات",
"mongo.objects": "العناصر",
"mongo.avg-object-size": "معدل حجم العناصر",
"mongo.data-size": "حجم البيانات",
"mongo.storage-size": "حجم التخرين",
"mongo.index-size": "حجم الفهرس",
"mongo.file-size": "حجم الملف",
"mongo.resident-memory": "الذاكرة الساكنة",
"mongo.virtual-memory": "الذاكرة الإفتراضية",
"mongo.mapped-memory": "Mapped Memory",
"mongo.bytes-in": "Bytes In",
"mongo.bytes-out": "Bytes Out",
"mongo.num-requests": "Number of Requests",
"mongo.raw-info": "MongoDB Raw Info",
"mongo.unauthorized": "NodeBB was unable to query the MongoDB database for relevant statistics. Please ensure that the user in use by NodeBB contains the &quot;clusterMonitor&quot; role for the &quot;admin&quot; database.",
"mongo.mapped-memory": "الذاكرة المعينة",
"mongo.bytes-in": "البايتات الواردة",
"mongo.bytes-out": "البايتات الصادرة",
"mongo.num-requests": "عدد الطلبات",
"mongo.raw-info": "معلومات MongoDB الأولية",
"mongo.unauthorized": "لم يستطع NodeBB من الاستعلام عن احصاءات قواعد البيانات ل MongoDB. الرجاء التأكد من أن المستخدم في NodeBB يحتوي على دور &quot;clusterMonitor&quot; ال &quot;admin&quot; لقواعد البيانات.",
"redis": "Redis",
"redis.version": "Redis Version",
"redis.keys": "Keys",
"redis.expires": "Expires",
"redis.avg-ttl": "Average TTL",
"redis.connected-clients": "Connected Clients",
"redis.connected-slaves": "Connected Slaves",
"redis.blocked-clients": "Blocked Clients",
"redis.version": "إصدار Redis",
"redis.keys": "المفاتيح",
"redis.expires": "ينتهي ",
"redis.avg-ttl": "متوسط وقت الانعاش",
"redis.connected-clients": "العميل المتصل",
"redis.connected-slaves": "البدلاء المتصلين",
"redis.blocked-clients": "العملاء المحظورون",
"redis.used-memory": "الذاكرة المستخدمة",
"redis.memory-frag-ratio": "Memory Fragmentation Ratio",
"redis.memory-frag-ratio": "نسبة تجزئة الذاكرة",
"redis.total-connections-recieved": "إجمالي الاتصالات المستلمة",
"redis.total-commands-processed": "إجمالي الأوامر التي تمت معالجتها",
"redis.iops": "Instantaneous Ops. Per Second",
"redis.iinput": "Instantaneous Input Per Second",
"redis.ioutput": "Instantaneous Output Per Second",
"redis.total-input": "Total Input",
"redis.total-output": "Total Ouput",
"redis.iops": "العمليات اللحظية في الثانية",
"redis.iinput": "الإدخال الفوري في الثانية",
"redis.ioutput": "المخرجات الفورية في الثانية",
"redis.total-input": "مجموع المدخلات",
"redis.total-output": "مجموع المخرجات",
"redis.keyspace-hits": "Keyspace Hits",
"redis.keyspace-misses": "Keyspace Misses",
"redis.raw-info": "Redis Raw Info",
"redis.keyspace-hits": "المفاتيح المضغوطة",
"redis.keyspace-misses": "المفاتيح المخفقة",
"redis.raw-info": "معلومات Redis الأولية",
"postgres": "Postgres",
"postgres.version": "PostgreSQL Version",
"postgres.raw-info": "Postgres Raw Info"
"postgres.version": "إصدار PostgreSQL",
"postgres.raw-info": "معلومات Postgres الأولية"
}

View File

@@ -2,11 +2,12 @@
"events": "أحداث",
"no-events": "لا توجد أحداث",
"control-panel": "لوحة تحكم الأحداث",
"delete-events": "Delete Events",
"filters": "Filters",
"filters-apply": "Apply Filters",
"filter-type": "Event Type",
"filter-start": "Start Date",
"filter-end": "End Date",
"filter-perPage": "Per Page"
"delete-events": "حذف الاحداث",
"confirm-delete-all-events": "هل أنت متاكد أنك تريد حذف كل سجل اﻻحداث؟",
"filters": "تصفية",
"filters-apply": "تطبيق التصفية",
"filter-type": "نوع الحدث",
"filter-start": "تاريخ البدء",
"filter-end": "تاريخ الانتهاء",
"filter-perPage": "لكل صفحة"
}

View File

@@ -1,14 +1,14 @@
{
"custom-css": "Custom CSS/LESS",
"custom-css.description": "Enter your own CSS/LESS declarations here, which will be applied after all other styles.",
"custom-css.enable": "Enable Custom CSS/LESS",
"custom-css": "Custom CSS/SASS",
"custom-css.description": "Enter your own CSS/SASS declarations here, which will be applied after all other styles.",
"custom-css.enable": "Enable Custom CSS/SASS",
"custom-js": "Javascript مخصصة",
"custom-js.description": "أدخل Javascript الخاص بك هنا. سيتم تنفيذها بعد تحميل الصفحة بالكامل.",
"custom-js.enable": "تفعيل Javascript المخصصة",
"custom-header": "ترويسة مخصصة",
"custom-header.description": "Enter custom HTML here (ex. Meta Tags, etc.), which will be appended to the <code>&lt;head&gt;</code> section of your forum's markup. Script tags are allowed, but are discouraged, as the <a href=\"#custom-js\" data-toggle=\"tab\">Custom Javascript</a> tab is available.",
"custom-header.description": "أدخل وسوم HTML المخصصة هنا (مثل: Meta Tags, وغيرها)، والتي سيتم تضمينها لجزئية <code>&lt;head&gt;</code> من ترميز المنتدى. يُسمح بعلامات البرمجة النصية، ولكن لا يُنصح بها ، نظرًا لأن علامة التبويب <a href=\"#custom-js\" data-toggle=\"tab\"> Custom Javascript </a> متاحة.",
"custom-header.enable": "تفعيل الترويسة المخصصة",
"custom-css.livereload": "تفعيل إعادة التحميل المباشرة",

View File

@@ -7,5 +7,5 @@
"revert-confirm": "هل أنت متأكد من أنك ترغب في استعادة قااب NodeBB الافتراضي؟",
"theme-changed": "تم تغيير القالب",
"revert-success": "لقد قمت بنجاح بإستعادة القالب الأساسي لـNodeBB",
"restart-to-activate": "Please rebuild and restart your NodeBB to fully activate this theme."
"restart-to-activate": "يرجى إعادة بناء وإعادة تشغيل NodeBB لتنشيط هذا الثيم."
}

View File

@@ -1,8 +1,9 @@
{
"forum-traffic": "Forum Traffic",
"forum-traffic": "حركة المنتدى",
"page-views": "مشاهدات الصفحات",
"unique-visitors": "زائرين فريدين",
"new-users": "New Users",
"logins": "عمليات تسجيل الدخول",
"new-users": "مستخدم جديد",
"posts": "مشاركات",
"topics": "مواضيع",
"page-views-seven": "آخر 7 ايام",
@@ -14,23 +15,24 @@
"page-views-custom-help": "أدخل نطاقا زمنيا لمرات مشاهدة الصفحات التي ترغب في عرضها. إذا لم يظهر منتقي التاريخ، فإن التنسيق المقبول هو <code>YYYY-MM-DD</code>",
"page-views-custom-error": "الرجاء إدخال نطاق تاريخ صالح بالتنسيق <code>YYYY-MM-DD</code>",
"stats.yesterday": "Yesterday",
"stats.today": "Today",
"stats.last-week": "Last Week",
"stats.this-week": "This Week",
"stats.last-month": "Last Month",
"stats.this-month": "This Month",
"stats.yesterday": "الأمس",
"stats.today": "اليوم",
"stats.last-week": "الاسبوع الماضي",
"stats.this-week": "هذا الاسبوع",
"stats.last-month": "الشهر الماضي",
"stats.this-month": "هذا الشهر",
"stats.all": "كل الوقت",
"updates": "تحديثات",
"running-version": "المنتدى يعمل حاليا على <strong>NodeBB الإصدار<span id=\"version\">%1</span></strong>.",
"keep-updated": "تأكد دائما من أن NodeBB يعمل على احدث إصدار للحصول على أحدث التصحيحات الأمنية وإصلاحات الأخطاء.",
"up-to-date": "<p>المنتدى <strong>يعمل على أحدث إصدار</strong> <i class=\"fa fa-check\"></i></p>",
"upgrade-available": "<p>A new version (v%1) has been released. Consider <a href=\"https://docs.nodebb.org/configuring/upgrade/\" target=\"_blank\">upgrading your NodeBB</a>.</p>",
"prerelease-upgrade-available": "<p>This is an outdated pre-release version of NodeBB. A new version (v%1) has been released. Consider <a href=\"https://docs.nodebb.org/configuring/upgrade/\" target=\"_blank\">upgrading your NodeBB</a>.</p>",
"upgrade-available": "<p> هناك إصدار جديد برقم (v%1). خذ بعين الاعتبار <a href=\"https://docs.nodebb.org/configuring/upgrade/\" target=\"_blank\"> ترقية NodeBB </a>.</p>",
"prerelease-upgrade-available": "<p>هذا إصدار منتهي من الاصدارات المسبقة من NodeBB. هناك إصدار جديد برقم (v٪ 1). ضع في اعتبارك <a href=\"https://docs.nodebb.org/configuring/upgrade/\" target=\"_blank\">ترقية NodeBB إليه</a>.</p>",
"prerelease-warning": "<p>هذه نسخة <strong>ماقبل الإصدار</strong> من NodeBB. قد تحدث أخطاء غير مقصودة. <i class=\"fa fa-exclamation-triangle\"></i></p>",
"fallback-emailer-not-found": "مرسل البريد الإلكتروني الاحتياطي غير موجود!",
"running-in-development": "المنتدى قيد التشغيل في وضع \"المطورين\". وقد تكون هناك ثغرات أمنية مفتوحة؛ من فضلك تواصل مع مسؤول نظامك.",
"latest-lookup-failed": "<p>Failed to look up latest available version of NodeBB</p>",
"latest-lookup-failed": "<p>فشل البحث عن أحدث إصدار متوفر من NodeBB</p>",
"notices": "إشعارات",
"restart-not-required": "إعادة التشغيل غير مطلوب",
@@ -40,10 +42,10 @@
"search-plugin-tooltip": "نصب إضافة البحث من صفحة الإضافات البرمجية لتنشيط وظيفة البحث",
"control-panel": "التحكم بالنظام",
"rebuild-and-restart": "Rebuild &amp; Restart",
"restart": "Restart",
"restart-warning": "Rebuilding or Restarting your NodeBB will drop all existing connections for a few seconds.",
"restart-disabled": "Rebuilding and Restarting your NodeBB has been disabled as you do not seem to be running it via the appropriate daemon.",
"rebuild-and-restart": "أعد البناء &amp; وأعد التشغيل",
"restart": "أعد التشغيل",
"restart-warning": "ستؤدي إعادة بناء أو إعادة تشغيل NodeBB إلى إنقطاع الاتصال بالمنتدى لبضع ثوان.",
"restart-disabled": "تم تعطيل إعادة بناء NodeBB وإعادة تشغيله حيث لا يبدو أنك تقوم بتشغيله عبر البرنامج الخفي المناسب.",
"maintenance-mode": "وضع الصيانة",
"maintenance-mode-title": "انقر هنا لإعداد وضع الصيانة لـNodeBB",
"realtime-chart-updates": "التحديث الفوري للرسم البياني",
@@ -52,10 +54,10 @@
"active-users.users": "الأعضاء",
"active-users.guests": "الزوار",
"active-users.total": "المجموع",
"active-users.connections": "Connections",
"active-users.connections": "روابط الاتصال",
"anonymous-registered-users": "المجهولين مقابل المستخدمين المسجلين",
"anonymous": "مجهول",
"guest-registered-users": "الزائر مقابل المستخدمين المسجلين",
"guest": "الزائر",
"registered": "مسجل",
"user-presence": "تواجد المستخدمين",
@@ -66,14 +68,26 @@
"unread": "غير مقروء",
"high-presence-topics": "مواضيع ذات حضور قوي",
"popular-searches": "عمليات البحث الشائعة",
"graphs.page-views": "مشاهدات الصفحة",
"graphs.page-views-registered": "Page Views Registered",
"graphs.page-views-guest": "Page Views Guest",
"graphs.page-views-bot": "Page Views Bot",
"graphs.page-views-registered": "زيارات الصفحات المسجلة",
"graphs.page-views-guest": "زيارات الصفحات للزوار",
"graphs.page-views-bot": "زيارات الصفحات الآلية",
"graphs.unique-visitors": "زوار فريدين",
"graphs.registered-users": "مستخدمين مسجلين",
"graphs.anonymous-users": "مستخدمين مجهولين",
"last-restarted-by": "Last restarted by",
"no-users-browsing": "No users browsing"
"graphs.guest-users": "المستخدمين الزوار",
"last-restarted-by": "آخر إعادة تشغيل بواسطة",
"no-users-browsing": "لا يوجد مستخدمين يتصفحون",
"back-to-dashboard": "العودة للوحة التحكم",
"details.no-users": "لم ينضم أي مستخدم خلال الإطار الزمني المحدد",
"details.no-topics": "لم يتم نشر أي مواضيع خلال الإطار الزمني المحدد",
"details.no-searches": "لم يتم إجراء أي بحث خلال الإطار الزمني المحدد",
"details.no-logins": "لم يوثق أي تسجيل دخول خلال الإطار الزمني المحدد",
"details.logins-static": "يقوم NodeBB بحفظ بيانات الجلسة لمدة ٪1 يوم/أيام فقط، ولذا فإن هذا الجدول أدناه سيعرض فقط أحدث الجلسات النشطة",
"details.logins-login-time": "وقت تسجيل الدخول",
"start": "بدء",
"end": "إنهاء",
"filter": "تصفية"
}

View File

@@ -1,14 +1,18 @@
{
"you-are-on": "You are on <strong>%1:%2</strong>",
"ip": "IP <strong>%1</strong>",
"nodes-responded": "%1 nodes responded within %2ms!",
"host": "host",
"you-are-on": "أنت في <strong> %1:%2 </strong>",
"ip": "رقم الآي بي <strong> %1 </strong>",
"nodes-responded": "عدد %1 نقطة/نقاط استجابوا خلال %2 جزء من الثانية.",
"host": "المضيف",
"primary": "primary / run jobs",
"pid": "pid",
"nodejs": "nodejs",
"online": "online",
"git": "git",
"memory": "memory",
"process-memory": "process memory",
"system-memory": "system memory",
"used-memory-process": "Used memory by process",
"used-memory-os": "Used system memory",
"total-memory-os": "Total system memory",
"load": "system load",
"cpu-usage": "cpu usage",
"uptime": "uptime",

View File

@@ -1,12 +1,12 @@
{
"logger-settings": "Logger Settings",
"description": "By enabling the check boxes, you will receive logs to your terminal. If you specify a path, logs will then be saved to a file instead. HTTP logging is useful for collecting statistics about who, when, and what people access on your forum. In addition to logging HTTP requests, we can also log socket.io events. Socket.io logging, in combination with redis-cli monitor, can be very helpful for learning NodeBB's internals.",
"explanation": "Simply check/uncheck the logging settings to enable or disable logging on the fly. No restart needed.",
"enable-http": "Enable HTTP logging",
"enable-socket": "Enable socket.io event logging",
"file-path": "Path to log file",
"file-path-placeholder": "/path/to/log/file.log ::: leave blank to log to your terminal",
"logger-settings": "إعدادات المسجِّل",
"description": "من خلال تمكين مربعات الاختيار ، ستتلقى سجلات إلى جهازك الطرفي. إذا حددت مسارًا ، فسيتم بعد ذلك حفظ السجلات في ملف بدلاً من ذلك. يعد تسجيل HTTP مفيدًا لجمع الإحصائيات حول من ومتى وماذا يصل الأشخاص في المنتدى. بالإضافة إلى تسجيل طلبات HTTP ، يمكننا أيضًا تسجيل أحداث socket.io. يمكن أن يكون تسجيل Socket.io ، جنبًا إلى جنب مع شاشة redis-cli ، مفيدًا جدًا في تعلم العناصر الداخلية لـ NodeBB.",
"explanation": "ما عليك سوى تحديدأو/ إلغاء تحديد إعدادات التسجيل لتمكين أو تعطيل التسجيل أثناء التنقل. لا حاجة لإعادة التشغيل.",
"enable-http": "تمكين سجلات HTTP",
"enable-socket": "تفعيل تسجيل أحداث socket.io",
"file-path": "مسار ملف السجل",
"file-path-placeholder": "/path/to/log/file.log ::: اتركه فارغا لاظهار السجلات لنافذة الطرفية",
"control-panel": "Logger Control Panel",
"update-settings": "Update Logger Settings"
"control-panel": "لوحة تحكم المسجل",
"update-settings": "تحديث إعدادات المسجل"
}

View File

@@ -39,7 +39,7 @@
"alert.upgraded": "الإضافة مرقاة",
"alert.installed": "الإضافة منصبة",
"alert.uninstalled": "تم إلغاء تنصيب الإضافة",
"alert.activate-success": "يرجى إعادة تشغيل NodeBB لتنشيط الإضافة بشكل بالكامل",
"alert.activate-success": "Please rebuild and restart your NodeBB to fully activate this plugin",
"alert.deactivate-success": "تم تعطيل الإضافة بنجاح",
"alert.upgrade-success": "Please rebuild and restart your NodeBB to fully upgrade this plugin.",
"alert.install-success": "تم تثبيت الإضافة بنجاح، يرجى تفعيلها.",

View File

@@ -1,17 +1,15 @@
{
"rewards": "Rewards",
"condition-if-users": "If User's",
"condition-is": "Is:",
"condition-then": "Then:",
"max-claims": "Amount of times reward is claimable",
"zero-infinite": "Enter 0 for infinite",
"delete": "Delete",
"enable": "Enable",
"disable": "Disable",
"control-panel": "Rewards Control",
"new-reward": "New Reward",
"rewards": "المكافآت",
"condition-if-users": "إذا كان للمستخدم",
"condition-is": "يكون: ",
"condition-then": "عندئذ:",
"max-claims": "عدد المرات التي يمكن فيها المطالبة بالمكافأة",
"zero-infinite": "أدخل 0 للقيمة اللانهائية",
"delete": "احذف",
"enable": "مكّن",
"disable": "عطّل",
"alert.delete-success": "Successfully deleted reward",
"alert.no-inputs-found": "Illegal reward - no inputs found!",
"alert.save-success": "Successfully saved rewards"
"alert.delete-success": "المكافآت المحذوفة بنجاح",
"alert.no-inputs-found": "مكافأة غير قانونية - لم يتم العثور على مدخلات!",
"alert.save-success": "المكافآت المحفوظة بنجاح"
}

View File

@@ -8,9 +8,9 @@
"containers.none": "None",
"container.well": "Well",
"container.jumbotron": "Jumbotron",
"container.panel": "Panel",
"container.panel-header": "Panel Header",
"container.panel-body": "Panel Body",
"container.card": "Card",
"container.card-header": "Card Header",
"container.card-body": "Card Body",
"container.alert": "Alert",
"alert.confirm-delete": "Are you sure you wish to delete this widget?",
@@ -26,5 +26,7 @@
"container.placeholder": "Drag and drop a container or enter HTML here.",
"show-to-groups": "Show to groups",
"hide-from-groups": "Hide from groups",
"start-date": "Start date",
"end-date": "End date",
"hide-on-mobile": "Hide on mobile"
}

View File

@@ -1,79 +0,0 @@
{
"forum-traffic": "Forum Traffic",
"page-views": "مشاهدات الصفحات",
"unique-visitors": "زائرين فريدين",
"new-users": "New Users",
"posts": "مشاركات",
"topics": "مواضيع",
"page-views-seven": "آخر 7 ايام",
"page-views-thirty": "آخر 30 يوماً",
"page-views-last-day": "آخر 24 ساعة",
"page-views-custom": "مدة زمنية مخصصة",
"page-views-custom-start": "بداية المدة",
"page-views-custom-end": "نهاية المده",
"page-views-custom-help": "أدخل نطاقا زمنيا لمرات مشاهدة الصفحات التي ترغب في عرضها. إذا لم يظهر منتقي التاريخ، فإن التنسيق المقبول هو <code>YYYY-MM-DD</code>",
"page-views-custom-error": "الرجاء إدخال نطاق تاريخ صالح بالتنسيق <code>YYYY-MM-DD</code>",
"stats.yesterday": "Yesterday",
"stats.today": "Today",
"stats.last-week": "Last Week",
"stats.this-week": "This Week",
"stats.last-month": "Last Month",
"stats.this-month": "This Month",
"stats.all": "كل الوقت",
"updates": "تحديثات",
"running-version": "المنتدى يعمل حاليا على <strong>NodeBB الإصدار<span id=\"version\">%1</span></strong>.",
"keep-updated": "تأكد دائما من أن NodeBB يعمل على احدث إصدار للحصول على أحدث التصحيحات الأمنية وإصلاحات الأخطاء.",
"up-to-date": "<p>المنتدى <strong>يعمل على أحدث إصدار</strong> <i class=\"fa fa-check\"></i></p>",
"upgrade-available": "<p>A new version (v%1) has been released. Consider <a href=\"https://docs.nodebb.org/configuring/upgrade/\" target=\"_blank\">upgrading your NodeBB</a>.</p>",
"prerelease-upgrade-available": "<p>This is an outdated pre-release version of NodeBB. A new version (v%1) has been released. Consider <a href=\"https://docs.nodebb.org/configuring/upgrade/\" target=\"_blank\">upgrading your NodeBB</a>.</p>",
"prerelease-warning": "<p>هذه نسخة <strong>ماقبل الإصدار</strong> من NodeBB. قد تحدث أخطاء غير مقصودة. <i class=\"fa fa-exclamation-triangle\"></i></p>",
"running-in-development": "المنتدى قيد التشغيل في وضع \"المطورين\". وقد تكون هناك ثغرات أمنية مفتوحة؛ من فضلك تواصل مع مسؤول نظامك.",
"latest-lookup-failed": "<p>Failed to look up latest available version of NodeBB</p>",
"notices": "إشعارات",
"restart-not-required": "إعادة التشغيل غير مطلوب",
"restart-required": "إعادة التشغيل مطلوبة",
"search-plugin-installed": "إضافة البحث منصبة",
"search-plugin-not-installed": "إضافة البحث غير منصبة",
"search-plugin-tooltip": "نصب إضافة البحث من صفحة الإضافات البرمجية لتنشيط وظيفة البحث",
"control-panel": "التحكم بالنظام",
"rebuild-and-restart": "Rebuild &amp; Restart",
"restart": "Restart",
"restart-warning": "Rebuilding or Restarting your NodeBB will drop all existing connections for a few seconds.",
"restart-disabled": "Rebuilding and Restarting your NodeBB has been disabled as you do not seem to be running it via the appropriate daemon.",
"maintenance-mode": "وضع الصيانة",
"maintenance-mode-title": "انقر هنا لإعداد وضع الصيانة لـNodeBB",
"realtime-chart-updates": "التحديث الفوري للرسم البياني",
"active-users": "المستخدمين النشطين",
"active-users.users": "الأعضاء",
"active-users.guests": "الزوار",
"active-users.total": "المجموع",
"active-users.connections": "Connections",
"anonymous-registered-users": "المجهولين مقابل المستخدمين المسجلين",
"anonymous": "مجهول",
"registered": "مسجل",
"user-presence": "تواجد المستخدمين",
"on-categories": "في قائمة الأقسام",
"reading-posts": "قراءة المشاركات",
"browsing-topics": "تصفح المواضيع",
"recent": "الأخيرة",
"unread": "غير مقروء",
"high-presence-topics": "مواضيع ذات حضور قوي",
"graphs.page-views": "مشاهدات الصفحة",
"graphs.page-views-registered": "Page Views Registered",
"graphs.page-views-guest": "Page Views Guest",
"graphs.page-views-bot": "Page Views Bot",
"graphs.unique-visitors": "زوار فريدين",
"graphs.registered-users": "مستخدمين مسجلين",
"graphs.anonymous-users": "مستخدمين مجهولين",
"last-restarted-by": "Last restarted by",
"no-users-browsing": "No users browsing"
}

View File

@@ -1,6 +0,0 @@
{
"language-settings": "اعدادات اللغة",
"description": "تُحدد اللغة الافتراضية إعدادات اللغة لجميع المستخدمين الذين يزورون المنتدى. <br />يمكن للأعضاء تجاوز اللغة الافتراضية من خلال صفحة إعدادات الحساب الخاصة بهم.",
"default-language": "اللغة الافتراضية",
"auto-detect": "الكشف عن إعدادات اللغة للزوار بشكل آلي"
}

View File

@@ -1,23 +0,0 @@
{
"icon": "Icon:",
"change-icon": "change",
"route": "Route:",
"tooltip": "Tooltip:",
"text": "Text:",
"text-class": "Text Class: <small>optional</small>",
"class": "Class: <small>optional</small>",
"id": "ID: <small>optional</small>",
"properties": "Properties:",
"groups": "Groups:",
"open-new-window": "Open in a new window",
"btn.delete": "Delete",
"btn.disable": "Disable",
"btn.enable": "Enable",
"available-menu-items": "Available Menu Items",
"custom-route": "Custom Route",
"core": "core",
"plugin": "plugin"
}

View File

@@ -1,9 +0,0 @@
{
"notifications": "التنبيهات",
"chat-messages": "Chat Messages",
"play-sound": "Play",
"incoming-message": "Incoming Message",
"outgoing-message": "Outgoing Message",
"upload-new-sound": "Upload New Sound",
"saved": "Settings Saved"
}

View File

@@ -1,8 +1,10 @@
{
"administrators": "Administrators",
"global-moderators": "Global Moderators",
"moderators": "Moderators",
"no-global-moderators": "No Global Moderators",
"moderators-of-category": "%1 Moderators",
"no-sub-categories": "No subcategories",
"subcategories": "%1 subcategories",
"no-moderators": "No Moderators",
"add-administrator": "Add Administrator",
"add-global-moderator": "Add Global Moderator",

View File

@@ -10,13 +10,16 @@
"custom-class": "Custom Class",
"num-recent-replies": "# of Recent Replies",
"ext-link": "External Link",
"subcategories-per-page": "Subcategories per page",
"is-section": "Treat this category as a section",
"post-queue": "Post queue",
"tag-whitelist": "Tag Whitelist",
"upload-image": "Upload Image",
"delete-image": "Remove",
"category-image": "Category Image",
"parent-category": "Parent Category",
"optional-parent-category": "(Optional) Parent Category",
"top-level": "Top Level",
"parent-category-none": "(None)",
"copy-parent": "Copy Parent",
"copy-settings": "Copy Settings From",
@@ -29,6 +32,8 @@
"edit": "Edit",
"analytics": "Analytics",
"view-category": "View category",
"set-order": "Set order",
"set-order-help": "Setting the order of the category will move this category to that order and update the order of other categories as necessary. Minimum order is 1 which puts the category at the top.",
"select-category": "Select Category",
"set-parent-category": "Set Parent Category",
@@ -45,6 +50,8 @@
"privileges.no-users": "No user-specific privileges in this category.",
"privileges.section-group": "Group",
"privileges.group-private": "This group is private",
"privileges.inheritance-exception": "This group does not inherit privileges from registered-users group",
"privileges.banned-user-inheritance": "Banned users inherit privileges from banned-users group",
"privileges.search-group": "Add Group",
"privileges.copy-to-children": "Copy to Children",
"privileges.copy-from-category": "Copy from Category",

View File

@@ -13,6 +13,7 @@
"resent-single": "Manual digest resend completed",
"resent-day": "Daily digest resent",
"resent-week": "Weekly digest resent",
"resent-biweek": "Bi-Weekly digest resent",
"resent-month": "Monthly digest resent",
"null": "<em>Never</em>",
"manual-run": "Manual digest run:",

View File

@@ -39,6 +39,5 @@
"revert": "Revert",
"edit.no-users-found": "No Users Found",
"edit.confirm-remove-user": "Are you sure you want to remove this user?",
"edit.save-success": "Changes saved!"
"edit.confirm-remove-user": "Are you sure you want to remove this user?"
}

View File

@@ -4,11 +4,14 @@
"group-privileges": "Group Privileges",
"user-privileges": "User Privileges",
"edit-privileges": "Edit Privileges",
"select-clear-all": "Select/Clear All",
"chat": "Chat",
"upload-images": "Upload Images",
"upload-files": "Upload Files",
"signature": "Signature",
"ban": "Ban",
"mute": "Mute",
"invite": "Invite",
"search-content": "Search Content",
"search-users": "Search Users",
"search-tags": "Search Tags",
@@ -23,6 +26,7 @@
"access-topics": "Access Topics",
"create-topics": "Create Topics",
"reply-to-topics": "Reply to Topics",
"schedule-topics": "Schedule Topics",
"tag-topics": "Tag Topics",
"edit-posts": "Edit Posts",
"view-edit-history": "View Edit History",
@@ -37,17 +41,23 @@
"admin-categories": "Categories",
"admin-privileges": "Privileges",
"admin-users": "Users",
"admin-admins-mods": "Admins &amp; Mods",
"admin-groups": "Groups",
"admin-tags": "Tags",
"admin-settings": "Settings",
"alert.confirm-moderate": "<strong>Are you sure you wish to grant the moderation privilege to this user group?</strong> This group is public, and any users can join at will.",
"alert.confirm-admins-mods": "<strong>Are you sure you wish to grant the &quot;Admins &amp; Mods&quot; privilege to this user/group?</strong> Users with this privilege are able to promote and demote other users into privileged positions, <em>including super administrator</em>",
"alert.confirm-save": "Please confirm your intention to save these privileges",
"alert.saved": "Privilege changes saved and applied",
"alert.confirm-discard": "Are you sure you wish to discard your privilege changes?",
"alert.discarded": "Privilege changes discarded",
"alert.confirm-copyToAll": "Are you sure you wish to apply this privilege set to <strong>all categories</strong>?",
"alert.confirm-copyToAllGroup": "Are you sure you wish to apply this group's privilege set to <strong>all categories</strong>?",
"alert.confirm-copyToChildren": "Are you sure you wish to apply this privilege set to <strong>all descendant (child) categories</strong>?",
"alert.confirm-copyToChildrenGroup": "Are you sure you wish to apply this group's privilege set to <strong>all descendant (child) categories</strong>?",
"alert.confirm-copyToAll": "Are you sure you wish to apply this set of <strong>%1</strong> to <strong>all categories</strong>?",
"alert.confirm-copyToAllGroup": "Are you sure you wish to apply this group's set of <strong>%1</strong> to <strong>all categories</strong>?",
"alert.confirm-copyToChildren": "Are you sure you wish to apply this set of <strong>%1</strong> to <strong>all descendant (child) categories</strong>?",
"alert.confirm-copyToChildrenGroup": "Are you sure you wish to apply this group's set of <strong>%1</strong> to <strong>all descendant (child) categories</strong>?",
"alert.no-undo": "<em>This action cannot be undone.</em>",
"alert.admin-warning": "Administrators implicitly get all privileges"
"alert.admin-warning": "Administrators implicitly get all privileges",
"alert.copyPrivilegesFrom-title": "Select a category to copy from",
"alert.copyPrivilegesFrom-warning": "This will copy <strong>%1</strong> from the selected category.",
"alert.copyPrivilegesFromGroup-warning": "This will copy this group's set of <strong>%1</strong> from the selected category."
}

View File

@@ -1,20 +1,20 @@
{
"queue": "Queue",
"queue": "الطابور",
"description": "There are no users in the registration queue. <br> To enable this feature, go to <a href=\"%1\">Settings &rarr; User &rarr; User Registration</a> and set <strong>Registration Type</strong> to \"Admin Approval\".",
"list.name": "Name",
"list.email": "Email",
"list.name": "اﻹسم",
"list.email": "البريد الإلكتروني",
"list.ip": "IP",
"list.time": "Time",
"list.time": "التوقيت",
"list.username-spam": "Frequency: %1 Appears: %2 Confidence: %3",
"list.email-spam": "Frequency: %1 Appears: %2",
"list.ip-spam": "Frequency: %1 Appears: %2",
"invitations": "Invitations",
"invitations": "الدعوات",
"invitations.description": "Below is a complete list of invitations sent. Use ctrl-f to search through the list by email or username. <br><br>The username will be displayed to the right of the emails for users who have redeemed their invitations.",
"invitations.inviter-username": "Inviter Username",
"invitations.invitee-email": "Invitee Email",
"invitations.invitee-username": "Invitee Username (if registered)",
"invitations.inviter-username": "أسم المستخدم الداعي",
"invitations.invitee-email": "البريد اﻻلكتروني للمدعو",
"invitations.invitee-username": "اسم المستخم للمدعو (اذا كان مسجل)",
"invitations.confirm-delete": "Are you sure you wish to delete this invitation?"
"invitations.confirm-delete": "هل أنت متأكد من أنك تريد حذف هذه الدعوة؟"
}

View File

@@ -2,7 +2,6 @@
"none": "Your forum does not have any topics with tags yet.",
"bg-color": "Background Colour",
"text-color": "Text Colour",
"create-modify": "Create & Modify Tags",
"description": "Select tags by clicking or dragging, use <code>CTRL</code> to select multiple tags.",
"create": "Create Tag",
"modify": "Modify Tags",
@@ -14,5 +13,6 @@
"alerts.editing": "Editing tag(s)",
"alerts.confirm-delete": "Do you want to delete the selected tags?",
"alerts.update-success": "Tag Updated!"
"alerts.update-success": "Tag Updated!",
"reset-colors": "Reset colors"
}

View File

@@ -5,5 +5,7 @@
"orphaned": "Orphaned",
"size/filecount": "Size / Filecount",
"confirm-delete": "Do you really want to delete this file?",
"filecount": "%1 files"
"filecount": "%1 files",
"new-folder": "New Folder",
"name-new-folder": "Enter a name for new the folder"
}

View File

@@ -1,6 +1,6 @@
{
"users": "المستخدمين",
"edit": "تحرير",
"edit": "Actions",
"make-admin": "Make Admin",
"remove-admin": "Remove Admin",
"validate-email": "Validate Email",
@@ -18,7 +18,8 @@
"download-csv": "Download CSV",
"manage-groups": "Manage Groups",
"add-group": "Add Group",
"invite": "Invite",
"create": "Create User",
"invite": "Invite by Email",
"new": "New User",
"filter-by": "Filter by",
"pills.unvalidated": "Not Validated",
@@ -47,6 +48,8 @@
"users.uid": "uid",
"users.username": "username",
"users.email": "email",
"users.no-email": "(no email)",
"users.ip": "IP",
"users.postcount": "postcount",
"users.reputation": "reputation",
"users.flags": "flags",
@@ -60,7 +63,7 @@
"create.password": "Password",
"create.password-confirm": "Confirm Password",
"temp-ban.length": "Ban Length",
"temp-ban.length": "Length",
"temp-ban.reason": "Reason <span class=\"text-muted\">(Optional)</span>",
"temp-ban.hours": "Hours",
"temp-ban.days": "Days",
@@ -88,6 +91,7 @@
"alerts.validate-email-success": "Emails validated",
"alerts.validate-force-password-reset-success": "User(s) passwords have been reset and their existing sessions have been revoked.",
"alerts.password-reset-confirm": "Do you want to send password reset email(s) to these user(s)?",
"alerts.password-reset-email-sent": "Password reset email sent.",
"alerts.confirm-delete": "<strong>Warning!</strong><p>Do you really want to delete <strong>user(s)</strong>?</p><p>This action is not reversible! Only the user account will be deleted, their posts and topics will remain.</p>",
"alerts.delete-success": "User(s) Deleted!",
"alerts.confirm-delete-content": "<strong>Warning!</strong><p>Do you really want to delete these user(s) <strong>content</strong>?</p><p>This action is not reversible! The users' accounts will remain, but their posts and topics will be deleted.</p>",
@@ -102,5 +106,7 @@
"alerts.prompt-email": "Emails: ",
"alerts.email-sent-to": "An invitation email has been sent to %1",
"alerts.x-users-found": "%1 user(s) found, (%2 seconds)"
"alerts.x-users-found": "%1 user(s) found, (%2 seconds)",
"export-users-started": "Exporting users as csv, this might take a while. You will receive a notification when it is complete.",
"export-users-completed": "Users exported as csv, click here to download."
}

View File

@@ -1,5 +1,10 @@
{
"dashboard": "Dashboard",
"section-dashboard": "Dashboards",
"dashboard/overview": "Overview",
"dashboard/logins": "Logins",
"dashboard/users": "Users",
"dashboard/topics": "Topics",
"dashboard/searches": "Searches",
"section-general": "عام",
"section-manage": "إدارة",
@@ -31,6 +36,7 @@
"settings/pagination": "ترقيم الصفحات",
"settings/tags": "الكلمات المفتاحية",
"settings/notifications": "التنبيهات",
"settings/api": "API Access",
"settings/sounds": "Sounds",
"settings/social": "Social",
"settings/cookies": "Cookies",
@@ -70,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

View File

@@ -3,6 +3,7 @@
"maintenance-mode.help": "When the forum is in maintenance mode, all requests will be redirected to a static holding page. Administrators are exempt from this redirection, and are able to access the site normally.",
"maintenance-mode.status": "Maintenance Mode Status Code",
"maintenance-mode.message": "Maintenance Message",
"maintenance-mode.groups-exempt-from-maintenance-mode": "Select groups that should be exempt from maintenance mode",
"headers": "Headers",
"headers.allow-from": "Set ALLOW-FROM to Place NodeBB in an iFrame",
"headers.csp-frame-ancestors": "Set Content-Security-Policy frame-ancestors header to Place NodeBB in an iFrame",
@@ -15,6 +16,12 @@
"headers.acac": "Access-Control-Allow-Credentials",
"headers.acam": "Access-Control-Allow-Methods",
"headers.acah": "Access-Control-Allow-Headers",
"headers.coep": "Cross-Origin-Embedder-Policy",
"headers.coep-help": "When enabled (default), will set the header to <code>require-corp</code>",
"headers.coop": "Cross-Origin-Opener-Policy",
"headers.corp": "Cross-Origin-Resource-Policy",
"headers.permissions-policy": "Permissions-Policy",
"headers.permissions-policy-help": "Allows setting permissions policy header, for example \"geolocation=*, camera=()\", see <a href=\"https://github.com/w3c/webappsec-permissions-policy/blob/main/permissions-policy-explainer.md\">this</a> for more info.",
"hsts": "Strict Transport Security",
"hsts.enabled": "Enabled HSTS (recommended)",
"hsts.maxAge": "HSTS Max Age",
@@ -36,5 +43,8 @@
"analytics.settings": "Analytics Settings",
"analytics.max-cache": "Analytics Cache Max Value",
"analytics.max-cache-help": "On high-traffic installs, the cache could be exhausted continuously if there are more concurrent active users than the Max Cache value. (Restart required)"
"analytics.max-cache-help": "On high-traffic installs, the cache could be exhausted continuously if there are more concurrent active users than the Max Cache value. (Restart required)",
"compression.settings": "Compression Settings",
"compression.enable": "Enable Compression",
"compression.help": "This setting enables gzip compression. For a high-traffic website in production, the best way to put compression in place is to implement it at a reverse proxy level. You can enable it here for testing purposes."
}

View File

@@ -0,0 +1,27 @@
{
"tokens": "Tokens",
"settings": "Settings",
"lead-text": "From this page you can configure access to the Write API in NodeBB.",
"intro": "By default, the Write API authenticates users based on their session cookie, but NodeBB also supports Bearer authentication via tokens generated via this page.",
"warning": "<strong>Be advised</strong> — treat tokens like passwords. If they are leaked, your account should be considered compromised.",
"docs": "Click here to access the full API specification",
"require-https": "Require API usage via HTTPS only",
"require-https-caveat": "<strong>Note</strong>: Some installations involving load balancers may proxy their requests to NodeBB using HTTP, in which case this option should remain disabled.",
"uid": "User ID",
"token": "Token",
"uid-help-text": "Specify a User ID to associate with this token. If the user ID is <code>0</code>, it will be considered a <em>master</em> token, which can assume the identity of other users based on the <code>_uid</code> parameter",
"description": "Description",
"last-seen": "Last seen",
"created": "Created",
"create-token": "Create Token",
"update-token": "Update Token",
"master-token": "Master token",
"last-seen-never": "This key has never been used.",
"no-description": "No description specified.",
"actions": "Actions",
"delete-confirm": "Are you sure you wish to delete this token? It will not be recoverable.",
"roll-confirm": "Are you sure you wish to regenerate this token? The old token will be immediately revoked and will not be recoverable."
}

View File

@@ -4,15 +4,19 @@
"address-help": "The following email address refers to the email that the recipient will see in the \"From\" and \"Reply To\" fields.",
"from": "From Name",
"from-help": "The from name to display in the email.",
"confirmation-settings": "Confirmation",
"confirmation.expiry": "Hours to keep email confirmation link valid",
"smtp-transport": "SMTP Transport",
"smtp-transport.enabled": "Use an external email server to send emails",
"smtp-transport.enabled": "Enable SMTP Transport",
"smtp-transport-help": "You can select from a list of well-known services or enter a custom one.",
"smtp-transport.service": "Select a service",
"smtp-transport.service-custom": "Custom Service",
"smtp-transport.service-help": "Select a service name above in order to use the known information about it. Alternatively, select 'Custom Service' and enter the details below.",
"smtp-transport.gmail-warning1": "There have been reports of the Gmail service not working on accounts with heightened security. In those scenarios, you will have to <a href=\"https://www.google.com/settings/security/lesssecureapps\">configure your GMail account to allow less secure apps</a>.",
"smtp-transport.gmail-warning2": "For more information about this workaround, <a href=\"https://nodemailer.com/usage/using-gmail/\">please consult this NodeMailer article on the issue.</a> An alternative would be to utilise a third-party emailer plugin such as SendGrid, Mailgun, etc. <a href=\"../extend/plugins\">Browse available plugins here</a>.",
"smtp-transport.service-help": "Select a service name above in order to use the known information about it. Alternatively, select &quot;Custom Service&quot; and enter the details below.",
"smtp-transport.gmail-warning1": "If you are using GMail as your email provider, you will have to generate an &quot;App Password&quot; in order for NodeBB to authenticate successfully. You can generate one at the <a href=\"https://myaccount.google.com/apppasswords\">App Passwords <i class=\"fa fa-external-link\"></i></a> page.",
"smtp-transport.gmail-warning2": "For more information about this workaround, <a href=\"https://nodemailer.com/usage/using-gmail/\">please consult this NodeMailer article <i class=\"fa fa-external-link\"></i></a> on the issue. An alternative would be to utilise a third-party emailer plugin such as SendGrid, Mailgun, etc. <a href=\"../extend/plugins\">Browse available plugins here</a>.",
"smtp-transport.auto-enable-toast": "It looks like you&apos;re configuring an SMTP transport. We enabled the \"SMTP Transport\" option for you.",
"smtp-transport.host": "SMTP Host",
"smtp-transport.port": "SMTP Port",
"smtp-transport.security": "Connection security",
@@ -35,5 +39,14 @@
"subscriptions": "Email Digests",
"subscriptions.disable": "Disable email digests",
"subscriptions.hour": "Digest Hour",
"subscriptions.hour-help": "Please enter a number representing the hour to send scheduled email digests (e.g. <code>0</code> for midnight, <code>17</code> for 5:00pm). Keep in mind that this is the hour according to the server itself, and may not exactly match your system clock.<br /> The approximate server time is: <span id=\"serverTime\"></span><br /> The next daily digest is scheduled to be sent <span id=\"nextDigestTime\"></span>"
}
"subscriptions.hour-help": "Please enter a number representing the hour to send scheduled email digests (e.g. <code>0</code> for midnight, <code>17</code> for 5:00pm). Keep in mind that this is the hour according to the server itself, and may not exactly match your system clock.<br /> The approximate server time is: <span id=\"serverTime\"></span><br /> The next daily digest is scheduled to be sent <span id=\"nextDigestTime\"></span>",
"notifications.remove-images": "Remove images from email notifications",
"require-email-address": "Require new users to specify an email address",
"require-email-address-warning": "By default, users can opt-out of entering an email address by leaving the field blank. Enabling this option means new users will have to enter <strong>and confirm</strong> an email address in order to proceed with registration and subsequent access to the forum. <strong>It does not ensure user will enter a real email address, nor even an address they own.</strong>",
"send-validation-email": "Send validation emails when an email is added or changed",
"include-unverified-emails": "Send emails to recipients who have not explicitly confirmed their emails",
"include-unverified-warning": "By default, users with emails associated with their account have already been verified, but there are situations where this is not the case (e.g. SSO logins, grandfathered users, etc). <strong>Enable this setting at your own risk</strong> &ndash; sending emails to unverified addresses may be a violation of regional anti-spam laws.",
"prompt": "Prompt users to enter or confirm their emails",
"prompt-help": "If a user does not have an email set, or their email is not confirmed, a warning will be shown on screen.",
"sendEmailToBanned": "Send emails to users even if they have been banned"
}

View File

@@ -3,9 +3,9 @@
"title": "عنوان الموقع",
"title.short": "عنوان قصير",
"title.short-placeholder": "ان لم تقم بكتابة عنوان مختصر, سيتم استخدام عنوان الموقع الكلي",
"title.url": "الرابط",
"title.url": "Title Link URL",
"title.url-placeholder": "The URL of the site title",
"title.url-help": "When the title is clicked, send users to this address. If left blank, user will be sent to the forum index.",
"title.url-help": "When the title is clicked, send users to this address. If left blank, user will be sent to the forum index. <br> Note: This is not the external URL used in emails, etc. That is set by the <code>url</code> property in config.json",
"title.name": "اسم المنتدي",
"title.show-in-header": "Show Site Title in Header",
"browser-title": "عنوان المتصفح",
@@ -20,9 +20,9 @@
"logo.image": "صورة",
"logo.image-placeholder": "Path to a logo to display on forum header",
"logo.upload": "رفع",
"logo.url": "الرابط",
"logo.url": "Logo Link URL",
"logo.url-placeholder": "The URL of the site logo",
"logo.url-help": "When the logo is clicked, send users to this address. If left blank, user will be sent to the forum index.",
"logo.url-help": "When the logo is clicked, send users to this address. If left blank, user will be sent to the forum index. <br> Note: This is not the external URL used in emails, etc. That is set by the <code>url</code> property in config.json",
"logo.alt-text": "نص بديل",
"log.alt-text-placeholder": "Alternative text for accessibility",
"favicon": "صورة المفضله",
@@ -35,10 +35,16 @@
"maskable-icon.help": "Recommended size and format: 512x512, PNG format only. If no maskable icon is specified, NodeBB will fall back to the Touch Icon.",
"outgoing-links": "Outgoing Links",
"outgoing-links.warning-page": "Use Outgoing Links Warning Page",
"search-default-sort-by": "الترتيب الافتراضي للبحث",
"search": "Search",
"search-default-in": "Search In",
"search-default-in-quick": "Quick Search In",
"search-default-sort-by": "Sort by",
"outgoing-links.whitelist": "Domains to whitelist for bypassing the warning page",
"site-colors": "Site Color Metadata",
"theme-color": "لون الثيم",
"background-color": "لون الخلفية",
"background-color-help": "Color used for splash screen background when website is installed as a PWA"
}
"background-color-help": "Color used for splash screen background when website is installed as a PWA",
"undo-timeout": "Undo Timeout",
"undo-timeout-help": "Some operations such as moving topics will allow for the moderator to undo their action within a certain timeframe. Set to 0 to disable undo completely.",
"topic-tools": "Topic Tools"
}

View File

@@ -1,5 +1,7 @@
{
"handles": "Guest Handles",
"settings": "Settings",
"handles.enabled": "Allow guest handles",
"handles.enabled-help": "This option exposes a new field that allows guests to pick a name to associate with each post they make. If disabled, they will simply be called \"Guest\""
"handles.enabled-help": "This option exposes a new field that allows guests to pick a name to associate with each post they make. If disabled, they will simply be called \"Guest\"",
"topic-views.enabled": "Allow guests to increase topic view counts",
"reply-notifications.enabled": "Allow guests to generate reply notifications"
}

View File

@@ -11,6 +11,8 @@
"properties": "Properties:",
"groups": "Groups:",
"open-new-window": "Open in a new window",
"dropdown": "Dropdown",
"dropdown-placeholder": "Place your dropdown menu items below, ie: <br/>&lt;li&gt;&lt;a class=&quot;dropdown-item&quot; href&#x3D;&quot;https://myforum.com&quot;&gt;Link 1&lt;/a&gt;&lt;/li&gt;",
"btn.delete": "Delete",
"btn.disable": "Disable",
@@ -20,4 +22,4 @@
"custom-route": "Custom Route",
"core": "core",
"plugin": "plugin"
}
}

View File

@@ -2,5 +2,6 @@
"notifications": "Notifications",
"welcome-notification": "Welcome Notification",
"welcome-notification-link": "Welcome Notification Link",
"welcome-notification-uid": "Welcome Notification User (UID)"
"welcome-notification-uid": "Welcome Notification User (UID)",
"post-queue-notification-uid": "Post Queue User (UID)"
}

View File

@@ -1,10 +1,12 @@
{
"pagination": "Pagination Settings",
"enable": "Paginate topics and posts instead of using infinite scroll.",
"posts": "Post Pagination",
"topics": "Topic Pagination",
"posts-per-page": "Posts per Page",
"max-posts-per-page": "Maximum posts per page",
"categories": "Category Pagination",
"topics-per-page": "Topics per Page",
"max-topics-per-page": "Maximum topics per page"
"max-topics-per-page": "Maximum topics per page",
"categories-per-page": "Categories per page"
}

View File

@@ -34,10 +34,13 @@
"timestamp.cut-off-help": "Dates &amp; times will be shown in a relative manner (e.g. \"3 hours ago\" / \"5 days ago\"), and localised into various\n\t\t\t\t\tlanguages. After a certain point, this text can be switched to display the localised date itself\n\t\t\t\t\t(e.g. 5 Nov 2016 15:30).<br /><em>(Default: <code>30</code>, or one month). Set to 0 to always display dates, leave blank to always display relative times.</em>",
"timestamp.necro-threshold": "Necro Threshold (in days)",
"timestamp.necro-threshold-help": "A message will be shown between posts if the time between them is longer than the necro threshold. (Default: <code>7</code>, or one week). Set to 0 to disable.</em>",
"timestamp.topic-views-interval": "Increment topic views interval (in minutes)",
"timestamp.topic-views-interval-help": "Topic views will only increment once every X minutes as defined by this setting.",
"teaser": "Teaser Post",
"teaser.last-post": "Last &ndash; Show the latest post, including the original post, if no replies",
"teaser.last-reply": "Last &ndash; Show the latest reply, or a \"No replies\" placeholder if no replies",
"teaser.first": "First",
"showPostPreviewsOnHover": "Show a preview of posts when mouse overed",
"unread": "Unread Settings",
"unread.cutoff": "Unread cutoff days",
"unread.min-track-last": "Minimum posts in topic before tracking last read",
@@ -48,12 +51,16 @@
"signature.disable": "Disable signatures",
"signature.no-links": "Disable links in signatures",
"signature.no-images": "Disable images in signatures",
"signature.hide-duplicates": "Hide duplicate signatures in topics",
"signature.max-length": "Maximum Signature Length",
"composer": "Composer Settings",
"composer-help": "The following settings govern the functionality and/or appearance of the post composer shown\n\t\t\t\tto users when they create new topics, or reply to existing topics.",
"composer.show-help": "Show \"Help\" tab",
"composer.enable-plugin-help": "Allow plugins to add content to the help tab",
"composer.custom-help": "Custom Help Text",
"backlinks": "Backlinks",
"backlinks.enabled": "Enable topic backlinks",
"backlinks.help": "If a post references another topic, a link back to the post will be inserted into the referenced topic at that point in time.",
"ip-tracking": "IP Tracking",
"ip-tracking.each-post": "Track IP Address for each post",
"enable-post-history": "Enable Post History"

View File

@@ -4,9 +4,13 @@
"disable-down-voting": "Disable Down Voting",
"votes-are-public": "All Votes Are Public",
"thresholds": "Activity Thresholds",
"min-rep-upvote": "Minimum reputation to upvote posts",
"upvotes-per-day": "Upvotes per day (set to 0 for unlimited upvotes)",
"upvotes-per-user-per-day": "Upvotes per user per day (set to 0 for unlimited upvotes)",
"min-rep-downvote": "Minimum reputation to downvote posts",
"downvotes-per-day": "Downvotes per day (set to 0 for unlimited downvotes)",
"downvotes-per-user-per-day": "Downvotes per user per day (set to 0 for unlimited downvotes)",
"min-rep-chat": "Minimum reputation to send chat messages",
"min-rep-flag": "Minimum reputation to flag posts",
"min-rep-website": "Minimum reputation to add \"Website\" to user profile",
"min-rep-aboutme": "Minimum reputation to add \"About me\" to user profile",
@@ -16,5 +20,12 @@
"flags": "Flag Settings",
"flags.limit-per-target": "Maximum number of times something can be flagged",
"flags.limit-per-target-placeholder": "Default: 0"
"flags.limit-per-target-placeholder": "Default: 0",
"flags.limit-per-target-help": "When a post or user is flagged multiple times, each additional flag is considered a &quot;report&quot; and added to the original flag. Set this option to a number other than zero to limit the number of reports an item can receive.",
"flags.auto-flag-on-downvote-threshold": "Number of downvotes to auto flag posts (Set to 0 to disable, default: 0)",
"flags.auto-resolve-on-ban": "Automatically resolve all of a user's tickets when they are banned",
"flags.action-on-resolve": "Do the following when a flag is resolved",
"flags.action-on-reject": "Do the following when a flag is rejected",
"flags.action.nothing": "Do nothing",
"flags.action.rescind": "Rescind the notification send to moderators/administrators"
}

View File

@@ -1,6 +1,8 @@
{
"tag": "Tag Settings",
"link-to-manage": "Manage Tags",
"system-tags": "System Tags",
"system-tags-help": "Only privileged users will be able to use these tags.",
"min-per-topic": "Minimum Tags per Topic",
"max-per-topic": "Maximum Tags per Topic",
"min-length": "Minimum Tag Length",

View File

@@ -1,8 +1,11 @@
{
"posts": "المشاركات",
"allow-files": "السماح للأعضاء بتحميل الملفات الإعتيادية",
"orphans": "Orphaned Files",
"private": "جعل الملفات التي تم رفعها خاصة",
"strip-exif-data": "Strip EXIF Data",
"preserve-orphaned-uploads": "Keep uploaded files on disk after a post is purged",
"orphanExpiryDays": "Days to keep orphaned files",
"orphanExpiryDays-help": "After this many days, orphaned uploads will be deleted from the file system.<br />Set 0 or leave blank to disable.",
"private-extensions": "File extensions to make private",
"private-uploads-extensions-help": "Enter comma-separated list of file extensions to make private here (e.g. <code>pdf,xls,doc</code>). An empty list means all files are private.",
"resize-image-width-threshold": "Resize images if they are wider than specified width",
@@ -21,6 +24,9 @@
"topic-thumb-size": "حجم الصورة المصغرة للموضوع",
"allowed-file-extensions": "إمتدادات الملفات المسموح بها",
"allowed-file-extensions-help": "أدخل قائمة بامتدادات الملفات مفصولة بفواصل (مثال: <code>pdf,xls,doc</code>). القائمة الفارغة تعني أن كل الامتدادات مسموح بها.",
"upload-limit-threshold": "Rate limit user uploads to:",
"upload-limit-threshold-per-minute": "Per %1 Minute",
"upload-limit-threshold-per-minutes": "Per %1 Minutes",
"profile-avatars": "الصورة الرمزية للملف الشخصي",
"allow-profile-image-uploads": "السماح للأعضاء برفع الصور الرمزية",
"convert-profile-image-png": "تحويل إمتداد الصور الرمزية المرفوعه الى PNG",

View File

@@ -1,12 +1,10 @@
{
"authentication": "المصادقة",
"require-email-confirmation": "يطلب تأكيد البريد الإلكتروني",
"email-confirm-interval": "لا يمكن للمستخدم إعادة إرسال رسالة تأكيد البريد الالكتروني حتى مرور",
"email-confirm-email2": "دقائق",
"email-confirm-interval2": "minutes have elapsed",
"allow-login-with": "السماح بتسجيل الدخول باستخدام",
"allow-login-with.username-email": "اسم المستخدم أو البريد الالكتروني",
"allow-login-with.username": "اسم المستخدم فقط",
"allow-login-with.email": "البريد الالكتروني فقط",
"account-settings": "إعدادت الحساب",
"gdpr_enabled": "Enable GDPR consent collection",
"gdpr_enabled_help": "When enabled, all new registrants will be required to explicitly give consent for data collection and usage under the <a href=\"https://ec.europa.eu/info/priorities/justice-and-fundamental-rights/data-protection/2018-reform-eu-data-protection-rules/eu-data-protection-rules_en\">General Data Protection Regulation (GDPR)</a>. <strong>Note</strong>: Enabling GDPR does not force pre-existing users to provide consent. To do so, you will need to install the GDPR plugin.",
@@ -16,6 +14,7 @@
"allow-account-deletion": "السماح بحذف الحساب",
"hide-fullname": "إخفاء الإسم الكامل عن المستخدمين",
"hide-email": "إخفاء البريد الإلكتروني عن المستخدمين",
"show-fullname-as-displayname": "Show user's full name as their display name if available",
"themes": "القوالب",
"disable-user-skins": "منع المستخدمين من اختيار سمة مخصص",
"account-protection": "حماية الحساب",
@@ -30,6 +29,8 @@
"session-time-days": "Days",
"session-time-seconds": "Seconds",
"session-time-help": "These values are used to govern how long a user stays logged in when they check &quot;Remember Me&quot; on login. Note that only one of these values will be used. If there is no <i>seconds</i> value we fall back to <i>days</i>. If there is no <i>days</i> value we default to <i>14 days</i>.",
"session-duration": "Session length if \"Remember Me\" is not checked (seconds)",
"session-duration-help": "By default — or if set to <code>0</code> — a user will stay logged in for the duration of the session (e.g. however long the browser window/tab remains open). Set this value to explicitly invalidate the session after the specified number of seconds.",
"online-cutoff": "Minutes after user is considered inactive",
"online-cutoff-help": "If user performs no actions for this duration, they are considered inactive and they do not receive realtime updates.",
"registration": "تسجيل المستخدم",
@@ -43,6 +44,9 @@
"registration-type.disabled": "لا يوجد تسجيل",
"registration-type.help": "Normal - Users can register from the /register page.<br/>\nInvite Only - Users can invite others from the <a href=\"%1/users\" target=\"_blank\">users</a> page.<br/>\nAdmin Invite Only - Only administrators can invite others from <a href=\"%1/users\" target=\"_blank\">users</a> and <a href=\"%1/admin/manage/users\">admin/manage/users</a> pages.<br/>\nNo registration - No user registration.<br/>",
"registration-approval-type.help": "Normal - Users are registered immediately.<br/>\nAdmin Approval - User registrations are placed in an <a href=\"%1/admin/manage/registration\">approval queue</a> for administrators.<br/>\nAdmin Approval for IPs - Normal for new users, Admin Approval for IP addresses that already have an account.<br/>",
"registration-queue-auto-approve-time": "Automatic Approval Time",
"registration-queue-auto-approve-time-help": "Hours before user is approved automatically. 0 to disable.",
"registration-queue-show-average-time": "Show users average time it takes to approve a new user",
"registration.max-invites": "الحد الأقصى للدعوات لكل عضو",
"max-invites": "الحد الأقصى للدعوات لكل عضو",
"max-invites-help": "0 لعدم تحديد قيود، الإدارة تحصل على دعوات لامحدودة <br> هذا الخيار يعمل فقط عند تحديد خيار \"بالدعوات فقط\"",
@@ -62,10 +66,12 @@
"restrict-chat": "السماح فقط برسائل الدردشة من المستخدمين الذين أتبعهم",
"outgoing-new-tab": "Open outgoing links in new tab",
"topic-search": "Enable In-Topic Searching",
"update-url-with-post-index": "Update url with post index while browsing topics",
"digest-freq": "Subscribe to Digest",
"digest-freq.off": "Off",
"digest-freq.daily": "Daily",
"digest-freq.weekly": "Weekly",
"digest-freq.biweekly": "Bi-Weekly",
"digest-freq.monthly": "Monthly",
"email-chat-notifs": "Send an email if a new chat message arrives and I am not online",
"email-post-notif": "Send an email when replies are made to topics I am subscribed to",

View File

@@ -18,5 +18,6 @@
"watching.message": "You are now watching updates from this category and all subcategories",
"notwatching.message": "You are not watching updates from this category and all subcategories",
"ignoring.message": "You are now ignoring updates from this category and all subcategories",
"watched-categories": "الأقسام المُتابعة"
"watched-categories": "الأقسام المُتابعة",
"x-more-categories": "%1 more categories"
}

View File

@@ -6,7 +6,9 @@
"greeting_no_name": "مرحبًا",
"greeting_with_name": "مرحبًا بك يا %1",
"email.verify-your-email.subject": "Please verify your email",
"email.verify.text1": "Your email address has changed!",
"email.verify.text1": "You've requested that we change or confirm your email address",
"email.verify.text2": "For security purposes, we only change or confirm the email address on file once its ownership has been confirmed via email. <strong>If you did not request this, no action is required on your part.</strong>",
"email.verify.text3": "Once you confirm this email address, we will replace your current email address with this one (%1).",
"welcome.text1": "شكرًا على تسجيلك في %1!",
"welcome.text2": "لتفعيل حسابك، نحتاج إلى التأكد من صحة عنوان البريد الإلكتروني الذي سجلت به.",
"welcome.text3": "تم قبول نتسجيلك ، يمكنك الدخول باتسخدام اسم المستخدم و كلمة المرور.",
@@ -46,6 +48,8 @@
"unsub.cta": "انقر هنا لتغيير تلك الإعدادات",
"unsubscribe": "unsubscribe",
"unsub.success": "You will no longer receive emails from the <strong>%1</strong> mailing list",
"unsub.failure.title": "Unable to unsubscribe",
"unsub.failure.message": "Unfortunately, we were not able to unsubscribe you from the mailing list, as there was an issue with the link. However, you can alter your email preferences by going to <a href=\"%2\">your user settings</a>.<br /><br />(error: <code>%1</code>)",
"banned.subject": "You have been banned from %1",
"banned.text1": "The user %1 has been banned from %2.",
"banned.text2": "This ban will last until %1.",

View File

@@ -1,6 +1,8 @@
{
"invalid-data": "بيانات غير صحيحة",
"invalid-json": "Invalid JSON",
"wrong-parameter-type": "A value of type %3 was expected for property `%1`, but %2 was received instead",
"required-parameters-missing": "Required parameters were missing from this API call: %1",
"not-logged-in": "لم تقم بتسجيل الدخول",
"account-locked": "تم حظر حسابك مؤقتًا.",
"search-requires-login": "البحث في المنتدى يتطلب حساب - الرجاء تسجيل الدخول أو التسجيل",
@@ -9,6 +11,8 @@
"invalid-tid": "موضوع غير متواجد",
"invalid-pid": "رد غير موجود",
"invalid-uid": "مستخدم غير موجود",
"invalid-mid": "Invalid Chat Message ID",
"invalid-date": "A valid date must be provided",
"invalid-username": "اسم المستخدم غير مقبول",
"invalid-email": "البريد الاكتروني غير مقبول",
"invalid-fullname": "Invalid Fullname",
@@ -21,16 +25,21 @@
"invalid-username-or-password": "المرجود تحديد اسم مستخدم و كلمة مرور",
"invalid-search-term": "كلمة البحث غير صحيحة",
"invalid-url": "Invalid URL",
"invalid-event": "Invalid event: %1",
"local-login-disabled": "Local login system has been disabled for non-privileged accounts.",
"csrf-invalid": "لم تتمكن من تسجيل الدخول. هنالك أحتمال ان جلستك انتهت. رجاءًا حاول مرة اخرى.",
"invalid-path": "Invalid path",
"folder-exists": "Folder exists",
"invalid-pagination-value": "رقم الصفحة غير صحيح ، يجب أن يكون بين %1 و %2 .",
"username-taken": "اسم المستخدم مأخوذ",
"email-taken": "البريد الالكتروني مأخوذ",
"email-nochange": "The email entered is the same as the email already on file.",
"email-invited": "Email was already invited",
"email-not-confirmed": "You are unable to post until your email is confirmed, please click here to confirm your email.",
"email-not-confirmed": "Posting in some categories or topics is enabled once your email is confirmed, please click here to send a confirmation email.",
"email-not-confirmed-chat": "لا يمكنك الدردشة حتى تقوم بتأكيد بريدك الإلكتروني، الرجاء إضغط هنا لتأكيد بريدك اﻹلكتروني.",
"email-not-confirmed-email-sent": "Your email has not been confirmed yet, please check your inbox for the confirmation email. You won't be able to post or chat until your email is confirmed.",
"no-email-to-confirm": "هذا المنتدى يستلزم تفعيل بريدك الإلكتروني، انقر هنا من فضلك لإدخاله.",
"email-not-confirmed-email-sent": "Your email has not been confirmed yet, please check your inbox for the confirmation email. You may not be able to post in some categories or chat until your email is confirmed.",
"no-email-to-confirm": "Your account does not have an email set. An email is necessary for account recovery, and may be necessary for chatting and posting in some categories. Please click here to enter an email.",
"user-doesnt-have-email": "User \"%1\" does not have an email set.",
"email-confirm-failed": "لم نستطع تفعيل بريدك الإلكتروني، المرجو المحاولة لاحقًا.",
"confirm-email-already-sent": "لقد تم ارسال بريد التأكيد، الرجاء اﻹنتظار 1% دقائق لإعادة اﻹرسال",
"sendmail-not-found": "The sendmail executable could not be found, please ensure it is installed and executable by the user running NodeBB.",
@@ -39,6 +48,7 @@
"username-too-long": "اسم المستخدم طويل",
"password-too-long": "كلمة السر طويلة ",
"reset-rate-limited": "Too many password reset requests (rate limited)",
"reset-same-password": "Please use a password that is different from your current one",
"user-banned": "المستخدم محظور",
"user-banned-reason": "Sorry, this account has been banned (Reason: %1)",
"user-banned-reason-until": "Sorry, this account has been banned until %1 (Reason: %2)",
@@ -51,6 +61,8 @@
"no-group": "مجموعة غير موجودة",
"no-user": "اسم مستخدم غير موجود",
"no-teaser": "مقتطف غير موجود",
"no-flag": "Flag does not exist",
"no-chat-room": "Chat room does not exist",
"no-privileges": "لاتملك الصلاحيات اللازمة للقيام بهذه العملية",
"category-disabled": "قائمة معطلة",
"topic-locked": "الموضوع مقفول",
@@ -77,19 +89,37 @@
"category-not-selected": "Category not selected.",
"too-many-posts": "يسمح لك بالنشر مرة كل %1 ثانية - يرجى الإنتظار قبل النشر مجدداً",
"too-many-posts-newbie": "As a new user, you can only post once every %1 second(s) until you have earned %2 reputation - please wait before posting again",
"already-posting": "You are already posting",
"tag-too-short": "Please enter a longer tag. Tags should contain at least %1 character(s)",
"tag-too-long": "Please enter a shorter tag. Tags can't be longer than %1 character(s)",
"tag-not-allowed": "Tag not allowed",
"not-enough-tags": "Not enough tags. Topics must have at least %1 tag(s)",
"too-many-tags": "Too many tags. Topics can't have more than %1 tag(s)",
"cant-use-system-tag": "You can not use this system tag.",
"cant-remove-system-tag": "You can not remove this system tag.",
"still-uploading": "الرجاء الانتظار حتى يكتمل الرفع.",
"file-too-big": "الحد الأقصى لرفع الملفات %1 كيلو بت. رجاءًا ارفع ملف أصغر",
"guest-upload-disabled": "خاصية رفع الملفات غير مفعلة للزوار.",
"cors-error": "Unable to upload image due to misconfigured CORS",
"upload-ratelimit-reached": "You have uploaded too many files at one time. Please try again later.",
"upload-error-fallback": "Unable to upload image — %1",
"scheduling-to-past": "Please select a date in the future.",
"invalid-schedule-date": "Please enter a valid date and time.",
"cant-pin-scheduled": "Scheduled topics cannot be (un)pinned.",
"cant-merge-scheduled": "Scheduled topics cannot be merged.",
"cant-move-posts-to-scheduled": "Can't move posts to a scheduled topic.",
"cant-move-from-scheduled-to-existing": "Can't move posts from a scheduled topic to an existing topic.",
"already-bookmarked": "You have already bookmarked this post",
"already-unbookmarked": "You have already unbookmarked this post",
"cant-ban-other-admins": "لايمكن حظر مدبر نظام آخر.",
"cant-mute-other-admins": "You can't mute other admins!",
"user-muted-for-hours": "You have been muted, you will be able to post in %1 hour(s)",
"user-muted-for-minutes": "You have been muted, you will be able to post in %1 minute(s)",
"cant-make-banned-users-admin": "You can't make banned users admin.",
"cant-remove-last-admin": "رجاءًا ، أضف مدير أخر قبل حذف صلاحيات الإدارة من حسابك.",
"account-deletion-disabled": "Account deletion is disabled",
"cant-delete-admin": "رجاءًا أزل صلاحيات الإدارة قبل حذف الحساب. ",
"already-deleting": "Already deleting",
"invalid-image": "Invalid image",
"invalid-image-type": "نوع الصورة غير مدعوم. الأنواع المدعومة هي : %1",
"invalid-image-extension": "امتداد الصورة غير مدعوم.",
@@ -106,6 +136,8 @@
"group-already-requested": "سبق وتم تسجيل طلب العضوية",
"group-join-disabled": "You are not able to join this group at this time",
"group-leave-disabled": "You are not able to leave this group at this time",
"group-user-not-pending": "User does not have a pending request to join this group.",
"gorup-user-not-invited": "User has not been invited to join this group.",
"post-already-deleted": "سبق وتم حذف هذا الرد",
"post-already-restored": "سبق وتم إلغاء حذف هذا الرد",
"topic-already-deleted": "سبق وتم حذف هذا الموضوع",
@@ -123,27 +155,35 @@
"invalid-chat-message": "الرسالة غير صالحة.",
"chat-message-too-long": "Chat messages can not be longer than %1 characters.",
"cant-edit-chat-message": "غير مصرح لك بتعديل الرسالة.",
"cant-remove-last-user": "لأيمكنك إزالت اخر مستخدم.",
"cant-delete-chat-message": "غير مصرح لك بحذف الرسالة.",
"chat-edit-duration-expired": "You are only allowed to edit chat messages for %1 second(s) after posting",
"chat-delete-duration-expired": "You are only allowed to delete chat messages for %1 second(s) after posting",
"chat-deleted-already": "This chat message has already been deleted.",
"chat-restored-already": "This chat message has already been restored.",
"chat-room-does-not-exist": "Chat room does not exist.",
"cant-add-users-to-chat-room": "Can't add users to chat room.",
"cant-remove-users-from-chat-room": "Can't remove users from chat room.",
"chat-room-name-too-long": "Chat room name too long.",
"already-voting-for-this-post": "لقد شاركت بالتصويت ، ألا تذكر؟",
"reputation-system-disabled": "نظام السمعة معطل",
"downvoting-disabled": "التصويتات السلبية معطلة",
"not-enough-reputation-to-downvote": "ليس لديك سمعة تكفي لإضافة صوت سلبي لهذا الموضوع",
"not-enough-reputation-to-flag": "ليس لديك سمعة تكفي للإشعار بموضوع مخل",
"not-enough-reputation-min-rep-website": "You do not have enough reputation to add a website",
"not-enough-reputation-min-rep-aboutme": "You do not have enough reputation to add an about me",
"not-enough-reputation-min-rep-signature": "You do not have enough reputation to add a signature",
"not-enough-reputation-min-rep-profile-picture": "You do not have enough reputation to add a profile picture",
"not-enough-reputation-min-rep-cover-picture": "You do not have enough reputation to add a cover picture",
"not-enough-reputation-to-chat": "You need %1 reputation to chat",
"not-enough-reputation-to-upvote": "You need %1 reputation to upvote",
"not-enough-reputation-to-downvote": "You need %1 reputation to downvote",
"not-enough-reputation-to-flag": "You need %1 reputation to flag this post",
"not-enough-reputation-min-rep-website": "You need %1 reputation to add a website",
"not-enough-reputation-min-rep-aboutme": "You need %1 reputation to add an about me",
"not-enough-reputation-min-rep-signature": "You need %1 reputation to add a signature",
"not-enough-reputation-min-rep-profile-picture": "You need %1 reputation to add a profile picture",
"not-enough-reputation-min-rep-cover-picture": "You need %1 reputation to add a cover picture",
"post-already-flagged": "You have already flagged this post",
"user-already-flagged": "You have already flagged this user",
"post-flagged-too-many-times": "This post has been flagged by others already",
"user-flagged-too-many-times": "This user has been flagged by others already",
"cant-flag-privileged": "You are not allowed to flag the profiles or content of privileged users (moderators/global moderators/admins)",
"self-vote": "You cannot vote on your own post",
"too-many-upvotes-today": "You can only upvote %1 times a day",
"too-many-upvotes-today-user": "You can only upvote a user %1 times a day",
"too-many-downvotes-today": "You can only downvote %1 times a day",
"too-many-downvotes-today-user": "You can only downvote a user %1 times a day",
"reload-failed": "المنتدى واجه مشكلة أثناء إعادة التحميل: \"%1\". سيواصل المنتدى خدمة العملاء السابقين لكن يجب عليك إلغاء أي تغيير قمت به قبل إعادة التحميل.",
@@ -159,8 +199,10 @@
"cant-kick-self": "لا يمكنك طرد نفسك من المجموعة.",
"no-users-selected": "لا يوجد مستخدم محدد.",
"invalid-home-page-route": "Invalid home page route",
"invalid-session": "Session Mismatch",
"invalid-session-text": "يبدو أن فترة التسجيل لم تعد قائمة او هي غير مطابقة مع الخادم. يرجى إعادة تحميل هذه الصفحة.",
"invalid-session": "Invalid Session",
"invalid-session-text": "It looks like your login session is no longer active. Please refresh this page.",
"session-mismatch": "Session Mismatch",
"session-mismatch-text": "It looks like your login session no longer matches with the server. Please refresh this page.",
"no-topics-selected": "No topics selected!",
"cant-move-to-same-topic": "Can't move post to same topic!",
"cant-move-topic-to-same-category": "Can't move topic to the same category!",
@@ -170,5 +212,22 @@
"already-blocked": "This user is already blocked",
"already-unblocked": "This user is already unblocked",
"no-connection": "There seems to be a problem with your internet connection",
"plugin-not-whitelisted": "Unable to install plugin &ndash; only plugins whitelisted by the NodeBB Package Manager can be installed via the ACP"
"socket-reconnect-failed": "Unable to reach the server at this time. Click here to try again, or try again later",
"plugin-not-whitelisted": "Unable to install plugin &ndash; only plugins whitelisted by the NodeBB Package Manager can be installed via the ACP",
"plugins-set-in-configuration": "You are not allowed to change plugin state as they are defined at runtime (config.json, environmental variables or terminal arguments), please modify the configuration instead.",
"theme-not-set-in-configuration": "When defining active plugins in configuration, changing themes requires adding the new theme to the list of active plugins before updating it in the ACP",
"topic-event-unrecognized": "Topic event '%1' unrecognized",
"cant-set-child-as-parent": "Can't set child as parent category",
"cant-set-self-as-parent": "Can't set self as parent category",
"api.master-token-no-uid": "A master token was received without a corresponding `_uid` in the request body",
"api.400": "Something was wrong with the request payload you passed in.",
"api.401": "A valid login session was not found. Please log in and try again.",
"api.403": "You are not authorised to make this call",
"api.404": "Invalid API call",
"api.426": "HTTPS is required for requests to the write api, please re-send your request via HTTPS",
"api.429": "You have made too many requests, please try again later",
"api.500": "An unexpected error was encountered while attempting to service your request.",
"api.501": "The route you are trying to call is not implemented yet, please try again tomorrow",
"api.503": "The route you are trying to call is not currently available due to a server configuration",
"api.reauth-required": "The resource you are trying to access requires (re-)authentication."
}

View File

@@ -3,29 +3,33 @@
"reports": "Reports",
"first-reported": "First Reported",
"no-flags": "Hooray! No flags found.",
"x-flags-found": "%1 flag(s) found.",
"assignee": "المحال إليه",
"update": "تحديث",
"updated": "تم التحديث",
"resolved": "Resolved",
"target-purged": "The content this flag referred to has been purged and is no longer available.",
"target-aboutme-empty": "This user has no &quot;About Me&quot; set.",
"graph-label": "Daily Flags",
"quick-filters": "Quick Filters",
"filter-active": "There are one or more filters active in this list of flags",
"filter-reset": "ازالة الفلاتر",
"filters": "خيارات الفلتر",
"filter-reporterId": "Reporter UID",
"filter-targetUid": "Flagged UID",
"filter-reporterId": "Reporter",
"filter-targetUid": "Reportee",
"filter-type": "عنوان العلامة",
"filter-type-all": "كل المحتوي",
"filter-type-post": "مشاركة",
"filter-type-user": "مستخدم",
"filter-state": "الحالة",
"filter-assignee": "Assignee UID",
"filter-assignee": "Assignee",
"filter-cid": "Category",
"filter-quick-mine": "Assigned to me",
"filter-cid-all": "All categories",
"apply-filters": "Apply Filters",
"more-filters": "More Filters",
"fewer-filters": "Fewer Filters",
"quick-actions": "اجراءات سريعه",
"flagged-user": "Flagged User",
@@ -36,16 +40,20 @@
"delete-post": "حذف المشاركة",
"purge-post": "Purge Post",
"restore-post": "استرجاع المشاركة",
"delete": "Delete Flag",
"user-view": "مشاهدة الملف الشخصي",
"user-edit": "تعديل الملف الشخصي",
"notes": "Flag Notes",
"add-note": "اضافة ملاحظة",
"edit-note": "Edit Note",
"no-notes": "No shared notes.",
"delete-note-confirm": "Are you sure you want to delete this flag note?",
"delete-flag-confirm": "Are you sure you want to delete this flag?",
"note-added": "Note Added",
"note-deleted": "Note Deleted",
"flag-deleted": "Flag Deleted",
"history": "Account &amp; Flag History",
"no-history": "No flag history.",
@@ -67,7 +75,7 @@
"sort-upvotes": "Most upvotes",
"sort-replies": "Most replies",
"modal-title": "Report Inappropriate Content",
"modal-title": "Report Content",
"modal-body": "Please specify your reason for flagging %1 %2 for review. Alternatively, use one of the quick report buttons if applicable.",
"modal-reason-spam": "Spam",
"modal-reason-offensive": "Offensive",
@@ -75,11 +83,10 @@
"modal-reason-custom": "Reason for reporting this content...",
"modal-submit": "Submit Report",
"modal-submit-success": "Content has been flagged for moderation.",
"modal-submit-confirm": "Confirm Submission",
"modal-submit-confirm-text": "You have a custom reason specified already. Are you sure you wish to submit via quick-report?",
"modal-submit-confirm-text-help": "Submitting a quick report will overwrite any custom reasons defined.",
"bulk-actions": "Bulk Actions",
"bulk-resolve": "Resolve Flag(s)",
"bulk-success": "%1 flags updated"
"bulk-success": "%1 flags updated",
"flagged-timeago-readable": "Flagged <span class=\"timeago\" title=\"%1\"></span> (%2)",
"auto-flagged": "[Auto Flagged] Received %1 downvotes."
}

View File

@@ -4,13 +4,13 @@
"buttons.close": "أغلق",
"403.title": "غير مسموح بالدخول",
"403.message": "يبدو أنك قد تعثرت على صفحة لا تمتلك الصلاحية للدخول إليها",
"403.login": "ربما يجب عليك <a href='%1/login'>تسجل دخولك</a>.",
"403.login": "Perhaps you should <a class=\"alert-link\" href='%1/login'>try logging in</a>?",
"404.title": "لم يتم العثور",
"404.message": "الصفحة غير موجودة. العودة لـ <a href='%1/'>الرئيسية</a>",
"404.message": "You seem to have stumbled upon a page that does not exist.<br/><div class=\"text-sm text-muted\">Return to the <a href='%1/'>home page</a>.</div>",
"500.title": "خطأ داخلي",
"500.message": "عفوا! يبدو وكأنه شيء ذهب على نحو خاطئ!",
"400.title": "طلب سيئ",
"400.message": "الرابط غير صحيح. رجاءًا تأكد من الرابط أو ارجع لـ <a href='%1/'>الرئيسية</a>",
"400.message": "It looks like this link is malformed, please double-check and try again.<br/><div class=\"text-sm text-muted\">Return to the <a href='%1/'>home page</a>.</div>",
"register": "تسجيل",
"login": "دخول",
"please_log_in": "الرجاء تسجيل الدخول",
@@ -20,10 +20,11 @@
"you_have_successfully_logged_in": "تم سجيل الدخول بنجاح",
"save_changes": "حفظ التغييرات",
"save": "حفظ",
"cancel": "Cancel",
"close": "أغلق",
"pagination": "الصفحات",
"pagination.out_of": "%1 من %2",
"pagination.enter_index": "أدخل الرقم التسلسلي",
"pagination.enter_index": "Go to post index",
"header.admin": "مدير النظام",
"header.categories": "الأقسام",
"header.recent": "حديث",
@@ -37,23 +38,32 @@
"header.notifications": "التنبيهات",
"header.search": "بحث",
"header.profile": "ملف",
"header.account": "Account",
"header.navigation": "الاستكشاف",
"header.manage": "Manage",
"header.drafts": "Drafts",
"notifications.loading": "تحميل التنبيهات",
"chats.loading": "تحميل الدردشات",
"drafts.loading": "Loading Drafts",
"motd.welcome": "مرحبا بكم في NodeBB، منصة المناقشة المستقبلية.",
"previouspage": "الصفحة السابقة",
"nextpage": "الصفحة التالية",
"alert.success": "نجاح",
"alert.error": "خطأ",
"alert.banned": "محظور",
"alert.banned.message": "لقد تم حظر حسابك. سيتم تسجيل الخروج.",
"alert.banned.message": "You have just been banned, your access is now restricted.",
"alert.unbanned": "Unbanned",
"alert.unbanned.message": "Your ban has been lifted.",
"alert.unfollow": "أنت لا تتابع %1 بعد الآن!",
"alert.follow": "أنت الآن تتابع %1!",
"users": "الأعضاء",
"topics": "المواضيع",
"posts": "المشاركات",
"x-posts": "%1 posts",
"x-posts": "<span class=\"formatted-number\">%1</span> posts",
"x-topics": "<span class=\"formatted-number\">%1</span> topics",
"x-reputation": "<span class=\"formatted-number\">%1</span> reputation",
"best": "الأفضل",
"controversial": "Controversial",
"votes": "Votes",
"x-votes": "%1 votes",
"voters": "Voters",
@@ -66,8 +76,10 @@
"reputation": "السمعة",
"lastpost": "Last post",
"firstpost": "First post",
"about": "About",
"read_more": "اقرأ المزيد",
"more": "المزيد",
"none": "None",
"posted_ago_by_guest": "كتب %1 بواسطة زائر",
"posted_ago_by": "كتب %1 بواسطة %2",
"posted_ago": "كتب %1",
@@ -78,11 +90,13 @@
"user_posted_ago": "%1 كتب %2",
"guest_posted_ago": "كتب زائر %1",
"last_edited_by": "اخر تحرير بواسطة 1%",
"edited-timestamp": "Edited %1",
"norecentposts": "لاوجود لمشاركات جديدة",
"norecenttopics": "لاوجود لمواضيع جديدة",
"recentposts": "آخر المشاركات",
"recentips": "آخر عناوين ال IP التي سجلت الدخول",
"moderator_tools": "أدوات المشرف",
"status": "Status",
"online": "المتواجدون حاليًّا",
"away": "غير متواجد",
"dnd": "عدم الإزعاج",
@@ -93,6 +107,8 @@
"guest": "زائر",
"guests": "الزوار",
"former_user": "A Former User",
"system-user": "System",
"unknown-user": "Unknown user",
"updated.title": "تم تحديث المنتدى",
"updated.message": "لقد تم تحديث المنتدى إلى آخر نسخة للتو. إضغط هنا لإعادة تحميل الصفحة.",
"privacy": "الخصوصية",
@@ -116,5 +132,9 @@
"edited": "حُرِر",
"disabled": "معطل",
"select": "تحديد",
"user-search-prompt": "Type something here to find users..."
"copied": "Copied",
"user-search-prompt": "Type something here to find users...",
"hidden": "Hidden",
"sort": "Sort",
"actions": "Actions"
}

View File

@@ -1,5 +1,7 @@
{
"all-groups": "All groups",
"groups": "المجموعات",
"members": "Members",
"view_group": "معاينة المجموعة",
"owner": "مالك المجموعة",
"new_group": "أنشئ مجموعة جديدة",
@@ -35,6 +37,7 @@
"details.member_count": "عدد اﻷعضاء",
"details.creation_date": "تاريخ الإنشاء",
"details.description": "الوصف",
"details.member-post-cids": "Category IDs to display posts from",
"details.badge_preview": "معاينة الوسام",
"details.change_icon": "تغيير الأيقونة",
"details.change_label_colour": "Change Label Colour",

View File

@@ -1,12 +1,12 @@
{
"username-email": "اسم المستخدم / البريد الإلكتروني",
"username": "اسم المستخدم",
"email": "البريد الإلكتروني",
"remember_me": "تذكرني؟",
"forgot_password": "نسيت كلمة المرور؟",
"alternative_logins": "تسجيلات الدخول البديلة",
"failed_login_attempt": "تسجيل الدخول غير ناجح",
"login_successful": "قمت بتسجيل الدخول بنجاح!",
"dont_have_account": "لا تملك حساب؟",
"logged-out-due-to-inactivity": "لقد تم تسجيل خروجك من لوحة تحكم بسبب عدم نشاطك"
"logged-out-due-to-inactivity": "لقد تم تسجيل خروجك من لوحة تحكم بسبب عدم نشاطك",
"caps-lock-enabled": "Caps Lock is enabled"
}

View File

@@ -1,13 +1,17 @@
{
"chat.chatting_with": "Chat with",
"chat.placeholder": "أكتب رسالة دردشة هنا، اضغط ENTER للإرسال",
"chat.scroll-up-alert": "You are looking at older messages, click here to go to most recent message.",
"chat.placeholder": "Type chat message here, drag & drop images, press enter to send",
"chat.placeholder.mobile": "Type chat message here",
"chat.scroll-up-alert": "Go to most recent message",
"chat.usernames-and-x-others": "%1 & %2 others",
"chat.chat-with-usernames": "Chat with %1",
"chat.chat-with-usernames-and-x-others": "Chat with %1 & %2 others",
"chat.send": "أرسل",
"chat.no_active": "لا يوجد لديك دردشات نشطة.",
"chat.user_typing": "%1 يكتب رسالة...",
"chat.user_has_messaged_you": "%1 أرسل لك رسالة.",
"chat.see_all": "عرض كل المحادثات",
"chat.mark_all_read": "Mark all chats read",
"chat.see_all": "All chats",
"chat.mark_all_read": "Mark all read",
"chat.no-messages": "المرجو اختيار مرسل إليه لمعاينة تاريخ الدردشات",
"chat.no-users-in-room": "No users in this room",
"chat.recent-chats": "آخر الدردشات",
@@ -42,6 +46,7 @@
"composer.compose": "اكتب",
"composer.show_preview": "عرض المعاينة",
"composer.hide_preview": "إخفاء المعاينة",
"composer.help": "Help",
"composer.user_said_in": "%1 كتب في %2",
"composer.user_said": "%1 كتب:",
"composer.discard": "هل أنت متأكد أنك تريد التخلي عن التغييرات؟",
@@ -54,16 +59,33 @@
"composer.formatting.strikethrough": "Strikethrough",
"composer.formatting.code": "Code",
"composer.formatting.link": "Link",
"composer.formatting.picture": "Picture",
"composer.formatting.picture": "Image Link",
"composer.upload-picture": "Upload Image",
"composer.upload-file": "Upload File",
"composer.zen_mode": "Zen Mode",
"composer.select_category": "Select a category",
"composer.textarea.placeholder": "Enter your post content here, drag and drop images",
"composer.schedule-for": "Schedule topic for",
"composer.schedule-date": "Date",
"composer.schedule-time": "Time",
"composer.cancel-scheduling": "Cancel Scheduling",
"composer.change-schedule-date": "Change Date",
"composer.set-schedule-date": "Set Date",
"composer.discard-all-drafts": "Discard all drafts",
"composer.no-drafts": "You have no drafts",
"composer.discard-draft-confirm": "Do you want to discard this draft?",
"bootbox.ok": "OK",
"bootbox.cancel": "إلغاء",
"bootbox.confirm": "تأكيد",
"bootbox.submit": "Submit",
"bootbox.send": "Send",
"cover.dragging_title": "Cover Photo Positioning",
"cover.dragging_message": "Drag the cover photo to the desired position and click \"Save\"",
"cover.saved": "Cover photo image and position saved"
"cover.saved": "Cover photo image and position saved",
"thumbs.modal.title": "Manage topic thumbnails",
"thumbs.modal.no-thumbs": "No thumbnails found.",
"thumbs.modal.resize-note": "<strong>Note</strong>: This forum is configured to resize topic thumbnails down to a maximum width of %1px",
"thumbs.modal.add": "Add thumbnail",
"thumbs.modal.remove": "Remove thumbnail",
"thumbs.modal.confirm-remove": "Are you sure you want to remove this thumbnail?"
}

View File

@@ -1,8 +1,8 @@
{
"title": "التنبيهات",
"no_notifs": "ليس لديك أية تنبيهات جديدة",
"see_all": "عرض كل التنبيهات",
"mark_all_read": "اجعل كل التنبيهات مقروءة",
"see_all": "All notifications",
"mark_all_read": "Mark all read",
"back_to_home": "عودة إلى %1",
"outgoing_link": "رابط خارجي",
"outgoing_link_message": "أنت تغادر اﻻن %1",
@@ -14,6 +14,7 @@
"topics": "مواضيع",
"replies": "ردود",
"chat": "محادثات",
"group-chat": "Group Chats",
"follows": "متابعون",
"upvote": "الموافقين",
"new-flags": "New Flags",
@@ -46,6 +47,10 @@
"profile-exported": "<strong>%1</strong> profile exported, click to download",
"posts-exported": "<strong>%1</strong> posts exported, click to download",
"uploads-exported": "<strong>%1</strong> uploads exported, click to download",
"users-csv-exported": "Users csv exported, click to download",
"post-queue-accepted": "Your queued post has been accepted. Click here to see your post.",
"post-queue-rejected": "Your queued post has been rejected.",
"post-queue-notify": "Queued post received a notification:<br/>\"%1\"",
"email-confirmed": "تم التحقق من عنوان البريد الإلكتروني",
"email-confirmed-message": "شكرًا على إثبات صحة عنوان بريدك الإلكتروني. صار حسابك مفعلًا بالكامل.",
"email-confirm-error-message": "حدث خطأ أثناء التحقق من عنوان بريدك الإلكتروني. ربما رمز التفعيل خاطئ أو انتهت صلاحيته.",
@@ -60,7 +65,9 @@
"notificationType_post-edit": "When a post is edited in a topic you are watching",
"notificationType_follow": "When someone starts following you",
"notificationType_new-chat": "When you receive a chat message",
"notificationType_new-group-chat": "When you receive a group chat message",
"notificationType_group-invite": "When you receive a group invite",
"notificationType_group-leave": "When a user leaves your group",
"notificationType_group-request-membership": "When someone requests to join a group you own",
"notificationType_new-register": "When someone gets added to registration queue",
"notificationType_post-queue": "When a new post is queued",

View File

@@ -49,16 +49,18 @@
"account/watched_categories": "%1's Watched Categories",
"account/bookmarks": "%1's Bookmarked Posts",
"account/settings": "خيارات المستخدم",
"account/settings-of": "Changing settings of %1",
"account/watched": "Topics watched by %1",
"account/ignored": "Topics ignored by %1",
"account/upvoted": "Posts upvoted by %1",
"account/downvoted": "Posts downvoted by %1",
"account/best": "Best posts made by %1",
"account/controversial": "Controversial posts made by %1",
"account/blocks": "Blocked users for %1",
"account/uploads": "Uploads by %1",
"account/sessions": "Login Sessions",
"confirm": "تم التحقق من عنوان البريد الإلكتروني",
"maintenance.text": "جاري صيانة %1. المرجو العودة لاحقًا.",
"maintenance.text": "%1 is currently undergoing maintenance.<br/>Please come back another time.",
"maintenance.messageIntro": "بالإضافة إلى ذلك، قام مدبر النظام بترك هذه الرسالة:",
"throttled.text": "%1 is currently unavailable due to excessive load. Please come back another time."
}

View File

@@ -1,11 +1,40 @@
{
"post-queue": "Post Queue",
"description": "There are no posts in the post queue. <br> To enable this feature, go to <a href=\"%1\">Settings &rarr; Post &rarr; Post Queue</a> and enable <strong>Post Queue</strong>.",
"no-queued-posts": "There are no posts in the post queue.",
"no-single-post": "The topic or post you are looking for is no longer in the queue. It has likely been approved or deleted already.",
"enabling-help": "To enable this feature, go to <a href=\"%1\">Settings &rarr; Post &rarr; Post Queue</a> and enable <strong>Post Queue</strong>.",
"back-to-list": "Back to Post Queue",
"user": "User",
"when": "When",
"category": "Category",
"title": "Title",
"content": "Content",
"posted": "Posted",
"reply-to": "Reply to \"%1\"",
"content-editable": "You can click on individual content to edit before posting."
"content-editable": "Click on content to edit",
"category-editable": "Click on category to edit",
"title-editable": "Click on title to edit",
"reply": "Reply",
"topic": "Topic",
"accept": "Accept",
"reject": "Reject",
"remove": "Remove",
"notify": "Notify",
"notify-user": "Notify User",
"confirm-reject": "Do you want to reject this post?",
"confirm-remove": "Do you want to remove this post?",
"bulk-actions": "Bulk Actions",
"accept-all": "Accept All",
"accept-selected": "Accept Selected",
"reject-all": "Reject All",
"reject-all-confirm": "Do you want to reject all posts?",
"reject-selected": "Reject Selected",
"reject-selected-confirm": "Do you want to reject %1 selected posts?",
"remove-all": "Remove all",
"remove-all-confirm": "Do you want to remove all posts?",
"remove-selected": "Remove Selected",
"remove-selected-confirm": "Do you want to remove %1 selected posts?",
"bulk-accept-success": "%1 posts accepted",
"bulk-reject-success": "%1 posts rejected"
}

View File

@@ -7,13 +7,5 @@
"alltime": "دائمًا",
"no_recent_topics": "لايوجد مواضيع جديدة",
"no_popular_topics": "لا يوجد مواضيع شائعة",
"there-is-a-new-topic": "يوجد موضوع جديد",
"there-is-a-new-topic-and-a-new-post": "يوجد موضوع جديد و رد جديد",
"there-is-a-new-topic-and-new-posts": "يوجد موضوع جديد و %1 ردود جديدة ",
"there-are-new-topics": "يوجد %1 مواضيع جديدة",
"there-are-new-topics-and-a-new-post": "يوجد %1 مواضيع جديدة و رد جديد",
"there-are-new-topics-and-new-posts": "يوجد %1 مواضيع جديدة و %2 مشاركات جديدة",
"there-is-a-new-post": "يوجد مشاركة جديدة",
"there-are-new-posts": "يوجد %1 مشاركات جديدة",
"click-here-to-reload": "إضغط هنا لإعادة التحميل"
"load-new-posts": "Load new posts"
}

View File

@@ -1,5 +1,6 @@
{
"register": "تسجيل",
"already-have-account": "Already have an account?",
"cancel_registration": "إلغاء التسجيل",
"help.email": "افتراضيا، سيتم إخفاء بريدك الإلكتروني من العامة.",
"help.username_restrictions": "اسم مستخدم فريدة من نوعها بين 1% و 2% حرفا. بإمكان الآخرين مناداتك بـ @<span id='yourUsername'>اسم المستخدم</span>.",
@@ -18,9 +19,15 @@
"agree_to_terms_of_use": "أوافق على شروط الاستخدام",
"terms_of_use_error": "يجب عليك الموافقة على شروط الاستخدام",
"registration-added-to-queue": "تمت إضافتك في قائمة الإنتضار. ستتلقى رسالة إلكترونية عند الموافقة على تسجيلك من قبل الإدارة.",
"interstitial.intro": "نحتاج إلى بعض المعلومات الإضافية قبل أن نتمكن من إنشاء حسابك.",
"interstitial.errors-found": "تعذر علينا إتمام عملية التسجيل:",
"registration-queue-average-time": "Our average time for approving memberships is %1 hours %2 minutes.",
"registration-queue-auto-approve-time": "Your membership to this forum will be fully activated in up to %1 hours.",
"interstitial.intro": "We'd like some additional information in order to update your account&hellip;",
"interstitial.intro-new": "We'd like some additional information before we can create your account&hellip;",
"interstitial.errors-found": "Please review the entered information:",
"gdpr_agree_data": "I consent to the collection and processing of my personal information on this website.",
"gdpr_agree_email": "I consent to receive digest and notification emails from this website.",
"gdpr_consent_denied": "You must give consent to this site to collect/process your information, and to send you emails."
"gdpr_consent_denied": "You must give consent to this site to collect/process your information, and to send you emails.",
"invite.error-admin-only": "Direct user registration has been disabled. Please contact an administrator for more details.",
"invite.error-invite-only": "Direct user registration has been disabled. You must be invited by an existing user in order to access this forum.",
"invite.error-invalid-data": "The registration data received does not correspond to our records. Please contact an administrator for more details"
}

View File

@@ -1,21 +1,41 @@
{
"type-to-search": "Type to search",
"results_matching": "%1 نتيجة (نتائج) موافقة لـ \"%2\", (%3 ثواني)",
"no-matches": "لم يتم العثور على نتائج.",
"advanced-search": "بحث متقدم",
"in": "في",
"titles": "العناوين",
"titles-posts": "العناوين والمشاركات",
"in-titles": "In titles",
"in-titles-posts": "In titles and posts",
"in-posts": "In posts",
"in-categories": "In categories",
"in-users": "In users",
"in-tags": "In tags",
"categories": "Categories",
"all-categories": "All categories",
"categories-x": "Categories: %1",
"categories-watched-categories": "Categories: Watched categories",
"type-a-category": "Type a category",
"tags": "Tags",
"tags-x": "Tags: %1",
"type-a-tag": "Type a tag",
"match-words": "Match words",
"match-all-words": "Match all words",
"match-any-word": "Match any word",
"all": "All",
"any": "Any",
"posted-by": "مشاركة من طرف",
"in-categories": "في الفئات",
"posted-by-usernames": "Posted by: %1",
"type-a-username": "Type a username",
"search-child-categories": "بحث في الفئات الفرعية",
"has-tags": "Has tags",
"reply-count": "عدد المشاركات",
"replies": "Replies",
"replies-atleast-count": "Replies: At least %1",
"replies-atmost-count": "Replies: At most %1",
"at-least": "على اﻷقل",
"at-most": "على اﻷكثر",
"relevance": "Relevance",
"time": "Time",
"post-time": "تاريخ المشاركة",
"votes": "Votes",
"newer-than": "أحدث من",
@@ -28,7 +48,22 @@
"three-months": "ثلاثة أشهر",
"six-months": "ستة أشهر",
"one-year": "عام",
"time-newer-than-86400": "Time: Newer than yesterday",
"time-older-than-86400": "Time: Older than yesterday",
"time-newer-than-604800": "Time: Newer than one week",
"time-older-than-604800": "Time: Older than one week",
"time-newer-than-1209600": "Time: Newer than two weeks",
"time-older-than-1209600": "Time: Older than two weeks",
"time-newer-than-2592000": "Time: Newer than one month",
"time-older-than-2592000": "Time: Older than one month",
"time-newer-than-7776000": "Time: Newer than three months",
"time-older-than-7776000": "Time: Older than three months",
"time-newer-than-15552000": "Time: Newer than six months",
"time-older-than-15552000": "Time: Older than six months",
"time-newer-than-31104000": "Time: Newer than one year",
"time-older-than-31104000": "Time: Older than one year",
"sort-by": "عرض حسب",
"sort": "Sort",
"last-reply-time": "تاريخ آخر رد",
"topic-title": "عنوان الموضوع",
"topic-votes": "Topic votes",
@@ -39,11 +74,36 @@
"category": "فئة",
"descending": "في ترتيب تنازلي",
"ascending": "في ترتيب تصاعدي",
"sort-by-relevance-desc": "Sort by: Relevance in descending order",
"sort-by-relevance-asc": "Sort by: Relevance in ascending order",
"sort-by-timestamp-desc": "Sort by: Post time in descending order",
"sort-by-timestamp-asc": "Sort by: Post time in ascending order",
"sort-by-votes-desc": "Sort by: Votes in descending order",
"sort-by-votes-asc": "Sort by: Votes in ascending order",
"sort-by-topic.lastposttime-desc": "Sort by: Last reply time in descending order",
"sort-by-topic.lastposttime-asc": "Sort by: Last reply time in ascending order",
"sort-by-topic.title-desc": "Sort by: Topic title in descending order",
"sort-by-topic.title-asc": "Sort by: Topic title in ascending order",
"sort-by-topic.postcount-desc": "Sort by: Number of replies in descending order",
"sort-by-topic.postcount-asc": "Sort by: Number of replies in ascending order",
"sort-by-topic.viewcount-desc": "Sort by: Number of views in descending order",
"sort-by-topic.viewcount-asc": "Sort by: Number of views in ascending order",
"sort-by-topic.votes-desc": "Sort by: Topic votes in descending order",
"sort-by-topic.votes-asc": "Sort by: Topic votes in ascending order",
"sort-by-topic.timestamp-desc": "Sort by: Topic start date in descending order",
"sort-by-topic.timestamp-asc": "Sort by: Topic start date in ascending order",
"sort-by-user.username-desc": "Sort by: Username in descending order",
"sort-by-user.username-asc": "Sort by: Username in ascending order",
"sort-by-category.name-desc": "Sort by: Category in descending order",
"sort-by-category.name-asc": "Sort by: Category in ascending order",
"save": "Save",
"save-preferences": "حفظ التفضيلات",
"clear-preferences": "ازالة التفضيلات",
"search-preferences-saved": "تم حفظ تفضيلات البحث",
"search-preferences-cleared": "تم ازالة تفضيلات البحث",
"show-results-as": "عرض النتائج كـ",
"show-results-as-topics": "Show results as topics",
"show-results-as-posts": "Show results as posts",
"see-more-results": "See more results (%1)",
"search-in-category": "Search in \"%1\""
}

View File

@@ -0,0 +1,10 @@
{
"sign-in-with-twitter": "تسجيل الدخول باستخدام تويتر",
"sign-up-with-twitter": "التسجيل باستخدام تويتر",
"sign-in-with-github": "تسجيل الدخول باستخدام جيت هب",
"sign-up-with-github": "التسجيل باستخدام جيت هب",
"sign-in-with-google": "تسجيل الدخول باستخدام قوقل",
"sign-up-with-google": "التسجيل باستخدام قوقل",
"log-in-with-facebook": "تسجيل الدخول باستخدام فيسبوك",
"continue-with-facebook": "التسجيل باستخدام فيسبوك"
}

View File

@@ -1,7 +1,7 @@
{
"success": "نجاح",
"topic-post": "لقد تمت الإضافة بنجاح.",
"post-queued": "Your post is queued for approval.",
"post-queued": "Your post is queued for approval. You will get a notification when it is accepted or rejected.",
"authentication-successful": "تم تسجيل الدخول بنجاح",
"settings-saved": "تم حفظ التغييرات!"
}

View File

@@ -1,8 +1,11 @@
{
"all-tags": "All tags",
"no_tag_topics": "لا يوجد مواضيع بهذه الكلمة الدلالية.",
"no-tags-found": "No tags found",
"tags": "الكلمات الدلالية",
"enter_tags_here": "Enter tags here, between %1 and %2 characters each.",
"enter_tags_here_short": "أدخل الكلمات الدلالية...",
"no_tags": "لا يوجد كلمات دلالية بعد.",
"select_tags": "Select Tags"
"select_tags": "Select Tags",
"tag-whitelist": "Tag Whitelist"
}

View File

@@ -0,0 +1,15 @@
{
"skins": "Skins",
"collapse": "Collapse",
"expand": "Expand",
"login-register-to-search": "Login or register to search.",
"settings.title": "Theme settings",
"settings.enableQuickReply": "Enable quick reply",
"settings.centerHeaderElements": "Center header elements",
"settings.mobileTopicTeasers": "Show topic teasers on mobile",
"settings.stickyToolbar": "Sticky toolbar",
"settings.stickyToolbar.help": "The toolbar on topic and category pages will stick to the top of the page",
"settings.autohideBottombar": "Auto hide bottom bar",
"settings.autohideBottombar.help": "The bottom bar on mobile view will be hidden when the page is scrolled down",
"settings.chatModals": "Enable chat modals"
}

View File

@@ -0,0 +1,10 @@
{
"settings.title": "Theme settings",
"settings.intro": "You can customise your theme settings here. Settings are stored on a per-device basis, so you are able to have different settings on different devices (phone, tablet, desktop, etc.)",
"settings.mobile-menu-side": "Switch which side each mobile menu is on",
"settings.autoHidingNavbar": "Automatically hide the navbar on scroll",
"settings.autoHidingNavbar-xs": "Very small screens (e.g. phones in portrait mode)",
"settings.autoHidingNavbar-sm": "Smaller screens (e.g. phones, some tablets)",
"settings.autoHidingNavbar-md": "Medium sized screens (e.g. tablets in landscape mode)",
"settings.autoHidingNavbar-lg": "Larger screens (e.g. desktop computers)"
}

View File

@@ -0,0 +1,4 @@
{
"title": "Top",
"no_top_topics": "No top topics"
}

View File

@@ -1,5 +1,6 @@
{
"topic": "موضوع",
"title": "Title",
"no_topics_found": "لا توجد مواضيع !",
"no_posts_found": "لا توجد مشاركات!",
"post_is_deleted": "هذه المشاركة محذوفة!",
@@ -19,6 +20,8 @@
"login-to-view": "🔒 Log in to view",
"edit": "تعديل",
"delete": "حذف",
"delete-event": "Delete Event",
"delete-event-confirm": "Are you sure you want to delete this event?",
"purge": "تطهير",
"restore": "استعادة",
"move": "نقل",
@@ -29,15 +32,44 @@
"tools": "أدوات",
"locked": "مقفل",
"pinned": "مثبت",
"pinned-with-expiry": "Pinned until %1",
"scheduled": "Scheduled",
"moved": "منقول",
"moved-from": "Moved from %1",
"copy-code": "Copy Code",
"copy-ip": "Copy IP",
"ban-ip": "Ban IP",
"view-history": "Edit History",
"wrote-ago": "wrote <a href=\"%1\" class=\"timeago text-muted\" title=\"%2\"></a>",
"wrote-on": "wrote on <a href=\"%1\" class=\"timeago text-muted\" title=\"%2\"></a>",
"replied-to-user-ago": "replied to <a component=\"post/parent\" data-topid=\"%1\" href=\"%2\">%3</a> <a href=\"%4\" class=\"timeago text-muted\" title=\"%5\"></a>",
"replied-to-user-on": "replied to <a component=\"post/parent\" data-topid=\"%1\" href=\"%2\">%3</a> on <a hrf=\"%4\" class=\"timeago text-muted\" title=\"%5\"></a>",
"user-locked-topic-ago": "%1 locked this topic %2",
"user-locked-topic-on": "%1 locked this topic on %2",
"user-unlocked-topic-ago": "%1 unlocked this topic %2",
"user-unlocked-topic-on": "%1 unlocked this topic on %2",
"user-pinned-topic-ago": "%1 pinned this topic %2",
"user-pinned-topic-on": "%1 pinned this topic on %2",
"user-unpinned-topic-ago": "%1 unpinned this topic %2",
"user-unpinned-topic-on": "%1 unpinned this topic on %2",
"user-deleted-topic-ago": "%1 deleted this topic %2",
"user-deleted-topic-on": "%1 deleted this topic on %2",
"user-restored-topic-ago": "%1 restored this topic %2",
"user-restored-topic-on": "%1 restored this topic on %2",
"user-moved-topic-from-ago": "%1 moved this topic from %2 %3",
"user-moved-topic-from-on": "%1 moved this topic from %2 on %3",
"user-queued-post-ago": "%1 <a href=\"%2\">queued</a> post for approval %3",
"user-queued-post-on": "%1 <a href=\"%2\">queued</a> post for approval on %3",
"user-referenced-topic-ago": "%1 <a href=\"%2\">referenced</a> this topic %3",
"user-referenced-topic-on": "%1 <a href=\"%2\">referenced</a> this topic on %3",
"user-forked-topic-ago": "%1 <a href=\"%2\">forked</a> this topic %3",
"user-forked-topic-on": "%1 <a href=\"%2\">forked</a> this topic on %3",
"bookmark_instructions": "اضغط هنا للعودة لأخر مشاركة مقروءة في الموضوع",
"flag-post": "Flag this post",
"flag-user": "Flag this user",
"already-flagged": "Already Flagged",
"view-flag-report": "View Flag Report",
"resolve-flag": "Resolve Flag",
"merged_message": "This topic has been merged into <a href=\"%1\">%2</a>",
"deleted_message": "هذه المشاركة محذوفة. فقط من لهم صلاحية الإشراف على ا لمشاركات يمكنهم معاينتها.",
"following_topic.message": "ستستلم تنبيها عند كل مشاركة جديدة في هذا الموضوع.",
@@ -70,6 +102,7 @@
"thread_tools.change_owner": "Change Owner",
"thread_tools.select_category": "Select Category",
"thread_tools.fork": "إنشاء فرع الموضوع",
"thread_tools.tag": "Tag Topic",
"thread_tools.delete": "حذف الموضوع",
"thread_tools.delete-posts": "مشاركات محذوفة",
"thread_tools.delete_confirm": "هل أنت متأكد أنك تريد حذف هذا الموضوع؟",
@@ -78,7 +111,7 @@
"thread_tools.purge": "تطهير الموضوع",
"thread_tools.purge_confirm": "هل أنت متأكد أنك تريد تطهير هذا الموضوع؟",
"thread_tools.merge_topics": "Merge Topics",
"thread_tools.merge": "Merge",
"thread_tools.merge": "Merge Topic",
"topic_move_success": "This topic will be moved to \"%1\" shortly. Click here to undo.",
"topic_move_multiple_success": "These topics will be moved to \"%1\" shortly. Click here to undo.",
"topic_move_all_success": "All topics will be moved to \"%1\" shortly. Click here to undo.",
@@ -88,19 +121,23 @@
"post_delete_confirm": "هل أنت متأكد أنك تريد حذف هذه المشاركة؟",
"post_restore_confirm": "هل أنت متأكد أنك تريد استعادة هذه المشاركة؟",
"post_purge_confirm": "هل أنت متأكد أنك تريد تطهير هذه المشاركة؟",
"pin-modal-expiry": "Expiration Date",
"pin-modal-help": "You can optionally set an expiration date for the pinned topic(s) here. Alternatively, you can leave this field blank to have the topic stay pinned until it is manually unpinned.",
"load_categories": "تحميل الفئات",
"confirm_move": "انقل",
"confirm_fork": "فرع",
"bookmark": "Bookmark",
"bookmarks": "Bookmarks",
"bookmarks.has_no_bookmarks": "You haven't bookmarked any posts yet.",
"copy-permalink": "Copy Permalink",
"loading_more_posts": "تحميل المزيد من المشاركات",
"move_topic": "نقل الموضوع",
"move_topics": "نقل المواضيع",
"move_post": "نقل المشاركة",
"post_moved": "تم نقل المشاركة",
"fork_topic": "فرع الموضوع",
"fork_topic_instruction": "إضغط على المشاركات التي تريد تفريعها",
"enter-new-topic-title": "Enter new topic title",
"fork_topic_instruction": "Click the posts you want to fork, enter a title for the new topic and click fork topic",
"fork_no_pids": "لم تختر أي مشاركة",
"no-posts-selected": "No posts selected!",
"x-posts-selected": "%1 post(s) selected",
@@ -113,14 +150,21 @@
"merge-options": "Merge options",
"merge-select-main-topic": "Select the main topic",
"merge-new-title-for-topic": "New title for topic",
"move_posts_instruction": "Click the posts you want to move then go to target topic and click move.",
"topic-id": "Topic ID",
"move_posts_instruction": "Click the posts you want to move then enter a topic ID or go to the target topic",
"move_topic_instruction": "Select the target category and then click move",
"change_owner_instruction": "Click the posts you want to assign to another user",
"composer.title_placeholder": "أدخل عنوان موضوعك هنا...",
"composer.handle_placeholder": "Enter your name/handle here",
"composer.hide": "Hide",
"composer.discard": "نبذ التغييرات",
"composer.submit": "حفظ",
"composer.additional-options": "Additional Options",
"composer.post-later": "Post Later",
"composer.schedule": "Schedule",
"composer.replying_to": "الرد على %1",
"composer.new_topic": "موضوع جديد",
"composer.editing": "Editing",
"composer.uploading": "جاري الرفع",
"composer.thumb_url_label": "ألصق رابط الصورة المصغرة للموضوع",
"composer.thumb_title": "إضافة صورة مصغرة للموضوع",
@@ -137,6 +181,7 @@
"newest_to_oldest": "من الأحدث إلى الأقدم",
"most_votes": "Most Votes",
"most_posts": "Most Posts",
"most_views": "Most Views",
"stale.title": "Create new topic instead?",
"stale.warning": "The topic you are replying to is quite old. Would you like to create a new topic instead, and reference this one in your reply?",
"stale.create": "موضوع جديد",
@@ -148,8 +193,17 @@
"diffs.current-revision": "current revision",
"diffs.original-revision": "original revision",
"diffs.restore": "Restore this revision",
"diffs.restore-description": "A new revision will be appended to this post's edit history.",
"diffs.restore-description": "A new revision will be appended to this post's edit history after restoring.",
"diffs.post-restored": "Post successfully restored to earlier revision",
"diffs.delete": "Delete this revision",
"diffs.deleted": "Revision deleted",
"timeago_later": "%1 later",
"timeago_earlier": "%1 earlier"
"timeago_earlier": "%1 earlier",
"first-post": "First post",
"last-post": "Last post",
"go-to-my-next-post": "Go to my next post",
"no-more-next-post": "You don't have more posts in this topic",
"post-quick-reply": "Quick reply",
"navigator.index": "Post %1 of %2",
"navigator.unread": "%1 unread"
}

View File

@@ -1,5 +1,6 @@
{
"banned": "محظور",
"muted": "كتم ",
"offline": "غير متصل",
"deleted": "محذوف",
"username": "إسم المستخدم",
@@ -8,10 +9,12 @@
"email": "البريد الإلكتروني",
"confirm_email": "تأكيد عنوان البريد الإلكتروني",
"account_info": "معلومات الحساب",
"admin_actions_label": "Administrative Actions",
"admin_actions_label": "الإجراءات الإدارية",
"ban_account": "حظر الحساب",
"ban_account_confirm": "هل تريد حقاً حظر هاذا العضو؟",
"unban_account": "إزالة حظر الحساب",
"mute_account": "Mute Account",
"unmute_account": "Unmute Account",
"delete_account": "حذف الحساب",
"delete_account_as_admin": "Delete <strong>Account</strong>",
"delete_content": "Delete Account <strong>Content</strong>",
@@ -21,7 +24,7 @@
"delete_account_content_confirm": "Are you sure you want to delete this account's content (posts/topics/uploads)? <br /><strong>This action is irreversible and you will not be able to recover any data</strong><br /><br />",
"delete_all_confirm": "Are you sure you want to delete this account and all of its content (posts/topics/uploads)? <br /><strong>This action is irreversible and you will not be able to recover any data</strong><br /><br />",
"account-deleted": "تم حذف الحساب",
"account-content-deleted": "Account content deleted",
"account-content-deleted": "تم حذف محتوى حساب",
"fullname": "الاسم الكامل",
"website": "الموقع الإلكتروني",
"location": "الموقع",
@@ -31,25 +34,26 @@
"profile": "الملف الشخصي",
"profile_views": "عدد المشاهدات",
"reputation": "السمعة",
"bookmarks": "Bookmarks",
"watched_categories": "Watched categories",
"change_all": "Change All",
"bookmarks": "المفضلات",
"watched_categories": "الأقسام المُتابعة",
"change_all": "غير الكل",
"watched": "متابع",
"ignored": "تم تجاهله",
"default-category-watch-state": "Default category watch state",
"default-category-watch-state": "حالة مشاهدة اﻻقسام الافتراضية",
"followers": "المتابعون",
"following": "يتابع",
"blocks": "Blocks",
"block_toggle": "Toggle Block",
"block_user": "Block User",
"unblock_user": "Unblock User",
"blocks": "الكتل",
"blocked-users": "Blocked users",
"block_toggle": "تبديل الكتلة",
"block_user": "أحظر المستخدم",
"unblock_user": "ألغ حظر المستخدم",
"aboutme": "معلومة عنك او السيرة الذاتية",
"signature": "توقيع",
"birthday": "عيد ميلاد",
"chat": "محادثة",
"chat_with": "متابعة الدردشة مع %1",
"new_chat_with": "بدء دردشة جديدة مع %1",
"flag-profile": "Flag Profile",
"flag-profile": "ضع علامة على الملف الشخصي",
"follow": "تابع",
"unfollow": "إلغاء المتابعة",
"more": "المزيد",
@@ -65,6 +69,7 @@
"upload_new_picture": "رفع صورة جديدة",
"upload_new_picture_from_url": "رفع صورة جديدة من رابط",
"current_password": "كلمة السر الحالية",
"new_password": "New Password",
"change_password": "تغيير كلمة السر",
"change_password_error": "كلمة سر غير صحيحة",
"change_password_error_wrong_current": "كلمة السر الحالية ليست صحيحة",
@@ -84,6 +89,7 @@
"remove_cover_picture_confirm": "هل تريد بالتأكيد إزالة صورة الغلاف؟",
"crop_picture": "إقتصاص الصورة",
"upload_cropped_picture": "إقتصاص ورفع",
"avatar-background-colour": "لون الخلفية للصورة الرمزية",
"settings": "خيارات",
"show_email": "أظهر بريدي الإلكتروني",
"show_fullname": "أظهر اسمي الكامل",
@@ -93,25 +99,29 @@
"digest_off": "غير مفعل",
"digest_daily": "يوميا",
"digest_weekly": "أسبوعيًّا",
"digest_biweekly": "Bi-Weekly",
"digest_monthly": "شهريًّا",
"has_no_follower": "هذا المستخدم ليس لديه أية متابعين :(",
"follows_no_one": "هذا المستخدم لا يتابع أحد :(",
"has_no_posts": "هذا المستخدم لم يشارك حتى الآن.",
"has_no_best_posts": "This user does not have any upvoted posts yet.",
"has_no_topics": "هذا المستخدم لم يكتب أي موضوع حتى الآن.",
"has_no_watched_topics": "هذا المستخدم لم يقم بمراقبة اية مواضيع حتى الآن.",
"has_no_ignored_topics": "هذا المستخدم لم يقم بتجاهل اية مواضيع حتى الآن.",
"has_no_upvoted_posts": "هذا المستخدم لم يقم بالتصويت للأعلى لأي مشاركة حتى الآن.",
"has_no_downvoted_posts": "هذا المستخدم لم يقم بالتصويت للأسفل لأي مشاركة حتى الآن.",
"has_no_voted_posts": "هذا المستخدم لا يمتلك اية مشاركات تم التصويت عليها",
"has_no_blocks": "You have blocked no users.",
"has_no_controversial_posts": "هذا المستخدم ﻻيمتلك تصويت للأسفل لأي مشاركة حتى الآن.",
"has_no_blocks": "أنت لم تحظر اي مستخدم",
"email_hidden": "البريد الإلكتروني مخفي",
"hidden": "مخفي",
"paginate_description": "عرض المواضيع والردود موزعة على صفحات عوضاً عن التمرير اللانهائي.",
"topics_per_page": "المواضيع في كل صفحة",
"posts_per_page": "الردود في كل صفحة",
"category-topic-sort": "Category topic sort",
"topic-post-sort": "Topic post sort",
"max_items_per_page": "أقصى %1",
"acp_language": "Admin Page Language",
"notifications": "Notifications",
"acp_language": "لغة صفحة اﻻدارة",
"notifications": "التنبيهات",
"upvote-notif-freq": "معدل تكرار تنبيهات التصويت للأعلى",
"upvote-notif-freq.all": "كل التصويتات للأعلى",
"upvote-notif-freq.first": "First Per Post",
@@ -123,6 +133,7 @@
"open_links_in_new_tab": "فتح الروابط الخارجية في نافدة جديدة",
"enable_topic_searching": "تفعيل خاصية البحث داخل المواضيع",
"topic_search_help": "إذا قمت بتفعيل ميزة البحث في-الموضوع، سيتم تجاوز الخيار الافتراضي للمتصفح مما يؤدي للبحث بكامل الموضوع بدلا عن البحث في الجزء الظاهر في الشاشة.",
"update_url_with_post_index": "Update url with post index while browsing topics",
"scroll_to_my_post": "بعد اضافة رد على المشاركة, قم بإظهار المشاركة",
"follow_topics_you_reply_to": "متابعة المواضيع التي تقوم بالرد عليها",
"follow_topics_you_create": "متابعة المواضيع التي تقوم بإنشائها",
@@ -134,7 +145,7 @@
"homepage": "الصفحة الرئيسية",
"homepage_description": "حدد صفحة لاستخدامها كصفحة رئيسية للمنتدى أو \"لا شيء\" لاستخدام الصفحة الرئيسية الافتراضية.",
"custom_route": "مسار الصفحة الرئيسية المخصصة",
"custom_route_help": "أدخل اسم مسار هنا، بدون أي شرطة مائلة (على سبيل المثال \"حديثة\" أو \"شائعة\")",
"custom_route_help": "Enter a route name here, without any preceding slash (e.g. \"recent\" or \"category/2/general-discussion\")",
"sso.title": "خدمات تسجيل الدخول الموحد",
"sso.associated": "مرتبط مع",
"sso.not-associated": "انقر هنا لربط مع",
@@ -150,12 +161,19 @@
"info.banned-permanently": "محظور بشكل دائم",
"info.banned-reason-label": "سبب",
"info.banned-no-reason": "لم يتم إعطاء سبب.",
"info.mute-history": "Recent Mute History",
"info.no-mute-history": "This user has never been muted",
"info.muted-until": "Muted until %1",
"info.muted-expiry": "Expiry",
"info.muted-no-reason": "No reason given.",
"info.username-history": "سجل اسم المستخدم",
"info.email-history": "سجل البريد الإلكتروني",
"info.moderation-note": "ملاحظة الإشراف",
"info.moderation-note.success": "تم حفظ ملاحظة الإشراف",
"info.moderation-note.add": "إضافة ملاحظة",
"sessions.description": "This page allows you to view any active sessions on this forum and revoke them if necessary. You can revoke your own session by logging out of your account.",
"revoke-session": "Revoke Session",
"browser-version-on-platform": "%1 %2 on %3",
"consent.title": "Your Rights &amp; Consent",
"consent.lead": "This community forum collects and processes your personal information.",
"consent.intro": "We use this information strictly to personalise your experience in this community, as well as to associate the posts you make to your user account. During the registration step you were asked to provide a username and email address, you can also optionally provide additional information to complete your user profile on this website.<br /><br />We retain this information for the life of your user account, and you are able to withdraw consent at any time by deleting your account. At any time you may request a copy of your contribution to this website, via your Rights &amp; Consent page.<br /><br />If you have any questions or concerns, we encourage you to reach out to this forum's administrative team.",
@@ -178,5 +196,11 @@
"consent.export_uploads": "Export Uploaded Content (.zip)",
"consent.export-uploads-success": "Exporting uploads, you will get a notification when it is complete.",
"consent.export_posts": "Export Posts (.csv)",
"consent.export-posts-success": "Exporting posts, you will get a notification when it is complete."
"consent.export-posts-success": "Exporting posts, you will get a notification when it is complete.",
"emailUpdate.intro": "Please enter your email address below. This forum uses your email address for scheduled digest and notifications, as well as for account recovery in the event of a lost password.",
"emailUpdate.optional": "<strong>This field is optional</strong>. You are not obligated to provide your email address, but without a validated email you will not be able to recover your account or login with your email.",
"emailUpdate.required": "<strong>This field is required</strong>.",
"emailUpdate.change-instructions": "A confirmation email will be sent to the entered email address with a unique link. Accessing that link will confirm your ownership of the email address and it will become active on your account. At any time, you are able to update your email on file from within your account page.",
"emailUpdate.password-challenge": "Please enter your password in order to verify account ownership.",
"emailUpdate.pending": "Your email address has not yet been confirmed, but an email has been sent out requesting confirmation. If you wish to invalidate that request and send a new confirmation request, please fill in the form below."
}

View File

@@ -1,16 +1,19 @@
{
"all-users": "All Users",
"latest_users": "أحدث الأعضاء",
"top_posters": "اﻷكثر مشاركة",
"most_reputation": "أعلى سمعة",
"most_flags": "Most Flags",
"most_flags": "معظم الأعلام",
"search": "بحث",
"enter_username": "أدخل اسم مستخدم للبحث",
"search-user-for-chat": "Search for a user to start chat",
"load_more": "حمل المزيد",
"users-found-search-took": "تم إيجاد %1 مستخدمـ(ين)! استغرق البحث %2 ثانية.",
"filter-by": "Filter By",
"filter-by": "تصفية بحسب",
"online-only": "المتصلون فقط",
"invite": "دعوة",
"prompt-email": "Emails:",
"prompt-email": "البريد الإلكتروني:",
"groups-to-join": "المجموعات التي سيتم الانضمام إليها عند قبول الدعوة:",
"invitation-email-sent": "تم إرسال دعوة بالبريد الإلكتروني إلى %1",
"user_list": "قائمة اﻷعضاء",
"recent_topics": "أحدث المواضيع",

View File

@@ -0,0 +1,3 @@
# The files here are not meant to be edited directly
Please see the &rarr; [Internalization README](../README.md).

View File

@@ -3,5 +3,7 @@
"alert.confirm-restart": "Наистина ли искате да рестартирате NodeBB?",
"acp-title": "%1 | Контролен панел за администратори на NodeBB",
"settings-header-contents": "Съдържание"
"settings-header-contents": "Съдържание",
"changes-not-saved": "Промените не са запазени",
"changes-not-saved-message": "Възникна проблем при запазването на промените Ви по NodeBB. (%1)"
}

Some files were not shown because too many files have changed in this diff Show More