Compare commits

...

5886 Commits

Author SHA1 Message Date
Julian Lam
0df3ea8661 refactor: client-side to use flag notes API 2021-07-16 13:51:37 -04:00
Julian Lam
b6c84222c2 test: fix breaking test on mongo 2021-07-16 12:29:39 -04:00
Julian Lam
6bcc0d0ddc chore: remove debug line 2021-07-16 11:33:23 -04:00
Julian Lam
e219cf0226 feat: flag notes API + tests 2021-07-16 11:28:52 -04:00
Julian Lam
b5da3f136b fix: flag tests to use Write API instead of sockets 2021-07-14 16:39:55 -04:00
Julian Lam
8a02c66ed5 feat: tests for new flags API
added missing files for schema update
2021-07-14 15:41:01 -04:00
Julian Lam
66946be9f0 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
2021-07-14 15:21:25 -04: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
Misty (Bot)
8d48455b04 chore: incrementing version number - v1.15.0-rc.0 2020-10-21 21:19:57 +00:00
Barış Soner Uşaklı
db63f5e3f0 fix: #8781 2020-10-21 16:30:14 -04:00
Julian Lam
177a961000 feat: new filter filter:teasers.configureStripTags 2020-10-21 14:04:52 -04:00
Baris Usakli
1a4c0decb7 fix: reset button loading html 2020-10-21 13:05:46 -04:00
Julian Lam
d68ffea80d feat: send 'Vary' header when ACAO header set 2020-10-21 10:34:38 -04:00
Misty (Bot)
c31cab3457 Latest translations and fallbacks 2020-10-21 09:10:48 +00:00
Misty (Bot)
3964872289 chore: update changelog for v1.15.0-beta.30 2020-10-21 01:10:28 +00:00
Misty (Bot)
2dd3c9622f chore: incrementing version number - v1.15.0-beta.30 2020-10-21 01:10:28 +00:00
Barış Soner Uşaklı
e6440c0d21 fix: #8779, fix move all
add new language keys
2020-10-20 20:53:45 -04:00
Barış Soner Uşaklı
1f43e98f8b fix: allow admins adding users to global moderators
add new test
2020-10-20 18:43:45 -04:00
Barış Soner Uşaklı
bbafa1b82a Revert "fix: [breaking] send configured config URL as origin if not custom"
This reverts commit 205a10308e.
2020-10-20 18:38:50 -04:00
Julian Lam
a691be5952 fix: incorrect logic for post history editable bool 2020-10-20 16:09:40 -04:00
Julian Lam
205a10308e fix: [breaking] send configured config URL as origin if not custom
This is a breaking change if your install uses multiple URLs to access. You will need to update the Access-Control-Allow-Origin header in ACP > Advanced > Headers to supply all URLs you use to access your site
2020-10-20 15:25:20 -04:00
Barış Soner Uşaklı
7a019494e8 feat: add filter.topics.getPostReplies 2020-10-20 12:00:56 -04:00
Julian Lam
7a8f704900 fix: #8776 some users unable to restore old versions via history 2020-10-20 10:40:23 -04:00
Misty (Bot)
df1cfc4caf Latest translations and fallbacks 2020-10-20 09:09:22 +00:00
Barış Soner Uşaklı
75024c3580 refactor: remove console.log, extra require 2020-10-20 00:29:44 -04:00
Barış Soner Uşaklı
b26e9b5993 fix: #8595, dont save escaped data when renaming groups 2020-10-20 00:24:34 -04:00
Barış Soner Uşaklı
ea31f50554 refactor: show more lines of stack trace 2020-10-19 22:43:18 -04:00
Barış Soner Uşaklı
3ee4936db6 fix: keep sortBy while searching 2020-10-19 22:16:34 -04:00
Barış Soner Uşaklı
85cfe49d65 fix: autocomplete.user on search page 2020-10-19 21:58:56 -04:00
Barış Soner Uşaklı
cf474ab246 fix: spec 2020-10-19 19:11:50 -04:00
Barış Soner Uşaklı
7bddec93ec fix: sortby 2020-10-19 18:56:39 -04:00
Misty (Bot)
1b50e1a062 Latest translations and fallbacks 2020-10-19 09:10:05 +00:00
Barış Soner Uşaklı
b3619d3d47 fix: #8774 2020-10-18 16:54:42 -04:00
Julian Lam
ff4fcc23b6 Update bundled logos with new branding (#8702)
* feat: updating logo assets, square logos missing still

* fix: squared logo for touch icon and notification fallback

* fix: update link to favicon

* feat: add default touch icon sizes, if one isn't uploaded

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2020-10-18 01:41:04 -04:00
Barış Soner Uşaklı
c107649b40 fix: #8732 2020-10-18 01:33:03 -04:00
Barış Soner Uşaklı
e362c342a3 fix: #8630, sort extra deps 2020-10-17 23:56:42 -04:00
Barış Soner Uşaklı
d9a16855d0 refactor: posts api 2020-10-17 22:59:12 -04:00
Barış Soner Uşaklı
272e73da53 refactor: post restore/delete/purge 2020-10-17 21:24:33 -04:00
renovate[bot]
4bfd008781 chore(deps): update dependency lint-staged to v10.4.2 (#8773)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 20:24:02 -04:00
Barış Soner Uşaklı
9738e20207 refactor: merge post.edit
fix: dont fadeout/fadeint if title/post didnt change
2020-10-17 15:07:04 -04:00
renovate[bot]
bb85c059de chore(deps): update dependency eslint to v7.11.0 (#8747)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 01:19:22 -04:00
renovate[bot]
08a240fa8e chore(deps): update dependency lint-staged to v10.4.1 (#8771)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-17 01:03:52 -04:00
renovate[bot]
a471b1afb3 chore(deps): update dependency mocha to v8.2.0 (#8772)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-16 23:49:41 -04:00
Barış Soner Uşaklı
2279e37261 refactor: deprecate socket.emit('users.search') use api route 2020-10-16 23:30:22 -04:00
Barış Soner Uşaklı
083c74e059 refactor: api categories 2020-10-16 22:41:38 -04:00
Barış Soner Uşaklı
e78c498e84 fix: missing doTopicAction, fix wrong api params 2020-10-16 21:36:59 -04:00
Barış Soner Uşaklı
bc880ee0ca refactor: remove sockets.reqFromSocket 2020-10-16 21:05:00 -04:00
Barış Soner Uşaklı
8fd3c04480 fix: test 2020-10-16 20:36:24 -04:00
Barış Soner Uşaklı
9d81660e24 Revert "Revert "fix: appropriate 404 handling for write API calls""
This reverts commit 135c2d6c7d.
2020-10-16 20:21:52 -04:00
Barış Soner Uşaklı
135c2d6c7d Revert "fix: appropriate 404 handling for write API calls"
This reverts commit b6cce75d97.
2020-10-16 20:21:32 -04:00
Julian Lam
9ee3cb9b62 refactor: topic follow/ignore to use api lib 2020-10-16 12:30:14 -04:00
Julian Lam
68d6818bca refactor: topic tools' actions to use api lib 2020-10-16 12:02:51 -04:00
Julian Lam
21974a77f8 feat: topic reply to use api lib (also + missing file) 2020-10-16 11:01:18 -04:00
Julian Lam
40598b368e refactor: topic creation to use api lib 2020-10-16 11:01:18 -04:00
Julian Lam
b6cce75d97 fix: appropriate 404 handling for write API calls 2020-10-16 11:01:18 -04:00
Julian Lam
ede9435f0e feat: send 401 for invalid-uid 2020-10-16 11:01:18 -04:00
Misty (Bot)
854d61a257 Latest translations and fallbacks 2020-10-16 09:08:42 +00:00
Barış Soner Uşaklı
c913900ed6 feat: async/await admin/search 2020-10-16 00:05:55 -04:00
Barış Soner Uşaklı
2927509af3 feat: ignore test folder 2020-10-15 23:28:12 -04:00
Barış Soner Uşaklı
bf480ee58b refactor: setupApiRoute signature 2020-10-15 23:12:19 -04:00
Barış Soner Uşaklı
688d7a2cc2 refactor: remove unused middleware 2020-10-15 22:50:23 -04:00
Barış Soner Uşaklı
b2ff1594b8 fix: redis hget
'node_redis: The HGET command contains a invalid argument type.\n' +
'Only strings, dates and buffers are accepted. Please update your code to use valid argument types.'
2020-10-15 22:25:56 -04:00
Julian Lam
e98285dbbb fix: reimplementing isPrivilegedOrSelfAndPasswordMatch 2020-10-15 21:45:57 -04:00
Barış Soner Uşaklı
84a179f48c Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-10-15 20:51:55 -04:00
Julian Lam
3f347baadb fix: socket user bans 2020-10-15 20:31:25 -04:00
Julian Lam
14f9d8b0e5 feat: send back 403 on no-privileges error 2020-10-15 20:23:19 -04:00
Julian Lam
222b4c9533 fix: broken tests from api change 2020-10-15 19:33:20 -04:00
Julian Lam
2d252f2fa4 refactor: user bans to use api lib 2020-10-15 19:05:31 -04:00
Barış Soner Uşaklı
7d86be2bc2 fix: tests 2020-10-15 17:51:04 -04:00
Barış Soner Uşaklı
48a9b5d66e update logo 2020-10-15 17:31:03 -04:00
Barış Soner Uşaklı
e367c5403e refactor: move groups.leave, fix some tests 2020-10-15 17:29:38 -04:00
Barış Soner Uşaklı
bbbd9fee85 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-10-15 17:12:26 -04:00
Julian Lam
960e925e40 refactor: change password/user follow to use api lib 2020-10-15 17:09:39 -04:00
Barış Soner Uşaklı
081c4fa6d4 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-10-15 16:55:59 -04:00
Julian Lam
430e7f5834 refactor: user deletion to use api lib 2020-10-15 16:49:06 -04:00
Barış Soner Uşaklı
8ae1f81cf4 feat: refactor groups.delete 2020-10-15 16:36:53 -04:00
Julian Lam
77481947f0 refactor: socket profile update to use api lib 2020-10-15 16:22:40 -04:00
Julian Lam
31ae8a8323 refactor: socket profile update to use api lib 2020-10-15 16:21:54 -04:00
Barış Soner Uşaklı
d69e503d21 feat: move groups.join to api 2020-10-15 16:13:19 -04:00
Barış Soner Uşaklı
eed8deda61 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-10-15 16:07:39 -04:00
Barış Soner Uşaklı
51a60d3d46 fix: handler for group.join 2020-10-15 16:07:25 -04:00
Julian Lam
d07f0081b7 fix: add missing file 2020-10-15 15:52:07 -04:00
Julian Lam
23086daead refactor: user create and profile update to use api lib 2020-10-15 15:50:30 -04:00
Barış Soner Uşaklı
5e2caf19f5 refactor: use single function for api code 2020-10-15 12:12:01 -04:00
Barış Soner Uşaklı
25e4a09816 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-10-15 11:10:07 -04:00
Barış Soner Uşaklı
4418ff0716 fix: #8768 2020-10-15 11:09:57 -04:00
Julian Lam
cc6e995ee2 fix: api bug where user profile editing continued even if not allowed 2020-10-15 10:23:57 -04:00
Barış Soner Uşaklı
205e46647c Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-10-14 23:39:19 -04:00
Barış Soner Uşaklı
43afe7ffab refactor: async/await src/user/approval 2020-10-14 23:38:16 -04:00
renovate[bot]
3b88545b03 fix(deps): update dependency benchpressjs to v2.0.8 (#8767)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-14 23:37:44 -04:00
Barış Soner Uşaklı
bae0f343e1 fix: module build 2020-10-14 23:32:30 -04:00
Barış Soner Uşaklı
3881ac309f refactor: async/await install/web.js 2020-10-14 23:20:45 -04:00
Barış Soner Uşaklı
1fd2eba6f2 refactor: async/await
src/cli/manage.js
src/meta/build.js
src/meta/css.js
src/meta/js.js
2020-10-14 22:49:39 -04:00
Barış Soner Uşaklı
b295d15eae fix: tests 2020-10-14 20:02:32 -04:00
Barış Soner Uşaklı
d89477cad0 refactor: use app.render 2020-10-14 19:18:07 -04:00
renovate[bot]
42aed15b96 fix(deps): update dependency sharp to v0.26.2 (#8765)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-14 18:57:17 -04:00
Julian Lam
9dd3cc0483 feat: allow plugins to define api routes
via new plugin hook static:api.routes
2020-10-14 17:44:27 -04:00
Julian Lam
a4ba23899e feat: require https if nodebb is configured with https url 2020-10-14 14:28:04 -04:00
Julian Lam
20bb9c7ec8 fix: csrf token only on non-GET routes 2020-10-14 14:02:03 -04:00
Barış Soner Uşaklı
3326d80c11 feat: add nyc config 2020-10-14 12:27:17 -04:00
Barış Soner Uşaklı
3673accdb8 refactor: api module
only return promise if callback is undefined
dont append baseUrl if url already starts with api
correctly handle writeapi readapi response for data/error
remove unused onError
dont append empty ? to url for get routes
2020-10-14 11:05:50 -04:00
Julian Lam
a784d10fff refactor: api module returns promise, error-first cb if cb passed in
no more separate onSuccess onError callbacks

/cc @baris
2020-10-14 10:02:02 -04:00
Misty (Bot)
d52992de1b Latest translations and fallbacks 2020-10-14 09:09:02 +00:00
Barış Soner Uşaklı
4b9444f1a5 fix: avatar selector 2020-10-14 00:12:09 -04:00
Barış Soner Uşaklı
e6ea71c95a fix: test 2020-10-13 23:40:04 -04:00
Barış Soner Uşaklı
8c6a559188 fix: timestamp 2020-10-13 23:29:19 -04:00
Barış Soner Uşaklı
331d236f6e fix: #8763 2020-10-13 23:19:07 -04:00
Barış Soner Uşaklı
a481024d27 fix: lastonline again 2020-10-13 23:02:49 -04:00
Barış Soner Uşaklı
71d82ec8e0 fix: caret 2020-10-13 22:59:52 -04:00
Barış Soner Uşaklı
b6d5888334 Merge branch 'admin/users' 2020-10-13 22:58:04 -04:00
Barış Soner Uşaklı
97628e2ff2 fix: lastonline values 2020-10-13 22:57:18 -04:00
renovate[bot]
25c447df05 fix(deps): update dependency nodebb-rewards-essentials to v0.1.4 (#8764)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-13 22:46:47 -04:00
Barış Soner Uşaklı
872bacf1c4 Admin/users (#8762)
* feat: wip admin/users

* feat: more work

* feat: more fixes

* feat: #8662, verified/unverified user groups

* feat: add filter

* feat: change user search to use filters array

* refactor: remove unused search call

* fix: tests

* fix: cant join system groups

* fix: upgrade script
2020-10-13 22:42:50 -04:00
Barış Soner Uşaklı
1289c10568 fix: upgrade script 2020-10-13 22:12:28 -04:00
Barış Soner Uşaklı
59bbede8c7 fix: cant join system groups 2020-10-13 22:08:09 -04:00
Barış Soner Uşaklı
a411df1321 fix: tests 2020-10-13 21:04:07 -04:00
Barış Soner Uşaklı
dd7424e5b5 refactor: remove unused search call 2020-10-13 20:44:07 -04:00
Barış Soner Uşaklı
2d6ea6e505 Merge branch 'master' into admin/users 2020-10-13 20:43:48 -04:00
Barış Soner Uşaklı
a2edb86dfb feat: change user search to use filters array 2020-10-13 20:37:38 -04:00
Barış Soner Uşaklı
959314c921 feat: add filter 2020-10-13 17:07:26 -04:00
Julian Lam
bfaeb27c11 Merge branch 'write-api-csrf' 2020-10-13 17:01:51 -04:00
Julian Lam
1e07886f30 feat: require csrf token if not using bearer token 2020-10-13 16:58:44 -04:00
psychobunny
0e0f1506d2 fix: update server param to /api/v3 2020-10-13 15:06:42 -04:00
Barış Soner Uşaklı
933989e013 Merge branch 'master' into admin/users 2020-10-13 14:56:06 -04:00
Barış Soner Uşaklı
682e926c6b feat: #8662, verified/unverified user groups 2020-10-13 14:55:56 -04:00
psychobunny
c68653d035 fix: typo 2020-10-13 14:43:20 -04:00
psychobunny
7aa4d104af fix: testing openapi write tests 2020-10-13 14:43:20 -04:00
psychobunny
16873800a6 fix(openapi): users.yaml 2020-10-13 14:00:54 -04:00
psychobunny
7b2301ff9c fix: enable tests 2020-10-13 13:10:49 -04:00
psychobunny
54e6003a7c fix: test fix for write API
need to rewrite users.yaml to fix properly
2020-10-13 13:07:54 -04:00
Renovate Bot
dcf7235466 fix(deps): update dependency nodebb-theme-persona to v10.2.60 2020-10-13 12:11:22 -04:00
Julian Lam
30b3fedca4 fix: password reset to invalidate all existing reset tokens for that uid 2020-10-13 11:48:32 -04:00
Barış Soner Uşaklı
700e1e4340 feat: more fixes 2020-10-13 01:49:12 -04:00
Barış Soner Uşaklı
40a05b70ef feat: more work 2020-10-13 01:29:21 -04:00
Barış Soner Uşaklı
b038ac07d8 feat: wip admin/users 2020-10-13 00:29:38 -04:00
Barış Soner Uşaklı
ba2e1c4c7e fix: show more lines 2020-10-12 20:42:08 -04:00
Barış Soner Uşaklı
7beaf49028 feat: set unread false for guests 2020-10-12 15:16:58 -04:00
renovate[bot]
411fa8bc84 fix(deps): update dependency nodebb-plugin-mentions to v2.13.0 (#8758)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-12 14:42:55 -04:00
Barış Soner Uşaklı
01265d08f3 feat: add stack to deprecate message 2020-10-12 14:33:21 -04:00
Barış Soner Uşaklı
30d6a2b84e fix: #8756, pass missing req to mock 2020-10-12 14:29:25 -04:00
Barış Soner Uşaklı
1ee9384875 fix: #8757, allow all slashes in category route 2020-10-12 14:18:59 -04:00
Misty (Bot)
0a4fd50aac Latest translations and fallbacks 2020-10-12 09:09:31 +00:00
Barış Soner Uşaklı
d76229c061 feat: add checkbox tests 2020-10-12 00:18:34 -04:00
Barış Soner Uşaklı
e92d4719cc feat: add test for serialize/deserialize form 2020-10-12 00:04:20 -04:00
Barış Soner Uşaklı
7db224f689 fix: timeago test for dev/prod 2020-10-11 22:40:28 -04:00
Barış Soner Uşaklı
cecdd2915e fix: timeago test 2020-10-11 22:39:37 -04:00
Barış Soner Uşaklı
ae5fb103ca feat: disable write api tests until fixed 2020-10-11 22:28:07 -04:00
Barış Soner Uşaklı
dc29f4dca2 refactor: switch to using slugify module 2020-10-11 21:49:37 -04:00
Barış Soner Uşaklı
bddfcb5867 feat: #8734, add slugify module, deprecate utils.slugify 2020-10-11 21:25:31 -04:00
Barış Soner Uşaklı
f16c8268cf feat: #8734, move bootstrap-tagsinput to package.json 2020-10-11 19:52:01 -04:00
Barış Soner Uşaklı
eab7489ec5 feat: #8734, move deserialize/serialize to package.json 2020-10-11 19:28:46 -04:00
renovate[bot]
cd34bfb1ed fix(deps): update dependency nodebb-theme-persona to v10.2.59 (#8755)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-11 17:26:57 -04:00
Barış Soner Uşaklı
948f26143c feat: #5964, #8734 remove colorpicker 2020-10-11 16:05:52 -04:00
Barış Soner Uşaklı
c954db84e4 refactor: require style 2020-10-11 10:14:02 -04:00
Barış Soner Uşaklı
931d44b5e2 fix: undefined api require, @julianlam 2020-10-11 10:13:51 -04:00
renovate[bot]
a77ba71e05 fix(deps): update dependency nodebb-theme-persona to v10.2.58 (#8754)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-11 00:40:13 -04:00
Barış Soner Uşaklı
e2d407b769 fix: watch tooltip 2020-10-11 00:38:18 -04:00
Barış Soner Uşaklı
aedd28e0a6 fix: module name 2020-10-10 23:45:58 -04:00
Barış Soner Uşaklı
8f436eb881 fix: pin sortablejs 2020-10-10 23:41:51 -04:00
Barış Soner Uşaklı
3bbb4e269d Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-10-10 23:35:02 -04:00
Barış Soner Uşaklı
c721625a95 feat: #8734 remove unused files 2020-10-10 23:34:56 -04:00
Barış Soner Uşaklı
cc705e5e2b feat: #8734, move sortable to package.json 2020-10-10 23:24:13 -04:00
renovate[bot]
0399ffaf5f fix(deps): update dependency nodebb-plugin-composer-default to v6.4.4 (#8752)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-10 23:09:58 -04:00
renovate[bot]
f8e2324ce7 fix(deps): update dependency benchpressjs to v2.0.7 (#8733)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-10 23:07:58 -04:00
Barış Soner Uşaklı
75c9668656 fix: admin jquerui requires 2020-10-10 23:01:32 -04:00
Barış Soner Uşaklı
8c019a6a3b fix: timeago locale switch 2020-10-10 22:26:48 -04:00
Barış Soner Uşaklı
300a87559f feat: #8734, move bootbox to package.json 2020-10-10 22:15:34 -04:00
Barış Soner Uşaklı
420a312982 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-10-10 21:55:03 -04:00
Barış Soner Uşaklı
3b231360d3 feat: load jquery-form before using 2020-10-10 21:54:32 -04:00
Barış Soner Uşaklı
fda2aedfd8 feat: #8734, jquery-ui, jquery-form, timeago (#8748)
* feat: #8734, jquery-ui, jquery-form, timeago

get rid of forum/footer.js move that code to app.js & wait for app to load before calling ajaxify.end
make sockets.js a requirejs module
move jquery-ui to node_modules and load via requirejs
move jquery-form to node_modules and load via requirejs
move timeago to node_modules and load via requirejs
only include the css for needed jquery-ui widgets

* feat: keep socket/io global for backwards compat

* refactor: move socket listener to chat
2020-10-10 21:47:27 -04:00
renovate[bot]
666064bf46 fix(deps): update dependency nodebb-plugin-composer-default to v6.4.3 (#8750)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-10 21:46:42 -04:00
Misty (Bot)
ea830871c2 Latest translations and fallbacks 2020-10-10 09:06:14 +00:00
renovate[bot]
1c94220b45 fix(deps): update dependency nodebb-theme-persona to v10.2.57 (#8749)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-10 00:56:55 -04:00
Julian Lam
87e3f26fe4 feat(openapi): schema validation for write api definitions file 2020-10-09 16:38:43 -04:00
Renovate Bot
414fe19c6e fix(deps): update dependency nodebb-theme-persona to v10.2.56 2020-10-09 15:51:46 -04:00
Renovate Bot
1bc99411b5 fix(deps): update dependency nodebb-theme-slick to v1.2.39 2020-10-09 15:50:11 -04:00
Barış Soner Uşaklı
59311a63a0 feat: remove unused textcomplete file 2020-10-09 14:49:59 -04:00
Julian Lam
944a7e0e28 fix(deps): bump vanilla/persona 2020-10-09 14:25:40 -04:00
Barış Soner Uşaklı
ae3a231fce feat: #8734, remove semver.browser
use compare-versions as a module
2020-10-09 14:10:38 -04:00
renovate[bot]
43df4b8e15 fix(deps): update dependency nodebb-theme-lavender to v5.0.14 (#8739)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-09 12:57:09 -04:00
renovate[bot]
ba62ebb620 fix(deps): update dependency socket.io-client to v2.3.1 (#8700)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-09 12:56:39 -04:00
psychobunny
9a5b8a798a fix: category RSS feed was displaying deleted topics 2020-10-09 12:54:02 -04:00
renovate[bot]
45aceb26a5 fix(deps): update dependency nodebb-theme-slick to v1.2.37 (#8741)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-09 12:33:35 -04:00
renovate[bot]
0c7af5029b fix(deps): update dependency nodebb-theme-vanilla to v11.2.21 (#8740)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-09 12:26:30 -04:00
renovate[bot]
4207dde4c2 fix(deps): update dependency nodebb-theme-persona to v10.2.54 (#8736)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-09 12:22:27 -04:00
Barış Soner Uşaklı
1531536d46 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-10-09 12:20:24 -04:00
Barış Soner Uşaklı
2c1897b373 feat: #8734, move slideout to package.json 2020-10-09 12:20:09 -04:00
psychobunny
dbb4cfe9d6 style(openapi): break write API routes into individual files 2020-10-09 12:16:25 -04:00
psychobunny
ffac3c7902 style(openapi): move schemas and responses out of write.yaml 2020-10-09 12:16:25 -04:00
Barış Soner Uşaklı
9c157de05d feat: #8734, move tinycon to package.json 2020-10-09 12:01:51 -04:00
Barış Soner Uşaklı
45e8a4d588 fix: #8734 make nprogress module 2020-10-09 11:48:52 -04:00
Barış Soner Uşaklı
43589a744d feat: #8734, move visibilityjs to package.json 2020-10-09 11:35:52 -04:00
Julian Lam
8af30a51b5 fix: regression caused by 7545951725
/cc @psychobunny
2020-10-09 10:58:42 -04:00
Barış Soner Uşaklı
a46cbb623d feat: #8734, move nprogress to package.json 2020-10-09 10:53:07 -04:00
Barış Soner Uşaklı
e02c57d963 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-10-09 10:42:22 -04:00
Barış Soner Uşaklı
aa08f8826c feat: #8734 move r.js to package.json 2020-10-09 10:40:46 -04:00
renovate[bot]
70c085ba5d fix(deps): update dependency nodebb-theme-persona to v10.2.52 (#8735)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-09 10:22:26 -04:00
Misty (Bot)
d5d05e17af Latest translations and fallbacks 2020-10-09 09:11:15 +00:00
Barış Soner Uşaklı
12c8b1c2bc fix: dont allow adding duplicates to privileges page
hightlight uid/group if it is added again from autocomplete
2020-10-08 18:32:36 -04:00
Barış Soner Uşaklı
f259063f08 fix: #8728, dont add admins to table 2020-10-08 18:08:04 -04:00
cryptoethic
b3ed26ac2c feat: revoke user sessions above threshold (#8731)
* feat: revoke user sessions above threshold

* fix: removed translations from en-US

* fix: defined default maxUserSessions in install\data\defaults.json
2020-10-08 17:33:18 -04:00
Julian Lam
4a63c20a72 chore: some optimizations for codeclimate 2020-10-08 15:58:42 -04:00
Julian Lam
ebcb664b41 fix(writeapi): tests 2020-10-08 15:33:10 -04:00
Julian Lam
229eb2c2d8 fix(writeapi): tests 2020-10-08 15:33:10 -04:00
Julian Lam
b8703ba9f6 fix(writeapi): tests 2020-10-08 15:33:10 -04:00
Julian Lam
8ecef7b891 refactor: middleware.assert.* 2020-10-08 15:33:10 -04:00
Julian Lam
41f55b7a5a fix(writeapi): tests 2020-10-08 15:33:10 -04:00
Julian Lam
cfee431c53 feat(writeapi): commented-out stub code for file upload 2020-10-08 15:33:10 -04:00
Julian Lam
f870721fca feat(writeapi): file deletion route 2020-10-08 15:33:10 -04:00
Julian Lam
a55b381791 feat(writeapi): admin settings update route 2020-10-08 15:33:10 -04:00
Julian Lam
2ec838fc59 feat(writeapi): token generation/delete routes, ACP updates 2020-10-08 15:33:10 -04:00
Julian Lam
2928b9b87a style: updates to openapi files 2020-10-08 15:33:10 -04:00
Julian Lam
c7d15dfa94 feat: filter:settings.get plugin hook 2020-10-08 15:33:10 -04:00
Julian Lam
3ea1aa4780 refactor(writeapi): update route prefix to api/v3, default error option 2020-10-08 15:33:10 -04:00
Julian Lam
f67824719c chore(writeapi): cleanup 2020-10-08 15:33:10 -04:00
Julian Lam
0973feea16 feat(writeapi): post bookmarking 2020-10-08 15:33:10 -04:00
Julian Lam
9942c248eb feat(writeapi): post voting 2020-10-08 15:33:10 -04:00
Julian Lam
5e2a3ea6ec refactor(writeapi): post.tools.purge no longer a method 2020-10-08 15:33:10 -04:00
Julian Lam
414169fdfa feat(writeapi): post delete/restore/purge 2020-10-08 15:33:10 -04:00
Julian Lam
f66c2fb60f feat(writeapi): post editing 2020-10-08 15:33:10 -04:00
Julian Lam
1605e5e443 feat(writeapi): topic tags 2020-10-08 15:33:10 -04:00
Julian Lam
9be5629458 feat(writeapi): topic follow/ignore 2020-10-08 15:33:10 -04:00
Julian Lam
da25ce4d09 feat: topic delete/restore/purge/(un)pin/(un)lock 2020-10-08 15:33:10 -04:00
Julian Lam
675a62dadd fix: remove debug log 2020-10-08 15:33:10 -04:00
Julian Lam
5fc7e7bfd0 feat: add new api page to ACP menu 2020-10-08 15:33:10 -04:00
Julian Lam
49652e6f1b feat: management of API tokens via ACP 2020-10-08 15:33:10 -04:00
Julian Lam
adcadbb2b5 fix: tests 2020-10-08 15:33:10 -04:00
Julian Lam
cb9369f10e fix: bad merge w/ category ACP page 2020-10-08 15:33:10 -04:00
Julian Lam
a905d7f022 refactor: rewrite modules/api.js in AMD style 2020-10-08 15:33:10 -04:00
Julian Lam
8e89f34dbf fix: bad logic in group assertion middleware 2020-10-08 15:33:10 -04:00
Julian Lam
8e7baac6ef fix(writeapi): calls to profile editing routes 200 even if user DNE 2020-10-08 15:33:10 -04:00
Julian Lam
7757f965eb fix: errors thrown if no password sent in to profile edit route 2020-10-08 15:33:10 -04:00
Julian Lam
549ca11056 fix: bug where middlewares seemingly ran in parallel 2020-10-08 15:33:10 -04:00
Julian Lam
6096f74ab2 feat(writeapi): adding missing files 2020-10-08 15:33:10 -04:00
Julian Lam
4c833d0bf0 feat(writeapi): topic posting and replying 2020-10-08 15:33:10 -04:00
Julian Lam
40dc1c38d3 feat(writeapi): added DELETE /groups/:slug/membership/:uid route 2020-10-08 15:33:10 -04:00
Julian Lam
68ecf41ecf fix(writeapi): client-side group join API call 2020-10-08 15:33:10 -04:00
Julian Lam
e1c40b2792 style: allowing some es6 features client-side 2020-10-08 15:33:10 -04:00
Julian Lam
952dc211dd feat(writeapi): added group joining and deletion 2020-10-08 15:33:10 -04:00
Julian Lam
d044c3223e feat(writeapi): abstracted ajax calls out to new api module 2020-10-08 15:33:10 -04:00
Julian Lam
ba345e53e8 feat(writeapi): added POST /api/v1/groups 2020-10-08 15:33:10 -04:00
Julian Lam
49994f3a15 fix(openapi): moved write-api to public/openapi 2020-10-08 15:33:10 -04:00
Julian Lam
3072de4812 feat: added DELETE /api/v1/categories/:cid route 2020-10-08 15:33:10 -04:00
Julian Lam
e942ad8101 feat: added PUT /api/v1/categories/:cid route
Deprecated admin.categories.update socket call
Showing stack trace in console for errors, when in development mode
2020-10-08 15:33:10 -04:00
Julian Lam
dc666fd8a9 feat: added POST /api/v1/categories route 2020-10-08 15:33:10 -04:00
Julian Lam
a5af2dc819 feat: added PUT/DELETE /api/v1/users/:uid/ban routes 2020-10-08 15:33:10 -04:00
Julian Lam
db5c5b2cfb fix: follow route to match spec 2020-10-08 15:33:10 -04:00
Julian Lam
b5bbcbaeaa feat: added POST and DELETE /api/v1/users/:uid/follow routes 2020-10-08 15:33:10 -04:00
Julian Lam
7aed174ebc feat: added PUT /api/v1/users/:uid/password route 2020-10-08 15:33:10 -04:00
Julian Lam
af2e424ffe fix: missing one property in openapi doc 2020-10-08 15:33:10 -04:00
Julian Lam
a1ddc210b2 feat: added DELETE /api/v1/users/:uid and DELETE /api/v1/users 2020-10-08 15:33:10 -04:00
Julian Lam
d15d9e4492 fix(refactor): patching helpers.tryRoute for API routes, some re-org
Thanks @barisusakli for the tip
2020-10-08 15:33:10 -04:00
Julian Lam
d8879d21db fix: error handling with POST /api/v1/users 2020-10-08 15:33:10 -04:00
Julian Lam
58043e07ba fix: use POST call for user creation in ACP
- Not entirely sure about error handling yet, more research needed
- Also added socket method deprecation utility method
2020-10-08 15:33:10 -04:00
Julian Lam
bba2a4638c fix: user creation POST route returns user data, updated openapi spec 2020-10-08 15:33:10 -04:00
Julian Lam
91b79f1793 feat: added openapi.yaml file for BEST documentation 2020-10-08 15:33:10 -04:00
Julian Lam
7b6d43bcc8 feat: added checkRequired middleware for API calls 2020-10-08 15:33:10 -04:00
Julian Lam
fd67355b03 fix(writeapi): authenticate middleware logic to work better with await 2020-10-08 15:33:10 -04:00
Julian Lam
f6433ef2c5 fix(refactor): merging write-api auth middlewares with core middlewares 2020-10-08 15:33:10 -04:00
Julian Lam
ec5c48b188 feat: migrating write-api skeleton into core 2020-10-08 15:33:10 -04:00
Barış Soner Uşaklı
dc152a558c Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-10-08 09:55:25 -04:00
Barış Soner Uşaklı
7138d433b1 fix: selector, so it doesnt effect suggested topics 2020-10-08 09:55:15 -04:00
Misty (Bot)
af90b99706 Latest translations and fallbacks 2020-10-08 09:10:35 +00:00
renovate[bot]
bae2eadae9 fix(deps): update dependency nodebb-theme-persona to v10.2.51 (#8729)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-07 18:34:39 -04:00
Barış Soner Uşaklı
264818e517 fix: use proper api url
no need to parse all tags since https://api.github.com/repos/NodeBB/NodeBB/releases/latest gives the latest non-prerelease, non-draft releases
2020-10-07 18:21:23 -04:00
Barış Soner Uşaklı
8eb62e2210 fix: tests, get latest release tag recursively 2020-10-07 18:14:45 -04:00
renovate[bot]
804729fcec fix(deps): update dependency nodebb-theme-persona to v10.2.50 (#8727)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-07 17:50:03 -04:00
Julian Lam
fc603a5368 fix: use app.parseAndTranslate instead of benchpress.parse 2020-10-07 12:23:53 -04:00
psychobunny
20e0cc5cbb fix: sorted list delete button 2020-10-07 11:59:45 -04:00
psychobunny
cdb794888d style: linting 2020-10-07 11:47:44 -04:00
Misty (Bot)
174e239332 Latest translations and fallbacks 2020-10-07 09:09:45 +00:00
Barış Soner Uşaklı
ed092bf6b5 refactor: remove posts.tools.purge
moved the check to socketPosts.purge
2020-10-06 14:03:59 -04:00
Julian Lam
dde5b6b814 fix: unable to register async method as response hook listener
Also fixes #8723, /api/config now runs middleware.authenticateOrGuest
2020-10-06 09:32:13 -04:00
renovate[bot]
b01bc2ae0f fix(deps): update dependency nodebb-theme-persona to v10.2.49 (#8722)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-05 22:54:01 -04:00
renovate[bot]
0170261369 fix(deps): update dependency nodebb-theme-persona to v10.2.48 (#8721)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-05 22:10:20 -04:00
renovate[bot]
04b1daac16 fix(deps): update dependency nodebb-theme-persona to v10.2.47 (#8720)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-05 14:42:15 -04:00
Barış Soner Uşaklı
b955fd363d fix: dont allow sorting pinned topics on recent 2020-10-05 14:41:24 -04:00
Julian Lam
3c7f79cb8a fix: use console.info instead of console.log for sw registration 2020-10-05 13:45:09 -04:00
renovate[bot]
ba906d7d02 fix(deps): update dependency nodebb-theme-persona to v10.2.46 (#8719)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-05 13:32:39 -04:00
renovate[bot]
229421edbe fix(deps): update dependency nodebb-plugin-composer-default to v6.4.2 (#8718)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-05 13:15:10 -04:00
Barış Soner Uşaklı
1542a5d7e5 feat: remove post/header selector 2020-10-05 13:01:00 -04:00
Misty (Bot)
63696c400e chore: update changelog for v1.15.0-beta.29 2020-10-05 14:34:33 +00:00
Misty (Bot)
fca176d2bd chore: incrementing version number - v1.15.0-beta.29 2020-10-05 14:34:33 +00:00
Barış Soner Uşaklı
7cd83b9a6a fix: spec 2020-10-04 22:32:06 -04:00
Barış Soner Uşaklı
6924eb6c52 fix: spec 2020-10-04 22:15:56 -04:00
Barış Soner Uşaklı
cb2f6f7c4a fix: test 2020-10-04 22:11:41 -04:00
Barış Soner Uşaklı
7bf6d3b8eb fix: dont let mods load postqueue for a cid they are not a mod of 2020-10-04 22:10:24 -04:00
Barış Soner Uşaklı
2ea9768e00 fix: show disabled categories in admin&mods 2020-10-04 21:52:57 -04:00
Misty (Bot)
d93315e3ee Latest translations and fallbacks 2020-10-04 09:06:59 +00:00
renovate[bot]
b3a24f7410 fix(deps): update dependency nodebb-plugin-composer-default to v6.4.0 (#8716)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-03 22:04:26 -04:00
psychobunny
60afb110ef fix: prevent mutiple highlighted rows on category/topic pages 2020-10-03 17:12:42 -04:00
Misty (Bot)
6ee0cad289 Latest translations and fallbacks 2020-10-03 09:06:55 +00:00
Barış Soner Uşaklı
fbd85680fb fix: spec 2020-10-02 16:57:26 -04:00
renovate[bot]
c95a38987f fix(deps): update dependency nodebb-plugin-mentions to v2.11.0 (#8714)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-02 16:37:26 -04:00
renovate[bot]
fc2795d317 fix(deps): update dependency nodebb-theme-slick to v1.2.36 (#8713)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-02 16:37:15 -04:00
renovate[bot]
2b0deeb77a fix(deps): update dependency nodebb-theme-vanilla to v11.2.20 (#8715)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-02 16:35:38 -04:00
Barış Soner Uşaklı
5d9a868142 feat: category filter on post queue (#8710)
* feat: category filter on post queue

category filter module

* feat: add spec
2020-10-02 16:35:20 -04:00
renovate[bot]
f14b49457c fix(deps): update dependency nodebb-theme-persona to v10.2.45 (#8711)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-02 16:28:19 -04:00
Julian Lam
f1de084da3 fix: do not show TOC if fewer than 2 headings 2020-10-02 15:51:04 -04:00
psychobunny
caa8c00f89 fix: params cached in autocomplete module 2020-10-02 13:55:11 -04:00
psychobunny
7545951725 chore: refactor src/emailer.js 2020-10-02 11:01:39 -04:00
Misty (Bot)
c65ea5bfa6 Latest translations and fallbacks 2020-10-02 09:10:49 +00:00
Peter Jaszkowiak
1aa336d837 refactor: shared constants (#8707)
define plugin name and theme name regexs in one location for consistency

define various shared paths in one place for consistency
2020-10-01 23:02:44 -04:00
Barış Soner Uşaklı
e60357d20d feat: #6594, add top/popular sections to digest email (#8709) 2020-10-01 22:07:33 -04:00
Peter Jaszkowiak
55d5cccf2e Document deprecations and remove old ones (#8706)
* chore: document deprecation removal versions

* chore: remove deprecations 2+ versions old
2020-10-01 12:25:03 -04:00
Peter Jaszkowiak
017af63fb0 fix: #8686, deprecate plugin.json/library (#8705)
and also fix deprecated hooks with no alternative
2020-10-01 11:45:27 -04:00
Misty (Bot)
39b51707ce Latest translations and fallbacks 2020-10-01 09:09:51 +00:00
Julian Lam
d3951ebeaf fix: updating minimum node version in readme 2020-09-30 14:56:30 -04:00
psychobunny
5441651ea7 fix: update "install plugins" link to go to the download tab 2020-09-30 13:05:17 -04:00
renovate[bot]
1d0eaafb5f fix(deps): update dependency nodebb-theme-persona to v10.2.43 (#8701)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-30 13:00:37 -04:00
Barış Soner Uşaklı
72e82c4aca Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-09-30 12:57:30 -04:00
psychobunny
1761e13dbd feat: dedicated sorting buttons for plugin ordering in ACP 2020-09-30 12:49:34 -04:00
Barış Soner Uşaklı
c33dc90562 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-09-30 12:41:33 -04:00
Barış Soner Uşaklı
54737d3076 feat: #8233, search sub categories 2020-09-30 12:41:23 -04:00
psychobunny
c56236f081 fix: overflow on submitPluginUsage field 2020-09-30 12:30:23 -04:00
Julian Lam
38f88fc563 fix: #8699 tags route is case sensitive, though tags are not 2020-09-30 11:57:59 -04:00
Renovate Bot
2a1da61cd9 fix(deps): update dependency nodebb-theme-persona to v10.2.42 2020-09-30 10:09:27 -04:00
psychobunny
f4d76f1edd feat: move service-worker.js into its own file 2020-09-30 10:00:28 -04:00
Julian Lam
8437130ec2 fix: early button/anchor clicks do nothing
This reverts commit a395324b52, and
fixes the issue where the ACP became unusable because of the earlier
variant of this code.

Thanks @psychobunny for spotting.
2020-09-30 09:18:46 -04:00
Misty (Bot)
f693ce97bf Latest translations and fallbacks 2020-09-30 09:09:59 +00:00
Misty (Bot)
fd975a6694 chore: update changelog for v1.15.0-beta.28 2020-09-29 23:16:27 +00:00
Misty (Bot)
57f83162f9 chore: incrementing version number - v1.15.0-beta.28 2020-09-29 23:16:26 +00:00
Barış Soner Uşaklı
a395324b52 Revert "fix: early button/anchor clicks do nothing"
This reverts commit 966d3f7654.
2020-09-29 18:57:16 -04:00
psychobunny
14ba1a6dbb feat: analytics:maxCache setting in ACP
I removed a TODO from core. Watch your head as flying pigs are abound
2020-09-29 17:31:08 -04:00
Misty (Bot)
7067382494 chore: update changelog for v1.15.0-beta.27 2020-09-29 21:02:31 +00:00
Misty (Bot)
78fad24068 chore: incrementing version number - v1.15.0-beta.27 2020-09-29 21:02:30 +00:00
psychobunny
799dbec5af Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-09-29 15:17:34 -04:00
psychobunny
ffbf2d6d63 feat(openapi): refactor into indiv. files to match API & tpl routing 2020-09-29 15:17:09 -04:00
psychobunny
c7d27731b3 Revert "feat(openapi): refactor into indiv. files to match API & tpl routing"
This reverts commit 84f5e4cf3d.
2020-09-29 15:13:14 -04:00
renovate[bot]
9bdef70786 fix(deps): update dependency nodebb-theme-vanilla to v11.2.18 (#8697)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-29 14:50:19 -04:00
renovate[bot]
3e2816ae31 fix(deps): update dependency nodebb-theme-slick to v1.2.34 (#8696)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-29 14:46:27 -04:00
Julian Lam
f17d42ede6 fix(deps): bump persona 2020-09-29 14:42:24 -04:00
Julian Lam
966d3f7654 fix: early button/anchor clicks do nothing
This solves a small UX issue where clicking on a button (or anchor
that is not meant to be ajaxified) before ajaxify.end is called
leads to nothing happening because the appropriate click handler
has not been added.

This code will intercept premature clicks, wait until ajaxify.end
is called, and then re-send the click.
2020-09-29 14:40:38 -04:00
Barış Soner Uşaklı
ea0f3262f4 feat: #8695, allow sort for guests 2020-09-29 14:28:10 -04:00
Julian Lam
7f58e3ab09 fix: error on reset -p if plugin is not active
No need to throw error if plugin was not active, just silently OK
2020-09-29 14:01:30 -04:00
Renovate Bot
1e5621c049 fix(deps): update dependency sanitize-html to v2 2020-09-29 13:34:36 -04:00
psychobunny
84f5e4cf3d feat(openapi): refactor into indiv. files to match API & tpl routing 2020-09-29 11:49:17 -04:00
psychobunny
9c5b690799 feat: up recommended size to 512x512 + ACP labels for PWA 2020-09-29 08:30:34 -04:00
psychobunny
6478b32d0e feat: upload maskable icon for PWA 2020-09-29 07:49:21 -04:00
psychobunny
bf3c1c0878 fix: manifest test + remove duplicate test 2020-09-28 20:55:53 -04:00
Julian Lam
3fbddbe2ca fix(openapi): test for new trending plugins in ACP 2020-09-28 19:59:04 -04:00
Julian Lam
b12e8d6312 feat: show top 5 trending plugins in new tab in Extend > Plugins 2020-09-28 19:53:54 -04:00
Julian Lam
07af621381 fix: typo in getCompatiblePlugins 2020-09-28 19:53:54 -04:00
psychobunny
aa268d5eeb feat: register service worker, #8126 2020-09-28 17:46:43 -04:00
psychobunny
54705cc432 fix: typo 2020-09-28 17:45:30 -04:00
psychobunny
5172d73137 feat: add theme-color meta tag for browser address bar 2020-09-28 17:32:37 -04:00
psychobunny
f69697b3fa feat: basic service worker, minimum requirement for for a2hs; see #8126 2020-09-28 17:31:58 -04:00
psychobunny
31528a5202 fix: manifest - use absolute URL for start_url 2020-09-28 17:06:25 -04:00
psychobunny
46800b6639 fix: prefer webmanifest extension over json
https://w3c.github.io/manifest/#media-type-registration
2020-09-28 16:10:41 -04:00
psychobunny
4c1e717b2b fix: update notification delay ACP help text 2020-09-28 11:24:12 -04:00
psychobunny
4fc84e9f5c chore: lint notifications.js 2020-09-28 11:18:43 -04:00
psychobunny
5b427a0c3b feat: option in ACP to configure notification/email delay for chats 2020-09-28 11:15:45 -04:00
Renovate Bot
aacf8f22f5 chore(deps): update dependency eslint-plugin-import to v2.22.1 2020-09-28 10:35:51 -04:00
Misty (Bot)
f66cb05fcf Latest translations and fallbacks 2020-09-28 09:09:30 +00:00
Timothy Fike
f85fe7faff don't invite an already invited email (#8688)
* don't invite an already invited email

* add email-invited translation string
2020-09-27 22:11:25 -04:00
Timothy Fike
5078a8df25 ttl/pttl (#8689) 2020-09-27 22:10:46 -04:00
renovate[bot]
119ab71950 chore(deps): update dependency eslint to v7.10.0 (#8687)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-27 13:36:55 -04:00
Misty (Bot)
852ec92e93 Latest translations and fallbacks 2020-09-27 09:06:11 +00:00
Barış Soner Uşaklı
16039b1117 refactor: post edit 2020-09-25 15:54:55 -04:00
renovate[bot]
d0010c405e fix(deps): update dependency nodebb-theme-persona to v10.2.39 (#8684)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-25 15:21:52 -04:00
renovate[bot]
bb04f149f3 fix(deps): update dependency nodebb-theme-persona to v10.2.38 (#8683)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-25 14:58:26 -04:00
psychobunny
8dc11b3586 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-09-25 14:47:50 -04:00
psychobunny
b6f2f0e5d0 fix: #8681 change owner modal's search should check if user is banned 2020-09-25 14:47:22 -04:00
psychobunny
611f3c6155 feat: allow autocomplete to pass optional params to user.search 2020-09-25 14:46:25 -04:00
Misty (Bot)
5e01d28898 chore: update changelog for v1.15.0-beta.26 2020-09-25 18:42:10 +00:00
Misty (Bot)
62c440957e chore: incrementing version number - v1.15.0-beta.26 2020-09-25 18:42:10 +00:00
Julian Lam
f8032cd09b fix: add img-responsive to post queue post items 2020-09-25 12:22:58 -04:00
Misty (Bot)
7fa61fafbf Latest translations and fallbacks 2020-09-25 09:08:39 +00:00
Barış Soner Uşaklı
ff8a833a6d chore: up persona 2020-09-24 22:33:18 -04:00
Renovate Bot
30aa7e83a1 fix(deps): update dependency json2csv to v5.0.3 2020-09-24 20:19:23 -04:00
renovate[bot]
07172b6fe8 fix(deps): update dependency nodebb-theme-persona to v10.2.36 (#8680)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-24 19:19:17 -04:00
renovate[bot]
68a5e7e319 fix(deps): update dependency nodebb-theme-persona to v10.2.35 (#8679)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-24 18:32:32 -04:00
Renovate Bot
5a2adb4254 fix(deps): update dependency json2csv to v5.0.2 2020-09-24 16:43:04 -04:00
Julian Lam
5ddf70221c feat: upon plugin installation via ACP, check against nbbpm first 2020-09-24 15:06:47 -04:00
Misty (Bot)
8b855720f8 Latest translations and fallbacks 2020-09-24 09:10:01 +00:00
Barış Soner Uşaklı
342de83225 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-09-23 19:41:43 -04:00
Barış Soner Uşaklı
8e88ccd6a6 feat: up benchpress 2020-09-23 19:41:35 -04:00
psychobunny
4a0f54ae17 chore: up persona 2020-09-23 19:29:24 -04:00
Misty (Bot)
240a04b406 chore: update changelog for v1.15.0-beta.25 2020-09-23 17:27:28 +00:00
Misty (Bot)
1124d4ee41 chore: incrementing version number - v1.15.0-beta.25 2020-09-23 17:27:28 +00:00
psychobunny
2ad3305879 fix: language key in reset password 2020-09-23 11:46:02 -04:00
Julian Lam
0fffe28941 fix: issue where the last flag filter could not be removed 2020-09-23 10:24:06 -04:00
renovate[bot]
abe8377387 fix(deps): update dependency nodebb-theme-persona to v10.2.33 (#8675)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-23 08:30:48 -04:00
psychobunny
2cd5f959a0 feat: add row highlighting for popular and unread 2020-09-23 08:10:08 -04:00
psychobunny
48a8ec4ab2 feat: return to previous page and/or category after marking topic unread
... also return to category if pagination is active and previous page was another page in the thread
2020-09-23 07:57:45 -04:00
Misty (Bot)
6ebd2c80e7 Latest translations and fallbacks 2020-09-23 09:10:07 +00:00
Barış Soner Uşaklı
bd9b6c99e6 feat: add missing lang key 2020-09-23 01:04:58 -04:00
Barış Soner Uşaklı
032e600120 chore: up persona 2020-09-23 01:02:17 -04:00
Barış Soner Uşaklı
83d4e7efaa feat: add number of posters to topic 2020-09-23 00:59:42 -04:00
renovate[bot]
80dbf97a2f fix(deps): update dependency nodebb-theme-persona to v10.2.31 (#8673)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-22 22:45:05 -04:00
Misty (Bot)
72ab5ba1da chore: update changelog for v1.15.0-beta.24 2020-09-23 01:38:37 +00:00
Misty (Bot)
23ba071de7 chore: incrementing version number - v1.15.0-beta.24 2020-09-23 01:38:36 +00:00
Barış Soner Uşaklı
f2f3ba49b6 feat: hightlight matches in quick search
fix title hightlights
2020-09-22 21:20:02 -04:00
Barış Soner Uşaklı
e09f00ba0a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-09-22 20:52:08 -04:00
Barış Soner Uşaklı
f8ef380b34 fix: multiword match highlight 2020-09-22 20:51:26 -04:00
renovate[bot]
7ecac97a95 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.57 (#8672)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-22 20:26:57 -04:00
renovate[bot]
c8a75631ac fix(deps): update dependency nodebb-theme-persona to v10.2.30 (#8671)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-22 20:25:54 -04:00
Barış Soner Uşaklı
d38c872259 feat: add loading indicator 2020-09-22 20:22:50 -04:00
psychobunny
82ab6cd3b1 fix: tooltip placement on navbar search 2020-09-22 19:25:56 -04:00
psychobunny
5407bf48e5 chore: up persona 2020-09-22 19:19:50 -04:00
psychobunny
683c01b0d3 fix: rogue tooltip on navbar profile icon 2020-09-22 19:12:12 -04:00
psychobunny
4c2eab4b52 chore: up persona 2020-09-22 19:01:07 -04:00
Julian Lam
81595095da feat: allow plugins to override tags and tag counts 2020-09-22 15:58:24 -04:00
Barış Soner Uşaklı
445a840b88 fix: #8580, @julianlam 2020-09-22 10:18:26 -04:00
psychobunny
d989cb9988 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-09-21 22:27:44 -04:00
Barış Soner Uşaklı
bbf6889ecc fix: topic count on category page if filter is author 2020-09-21 22:24:38 -04:00
psychobunny
703ac1b685 fix: match api when modifying ajaxify.data.deleted (int, not bool) 2020-09-21 22:20:17 -04:00
Barış Soner Uşaklı
9a7c3c689f fix: lock/unlock toggle issue 2020-09-21 22:03:51 -04:00
psychobunny
91133b0f48 chore: up persona 2020-09-21 21:40:56 -04:00
Barış Soner Uşaklı
ac43cd8b6f fix: #8665, trim email before checking validity 2020-09-21 20:50:56 -04:00
Barış Soner Uşaklı
ccddbb15c9 feat: edit test 2020-09-21 15:15:30 -04:00
Barış Soner Uşaklı
e72fe25920 fix: editing posts saving uncessary data 2020-09-21 15:12:13 -04:00
Barış Soner Uşaklı
654d583059 fix: api spec 2020-09-21 15:00:40 -04:00
Barış Soner Uşaklı
4f14dc7a58 fix: #8640, add bookmarks to intFields 2020-09-21 14:57:00 -04:00
psychobunny
bcac080543 chore: up persona 2020-09-21 13:23:04 -04:00
psychobunny
9dc4db1f14 chore: up persona 2020-09-21 13:12:43 -04:00
psychobunny
9da69dc35b Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-09-21 13:12:05 -04:00
psychobunny
ba70a1bf88 chore: up persona 2020-09-21 13:11:49 -04:00
renovate[bot]
72cd5f139f fix(deps): update dependency nodebb-theme-persona to v10.2.24 (#8663)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-21 13:03:57 -04:00
renovate[bot]
55921ccf50 fix(deps): update dependency postcss to v8.0.6 (#8657)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-21 12:40:30 -04:00
renovate[bot]
0123209014 fix(deps): update dependency validator to v13.1.17 (#8659)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-21 12:40:12 -04:00
renovate[bot]
b175d671a2 fix(deps): update dependency sharp to v0.26.1 (#8660)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-21 12:39:54 -04:00
Barış Soner Uşaklı
02a48e1c64 fix: change user tooltip container to content 2020-09-21 12:04:29 -04:00
Barış Soner Uşaklı
fe2dc3101e fix: auth tests 2020-09-21 11:45:12 -04:00
Barış Soner Uşaklı
af43f0e48e fix: #8656, rename /api/me to /api/self 2020-09-21 11:11:56 -04:00
Misty (Bot)
9e7f5b9403 Latest translations and fallbacks 2020-09-21 09:09:16 +00:00
Misty (Bot)
bd10559121 Latest translations and fallbacks 2020-09-20 09:05:55 +00:00
Barış Soner Uşaklı
95c65e2da0 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-09-19 21:18:16 -04:00
Barış Soner Uşaklı
23de5613bd feat: add x-posts/x-votes keys 2020-09-19 21:17:44 -04:00
Misty (Bot)
4f9131fdc3 Latest translations and fallbacks 2020-09-19 09:06:43 +00:00
Barış Soner Uşaklı
047c414841 fix: add user tooltips to body
so they don't get cutoff  in containers with overflow:hidden
2020-09-18 21:28:52 -04:00
Misty (Bot)
e6ea208c06 chore: update changelog for v1.15.0-beta.23 2020-09-18 23:00:46 +00:00
Misty (Bot)
61a04eb9a0 chore: incrementing version number - v1.15.0-beta.23 2020-09-18 23:00:45 +00:00
Barış Soner Uşaklı
ddc0ac37ab feat: allow adding nested replies to a target component 2020-09-18 18:43:06 -04:00
Julian Lam
43571bac38 feat: hotkey "/" to open ACP search 2020-09-18 16:24:38 -04:00
Julian Lam
763cec31bd feat: ctr-s for save on privileges page too 2020-09-18 16:17:44 -04:00
Julian Lam
8093142340 feat: ctrl-s now saves on settingsv1/v2 forms
... because nobody ever uses ctrl-s on a browser window.
2020-09-18 15:40:16 -04:00
renovate[bot]
dc0a4a49b7 fix(deps): update dependency nodebb-widget-essentials to v4.1.2 (#8658)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-17 23:23:02 -04:00
Barış Soner Uşaklı
6669b23d9a feat: single href 2020-09-17 23:11:04 -04:00
Misty (Bot)
59ee74c282 chore: update changelog for v1.15.0-beta.22 2020-09-18 02:08:01 +00:00
Misty (Bot)
9c9329ee19 chore: incrementing version number - v1.15.0-beta.22 2020-09-18 02:08:01 +00:00
Barış Soner Uşaklı
22cd265434 fix: tests 2020-09-17 21:52:05 -04:00
Barış Soner Uşaklı
220297d501 fix: use correct topic count for category 2020-09-17 21:41:54 -04:00
Renovate Bot
2833624e4e chore(deps): update dependency lint-staged to v10.4.0 2020-09-16 09:31:34 -04:00
Misty (Bot)
8089542e09 chore: update changelog for v1.15.0-beta.21 2020-09-16 03:16:22 +00:00
Misty (Bot)
966cdc1376 chore: incrementing version number - v1.15.0-beta.21 2020-09-16 03:16:22 +00:00
Barış Soner Uşaklı
f1f82dd610 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-09-15 23:00:10 -04:00
Barış Soner Uşaklı
42298fe659 fix: clear old value on focus
hide results if input lost focus during search
2020-09-15 23:00:01 -04:00
Julian Lam
70d3ad025a fix(deps): postcss and autoprefixer version incompatibility 2020-09-15 20:34:56 -04:00
Renovate Bot
5ea172f9a6 fix(deps): update dependency nodebb-plugin-mentions to v2.10.0 2020-09-15 19:42:57 -04:00
Renovate Bot
606794818e fix(deps): update dependency autoprefixer to v10 2020-09-15 19:42:49 -04:00
Misty (Bot)
1650f30312 chore: update changelog for v1.15.0-beta.20 2020-09-15 23:21:06 +00:00
Misty (Bot)
c8e57ec195 chore: incrementing version number - v1.15.0-beta.20 2020-09-15 23:21:06 +00:00
Barış Soner Uşaklı
c9c9dd2f9b fix: skip elements if they dont have proper index 2020-09-15 18:49:11 -04:00
Misty (Bot)
9cde5105ad chore: update changelog for v1.15.0-beta.19 2020-09-15 20:20:42 +00:00
Misty (Bot)
2eb7c2842a chore: incrementing version number - v1.15.0-beta.19 2020-09-15 20:20:42 +00:00
Barış Soner Uşaklı
7148be2fd1 feat: allow passing in container to threadTools 2020-09-15 16:05:45 -04:00
Barış Soner Uşaklı
99f24c5997 fix: call to reskin 2020-09-15 09:55:52 -04:00
Renovate Bot
b1d781e858 chore(deps): update dependency eslint to v7.9.0 2020-09-14 16:12:28 -04:00
Misty (Bot)
b2ca968673 chore: update changelog for v1.15.0-beta.18 2020-09-14 18:55:07 +00:00
Misty (Bot)
e096791e3e chore: incrementing version number - v1.15.0-beta.18 2020-09-14 18:55:06 +00:00
Julian Lam
685633d031 fix(deps): bump theme versions 2020-09-14 14:31:15 -04:00
Barış Soner Uşaklı
7cd30650b2 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-09-14 14:28:03 -04:00
Barış Soner Uşaklı
437424375e feat: expose calculateTopicPostCount and getChildrenTree 2020-09-14 14:27:44 -04:00
Julian Lam
44309ee62f fix: move necro-post to be in-line with posts 2020-09-14 14:15:22 -04:00
Julian Lam
4fca79380a fix: tests, because redis is TOO FAST 2020-09-14 11:07:46 -04:00
Julian Lam
29b357bc66 refactor: expose new method for appending moderation note 2020-09-14 10:16:45 -04:00
Misty (Bot)
d617815823 chore: update changelog for v1.15.0-beta.17 2020-09-14 00:10:55 +00:00
Misty (Bot)
f1c2809220 chore: incrementing version number - v1.15.0-beta.17 2020-09-14 00:10:54 +00:00
renovate[bot]
8089387bae fix(deps): update dependency nodebb-plugin-composer-default to v6.3.56 (#8648)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-13 20:09:32 -04:00
Barış Soner Uşaklı
5e8c376115 fix: remove old test 2020-09-13 19:48:41 -04:00
Barış Soner Uşaklı
de824007d9 feat: allow custom req.query.filter on /unread /recent 2020-09-13 19:41:39 -04:00
Barış Soner Uşaklı
a8e18fdbe6 fix: client side crash if there are no topics 2020-09-13 19:40:01 -04:00
Misty (Bot)
21ae81b4af Latest translations and fallbacks 2020-09-13 09:06:13 +00:00
Barış Soner Uşaklı
38d3982bf1 fix: #8418
allow updating other profile fields when username isnt being changed
2020-09-12 21:48:56 -04:00
Barış Soner Uşaklı
4be693f2e7 feat: fullname search (#8641)
* feat: fullname search

* fix: take last element

* fix: attempt to fix psql like query

* feat: upgrade sript, another fix attempt

* fix: psql test

* fix: psql scan

* feat: add debug for test

* feat: test collate

* feat: cleanup

* fix: upgrade script
2020-09-11 23:20:49 -04:00
Barış Soner Uşaklı
9389749b79 feat: sorted set lex test 2020-09-11 21:12:49 -04:00
Renovate Bot
c5ca2609a6 fix(deps): update dependency nodebb-theme-persona to v10.2.22 2020-09-11 15:19:39 -04:00
Renovate Bot
8acdf3f615 fix(deps): update dependency nodebb-theme-vanilla to v11.2.16 2020-09-11 15:19:26 -04:00
Julian Lam
0891236142 fix: typo 2020-09-11 14:41:10 -04:00
Julian Lam
7e7366be13 fix: remove toolsVisible in post tools' menu [breaking] 2020-09-11 11:11:58 -04:00
Renovate Bot
ed0469b5bb fix(deps): update dependency nodebb-theme-persona to v10.2.21 2020-09-11 11:09:07 -04:00
Renovate Bot
134ebba636 fix(deps): update dependency nodebb-theme-vanilla to v11.2.15 2020-09-11 11:08:58 -04:00
Misty (Bot)
e08297ff73 chore: update changelog for v1.15.0-beta.16 2020-09-11 05:10:23 +00:00
Misty (Bot)
6043c9cbd8 chore: incrementing version number - v1.15.0-beta.16 2020-09-11 05:10:22 +00:00
Barış Soner Uşaklı
65d049c6f9 fix: tests 2020-09-11 00:55:43 -04:00
Barış Soner Uşaklı
2d5bd153e0 fix: check if unread_tids are followed 2020-09-11 00:39:45 -04:00
Renovate Bot
31635e3e58 fix(deps): update dependency nodebb-theme-vanilla to v11.2.14 2020-09-10 21:44:14 -04:00
Renovate Bot
2a13e583d4 fix(deps): update dependency nodebb-theme-persona to v10.2.20 2020-09-10 21:38:44 -04:00
Barış Soner Uşaklı
e90940949c fix: openapi 2020-09-10 18:50:07 -04:00
Barış Soner Uşaklı
c1c617b323 feat: add topicIndex to category page 2020-09-10 18:26:56 -04:00
renovate[bot]
4969c86909 fix(deps): update dependency mongodb to v3.6.2 (#8634)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-10 15:43:23 -04:00
Misty (Bot)
74f14829a0 Latest translations and fallbacks 2020-09-10 09:10:31 +00:00
Misty (Bot)
f878b92cc6 chore: update changelog for v1.15.0-beta.15 2020-09-09 21:28:17 +00:00
Misty (Bot)
10b94f9bfa chore: incrementing version number - v1.15.0-beta.15 2020-09-09 21:28:17 +00:00
Barış Soner Uşaklı
34eb1bd244 feat: up lavender/slick 2020-09-09 17:01:07 -04:00
renovate[bot]
8137cdc22d fix(deps): update dependency nodebb-theme-vanilla to v11.2.13 (#8633)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 16:56:56 -04:00
renovate[bot]
37e37c868d fix(deps): update dependency nodebb-theme-persona to v10.2.19 (#8632)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 16:56:27 -04:00
Barış Soner Uşaklı
632793b067 fix: dont use hardcoded fontawesome icons for lock pin 2020-09-09 16:40:03 -04:00
Barış Soner Uşaklı
f6d564667e feat: switch to using topic/select component for merge
automatically add the selected tids to the merge modal
2020-09-09 16:00:11 -04:00
Misty (Bot)
66ef90df9f Latest translations and fallbacks 2020-09-09 09:07:18 +00:00
Misty (Bot)
5e60d09201 chore: update changelog for v1.15.0-beta.14 2020-09-09 02:03:53 +00:00
Misty (Bot)
6ca4b86f7e chore: incrementing version number - v1.15.0-beta.14 2020-09-09 02:03:52 +00:00
Julian Lam
762e9fe88c feat: undo for posts move 2020-09-08 21:36:36 -04:00
Julian Lam
65d94a3b6d fix: #8629 and change undo timeout to 10 seconds 2020-09-08 21:35:20 -04:00
renovate[bot]
7ab8707285 fix(deps): update dependency nodebb-theme-vanilla to v11.2.12 (#8628)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-08 19:53:05 -04:00
renovate[bot]
2740655d2d fix(deps): update dependency nodebb-theme-persona to v10.2.18 (#8627)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-08 19:52:48 -04:00
Barış Soner Uşaklı
2bebdf017d fix: alert_id selector 2020-09-08 19:48:08 -04:00
Barış Soner Uşaklı
a78e1df965 fix: use text-right 2020-09-08 19:26:57 -04:00
Barış Soner Uşaklı
5a40d26b44 feat: #8626, new move posts modal 2020-09-08 19:22:38 -04:00
Julian Lam
885e0ebfde Revert "fix: bypass nbbpm for now"
This reverts commit 33c1bd5f01.
2020-09-08 11:42:35 -04:00
Julian Lam
61a8c6f037 chore: update commitlint config 2020-09-08 11:38:23 -04:00
Misty (Bot)
ca8d492b9a chore: update changelog for v1.15.0-beta.13 2020-09-08 14:08:41 +00:00
Misty (Bot)
bdd71c51a4 chore: incrementing version number - v1.15.0-beta.13 2020-09-08 14:08:41 +00:00
Misty (Bot)
0cec103489 Latest translations and fallbacks 2020-09-08 09:08:54 +00:00
renovate[bot]
d82a145b6f Update dependency nodebb-theme-slick to v1.2.32 (#8625)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-07 22:21:09 -04:00
renovate[bot]
d507ba3531 Update dependency @apidevtools/swagger-parser to v10.0.2 (#8622)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-07 21:51:53 -04:00
renovate[bot]
7738482be9 Update dependency husky to v4.3.0 (#8621)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-07 21:51:21 -04:00
renovate[bot]
fd6259c8f6 fix(deps): update dependency nodebb-theme-vanilla to v11.2.11 (#8624)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-07 21:51:06 -04:00
renovate[bot]
a1d310bd2c fix(deps): update dependency nodebb-theme-persona to v10.2.17 (#8623)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-07 21:50:56 -04:00
Barış Soner Uşaklı
a34b685c65 fix: remove lang keys, remove sounds menu 2020-09-07 21:44:23 -04:00
Barış Soner Uşaklı
8a752364a7 fix: lavender version 2020-09-07 21:09:03 -04:00
Misty (Bot)
61590c7e54 Latest translations and fallbacks 2020-09-07 09:08:02 +00:00
Barış Soner Uşaklı
5f10d67db5 Remove sounds (#8617)
* feat: remove sounds

* feat: remove more sounds

* feat: disable sounds plugin

* fix: openapi
2020-09-06 23:45:00 -04:00
renovate[bot]
251ea79bd2 fix(deps): update dependency nodebb-theme-slick to v1.2.30 (#8620)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-06 23:09:22 -04:00
Barış Soner Uşaklı
e3a0b4b1c1 fix: tests 2020-09-06 23:08:00 -04:00
Barış Soner Uşaklı
01681ab4bf Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-09-06 23:07:46 -04:00
renovate[bot]
0d85dc4818 fix(deps): update dependency nodebb-theme-persona to v10.2.16 (#8618)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-06 22:58:57 -04:00
renovate[bot]
b52301b1af fix(deps): update dependency nodebb-theme-vanilla to v11.2.10 (#8619)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-06 22:58:25 -04:00
Barış Soner Uşaklı
4bace773f9 fix: wider widget area 2020-09-06 22:48:50 -04:00
Barış Soner Uşaklı
5002e0f62c feat: refactor app.js 2020-09-06 22:36:09 -04:00
Barış Soner Uşaklı
19c448612d feat: remove global RELATIVE_PATH 2020-09-06 22:12:53 -04:00
Barış Soner Uşaklı
3cd3b7a172 feat: remove app.template 2020-09-06 22:07:39 -04:00
Barış Soner Uşaklı
630bac2aa5 feat: remove global window.templates 2020-09-06 21:55:31 -04:00
Barış Soner Uşaklı
fddeb5c0f8 feat: remove app.isConnected, use socket.connected 2020-09-06 21:51:45 -04:00
Barış Soner Uşaklı
33c1bd5f01 fix: bypass nbbpm for now 2020-09-06 21:46:35 -04:00
Barış Soner Uşaklı
46ab2711d4 fix: #8432, add CSP frame-ancestors 2020-09-06 17:10:43 -04:00
Barış Soner Uşaklı
6fc31df033 feat: use const/let 2020-09-06 17:04:43 -04:00
Barış Soner Uşaklı
4588e52120 fix: allow setting maximumAboutMeLength to 0 2020-09-05 18:30:39 -04:00
psychobunny
a38784f567 fix: additional commit for CF rocket loader 2020-09-04 22:43:03 -04:00
psychobunny
4d6659553b feat: allow nbb to work with cloudflare rocket loader 🚀 2020-09-04 22:29:21 -04:00
Barış Soner Uşaklı
53a5f1516e feat: move code 2020-09-04 22:16:38 -04:00
Barış Soner Uşaklı
b6917b9dee feat: #8602, dont send emails to unconfirmed addresses 2020-09-04 22:12:42 -04:00
renovate[bot]
69373fded7 fix(deps): update dependency nodebb-theme-vanilla to v11.2.9 (#8616)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-04 21:18:52 -04:00
renovate[bot]
3c0540c16e fix(deps): update dependency nodebb-theme-persona to v10.2.15 (#8614)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-04 20:58:04 -04:00
Barış Soner Uşaklı
94da9fe55e feat: add partials/footer/js.tpl
add ajaxify.coldLoad which gets called from partials/footer/js.tpl
2020-09-04 20:53:21 -04:00
Barış Soner Uşaklı
4031a8cab1 fix: stack trace 2020-09-04 17:34:47 -04:00
Barış Soner Uşaklı
54b497258f feat: add missing name to profile image upload 2020-09-04 01:16:11 -04:00
Barış Soner Uşaklı
b0a759223d feat: add action:user.removeCoverPicture 2020-09-04 01:06:10 -04:00
Barış Soner Uşaklı
962446a5ac feat: add user data to action:user.removeUploadedPicture 2020-09-04 00:55:16 -04:00
Barış Soner Uşaklı
9542ef1285 feat: add userData to action:user.delete 2020-09-04 00:40:58 -04:00
Barış Soner Uşaklı
a263897627 fix: #8604 2020-09-03 22:03:14 -04:00
Barış Soner Uşaklı
1b7ba2c8f1 feat: force upgrade scripts for test 2020-09-03 14:08:30 -04:00
Peter Jaszkowiak
64a457a441 fix(bug): #8611, custom route logic corrected (#8612) 2020-09-03 13:47:23 -04:00
Barış Soner Uşaklı
1e5981c0d6 feat: replace relative urls to absolute before sending email notifs
https://github.com/NodeBB/NodeBB/pull/8366/files
2020-09-03 12:02:07 -04:00
Barış Soner Uşaklı
c495aacc3e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-09-03 11:30:39 -04:00
Barış Soner Uşaklı
57f67e2b91 fix: don't toggle elements if there is no inputEl 2020-09-03 11:29:34 -04:00
renovate[bot]
391102766f chore(deps): update dependency eslint to v7.8.1 (#8597)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 08:57:30 -04:00
renovate[bot]
5ba23f2404 fix(deps): update dependency socket.io-redis to v5.4.0 (#8600)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 08:54:25 -04:00
renovate[bot]
dc1f1db9a1 chore(deps): update dependency lint-staged to v10.3.0 (#8608)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 08:53:43 -04:00
renovate[bot]
97e3543e96 fix(deps): update dependency nodebb-theme-vanilla to v11.2.8 (#8599)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 08:52:36 -04:00
renovate[bot]
1bb0896e49 fix(deps): update dependency nodebb-theme-persona to v10.2.12 (#8598)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 08:52:27 -04:00
renovate[bot]
5fc2f5f996 Update dependency mongodb to v3.6.1 (#8603)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-03 08:52:12 -04:00
Misty (Bot)
b7db0f200e Latest translations and fallbacks 2020-09-03 09:08:32 +00:00
Misty (Bot)
0a24260571 chore: update changelog for v1.15.0-beta.12 2020-09-03 02:14:17 +00:00
Misty (Bot)
b852c9b7e0 chore: incrementing version number - v1.15.0-beta.12 2020-09-03 02:14:16 +00:00
Julian Lam
f743f92088 refactor: socket posts delete/restore/purge so tid is not necessary (#8607)
* refactor: socket posts delete/restore/purge so tid is not necessary

* refactor: stop trying to be fancy

* fix: tests to not pass in tid into posts.deletePosts

* fix: some more unnecessary tid passing
2020-09-02 21:51:35 -04:00
renovate[bot]
dfeb65bb95 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.55 (#8606)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-02 19:58:16 -04:00
Misty (Bot)
f07ba8665e chore: update changelog for v1.15.0-beta.11 2020-09-02 18:29:34 +00:00
Misty (Bot)
c1ce7391e2 chore: incrementing version number - v1.15.0-beta.11 2020-09-02 18:29:34 +00:00
Barış Soner Uşaklı
09de364e93 feat: add client side action:flag.create 2020-09-02 14:06:04 -04:00
Misty (Bot)
2a4f4f5aec Latest translations and fallbacks 2020-09-02 09:09:47 +00:00
Misty (Bot)
b201bb2111 Latest translations and fallbacks 2020-09-01 09:06:02 +00:00
Misty (Bot)
9c34ecede6 chore: update changelog for v1.15.0-beta.10 2020-09-01 01:38:50 +00:00
Misty (Bot)
f252d4d73b chore: incrementing version number - v1.15.0-beta.10 2020-09-01 01:38:50 +00:00
renovate[bot]
05efeff619 chore(deps): update dependency mocha to v8.1.3 (#8588)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-31 21:17:06 -04:00
renovate[bot]
e1b9814219 chore(deps): update dependency eslint to v7.8.0 (#8594)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-31 21:16:51 -04:00
Julian Lam
0c20351702 feat: additional sorting options for flags
+ upvotes, +downvotes, +replies
2020-08-31 17:21:15 -04:00
Renovate Bot
27426c0629 fix(deps): update dependency nodebb-plugin-markdown to v8.12.1 2020-08-31 11:14:41 -04:00
Misty (Bot)
02a5fe9c68 Latest translations and fallbacks 2020-08-30 09:05:26 +00:00
Barış Soner Uşaklı
896fe9d65e fix: don't crash on outdated redis instances 2020-08-28 20:31:21 -04:00
Misty (Bot)
affc7927c5 chore: update changelog for v1.15.0-beta.9 2020-08-28 20:44:53 +00:00
Misty (Bot)
8dc513da24 chore: incrementing version number - v1.15.0-beta.9 2020-08-28 20:44:53 +00:00
Julian Lam
0e58d2b866 fix: update post-queue hook names 2020-08-28 11:50:21 -04:00
Misty (Bot)
3b960c3b64 chore: update changelog for v1.15.0-beta.8 2020-08-28 00:55:48 +00:00
Misty (Bot)
34bb869c96 chore: incrementing version number - v1.15.0-beta.8 2020-08-28 00:55:47 +00:00
Julian Lam
694f4b2bcf fix: accept/reject in post-queue instead of accept/delete 2020-08-27 20:05:08 -04:00
Misty (Bot)
e449ff9a4c chore: update changelog for v1.15.0-beta.7 2020-08-28 00:03:32 +00:00
Misty (Bot)
fd917b8eae chore: incrementing version number - v1.15.0-beta.7 2020-08-28 00:03:32 +00:00
Renovate Bot
64f4179ac5 fix(deps): update dependency nodebb-theme-vanilla to v11.2.5 2020-08-27 17:46:05 -04:00
Renovate Bot
777419b2e8 fix(deps): update dependency nodebb-theme-persona to v10.2.10 2020-08-27 17:42:14 -04:00
Julian Lam
8cc36de284 feat: new filter hook prior to post queue addition
filter:post.queue
2020-08-27 16:47:32 -04:00
Julian Lam
b587127560 fix: new openapi def for replies addition 2020-08-27 14:56:51 -04:00
Julian Lam
a9dfc9a74e feat: add replies to getPostSummaryByPids 2020-08-27 14:46:07 -04:00
Julian Lam
e0c7d65a92 Revert "feat: add reply count to getPostSummaryByPids"
This reverts commit de0f4aadb8.
2020-08-27 14:44:51 -04:00
Julian Lam
de0f4aadb8 feat: add reply count to getPostSummaryByPids 2020-08-27 13:21:18 -04:00
Misty (Bot)
a7f03b64b2 chore: update changelog for v1.15.0-beta.6 2020-08-27 14:08:45 +00:00
Misty (Bot)
a9019cbef5 chore: incrementing version number - v1.15.0-beta.6 2020-08-27 14:08:45 +00:00
Misty (Bot)
c25af08da0 Latest translations and fallbacks 2020-08-27 09:05:49 +00:00
Barış Soner Uşaklı
9f9164a9be fix: #8582 2020-08-26 22:04:18 -04:00
Julian Lam
fb3b4a0293 fix: debug logging 🐶 2020-08-26 22:03:04 -04:00
Julian Lam
56101ae5ae fix: ip-blacklist not working after #8580 2020-08-26 22:00:42 -04:00
Julian Lam
c681b4b2e0 fix: ip-blacklist not working after #8580 2020-08-26 22:00:42 -04:00
Julian Lam
dc5bd7601f fix: post-queue not working after #8580 2020-08-26 22:00:42 -04:00
Renovate Bot
efc30e97ec chore(deps): update dependency lint-staged to v10.2.13 2020-08-26 12:48:01 -04:00
Julian Lam
a93e19559d fix: #8411 missing language sources for ip-blacklist/post-queue 2020-08-26 11:20:34 -04:00
Julian Lam
4dc6e64a94 refactor: ip-blacklist and post-queue language files
closes #8411
2020-08-26 10:56:06 -04:00
Kyle Farris
2b785628e7 fix: removed invalid options for the sendmail transport (#8576)
* Removed invalid options for the sendmail transport that were causing Nodemailer to return the SMTPTransport instead.

* Removed options for rate limiting in admin email interface. Added new option for toggling whether to use pooled connections.
2020-08-26 10:46:59 -04:00
Julian Lam
6e805c1be7 feat: theme work for #8580, closes #8580 2020-08-26 10:38:21 -04:00
Julian Lam
b6b94a56dc refactor: moved ip-blacklist and post-queue styles/tpls to themes
This is a breaking change!, re: #8580
2020-08-26 10:36:29 -04:00
Misty (Bot)
073c4d7886 Latest translations and fallbacks 2020-08-26 09:05:41 +00:00
Misty (Bot)
0e90064e45 chore: update changelog for v1.15.0-beta.5 2020-08-26 02:04:46 +00:00
Misty (Bot)
81e4c4df97 chore: incrementing version number - v1.15.0-beta.5 2020-08-26 02:04:46 +00:00
Julian Lam
abb5e81d0d feat: allow undo of topic move 2020-08-25 21:43:05 -04:00
Julian Lam
cd8e7963de feat: added alert.timeoutfn
Also, various alert methods now pass two arguments,
alert and params
2020-08-25 21:42:59 -04:00
Julian Lam
bacee6b467 fix: missing localisation for topic move error 2020-08-25 21:40:40 -04:00
Julian Lam
5d60dce379 fix: select all checkbox does not re-enable bulk actions button 2020-08-25 21:11:17 -04:00
renovate[bot]
7ca967ee61 fix(deps): update dependency sharp to v0.26.0 (#8578)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-25 20:50:51 -04:00
renovate[bot]
c722b0e513 chore(deps): update dependency mocha to v8.1.2 (#8579)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-25 20:49:41 -04:00
Julian Lam
a4dbbc3749 feat: sort dependencies alphabetically
... when merging from install/package.json

/cc @pitaj
2020-08-25 11:06:51 -04:00
Misty (Bot)
6c4aed8cf4 chore: update changelog for v1.15.0-beta.4 2020-08-25 13:02:59 +00:00
Misty (Bot)
f2726a6df4 chore: incrementing version number - v1.15.0-beta.4 2020-08-25 13:02:59 +00:00
Barış Soner Uşaklı
9a84b4a9b7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-08-25 08:51:24 -04:00
Barış Soner Uşaklı
55533b11e5 fix: dupes in unread followed topics 2020-08-25 08:51:15 -04:00
Andrew Rodrigues
af9f328cad feat: up persona 2020-08-25 08:40:11 -04:00
Barış Soner Uşaklı
39f4bbaa0e fix: wrong data passed to getCategories 2020-08-24 10:12:08 -04:00
Misty (Bot)
5f15afff39 Latest translations and fallbacks 2020-08-23 09:05:22 +00:00
Misty (Bot)
11e2ccaba6 chore: update changelog for v1.15.0-beta.3 2020-08-22 21:58:59 +00:00
Misty (Bot)
39178c2d41 chore: incrementing version number - v1.15.0-beta.3 2020-08-22 21:58:59 +00:00
Barış Soner Uşaklı
354e6ccc66 feat: banning a user will resolve their post flags 2020-08-22 17:34:19 -04:00
Barış Soner Uşaklı
4f7cfd5372 fix: openapi spec 2020-08-22 17:33:57 -04:00
Barış Soner Uşaklı
c4ad14cb68 fix: api spec 2020-08-22 17:30:34 -04:00
Barış Soner Uşaklı
91d9333a50 fix: username, email history disappering if content was deleted 2020-08-22 17:13:26 -04:00
Misty (Bot)
074d7dfd86 Latest translations and fallbacks 2020-08-22 09:05:26 +00:00
Andrew Rodrigues
9fd3775325 fix: up composer 2020-08-21 18:34:11 -04:00
Julian Lam
840cb5105f fix: package-install clobbering scoped nodebb plugins 2020-08-21 17:08:15 -04:00
Misty (Bot)
d8a9f1c3be chore: update changelog for v1.15.0-beta.2 2020-08-21 20:18:01 +00:00
Misty (Bot)
59b50d0ae4 chore: incrementing version number - v1.15.0-beta.2 2020-08-21 20:18:01 +00:00
Julian Lam
4b0cb26b34 fix: empty "manage" menu showing in ACP
... if no privileges corresponding to those menu items
are given
2020-08-21 15:42:04 -04:00
Julian Lam
cc2686057c fix: hide nodebb version in ACP for non-superadmins 2020-08-21 15:35:42 -04:00
Julian Lam
cf2f1e956a refactor: changed way middleware was exported 2020-08-21 15:29:40 -04:00
Julian Lam
f00595b32d fix: change how admin middlewares are exported 2020-08-21 15:11:54 -04:00
Julian Lam
ae68a254d7 fix: one less return, to appease codeclimate 2020-08-21 15:06:35 -04:00
Julian Lam
03bd76dea2 fix: inability to access /admin if not superadmin
There was an odd issue where non-superadmins could not use
the /admin route to access the ACP, even though they had
appropriate access. For whatever reason, it could not
be reliably reproduced on my dev. As it turns out, the
reason was because I was checking the wrong privilege,
and my dev database had this wrong privilege leftover
from the initial development of the ACP admin privileges
feature. Dumb.

Anyhow, that fixes this issue.
2020-08-21 15:00:51 -04:00
Barış Soner Uşaklı
29e3ab247d fix: #8560, fix old upgrade script
db.connect no longer exists at the root
2020-08-21 14:14:46 -04:00
Julian Lam
9cbe9389f5 fix: use promises in privilege save
... instead of jQuery Deferreds
2020-08-21 12:02:53 -04:00
Julian Lam
7a5daff4c9 fix: overzealous click handler on flag list row 2020-08-21 11:52:49 -04:00
Misty (Bot)
f425cecded Latest translations and fallbacks 2020-08-21 09:06:52 +00:00
Julian Lam
9608b44f21 fix: +comment, -debug log 2020-08-20 16:10:16 -04:00
Misty (Bot)
aeca19d5f4 chore: update changelog for v1.15.0-beta.1 2020-08-20 20:05:01 +00:00
Misty (Bot)
4fa57fbb25 chore: incrementing version number - v1.15.0-beta.1 2020-08-20 20:05:00 +00:00
Julian Lam
5415c01c51 feat: theme changes for #8571 2020-08-20 14:56:41 -04:00
Julian Lam
a3a2279358 feat: logic for bulk actions in flags list, #8571 2020-08-20 14:51:24 -04:00
Julian Lam
589216e720 fix: multiple alerts in the same millisecond overwrite each other 2020-08-20 14:32:20 -04:00
Julian Lam
6521e4dac4 Revert "feat: expose global/admin privileges to all routes"
This reverts commit 4737f937ee.
2020-08-20 13:21:30 -04:00
Julian Lam
2a948d32a4 Revert "test(openapi): missing commonprops addition"
This reverts commit 0dc55bbc80.
2020-08-20 13:21:26 -04:00
Julian Lam
0dc55bbc80 test(openapi): missing commonprops addition 2020-08-20 10:50:45 -04:00
Julian Lam
563937950a fix: reintroduce 20s delay for api tests 2020-08-20 10:40:24 -04:00
Julian Lam
4737f937ee feat: expose global/admin privileges to all routes
@barisusakli revert if necessary 😬
2020-08-20 10:36:11 -04:00
Julian Lam
b2271eb64f fix: client-side error in flags/detail
... as the filter form is no longer present in the details page
2020-08-20 10:36:11 -04:00
Misty (Bot)
bb7bd1b421 Latest translations and fallbacks 2020-08-20 09:06:54 +00:00
Andrew Rodrigues
7daba7ddc1 fix: #8570 2020-08-19 15:26:09 -04:00
Misty (Bot)
bff809831a chore: incrementing version number - v1.15.0-beta.0 2020-08-19 13:43:32 +00:00
Misty (Bot)
d9a050354d chore: incrementing version number - v1.14.3-beta.16 2020-08-19 13:38:05 +00:00
Renovate Bot
df61d0806f chore(deps): update dependency grunt to v1.3.0 2020-08-19 09:28:17 -04:00
Julian Lam
3efe2362e2 fix: sorting the flags list by newest is not considered a filter
... as it is default
2020-08-19 09:15:18 -04:00
Julian Lam
e047b72c87 feat: additional tests for #8569 2020-08-19 09:04:37 -04:00
Julian Lam
360aa00d5a fix: flag list tests due to breaking change in API 2020-08-19 09:04:37 -04:00
Misty (Bot)
07ebc81a2f Latest translations and fallbacks 2020-08-19 09:06:02 +00:00
Julian Lam
d935f03636 fix(openapi): tests 2020-08-18 21:42:36 -04:00
Julian Lam
334be11382 fix: no-widgets messaging in ACP + copy 2020-08-18 21:39:10 -04:00
Julian Lam
346db0d84d feat: flags list sorting, closes #8569 2020-08-18 21:03:59 -04:00
Julian Lam
cabe62a06c fix: #8568 perPage not acting like a filter 2020-08-18 18:49:59 -04:00
Misty (Bot)
1101fa3394 Latest translations and fallbacks 2020-08-18 09:12:04 +00:00
Renovate Bot
877cdfb9ad chore(deps): update commitlint monorepo to v9.1.2 2020-08-17 13:12:37 -04:00
Renovate Bot
49aeda01b9 fix(deps): update dependency ipaddr.js to v2 2020-08-17 13:12:14 -04:00
psychobunny
bd557af218 feat: up theme 2020-08-17 10:41:55 -04:00
Misty (Bot)
6bb60b0965 Latest translations and fallbacks 2020-08-17 09:06:03 +00:00
Misty (Bot)
e2a253f2cb chore: incrementing version number - v1.14.3-beta.15 2020-08-16 17:40:56 +00:00
Barış Soner Uşaklı
35a538ec2a feat: allow adding multiple users to group 2020-08-16 13:09:36 -04:00
Barış Soner Uşaklı
f1e82b6441 feat: add filter:group.getOwnersAndMembers 2020-08-16 12:03:21 -04:00
Misty (Bot)
7f57d39cd5 Latest translations and fallbacks 2020-08-16 09:05:31 +00:00
Misty (Bot)
2b930c894a Latest translations and fallbacks 2020-08-15 09:05:37 +00:00
renovate[bot]
f1398da2e1 chore(deps): update dependency eslint to v7.7.0 (#8564)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-14 20:54:59 -04:00
Julian Lam
9c70b6620e feat: pass uid into filter:flags.list 2020-08-14 16:27:02 -04:00
Barış Soner Uşaklı
31c2b7d946 fix: #8562 2020-08-14 14:10:47 -04:00
Julian Lam
2adae87949 fix: progress bar clobbering upgrade script name 2020-08-14 12:21:38 -04:00
Julian Lam
ac75c9a052 fix: tweak upgrade script progress bar to only update 100 times in total 2020-08-14 12:16:43 -04:00
Julian Lam
80a2a700ce fix: navigation title unescape upgrade script tweak 2020-08-14 12:06:34 -04:00
Julian Lam
7456a0e34e fix: new language key for error handling 2020-08-14 11:33:36 -04:00
Julian Lam
de8eebbd7c fix: upgrade scripts not run properly if schemaDate is present
Only affected VERY old installs that don't use schemaLog
2020-08-14 11:28:44 -04:00
Misty (Bot)
ea53c95d67 Latest translations and fallbacks 2020-08-14 09:05:50 +00:00
Barış Soner Uşaklı
0189945996 refactor: remove util.promisify calls 2020-08-14 00:05:03 -04:00
Julian Lam
45c8de129c feat: added security policy for github 2020-08-13 16:56:52 -04:00
Barış Soner Uşaklı
bfaf648ec3 fix: #8556, catch errors from admin check 2020-08-13 14:56:58 -04:00
Barış Soner Uşaklı
326827382a fix: upgrade script for 1.15.0 2020-08-13 14:17:43 -04:00
Renovate Bot
87674d6852 fix(deps): update dependency nodebb-theme-lavender to v5.1.0 2020-08-13 13:48:41 -04:00
Misty (Bot)
2aa36b649a Latest translations and fallbacks 2020-08-13 09:06:42 +00:00
Barış Soner Uşaklı
846b7d2430 refactor: change pwd change logic
add one more test
2020-08-12 22:09:22 -04:00
renovate[bot]
bb8f7c74be chore(deps): update dependency jsdom to v16.4.0 (#8554)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-12 21:17:52 -04:00
renovate[bot]
fde4f11038 chore(deps): update dependency eslint-config-airbnb-base to v14.2.0 (#8396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-12 21:17:35 -04:00
Julian Lam
6e34b9efa2 fix(docs): updating changelog 2020-08-12 20:53:51 -04:00
Barış Soner Uşaklı
b97b51a8ac feat: up deps 2020-08-12 15:37:09 -04:00
Barış Soner Uşaklı
a333cb6ca4 feat: one more test 2020-08-12 13:46:30 -04:00
Barış Soner Uşaklı
ecda4ad8ad feat: tests for password change 2020-08-12 13:42:55 -04:00
Julian Lam
16cee1b03b fix: improper targetUid check during password change 2020-08-12 13:23:58 -04:00
Julian Lam
0903eb4b8c feat: limit privileges column to superadmins only 2020-08-12 13:00:55 -04:00
Misty (Bot)
9500871e47 chore: incrementing version number - v1.14.3-beta.14 2020-08-12 04:35:41 +00:00
Peter Jaszkowiak
1d170e0c1c fix: #8547, remove old deps during upgrade (#8557) 2020-08-11 14:32:44 -04:00
Julian Lam
12edd18b46 feat: use nodebb-scoped bootswatch
closes #8527
2020-08-11 13:43:25 -04:00
Barış Soner Uşaklı
6e91885836 feat: use assetBaseUrl instead of hardcoding 2020-08-11 11:09:46 -04:00
Barış Soner Uşaklı
3f01f4a2b8 Revert "feat: load timeago strings client-side"
This reverts commit 558a2d739c.
2020-08-11 11:06:46 -04:00
Julian Lam
558a2d739c feat: load timeago strings client-side
9adaccd036 introduced the ability to
configure an assetBaseUrl, but the timeago strings were still
calling a hardcoded value as it was handled server-side. There's
no need for the strings to be loaded until timeago is initialised.
2020-08-11 11:00:45 -04:00
Barış Soner Uşaklı
79e847d424 fix: #8558, only navigate if user is in same topic 2020-08-11 10:20:17 -04:00
Misty (Bot)
b5a2e4b69f chore: incrementing version number - v1.14.3-beta.13 2020-08-10 15:18:56 +00:00
Julian Lam
8ff09630b6 fix(openapi): new api definition 2020-08-10 10:35:44 -04:00
Julian Lam
9adaccd036 feat: +assetBaseUrl, -l10BaseUrl, -requireBaseUrl
Additional base URLs were necessary for benchpress and translator,
and in order to not clutter the API response with needless one-
time use base URLs, I decided to use a single base that is used
by all of the services, assetBaseUrl.
2020-08-10 10:23:52 -04:00
Misty (Bot)
75ef4bbe34 Latest translations and fallbacks 2020-08-09 09:05:53 +00:00
Barış Soner Uşaklı
b61a4da50c feat: #8550, add upgrade script test
flush test db after tests are complete
2020-08-07 20:20:02 -04:00
Barış Soner Uşaklı
33c5988c34 refactor: rewrite src/upgrade.js with async/await 2020-08-07 19:52:04 -04:00
Barış Soner Uşaklı
231d34d0aa fix: upgrade script 2020-08-07 19:26:18 -04:00
Barış Soner Uşaklı
8887f0edaa fix: don't allow duplicate upgrade script names 2020-08-07 18:57:40 -04:00
Misty (Bot)
f4c986a79a chore: incrementing version number - v1.14.3-beta.12 2020-08-07 20:10:21 +00:00
Julian Lam
9e3fd0e479 Revert "feat: #8493, plugin helper for standardised link/button injection"
This reverts commit 0bbb813e4b.
2020-08-07 12:25:17 -04:00
Sam Thompson
0bbb813e4b feat: #8493, plugin helper for standardised link/button injection 2020-08-07 11:48:04 -04:00
Julian Lam
d6297b28e9 fix: tests 2020-08-07 11:45:15 -04:00
Julian Lam
9f3b78118a fix: send hard 404 instead of soft 404 for missing modules
We used to send a soft 404 because require.js would error out on
a 404, but it seems years ago, error handling was added to the
require() call, so a hard 404 will not throw errors to the console
2020-08-07 11:32:07 -04:00
Renovate Bot
8032c8bdfe fix(deps): update dependency nodebb-theme-persona to v10.2.5 2020-08-07 10:52:40 -04:00
Misty (Bot)
8a6bc10eb1 Latest translations and fallbacks 2020-08-07 09:06:08 +00:00
Barış Soner Uşaklı
d6baf5c278 feat: show event/params on error 2020-08-06 11:25:13 -04:00
Julian Lam
68f8d6e3a1 fix: #8549 send 308 Permanent Redirect on topic/category shortlinks 2020-08-06 10:49:15 -04:00
Julian Lam
def16f9e97 feat: introduce overridable l10nBaseUrl config value 2020-08-06 10:49:15 -04:00
Misty (Bot)
9846498df7 Latest translations and fallbacks 2020-08-06 09:06:05 +00:00
Barış Soner Uşaklı
3fceb83c5e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-08-05 22:32:26 -04:00
Barış Soner Uşaklı
58933c4cd1 feat: allow multiple empty lines 2020-08-05 22:32:13 -04:00
renovate[bot]
788a8bfe2a chore(deps): update dependency eslint-plugin-import to v2.22.0 (#8390)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-05 22:29:49 -04:00
Barış Soner Uşaklı
2c35d0ba87 refactor: change incrementViewCount and markAsRead to async/await 2020-08-05 22:05:35 -04:00
Barış Soner Uşaklı
dfabd0a3fe feat: remove administrator property from public routes 2020-08-05 14:24:00 -04:00
Renovate Bot
fe352eb1de chore(deps): update dependency mocha to v8.1.1 2020-08-04 15:27:35 -04:00
Barış Soner Uşaklı
4216c277d5 feat: focus username when modal is shown 2020-08-04 13:39:27 -04:00
Barış Soner Uşaklı
774e5d0429 feat: add helmet middlewares 2020-08-04 09:51:30 -04:00
Barış Soner Uşaklı
6812691d32 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-08-04 08:49:32 -04:00
Barış Soner Uşaklı
c39c51139b fix: remove default helmet 2020-08-04 08:49:23 -04:00
Misty (Bot)
3463fc51c6 Latest translations and fallbacks 2020-08-04 09:06:28 +00:00
Misty (Bot)
8618c32a72 chore: incrementing version number - v1.14.3-beta.11 2020-08-04 01:26:32 +00:00
Julian Lam
2ee6248316 refactor: for codeclimate 2020-08-03 21:01:36 -04:00
Julian Lam
a7071bb808 fix: map instead of forEach in privileges save 2020-08-03 20:50:17 -04:00
Julian Lam
a716a5529c feat: more discrete commit-on-save instead of commit-on-change w/ confirm modals (#8541)
* feat: privileges save button, #8537, WIP

* fix: disable firefox autocomplete on privilege form fields

* feat: closes #8537 privilege changes commit on save

- new language strings for confirmation and success modals/toasts
- indeterminate privilege handling (/cc @psychobunny)
- added new discard button
- both discard and save buttons now have confirmation dialogs

* fix(tests): remove duplicate template helper test

* fix(tests): broken template helper test

* feat: confirm dialogs for all privilege copy actions

Also, ability to add user to a privilege table without needing
to refresh the privilege table.

* feat: group row addition w/o table refresh

breaking: helpers.getUserPrivileges and helpers.getGroupPrivileges
no longer make socket calls to the following hooks:

- filter:privileges.list, filter:privileges.admin.list,
  filter:privileges.global.list, filter:privileges.groups.list,
  filter:privileges.admin.groups.list,
  filter:privileges.gloval.groups.list

The filters are still called, but done before the helper method
is called, and the results are passed in instead. This change
should only affect you if you directly call the helper methods,
otherwise the change is transparent.

* fix: stale ajaxify data on privilege category switch

* fix: implicit privileges not showing for user privs

* fix: groups, not group, also fix tests

* fix(tests): again

* fix: wrong tpl rendered when adding group to global priv table
2020-08-03 20:42:45 -04:00
Julian Lam
0f10e0836b fix: remove duplicate configuration for helmet-hsts 2020-08-03 20:40:44 -04:00
renovate[bot]
ad68a338c4 fix(deps): update dependency helmet to v4 (#8543)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-03 11:04:39 -04:00
renovate[bot]
37418375f2 chore(deps): update dependency eslint to v7.6.0 (#8540)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-03 11:03:33 -04:00
renovate[bot]
4160e8285f fix(deps): update dependency mongodb to v3.6.0 (#8535)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-03 11:03:14 -04:00
renovate[bot]
72a78833fe chore(deps): update dependency mocha to v8.1.0 (#8536)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-03 10:57:53 -04:00
Misty (Bot)
8da742e065 Latest translations and fallbacks 2020-08-03 09:06:00 +00:00
renovate[bot]
b30ecffbf2 fix(deps): update dependency nodebb-theme-persona to v10.2.4 (#8544)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-02 12:34:09 -04:00
Misty (Bot)
903c407171 Latest translations and fallbacks 2020-08-02 09:05:38 +00:00
Misty (Bot)
fa341714fd chore: incrementing version number - v1.14.3-beta.10 2020-08-01 01:41:46 +00:00
Barış Soner Uşaklı
e7a502e0aa feat: add ability to search groups in group details page 2020-07-31 21:21:15 -04:00
Barış Soner Uşaklı
335169f2b1 fix: don't process invalid topics, fallback to 0 score 2020-07-31 18:20:24 -04:00
Barış Soner Uşaklı
6924a22238 fix: tests 2020-07-31 14:54:16 -04:00
Barış Soner Uşaklı
bb224184d8 fix: #8539, enforce content checks for post queue 2020-07-31 13:37:14 -04:00
Barış Soner Uşaklı
776e34a80f refactor: rewrite src/install with async/await 2020-07-31 12:49:25 -04:00
Julian Lam
6c00ec8435 refactor: removed rather redundant flag reporters zset 2020-07-31 11:38:05 -04:00
Julian Lam
0f2b6f1ff7 fix: bug; additional reports could be added by the same user repeatedly 2020-07-31 11:38:05 -04:00
Barış Soner Uşaklı
519e665939 fix: #8538, go to first unread instead of last read 2020-07-31 10:34:10 -04:00
Misty (Bot)
029f477434 Latest translations and fallbacks 2020-07-31 09:06:17 +00:00
Barış Soner Uşaklı
0d698a079e fix: #8533, validate and retry password during setup 2020-07-30 22:48:24 -04:00
Barış Soner Uşaklı
9e80a9efdd fix: #8534, dont show modal on search 2020-07-30 22:33:11 -04:00
Misty (Bot)
9945c4099f chore: incrementing version number - v1.14.3-beta.9 2020-07-30 19:17:00 +00:00
Barış Soner Uşaklı
fb7bb8d400 feat: use category selector in category page
fix privilege shortcuts in group page after search
2020-07-30 14:55:28 -04:00
Barış Soner Uşaklı
560f3eb173 feat: css fixes 2020-07-30 12:39:10 -04:00
Barış Soner Uşaklı
91411cc47c feat: add privileges shortcut to groups list
fix issues with escape group names
2020-07-30 12:26:37 -04:00
Julian Lam
fcdbdf63a3 refactor: flags object in post tools 2020-07-30 09:53:16 -04:00
Misty (Bot)
caa78cc1f6 Latest translations and fallbacks 2020-07-30 09:06:18 +00:00
Barış Soner Uşaklı
f1974fb900 refactor: pass only needed data 2020-07-29 21:48:31 -04:00
Barış Soner Uşaklı
9f346c53ab fix: language string 2020-07-29 21:29:06 -04:00
Misty (Bot)
b5dcce9c29 chore: incrementing version number - v1.14.3-beta.8 2020-07-29 23:00:58 +00:00
Barış Soner Uşaklı
f89ec20574 feat: allow passing groupName to user.search 2020-07-29 18:32:08 -04:00
Julian Lam
292d490443 feat: #8531, closes #8531 2020-07-29 16:57:28 -04:00
Julian Lam
c705e08a76 feat: allow direct link to flag from post tools, #8531 2020-07-29 16:55:18 -04:00
Barış Soner Uşaklı
8415d2f014 fix: api test 2020-07-29 14:29:07 -04:00
Barış Soner Uşaklı
c4829fd8c2 feat: allow changing requirejs base url 2020-07-29 14:14:45 -04:00
Barış Soner Uşaklı
9df871bee2 fix: tests 2020-07-29 12:53:36 -04:00
Barış Soner Uşaklı
bbc7737e14 feat: ability to clear cache from acp 2020-07-29 12:50:18 -04:00
Barış Soner Uşaklı
69fb15276c fix: tests 2020-07-29 12:19:07 -04:00
Barış Soner Uşaklı
8d8117ffa1 feat: reduce amount of data loaded on acp admin page
get rid of socket call and use ajaxify.data.categories
2020-07-29 11:57:20 -04:00
Barış Soner Uşaklı
7331faed9f fix: reverse uid checks 2020-07-29 11:48:32 -04:00
Barış Soner Uşaklı
303bffdb5f feat: remove require fallback for plugins 2020-07-29 11:19:29 -04:00
Barış Soner Uşaklı
2dfe9d49f4 fix: acp view category button if category is a link 2020-07-29 09:25:21 -04:00
Barış Soner Uşaklı
52718ce0ba fix: remove old test 2020-07-29 09:14:23 -04:00
Barış Soner Uşaklı
f5f7d8926b Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-07-29 08:22:27 -04:00
Barış Soner Uşaklı
762b0be4b4 feat: remove /assets/stylesheet.css 2020-07-29 08:20:41 -04:00
Barış Soner Uşaklı
6250a2e242 feat: add node 14 2020-07-28 21:36:08 -04:00
Misty (Bot)
d580cf01c3 Latest translations and fallbacks 2020-07-28 09:06:14 +00:00
Barış Soner Uşaklı
5e5815f051 fix: #8515, fix login redirect on subfolder 2020-07-27 22:28:07 -04:00
Misty (Bot)
2531c44cdf chore: incrementing version number - v1.14.3-beta.7 2020-07-28 02:05:58 +00:00
Barış Soner Uşaklı
f48d155670 fix: tests 2020-07-27 21:50:07 -04:00
Barış Soner Uşaklı
fd4c3cda42 fix: #4695, remove new notif alert 2020-07-27 21:34:21 -04:00
Julian Lam
8473e165a6 fix: too small sortable handle for ACP>Manage>Categories
The handle was initially just the icon, but now it is the icon
and the category label itself.
2020-07-27 16:07:52 -04:00
Misty (Bot)
97088f6887 chore: incrementing version number - v1.14.3-beta.6 2020-07-27 17:43:36 +00:00
Misty (Bot)
93d1ceccdd Latest translations and fallbacks 2020-07-27 17:18:47 +00:00
Misty (Bot)
43e9c25d26 Latest translations and fallbacks 2020-07-27 17:09:09 +00:00
Barış Soner Uşaklı
db07dd8565 fix: less fixes for category dropdown 2020-07-27 13:03:34 -04:00
Barış Soner Uşaklı
24535a62e7 feat: make category tools in acp a dropdown
add view category, view privileges into dropdown
2020-07-27 12:39:32 -04:00
Barış Soner Uşaklı
37e56d94ce feat: series upload 2020-07-27 11:46:14 -04:00
renovate[bot]
7a59c2fc71 fix(deps): update dependency nodebb-theme-persona to v10.2.1 (#8529)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-25 20:48:05 -04:00
Barış Soner Uşaklı
8bd63f61e0 feat: resolve flag on delete/purge/ban/delete account 2020-07-25 18:26:09 -04:00
Barış Soner Uşaklı
c54b6b9c7e refactor: startup 2020-07-25 09:44:50 -04:00
Barış Soner Uşaklı
57135761ca fix: move check inside lock 2020-07-25 09:26:08 -04:00
Barış Soner Uşaklı
af91c26a6f refactor: get rid of bind calls 2020-07-25 09:14:13 -04:00
Barış Soner Uşaklı
e045436c07 feat: 8502, don't change topics sitemaps on every reply
sort by topic creation in ascending order
2020-07-24 16:11:18 -04:00
Barış Soner Uşaklı
0a9ea91fea feat: allow building custom languages during dev 2020-07-24 15:47:28 -04:00
Misty (Bot)
a33a8a5a27 chore: incrementing version number - v1.14.3-beta.5 2020-07-24 19:07:39 +00:00
Barış Soner Uşaklı
cc86f079e1 feat: add link-plugins.sh 2020-07-24 15:04:14 -04:00
Barış Soner Uşaklı
79009d8775 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-07-24 14:55:37 -04:00
Barış Soner Uşaklı
d1cb405d86 fix: #7351, display less errors with location and error message 2020-07-24 14:54:01 -04:00
Renovate Bot
d24a4bd305 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.53 2020-07-24 14:53:24 -04:00
Julian Lam
345fd72b30 fix: use shorter git url, #8527 2020-07-24 14:42:43 -04:00
Barış Soner Uşaklı
609e37a67b feat: remove deprecated utils.walk 2020-07-24 14:29:08 -04:00
Julian Lam
b714ed22e7 fix(deps): bump themes
closes #8510
2020-07-24 14:11:30 -04:00
Julian Lam
55b0e902fb feat: consolidation of flags to reduce flagspam, #8510
Squashed commit of the following:

commit c6d0939620
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 24 13:41:32 2020 -0400

    fix: more tests

commit 32f9af2a87
Merge: e50907535 4eae927d1
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 24 10:53:04 2020 -0400

    Merge remote-tracking branch 'origin/master' into singleton-flags

commit e509075351
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 24 10:52:46 2020 -0400

    fix: controllers-admin test

commit fd5af99e30
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 17:26:55 2020 -0400

    fix(tests): dummy commit to trigger travisCI

commit c452a6ffcf
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 17:05:09 2020 -0400

    fix(openapi): openapi spec changes

commit 8089a74e89
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 15:48:00 2020 -0400

    fix: reversing the order of reports for display purposes

commit a099892b37
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 15:45:44 2020 -0400

    refactor: run all flag creation calls in a single batch

commit b24999682f
Author: Julian Lam <julian@nodebb.org>
Date:   Fri Jul 17 15:08:23 2020 -0400

    feat: handling multiple reporters per flag, #8510

commit 08c75c0200
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Jul 16 20:53:18 2020 -0400

    feat: upgrade script for #8510
2020-07-24 14:10:37 -04:00
Barış Soner Uşaklı
3761f05c98 feat: change invalid language codes to default lang 2020-07-24 12:22:24 -04:00
Barış Soner Uşaklı
a294e1cdd1 feat: add npx, fixes ghfw 2020-07-24 12:03:35 -04:00
Barış Soner Uşaklı
ce6b20c4b7 feat: remove topics.async.getTopicData usage 2020-07-24 12:02:16 -04:00
Barış Soner Uşaklı
0cea713691 feat: remove deprecated checkGlobalPrivacySettings 2020-07-24 11:42:37 -04:00
Barış Soner Uşaklı
a0da2ba774 feat: remove deprecated isAdmin method 2020-07-24 11:40:21 -04:00
Barış Soner Uşaklı
2cdb935f1d feat: remove file.isFileTypeAllowed 2020-07-24 11:21:26 -04:00
Barış Soner Uşaklı
4eae927d14 feat: remove deprecated hooks 2020-07-24 10:39:51 -04:00
renovate[bot]
8c498fa1c9 chore(deps): update dependency @apidevtools/swagger-parser to v10.0.1 (#8517)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-24 10:05:13 -04:00
renovate[bot]
75fb2a478e fix(deps): update dependency commander to v6 (#8518)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-24 10:04:59 -04:00
Barış Soner Uşaklı
9869064ec5 feat: update readme 2020-07-24 10:02:07 -04:00
Barış Soner Uşaklı
b39e014047 feat: up node version to 10 2020-07-24 10:01:24 -04:00
renovate[bot]
c872bd8b22 chore(deps): update dependency nyc to v15.1.0 (#8353)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-24 10:00:12 -04:00
renovate[bot]
b2be329cfd chore(deps): update dependency eslint to v7.5.0 (#8463)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-24 09:57:27 -04:00
renovate[bot]
82ada1bd78 chore(deps): update dependency jsdom to v16.3.0 (#8483)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-24 09:57:00 -04:00
renovate[bot]
b2dc6d60ab chore(deps): update dependency grunt to v1.2.1 (#8462)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-24 09:56:41 -04:00
renovate[bot]
f1cc4e29f4 fix(deps): update dependency archiver to v5 (#8523)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-24 09:56:16 -04:00
renovate[bot]
2941b9f982 fix(deps): update dependency lru-cache to v6 (#8490)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-24 09:55:48 -04:00
renovate[bot]
9c17a6779c fix(deps): update dependency connect-redis to v5 (#8480)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-24 09:55:33 -04:00
Misty (Bot)
55b3e376c6 chore: incrementing version number - v1.14.3-beta.4 2020-07-24 06:01:31 +00:00
psychobunny
4c90fac412 fix: cursor for category select 2020-07-24 01:30:16 -04:00
psychobunny
bc26883aed refactor: setting codeclimate to A 2020-07-23 23:23:35 -04:00
psychobunny
8769e28b28 fix: api docs for admin/manage/groups/x 2020-07-23 23:00:02 -04:00
Barış Soner Uşaklı
b9cff5775c fix: edge case in test
if user is created the other one will be renamed
2020-07-23 21:42:23 -04:00
psychobunny
a6ae69737b Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-07-23 18:34:20 -04:00
psychobunny
10e4ae629c feat: highlight privs row if group is added / navigating from group page 2020-07-23 18:34:07 -04:00
psychobunny
53f6139b8c feat: prevent navigation away from groups page if changes are unsaved 2020-07-23 18:06:55 -04:00
psychobunny
2c83278f97 feat: quick access dropdown on groups page to access privileges page 2020-07-23 17:59:52 -04:00
Barış Soner Uşaklı
42af4b572b fix: api tests 2020-07-23 16:54:36 -04:00
Barış Soner Uşaklı
844f2b4ed0 feat: #8524, allow editing category of queued topic 2020-07-23 16:43:56 -04:00
Barış Soner Uşaklı
7260646d6c fix: #8500, allow regular users select topics on unread 2020-07-23 09:27:00 -04:00
Barış Soner Uşaklı
4658121a7d fix: don't crash if content is undefined 2020-07-22 17:03:29 -04:00
Misty (Bot)
5a5abf3c4e chore: incrementing version number - v1.14.3-beta.3 2020-07-22 16:08:50 +00:00
Barış Soner Uşaklı
fefe994af5 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-07-22 11:46:22 -04:00
Barış Soner Uşaklı
ff3c343532 feat: remove js-enabled 2020-07-22 11:46:10 -04:00
renovate[bot]
ac257a6586 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.52 (#8522)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-22 11:41:11 -04:00
Misty (Bot)
bbab183fec chore: incrementing version number - v1.14.3-beta.2 2020-07-22 14:54:41 +00:00
Barış Soner Uşaklı
ec05783507 feat: remove js-enabled.css 2020-07-22 10:38:52 -04:00
Barış Soner Uşaklı
a3c8d45626 fix: crash if csrfToken does not exist 2020-07-21 21:07:31 -04:00
Barış Soner Uşaklı
6f889c9c83 fix: try again 2020-07-21 20:53:25 -04:00
Barış Soner Uşaklı
a46adb3fd5 fix: more tests 2020-07-21 20:43:16 -04:00
Barış Soner Uşaklı
65395ae59d fix: tests 2020-07-21 20:32:36 -04:00
Barış Soner Uşaklı
72c60d19c2 fix: tests 2020-07-21 20:08:40 -04:00
Barış Soner Uşaklı
67ca5e3256 fix: tests 2020-07-21 18:26:26 -04:00
Barış Soner Uşaklı
2a5f8ab27e feat: dont load all subscribers at once
increase batch to 500
2020-07-21 18:19:46 -04:00
Barış Soner Uşaklı
23a9a334cd feat: short more info 2020-07-21 18:08:53 -04:00
Misty (Bot)
2c06f6ace1 chore: incrementing version number - v1.14.3-beta.1 2020-07-21 01:43:15 +00:00
Barış Soner Uşaklı
2485a55092 feat: #8521, allow editing title before posting from queue 2020-07-20 21:28:17 -04:00
Barış Soner Uşaklı
8ddc8dd10f refactor: make msg pretty 2020-07-20 17:58:42 -04:00
Barış Soner Uşaklı
764969ab29 feat: show language when key isn't found 2020-07-20 17:56:03 -04:00
Barış Soner Uşaklı
1e7397b1b8 feat: allow searching categories in ACP 2020-07-20 13:17:08 -04:00
renovate[bot]
f06b1cecba fix(deps): update dependency nodebb-theme-persona to v10.1.68 (#8520)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-19 20:49:04 -04:00
Barış Soner Uşaklı
320008cd49 feat: #8509, don't scroll chat to bottom if user scrolled up 2020-07-19 14:34:31 -04:00
renovate[bot]
b5df576646 fix(deps): update dependency nodebb-plugin-mentions to v2.9.3 (#8516)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-18 22:03:20 -04:00
Renovate Bot
649c64e4d4 fix(deps): update dependency nodebb-plugin-dbsearch to v4.1.2 2020-07-17 16:46:25 -04:00
psychobunny
06143ca7d7 feat: added quick link to edit privileges on the category edit page 2020-07-17 16:27:47 -04:00
Renovate Bot
91bdc12a16 fix(deps): update dependency nodebb-plugin-mentions to v2.9.2 2020-07-17 15:46:25 -04:00
Renovate Bot
9e2c3ce005 chore(deps): update dependency @apidevtools/swagger-parser to v10 2020-07-16 19:42:20 -04:00
Barış Soner Uşaklı
3653151143 fix: #8508, dont allow moving topics if not moderator of target category 2020-07-16 16:47:49 -04:00
Julian Lam
1e14af4503 fix: composer textarea placeholder l10n /cc @pitaj 2020-07-16 16:25:36 -04:00
Renovate Bot
0e13fd0fc1 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.51 2020-07-16 10:08:45 -04:00
Misty (Bot)
3f87d5f9d0 chore: incrementing version number - v1.14.3-beta.0 2020-07-16 14:03:48 +00:00
Julian Lam
9fb9185fa7 feat: hide some filters behind 'more filters' button 2020-07-16 09:32:20 -04:00
Julian Lam
d52d7bdb10 feat: collapsible daily flags graph 2020-07-16 09:03:03 -04:00
Julian Lam
e3e55f25d0 refactor: flag sanity checks, +feat: flag limits
- Added new config flag:limitPerTarget, to disallow flags after an item has
  already been flagged x times (default 0, or infinite)
- New zset flags:byTarget, score is the number of times a flag has been made
  against that item
- "already-flagged" translation key removed, now "post-already-flagged" or
  "user-already-flagged" -- this fixed bug where flagging a user you've already
  flagged would tell you you've already flagged this post already.
- Refactored Flags.canFlag to throw errors only, instead of returning boolean
- Updated ACP form inputs for reputation settings page to be more bootstrappy
- +1 upgrade script
2020-07-15 17:10:49 -04:00
Misty (Bot)
cd94c24a86 chore: update changelog for v1.14.2 2020-07-15 16:03:40 +00:00
Misty (Bot)
e085c8463c Revert "chore: update changelog for v1.14.2"
This reverts commit 488e69fd80.
2020-07-15 16:01:10 +00:00
Misty (Bot)
1e4d683f4e chore: incrementing version number - v1.14.2
(cherry picked from commit 28970b030d)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2020-07-15 16:00:31 +00:00
Misty (Bot)
488e69fd80 chore: update changelog for v1.14.2 2020-07-15 16:00:31 +00:00
Renovate Bot
c54287fe9c fix(deps): update dependency nodebb-plugin-mentions to v2.9.1 2020-07-15 10:36:58 -04:00
Julian Lam
65240a178e fix: #8499 2020-07-14 13:40:51 -04:00
Julian Lam
1441720962 feat: logic for flag note editing, #8499 2020-07-14 13:38:28 -04:00
Julian Lam
f85a45c722 feat: logic for flag note deletion, #8499 2020-07-14 13:38:28 -04:00
Andrew Rodrigues
63fb2ad7d9 chore: up theme 2020-07-14 12:59:29 -04:00
Misty (Bot)
9d1465d0da chore: incrementing version number - v1.14.2-beta.1 2020-07-14 13:25:39 +00:00
Barış Soner Uşaklı
5e984d10f0 fix: #8500 2020-07-13 16:02:32 -04:00
Renovate Bot
0ca7e28ad0 chore(deps): update commitlint monorepo to v9.1.1 2020-07-13 15:31:37 -04:00
Julian Lam
2286ee2a61 fix: invalid session error modal during logout
A brief flash can be seen, but this is exacerbated by slow
connections and/or slow server response.
2020-07-13 15:17:46 -04:00
Renovate Bot
7730e7da23 fix(deps): update dependency nodebb-plugin-mentions to v2.9.0 2020-07-11 13:53:18 -04:00
Julian Lam
3379d65f36 feat: fire action:flag.showModal on flag modal appearance 2020-07-10 14:40:13 -04:00
Barış Soner Uşaklı
00d39fb32c feat: #8460, export groups members as csv 2020-07-10 13:12:14 -04:00
Andrew Rodrigues
15aabfd3a5 chore: up theme 2020-07-10 12:23:44 -04:00
Julian Lam
2fba0a1405 Merge branch 'master' of github.com:NodeBB/NodeBB 2020-07-10 11:50:55 -04:00
Barış Soner Uşaklı
b3a88331bf fix: #8488 2020-07-10 11:06:18 -04:00
Barış Soner Uşaklı
393f19b461 feat: pass connection options to socket.io-adapter-mongo 2020-07-10 08:39:49 -04:00
Barış Soner Uşaklı
3dcf538773 feat: #8023, allow wildcard search for uid/email 2020-07-09 23:57:54 -04:00
renovate[bot]
4e9743abb3 fix(deps): update dependency nodebb-theme-persona to v10.1.62 (#8485)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-09 23:15:35 -04:00
Andrew Rodrigues
599c5015c8 chore: up theme 2020-07-09 21:45:17 -04:00
Barış Soner Uşaklı
6235b31c2b feat: up composer 2020-07-09 19:11:26 -04:00
Barış Soner Uşaklı
46a6686300 fix: category search in selector 2020-07-09 19:08:01 -04:00
Barış Soner Uşaklı
73ddf1cb98 fix: groups.updateCover 2020-07-09 18:12:51 -04:00
Barış Soner Uşaklı
c513b88dff feat: #8427, daily downvote limits 2020-07-09 12:51:05 -04:00
Misty (Bot)
fca4ee312e chore: incrementing version number - v1.14.2-beta.0 2020-07-09 01:58:10 +00:00
Barış Soner Uşaklı
4adbf87c6c feat: warn user if whitelisted tags are less than minTags 2020-07-08 21:36:48 -04:00
renovate[bot]
ab244ca6cc fix(deps): update dependency nodebb-plugin-composer-default to v6.3.49 (#8479)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 17:24:32 -04:00
Julian Lam
60bf488f54 fix(docs): bad changelog 2020-07-08 16:19:58 -04:00
Julian Lam
26c744090e Revert "chore: update changelog for v1.14.1"
This reverts commit d4c16086a3.
2020-07-08 16:15:19 -04:00
Misty (Bot)
31203b162f chore: incrementing version number - v1.14.1
(cherry picked from commit ddf5c3bf7f)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2020-07-08 20:13:42 +00:00
Misty (Bot)
d4c16086a3 chore: update changelog for v1.14.1 2020-07-08 20:13:42 +00:00
Barış Soner Uşaklı
658dd03b03 feat: add tools to recent/unread (#8477)
* feat: add tools to recent/unread

* fix: open api spec

* fix: more api spec
2020-07-08 14:09:10 -04:00
renovate[bot]
14eafcb6b8 fix(deps): update dependency nodebb-theme-persona to v10.1.60 (#8478)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-08 14:08:49 -04:00
Misty (Bot)
e8ecef6bff chore: incrementing version number - v1.14.1-beta.3 2020-07-08 00:57:31 +00:00
Julian Lam
943a344aaa fix(deps): bump nodebb-plugin-composer-default to 6.3.48 2020-07-07 20:41:49 -04:00
Barış Soner Uşaklı
0d9461b185 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-07-07 20:19:20 -04:00
renovate[bot]
9f06f12cb9 fix(deps): update dependency nodebb-plugin-dbsearch to v4.1.1 (#8476)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-07 20:13:30 -04:00
Barış Soner Uşaklı
c2ca02dfc7 fix: #8474
make isPrimary and isCluster always booleans
they were strings when using ./nodebb start and boolean if they were in config.json and started with node app.js
2020-07-07 20:13:14 -04:00
Julian Lam
8853cd1aa5 fix(tests): another shot in the dark 2020-07-07 19:52:50 -04:00
Julian Lam
9458d90b5e fix(tests): shot in the dark 2020-07-07 18:00:11 -04:00
Julian Lam
4f51838df8 feat: fire new hooks on chat message editing 2020-07-07 17:31:10 -04:00
Barış Soner Uşaklı
7b04d8970d fix: show stack properly 2020-07-07 12:47:14 -04:00
Barış Soner Uşaklı
ace312e068 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-07-07 12:24:30 -04:00
Barış Soner Uşaklı
bdc4d9e75b feat: add back redis tests 2020-07-07 12:24:20 -04:00
Misty (Bot)
b8d9b6b1e1 chore: incrementing version number - v1.14.1-beta.2 2020-07-07 16:23:11 +00:00
Barış Soner Uşaklı
8461a1796d feat: remove redis test 2020-07-07 12:08:36 -04:00
renovate[bot]
857900f17c fix(deps): update dependency nodebb-plugin-composer-default to v6.3.47 (#8473)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-07 11:37:57 -04:00
Julian Lam
9a6b87d261 fix: editing chat messages does not go through content sanity checks 2020-07-06 16:27:13 -04:00
Barış Soner Uşaklı
d6c619cf1a fix: don't show blocked users under nested replies 2020-07-06 15:50:19 -04:00
renovate[bot]
eb51cfd419 fix(deps): update dependency nodebb-plugin-dbsearch to v4.1.0 (#8471)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-06 12:19:23 -04:00
Barış Soner Uşaklı
b60e1cbf50 fix: #8469, action:topic.changeOwner, action:post.changeOwner 2020-07-06 12:12:26 -04:00
Barış Soner Uşaklı
87dd6c83eb fix: tests 2020-07-05 21:06:25 -04:00
Barış Soner Uşaklı
746222d6c6 fix: handle scan/zscan returning duplicate elements on redis
increase count on redis zscan
2020-07-05 20:49:18 -04:00
renovate[bot]
ee38e05daa fix(deps): update dependency nodebb-theme-persona to v10.1.59 (#8468)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-05 17:47:18 -04:00
Barış Soner Uşaklı
9eb748b985 fix: #8467, fix url to merged topic in subfolder installs 2020-07-05 17:41:39 -04:00
renovate[bot]
519e035dd1 fix(deps): update dependency nodebb-widget-essentials to v4.1.1 (#8466)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-04 17:03:37 -04:00
Barış Soner Uşaklı
5f1865c0b7 fix: openapi 2020-07-04 16:54:18 -04:00
Barış Soner Uşaklı
65c0adc720 fix: openapi 2020-07-04 16:49:33 -04:00
Barış Soner Uşaklı
ac6b571ed5 fix: dont allow searching by email/ip if not privileged 2020-07-04 16:43:44 -04:00
Barış Soner Uşaklı
fef04fcf6b fix: missing backgroundImage #8386 2020-07-04 16:08:05 -04:00
Barış Soner Uşaklı
02ac44cc5a fix: dont allow searching by ip/banned/flagged for regular users 2020-07-04 10:19:05 -04:00
Barış Soner Uşaklı
057b783df7 feat: use covered query 2020-07-03 23:23:42 -04:00
renovate[bot]
412ca4ae71 fix(deps): update dependency @nodebb/socket.io-adapter-mongo to v3.0.1 (#8464)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-03 16:59:17 -04:00
Julian Lam
c468942f14 fix(openapi): tests 2020-07-03 12:12:07 -04:00
Julian Lam
f3441fce4f fix: admin privileges client-side regression 2020-07-03 11:39:34 -04:00
Billy Ohgren
89062d8e70 add filename to less render call (#8459) 2020-07-03 09:16:47 -04:00
Julian Lam
da29b947bf feat: add js-enabled.css to list of preloaded css files 2020-07-02 22:51:42 -04:00
Barış Soner Uşaklı
e95cd28f6f Zscan (#8458)
* feat: zscan

* fix: mongodb tests

* feat: scan, ip search starts with
2020-07-02 20:11:53 -04:00
Misty (Bot)
be85123ad5 chore: incrementing version number - v1.14.1-beta.1 2020-07-02 22:14:19 +00:00
Barış Soner Uşaklı
723fe8e8e0 feat: zscan (#8457)
* feat: zscan

* fix: mongodb tests
2020-07-02 17:59:20 -04:00
Misty (Bot)
c279875aa6 chore: incrementing version number - v1.14.1-beta.0 2020-07-02 17:43:02 +00:00
Barış Soner Uşaklı
59a2ace6f7 fix: only add blocksCount for self and admins 2020-07-01 23:16:20 -04:00
Barış Soner Uşaklı
fd20e5c62c fix: tests 2020-07-01 23:05:40 -04:00
Barış Soner Uşaklı
bd228d5ee7 feat: fix blocksCount not being returned on user profile
add hook action:user.blocks.toggle
2020-07-01 22:56:18 -04:00
Julian Lam
f992af05b6 fix: better changelog 2020-07-01 21:37:57 -04:00
Julian Lam
a761e31f02 revert: bad changelog 2020-07-01 21:31:48 -04:00
Misty (Bot)
bb73d6a4ae chore: incrementing version number - v1.14.0
(cherry picked from commit 1c0eb70046)
Signed-off-by: Misty (Bot) <deploy@nodebb.org>
2020-07-02 01:28:06 +00:00
Misty (Bot)
cffae0f149 chore: update changelog for v1.14.0 2020-07-02 01:28:06 +00:00
Misty (Bot)
fe908cc022 Latest translations and fallbacks 2020-07-01 09:05:28 +00:00
Renovate Bot
5a713d85df fix(deps): update dependency nodebb-plugin-composer-default to v6.3.46 2020-06-30 16:14:58 -04:00
Julian Lam
6cb31791ff feat: polish for user blocks UX 2020-06-30 15:02:36 -04:00
Barış Soner Uşaklı
eb9704f85e feat: #8450, next/prev link tags on /unread /recent 2020-06-30 11:34:32 -04:00
Renovate Bot
e80100b5b0 chore(deps): update dependency smtp-server to v3.7.0 2020-06-30 08:59:47 -04:00
Misty (Bot)
a1a5424047 Latest translations and fallbacks 2020-06-30 09:05:40 +00:00
renovate[bot]
bbd8504946 fix(deps): update dependency nodebb-plugin-mentions to v2.8.3 (#8449)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-29 23:07:47 -04:00
Andrew Rodrigues
19f9af94ee chore: bump persona 2020-06-29 21:40:12 -04:00
Julian Lam
6931f29d53 feat: allow flagging of user acounts from post tools menu 2020-06-29 19:49:52 -04:00
Renovate Bot
e7ec5550f3 Update dependency nodebb-theme-vanilla to v11.1.32 2020-06-29 17:52:21 -04:00
Renovate Bot
706fc118f2 Update dependency nodebb-theme-persona to v10.1.57 2020-06-29 17:52:10 -04:00
Renovate Bot
05a6f424a5 Update dependency nodebb-theme-vanilla to v11.1.31 2020-06-29 15:42:05 -04:00
Renovate Bot
6bb0070d03 Update dependency nodebb-theme-persona to v10.1.56 2020-06-29 15:29:41 -04:00
Misty (Bot)
1b1e9b6725 Latest translations and fallbacks 2020-06-29 09:06:13 +00:00
Misty (Bot)
e66b526ca0 Latest translations and fallbacks 2020-06-28 09:05:21 +00:00
Barış Soner Uşaklı
fd400a008d fix: don't show in unreplied if score is null 2020-06-27 21:28:23 -04:00
Barış Soner Uşaklı
e09ab3dc19 feat: closes #8440, allow configuring max topic count 2020-06-27 18:11:27 -04:00
Barış Soner Uşaklı
0d0b951380 fix: lint 2020-06-26 18:25:42 -04:00
Barış Soner Uşaklı
37b6b8fd48 fix: upgrade script to unescape navigation titles 2020-06-26 18:08:34 -04:00
Barış Soner Uşaklı
f0ce309d03 fix: test 2020-06-26 15:26:15 -04:00
Barış Soner Uşaklı
2355d9d5dd fix: escape navigation item fields, theme:id, category fields 2020-06-26 15:19:18 -04:00
Renovate Bot
903673d24c Update dependency nodebb-plugin-mentions to v2.8.2 2020-06-26 12:22:41 -04:00
Misty (Bot)
c0857f6390 Latest translations and fallbacks 2020-06-26 09:05:58 +00:00
Julian Lam
5c7d37c0ae Revert "fix(deps): update dependency nodebb-plugin-mentions to v2.8.0"
This reverts commit d40720f9e6.
2020-06-25 22:38:58 -04:00
Renovate Bot
d40720f9e6 fix(deps): update dependency nodebb-plugin-mentions to v2.8.0 2020-06-25 20:42:22 -04:00
Barış Soner Uşaklı
023de94ef8 fix: show controls @julianlam 2020-06-25 17:08:09 -04:00
Misty (Bot)
9b20d0ce20 Latest translations and fallbacks 2020-06-25 09:07:32 +00:00
Barış Soner Uşaklı
e53a18f219 fix: #8437, #8433 2020-06-24 23:04:24 -04:00
Barış Soner Uşaklı
bffb830d87 feat: add missing translation key 2020-06-24 16:20:50 -04:00
Barış Soner Uşaklı
c3c8b19a36 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-06-24 16:10:51 -04:00
Barış Soner Uşaklı
0d112b3605 refactor: make code climate happier? 2020-06-24 16:10:06 -04:00
renovate[bot]
c1991abe6f fix(deps): update dependency nodebb-plugin-composer-default to v6.3.44 (#8436)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-24 16:04:28 -04:00
Barış Soner Uşaklı
c718b7293e feat: #3783, min/max tags per category 2020-06-24 16:02:57 -04:00
Barış Soner Uşaklı
ed4b5caf2c fix: copy settings showing empty category selection 2020-06-24 16:02:01 -04:00
renovate[bot]
3349274439 chore(deps): update dependency eslint to v7.3.1 (#8417)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-24 15:35:20 -04:00
renovate[bot]
6a8f54fd6b fix(deps): update dependency winston to v3.3.3 (#8431)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-24 15:35:08 -04:00
renovate[bot]
a860a793ef fix(deps): update dependency nodebb-theme-persona to v10.1.55 (#8434)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-24 15:34:59 -04:00
renovate[bot]
272b4992c2 fix(deps): update dependency nodebb-theme-vanilla to v11.1.30 (#8435)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-24 15:34:47 -04:00
Barış Soner Uşaklı
0482fb2998 feat: use tags partial instead of post_bar 2020-06-24 15:31:49 -04:00
Barış Soner Uşaklı
8482a54a68 fix: don't init autocomplete if user doesn't have privs 2020-06-24 10:22:50 -04:00
Barış Soner Uşaklı
00d8ce2663 fix: only allow valid uids 2020-06-23 15:47:10 -04:00
Barış Soner Uşaklı
4f6b6c5631 feat: hide elements if search element is a direct child of dropdown
this fixes themes if they put the search input inside the dropdown
2020-06-23 12:37:12 -04:00
Misty (Bot)
d50f7c7dfa Latest translations and fallbacks 2020-06-23 09:06:09 +00:00
Barış Soner Uşaklı
0ddfb6b088 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-06-23 00:55:10 -04:00
Barış Soner Uşaklı
6aecc1770c feat: increase wait 2020-06-23 00:54:58 -04:00
renovate[bot]
b5a68a4440 fix(deps): update dependency nodebb-theme-vanilla to v11.1.29 (#8429)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-23 00:49:06 -04:00
renovate[bot]
3ffb6fded3 fix(deps): update dependency nodebb-theme-persona to v10.1.54 (#8428)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-23 00:48:53 -04:00
Barış Soner Uşaklı
f03ca0867b fix: tests 2020-06-23 00:46:59 -04:00
Barış Soner Uşaklı
8383992dcc feat: move export functions into child processes 2020-06-23 00:23:46 -04:00
Renovate Bot
54310d69e4 fix(deps): update dependency winston to v3.3.2 2020-06-22 14:16:42 -04:00
Renovate Bot
569b7664ed chore(deps): update commitlint monorepo to v9 2020-06-22 13:31:24 -04:00
Renovate Bot
11244348ae fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.7.2 2020-06-22 12:09:14 -04:00
renovate[bot]
fd628570c5 fix(deps): update dependency winston to v3.3.1 (#8421)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-22 12:08:50 -04:00
Barış Soner Uşaklı
48b41debe6 fix: vulnerability in cover and admin uploads (#8419)
* fix: vulnerability in cover and admin uploads

* fix: remove old test

* fix: update tests
2020-06-22 12:08:35 -04:00
Misty (Bot)
76c577fa3c Latest translations and fallbacks 2020-06-21 09:05:12 +00:00
Barış Soner Uşaklı
e80379dc0e feat: display stack trace on winston.error 2020-06-20 23:32:12 -04:00
Misty (Bot)
55f8f99bcd Latest translations and fallbacks 2020-06-20 09:05:21 +00:00
Julian Lam
040e6a9a4c fix: reverse tabnabbing exploit in post images 2020-06-19 13:40:36 -04:00
Barış Soner Uşaklı
af790e3f5e refactor: shorter code 2020-06-19 12:03:33 -04:00
Barış Soner Uşaklı
d1c1cb2cc1 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-06-19 11:51:48 -04:00
Barış Soner Uşaklı
e8f0da6e42 refactor: shorter code 2020-06-19 11:51:41 -04:00
Misty (Bot)
757cfe80be Latest translations and fallbacks 2020-06-19 09:05:58 +00:00
Barış Soner Uşaklı
79a7f89235 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-06-18 23:24:40 -04:00
Barış Soner Uşaklı
2bcf7f72d2 fix: follower count going out of sync with real follower count 2020-06-18 23:24:03 -04:00
Barış Soner Uşaklı
bef37e27cb fix: test lock for user create (#8415)
* fix: test lock for user create

* fix: redis hdel with undefined

* feat: add test for undefined key in deleteObjectFields
2020-06-18 23:16:48 -04:00
Barış Soner Uşaklı
f0526bff9f fix: add mising timestamp 2020-06-18 15:41:58 -04:00
Barış Soner Uşaklı
a680a95e73 feat: add filter:user.getFields to match topic/posts 2020-06-17 11:46:42 -04:00
Renovate Bot
157e744473 chore(deps): update dependency lint-staged to v10.2.11 2020-06-17 09:22:00 -04:00
Misty (Bot)
f5b3713313 Latest translations and fallbacks 2020-06-17 09:05:42 +00:00
Barış Soner Uşaklı
bfd7eafe5b fix: ban 2020-06-16 22:43:03 -04:00
Barış Soner Uşaklı
b459592a4e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-06-16 14:58:09 -04:00
Barış Soner Uşaklı
f70d1648c6 feat: show more relevant snippets 2020-06-16 14:58:02 -04:00
Manuel Valle
056f85f864 Topic hooks extension (#8413)
* Update data.js with new hook

Implemented new 'filter:topic.getFields' hook as in posts

* Update data.js

* Update data.js
2020-06-16 13:50:07 -04:00
Julian Lam
4cae893f49 fix(openapi): tests for #8412 2020-06-16 11:58:28 -04:00
Julian Lam
365996e7e6 fix(deps): #8412 bump themes 2020-06-16 11:36:03 -04:00
Julian Lam
35a06a8419 feat: #8412 breadcrumbs for ip-blacklist/post queue/flags 2020-06-16 11:34:44 -04:00
Misty (Bot)
7fe9c1a26d Latest translations and fallbacks 2020-06-16 09:05:31 +00:00
Julian Lam
5a367ecbb4 fix: remove use of 'hidden' class in navbar toggling 2020-06-15 17:35:05 -04:00
Julian Lam
f909ed2541 feat: show editor in post diffs if available 2020-06-15 17:16:44 -04:00
Julian Lam
2515aa77ba fix: bug where category privs page thought it was on admin 2020-06-15 16:33:38 -04:00
Julian Lam
b3115ea813 fix: #8410 2020-06-15 15:43:28 -04:00
Misty (Bot)
cdf81159df Latest translations and fallbacks 2020-06-15 18:42:49 +00:00
Julian Lam
225cac1855 fix(deps): bump persona/vanilla, closes #8408 2020-06-15 14:24:55 -04:00
Julian Lam
d5af976915 feat: #8408 flags' quick assignment 2020-06-15 14:22:59 -04:00
Julian Lam
d5578c9906 fix: tests breaking due to #8406 2020-06-15 14:09:47 -04:00
Barış Soner Uşaklı
42466d3c6e fix: add missing translations 2020-06-15 12:39:10 -04:00
Julian Lam
cb5ba76b08 feat: bump themes, closes #8406 2020-06-15 11:05:28 -04:00
Julian Lam
58b3d608fc feat: allow post diffs to be restored, #8406 2020-06-15 11:03:04 -04:00
Barış Soner Uşaklı
7ed1a0140a fix: #8401, #8237
switch to @nodebb/socket.io-adapter-mongo
2020-06-14 22:49:59 -04:00
Barış Soner Uşaklı
18d892398f fix: add timestamp to initial username history 2020-06-13 13:55:48 -04:00
Misty (Bot)
8f81651e2f Latest translations and fallbacks 2020-06-12 16:20:33 +00:00
renovate[bot]
3c3e1515aa fix(deps): update dependency sharp to v0.25.4 (#8403)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 12:16:12 -04:00
renovate[bot]
904463659e fix(deps): update dependency nodebb-theme-vanilla to v11.1.25 (#8405)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 12:02:55 -04:00
renovate[bot]
44273a64d0 fix(deps): update dependency nodebb-theme-persona to v10.1.50 (#8404)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 12:01:09 -04:00
renovate[bot]
90570660f0 fix(deps): update dependency mongodb to v3.5.9 (#8402)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 10:48:48 -04:00
Renovate Bot
102a60040e chore(deps): update dependency lint-staged to v10.2.10 2020-06-12 10:43:22 -04:00
Barış Soner Uşaklı
53a9517d54 fix: crash in export posts if post content is undefined 2020-06-12 10:29:07 -04:00
Renovate Bot
78b7382c3f fix(deps): update dependency nodebb-plugin-composer-default to v6.3.43 2020-06-11 17:57:27 -04:00
renovate[bot]
f4bace03d4 chore(deps): update dependency mocha to v8 (#8393)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 17:23:12 -04:00
renovate[bot]
2ae68f9bda fix(deps): update dependency validator to v13.1.1 (#8397)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 17:20:46 -04:00
Barış Soner Uşaklı
3a80a1651a feat: add missing translation 2020-06-11 12:52:25 -04:00
Barış Soner Uşaklı
0041c02465 fix: messaging unread
dont mark chat room unread and then read right away for the user sending the message
2020-06-10 20:49:41 -04:00
Barış Soner Uşaklı
96cb94dcc6 feat: up composer 2020-06-10 17:14:12 -04:00
renovate[bot]
ad6e3634a5 fix(deps): update dependency validator to v13.1.0 (#8391)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 17:10:42 -04:00
renovate[bot]
eec03de81e fix(deps): update dependency nodebb-theme-vanilla to v11.1.24 (#8395)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 17:10:24 -04:00
renovate[bot]
908467400d fix(deps): update dependency nodebb-theme-persona to v10.1.49 (#8394)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 17:10:13 -04:00
Barış Soner Uşaklı
6349fa03e1 feat: more search changes 2020-06-10 16:56:05 -04:00
Barış Soner Uşaklı
4b38533b15 feat: more merge/search fixes 2020-06-10 15:11:57 -04:00
Barış Soner Uşaklı
066b442e18 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-06-10 12:48:45 -04:00
Barış Soner Uşaklı
bb3aa54006 feat: merge changes
allow selecting main topic to merge into
allow specifying a new title for merge topic
upon merge go to correct topic
new tests for merging with options
2020-06-10 12:48:32 -04:00
Barış Soner Uşaklı
a024cc1344 fix: whitespace 2020-06-10 09:44:03 -04:00
Barış Soner Uşaklı
0595e71078 fix: typo 2020-06-10 09:29:56 -04:00
Barış Soner Uşaklı
89b010249d fix: #8392, clear group member cache when group is renamed 2020-06-10 08:48:42 -04:00
Barış Soner Uşaklı
8591f5d2cc fix: return false 2020-06-10 08:02:07 -04:00
Barış Soner Uşaklı
5fd05dc942 feat: more search & merge fixes 2020-06-09 16:49:56 -04:00
Barış Soner Uşaklı
c4bdeae06e feat: merge improvements wip 2020-06-09 15:26:41 -04:00
Renovate Bot
87ce31d1f5 fix(deps): update dependency postcss to v7.0.32 2020-06-09 11:47:38 -04:00
Renovate Bot
cd1375cbd5 chore(deps): update dependency eslint to v7.2.0 2020-06-09 11:47:27 -04:00
Renovate Bot
dde830db9a fix(deps): update dependency nodebb-plugin-composer-default to v6.3.41 2020-06-09 11:47:11 -04:00
Barış Soner Uşaklı
a255c8f6fd fix: language 2020-06-09 11:44:04 -04:00
renovate[bot]
cf0f8f64a9 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.40 (#8388)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-09 11:00:10 -04:00
Barış Soner Uşaklı
8627bee541 fix: #8386, use backgroundImage everywhere 2020-06-09 10:39:55 -04:00
Julian Lam
6a96944247 fix(openapi): api change for #8387 2020-06-09 10:25:19 -04:00
Julian Lam
e97a2b71fe fix(deps): bump themes, closes #8387 2020-06-09 10:09:03 -04:00
Julian Lam
4acb3fb210 feat: #8387 expose global and admin privs to flags detail page 2020-06-09 10:06:37 -04:00
Misty (Bot)
2287963388 chore: latest translations and fallbacks 2020-06-08 21:22:20 +00:00
Barış Soner Uşaklı
3be4d5f7d5 feat: redirect /me to user profile 2020-06-08 15:37:20 -04:00
Barış Soner Uşaklı
d92032dad1 fix: prevent logout form from submitting 2020-06-08 15:09:11 -04:00
Julian Lam
ccac6a3568 fix(deps): bump themes 2020-06-08 14:22:34 -04:00
Julian Lam
daeceb45bd fix: missing space in ACP menu dropdown 2020-06-08 13:48:05 -04:00
Julian Lam
4d60eac60f feat: #8384 options to delete account, content, or both 2020-06-08 13:42:28 -04:00
Julian Lam
942cc4b132 fix: #8385 2020-06-08 13:42:28 -04:00
renovate[bot]
036e6ef51b fix(deps): update dependency nodebb-theme-persona to v10.1.46 (#8382)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-08 10:33:50 -04:00
renovate[bot]
7caeb27310 fix(deps): update dependency nodebb-theme-vanilla to v11.1.21 (#8383)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-08 10:33:34 -04:00
Julian Lam
67aca822e6 feat: account content deletion, closes #8381 2020-06-08 08:43:31 -04:00
Renovate Bot
4b577a527a chore(deps): update dependency eslint-plugin-import to v2.21.1 2020-06-08 07:00:14 -04:00
Renovate Bot
aeefc60beb fix(deps): update dependency nodebb-plugin-composer-default to v6.3.39 2020-06-07 17:16:13 -04:00
Julian Lam
656b391fc5 feat: add missing language files for #8347 2020-06-07 14:37:39 -04:00
Julian Lam
9ae7fd3edb fix: acp language keys from #8347 not updated in tx config 2020-06-07 14:24:55 -04:00
Misty (Bot)
8019d316e2 Latest translations and fallbacks 2020-06-06 09:28:28 +00:00
Barış Soner Uşaklı
50703db879 fix: #8363, dont break history 2020-06-05 18:24:11 -04:00
Barış Soner Uşaklı
0c265a41d4 fix: #8363, go to hash when entering topic 2020-06-05 17:56:31 -04:00
Julian Lam
a82e9bd7f6 feat: privileges for Admin Control Panel (#8355)
* feat: acp privileges (WIP)

* fix: restore global privilege hooks

* refactor: using cid 0 in admin privs

* fix: no need for zebrastripe-reset

* feat: manage:categories privilege WIP

* feat: renamed prefix to admin:, settigns and dashboard privs

* fix: nofocus on acp privs group find modal

* refactor: privileges.x.get() to not used hardcoded privs

* fix: crash if unable to get latest version

* feat: setting acp priv

* Revert "fix: crash if unable to get latest version"

This reverts commit afdb235f48.

* feat: user/privilege acp privs

* fix: category selector in manage/privileges

* fix: guests potentially becoming admins

* fix: bug in setting admin privs

* fix: some last minute things + api docs

* fix: some more last minute fixes
2020-06-05 15:26:51 -04:00
Renovate Bot
7f6ff0b1a5 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.37 2020-06-05 15:18:51 -04:00
Renovate Bot
6b2ea07745 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.36 2020-06-05 13:36:20 -04:00
Barış Soner Uşaklı
30cc83c033 fix: #8374, revert event delete 2020-06-05 12:56:20 -04:00
Julian Lam
09184f4027 fix: new language tag for select_tags 2020-06-05 12:35:53 -04:00
Barış Soner Uşaklı
fd6bf0c927 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-06-05 11:31:47 -04:00
Renovate Bot
2d582df74f fix(deps): update dependency nodebb-plugin-composer-default to v6.3.35 2020-06-05 11:10:14 -04:00
Julian Lam
260a482caa fix: remove duplicate link to manage/tags in settings/tags 2020-06-05 10:27:07 -04:00
Misty (Bot)
73055bfccc Latest translations and fallbacks 2020-06-05 09:29:55 +00:00
renovate[bot]
124125f7dd chore(deps): update dependency lint-staged to v10.2.9 (#8369)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-04 22:43:04 -04:00
Barış Soner Uşaklı
3a078f59ec fix: tests 2020-06-04 22:06:03 -04:00
renovate[bot]
771ea194b3 fix(deps): update dependency nodebb-theme-persona to v10.1.45 (#8372)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-04 21:49:18 -04:00
renovate[bot]
f8ee981bee fix(deps): update dependency nodebb-theme-vanilla to v11.1.20 (#8373)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-04 21:49:07 -04:00
renovate[bot]
d2463bb454 fix(deps): update dependency socket.io-redis to v5.3.0 (#8370)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-04 21:47:36 -04:00
Barış Soner Uşaklı
1b5d5425b4 fix: handle search tag permission as well 2020-06-04 21:42:38 -04:00
Barış Soner Uşaklı
2100a03c1a refactor: change name to privileges to match other apis 2020-06-04 21:31:02 -04:00
cryptoethic
f6b92d241a fix: checking correct permissions for user search (#8371)
* fix: checking correct permissions for user search

* fix: missing permissions porperty in openapi /api/search
2020-06-04 21:27:43 -04:00
Barış Soner Uşaklı
c1d8b9bb5a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-06-04 14:12:12 -04:00
Barış Soner Uşaklı
7786187e84 fix: change event name so it doesnt trigger complete event
add data to complete event
2020-06-04 14:12:04 -04:00
Misty (Bot)
5dc8982da3 Latest translations and fallbacks 2020-06-04 09:30:15 +00:00
Barış Soner Uşaklı
842b8abb84 feat: add buildHeaderAsync (#8367)
* feat: add buildHeaderAsync

make helphers.notAllowed async

* fix: remove csrf from buildHeader

* fix: remove unused method, use middleware

* fix: /post/pid redirect doesn't need buildHeader

use buildHeaderAsync
2020-06-04 01:14:46 -04:00
Barış Soner Uşaklı
dcb85ee7a1 #8344 (#8346)
* feat: wip

* feat: wrap middlewares

* feat: middleware errors

* feat: more middleware changes

* fix: remove unused async

* fix: prevent version errors from blocking acp render

* feat: wrap more middlewares
2020-06-03 20:18:42 -04:00
Julian Lam
023942da7d refactor: making rendering of header and footer async functions
* refactor: make middleware.admin.renderHeader async

* refactor: making rendering of header and footer async functions

* fix: use app.renderAsync instead of promifying it
2020-06-03 19:07:08 -04:00
Renovate Bot
f6ad9605c6 fix(deps): update dependency nodebb-theme-vanilla to v11.1.19 2020-06-03 11:56:20 -04:00
Renovate Bot
cb28e6cfd1 fix(deps): update dependency nodebb-theme-persona to v10.1.44 2020-06-03 11:55:23 -04:00
Julian Lam
8ea1634824 feat: #8360 flag quick actions for delete/restore/purge 2020-06-03 11:49:25 -04:00
Julian Lam
6b1d1acb48 fix(style): more switch..case 2020-06-03 11:46:57 -04:00
Renovate Bot
331b1a85bb chore(deps): update dependency lint-staged to v10.2.8 2020-06-03 11:36:52 -04:00
Julian Lam
922d49be0b fix(style): switch..case 2020-06-03 11:26:08 -04:00
renovate[bot]
d7ab0894d4 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.34 (#8357)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-02 16:23:52 -04:00
Julian Lam
d135b6f763 fix(style): enforcing "better" indentation for switch..case 2020-06-02 14:23:38 -04:00
Barış Soner Uşaklı
75b3a81dad fix: clear error log before checking
fix intermittent test failure due to analytics being written every 10 seconds
2020-06-01 23:00:26 -04:00
Barış Soner Uşaklı
5a2b515431 feat: #8349, remove user posts from queue if user is deleted 2020-06-01 22:29:56 -04:00
Barış Soner Uşaklı
e603ebc0c6 fix: #8323, let admins send validation emails without timeout 2020-06-01 21:54:47 -04:00
Peter Jaszkowiak
de7ec47f13 fix: #8352, remove webfonts (#8354) 2020-06-01 11:06:23 -04:00
Misty (Bot)
b31482092d Latest translations and fallbacks 2020-06-01 09:29:58 +00:00
Julian Lam
da90fd562e fix: more tests 2020-05-31 21:22:07 -04:00
Julian Lam
98dffa3af8 fix: tests due to 0633ad327 2020-05-31 21:09:19 -04:00
Misty (Bot)
bad23159d2 Latest translations and fallbacks 2020-05-31 09:29:35 +00:00
Barış Soner Uşaklı
2c9e865763 fix: retry failed setObject calls 2020-05-30 15:49:34 -04:00
Misty (Bot)
d7b2f163f2 Latest translations and fallbacks 2020-05-30 09:28:34 +00:00
Julian Lam
0633ad3277 fix: acp menu items
- Shuffled items in settings
- Moved post-queue and ip-blacklist to front-end
- Removed Settings > Sockets, merged with Settings > Advanced
2020-05-29 16:42:09 -04:00
Julian Lam
a83f4259e8 fix: re-jigged tags acp pages 2020-05-29 15:28:34 -04:00
Renovate Bot
c40471793f fix(deps): update dependency nodebb-plugin-composer-default to v6.3.33 2020-05-29 11:57:56 -04:00
Julian Lam
a51fff8bd1 refactor: remove general menu from ACP (#8347)
* refactor: remove general menu from ACP

* fix: incorrect translation keys, fixed tests
2020-05-29 09:59:22 -04:00
Renovate Bot
d1df08269f chore(deps): update dependency lint-staged to v10.2.7 2020-05-29 09:55:33 -04:00
Renovate Bot
27ab36ac84 fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.7.1 2020-05-28 16:42:27 -04:00
renovate[bot]
dabff9728f fix(deps): update dependency nodebb-theme-persona to v10.1.43 (#8343)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-28 15:31:23 -04:00
renovate[bot]
8224127fcf fix(deps): update dependency mongodb to v3.5.8 (#8342)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-28 09:21:16 -04:00
Misty (Bot)
3338c3112e Latest translations and fallbacks 2020-05-28 09:31:32 +00:00
Barış Soner Uşaklı
5b009e0712 feat: up plugins 2020-05-27 22:22:10 -04:00
Barış Soner Uşaklı
9ffcb6f7ba feat: add results into results container 2020-05-27 21:38:49 -04:00
Barış Soner Uşaklı
f12d448ef5 feat: quick search changes 2020-05-27 20:58:54 -04:00
Barış Soner Uşaklı
bb1a56f0fe feat: move quick search into search module
so it can be used directly
2020-05-27 14:37:34 -04:00
Barış Soner Uşaklı
47d73a2ab4 fix: move checks into timeout 2020-05-27 13:25:30 -04:00
Barış Soner Uşaklı
a9315aee7d fix: #8339, add missing translation 2020-05-27 13:10:33 -04:00
Barış Soner Uşaklı
84c20f919b fix: don't explode if server sends checkSession 2020-05-27 13:07:51 -04:00
Barış Soner Uşaklı
5781a2dc65 feat: fix session mismatch errors by clearing cookie on logout (#8338)
* feat: fix session mismatch errors by clearing cookie on logout

* feat: remove app.upateHeader

ported from 2.0

* feat: handle if user doesn't click button and just refreshes page
2020-05-27 12:15:02 -04:00
Misty (Bot)
938c232377 Latest translations and fallbacks 2020-05-27 09:31:05 +00:00
Julian Lam
f0e59c149d fix: eliminate unnecessary try..catch 2020-05-27 00:13:00 -04:00
Julian Lam
a66fe01377 fix: test breakages from 8d995d1eb6 2020-05-27 00:11:53 -04:00
Barış Soner Uşaklı
7d484fc0ad refactor: use getSortedSetMembers 2020-05-26 22:56:54 -04:00
Barış Soner Uşaklı
0009f54e6e feat: add getSortedSetMembers 2020-05-26 22:55:28 -04:00
Barış Soner Uşaklı
2727f472ed feat: add the data from page into filter:middleware.renderHeader 2020-05-26 22:08:54 -04:00
Barış Soner Uşaklı
ec5582b53c feat: add privilege give/rescind hooks (#8336)
* feat: add privilege give/rescind hooks

action:privileges.categories.give/rescind
action:privileges.global.give/rescind

breaking change, privileges.categories.give/rescind and privileges.global.give/rescind use full privilege name for groups ie `groups:find` instead of `find`

* fix: tests, privileges renamed
2020-05-26 21:57:38 -04:00
Julian Lam
a0e243eea1 fix(openapi): schema for new flags api 2020-05-26 21:17:42 -04:00
Julian Lam
cf00cda07c refactor: src/flags.js because codeclimate 2020-05-26 20:40:55 -04:00
Julian Lam
8d995d1eb6 refactor: flags detail page
- Show account moderation history
- Ban and delete quick actions

Squashed commit of the following:

commit 0e782e65f4d48ae814708e510ec9d01bcdd914e0
Author: Julian Lam <julian@nodebb.org>
Date:   Tue May 26 20:24:53 2020 -0400

    fix(deps): use persona 10.1.41/vanilla 11.1.17

commit 369e073d3c3189d8ce181eb3d573489cbe54d4fc
Author: Julian Lam <julian@nodebb.org>
Date:   Tue May 26 20:23:24 2020 -0400

    fix: allow ban and delete exported methods to have cbs

commit b83a086ea31a77ec82d161306c0b9bc115cb2a3a
Merge: 525aae1ea 256ee45d3
Author: Julian Lam <julian@nodebb.org>
Date:   Tue May 26 08:54:25 2020 -0400

    Merge remote-tracking branch 'origin/master' into flags-improvements

commit 525aae1ea2e5d0103028a0f0c8dde05f172d088e
Author: Julian Lam <julian@nodebb.org>
Date:   Tue May 26 08:53:39 2020 -0400

    feat: integrate ban history and username changes to flag history list

commit 3e68ad28ba266f4c8620a676aa7f463f0a9d1df7
Author: Julian Lam <julian@nodebb.org>
Date:   Mon May 25 18:22:53 2020 -0400

    feat: allow ban and deletion from flag details page

commit a559ea1d8e8883385c2876868d855a0b93516c54
Author: Julian Lam <julian@nodebb.org>
Date:   Mon May 25 18:22:00 2020 -0400

    feat: export banAccount and deleteAccount methods from accounts module
2020-05-26 20:27:16 -04:00
Ali Cihan
256ee45d37 typo (#8334) 2020-05-26 08:09:42 -04:00
Misty (Bot)
d2edf0c371 Latest translations and fallbacks 2020-05-26 09:31:25 +00:00
renovate[bot]
a20af6e21e fix(deps): update dependency nodebb-theme-persona to v10.1.40 (#8332)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-25 22:45:07 -04:00
Barış Soner Uşaklı
f3afba6156 feat: filter followed tids by category 2020-05-25 21:14:49 -04:00
Barış Soner Uşaklı
1b9e8928eb feat: use getSortedSetsMembers to load followed tids 2020-05-25 16:59:53 -04:00
Renovate Bot
ecaa9b76f3 chore(deps): update dependency mocha to v7.2.0 2020-05-24 14:52:45 -04:00
Renovate Bot
e62d892af6 chore(deps): update dependency eslint to v7.1.0 2020-05-24 14:52:33 -04:00
Misty (Bot)
31edcdee7d Latest translations and fallbacks 2020-05-24 09:28:49 +00:00
Misty (Bot)
8eb89156fb Latest translations and fallbacks 2020-05-23 09:28:47 +00:00
Barış Soner Uşaklı
a015af4a41 feat: add batch size to cursors 2020-05-22 20:25:26 -04:00
Barış Soner Uşaklı
0a31e3e6b0 fix: #8320, dont load moderators separately for each category 2020-05-22 15:03:51 -04:00
Barış Soner Uşaklı
11bb6abb51 fix: show stack trace on startup errors 2020-05-22 15:02:23 -04:00
Barış Soner Uşaklı
9600ede579 feat: up cache size 2020-05-22 13:06:21 -04:00
Barış Soner Uşaklı
d6c2764fe7 fix: don't trigger quick search if val doesn't change 2020-05-22 12:00:05 -04:00
Barış Soner Uşaklı
69a8793306 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-05-22 11:19:20 -04:00
Barış Soner Uşaklı
6f78113ee3 fix: prevent duplicate search triggers
if app.handleSearch is called from a plugin in action:ajaxify.end events are fired multiple time
2020-05-22 11:18:16 -04:00
Renovate Bot
78d562b3a0 chore(deps): update dependency lint-staged to v10.2.6 2020-05-22 11:12:35 -04:00
Renovate Bot
cc206b4d9c fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.7.0 2020-05-22 11:12:11 -04:00
Barış Soner Uşaklı
7f24200c73 feat: add folder to filter:uploadImage and filter:uploadFile 2020-05-22 10:00:24 -04:00
Misty (Bot)
478c8dd72b Latest translations and fallbacks 2020-05-22 09:29:35 +00:00
Barış Soner Uşaklı
3ec05eeaf8 fix: user faster method if sorting by smallest set 2020-05-21 22:57:48 -04:00
Barış Soner Uşaklı
3b6d57e497 refactor: move code 2020-05-21 22:20:01 -04:00
Barış Soner Uşaklı
4ee3543ea4 feat: tweak intersection code, add tests 2020-05-21 22:12:58 -04:00
Julian Lam
6f504c4142 Remove allowFileUploads ACP option (#8324)
* feat: allow awaitable upgrade scripts

* feat: allowFileUploads removal upgrade script

* refactor: remove unnecessary ACP option `allowFileUploads`

* fix: updated upgrade script template to not use callback arg

* fix: upgrade script as per @baris

* fix: add missing await

* fix: add missing await
2020-05-21 16:06:35 -04:00
Julian Lam
01bff2ae05 fix: add txt to list of default allowed file extensions 2020-05-21 15:44:49 -04:00
Julian Lam
827d42a931 fix(deps): bump composer-default 2020-05-21 15:33:31 -04:00
Barış Soner Uşaklı
ada45a34d5 fix: search post snipets incase content is plain text 2020-05-21 14:14:37 -04:00
Barış Soner Uşaklı
e5228179c1 Mongo intersection (#8322)
* feat: intersection without aggregation

* feat: intersection

* feat: remove debug code
2020-05-20 19:13:47 -04:00
Renovate Bot
a26011e756 chore(deps): update dependency lint-staged to v10.2.4 2020-05-20 15:10:19 -04:00
Barış Soner Uşaklı
d484731d8c fix: derp includes 2020-05-20 12:58:14 -04:00
Barış Soner Uşaklı
6108064ea8 feat: change to contains to match scoped modules
replace recursive function with loop
2020-05-20 12:43:20 -04:00
Julian Lam
e327d1247e Revert "fix: #8142 invalid session warning if server-side session destroyed"
This reverts commit 526b3cd9ec.
2020-05-20 11:27:13 -04:00
Barış Soner Uşaklı
f2907908c9 fix: another test fix 2020-05-20 09:08:27 -04:00
Barış Soner Uşaklı
feb748a44d fix: tests 2020-05-20 08:55:07 -04:00
Julian Lam
a665881b35 fix(deps): bump composer-default 2020-05-19 22:17:08 -04:00
Barış Soner Uşaklı
cb662e15ce feat: improve grunt restart/rebuild speed 2020-05-19 21:15:51 -04:00
Barış Soner Uşaklı
2a00b0e973 fix: utils.params({url: ''}) 2020-05-19 17:42:44 -04:00
Renovate Bot
bf8a2c2e9e fix(deps): update dependency nodebb-plugin-composer-default to v6.3.29 2020-05-19 14:45:15 -04:00
Barış Soner Uşaklı
4263efa091 feat: don't overwrite req.query.lang if it exists 2020-05-19 14:18:07 -04:00
Misty (Bot)
2203398efc Latest translations and fallbacks 2020-05-19 09:29:49 +00:00
Barış Soner Uşaklı
12c6bc2e07 feat: convert queries so they used indices directly 2020-05-19 00:22:54 -04:00
renovate[bot]
a532e2bb83 fix(deps): update dependency postcss to v7.0.30 (#8288)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-18 09:52:01 -04:00
Julian Lam
ae2db423ee feat: cookie SameSite property
More information:
https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00#section-4.1.1
https://web.dev/samesite-cookies-explained/
2020-05-17 14:56:47 -04:00
Renovate Bot
0437ecc2ea fix(deps): update dependency sharp to v0.25.3 2020-05-17 14:28:21 -04:00
Barış Soner Uşaklı
7a801abade fix: tests on redis 2020-05-16 22:49:34 -04:00
Barış Soner Uşaklı
8bf980cb63 fix: tests, handle no sessions 2020-05-16 22:17:20 -04:00
Barış Soner Uşaklı
a0d76ff0a6 fix: #8318, clean expired sessions on login and get 2020-05-16 20:20:47 -04:00
Barış Soner Uşaklı
2587112f9d feat: if only one value is passed used faster function 2020-05-16 09:36:17 -04:00
Misty (Bot)
981db6429a Latest translations and fallbacks 2020-05-16 09:27:39 +00:00
Barış Soner Uşaklı
a032e12b7e fix: tests 2020-05-16 00:25:44 -04:00
Barış Soner Uşaklı
81e33b9391 fix: #8317 2020-05-15 22:10:50 -04:00
Julian Lam
526b3cd9ec fix: #8142 invalid session warning if server-side session destroyed
Resolved regression caused by 5a0c7c1497
2020-05-15 16:41:35 -04:00
Barış Soner Uşaklı
5fd81c5c04 fix: check privileges before exporting post/topic data 2020-05-15 15:44:39 -04:00
Barış Soner Uşaklı
f0323b6cfa feat: closes #8316, add more data to export profile 2020-05-15 15:29:28 -04:00
Barış Soner Uşaklı
1d3fa3bc4e feat: throw error if uid is missing for update 2020-05-15 15:23:01 -04:00
Barış Soner Uşaklı
dfae664e29 fix: exporting posts 2020-05-15 10:59:38 -04:00
Barış Soner Uşaklı
bdda022238 fix: undefined uid when downloading posts 2020-05-15 10:52:04 -04:00
Misty (Bot)
5e3760d276 Latest translations and fallbacks 2020-05-15 09:33:38 +00:00
Barış Soner Uşaklı
a219285e10 feat: ignore mongodb playground file 2020-05-14 23:10:36 -04:00
Barış Soner Uşaklı
40b5cbab2c refactor: remove console.log 2020-05-14 16:19:50 -04:00
Barış Soner Uşaklı
765b8156d5 feat: parse quick search tpl even if no results
allows showing "no results found" in theme
2020-05-14 16:19:32 -04:00
Misty (Bot)
83b5a20c7c Latest translations and fallbacks 2020-05-14 09:31:51 +00:00
Julian Lam
45dfeeb033 fix(openapi): broken tests 2020-05-13 12:45:18 -04:00
Barış Soner Uşaklı
1ba6929cb3 fix: #8311, fix allowUserHomePage value
was always sending 1 even if allowUserHomePage was disabled in acp
2020-05-13 12:35:58 -04:00
Barış Soner Uşaklı
0e58fa33eb feat: match hook property to topic property 2020-05-13 12:18:30 -04:00
Barış Soner Uşaklı
bfad457275 feat: add methods for adding/removing tags from topics 2020-05-12 23:00:45 -04:00
Barış Soner Uşaklı
e20ad5c56e fix: dont crash if topic is null 2020-05-12 22:42:55 -04:00
Barış Soner Uşaklı
1f992cf371 fix: if category in selector has url use it 2020-05-12 15:00:39 -04:00
Barış Soner Uşaklı
c47a1c4df4 fix: convert cids to string for comparison 2020-05-12 14:57:37 -04:00
Barış Soner Uşaklı
97c086aba9 fix: missing await 2020-05-12 12:18:30 -04:00
Renovate Bot
28df9abadd chore(deps): update dependency eslint to v7 2020-05-12 12:05:42 -04:00
Julian Lam
aa4ae78b63 fix(docs): added titles to all routes 2020-05-11 20:33:22 -04:00
Julian Lam
9fd5c439b2 feat: write-api update, WIP 2020-05-11 20:33:22 -04:00
Barış Soner Uşaklı
4e14cb5767 fix: add missing schema item 2020-05-11 14:20:03 -04:00
renovate[bot]
f246057a73 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.28 (#8309)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-11 11:48:52 -04:00
Barış Soner Uşaklı
337be368eb fix: category selector disabled categories 2020-05-11 09:25:28 -04:00
Misty (Bot)
928a94426b Latest translations and fallbacks 2020-05-11 09:30:43 +00:00
Barış Soner Uşaklı
a73c755b05 feat: closes #8308, edit post notif for watched topic posts 2020-05-10 22:21:32 -04:00
renovate[bot]
6d57d8446a fix(deps): update dependency nodebb-plugin-composer-default to v6.3.27 (#8307)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-09 15:18:13 -04:00
Barış Soner Uşaklı
edf9fe3b7f feat: add null tests for sorted sets 2020-05-09 10:38:56 -04:00
Barış Soner Uşaklı
8c8cdc9946 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-05-09 09:19:02 -04:00
Barış Soner Uşaklı
6a5e86dc66 fix: #8305, don't use null values 2020-05-09 09:18:31 -04:00
Misty (Bot)
b4494cb876 Latest translations and fallbacks 2020-05-09 09:28:11 +00:00
Barış Soner Uşaklı
aad0880f7c feat: add filter:categories.getRecentTopicReplies
pass req.query to getRecentTopicReplies
2020-05-08 22:36:16 -04:00
Barış Soner Uşaklı
7e42988489 refactor: shorter function 2020-05-08 20:27:04 -04:00
Opliko
c4545381d7 feat: Add hooks for user blocks (#8296)
* Add hooks for user blocks

* change naming

* Fix the filter...

fixes #8109
2020-05-08 14:42:02 -04:00
Julian Lam
87c1687d17 feat(docs): updated changelog 2020-05-08 11:02:09 -04:00
Misty (Bot)
ee583e80d1 chore: incrementing version number - v1.13.3 2020-05-08 14:53:25 +00:00
Barış Soner Uşaklı
d09bd2cfdf fix: #8302, send string to writeFileSync 2020-05-08 09:26:33 -04:00
Barış Soner Uşaklı
7d08184372 fix: winston showing json object 2020-05-07 12:48:39 -04:00
Misty (Bot)
64c3310aa4 Latest translations and fallbacks 2020-05-07 09:30:50 +00:00
Julian Lam
6765de3db3 fix: sortable topics even if only 1 pinned topic 2020-05-06 15:42:45 -04:00
Julian Lam
dd2bc18927 fix: #8298, use class name added by jQueryUI instead
This reverts commit 2e57d8ac31.
2020-05-06 15:26:55 -04:00
Julian Lam
158d923196 fix(deps): #8298 bump persona 2020-05-06 15:21:24 -04:00
Julian Lam
2e57d8ac31 fix: discoverability of topic reordering, re: #8298 2020-05-06 15:18:00 -04:00
Barış Soner Uşaklı
a969c5cec9 feat: allow activating additional plugins for testing via config.json 2020-05-06 13:57:03 -04:00
Julian Lam
f2c725c658 fix: topic search shortcut for macs 2020-05-06 12:55:54 -04:00
Misty (Bot)
6567e47494 Latest translations and fallbacks 2020-05-06 09:29:39 +00:00
Barış Soner Uşaklı
0431d75f0d fix: #8297, uids.length is different than topics.length 2020-05-05 21:32:07 -04:00
Julian Lam
fcb81cb8ca fix: #8297 guest handles shown in category.tpl 2020-05-05 20:42:02 -04:00
Renovate Bot
89d1764715 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.25 2020-05-05 15:32:03 -04:00
Barış Soner Uşaklı
16a98eaf50 fix: only add to set if numRecentReplies>0 2020-05-05 14:12:46 -04:00
Barış Soner Uşaklı
b25b51bd97 feat: add action:post.updatePostVoteCount 2020-05-05 13:09:17 -04:00
Barış Soner Uşaklı
5e1404542c Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-05-05 09:43:10 -04:00
Barış Soner Uşaklı
be305410fb fix: #8293, don't show error if there are no self messages 2020-05-05 09:42:29 -04:00
renovate[bot]
a69f0b29af fix(deps): update dependency jquery to v3.5.1 [security] (#8281)
* fix(deps): update dependency jquery to v3.5.0 [security]

* fix(deps): bump jquery

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Julian Lam <julian@nodebb.org>
2020-05-05 09:05:52 -04:00
Barış Soner Uşaklı
6c59683b16 refactor: change to action:categories.updateRecentTid 2020-05-04 21:17:05 -04:00
Barış Soner Uşaklı
ecd622fdf5 fix: failing tests @julianlam 2020-05-04 15:02:04 -04:00
Barış Soner Uşaklı
3a23ddaba5 feat: move plugin tests to separate file 2020-05-04 14:23:45 -04:00
Barış Soner Uşaklı
a72e44290b feat: remove node14 for now 2020-05-04 13:19:23 -04:00
Barış Soner Uşaklı
51933c1fcb feat: add filter:categories.updateRecentTid 2020-05-04 13:09:34 -04:00
Barış Soner Uşaklı
478ed6c16f refactor: match core field name pinned 2020-05-04 12:37:42 -04:00
Julian Lam
0053e779e8 feat: response:router.page, dep. filter variant 2020-05-04 09:52:36 -04:00
Barış Soner Uşaklı
a6bb9f4364 fix: #3321, run plugin tests for installed plugins 2020-05-03 22:59:03 -04:00
Barış Soner Uşaklı
3d0db9630f fix: remove deprecated mocha.opts 2020-05-03 22:55:50 -04:00
Barış Soner Uşaklı
84383d3995 fix: spec 2020-05-03 22:00:25 -04:00
Barış Soner Uşaklı
9839346ec3 fix: #8290, if there are no filters go to ?reset=1
dont count ?page=1 as a filter
2020-05-03 14:48:15 -04:00
Misty (Bot)
2cf0a9b62d Latest translations and fallbacks 2020-05-03 09:27:35 +00:00
Barış Soner Uşaklı
5ebcdb1806 fix: #8287, fix users:flags as well 2020-05-02 15:34:58 -04:00
renovate[bot]
919034a7db fix(deps): update dependency nodebb-rewards-essentials to v0.1.3 (#8289)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-02 14:03:30 -04:00
Barış Soner Uşaklı
2d07634494 fix: #8283, update gdpr link again 2020-05-02 13:47:49 -04:00
Barış Soner Uşaklı
4f1128fd2b fix: add missing await 2020-05-02 13:34:19 -04:00
Barış Soner Uşaklı
9d153fd388 fix: #8287, dont readd user after deletion
don't add user uid back to users:* sorted sets if they are deleted
upgrade script to fix users:* sorted sets
2020-05-02 13:27:16 -04:00
Barış Soner Uşaklı
4d6b2ec3ce fix: missing await 2020-05-01 23:54:17 -04:00
Barış Soner Uşaklı
0391856d7d fix: #8286, rescind notif when its resolved/rejected 2020-05-01 13:32:20 -04:00
Misty (Bot)
c0e441d3b2 Latest translations and fallbacks 2020-05-01 09:28:46 +00:00
Barış Soner Uşaklı
3fcbd69149 feat: reduce infinite scroll area 2020-04-30 19:22:38 -04:00
Barış Soner Uşaklı
0ca84bd9f4 fix: #8284, parse ToS on register
rewrite intersitials to async/await
2020-04-30 15:13:14 -04:00
Barış Soner Uşaklı
17d664e098 fix: #8283, point to official site 2020-04-30 13:22:16 -04:00
psychobunny
275e837bcf fix: jquery xhtml violations 2020-04-29 20:46:00 -04:00
renovate[bot]
25d509c42c fix(deps): update dependency mongodb to v3.5.7 (#8279)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-29 12:59:21 -04:00
Opliko
4855f1deca fix:#8274 Don't escape HTML in manage users (#8275)
Perhaps the HTML for managing groups should ba actually rendered as HTML to serve its function. fixes #8274
2020-04-28 20:32:15 -04:00
Barış Soner Uşaklı
0c7c70edaf fix: crash in topic controller 2020-04-28 17:27:31 -04:00
psychobunny
fe03effe7d Revert "fix: crash when res.locals.linkTags is undefined"
This reverts commit 7cab2b0fea.
2020-04-28 17:27:06 -04:00
Andrew Rodrigues
7cab2b0fea fix: crash when res.locals.linkTags is undefined 2020-04-28 15:49:06 -04:00
renovate[bot]
98b70c6b8e Update dependency nodebb-plugin-composer-default to v6.3.24 (#8276)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-28 12:10:27 -04:00
Renovate Bot
9f9267ce54 Update dependency lint-staged to v10.2.0 2020-04-28 10:42:33 -04:00
Renovate Bot
39a861f182 Update dependency mocha to v7.1.2 2020-04-26 16:11:01 -04:00
Misty (Bot)
75aaba3f4e Latest translations and fallbacks 2020-04-25 09:27:49 +00:00
Barış Soner Uşaklı
87a6ff0dce Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-04-24 22:02:23 -04:00
Barış Soner Uşaklı
e80b81010c fix: #8272 user link in digest email 2020-04-24 22:02:10 -04:00
Renovate Bot
5ed4a1087c chore(deps): update dependency coveralls to v3.1.0 2020-04-24 21:55:49 -04:00
Julian Lam
23a0b8c54c fix(openapi): v14 test fix 2020-04-24 17:45:40 -04:00
Julian Lam
a1b050e28d feat: let's start testing node v14 👿 2020-04-24 17:11:00 -04:00
Barış Soner Uşaklı
9ffdab02d0 fix: tag of /api/unread/total 2020-04-24 12:37:21 -04:00
Julian Lam
5a1c6ee7ed fix: response hook logic
After some more thought, a response hook should be checking for
whether headers are sent, and executing (or not executing) the
default logic in that case.

Before, we were relying on hooks to call data.next() to continue
execution, but it makes more sense to have the listener either
send a response or not, and handle the behaviour afterwards.
2020-04-24 11:51:33 -04:00
Julian Lam
ccc6118d30 Testing suite integration for openapi spec (#8263)
* feat: testing suite integration for openapi spec

The testing suite now takes the openapi spec into account. It will
check each route defined, make a call to it, and compare the
response with the defined schema. Any mismatches will cause the
test to fail.

* fix(openapi): removed debug stuff from tests

* fix(openapi): fixed some tests

* fix(openapi): added additional check to tests, test fixes

* fix(openapi): better tests, fixed spec errors

* fix(openapi): bad conditional in test

* fix: oops

* fix(openapi): more tests fixing

* fix(openapi): more tests

* fix(openapi): fix some more tests

* fix: verbose'd an info log

* fix: topic pagination route returns schema-optimized pagination block

* fix(openapi): more test/spec fixes

* fix(openapi): accidentally sending in authenticated jar for anon routes

* fix(openapi): more test/spec fixes

* fix(openapi): more spec fixes

* fix: timestampReadable Invalid Date

* fix(openapi): more tests... almost there

* fix(openapi): more tests fixing

* fix(openapi): finally all tests passing

* fix(openapi): added reverse test to compare response to spec

... and fixed all the tests that broke

* fix: remove tests related to group covers, as route is gone

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): object cache is not present for psql

* fix: tests

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2020-04-23 21:50:08 -04:00
Julian Lam
6edf02d4a5 fix: remove upload picture test (avatars) 2020-04-23 19:57:41 -04:00
Julian Lam
442fe65f5a fix: remove tests related to group covers, as route is gone 2020-04-23 19:47:39 -04:00
Barış Soner Uşaklı
4eafe0f057 fix: #8269, return array of topics from hook 2020-04-23 11:32:24 -04:00
Misty (Bot)
267567a086 Latest translations and fallbacks 2020-04-21 09:34:14 +00:00
Misty (Bot)
c1429fbbf1 Latest translations and fallbacks 2020-04-20 09:30:00 +00:00
Opliko
47e7e9572c Add loading=lazy tag to avatars
There is no reason why avatars should be a blocking reasorce, and browsers are now adding support for lazy loading of images (and iframes). According to [caniuse.com](https://caniuse.com/#feat=loading-lazy-attr) 62% of users use a browser that supports this attribute.

So there doesn't seem to be any downside to just adding this attribute here. It won't affect browsers that don't support it and might speed up page loads on browsers that do.
2020-04-19 13:33:23 -04:00
Opliko
6e5ebb6184 feat: manifest.json improvements from #8126 (#8264)
* feat: manifest.json improvements from #8126

* Fix short title placeholder

* use lowercase letters for hex colors
2020-04-19 13:32:49 -04:00
Renovate Bot
51eccef58b chore(deps): pin dependency @apidevtools/swagger-parser to 9.0.1 2020-04-19 10:16:07 -04:00
Julian Lam
d09c6ae0de fix(deps): actually, swagger-parser is a dev dependency 2020-04-19 10:12:55 -04:00
Julian Lam
f172073551 fix(deps): missing @apidevtools/swagger-parser 2020-04-19 10:12:04 -04:00
Barış Soner Uşaklı
153456278b feat: show error if json is invalid 2020-04-17 13:24:52 -04:00
Julian Lam
d342a28c16 fix(openapi): remove account and group upload routes
re: #8260
2020-04-17 10:10:13 -04:00
Julian Lam
ef52461fb6 fix: remove dead picture upload code #8260 2020-04-17 10:08:18 -04:00
Julian Lam
058a15dbb2 fix(openapi): more fleshing out 2020-04-16 22:46:27 -04:00
Julian Lam
bae88e089a fix(openapi): fleshed out admin routes 2020-04-16 21:57:04 -04:00
Julian Lam
5bcaf71501 fix: path.resolve to logs file 2020-04-16 20:46:03 -04:00
Julian Lam
8387178b25 feat(openapi): merging openapi-test branch into master 2020-04-16 20:39:15 -04:00
Barış Soner Uşaklı
ba6d3fd372 fix: only trigger infinitescroll on scroll end 2020-04-16 12:21:40 -04:00
Barış Soner Uşaklı
c7ea84a2ae fix: wrong data returned in available.groups 2020-04-15 22:40:32 -04:00
Julian Lam
ab4bd7e146 fix(openapi): added some descriptions 2020-04-15 14:44:05 -04:00
Misty (Bot)
d678793cd4 Latest translations and fallbacks 2020-04-15 09:40:29 +00:00
renovate[bot]
b0c30ceba0 fix(deps): update dependency nodebb-theme-persona to v10.1.37 (#8258)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-15 01:35:56 -04:00
Julian Lam
2395d2be2e fix(openapi): added PostsObject component 2020-04-14 20:58:17 -04:00
Renovate Bot
28777f676c fix(deps): update dependency archiver to v4 2020-04-14 16:59:02 -04:00
Julian Lam
803d083e0b Revert "Remove nodejs 12 from compatible list"
This reverts commit 14aed18449.
2020-04-14 13:50:16 -04:00
renovate[bot]
492360673d fix(deps): update dependency mongodb to v3.5.6 (#8256)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-14 11:24:24 -04:00
Julian Lam
1b425ef108 fix: no focus on find user modal 2020-04-14 10:18:20 -04:00
Julian Lam
bcbf98aa4c fix: accidental fp precision on flag and acp dash graphs 2020-04-14 10:16:02 -04:00
xinbenlv
14aed18449 Remove nodejs 12 from compatible list
https://community.nodebb.org/topic/14670/consider-add-to-documentation-node-version
2020-04-13 21:19:35 -04:00
Peter Jaszkowiak
e68156e1f2 fix(deps): bump dependencies (#8239)
* fix(deps): bump dependencies

* fix(deps): commander@5

* fix(deps): use @nodebb/mubsub
2020-04-13 15:50:20 -04:00
Julian Lam
f2f6fbf15a fix: #8232, unresolvable session mismatch on register cancel 2020-04-13 13:26:27 -04:00
Barış Soner Uşaklı
e440d617d4 fix: pin jquery to 3.4.1, #8252 2020-04-13 11:40:29 -04:00
Jonson Petard
e6a1741c2e Support package manager: cnpm and pnpm (#8222)
* feat: support pnpm, cnpm

* feat: store supportedPackageManager in default package.json

* feat: store supportedPackageManager in src/cli/package-install.js

Co-authored-by: a632079 <a632079@qq.com>
2020-04-13 09:59:52 -04:00
hb90dev
3ce885fff2 fixes sitemap base url issue when using with subfolder (#8247)
* fixes sitemap base url issue when using with subfolder

* fixes sitemap base url issue when using with subfolder

* uses directly relative path

* removes prefix variable
2020-04-13 09:57:24 -04:00
Barış Soner Uşaklı
d77036dbd1 fix: #8249, don't send move notifications for deleted posts/topics 2020-04-13 09:52:18 -04:00
Misty (Bot)
d387cc231e Latest translations and fallbacks 2020-04-10 09:29:03 +00:00
Renovate Bot
30a2598364 chore(deps): update dependency husky to v4.2.5 2020-04-09 18:49:39 -04:00
renovate[bot]
92b55ef580 fix(deps): update dependency jsesc to v3.0.1 (#8243)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-09 17:23:22 -04:00
Renovate Bot
0a65011833 chore(deps): update dependency husky to v4.2.4 2020-04-09 12:55:28 -04:00
Renovate Bot
a9e686397e chore(deps): update dependency lint-staged to v10.1.3 2020-04-09 10:30:27 -04:00
Julian Lam
23dd2727f2 fix(openapi): finished moving all category objects out 2020-04-08 22:15:49 -04:00
Julian Lam
c939f8c66d fix(openapi): changed some descriptions 2020-04-08 22:15:40 -04:00
Julian Lam
55d0a9ffea fix(openapi): added CategoryObject component 2020-04-08 22:06:22 -04:00
Julian Lam
646fac1e53 fix(openapi): removed repeated breadcrumb blocks in favour of $ref 2020-04-08 17:06:26 -04:00
Julian Lam
ac579f9dc2 fix(openapi): remove all repeated pagination blocks in favour of 2020-04-08 17:04:00 -04:00
Julian Lam
1cf62095dc fix(openapi): removed warning for category mods route 2020-04-08 16:42:18 -04:00
Julian Lam
3a5c6e07f9 fix(openapi): normalising the file for programmatic updates 2020-04-08 16:24:20 -04:00
Renovate Bot
bb70cebb2c fix(deps): update dependency jsesc to v3 2020-04-08 09:59:50 -04:00
Misty (Bot)
0252e149d9 Latest translations and fallbacks 2020-04-08 09:30:21 +00:00
Julian Lam
65c78de6fe feat(openapi): move all commonprops out for commonprops component 2020-04-07 17:13:15 -04:00
psychobunny
cd5065572c feat: moved component specs into separate files 2020-04-07 16:17:00 -04:00
Julian Lam
2425f4533f feat(openapi): added template to commonprops 2020-04-07 16:08:30 -04:00
Julian Lam
64d79fe5f6 feat: added UserObject, UserObjectFull, Breadcrumb, Pagination component 2020-04-07 15:32:22 -04:00
psychobunny
ae3e90d693 feat: added some summary and descriptions 2020-04-07 15:29:59 -04:00
Misty (Bot)
390dbb1bf3 Latest translations and fallbacks 2020-04-07 09:29:49 +00:00
Barış Soner Uşaklı
442c018ec0 feat: add some descriptions 2020-04-07 00:23:10 -04:00
Barış Soner Uşaklı
eade13f928 feat: common schema 2020-04-06 23:49:41 -04:00
Barış Soner Uşaklı
7ae7647704 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-04-06 23:44:04 -04:00
Barış Soner Uşaklı
683e58511b Revert "feat: openapi component"
This reverts commit 1af5507ac7.
2020-04-06 23:44:00 -04:00
Barış Soner Uşaklı
1af5507ac7 feat: openapi component 2020-04-06 23:40:08 -04:00
Julian Lam
32985eb12e Merge remote-tracking branch 'refs/remotes/origin/master' 2020-04-06 21:27:49 -04:00
Julian Lam
7b31fb34a7 fix: missing descriptions for common properties 2020-04-06 21:11:24 -04:00
Barış Soner Uşaklı
9987813f30 feat: add page query param to docs 2020-04-06 21:09:49 -04:00
Barış Soner Uşaklı
bbddaadf51 feat: tag route doc 2020-04-06 21:00:08 -04:00
Julian Lam
03739b6f83 fix: some definitions in read API spec 2020-04-06 10:28:32 -04:00
renovate[bot]
ac98775f23 fix(deps): update dependency pg to v8 (#8227)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-05 12:57:14 -04:00
renovate[bot]
a3789e28f8 chore(deps): update dependency nyc to v15.0.1 (#8231)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-05 12:55:44 -04:00
renovate[bot]
e1919c90d0 chore(deps): update dependency lint-staged to v10.1.2 (#8235)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-05 12:36:25 -04:00
Julian Lam
455d42bcfa fix: tagged all routes in read api spec 2020-04-03 15:30:50 -04:00
Julian Lam
1136a369f3 feat: local redoc view on development mode only 2020-04-03 14:10:13 -04:00
Julian Lam
c82a263788 Revert "fix: override ACAO header for read API spec file"
This reverts commit 240d90919b.
2020-04-03 12:41:52 -04:00
Julian Lam
240d90919b fix: override ACAO header for read API spec file 2020-04-03 12:31:19 -04:00
Julian Lam
7b155dab74 feat: added auto-generated, slimmed-down openapi 3.0 file for read api 2020-04-03 12:07:50 -04:00
Barış Soner Uşaklı
59cf0e80d2 fix: throw error if topic does not exist 2020-04-02 22:56:59 -04:00
Barış Soner Uşaklı
e93578b81d fix: hookname 2020-04-02 16:14:56 -04:00
Barış Soner Uşaklı
0d1b5a7fb1 fix: #8230, add hook getUserDataByUserSlug 2020-04-02 16:00:48 -04:00
psychobunny
15d6975e96 fix: ignore case for group details route 2020-04-02 12:45:01 -04:00
Barış Soner Uşaklı
740e598a5d fix: lint 2020-04-01 22:03:31 -04:00
Barış Soner Uşaklı
8e23dec84b fix: lint 2020-04-01 21:57:28 -04:00
Barış Soner Uşaklı
00e299e93e feat: closes #8229, add targetUid to action:password.change 2020-04-01 00:11:55 -04:00
Renovate Bot
944a6f5850 chore(deps): update dependency lint-staged to v10.1.1 2020-03-31 10:25:23 -04:00
Misty (Bot)
bb565b0a81 Latest translations and fallbacks 2020-03-31 09:30:44 +00:00
Renovate Bot
30bd233bfc chore(deps): update dependency lint-staged to v10.1.0 2020-03-30 09:49:06 -04:00
Renovate Bot
811c3aee09 chore(deps): update dependency eslint-config-airbnb-base to v14.1.0 2020-03-30 09:05:36 -04:00
Renovate Bot
c5a7242dbe chore(deps): update dependency jsdom to v16.2.2 2020-03-30 09:05:11 -04:00
Renovate Bot
b92c1600f5 chore(deps): update dependency eslint-plugin-import to v2.20.2 2020-03-30 09:03:20 -04:00
Renovate Bot
0ad4b55628 chore(deps): update dependency lint-staged to v10.0.10 2020-03-30 09:03:12 -04:00
Renovate Bot
f497ee6268 fix(deps): update dependency validator to v13 2020-03-30 09:02:58 -04:00
Renovate Bot
14458087ca chore(deps): update dependency coveralls to v3.0.11 2020-03-30 09:02:30 -04:00
Renovate Bot
22681945cf chore(deps): update dependency smtp-server to v3.6.0 2020-03-30 09:02:18 -04:00
Barış Soner Uşaklı
23571224b5 feat: add parent cids to body class 2020-03-26 12:04:04 -04:00
Misty (Bot)
aabddea2b7 Latest translations and fallbacks 2020-03-24 09:29:53 +00:00
Misty (Bot)
5e849c6b52 Latest translations and fallbacks 2020-03-23 09:29:16 +00:00
Barış Soner Uşaklı
080317300a fix: #8221, fix parent selection 2020-03-22 12:32:12 -04:00
Barış Soner Uşaklı
071506eb7d fix: invite properly 2020-03-20 22:18:14 -04:00
Barış Soner Uşaklı
8f4b99a41c fix: admins not seeing invite button 2020-03-20 22:14:13 -04:00
renovate[bot]
dd660c8778 fix(deps): update dependency sharp to v0.25.2 (#8220)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-20 17:37:37 -04:00
Misty (Bot)
68afd01f67 Latest translations and fallbacks 2020-03-20 09:29:31 +00:00
renovate[bot]
c535654142 chore(deps): update dependency mocha to v7.1.1 (#8215)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-19 10:18:57 -04:00
Barış Soner Uşaklı
0b5fac75b0 fix: #8217, add missing lang key 2020-03-19 10:03:46 -04:00
Misty (Bot)
fc06f90346 Latest translations and fallbacks 2020-03-19 09:30:33 +00:00
Julian Lam
ee6cb412bc fix(deps): bump markdown 2020-03-17 09:49:22 -04:00
renovate[bot]
5535c50c39 fix(deps): update dependency mongodb to v3.5.5 (#8205)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-16 23:18:40 -04:00
renovate[bot]
b0864e7c24 chore(deps): update dependency grunt to v1.1.0 (#8214)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-16 23:18:20 -04:00
Julian Lam
93acd13999 fix: #8206 first message in chat has false newSet 2020-03-16 21:15:04 -04:00
Julian Lam
5aa76cdf2f feat: pass in target element in action:topic.tools.load 2020-03-13 10:30:48 -04:00
Barış Soner Uşaklı
d080c7b04c feat: add 2 hooks for modifying privileges 2020-03-12 12:25:51 -04:00
renovate[bot]
776fe9d2ea chore(deps): update dependency husky to v4.2.3 (#8162)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2020-03-11 13:38:18 -04:00
renovate[bot]
13d8f6f117 chore(deps): update dependency lint-staged to v10.0.8 (#8180)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-11 13:07:09 -04:00
renovate[bot]
4cdb31318c chore(deps): update dependency eslint-plugin-import to v2.20.1 (#8081)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-11 12:35:57 -04:00
renovate[bot]
fbd95a504b chore(deps): update dependency jsdom to v16.2.1 (#8165)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-11 12:32:25 -04:00
renovate[bot]
2052f14c19 fix(deps): update dependency sitemap to v6 (#8198)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-11 12:26:22 -04:00
Barış Soner Uşaklı
2f9c7c626f fix: #8203, fix user invites refreshing page 2020-03-11 12:21:46 -04:00
Barış Soner Uşaklı
f07f4f8e1a fix: #8202, filter non-existing users in search by uid 2020-03-11 12:19:20 -04:00
psychobunny
266061c31a fix: notification bodyShort truncated if there is a comma in topic title 2020-03-10 11:26:08 -04:00
Misty (Bot)
af5c6b8824 Latest translations and fallbacks 2020-03-10 09:31:44 +00:00
Renovate Bot
6d98d5a100 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.23 2020-03-09 12:45:13 -04:00
renovate[bot]
2de9e5a7cf Update dependency postcss to v7.0.27 (#8166)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-07 21:26:25 -05:00
renovate[bot]
21e91c91fc fix(deps): update dependency sharp to v0.25.1 (#8199)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-07 21:26:10 -05:00
Misty (Bot)
d0075ed9a3 Latest translations and fallbacks 2020-03-06 09:29:55 +00:00
Julian Lam
1efb238a9a refactor: getUsersCSV to use batch lib 2020-03-05 17:51:34 -05:00
psychobunny
b67af70da4 fix: hsts max-age missing translation 2020-03-05 13:59:10 -05:00
Misty (Bot)
41572be879 Latest translations and fallbacks 2020-03-05 09:30:18 +00:00
psychobunny
e1c6c3b267 refactor: reorganized socket.io admin modules 2020-03-03 16:33:13 -05:00
Misty (Bot)
22ee2b8d06 Latest translations and fallbacks 2020-03-03 09:30:57 +00:00
Barış Soner Uşaklı
5e91a67e78 feat: add user ip to admin/dev/info 2020-03-02 11:18:15 -05:00
Misty (Bot)
07e7872622 Latest translations and fallbacks 2020-03-01 09:28:56 +00:00
renovate[bot]
e01f05e321 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.22 (#8193)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-28 23:07:53 -05:00
Barış Soner Uşaklı
cba5b23e23 feat: change option name 2020-02-28 22:02:46 -05:00
Barış Soner Uşaklı
80f1bcad20 fix: call next 2020-02-28 21:24:51 -05:00
Baris Usakli
476f6717c4 feat: add no-build to ./nodebb setup 2020-02-28 15:53:16 -05:00
Baris Usakli
05bee6291d fix: try travis fix again 2020-02-28 11:50:00 -05:00
Baris Usakli
bc9e92a11c fix: try fixing psql on travis 2020-02-28 11:29:28 -05:00
Baris Usakli
cf6eadb91a fix: dont let regular users see other users watched categories 2020-02-28 11:02:22 -05:00
Barış Soner Uşaklı
4083a6e39b feat: add awaitable socket.emit 2020-02-27 19:22:19 -05:00
Barış Soner Uşaklı
6e5de39ba0 fix: also fix updating bookmark if sorting is newest_to_oldest 2020-02-27 18:56:22 -05:00
Barış Soner Uşaklı
32ada7c4e7 fix: #8188, fix bookmark if sorting is newest_to_oldest 2020-02-27 17:21:36 -05:00
Andrew Rodrigues
ac241fb830 fix: duplicate ID + label 2020-02-27 11:32:19 -05:00
Misty (Bot)
53720354de Latest translations and fallbacks 2020-02-27 09:30:23 +00:00
Andrew Rodrigues
d2bd746c99 chore: bump persona 2020-02-26 18:04:45 -05:00
renovate[bot]
1e1467aa0d Update dependency mocha to v7.1.0 (#8183)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-26 12:29:43 -05:00
Julian Lam
f0db240a1d fix: #8184 global mods unable to revoke other user sessions 2020-02-26 12:26:52 -05:00
Misty (Bot)
7eb0053bd4 Latest translations and fallbacks 2020-02-26 09:30:45 +00:00
renovate[bot]
da111b7cc4 Update dependency mongodb to v3.5.4 (#8182)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-25 16:01:05 -05:00
Julian Lam
d38f7e7973 Update Dockerfile
... to run build step before starting
2020-02-25 09:40:47 -05:00
Misty (Bot)
c71e4de8a8 Latest translations and fallbacks 2020-02-25 09:32:00 +00:00
Barış Soner Uşaklı
e72a29b3fd fix: return null if field does not exist 2020-02-24 18:07:51 -05:00
Barış Soner Uşaklı
14e7866745 fix: #8179, limit length of location/website/fullname, check grouptitle 2020-02-24 16:58:51 -05:00
Misty (Bot)
307c72a58b Latest translations and fallbacks 2020-02-24 09:30:52 +00:00
Misty (Bot)
8f2029faed Latest translations and fallbacks 2020-02-23 09:30:04 +00:00
renovate[bot]
9daa21ffcf fix(deps): update dependency nodebb-theme-slick to v1.2.29 (#8177)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-22 23:07:40 -05:00
renovate[bot]
7d6a983be8 fix(deps): update dependency nodebb-theme-vanilla to v11.1.16 (#8178)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-22 22:35:44 -05:00
Barış Soner Uşaklı
326367556f fix: tag key 2020-02-22 21:16:51 -05:00
renovate[bot]
3acc24b0b6 fix(deps): update dependency nodebb-theme-persona to v10.1.35 (#8176)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-22 16:09:53 -05:00
Barış Soner Uşaklı
bc93b5676c fix: #8175 2020-02-22 16:01:04 -05:00
Opliko
41c20761e1 Remove deprecated mongo connection options, fixes #8079 (#8174)
fix #8079 
Unified Topology changes the concept of connecting and causes isConnected to always return true, making any reconnection options useless. Next major version of the driver will remove isConnected entirely.
So:
- reconnect tries
- reconnectInterval
- autoReconnect

Are deprecated and don't really do anything anymore (when unified topology is used at least) other than causing warnings at startup since the 3.4 version of the driver (the current version used by NodeBB is 3.5).

Reference: http://mongodb.github.io/node-mongodb-native/3.5/reference/unified-topology/
2020-02-21 20:15:07 -05:00
Andrew Rodrigues
3c9689a5ac feat: settings sorted list (#8170)
* feat: settings sorted list

see https://github.com/NodeBB/nodebb-plugin-quickstart/pull/9/files for sample
2020-02-21 12:18:09 -05:00
renovate[bot]
7cc63f7d2c fix(deps): update dependency sharp to v0.24.1 (#8164)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-21 08:06:05 -05:00
Julian Lam
667608a02c fix: #8168 re-allowing slashes in homePageRoute
Resolves regression introduced by b0f3e48ac2
2020-02-19 12:24:41 -05:00
Misty (Bot)
307f8716b7 Latest translations and fallbacks 2020-02-19 09:31:50 +00:00
Julian Lam
eddbd86837 fix: tweak to session validation in addHeaders 2020-02-18 16:08:23 -05:00
Barış Soner Uşaklı
630f5d5b85 fix: only call clearCookie for logged in users 2020-02-18 16:06:05 -05:00
Misty (Bot)
316913b9bb Latest translations and fallbacks 2020-02-16 09:29:39 +00:00
Misty (Bot)
f1d58989d8 Latest translations and fallbacks 2020-02-15 09:29:21 +00:00
Barış Soner Uşaklı
067034082f fix: #6422, update deleted/restored messages 2020-02-14 23:26:54 -05:00
Misty (Bot)
20fbab9723 Latest translations and fallbacks 2020-02-14 09:30:37 +00:00
Barış Soner Uşaklı
4d0636f847 fix: #8163, prevent account deletion 2020-02-13 11:31:20 -05:00
renovate[bot]
f4ed35c998 chore(deps): update dependency husky to v4.2.2 (#8160)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-12 11:25:44 -05:00
renovate[bot]
4b90713717 fix(deps): update dependency mongodb to v3.5.3 (#8161)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-12 11:25:29 -05:00
Barış Soner Uşaklı
5a0c7c1497 fix: register 2020-02-11 21:46:34 -05:00
renovate[bot]
a5f3c2a2c2 fix(deps): update dependency nodebb-widget-essentials to v4.1.0 (#8159)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-11 17:03:01 -05:00
Barış Soner Uşaklı
e74954407f fix: #8157, update recent tid when post is moved 2020-02-11 15:30:15 -05:00
renovate[bot]
7fde180a28 fix(deps): update dependency request to v2.88.2 (#8158)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-11 14:19:56 -05:00
Misty (Bot)
99a3ca7582 Latest translations and fallbacks 2020-02-11 09:30:48 +00:00
Barış Soner Uşaklı
b73aa84ddc fix: tests 2020-02-10 14:30:40 -05:00
Barış Soner Uşaklı
dd3893b134 fix: move start/stop every iteration 2020-02-10 13:49:04 -05:00
Barış Soner Uşaklı
4abe5eb7ff Revert "fix: #8154, move start/stop every iteration"
This reverts commit 300c04cef9.
2020-02-10 13:47:34 -05:00
Barış Soner Uşaklı
300c04cef9 fix: #8154, move start/stop every iteration 2020-02-10 13:47:15 -05:00
Barış Soner Uşaklı
690bb69d03 fix: #8154, respect stop 2020-02-10 13:21:01 -05:00
Barış Soner Uşaklı
f23bc347b1 fix: #8156 dont allow loading members from hidden groups 2020-02-10 13:20:10 -05:00
Barış Soner Uşaklı
03a02e5d1d fix: #8155, don't validate name on update if groupName didn't change 2020-02-10 13:16:45 -05:00
renovate[bot]
ef964b11a8 fix(deps): update dependency redis to v3 (#8152)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-09 11:14:09 -05:00
renovate[bot]
1037de0216 chore(deps): update dependency jsdom to v16 (#8114)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-09 11:14:00 -05:00
renovate[bot]
d8efc6b653 fix(deps): update dependency rimraf to v3.0.2 (#8153)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-09 11:10:35 -05:00
Baris Usakli
236e1e6859 fix: return correct number of suggested topics 2020-02-07 14:50:18 -05:00
Baris Usakli
2e79480179 fix: #8151, don't crash if taskbar doesn't have element 2020-02-07 12:04:37 -05:00
Julian Lam
398f0120b8 fix: logic for determining dailyStats hour vars
Reverts 9ecdb92f7c and fixes it
properly.
2020-02-07 11:35:45 -05:00
Julian Lam
9ecdb92f7c fix: fix daily analytics being one day off 2020-02-07 11:20:59 -05:00
Julian Lam
0b9ad416cb fix: remove debug line 2020-02-07 10:51:24 -05:00
Julian Lam
79737c53fd feat: guard against accidental ommision
...of analytics: prefix in get*StatsForSet methods
2020-02-07 10:28:40 -05:00
Julian Lam
14655f8745 fix: no decimal places for category analytics 2020-02-07 10:22:13 -05:00
Julian Lam
d6e3f3f058 fix: #8142, broken site if no server-side session (#8148)
* fix: #8142, broken site if no server-side session

During the `addHeader` middleware, a check is now done to see if
`req.session.meta` is present. This value is only present if the user
has a valid server-side session.  If it is missing, then it is probably
safe to assume that the server-side session was deleted (either
intentionally or accidentally). In that scenario, the client-side cookie
should be cleared.

Also, there was an issue where the sessionRefresh flag was never cleared
after a successful login, so that was fixed too.

* feat: exported method to get cookie config

* fix: don't clear cookie if cookie is being set

* fix: socket.io tests

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2020-02-06 15:52:37 -05:00
Julian Lam
0885ec6858 fix: #8144 pluginHooks in maintenance mode middleware 2020-02-06 15:43:14 -05:00
Julian Lam
146388aac8 docs: updated changelog 2020-02-05 16:51:00 -05:00
Misty (Bot)
beafd6139f chore: incrementing version number - v1.13.2 2020-02-05 16:04:20 -05:00
Barış Soner Uşaklı
a5ef6b53b8 fix: admin relogin 2020-02-03 11:04:20 -05:00
Barış Soner Uşaklı
c35a21d7f0 fix: #8135 2020-01-31 22:56:55 -05:00
Baris Usakli
1e50616c13 fix: handle mkdirp0.5->1.0x so it doesn't break upgrade 2020-01-31 15:05:50 -05:00
renovate[bot]
157832131d chore(deps): update dependency eslint to v6.8.0 (#8062)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-31 14:14:42 -05:00
renovate[bot]
d5b3d56296 Update dependency postcss to v7.0.26 (#8048)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-31 14:14:23 -05:00
renovate[bot]
976e26a958 chore(deps): update dependency nyc to v15 (#8094)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-31 14:13:54 -05:00
renovate[bot]
eb4a1a5772 chore(deps): update commitlint monorepo (#8100)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-31 14:13:41 -05:00
renovate[bot]
cdfbcbb9ce chore(deps): update dependency lint-staged to v10.0.7 (#8132)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-31 14:13:25 -05:00
Baris Usakli
87225a90c3 fix: #8134, upgrade mkdirp to 1.0.x 2020-01-31 14:10:00 -05:00
Misty (Bot)
5ed7fc0ffa Latest translations and fallbacks 2020-01-31 09:30:22 +00:00
renovate[bot]
16ab641dd1 fix(deps): update dependency connect-redis to v4.0.4 (#8143)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 11:20:48 -05:00
renovate[bot]
726ba71c57 fix(deps): update dependency rimraf to v3.0.1 (#8138)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 10:56:53 -05:00
renovate[bot]
f07b4bfa62 fix(deps): update dependency validator to v12.2.0 (#8136)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 09:10:14 -05:00
renovate[bot]
b370333c6a chore(deps): update dependency mocha to v7 (#8106)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 09:09:38 -05:00
Julian Lam
b959c24a2b Merge branch 'master' of github.com:NodeBB/NodeBB 2020-01-29 12:47:55 -05:00
Julian Lam
111ed802cf fix: onSuccessfulLogin not working
In scenarios where onSuccessfulLogin was not called in the SSO plugin,
core's calling of onSuccessfulLogin was prematurely returning, because
it was checking the wrong value.

This commit fixes the issue by checking a different value.
2020-01-29 12:47:48 -05:00
renovate[bot]
6d7131fbc5 fix(deps): update dependency nodebb-theme-persona to v10.1.34 (#8140)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-28 13:33:30 -05:00
Barış Soner Uşaklı
8c48f94b96 fix: #8139, dont allow restore if not deleted by self 2020-01-28 13:03:58 -05:00
Barış Soner Uşaklı
9969dd6335 fix: use view_deleted when filtering, closes #8137 2020-01-28 12:42:57 -05:00
Barış Soner Uşaklı
d927b763c1 fix: escape invalid rules 2020-01-26 22:18:07 -05:00
Barış Soner Uşaklı
66febb8071 feat: add test for isOnline 2020-01-26 21:51:05 -05:00
Barış Soner Uşaklı
3cca929a88 fix: add missing await 2020-01-26 21:35:04 -05:00
Barış Soner Uşaklı
df2c785127 feat: add test for change post owner 2020-01-24 15:24:01 -05:00
Barış Soner Uşaklı
0ae1eb4f6e fix: missing await in SocketPosts.changeOwner 2020-01-24 14:28:27 -05:00
Renovate Bot
dd440ce902 chore(deps): update dependency husky to v4 2020-01-24 13:34:09 -05:00
Andrew Rodrigues
027f3f2256 chore: bump themes 2020-01-24 06:58:11 -05:00
Barış Soner Uşaklı
23810cc64b fix: #8133, check if user is in room before removing 2020-01-23 22:40:14 -05:00
Barış Soner Uşaklı
30c503611c refactor: messaging 2020-01-23 22:19:15 -05:00
Barış Soner Uşaklı
cd1fa27a8b fix: add missing await 2020-01-23 22:19:00 -05:00
Barış Soner Uşaklı
ee4304b443 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-01-23 22:13:07 -05:00
Barış Soner Uşaklı
f799f017ab fix: missing await 2020-01-23 22:04:49 -05:00
Baris Usakli
418c174d56 fix: dont return flag data to client 2020-01-23 12:48:21 -05:00
Barış Soner Uşaklı
51236df4ed fix: check if user has read priv before flagging 2020-01-22 12:14:50 -05:00
Barış Soner Uşaklı
1f13ab8a19 fix: restrict getUsersInRoom to members 2020-01-22 11:46:26 -05:00
Andrew Rodrigues
236a173009 chore: bump vanilla 2020-01-21 16:37:32 -05:00
Andrew Rodrigues
82ace391cb chore: bump persona 2020-01-21 15:58:13 -05:00
Barış Soner Uşaklı
3077eb9428 fix: remove unused conditional, dont add dupe messages 2020-01-21 15:17:31 -05:00
Julian Lam
ecc579a29c fix: tests for messaging 2020-01-21 14:35:50 -05:00
Julian Lam
594cd7e176 fix: #8127 user join system message duplicated
- Now showing user-join message for chat owner in addition to the newly
  added user
- If a modal already exists for a room when createModal is called, don't
  return null, return the modal
2020-01-21 13:57:16 -05:00
Julian Lam
106c141ff5 fix: background-size in taskbar images 2020-01-21 13:57:15 -05:00
renovate[bot]
c510a2c4f2 fix(deps): update dependency nodebb-theme-persona to v10.1.31 (#8129)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-21 13:49:55 -05:00
renovate[bot]
0e49cfb98d fix(deps): update dependency mongodb to v3.5.2 (#8092)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-21 13:49:36 -05:00
Renovate Bot
66992a556c chore(deps): update dependency lint-staged to v10.0.1 2020-01-20 15:18:18 -05:00
Barış Soner Uşaklı
1b08f37612 fix: tests, was using hardcoded message id 2020-01-20 11:15:26 -05:00
Barış Soner Uşaklı
bfaba89557 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-01-20 10:59:22 -05:00
Julian Lam
8bb5e71ebe fix: typo in #8116 2020-01-20 10:21:27 -05:00
Julian Lam
3fac09b1ab fix: build step defaults to series instead of parallel
- The logic for the build step now defaults to series instead of
  parallel, unless more than 4 CPU cores are detected by the os
  library.
- The `--series` flag still exists, and will enforce build in
  series, as before.
2020-01-20 10:21:27 -05:00
Julian Lam
8e5a2276af feat: check flag values on save (assignee and state) (#8122)
* feat: add assignee checking when updating flag

Prior to this, it was possible to update the assignee to any value (or
any user. This commit adds checking to allow only admins, global
moderators, or in the case of flagged posts, moderators.

Also some prep work was added for value checking `state`.

* feat: value checking `state` on flag update

The state should be one of the constants defined earlier in the file.
2020-01-20 10:19:23 -05:00
Misty (Bot)
ddce77b343 Latest translations and fallbacks 2020-01-20 09:29:52 +00:00
Barış Soner Uşaklı
6a63c1a100 fix: escape system message, don't allow editing system messages 2020-01-19 22:20:43 -05:00
Barış Soner Uşaklı
c8fb7f9246 fix: escape register query param 2020-01-19 22:03:18 -05:00
Barış Soner Uşaklı
8c6a7954cf fix: delete upload 2020-01-19 14:57:06 -05:00
Renovate Bot
d74eecfbe8 chore(deps): update dependency lint-staged to v10 2020-01-19 14:23:07 -05:00
Barış Soner Uşaklı
153b1a0eaa fix: check uploadName 2020-01-19 11:56:13 -05:00
Misty (Bot)
1656738359 Latest translations and fallbacks 2020-01-19 09:29:07 +00:00
Barış Soner Uşaklı
01d1ae78c8 fix: #8120, bubble errors from static hooks 2020-01-17 13:30:57 -05:00
Barış Soner Uşaklı
b0f3e48ac2 fix: escape bootswatchSkin and homepageRoute 2020-01-17 11:48:00 -05:00
Barış Soner Uşaklı
3e52557689 fix: change owner missing await 2020-01-17 11:16:23 -05:00
yossizahn
09d55581d8 Fix: ACP > manage > group: save disableLeave (#8123)
* Fix: ACP > manage > group: save disableLeave

* Fix eslint comma-dangle
2020-01-17 09:38:23 -05:00
renovate[bot]
16e8f49655 fix(deps): update dependency sharp to v0.24.0 (#8121)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-16 15:59:37 -05:00
Barış Soner Uşaklı
e3952674ba fix: hsts always enabled 2020-01-15 19:32:14 -05:00
Barış Soner Uşaklı
b7a57996f7 fix: escape topic.thumb 2020-01-15 18:53:08 -05:00
renovate[bot]
ca10f8f073 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.21 (#8119)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 12:07:25 -05:00
Baris Usakli
842916ea42 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-01-15 11:36:39 -05:00
Baris Usakli
4eb9652a2a fix: #8112, don't crash hook returns no data 2020-01-15 11:36:27 -05:00
Opliko
740de034fa #8115 - log post owner changes (#8117)
* log post owner changes

* log each post separately

* use map instad of a loop
2020-01-15 11:05:57 -05:00
Opliko
879acc85ae Add disable/enable category to category edit page (#8118) 2020-01-14 17:30:56 -05:00
Barış Soner Uşaklı
e06c1bfcd2 fix: escape config.userLang/acpLang, don't allow invalid language codes 2020-01-13 12:27:50 -05:00
renovate[bot]
df5e3a7394 fix(deps): update dependency nodebb-widget-essentials to v4.0.18 (#8111)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-09 20:22:10 -05:00
Barış Soner Uşaklı
61da8c29ac fix: group create/join/update name validation 2020-01-07 15:40:54 -05:00
Barış Soner Uşaklı
48f086279c fix: don't crash if groupData is missing 2020-01-07 10:39:35 -05:00
Barış Soner Uşaklı
5a8217de01 fix: #8105, fix export json on page load 2020-01-04 10:34:20 -05:00
arite
527745310d fix: #8103, fix advanced menu not displaying in ACP 2020-01-04 00:27:20 -05:00
Renovate Bot
5e6233969e Update dependency nodebb-theme-vanilla to v11.1.13 2020-01-03 16:42:49 -05:00
Renovate Bot
81c5ca15eb Update dependency nodebb-plugin-mentions to v2.7.4 2020-01-03 14:26:59 -05:00
Misty (Bot)
ac567bc10a Latest translations and fallbacks 2020-01-02 09:49:08 +00:00
Misty (Bot)
5410b5d6da Latest translations and fallbacks 2020-01-01 09:47:53 +00:00
Misty (Bot)
223225378e Latest translations and fallbacks 2019-12-31 09:49:04 +00:00
Barış Soner Uşaklı
10989cccaa fix: meta description missing if url doesn't have post index 2019-12-30 22:19:00 -05:00
Misty (Bot)
0aae421417 Latest translations and fallbacks 2019-12-30 09:48:38 +00:00
Misty (Bot)
fd056b58fb Latest translations and fallbacks 2019-12-29 09:48:18 +00:00
Misty (Bot)
bb1515ce56 Latest translations and fallbacks 2019-12-28 09:48:24 +00:00
Barış Soner Uşaklı
c1b1ee61f3 fix: create user modal instantly closing 2019-12-27 09:51:41 -05:00
Barış Soner Uşaklı
9d074731f4 fix: login with weak password 2019-12-26 20:17:54 -05:00
Misty (Bot)
b9679df784 Latest translations and fallbacks 2019-12-26 09:49:04 +00:00
Barış Soner Uşaklı
f6d7a24a67 fix: dont check password strength on login 2019-12-24 09:07:17 -05:00
Misty (Bot)
9a4a48bc45 Latest translations and fallbacks 2019-12-20 09:49:13 +00:00
Julian Lam
2edc6960d0 docs: updated changelog 2019-12-19 15:21:11 -05:00
Misty (Bot)
cc6758a0f1 chore: incrementing version number - v1.13.1 2019-12-19 15:17:41 -05:00
Misty (Bot)
94e2c7e4bb Latest translations and fallbacks 2019-12-18 09:50:31 +00:00
renovate[bot]
ed2a0abd22 Update dependency nodebb-plugin-composer-default to v6.3.20 (#8090) 2019-12-17 17:13:15 -05:00
renovate[bot]
e92403bce1 Update dependency nodebb-plugin-composer-default to v6.3.19 (#8089) 2019-12-17 16:58:50 -05:00
renovate[bot]
5de315f4d1 Update dependency nodebb-plugin-composer-default to v6.3.18 (#8088) 2019-12-17 16:23:28 -05:00
Aziz Khoury
acca0b956e more secure isRelativeUrl (#8087) 2019-12-17 16:08:09 -05:00
Barış Soner Uşaklı
cac4cba224 Update ISSUE_TEMPLATE.md 2019-12-17 10:35:17 -05:00
Barış Soner Uşaklı
dec157d606 fix: #8085, fix cookie name 2019-12-17 08:10:21 -05:00
Renovate Bot
483d75354e fix(deps): update dependency semver to v7 2019-12-16 09:44:51 -05:00
Barış Soner Uşaklı
a227cbe328 refactor: async/await middleware 2019-12-16 08:44:55 -05:00
Renovate Bot
610ecf352b fix(deps): update dependency nodebb-theme-vanilla to v11.1.12 2019-12-13 15:01:43 -05:00
Barış Soner Uşaklı
1b992d8201 fix: #8058, fix incorrect digest setting display in ACP 2019-12-11 10:25:16 -05:00
Misty (Bot)
505409b9f3 Latest translations and fallbacks 2019-12-11 09:30:02 +00:00
renovate[bot]
3451e11406 Update dependency mongodb to v3.4.0 (#8082) 2019-12-10 10:03:37 -05:00
renovate[bot]
c3418c2621 chore(deps): update dependency husky to v3.1.0 (#8046) 2019-12-10 09:55:43 -05:00
renovate[bot]
0aeee14472 chore(deps): update dependency coveralls to v3.0.9 (#8067) 2019-12-10 09:55:22 -05:00
Misty (Bot)
9c48a4c021 Latest translations and fallbacks 2019-12-09 09:32:01 +00:00
Peter Jaszkowiak
8c314fe461 Support allowing classes
Otherwise `<input class="form-control">` can't work
2019-12-08 12:35:08 -05:00
Misty (Bot)
581211e12f Latest translations and fallbacks 2019-12-06 09:29:44 +00:00
Baris Usakli
6a17e32dec fix: remove select version 2019-12-05 18:24:56 -05:00
Baris Usakli
3ae983001d fix: travis config 2019-12-05 18:20:11 -05:00
Baris Usakli
3454a24b3c refactor: change to const/let 2019-12-05 17:52:50 -05:00
Baris Usakli
3731dc4eb1 fix: travis 🐶 2019-12-05 17:47:58 -05:00
Baris Usakli
a8df6d6298 fix: #8078, dont mark notifications read without a mergeId 2019-12-05 15:44:22 -05:00
Baris Usakli
7af1c873a3 fix: #8077, show continue chat on all profile pages 2019-12-05 14:56:01 -05:00
renovate[bot]
eb18c182a6 fix(deps): update dependency sharp to v0.23.4 (#8076) 2019-12-05 10:49:20 -05:00
Misty (Bot)
9197a0db1e Latest translations and fallbacks 2019-12-05 09:30:11 +00:00
Julian Lam
4fc6944377 feat: better output for cli plugins list, closes #8075 2019-12-04 16:07:47 -05:00
Barış Soner Uşaklı
2679f37dec fix: profile showing posts from deleted topics 2019-12-04 11:37:35 -05:00
Barış Soner Uşaklı
05c9fe2735 feat: #5272, allow changing user groups from manage users page 2019-12-04 11:14:01 -05:00
Misty (Bot)
ff8dfa049d Latest translations and fallbacks 2019-12-04 09:30:25 +00:00
Baris Usakli
4d66978338 fix: #8073, configurable necroThreshold 2019-12-03 12:11:39 -05:00
Baris Usakli
160e0ab1f5 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-12-03 11:17:51 -05:00
Baris Usakli
b323df2fe0 fix: allow members to search as well 2019-12-03 11:17:11 -05:00
Misty (Bot)
6ada231bc8 Latest translations and fallbacks 2019-12-03 09:29:51 +00:00
Renovate Bot
0514383ab0 fix(deps): update dependency nodebb-theme-persona to v10.1.30 2019-12-02 15:44:29 -05:00
Renovate Bot
702ca164ad fix(deps): update dependency nodebb-plugin-markdown to v8.11.0 2019-12-02 13:45:48 -05:00
Baris Usakli
c2cd7de891 fix: #8069, dont show hidden groups in search 2019-11-29 13:35:50 -05:00
Baris Usakli
33fd4a1c2b fix: missing await 2019-11-29 11:35:00 -05:00
Misty (Bot)
ce449e918d Latest translations and fallbacks 2019-11-29 09:30:08 +00:00
Renovate Bot
2aef7a5b0d fix(deps): update dependency connect-mongo to v3.2.0 2019-11-28 13:03:07 -05:00
Misty (Bot)
d8a48cf0a7 Latest translations and fallbacks 2019-11-27 09:28:47 +00:00
Julian Lam
f9a8ebfce9 feat: merge social authentication into plugins menu in ACP
* also reordered the menu in ACP so plugins come first
* added muted headers in desktop version to distinguish both lists
* fixes julianlam/nodebb-plugin-sso-google#21
* closes #8066
2019-11-26 11:30:49 -05:00
renovate[bot]
68118e438b fix(deps): update dependency mongodb to v3.3.5 (#8065) 2019-11-26 10:45:47 -05:00
Misty (Bot)
802f566b17 Latest translations and fallbacks 2019-11-26 09:28:09 +00:00
Barış Soner Uşaklı
1bda92e3fc fix: #8064, break-word on post-queue 2019-11-25 14:22:35 -05:00
Barış Soner Uşaklı
7ed002a138 fix: #6711 2019-11-25 13:25:29 -05:00
Misty (Bot)
c8db839e63 Latest translations and fallbacks 2019-11-25 09:28:19 +00:00
Barış Soner Uşaklı
de404102c0 fix: #8061, don't crash if there is a network problem 2019-11-24 09:41:03 -05:00
Misty (Bot)
86cc80348d Latest translations and fallbacks 2019-11-24 09:27:37 +00:00
Barış Soner Uşaklı
a688aaae51 fix: #8059, properly mark topic unread when using mark unread for all 2019-11-23 08:52:18 -05:00
Misty (Bot)
4fea12c83e Latest translations and fallbacks 2019-11-23 09:27:39 +00:00
Barış Soner Uşaklı
3811e0a3df fix: #8042, dont show errors after clearing form 2019-11-22 20:12:03 -05:00
renovate[bot]
349330917d fix(deps): update dependency nodebb-theme-persona to v10.1.29 (#8057) 2019-11-22 19:36:12 -05:00
Renovate Bot
32cfe96f48 chore(deps): update dependency eslint to v6.7.0 2019-11-22 14:35:54 -05:00
Misty (Bot)
10a6ca6173 Latest translations and fallbacks 2019-11-22 09:28:29 +00:00
renovate[bot]
8ba261048b chore(deps): update dependency coveralls to v3.0.8 (#8054) 2019-11-21 10:15:29 -05:00
renovate[bot]
6fa88823c8 fix(deps): update dependency sharp to v0.23.3 (#8044) 2019-11-21 10:15:05 -05:00
renovate[bot]
488ea3949b fix(deps): update dependency validator to v12.1.0 (#8055) 2019-11-21 10:14:32 -05:00
Misty (Bot)
beebe53a71 Latest translations and fallbacks 2019-11-21 09:28:42 +00:00
Julian Lam
510737726c fix: unhandled promise rejection error on reset error
Also, removed buildAll() on reset.
2019-11-20 13:45:29 -05:00
Baris Usakli
366ad5cd69 fix: #8050, fix redirect after registration 2019-11-19 12:02:14 -05:00
Misty (Bot)
0002c3f499 Latest translations and fallbacks 2019-11-19 09:28:41 +00:00
Opliko
0efe27b1f2 fix: make _csrf a secure cookie if the website is using https (#8045)
* Make _csrf a secure cookie if the website is using https

* fix style for TravsCI

* Add `url_parsed` to databasemock
2019-11-18 13:07:05 -05:00
renovate[bot]
b3511f71e0 fix(deps): update dependency nodebb-theme-slick to v1.2.28 (#8041) 2019-11-16 11:34:10 -05:00
renovate[bot]
d567c4ae22 fix(deps): update dependency nodebb-theme-vanilla to v11.1.11 (#8040) 2019-11-15 15:34:22 -05:00
renovate[bot]
6c87bed5f6 fix(deps): update dependency nodebb-theme-persona to v10.1.28 (#8039) 2019-11-15 15:32:55 -05:00
Baris Usakli
0a96c92300 fix: #8034 2019-11-15 15:27:02 -05:00
Baris Usakli
b3caa40189 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-11-15 15:17:30 -05:00
Baris Usakli
cec0079573 refactor: shorter returns 2019-11-15 14:27:45 -05:00
renovate[bot]
1e2e16b4bb fix(deps): update dependency nodebb-plugin-dbsearch to v4.0.7 (#8038) 2019-11-15 14:26:52 -05:00
Baris Usakli
efd1e88bbf feat: convert middleware.isAdmin to async/await 2019-11-15 14:24:24 -05:00
Baris Usakli
a254520485 fix: serialize 2019-11-15 14:09:10 -05:00
Baris Usakli
1eca5b3dae fix: show login fields if user has local password 2019-11-15 13:19:29 -05:00
Misty (Bot)
2eb8c05e4b Latest translations and fallbacks 2019-11-15 09:28:31 +00:00
Baris Usakli
6c404b81fb fix: use the correct attribute name for widgets 2019-11-14 11:25:35 -05:00
Misty (Bot)
83ba2e234b Latest translations and fallbacks 2019-11-14 09:28:53 +00:00
Julian Lam
94499da3d6 docs: updated changelog 2019-11-13 16:51:30 -05:00
Misty (Bot)
c38b2d2319 chore: incrementing version number - v1.13.0 2019-11-13 21:47:10 +00:00
Ben Lubar
f65922297d fix abysmal postgresql performance in getSortedSetsMembers (#8030)
* refactor postgres upgrade function to use async

* add function wrapper for getting the elements of a sorted set to avoid postgres planning the query with a nested sequential scan

* fix fatal(?!) lint errors

* add missing await

* bump PostgreSQL version on Travis CI to one that isn't over 3 years out of date
2019-11-13 14:45:48 -05:00
Misty (Bot)
b47f1769e4 Latest translations and fallbacks 2019-11-13 09:28:33 +00:00
Misty (Bot)
5e88c585cb Latest translations and fallbacks 2019-11-12 09:28:43 +00:00
renovate[bot]
2093418de8 fix(deps): update dependency mongodb to v3.3.4 (#8032) 2019-11-11 19:26:42 -05:00
Misty (Bot)
7721c58dd3 Latest translations and fallbacks 2019-11-09 09:27:32 +00:00
Barış Soner Uşaklı
eabc6f4763 fix: crash if post doesn't have topic data 2019-11-08 18:38:58 -05:00
Barış Soner Uşaklı
e52ecfaf3f fix: don't touch objects that don't have the required fields 2019-11-08 18:34:57 -05:00
Barış Soner Uşaklı
f4381ba366 fix: add missing await to sendValidationEmail 2019-11-07 18:10:30 -05:00
Misty (Bot)
8d41cdefa9 Latest translations and fallbacks 2019-11-07 09:27:59 +00:00
Julian Lam
dee1d44722 fix: #8007 added tfoot to clear new group button 2019-11-06 14:38:46 -05:00
Julian Lam
df139928b6 feat: displaying one-click unsubscribe link in email footer (#8024)
closes #8016
2019-11-06 14:19:57 -05:00
Renovate Bot
c01699f706 fix(deps): update dependency nodebb-theme-vanilla to v11.1.10 2019-11-06 14:19:35 -05:00
Renovate Bot
182397b171 fix(deps): update dependency nodebb-theme-persona to v10.1.27 2019-11-06 14:19:28 -05:00
Misty (Bot)
9c3fa7758a Latest translations and fallbacks 2019-11-06 09:29:26 +00:00
renovate[bot]
c2565a2f99 fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.6.7 (#8027) 2019-11-05 21:09:41 -05:00
Barış Soner Uşaklı
480a64aaa7 feat: #7467, pass query params when redirecting to posts 2019-11-05 19:51:01 -05:00
Barış Soner Uşaklı
b5a30006e2 feat: use helpers.setupAdminPageRoute 2019-11-05 15:41:33 -05:00
Misty (Bot)
d75d9fdd33 Latest translations and fallbacks 2019-11-05 09:28:32 +00:00
Renovate Bot
9d946d1c76 chore(deps): update dependency jsdom to v15.2.1 2019-11-04 11:30:52 -05:00
Misty (Bot)
d9b8e929e6 Latest translations and fallbacks 2019-11-04 09:28:23 +00:00
Misty (Bot)
23d66ae86c Latest translations and fallbacks 2019-11-03 09:27:22 +00:00
Julian Lam
645d647248 feat: wip, better digest handling (+ eventual digest resend logic) (#7995)
* feat: wip, better digest handling (+ eventual digest resend logic)

- await emailer.send call in digest.send method
- save send success to a new sorted set digest:{interval}:byUid

* feat: continuing work on digest tools

- Added ACP page to view digest settings and delivery times per user

* feat: added paginator and stub buttons for resending digest

* feat: wrapping up digest revamp

- New language strings in ACP digest page
- Client-side ACP script for digest ACP page
- Websocket call for ACP page to execute digests
- Broke out logic to retrieve user digest settings to getUsersInterval

* fix: minor cleanup

* fix: #8010 and some style suggestions from baris

* fix: resolve confusing comment
2019-11-02 13:11:02 -04:00
Barış Soner Uşaklı
e3c9dafa08 fix: tests 2019-11-01 22:13:00 -04:00
Barış Soner Uşaklı
f28bd75f5e up vanilla 2019-11-01 21:40:01 -04:00
renovate[bot]
7122bdc796 fix(deps): update dependency nodebb-theme-slick to v1.2.27 (#8020) 2019-11-01 21:30:08 -04:00
renovate[bot]
73d9752eba fix(deps): update dependency nodebb-theme-persona to v10.1.26 (#8019) 2019-11-01 21:07:39 -04:00
Barış Soner Uşaklı
0037a03886 fix: #8018, allow absolute urls in notification.path 2019-11-01 21:01:46 -04:00
renovate[bot]
bfea9d3906 fix(deps): update dependency connect-mongo to v3.1.2 (#8013) 2019-11-01 12:52:31 -04:00
renovate[bot]
ef5f671410 fix(deps): update dependency postcss to v7.0.21 (#7998) 2019-10-31 17:32:27 -04:00
renovate[bot]
e1e2d20c6a fix(deps): update dependency nodebb-plugin-composer-default to v6.3.17 (#8009) 2019-10-31 17:31:59 -04:00
renovate[bot]
420f9fe495 fix(deps): update dependency sharp to v0.23.2 (#8005) 2019-10-31 17:31:51 -04:00
renovate[bot]
cb91e7564e fix(deps): update dependency nodebb-theme-persona to v10.1.25 (#8012) 2019-10-31 17:07:24 -04:00
Barış Soner Uşaklı
59242d31aa fix: #8010, fix isBanned call 2019-10-31 16:31:49 -04:00
Barış Soner Uşaklı
ac5c560c54 feat: add action:messaging.save 2019-10-31 12:54:03 -04:00
Misty (Bot)
0283ffd04d Latest translations and fallbacks 2019-10-31 09:28:10 +00:00
Barış Soner Uşaklı
c4e58160cf fix: #8003, check children recursively 2019-10-30 12:47:01 -04:00
Misty (Bot)
72fd9f6546 Latest translations and fallbacks 2019-10-30 09:28:29 +00:00
Barış Soner Uşaklı
b91c4790d1 fix: dont show delete topics on unread 2019-10-29 21:28:28 -04:00
renovate[bot]
7655265ce2 fix(deps): update dependency connect-mongo to v3.1.1 (#8006) 2019-10-29 19:08:36 -04:00
Misty (Bot)
f69b1cebb1 Latest translations and fallbacks 2019-10-29 09:28:50 +00:00
Barış Soner Uşaklı
1cedc4a0d6 feat: #7957, allow post queue based on group
allow multiple select in ACP pages
2019-10-28 14:36:14 -04:00
Renovate Bot
38e9f1d556 Update dependency validator to v12 2019-10-28 11:08:33 -04:00
Misty (Bot)
188bb6b3eb Latest translations and fallbacks 2019-10-27 09:27:10 +00:00
Misty (Bot)
c4190dde0f Latest translations and fallbacks 2019-10-26 09:27:15 +00:00
Renovate Bot
d0e428e9c8 chore(deps): update dependency eslint to v6.6.0 2019-10-25 15:20:44 -04:00
Julian Lam
3952849f30 fix: #8000, tweak wording; password reset success 2019-10-25 11:52:54 -04:00
Barış Soner Uşaklı
0e5e47f410 fix: parseInt cutoff 2019-10-24 19:55:21 -04:00
Barış Soner Uşaklı
e020b85bf5 feat: add filter:topics.unreadCutoff 2019-10-24 19:38:37 -04:00
renovate[bot]
401d1eed1a fix(deps): update dependency connect-mongo to v3.1.0 (#7994) 2019-10-23 13:00:29 -04:00
Opliko
989107d9b5 feat: Add filter:topic.delete and filter:topic.restore (#7946) (#7989)
* Add filter:topic.delete

* Don't return undefined data

* add topic.restore and pass canRestore to filter

* fix some bugs created by conflict resolution and new changes

* more readable hook

* fix styling for TravisCI

* literally just two newlines so that TravisCI builds again
2019-10-22 19:25:54 -04:00
Barış Soner Uşaklı
4b8897d9bc fix: lint 2019-10-22 14:12:52 -04:00
Aziz Khoury
beea56b3c6 ie11 doesnt support Object.values (#7993) 2019-10-22 13:44:18 -04:00
Julian Lam
cf7e0cfd2d feat: no more session cookie for guests (#7982)
* feat: no more session cookie for guests

* fix(tests): added additional tests and fixed the broken test
2019-10-22 13:38:36 -04:00
Julian Lam
6155c4600f fix(deps): bump persona 2019-10-22 13:11:26 -04:00
renovate[bot]
d108c7d031 chore(deps): update dependency lint-staged to v9.4.2 (#7954) 2019-10-22 12:23:53 -04:00
Birkhoff Lee
2f515bac07 Add docker-compose.yml (#7966) 2019-10-22 12:23:12 -04:00
Opliko
df1efe5f96 feat: Implement WICG change-password-url (#7072) (#7990)
* feat:  Implement WICG change-password-url (#7072)

* fix style for TravisCI
2019-10-22 12:16:09 -04:00
uplift
1aa520b7a0 parseInt uid in room users check (#7988)
nodebb-write-api fails this check without parsing into an int
2019-10-22 12:07:53 -04:00
Misty (Bot)
500ca6658e Latest translations and fallbacks 2019-10-22 09:28:11 +00:00
Barış Soner Uşaklı
b01a47cbc1 feat: log errors from mubsub 2019-10-21 16:12:52 -04:00
Misty (Bot)
57dce269c3 Latest translations and fallbacks 2019-10-21 09:28:09 +00:00
renovate[bot]
9bd6f6864a fix(deps): update dependency nodebb-theme-persona to v10.1.23 (#7986) 2019-10-20 17:02:43 -04:00
renovate[bot]
e31a47cd40 chore(deps): update dependency mocha to v6.2.2 (#7984) 2019-10-20 16:56:21 -04:00
Misty (Bot)
37642f4313 Latest translations and fallbacks 2019-10-19 09:27:14 +00:00
Barış Soner Uşaklı
441dd86d29 fix: convert param to string in slugify
fixes adding users to privilege table
2019-10-17 18:55:56 -04:00
renovate[bot]
9b308e4b07 chore(deps): update dependency coveralls to v3.0.7 (#7961) 2019-10-17 00:14:03 -04:00
renovate[bot]
9b4e9882b0 chore(deps): update dependency jsdom to v15.2.0 (#7971) 2019-10-17 00:13:49 -04:00
Barış Soner Uşaklı
d679218859 feat: upgrade to sitemap5 (#7980) 2019-10-16 22:14:59 -04:00
renovate[bot]
73e7aec5a4 Update dependency mongodb to v3.3.3 (#7975) 2019-10-16 21:33:05 -04:00
Barış Soner Uşaklı
f9f85fc425 fix: cli/reset.js (#7979) 2019-10-16 20:50:38 -04:00
Barış Soner Uşaklı
95a372df85 fix: #7977, fix undefined url (#7978) 2019-10-16 17:42:02 -04:00
Julian Lam
ddf3812cdc fix: passwords always expiring upon login 2019-10-16 13:52:18 -04:00
Barış Soner Uşaklı
ca3be1f336 fix: #7974 (#7976) 2019-10-16 13:33:00 -04:00
Misty (Bot)
4093c98794 Latest translations and fallbacks 2019-10-16 09:28:46 +00:00
Misty (Bot)
132e32eb5c Latest translations and fallbacks 2019-10-15 09:27:59 +00:00
Renovate Bot
fd5095a379 chore(deps): update dependency husky to v3.0.9 2019-10-14 22:29:20 -04:00
Misty (Bot)
632daa0e94 Latest translations and fallbacks 2019-10-12 09:27:01 +00:00
Barış Soner Uşaklı
d72b0d1616 fix: delete follower/followingCount as well 2019-10-11 18:54:33 -04:00
Baris Usakli
52650436c3 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-10-11 15:27:38 -04:00
Baris Usakli
485fbd2f14 feat: #7964, change all categories at once
allow passing cids to setCategoryWatchState and category.exists
2019-10-11 15:25:41 -04:00
renovate[bot]
bf6ae6d6d0 fix(deps): update dependency nodebb-theme-persona to v10.1.22 (#7965) 2019-10-11 15:14:03 -04:00
Baris Usakli
0da4f7ee8d fix: event tests 2019-10-11 12:44:34 -04:00
Baris Usakli
990508a533 feat: closes #7952, translate widget-settings 2019-10-11 11:51:24 -04:00
Baris Usakli
554e67116f feat: remove ability to delete events from acp 2019-10-11 11:32:11 -04:00
Barış Soner Uşaklı
f52f98fb89 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-10-10 22:09:08 -04:00
Barış Soner Uşaklı
3775301f24 fix: #7958, give rewards one by one
no need to check group.exists when leaving groups, if group doesn't exists isMember will be false anyways
2019-10-10 22:03:41 -04:00
renovate[bot]
692d94bf8c fix(deps): update dependency nodebb-rewards-essentials to v0.1.2 (#7962) 2019-10-10 21:54:35 -04:00
Barış Soner Uşaklı
88818a5bbf fix: rewards page acp not loading rewards 2019-10-10 18:12:25 -04:00
Baris Usakli
dd20293145 fix: #7929, use fixed bootswatch 2019-10-10 12:01:48 -04:00
Baris Usakli
f272daaf37 fix: #7960, dont try to save size for non images 2019-10-10 11:21:15 -04:00
Barış Soner Uşaklı
03827fa695 feat: resetting theme will reset skin
async/await cli/reset
2019-10-09 23:58:24 -04:00
Barış Soner Uşaklı
565f9726f7 fix: #7941, validate some input fields 2019-10-09 22:04:25 -04:00
Barış Soner Uşaklı
661a0f5068 fix: don't show deleted topics on unread 2019-10-09 18:03:07 -04:00
Baris Usakli
6b3eb0144e refactor: use arrow function 2019-10-09 13:30:59 -04:00
Baris Usakli
c01b0fbd8c fix: #7951, don't send notification for system messages 2019-10-09 13:29:49 -04:00
renovate[bot]
1a150d8f66 fix(deps): update dependency nodebb-theme-persona to v10.1.21 (#7956) 2019-10-08 19:02:35 -04:00
Baris Usakli
5b458fc7ca fix: #7953, allow icon only group badges 2019-10-08 12:19:17 -04:00
Misty (Bot)
b232b95f76 Latest translations and fallbacks 2019-10-08 09:27:54 +00:00
Barış Soner Uşaklı
ac4a500402 fix: remove 0 fields 2019-10-07 23:43:08 -04:00
Barış Soner Uşaklı
75bcb0f484 fix: remove unused data from post/topic/user hashes 2019-10-07 23:13:43 -04:00
Barış Soner Uşaklı
4bc77d064b feat: disable timeout on launch route 2019-10-07 17:42:29 -04:00
Barış Soner Uşaklı
205d3f9d12 fix: groups not visible on widget panes 2019-10-07 17:22:15 -04:00
Barış Soner Uşaklı
c5f7b66c3a fix: new nav items will show group select 2019-10-07 17:03:16 -04:00
Barış Soner Uşaklı
f402d7271a fix: move post and change owner 2019-10-07 16:51:36 -04:00
Barış Soner Uşaklı
b19f0a686c fix: 404 on new groups with spaces 2019-10-07 16:42:39 -04:00
Barış Soner Uşaklı
7823144bd9 fix: #7940, run upgrade scripts on startup 2019-10-07 14:19:35 -04:00
Barış Soner Uşaklı
38322ec308 fix: #7949, delete old user notifs 2019-10-07 14:10:08 -04:00
Barış Soner Uşaklı
6fb29e8408 fix: tests 2019-10-07 12:46:48 -04:00
Misty (Bot)
aafb7739a9 Latest translations and fallbacks 2019-10-07 09:27:36 +00:00
Barış Soner Uşaklı
f983f536c6 fix: check threshold before setting bookmark 2019-10-07 00:47:14 -04:00
Barış Soner Uşaklı
4e28e575cf fix: mongo collection stats 2019-10-06 22:08:52 -04:00
Barış Soner Uşaklı
02d38caf47 refactor: async/await 2019-10-05 17:05:52 -04:00
Baris Usakli
91e8e3905c fix: #7947, disable unused cookie 2019-10-05 10:12:19 -04:00
Misty (Bot)
a578f92bcc Latest translations and fallbacks 2019-10-05 09:26:57 +00:00
Barış Soner Uşaklı
c9bf6d0fe1 fix: #7945, show watched categories in ignored categories 2019-10-04 22:00:37 -04:00
Barış Soner Uşaklı
f8c8038a06 refactor: remove log, topics.exists 2019-10-04 19:19:01 -04:00
renovate[bot]
cffbb32585 fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.6.6 (#7944) 2019-10-04 09:44:15 -04:00
Misty (Bot)
b484f309e2 Latest translations and fallbacks 2019-10-04 09:27:23 +00:00
renovate[bot]
9589fa327c fix(deps): update dependency nodebb-theme-persona to v10.1.20 (#7943) 2019-10-04 00:45:29 -04:00
Barış Soner Uşaklı
18bf865d83 fix: db.init calls 2019-10-04 00:38:59 -04:00
renovate[bot]
0d629f0696 fix(deps): update dependency nodebb-theme-persona to v10.1.19 (#7942) 2019-10-04 00:22:59 -04:00
Barış Soner Uşaklı
dc8d721c46 refactor: async/await 2019-10-03 23:31:42 -04:00
Barış Soner Uşaklı
1f0c6f3d60 refactor: async/await mongo 2019-10-03 22:26:33 -04:00
Baris Usakli
d5dda26f97 fix: #7938, escape username in registration queue 2019-10-03 11:30:09 -04:00
Barış Soner Uşaklı
603908c10a refactor: async/await socket.io/index 2019-10-02 22:51:02 -04:00
Barış Soner Uşaklı
3455c27a8d fix: #7901, handle group names that are translation keys 2019-10-02 22:20:09 -04:00
Barış Soner Uşaklı
c5ffd8cc74 refactor: async/await image.js 2019-10-02 18:50:03 -04:00
Barış Soner Uşaklı
41f8da2e7c fix: fix the order of groups on user profile 2019-10-02 18:18:51 -04:00
renovate[bot]
2856333d05 fix(deps): update dependency connect-redis to v4.0.3 (#7933) 2019-10-02 12:09:53 -04:00
Renovate Bot
88cae4158a chore(deps): update dependency husky to v3.0.8 2019-10-02 11:47:58 -04:00
Misty (Bot)
2477849bb5 Latest translations and fallbacks 2019-10-02 09:27:23 +00:00
Barış Soner Uşaklı
b192605450 feat: add new hook to get custom category tids for unread 2019-10-01 22:14:50 -04:00
Barış Soner Uşaklı
05e753c73b refactor: remove var 2019-10-01 21:08:24 -04:00
Aziz Khoury
94810fd637 feat: adding filter:login.check and loginFormEntry[] for the filter:login.build hook (#7861)
* adding filter:login.check and loginFormEntry[] for the filter:login.build hook, related to nodebb-plugin-spam-be-gone/issues/32

* do not exceed 50 lines per function

* spam-be-gone@0.6.4
2019-10-01 17:21:48 -04:00
Renovate Bot
310039e875 fix(deps): update dependency spider-detector to v2 2019-10-01 17:21:27 -04:00
Julian Lam
54c9f877a6 fix: #7935, ACP digest wording 2019-10-01 16:39:21 -04:00
Barış Soner Uşaklı
fb278fc2f0 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-10-01 13:02:59 -04:00
Barış Soner Uşaklı
10f168b824 fix: #7934, return tids 2019-10-01 13:02:56 -04:00
Renovate Bot
a2a7bb3da5 chore(deps): update dependency lint-staged to v9.4.1 2019-10-01 12:46:31 -04:00
Renovate Bot
f9ad826bfe chore(deps): update node.js to v8.16.1 2019-10-01 12:46:20 -04:00
Renovate Bot
48cc317c6e chore(deps): update node:8.16.0 docker digest to bb12612 2019-10-01 12:44:31 -04:00
Renovate Bot
da12e94733 chore(deps): update dependency eslint to v6.5.1 2019-10-01 12:44:21 -04:00
Renovate Bot
10a30e665e chore(deps): update dependency husky to v3.0.7 2019-10-01 12:43:57 -04:00
Renovate Bot
764ed7f814 fix(deps): update socket.io packages to v2.3.0 2019-10-01 12:40:15 -04:00
Renovate Bot
ddd4e03942 chore(deps): update commitlint monorepo to v8.2.0 2019-10-01 12:36:35 -04:00
Renovate Bot
b172d10683 chore(deps): update dependency mocha to v6.2.1 2019-10-01 12:33:49 -04:00
Barış Soner Uşaklı
3caa387ac6 fix: tests 2019-10-01 11:09:44 -04:00
Barış Soner Uşaklı
2444ed5c88 feat: #7932, redirect to group details after creation
add private/hidden on group creation modal
2019-10-01 10:16:36 -04:00
Baris Usakli
9c051386d5 fix: tests 2019-09-30 17:15:50 -04:00
Baris Usakli
b93c826d35 feat: add new hook filteR:topics.getSortedTids
to let plugins replace the logic used to retrieve tids
2019-09-30 14:56:11 -04:00
Baris Usakli
95ab071254 fix: remove jquery 2019-09-30 13:16:21 -04:00
Misty (Bot)
4d912ca300 Latest translations and fallbacks 2019-09-30 09:27:29 +00:00
Barış Soner Uşaklı
13c870597e fix: picture not showing up in change modal 2019-09-29 22:23:28 -04:00
Barış Soner Uşaklı
7effc89291 fix: profile page meta tags getting escaped twice 2019-09-29 21:44:07 -04:00
Barış Soner Uşaklı
9a7560049a feat: bypass cropper for gifs 2019-09-29 21:03:37 -04:00
Barış Soner Uşaklı
ffe3670ff5 feat: deprecate file.isFileTypeAllowed
use image.isFileTypeAllowed, this function was always meant for images
2019-09-29 19:53:03 -04:00
Misty (Bot)
2801ffa622 Latest translations and fallbacks 2019-09-29 09:28:11 +00:00
Barış Soner Uşaklı
ed1223645e feat: send notification to group owners when someone leaves 2019-09-28 22:44:13 -04:00
Baris Usakli
2150701f32 fix: missing await 2019-09-28 15:08:51 -04:00
Baris Usakli
ac6eb31c69 refactor: async/await flags.js 2019-09-28 14:37:50 -04:00
Barış Soner Uşaklı
0ced71be39 refactor: async/await flags 2019-09-26 22:51:11 -04:00
Barış Soner Uşaklı
310c6fd33f properly filter /unread /recent /popular /top (#7927)
* feat: add failing test for pagination

* feat: test

* fix: redis tests

* refactor: remove logs

* fix: add new test

* feat: make sortedSetRangeByScore work with keys on redis

* fix: hardcoded set name

* feat: show topics from readable categories on recent/popular/top

* feat: rewrite unread topics

respect watched categories and followed topics

* fix: term + watched
2019-09-26 21:55:49 -04:00
renovate[bot]
17437897f9 fix(deps): update dependency sharp to v0.23.1 (#7928) 2019-09-26 18:33:04 -04:00
Andrew Rodrigues
40f131a6bb fix: potential for XSS here 2019-09-26 14:00:01 -04:00
Barış Soner Uşaklı
7a0f607434 fix: account/categories 2019-09-25 21:24:07 -04:00
Barış Soner Uşaklı
22b02f1407 feat: add failing test for pagination (#7924)
* feat: add failing test for pagination

* feat: test

* fix: redis tests

* refactor: remove logs
2019-09-25 21:06:57 -04:00
Misty (Bot)
969c5d4a2b Latest translations and fallbacks 2019-09-25 09:27:36 +00:00
Barış Soner Uşaklı
572bc29742 refactor: shorter map 2019-09-25 00:08:28 -04:00
Barış Soner Uşaklı
039710493a refactor: remove logs 2019-09-24 23:49:19 -04:00
Barış Soner Uşaklı
b602c04463 feat: refactor getSortedSetRange to allow big arrays 2019-09-24 23:47:45 -04:00
Barış Soner Uşaklı
7e7ea7a697 refactor: dont modify key 2019-09-24 22:04:20 -04:00
Barış Soner Uşaklı
1f054c7ecb fix: redis tests 2019-09-24 19:19:22 -04:00
Baris Usakli
1e5246f9ad feat: add new test 2019-09-24 13:31:44 -04:00
Baris Usakli
a651d154ce fix: #7921, dont create wrong entries in db for flag
upgrade script to remove wrong entries
2019-09-24 12:22:40 -04:00
Misty (Bot)
bd3d3f2e39 Latest translations and fallbacks 2019-09-24 09:27:01 +00:00
Barış Soner Uşaklı
e32a55460f refactor: remove logs 2019-09-24 00:36:42 -04:00
Barış Soner Uşaklı
9ee1a882ec refactor: async/await flags 2019-09-24 00:30:59 -04:00
Barış Soner Uşaklı
625b0815bb refactor: shorter, new Date doesnt throw 2019-09-23 23:51:45 -04:00
Barış Soner Uşaklı
babb9d7c55 fix: #7913, dont allow urls in fullname/location, validate birthday 2019-09-23 23:50:04 -04:00
Barış Soner Uşaklı
bd026cb1ae fix: upgrade scripts 2019-09-23 23:33:27 -04:00
Barış Soner Uşaklı
b842057f26 refactor: remove temp var 2019-09-23 22:31:55 -04:00
Barış Soner Uşaklı
f9d6912b4a refactor: async/await file 2019-09-23 22:30:17 -04:00
Barış Soner Uşaklı
223c108cc6 refactor: async/await analytics 2019-09-23 00:04:57 -04:00
Misty (Bot)
f0ae2887b8 Latest translations and fallbacks 2019-09-22 09:27:07 +00:00
Barış Soner Uşaklı
96ab8d05aa fix: only allow png/jpg/bmp in cover/profile images 2019-09-21 23:10:49 -04:00
Barış Soner Uşaklı
5505628c8d refactor: change to const 2019-09-21 22:15:42 -04:00
Barış Soner Uşaklı
058581333e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-09-21 18:44:47 -04:00
Barış Soner Uşaklı
910b9b8864 fix: #7919, add useUnifiedTopology 2019-09-21 18:44:41 -04:00
Misty (Bot)
bb8a9b2563 Latest translations and fallbacks 2019-09-21 09:26:43 +00:00
Barış Soner Uşaklı
bbc2e95688 feat: add rss feed url for tags 2019-09-21 00:34:51 -04:00
Barış Soner Uşaklı
873ec51978 fix: crash in feed 2019-09-21 00:27:55 -04:00
Barış Soner Uşaklı
795d4183ca fix: lang key 2019-09-20 23:03:44 -04:00
Barış Soner Uşaklı
5b8550f060 fix: time cutoff and lang string 2019-09-20 23:03:31 -04:00
renovate[bot]
44cd71895b fix(deps): update dependency nodebb-plugin-dbsearch to v4.0.6 (#7918) 2019-09-20 22:11:29 -04:00
renovate[bot]
d8fe6e42dc fix(deps): update dependency nodebb-plugin-composer-default to v6.3.16 (#7917) 2019-09-20 22:10:22 -04:00
Barış Soner Uşaklı
86b16629f8 refactor: returned fields 2019-09-20 22:10:08 -04:00
Barış Soner Uşaklı
90f8bb99c0 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-09-20 19:10:52 -04:00
renovate[bot]
c5e5e24bdf fix(deps): update dependency nodebb-plugin-composer-default to v6.3.15 (#7916) 2019-09-20 19:09:13 -04:00
Barış Soner Uşaklı
87f6ac59b1 fix: returned data 2019-09-20 19:04:47 -04:00
Barış Soner Uşaklı
84c19754e7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-09-20 17:37:52 -04:00
Barış Soner Uşaklı
955e00fd9d fix: dont send all category data back to recent&unread etc 2019-09-20 17:21:32 -04:00
renovate[bot]
e18392ab41 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.14 (#7914) 2019-09-20 17:19:49 -04:00
Baris Usakli
ecf39727cc fix: #7912 2019-09-20 11:44:49 -04:00
Barış Soner Uşaklı
307abaa8cc fix: only return necessary data for categories 2019-09-20 02:12:15 -04:00
Barış Soner Uşaklı
e0fec86628 fix: dont crash if callback is undefined 2019-09-20 01:49:55 -04:00
Misty (Bot)
d788a8e913 Latest translations and fallbacks 2019-09-19 09:27:59 +00:00
Barış Soner Uşaklı
63bd3fc597 refactor: async/await emailer 2019-09-18 17:52:07 -04:00
Misty (Bot)
f76d35bcf2 Latest translations and fallbacks 2019-09-18 09:29:21 +00:00
renovate[bot]
8ed80bcb39 fix(deps): update dependency nodebb-theme-persona to v10.1.18 (#7906) 2019-09-17 16:43:52 -04:00
Barış Soner Uşaklı
35a4ca2fe9 feat: add sm2x avatar class #7813 2019-09-17 15:12:37 -04:00
Opliko
b9583ed838 Add privilege for accessing user information (#7859)
* Add view users info global privilege

* Show user ip only to global mods and admins

* fix missing comma

* Hide link for users without correct privilege

* move getting privilege information to getAllData

* Hide the link from Global Moderators as well

* Give Global Moderator view:users:info privilege

* Restrict ip in post menu to view:users:info

* add some trailing commas....

* Add privilege to categories test

* Add group privilege to categories test

* add upgrade script

* fix style for TravisCI

* more styling - change spaces to tabs

* some more styling fixes (hopefully final one)

* fix style for Travis CI

* hide ip in chat messages

* Don't show even hidden ips on user profile page
2019-09-17 14:02:52 -04:00
Barış Soner Uşaklı
781b3f1a9a fix: #7800, dont crash on resize 2019-09-17 14:00:36 -04:00
Barış Soner Uşaklı
71cd602da9 feat: #7090, abililty to hide widgets 2019-09-17 11:42:30 -04:00
renovate[bot]
5b8bb3e426 fix(deps): update dependency nodebb-rewards-essentials to v0.1.1 (#7905) 2019-09-17 11:21:41 -04:00
Barış Soner Uşaklı
de4619689b fix: change params 2019-09-17 09:12:45 -04:00
Barış Soner Uşaklı
9b151b2316 fix: remove dupe code 2019-09-16 23:22:10 -04:00
Barış Soner Uşaklı
ec3b5dd95a refactor: async/await routes/feeds 2019-09-16 23:05:59 -04:00
Barış Soner Uşaklı
5de6d8857a feat: #7760, body-parser config 2019-09-16 18:39:25 -04:00
Barış Soner Uşaklı
b110aec6ed refactor: async/await rewards 2019-09-15 22:41:25 -04:00
renovate[bot]
8b7f6566cc fix(deps): update dependency connect-redis to v4 (#7869) 2019-09-15 17:07:53 -04:00
Barış Soner Uşaklı
a7d2b8a1fe refactor: async/await socket.io 2019-09-15 02:14:51 -04:00
Misty (Bot)
9d41955bca Latest translations and fallbacks 2019-09-14 09:27:22 +00:00
Barış Soner Uşaklı
52b2d670e5 refactor: async/await 2019-09-13 23:34:52 -04:00
Barış Soner Uşaklı
f05c1dae69 feat: actually cache duh 2019-09-13 22:13:27 -04:00
Barış Soner Uşaklı
63bd252fba feat: cache tags:topic:count 2019-09-13 22:06:10 -04:00
Barış Soner Uşaklı
1789ecb45c feat: increase search timeouts 2019-09-13 21:24:43 -04:00
Barış Soner Uşaklı
75d7ae9272 refactor: async/await 2019-09-13 18:24:21 -04:00
Misty (Bot)
63a741cfb3 Latest translations and fallbacks 2019-09-13 09:27:40 +00:00
Barış Soner Uşaklı
5c2afe5eac refactor: async/await socket.io/topics 2019-09-12 23:27:36 -04:00
Barış Soner Uşaklı
ebe5ed22bb feat: make handleSearch public 2019-09-12 18:52:03 -04:00
Barış Soner Uşaklı
2a5fe2b8f4 fix: #7894, translate log in to view 2019-09-12 14:47:36 -04:00
Barış Soner Uşaklı
3c6c40b177 refactor: async/await controllers/user.js 2019-09-12 14:20:50 -04:00
Barış Soner Uşaklı
5c0266d8c4 refactor: async/await uploads 2019-09-12 12:41:59 -04:00
renovate[bot]
b2423baeec fix(deps): update dependency nodebb-plugin-mentions to v2.7.3 (#7899) 2019-09-12 11:55:46 -04:00
renovate[bot]
a3120a62cf fix(deps): update dependency nodebb-plugin-mentions to v2.7.2 (#7898) 2019-09-12 11:35:11 -04:00
Barış Soner Uşaklı
3e2ed21d3d refactor: move tos parsing to /tos 2019-09-12 10:21:18 -04:00
Barış Soner Uşaklı
b81405a8cc feat: increase size of local cache 2019-09-11 18:09:39 -04:00
Barış Soner Uşaklı
ec98945a5f refactor: remove commented out code 2019-09-11 16:41:25 -04:00
Barış Soner Uşaklı
b9105ef9c6 refactor: async/await controllers/authentication 2019-09-11 02:02:07 -04:00
Andrew Rodrigues
b99279a83c fix: minor typo 2019-09-11 01:33:39 -04:00
Barış Soner Uşaklı
67875f7e1f Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-09-11 00:33:29 -04:00
renovate[bot]
106c20e2a6 fix(deps): update dependency nodebb-plugin-dbsearch to v4.0.5 (#7896) 2019-09-11 00:28:51 -04:00
Barış Soner Uşaklı
22f8011686 refactor: remove async from isPasswordValid, function is sync 2019-09-11 00:28:42 -04:00
renovate[bot]
fa251ece63 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.13 (#7895) 2019-09-11 00:23:10 -04:00
Barış Soner Uşaklı
6cda369872 refactor: make categories.buildForSelectCategories non async 2019-09-10 23:44:08 -04:00
Barış Soner Uşaklı
09410ff1c5 feat: don't hardcode numberic fields in user search 2019-09-10 20:40:49 -04:00
Barış Soner Uşaklı
0843497dd4 fix: #7893, check private upload setting 2019-09-10 18:01:37 -04:00
Baris Usakli
77cb4b55cb fix: #7892, handle string 'true'/'false' 2019-09-10 13:56:57 -04:00
Barış Soner Uşaklı
a4d84a66dd refactor: remove dupe code 2019-09-09 19:34:20 -04:00
Barış Soner Uşaklı
e93ef0d7fd refactor: async/await socket.io/posts 2019-09-09 19:19:56 -04:00
Barış Soner Uşaklı
4652c68ba7 fix: dont show deleted topics in digest 2019-09-09 18:00:05 -04:00
Renovate Bot
8c2fc57728 fix(deps): update dependency nodebb-plugin-mentions to v2.7.1 2019-09-09 11:53:12 -04:00
Barış Soner Uşaklı
3887fc678b fix: #7824, update timeago settings on userlanguage change 2019-09-08 21:44:22 -04:00
renovate[bot]
429e124f34 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.12 (#7889) 2019-09-08 13:31:25 -04:00
Misty (Bot)
864af61055 Latest translations and fallbacks 2019-09-08 09:28:19 +00:00
Barış Soner Uşaklı
88dfbf213f refactor: async/await socket.io/admin 2019-09-07 18:22:03 -04:00
renovate[bot]
516b62ea68 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.11 (#7888) 2019-09-07 14:26:25 -04:00
Barış Soner Uşaklı
451c7fd4b6 feat: allow only watching core 2019-09-07 14:10:24 -04:00
David Karrick
9b4ae4c04a Added Postgres SSL Support (#7887)
* [Added] Postgres SSL Support

* [Added]Postgres SSL Support

* [Added] Postgres SSL Support
2019-09-07 13:27:51 -04:00
Misty (Bot)
2d24153933 Latest translations and fallbacks 2019-09-07 09:28:08 +00:00
Baris Usakli
71e50bbf4e refactor: socket.io/admin/categories async/await 2019-09-06 16:31:19 -04:00
Renovate Bot
6a4a9e26a2 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.10 2019-09-06 16:07:00 -04:00
Julian Lam
9b09ee0e93 feat: client-side taskbar.update method, deprecates .updateTitle() 2019-09-06 16:02:16 -04:00
renovate[bot]
12ba589d69 fix(deps): update dependency nodebb-plugin-dbsearch to v4.0.4 (#7883) 2019-09-06 12:52:21 -04:00
Renovate Bot
c75f3d278d fix(deps): update dependency postcss to v7.0.18 2019-09-06 12:44:35 -04:00
Misty (Bot)
87a7a59903 Latest translations and fallbacks 2019-09-06 09:28:55 +00:00
Renovate Bot
317c67713e fix(deps): update dependency nodebb-theme-persona to v10.1.17 2019-09-05 15:48:01 -04:00
Renovate Bot
6e9caddcd1 fix(deps): update dependency nodebb-theme-vanilla to v11.1.8 2019-09-05 15:47:41 -04:00
Barış Soner Uşaklı
acd9576489 fix: don't move theme/plugin to top if its already active 2019-09-05 13:31:42 -04:00
Julian Lam
1796b65d34 feat: option to restrict group leaving, closes #7770 2019-09-05 12:01:42 -04:00
Julian Lam
4588a4fdcf refactor: admin groups.join socket async/await 2019-09-05 12:01:41 -04:00
Misty (Bot)
7c0cfc33ea Latest translations and fallbacks 2019-09-05 09:29:12 +00:00
Julian Lam
30a86ed553 fix: #7853, dissociation on post purge 2019-09-04 16:59:04 -04:00
Renovate Bot
effe39895e fix(deps): update dependency nodebb-plugin-composer-default to v6.3.9 2019-09-04 13:50:52 -04:00
Renovate Bot
b69769bb84 fix(deps): update dependency nodebb-plugin-mentions to v2.7.0 2019-09-04 11:45:20 -04:00
Julian Lam
0c4cd840a0 fix: added comment back 2019-09-04 11:44:04 -04:00
Julian Lam
fe452762b7 fix: inability for plugins to actually alter parser sanitization config
/cc @pitaj
2019-09-04 11:43:05 -04:00
Barış Soner Uşaklı
ad96b0e0db feat: preserver querystring when changing category sort 2019-09-04 11:04:08 -04:00
Julian Lam
9b8ac89e13 fix: htmlentity instead of url encoding for room rename system message 2019-09-03 15:43:02 -04:00
renovate[bot]
9149db1fec fix(deps): update dependency benchpressjs to v2 (#7876) 2019-09-03 13:39:01 -04:00
Renovate Bot
793c5eaa79 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.8 2019-09-03 11:55:37 -04:00
Renovate Bot
57de99d21c fix(deps): update dependency nodebb-plugin-composer-default to v6.3.7 2019-08-30 16:42:03 -04:00
Baris Usakli
dd8386d93d refactor: password async/await 2019-08-30 16:16:56 -04:00
Baris Usakli
3a01e95380 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-08-30 15:10:45 -04:00
Julian Lam
2580306db9 feat: html sanitization on all filter:parse.* hooks, closes #7872 2019-08-30 14:40:18 -04:00
Baris Usakli
0164e51f9f refactor: sitemap to async/await 2019-08-30 14:20:54 -04:00
Baris Usakli
e291a60964 fix: page count for filters 2019-08-30 12:32:21 -04:00
Barış Soner Uşaklı
547bb4966d fix: #7866, show correct title based on digest interval 2019-08-28 17:04:21 -04:00
renovate[bot]
4ee2c09065 fix(deps): update dependency mongodb to v3.3.2 (#7871) 2019-08-28 15:07:58 -04:00
Baris Usakli
3d2cb6288a feat: up socket.io-adapter-mongo 2019-08-28 11:37:36 -04:00
Barış Soner Uşaklı
aea04de094 feat: update LESS to v3.x, #7855 (#7867)
* feat: #7855

* fix: tests
2019-08-28 11:22:39 -04:00
Barış Soner Uşaklı
105fb79c5b Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-08-27 19:31:07 -04:00
Barış Soner Uşaklı
b565e56864 feat: up psql socket.io adapter 2019-08-27 19:30:56 -04:00
renovate[bot]
8ce2a5fc20 fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.6.5 (#7865) 2019-08-27 19:30:17 -04:00
Barış Soner Uşaklı
21e81f961c fix: #7780 2019-08-27 10:00:13 -04:00
renovate[bot]
0dfce49f9c fix(deps): update dependency mongodb to v3.3.1 (#7862) 2019-08-27 00:38:33 -04:00
renovate[bot]
e4b5d0b4f2 fix(deps): update dependency connect-pg-simple to v6 [security] (#7864) 2019-08-27 00:38:20 -04:00
Barış Soner Uşaklı
d372720749 refactor: remove hook assign 2019-08-23 22:35:15 -04:00
Barış Soner Uşaklı
f31d30cd02 feat: add client side hook for quick search&normal search 2019-08-23 22:25:36 -04:00
Baris Usakli
f9a804e014 refactor: async/await users 2019-08-23 15:46:10 -04:00
Barış Soner Uşaklı
19b63bfaa7 refactor: remove empty line 2019-08-22 21:43:48 -04:00
Barış Soner Uşaklı
69333f59af refactor: remove vars 2019-08-22 21:16:37 -04:00
Barış Soner Uşaklı
f2912e9fe0 fix: pinned tids showing on page > 1 2019-08-22 21:14:18 -04:00
Barış Soner Uşaklı
a4dec7e3ab fix: #7860, allow running single upgrade scripts from plugins 2019-08-22 20:40:44 -04:00
Barış Soner Uşaklı
1d7e0c6341 feat: allow floating pinned topics to top in getSortedTopics 2019-08-22 13:04:14 -04:00
Barış Soner Uşaklı
6f7ab5861e feat: promisify recent.getData 2019-08-22 11:08:14 -04:00
Barış Soner Uşaklı
2c4f04462f refactor: async/await controllers 2019-08-21 23:02:50 -04:00
Renovate Bot
a121098513 fix(deps): update dependency nodebb-plugin-mentions to v2.6.1 2019-08-21 15:38:34 -04:00
Julian Lam
a67762bc32 fix: reset should not automatically build assets 2019-08-21 15:17:50 -04:00
Renovate Bot
cdccc64653 fix(deps): update dependency nodebb-plugin-mentions to v2.6.0 2019-08-21 14:33:45 -04:00
Barış Soner Uşaklı
2b1912a964 fix: update morgan and lodash 2019-08-21 12:04:22 -04:00
Barış Soner Uşaklı
89cd31ed28 feat: faster initial stat loading 2019-08-21 01:30:00 -04:00
Barış Soner Uşaklı
cb50b3f441 feat: cache stats, mongo count sucks 2019-08-21 01:20:02 -04:00
Barış Soner Uşaklı
3ff6e1bb64 feat: dashboard stats
show
yesterday/today
lastweek/this week
lastmonth/this month
2019-08-21 00:25:38 -04:00
Barış Soner Uşaklı
aeb44faf5c feat: add filter:search.getPosts 2019-08-20 20:06:03 -04:00
Barış Soner Uşaklı
80bd52fcfa feat: add image and imageClass to post summaries 2019-08-20 20:05:07 -04:00
Barış Soner Uşaklı
5362488584 refactor: async/await controllers/tags 2019-08-19 23:36:49 -04:00
Barış Soner Uşaklı
f15c7f12b3 refactor: async/await 2019-08-19 23:17:43 -04:00
renovate[bot]
2f02edbc3c fix(deps): update dependency rimraf to v3 (#7843) 2019-08-19 20:25:53 -04:00
Baris Usakli
0722cc4715 refactor: globalmods/groups 2019-08-19 17:18:33 -04:00
Baris Usakli
bd8736db38 refactor: controllers/category.js 2019-08-19 16:22:54 -04:00
Baris Usakli
8c1ecdc13c Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-08-19 16:08:20 -04:00
renovate[bot]
39da440aef Merge pull request #7849 from NodeBB/renovate/husky-3.x
chore(deps): update dependency husky to v3.0.4
2019-08-19 12:08:01 -04:00
Renovate Bot
ccccba8128 chore(deps): update dependency lint-staged to v9.2.3 2019-08-19 12:07:48 -04:00
Baris Usakli
27c27b497e refactor: use arrow func 2019-08-19 11:07:59 -04:00
renovate[bot]
2b1f840eb1 chore(deps): update dependency coveralls to v3.0.6 (#7820) 2019-08-19 08:41:23 -04:00
renovate[bot]
cf2504f881 fix(deps): update dependency rimraf to v2.7.1 (#7838) 2019-08-19 08:37:32 -04:00
Misty (Bot)
cc119c55d5 Latest translations and fallbacks 2019-08-19 09:28:24 +00:00
Barış Soner Uşaklı
1e0190abef fix: #7842, groups.invite works with an array of uids 2019-08-18 21:51:32 -04:00
Barış Soner Uşaklı
fa26855671 feat: #7842, make isInvited, isPending work with uids 2019-08-18 20:57:14 -04:00
Barış Soner Uşaklı
4eaa630b1c refactor: async/await controllers/api 2019-08-18 19:06:51 -04:00
renovate[bot]
ca7ba9be34 fix(deps): update dependency nodebb-theme-persona to v10.1.16 (#7848) 2019-08-16 19:40:17 -04:00
Baris Usakli
acf12e3dd8 feat: convert search controller to async/await 2019-08-16 15:02:45 -04:00
Barış Soner Uşaklı
6f375482a0 refactor: async/await admin/controllers 2019-08-14 22:48:57 -04:00
Barış Soner Uşaklı
592d9c82c5 fix: #7844, add uid to events, log plugin install/uninstall events 2019-08-14 19:17:43 -04:00
renovate[bot]
b1c0beb713 fix(deps): update dependency nodebb-theme-persona to v10.1.15 (#7845) 2019-08-14 16:41:41 -04:00
Barış Soner Uşaklı
c9250a01a2 refactor: async/await, remove dupe code for homepage routes 2019-08-14 16:27:58 -04:00
Julian Lam
1a2a381ae3 feat: notification on membership acceptance, closes #7835 2019-08-14 15:50:03 -04:00
Julian Lam
c44bf48c01 fix: removed console.logs 2019-08-14 15:20:13 -04:00
Julian Lam
f736f0b382 fix: broken tests from 71b205a889 2019-08-14 15:19:00 -04:00
Julian Lam
1ce33faaea feat: additional events logged for various group actions
closes #7841
2019-08-14 15:03:09 -04:00
Julian Lam
71b205a889 refactor: async/await for src/socket.io/groups.js 2019-08-14 14:25:00 -04:00
Barış Soner Uşaklı
c6c13725f8 fix: typo 2019-08-14 13:41:28 -04:00
Barış Soner Uşaklı
e635348693 feat: async 2019-08-14 13:29:52 -04:00
Barış Soner Uşaklı
32ea04a872 feat: async/await controllers/admin/dashboard 2019-08-14 11:53:51 -04:00
Barış Soner Uşaklı
647713f3fa fix: category description getting translated in ACP 2019-08-14 08:18:41 -04:00
renovate[bot]
661284cfc5 fix(deps): update dependency nodebb-theme-persona to v10.1.14 (#7837) 2019-08-13 16:14:08 -04:00
Barış Soner Uşaklı
7162051905 fix: #7791 2019-08-13 16:13:39 -04:00
Julian Lam
29f96b199c fix(style): requiring parens in block bodies 2019-08-13 15:12:27 -04:00
Julian Lam
0921230976 fix(style): updated code to follow new eslint recommendations
Squashed commit of the following:

commit f9ce878b26
Author: Julian Lam <julian@nodebb.org>
Date:   Tue Aug 13 14:30:46 2019 -0400

    fix(style): updated code to follow new eslint recommendations

commit 80dd370e41
Author: Julian Lam <julian@nodebb.org>
Date:   Tue Aug 13 14:14:58 2019 -0400

    fix(deps): update dependency sitemap to v4

    Squashed commit of the following:

    commit f4dd9cabb2
    Author: Julian Lam <julian@nodebb.org>
    Date:   Tue Aug 13 11:33:05 2019 -0400

        fix: resolved breaking changes from sitemap v4 upgrade

    commit 9043415ee1
    Merge: e3352b272 72590b346
    Author: Julian Lam <julian@nodebb.org>
    Date:   Tue Aug 13 11:09:55 2019 -0400

        Merge branch 'master' into renovate/sitemap-4.x

    commit e3352b272e
    Author: Renovate Bot <bot@renovateapp.com>
    Date:   Mon Aug 12 07:59:05 2019 +0000

        fix(deps): update dependency sitemap to v4

commit 8e3c0cdcae
Author: Renovate Bot <bot@renovateapp.com>
Date:   Fri Aug 9 00:49:51 2019 +0000

    fix(deps): update dependency commander to v3

commit 2104449d38
Author: Renovate Bot <bot@renovateapp.com>
Date:   Tue Aug 13 15:00:27 2019 +0000

    fix(deps): update dependency mongodb to v3.3.0

commit d2937f446a
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Tue Aug 13 10:36:48 2019 -0400

    feat: async/await admin/controllers

commit 1b97e8b199
Author: Misty (Bot) <deploy@nodebb.org>
Date:   Tue Aug 13 09:28:39 2019 +0000

    Latest translations and fallbacks

commit 69a48957a2
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Mon Aug 12 21:56:09 2019 -0400

    feat: async/await

commit b9b2a7e593
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Mon Aug 12 20:58:29 2019 -0400

    feat: async/await refactor

    controllers/accounts

commit a8d43a1759
Author: Baris Usakli <barisusakli@gmail.com>
Date:   Mon Aug 12 14:49:40 2019 -0400

    feat: async/await controllers/accounts

commit 2f25aae57b
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Sun Aug 11 23:09:50 2019 -0400

    fix: #7831, fix pagination

    convert to async/await

commit c9e83f2374
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Sun Aug 11 00:14:35 2019 -0400

    fix: remove empty line

commit 30be91b26c
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Sun Aug 11 00:13:41 2019 -0400

    fix: remove useless catchs and empty line

commit 2e4a71c0b6
Author: Renovate Bot <bot@renovateapp.com>
Date:   Sat Aug 10 06:51:50 2019 +0000

    chore(deps): update dependency eslint-config-airbnb-base to v14
2019-08-13 15:12:27 -04:00
Renovate Bot
eaea6f63f6 fix(deps): update dependency nodebb-theme-persona to v10.1.13 2019-08-13 14:16:04 -04:00
Julian Lam
d3d677daf2 fix(deps): update dependency sitemap to v4
Squashed commit of the following:

commit f4dd9cabb2
Author: Julian Lam <julian@nodebb.org>
Date:   Tue Aug 13 11:33:05 2019 -0400

    fix: resolved breaking changes from sitemap v4 upgrade

commit 9043415ee1
Merge: e3352b272 72590b346
Author: Julian Lam <julian@nodebb.org>
Date:   Tue Aug 13 11:09:55 2019 -0400

    Merge branch 'master' into renovate/sitemap-4.x

commit e3352b272e
Author: Renovate Bot <bot@renovateapp.com>
Date:   Mon Aug 12 07:59:05 2019 +0000

    fix(deps): update dependency sitemap to v4
2019-08-13 14:15:25 -04:00
Renovate Bot
7a5dbd9ff5 fix(deps): update dependency commander to v3 2019-08-13 11:35:36 -04:00
Renovate Bot
360e172e53 fix(deps): update dependency mongodb to v3.3.0 2019-08-13 11:35:16 -04:00
Barış Soner Uşaklı
72590b3462 feat: async/await admin/controllers 2019-08-13 10:36:48 -04:00
Misty (Bot)
216eba6847 Latest translations and fallbacks 2019-08-13 09:28:39 +00:00
Barış Soner Uşaklı
7beef91c3f feat: async/await 2019-08-12 21:56:09 -04:00
Barış Soner Uşaklı
3cc7ec63e8 feat: async/await refactor
controllers/accounts
2019-08-12 20:58:29 -04:00
Baris Usakli
a3541d887b feat: async/await controllers/accounts 2019-08-12 14:49:40 -04:00
Barış Soner Uşaklı
014e31533d fix: #7831, fix pagination
convert to async/await
2019-08-11 23:09:50 -04:00
Barış Soner Uşaklı
c506f8063d Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-08-11 00:14:41 -04:00
Barış Soner Uşaklı
292bbe3449 fix: remove empty line 2019-08-11 00:14:35 -04:00
Barış Soner Uşaklı
5fce45580a fix: remove useless catchs and empty line 2019-08-11 00:13:41 -04:00
Misty (Bot)
7ca334264f Latest translations and fallbacks 2019-08-09 09:27:29 +00:00
Barış Soner Uşaklı
fd5f9822bd fix: #7823, fix topic move readding pids when topic is deleted 2019-08-08 14:23:34 -04:00
Barış Soner Uşaklı
3ecac97d7e fix: #7826, fix order of categories on recent dropdown 2019-08-08 12:11:13 -04:00
Renovate Bot
cbede89af3 chore(deps): update dependency husky to v3.0.3 2019-08-08 09:15:53 -04:00
Misty (Bot)
7a31c9f06e Latest translations and fallbacks 2019-08-08 09:28:10 +00:00
Barış Soner Uşaklı
b734defbfa feat: rewrite getRawPost to async/await
promisify SocketPosts
2019-08-07 17:38:23 -04:00
Julian Lam
973075cfbc feat: added new filter hook filter:post.getRawPost 2019-08-07 14:10:25 -04:00
Julian Lam
924d332c2c Revert "refactor: rewrote SocketPosts.getRawPost in await style"
This reverts commit 08530bb33f.
2019-08-07 14:10:24 -04:00
Baris Usakli
06932602ab Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-08-07 14:07:48 -04:00
Baris Usakli
e9fd49e234 feat: convert categories controller to async/await 2019-08-07 13:46:19 -04:00
Julian Lam
08530bb33f refactor: rewrote SocketPosts.getRawPost in await style
Added new filter hook filter:post.getRawPost
2019-08-07 13:18:53 -04:00
Jakub
90bcd65a00 add filter:manifest.build (#7821)
* add filter:manifest.build

Added a hook that lets plugins modify manifest.json, as suggested in https://community.nodebb.org/post/59670

* Added error handling

Thanks barisusakli

* Define next

* Pass data as an object

* Remove multiple spaces
2019-08-07 11:20:37 -04:00
Misty (Bot)
602c09e1f9 Latest translations and fallbacks 2019-08-07 09:27:28 +00:00
Barış Soner Uşaklı
8d4f20865f fix: redis pubsub not being required correctly
split connection logic into separate module
2019-08-06 18:27:00 -04:00
Barış Soner Uşaklı
186321e646 fix: mongo.close using wrong client 2019-08-06 17:35:03 -04:00
Barış Soner Uşaklı
bc6f22ebdb fix: digest not sending topics 2019-08-06 17:23:50 -04:00
Renovate Bot
61f9be99e9 fix(deps): update dependency nodebb-plugin-markdown to v8.10.4 2019-08-06 12:16:51 -04:00
Julian Lam
3d3fa8655d feat: new client-side hooks for chat minimize and close
closes #7805
2019-08-06 11:05:08 -04:00
Renovate Bot
f2e4664d93 chore(deps): update dependency lint-staged to v9 2019-08-06 10:58:41 -04:00
Renovate Bot
d860f8c799 fix(deps): update dependency nodebb-plugin-markdown to v8.10.3 2019-08-06 10:58:29 -04:00
renovate[bot]
57b2a55320 chore(deps): update dependency eslint-plugin-import to v2.18.2 (#7779) 2019-08-05 09:23:41 -04:00
renovate[bot]
7257e6b2aa chore(deps): update dependency eslint to v6.1.0 (#7783) 2019-08-05 09:22:10 -04:00
Barış Soner Uşaklı
af1f7249a7 feat: test psql without defineProperty (#7815)
* feat: test psql without defineProperty

* feat: refactor psql

remove .bind calls, use module.pool.query directly
move requires to top of file
move promisify to bottom so .init etc are promisified

* feat: mongodb

move requires to bottom

* feat: redis
2019-08-05 09:20:00 -04:00
Julian Lam
52a2e5d61d fix: #7816, adding GDPR and TOU interstitials earlier on route reloading
A use-case was presented that called for a theme to disable the
registration interstitials. However, the plugin hooks were always
fired first, and so the core interstitials could not be removed
at that time because they hadn't been added yet.

This change moved the interstitial adding to the earliest point
possible, right after plugins.loadedHooks is emptied in preparation
for plugin initialisation.
2019-08-02 12:59:36 -04:00
Misty (Bot)
687b9b74c0 Latest translations and fallbacks 2019-08-02 09:27:46 +00:00
Julian Lam
af968c6ae5 feat: fire updateRemainingLength hook for chats 2019-08-01 12:13:26 -04:00
Julian Lam
0e07ffa1d9 feat: send pids into filter:post.getFields hook 2019-07-31 15:06:14 -04:00
Baris Usakli
65fc06128c feat: move cache tpl 2019-07-31 12:56:56 -04:00
Baris Usakli
3a9d83a44b feat: async refactor 2019-07-31 12:39:15 -04:00
Barış Soner Uşaklı
47e30a67be feat: move group privs above user, add labels 2019-07-30 17:46:18 -04:00
Barış Soner Uşaklı
23046bab9a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-07-30 16:44:11 -04:00
Renovate Bot
7ad72b324d chore(deps): update dependency husky to v3.0.2 2019-07-30 14:54:42 -04:00
Baris Usakli
9780f5b975 fix: #7809, dont check postDelay if submitting from queue 2019-07-30 13:19:50 -04:00
Baris Usakli
2abe244b6e fix: newPostEditDuration 2019-07-30 13:03:01 -04:00
Barış Soner Uşaklı
dec8040c09 feat: widgets/index.js
enable widget-essentials in tests
fix widget test
2019-07-29 19:42:55 -04:00
Barış Soner Uşaklı
6a289fbac9 fix: #7789 2019-07-29 18:26:29 -04:00
Barış Soner Uşaklı
4d6b687183 feat: use promise version 2019-07-29 17:55:48 -04:00
Barış Soner Uşaklı
1c2540d3e1 feat: #7743, meta/dependencies 2019-07-29 16:33:48 -04:00
Baris Usakli
96ebe7b5f7 feat: #7743, widgets/admin 2019-07-29 13:34:29 -04:00
renovate[bot]
2258452c3e fix(deps): update dependency sharp to v0.23.0 (#7806) 2019-07-29 11:24:47 -04:00
renovate[bot]
b9aac424cd fix(deps): update dependency nodebb-theme-persona to v10.1.12 (#7799) 2019-07-26 21:04:33 -04:00
Barış Soner Uşaklı
666e0eaff9 fix: #7798, fix nested post selection 2019-07-26 20:35:45 -04:00
Baris Usakli
8bf40d04c9 fix: #7788, fix on topic move and new post 2019-07-26 14:23:10 -04:00
Baris Usakli
053ff510bb fix: #7788, fix another edge case
ignore pids in topics that were purged/deleted
2019-07-26 13:22:33 -04:00
renovate[bot]
d98313b5f6 fix(deps): update dependency nodebb-plugin-dbsearch to v4 (#7797) 2019-07-25 00:52:00 -04:00
Barış Soner Uşaklı
b10ad7b6ff fix: topicData passed to action:topic.edit 2019-07-24 23:50:23 -04:00
renovate[bot]
ef734b622e fix(deps): update dependency nodebb-plugin-dbsearch to v3.0.8 (#7796) 2019-07-24 22:12:06 -04:00
Barış Soner Uşaklı
c02686bfc8 feat: #7743, meta/languages and languages 2019-07-24 17:44:23 -04:00
Julian Lam
66aa443b7a feat: added filter:tags.getAll plugin hook 2019-07-24 12:06:54 -04:00
Barış Soner Uşaklı
102d4b0247 feat: #7743, events 2019-07-23 23:05:42 -04:00
Barış Soner Uşaklı
97d7a85060 feat: #7743 meta/errors 2019-07-23 22:20:39 -04:00
Barış Soner Uşaklı
99cf47ee08 feat: get rid of async.eachSeries 2019-07-23 21:47:33 -04:00
Barış Soner Uşaklı
ce91288607 fix: derpy catch 2019-07-23 21:17:00 -04:00
Barış Soner Uşaklı
3c32d8600f fix: #7788 No new posts (#7793)
* feat: debug no-new-posts

* feat: add test for user delete

* fix: timeout for flag test

* feat: shorter
2019-07-23 21:11:04 -04:00
Renovate Bot
e76214a25c chore(deps): update node:8.16.0 docker digest to c671dc2 2019-07-23 16:48:55 -04:00
Julian Lam
7b90863971 feat: #7743 meta/tags.js 2019-07-23 14:48:16 -04:00
Julian Lam
79eed9ae60 feat: #7743 meta/templates.js 2019-07-23 14:26:14 -04:00
Baris Usakli
6a486e35bb fix: user urls in subfolder install
fix missing await
2019-07-23 11:42:28 -04:00
Misty (Bot)
54b87fd176 Latest translations and fallbacks 2019-07-23 09:27:49 +00:00
Barış Soner Uşaklı
764a2b1210 feat: #7743 navigation 2019-07-22 19:56:44 -04:00
Barış Soner Uşaklı
e72f3e4ffe feat: #7743 account/posts controller 2019-07-22 19:41:18 -04:00
Barış Soner Uşaklı
9b3f4b98d1 feat: #7743 finish topics controller 2019-07-22 18:52:31 -04:00
Barış Soner Uşaklı
0b498acdcf fix: #7765 2019-07-22 18:36:29 -04:00
Barış Soner Uşaklı
0d047f4eb9 feat: #7743, webserver 2019-07-22 18:16:18 -04:00
Julian Lam
87552c559c fix: tests 2019-07-22 16:18:28 -04:00
Renovate Bot
8b1fc5c85f fix(deps): update dependency nodebb-theme-persona to v10.1.11 2019-07-22 15:14:18 -04:00
Renovate Bot
ba1bb5283a fix(deps): update dependency nodebb-theme-vanilla to v11.1.7 2019-07-22 15:14:04 -04:00
Julian Lam
7dc0eaf070 feat: #7743 meta/themes.js 2019-07-22 15:11:55 -04:00
Barış Soner Uşaklı
a15c50bf62 feat: #7743, meta/sounds 2019-07-22 12:19:29 -04:00
Barış Soner Uşaklı
7f72181ec8 feat: #7743 , meta/cachebuster, meta/configs 2019-07-22 11:54:37 -04:00
Julian Lam
756a717eb8 feat: convert src/messaging/* to async/await (#7778)
* feat: src/messaging/create.js, #7743

* feat: src/messaging/data.js, #7743

* feat: src/messaging/delete.js, #7743

* feat: src/messaging/edit.js, index.js, #7743

* fix: added in missing awaits

* feat: wrapped up src/messaging/* rewrite

* refactor: messaging delete/restore similar blocks of code
2019-07-22 11:18:13 -04:00
Barış Soner Uşaklı
fcf8fd51cb feat: #7743 meta/blacklist 2019-07-22 10:37:21 -04:00
Barış Soner Uşaklı
3dd806dcb8 fix: revert requires 2019-07-22 08:33:35 -04:00
Misty (Bot)
2d34b8cc99 Latest translations and fallbacks 2019-07-22 09:27:32 +00:00
Barış Soner Uşaklı
69860e582b feat: #7743 meta/index 2019-07-22 00:47:24 -04:00
Barış Soner Uşaklı
c126cd8572 feat: #7743 plugins 2019-07-22 00:30:47 -04:00
Barış Soner Uşaklı
f5f5f76b12 feat: #7743 plugins/data 2019-07-21 22:40:00 -04:00
Barış Soner Uşaklı
97fdb2b431 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-07-21 19:19:49 -04:00
Barış Soner Uşaklı
17f843f991 feat: dont waste whitespace 2019-07-21 17:15:47 -04:00
renovate[bot]
7a88c4cc34 fix(deps): update dependency nodebb-theme-vanilla to v11.1.6 (#7784) 2019-07-21 09:03:04 -04:00
Misty (Bot)
bf04ee8d74 Latest translations and fallbacks 2019-07-21 09:27:13 +00:00
renovate[bot]
e074b0bf9f fix(deps): update dependency nodebb-theme-slick to v1.2.26 (#7782) 2019-07-20 23:48:26 -04:00
renovate[bot]
4f20b4d38c fix(deps): update dependency nodebb-theme-persona to v10.1.10 (#7781) 2019-07-20 23:43:23 -04:00
Barış Soner Uşaklı
34d85b5205 feat: switch to promise.all 2019-07-20 23:32:20 -04:00
Barış Soner Uşaklı
f8d341014a fix: #7763, parse about me on all profile pages 2019-07-20 23:18:45 -04:00
Barış Soner Uşaklı
faccb191ec feat: #7743, privileges 2019-07-20 22:12:22 -04:00
Misty (Bot)
627ecaf6bb Latest translations and fallbacks 2019-07-20 09:26:30 +00:00
Barış Soner Uşaklı
e2e33dfb1e fix: status and groupTitle, if its not set 2019-07-19 19:39:57 -04:00
Barış Soner Uşaklı
2f0a331f02 fix: don't return promise 2019-07-19 17:02:25 -04:00
Barış Soner Uşaklı
44a3352003 fix: socket.io methods calling callbacks twice if method returns promise 2019-07-19 16:46:40 -04:00
Renovate Bot
d43f5dcf4c chore(deps): update dependency mocha to v6.2.0 2019-07-19 12:54:30 -04:00
Renovate Bot
c46a07727d chore(deps): update node:8.16.0 docker digest to 310db2a 2019-07-19 12:54:08 -04:00
Julian Lam
4fb271c684 System chat messages (#7771)
* fix: removed duplicate checkContent call in addMessage

addMessage is called in one place (sendMessage), and the checks
are already contained there. addMessage is the lower level call
and so should be called only from within core itself.

* feat: #7330 chat system messages for join, leave, rename

* fix: add back content checking in .addMessage();

* fix: tests, and added .addSystemMessage() method

Tests were relying on message indices that changed due to the
new system messages.

* feat: add tests for system chat messages

* refactor: rewrite half of src/messaging/rooms.js, fix tests

* feat: #7743 messaging/room.js

* fix: tests for messaging/room.js, #7743

* fix: trying to fix tests

* fix: omg :rage2:
2019-07-19 12:20:11 -04:00
Renovate Bot
28151f86da chore(deps): update dependency husky to v3.0.1 2019-07-19 12:02:07 -04:00
Renovate Bot
9fda2c1ff4 chore(deps): update dependency eslint-plugin-import to v2.18.1 2019-07-19 12:01:51 -04:00
Renovate Bot
3fdc638b27 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.6 2019-07-19 12:01:37 -04:00
Renovate Bot
8a11193fc8 fix(deps): update dependency connect-redis to v3.4.2 2019-07-19 12:00:18 -04:00
Baris Usakli
6d3a92b851 feat: #7743 , search.js 2019-07-19 11:42:25 -04:00
Misty (Bot)
879104ccde Latest translations and fallbacks 2019-07-19 09:27:25 +00:00
Barış Soner Uşaklı
8e75646ac0 feat: shorter name 2019-07-19 00:14:32 -04:00
Barış Soner Uşaklı
daed76d5d6 feat: cache group:members for priv groups 2019-07-18 23:58:59 -04:00
Barış Soner Uşaklı
72def7dfa6 feat: #7743 finish groups 2019-07-18 22:35:12 -04:00
Barış Soner Uşaklı
a39ca51e06 feat: #7743, groups/index, invite, leave,membership 2019-07-18 19:20:17 -04:00
Barış Soner Uşaklı
d5342a40ba feat: #7743,groups/index,join 2019-07-18 17:11:59 -04:00
Barış Soner Uşaklı
87b1148fa8 fix: tests 2019-07-18 14:23:10 -04:00
Baris Usakli
fcd4445a89 feat: #7743, groups/delete,ownership,posts,user 2019-07-18 13:22:17 -04:00
Baris Usakli
5e8614e15b feat: #7743 groups/cover,create,data 2019-07-18 13:01:43 -04:00
Misty (Bot)
382a9c4187 Latest translations and fallbacks 2019-07-18 09:27:18 +00:00
Barış Soner Uşaklı
c0c6c652be feat: #7743, finish post module 2019-07-17 19:05:55 -04:00
Baris Usakli
c4bb467ea5 feat: #7743 posts/diff, posts/edit 2019-07-17 13:38:40 -04:00
Misty (Bot)
acad245b4a Latest translations and fallbacks 2019-07-17 09:27:31 +00:00
Barış Soner Uşaklı
1b2b308a7e feat: #7743, posts module 2019-07-17 00:17:21 -04:00
Barış Soner Uşaklı
930ffd074f fix: tests 2019-07-16 21:01:07 -04:00
Barış Soner Uşaklı
a51ec591ee feat: #7743, finish user module 2019-07-16 20:44:00 -04:00
Barış Soner Uşaklı
6fea46b6e2 feat: #7743
user/posts
user/profile
2019-07-16 15:29:58 -04:00
Julian Lam
0e8ee31b90 fix: #7601 removed check for another user when sending messages
This is an old check back when the sorted set that messages were
appended to depended on what users were in the chat room. Once
messages were refactored (in 2017) to use roomIds, this is no
longer a limitation of the platform and users should be free to
talk to themselves all they want.
2019-07-16 15:11:55 -04:00
Barış Soner Uşaklı
cd80c2638c feat: #7743
user/password
user/picture
2019-07-16 14:17:10 -04:00
Barış Soner Uşaklı
0a690c5710 feat: #7743
user/online.js
2019-07-16 13:12:21 -04:00
Barış Soner Uşaklı
1c5fad6dae feat: #7743
user/notifications.js
2019-07-16 12:47:55 -04:00
Renovate Bot
f73468d5e7 chore(deps): update commitlint monorepo to v8.1.0 2019-07-16 11:44:07 -04:00
Barış Soner Uşaklı
fe4c048198 feat: #7743
user/index.js
user/info.js
user/invite.js
user/jobs.js
2019-07-16 11:42:24 -04:00
Misty (Bot)
93862e9e66 Latest translations and fallbacks 2019-07-16 09:26:45 +00:00
Barış Soner Uşaklı
3b24de4cb3 fix: mongodb tests 2019-07-16 00:48:41 -04:00
Barış Soner Uşaklı
fcf3e0770b feat: #7743 categories 2019-07-16 00:41:42 -04:00
Renovate Bot
45223cded6 fix(deps): update dependency nodebb-plugin-mentions to v2.5.4 2019-07-15 12:46:17 -04:00
Renovate Bot
8654623217 fix(deps): update dependency nodebb-plugin-markdown to v8.10.2 2019-07-15 11:26:44 -04:00
Misty (Bot)
7f54a24438 Latest translations and fallbacks 2019-07-15 09:27:33 +00:00
Barış Soner Uşaklı
c610eb1430 feat: #7743, user/digest, user/email, user/follow 2019-07-14 23:11:16 -04:00
Barış Soner Uşaklı
13aaf07bf5 fix: getTopicsFromSet 2019-07-14 17:48:02 -04:00
Barış Soner Uşaklı
9eb1fcd4e5 fix: #7762, allow array for isBanned
dont filter banned users one by one in digest
2019-07-14 16:25:30 -04:00
Misty (Bot)
239195d8a9 Latest translations and fallbacks 2019-07-14 09:26:40 +00:00
Barış Soner Uşaklı
d6e36c3166 feat: #7743, user/create, user/data, user/delete 2019-07-14 00:22:17 -04:00
renovate[bot]
c1660a1ace fix(deps): update dependency nodebb-theme-persona to v10.1.9 (#7759) 2019-07-14 00:05:46 -04:00
Barış Soner Uşaklı
46639be32d fix: add flag for change post owner 2019-07-13 23:51:18 -04:00
Barış Soner Uşaklı
4541caa4f8 feat: #7743 , user/block, user/categories 2019-07-13 17:23:31 -04:00
Barış Soner Uşaklı
6f738c2b44 feat: #7743 notifications 2019-07-12 21:01:48 -04:00
Barış Soner Uşaklı
cd2e68cb2d feat: remove unused code, add 2 tests 2019-07-12 20:16:05 -04:00
Baris Usakli
1970214a24 feat: #7743 user/ban, up mubsub 2019-07-12 16:34:41 -04:00
renovate[bot]
efedd6212a fix(deps): update dependency nodebb-plugin-dbsearch to v3.0.7 (#7758) 2019-07-12 16:18:11 -04:00
Renovate Bot
7f4b1043ad fix(deps): update dependency nodebb-plugin-composer-default to v6.3.5 2019-07-12 16:08:18 -04:00
renovate[bot]
15e01d1223 fix(deps): update dependency nodebb-theme-vanilla to v11.1.5 (#7756) 2019-07-12 15:36:50 -04:00
renovate[bot]
196796084c fix(deps): update dependency nodebb-theme-persona to v10.1.8 (#7755) 2019-07-12 15:36:34 -04:00
Baris Usakli
9f78bd7a12 fix: sitemap ajaxify 2019-07-12 14:48:30 -04:00
renovate[bot]
3cb6cfe87d fix(deps): update dependency nodebb-theme-persona to v10.1.7 (#7754) 2019-07-12 14:14:17 -04:00
Barış Soner Uşaklı
53e1b349ae Change post owner (#7752)
* feat: #7749, allow array of keys for setObject

* feat: sortedSetRemoveBulk

* feat: test for bulk remove

* feat: #7083, ability to change post ownership

* feat: #7083, fix tid:<tid>:posters

* feat: #7083, front end

* fix: #7752, psql methods

* fix: add missing await

* fix: maybe psql
2019-07-12 14:06:09 -04:00
Renovate Bot
5b746d53e7 chore(deps): update dependency coveralls to v3.0.5 2019-07-12 11:48:55 -04:00
Barış Soner Uşaklı
b24ce97602 feat: #7743, user/approval, user/auth 2019-07-11 23:43:00 -04:00
Barış Soner Uşaklı
2b70e86f21 fix: #7751, make necro separator a partial 2019-07-11 22:42:04 -04:00
Renovate Bot
8394a0fd58 fix(deps): update dependency nodebb-plugin-composer-default to v6.3.3 2019-07-11 12:23:19 -04:00
Barış Soner Uşaklı
7b95ebbb6a fix: #7748, if reputation system is disabled, dont check min reputation 2019-07-11 09:54:46 -04:00
Baris Usakli
8ef75be3e3 feat: #7743, posts/votes 2019-07-10 15:10:12 -04:00
Baris Usakli
e1ecc36d04 feat: #7743 posts 2019-07-10 14:29:11 -04:00
Barış Soner Uşaklı
0ac49d63d9 fix: remove left over code, use proper names 2019-07-09 23:09:25 -04:00
Barış Soner Uşaklı
2c33595507 feat: #7743 user/admin.js 2019-07-09 22:23:10 -04:00
Barış Soner Uşaklı
4170abfd6b feat: add utils.promiseParallel 2019-07-09 22:00:46 -04:00
Barış Soner Uşaklı
0a6cfb37c2 feat: #7743, posts/user.js 2019-07-09 17:30:27 -04:00
Barış Soner Uşaklı
332a16c868 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-07-09 15:13:02 -04:00
Barış Soner Uşaklı
fba67196e1 fix: compatibility conditional 2019-07-09 15:12:57 -04:00
Barış Soner Uşaklı
805dcd7ca2 Async refactor in place (#7736)
* feat: allow both callback&and await

* feat: ignore async key

* feat: callbackify and promisify in same file

* Revert "feat: callbackify and promisify in same file"

This reverts commit cea206a9b8.

* feat: no need to store .callbackify

* feat: change getTopics to async

* feat: remove .async

* fix: byScore

* feat: rewrite topics/index and social with async/await

* fix: rewrite topics/data.js

fix issue with async.waterfall, only pass result if its not undefined

* feat: add callbackify to redis/psql

* feat: psql use await

* fix: redis 🌋

* feat: less returns

* feat: more await rewrite

* fix: redis tests

* feat: convert sortedSetAdd

rewrite psql transaction to async/await

* feat: 🐶

* feat: test

* feat: log client and query

* feat: log bind

* feat: more logs

* feat: more logs

* feat: check perform

* feat: dont callbackify transaction

* feat: remove logs

* fix: main functions

* feat: more logs

* fix: increment

* fix: rename

* feat: remove cls

* fix: remove console.log

* feat: add deprecation message to .async usage

* feat: update more dbal methods

* fix: redis :voodoo:

* feat:  fix redis zrem, convert setObject

* feat: upgrade getObject methods

* fix: psql getObjectField

* fix: redis tests

* feat: getObjectKeys

* feat: getObjectValues

* feat: isObjectField

* fix: add missing return

* feat: delObjectField

* feat: incrObjectField

* fix: add missing await

* feat: remove exposed helpers

* feat: list methods

* feat: flush/empty

* feat: delete

* fix: redis delete all

* feat: get/set

* feat: incr/rename

* feat: type

* feat: expire

* feat: setAdd

* feat: setRemove

* feat: isSetMember

* feat: getSetMembers

* feat: setCount, setRemoveRandom

* feat: zcard,zcount

* feat: sortedSetRank

* feat: isSortedSetMember

* feat: zincrby

* feat: sortedSetLex

* feat: processSortedSet

* fix: add mising await

* feat: debug psql

* fix: psql test

* fix: test

* fix: another test

* fix: test fix

* fix: psql tests

* feat: remove logs

* feat: user arrow func

use builtin async promises

* feat: topic bookmarks

* feat: topic.delete

* feat: topic.restore

* feat: topics.purge

* feat: merge

* feat: suggested

* feat: topics/user.js

* feat: topics modules

* feat: topics/follow

* fix: deprecation msg

* feat: fork

* feat: topics/posts

* feat: sorted/recent

* feat: topic/teaser

* feat: topics/tools

* feat: topics/unread

* feat: add back node versions

disable deprecation notice
wrap async controllers in try/catch

* feat: use db directly

* feat: promisify in place

* fix: redis/psql

* feat: deprecation message

logs for psql

* feat: more logs

* feat: more logs

* feat: logs again

* feat: more logs

* fix: call release

* feat: restore travis, remove logs

* fix: loops

* feat: remove .async. usage
2019-07-09 12:46:49 -04:00
renovate[bot]
43ce5f8af3 fix(deps): update dependency nodebb-theme-vanilla to v11.1.4 (#7741) 2019-07-05 22:25:56 -04:00
Renovate Bot
27da232556 fix(deps): update dependency nodebb-theme-persona to v10.1.5 2019-07-05 15:45:28 -04:00
Julian Lam
16aae51726 fix: private upload img replacement should happen before img wrapping 2019-07-05 15:02:48 -04:00
Julian Lam
49e3a368f8 fix: #7423 private uploads are linked to login page, for guests 2019-07-05 14:58:54 -04:00
renovate[bot]
bd09ba92e5 fix(deps): update dependency validator to v11.1.0 (#7738) 2019-07-04 17:37:45 -04:00
Julian Lam
8a6a58ee43 feat: added new admin option newbiePostEditDuration (#7737)
* feat: added new admin option newbiePostEditDuration

Also:
  - Grammar-checked a couple language strings
  - Moved a couple form inputs around in new user restrictions
  - Added a test for the new option
  - fix: 'defore' typo
2019-07-04 13:28:36 -04:00
Baris Usakli
f3440ebfca fix: typo 2019-07-04 11:30:21 -04:00
Julian Lam
851424a7ca fix(deps): bump composer-default 2019-07-03 15:41:36 -04:00
Julian Lam
8b1dadb7f8 fix: #7722, hsts deprecation warnings 2019-07-03 14:10:45 -04:00
Renovate Bot
cf9afa1974 Update dependency nodebb-plugin-composer-default to v6.3.1 2019-07-03 13:21:17 -04:00
Barış Soner Uşaklı
bd640a1107 Topic await errors (#7727)
* feat: derp await

* feat: restore user.getSettings

* feat: cleanup

* feat: make tid const

* feat: cleanup

* fix: tests

* feat: deprecate filter:controllers.topic.get

* feat: rewrite post-index logic

* feat: change calculation to match others

* fix: use .async

* feat: remove try/catch wrapper
2019-07-03 12:48:26 -04:00
Renovate Bot
5e46cf9b09 Update dependency nodebb-plugin-markdown to v8.10.1 2019-07-02 15:50:32 -04:00
Renovate Bot
9c082c37cb Update dependency husky to v3 2019-07-02 15:43:42 -04:00
Renovate Bot
4e6cb52577 Update dependency eslint-config-airbnb-base to v13.2.0 2019-07-02 15:41:33 -04:00
renovate[bot]
82e5bc225e Update dependency sitemap to v3 (#7728) 2019-07-01 18:19:00 -04:00
Misty (Bot)
11b5eb6481 Latest translations and fallbacks 2019-07-01 09:26:48 +00:00
Misty (Bot)
76910ad5b6 Latest translations and fallbacks 2019-06-30 09:25:59 +00:00
Misty (Bot)
9e9a2a5048 Latest translations and fallbacks 2019-06-29 09:25:57 +00:00
Renovate Bot
f426e105a0 fix(deps): update dependency nodebb-theme-persona to v10.1.4 2019-06-28 15:39:21 -04:00
Julian Lam
75ff4d7dea feat: returning category data in tags page
For nodebb/nodebb-theme-persona#483
2019-06-28 15:32:47 -04:00
Julian Lam
a0c0ef1ba4 feat: ACP analytics API route (#7725)
* feat: added API route for retrieving analytics via REST API

* feat: sets is now optional, can pass in multiple sets

* fix: moved expand and added json button to panel header

* fix: matching api params to socket method

* fix: update json api button url on graph change

* fix: updated default counts based on passed in units
2019-06-28 14:59:55 -04:00
renovate[bot]
fb0870297b fix(deps): update dependency nodebb-plugin-composer-default to v6.2.16 (#7723) 2019-06-27 17:21:46 -04:00
Renovate Bot
1d0fd0284a chore(deps): update dependency husky to v2.7.0 2019-06-27 12:43:37 -04:00
Baris Usakli
accf48f38b fix: upgrade script #7720 2019-06-27 12:39:21 -04:00
Baris Usakli
a5de54f877 fix: indents 2019-06-27 12:08:51 -04:00
Baris Usakli
ee4d78cae3 feat: closes #7718 2019-06-27 12:05:31 -04:00
Baris Usakli
41bc6ca2c4 feat: add status to post summaries 2019-06-27 11:17:40 -04:00
Julian Lam
af17c6e31c fix: remove debug code that should not have made it in 2019-06-26 14:32:03 -04:00
Renovate Bot
413259a2b8 fix(deps): update dependency nodebb-theme-persona to v10.1.3 2019-06-26 12:31:59 -04:00
Baris Usakli
e299cafce7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-06-26 12:16:05 -04:00
Baris Usakli
708df46ebe fix: dont display post tools if there are no options 2019-06-26 12:14:38 -04:00
Julian Lam
69fae1a7e4 fix: output span in buildAvatar helper instead of div
In not-so-rare circumstances, the avatar generated is wrapped in
an anchor so that when clicked, it goes to the user profile.

Unfortunately, html 4 spec doesn't like block level elements
inside anchors (since an anchor is an inline element), and even
though we define html5 doctype, browsers still reorder the div
and anchor, beats me as to why.

So I can trick the browser by using a span. The css already styles
it as inline-block so no further fixes are required.
2019-06-26 12:14:14 -04:00
Julian Lam
67b8cb8977 fix: restore uid in teasers userObj 2019-06-26 12:14:13 -04:00
Baris Usakli
667bc67f04 fix: dont allow edit if post is deleted by someone else 2019-06-26 12:06:57 -04:00
Renovate Bot
77347d0a99 chore(deps): update dependency eslint to v6.0.1 2019-06-26 09:36:24 -04:00
Renovate Bot
fc69e891eb chore(deps): update dependency husky to v2.6.0 2019-06-26 09:36:12 -04:00
Barış Soner Uşaklı
3100d803c7 feat: use arrow functions 2019-06-25 17:53:01 -04:00
renovate[bot]
208c821eaf fix(deps): update dependency nodebb-theme-lavender to v5.0.11 (#7705) 2019-06-25 16:48:46 -04:00
renovate[bot]
e0b2ae8d8e fix(deps): update dependency nodebb-theme-vanilla to v11.1.3 (#7714) 2019-06-25 16:46:33 -04:00
renovate[bot]
af7ecd2f10 fix(deps): update dependency nodebb-theme-slick to v1.2.25 (#7713) 2019-06-25 15:52:13 -04:00
Barış Soner Uşaklı
ba28abe56d Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-06-25 15:50:19 -04:00
Barış Soner Uşaklı
f24c14d712 feat: ability to sort watched topics, closes #3735 2019-06-25 15:50:05 -04:00
renovate[bot]
e5733f4029 fix(deps): update dependency nodebb-theme-persona to v10.1.2 (#7712) 2019-06-25 15:45:35 -04:00
Renovate Bot
744e4428ae chore(deps): update dependency eslint-plugin-import to v2.18.0 2019-06-25 15:23:45 -04:00
Julian Lam
d0ee312cd3 feat: use fewer system resources to draw the progress bar
There's reason to believe that upgrade scripts will run faster
if the system isn't spending a non-insignificant amount of
resources simply drawing the progress bar. Closes #7711

Some context: https://github.com/npm/npm/issues/11283
2019-06-25 15:10:36 -04:00
Barış Soner Uşaklı
f0703e21c5 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-06-25 10:01:04 -04:00
Barış Soner Uşaklı
23fb904fa6 feat: removed series from upgrade script 2019-06-25 10:00:55 -04:00
Misty (Bot)
5738ebeb54 Latest translations and fallbacks 2019-06-25 09:26:48 +00:00
Barış Soner Uşaklı
cb51c239f2 feat: remove duped zadds, these are already in topics.onNewPostMade 2019-06-24 23:05:56 -04:00
Barış Soner Uşaklı
f8a7cf7378 feat: log data on error 2019-06-24 22:35:20 -04:00
Barış Soner Uşaklı
198d05875f feat: cleanup, use bulk 2019-06-24 21:36:20 -04:00
Barış Soner Uşaklı
3ecd703ea3 feat: #7707, added sortedSetAddBulk 2019-06-24 17:48:13 -04:00
Barış Soner Uşaklı
e48c7cd717 fix: dont show delete posts on profile 2019-06-24 17:47:25 -04:00
Barış Soner Uşaklı
6a7bc1c5fb fix: on new post add it to cid::uid::pids 2019-06-24 17:26:28 -04:00
Renovate Bot
26ff02dc72 fix(deps): update dependency nodebb-plugin-mentions to v2.5.3 2019-06-24 16:39:03 -04:00
Barış Soner Uşaklı
a39f0ef592 fix: #5570, create per category user post zsets 2019-06-24 15:21:43 -04:00
Renovate Bot
4e513cf38a fix(deps): update dependency nodebb-theme-persona to v10.1.1 2019-06-24 14:13:34 -04:00
Renovate Bot
c288750556 fix(deps): update dependency nodebb-theme-vanilla to v11.1.2 2019-06-24 13:52:40 -04:00
Aziz Khoury
13efbc9967 feat: change widget-* to data-widget-* (#7703)
* change widget-* to data-widget-*, original pr#5444 but backward compatible

* lint
2019-06-24 13:45:37 -04:00
Renovate Bot
4960b92545 chore(deps): update dependency husky to v2.5.0 2019-06-24 10:58:59 -04:00
Barış Soner Uşaklı
e1c05e59c9 fix: restrict drag drop to pin icon, closes #7702
https://github.com/NodeBB/NodeBB/issues/6081
2019-06-24 09:59:31 -04:00
Barış Soner Uşaklı
3780a58ffb feat: shorter setsCard 2019-06-22 23:43:17 -04:00
renovate[bot]
b3ed89f5fd fix(deps): update dependency nodebb-theme-vanilla to v11.1.1 (#7700) 2019-06-22 23:01:00 -04:00
renovate[bot]
629b5ce37e fix(deps): update dependency nodebb-theme-slick to v1.2.24 (#7699) 2019-06-22 22:58:35 -04:00
Barış Soner Uşaklı
b53a60c278 feat: show best & latest posts on profile 2019-06-22 22:52:10 -04:00
Julian Lam
289dada5f7 fix(deps): update to eslint@6 2019-06-22 21:23:32 -04:00
Renovate Bot
2fa68e3b1a chore(deps): update dependency lint-staged to v8.2.1 2019-06-22 19:56:52 -04:00
Renovate Bot
fc224ccaab chore(deps): update node:8.16.0 docker digest to 06adec3 2019-06-22 19:56:38 -04:00
Julian Lam
15020b4657 fix(deps): update dependency nodebb-plugin-emoji to v3 2019-06-22 19:56:18 -04:00
Renovate Bot
6b43d26f52 fix(deps): update dependency nodebb-plugin-emoji to v3 2019-06-22 17:01:09 +00:00
Misty (Bot)
54e6ac2a99 Latest translations and fallbacks 2019-06-20 09:26:46 +00:00
Barış Soner Uşaklı
7e54d7aa35 feat: use db.sortedSetsAdd 2019-06-19 20:01:20 -04:00
Barış Soner Uşaklı
29a124c412 feat: use db.sortedSetsAdd 2019-06-19 19:42:10 -04:00
Barış Soner Uşaklı
68e5d7adec fix: remove dupe code 2019-06-19 19:01:22 -04:00
Barış Soner Uşaklı
39ee3980d6 fix: get uids directly for csv 2019-06-17 18:18:17 -04:00
Barış Soner Uşaklı
a7600b4bbe feat: dont log action:plugins.fireHook 2019-06-17 17:06:47 -04:00
Barış Soner Uşaklı
596486ddc3 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-06-17 08:30:39 -04:00
Barış Soner Uşaklı
ebfc369ade feat: upgrade to connect-mongo 3.0.0, closes #7693 2019-06-17 08:30:34 -04:00
Misty (Bot)
91a2e1a90e Latest translations and fallbacks 2019-06-17 09:27:10 +00:00
Barış Soner Uşaklı
a251032f02 fix: typo 2019-06-14 20:44:15 -04:00
Renovate Bot
fc89516e3f fix(deps): update dependency nodebb-theme-persona to v10.1.0 2019-06-14 12:16:09 -04:00
Renovate Bot
c9689f11d3 fix(deps): update dependency nodebb-theme-vanilla to v11.1.0 2019-06-14 12:15:53 -04:00
renovate[bot]
ada8f22e8c fix(deps): update dependency nodebb-theme-persona to v10.0.1 (#7687) 2019-06-13 11:59:30 -04:00
renovate[bot]
6db3604e94 fix(deps): update dependency nodebb-theme-vanilla to v11.0.1 (#7688) 2019-06-13 11:59:08 -04:00
Barış Soner Uşaklı
b4cc8d88cd fix: id/for 2019-06-13 11:55:13 -04:00
Barış Soner Uşaklı
25ea634787 fix: #7659 add option to change cookie link url 2019-06-13 11:54:39 -04:00
Barış Soner Uşaklı
d939614782 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-06-13 10:18:42 -04:00
Barış Soner Uşaklı
ede060a646 feat: add hook for user notifications, closes #7672 2019-06-13 10:18:02 -04:00
Julian Lam
1894cd9b81 fix: middle vertical-align for .avatar elements 2019-06-13 10:07:52 -04:00
Renovate Bot
89fea9d375 fix(deps): update dependency nodebb-theme-vanilla to v11 2019-06-13 09:58:37 -04:00
Renovate Bot
0a7778bdd4 fix(deps): update dependency nodebb-theme-persona to v10 2019-06-13 09:58:24 -04:00
Julian Lam
2523889990 refactor: replace avatar conditional code with buildAvatar helper (#7681)
* feat: helper for building avatars

* feat: benchpress truefalse globals, componentPrefix in buildAvatar

* refactor: remove componentPrefix

* feat: changes to buildAvatar helper

- removed extra .avatar-xl class in generics.less
- added support for component override
- "size" can be a number now

* fix: prevent overflow of alt text in avatars

* fix: update doc on buildAvatar helper
2019-06-13 09:54:18 -04:00
Renovate Bot
17ec8fde2c chore(deps): update dependency husky to v2.4.1 2019-06-13 09:27:52 -04:00
Renovate Bot
f9e99fa341 chore(deps): update node:8.16.0 docker digest to d5ad3f5 2019-06-13 09:26:38 -04:00
Barış Soner Uşaklı
580f786095 feat: user/notifications refactor 2019-06-12 19:59:57 -04:00
Barış Soner Uşaklı
f2a6f888fb Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-06-12 18:20:13 -04:00
Barış Soner Uşaklı
8c331088ca feat: send new post/topic event in batches 2019-06-12 18:20:07 -04:00
renovate[bot]
e1e4abeb33 fix(deps): update dependency nodebb-theme-lavender to v5.0.10 (#7682) 2019-06-12 17:50:46 -04:00
Julian Lam
c241551d3b fix: dependency checker always triggering dep upgrade, hopefully
Seems like every time we update a client it triggers a dep upgrade.

The async check might be too strict, hopefully this will fix it.
2019-06-12 14:04:25 -04:00
Julian Lam
f6d3cc0ea4 feat: allowing count to be passed to ./nodebb events 2019-06-12 13:19:37 -04:00
Renovate Bot
de04629745 fix(deps): update dependency nodebb-plugin-markdown to v8.10.0 2019-06-11 12:58:44 -04:00
Barış Soner Uşaklı
a6b7770342 Grunt active plugins (#7677)
* feat: only watch active plugins/themes

* fix: remove log

* fix: remove left over glob

* fix: remove test glob

* feat: watch baseThemes as well

* feat: dont watch upgrade scripts
2019-06-11 12:50:40 -04:00
Renovate Bot
5995834bc6 chore(deps): update node:8.16.0 docker digest to 75b524a 2019-06-11 09:42:34 -04:00
Renovate Bot
fca6d7944f chore(deps): update node:8.16.0 docker digest to b9a98ae 2019-06-11 00:24:18 -04:00
Julian Lam
aee47b299a feat: awaitable websockets (#7645)
* feat: awaitable websockets

Adding in conditionals to check the method to call, and handling
it as a promise vs. a regular function depending on whether the
method itself is an asynchronous function.

* fix: switch to .then-checking for awaitable check

* fix: proper use of .then check
2019-06-10 12:06:26 -04:00
Aziz Khoury
a6436716ea feat: hooks can now return promise or call callbacks
* hooks can now return promise or call callbacks, either way works

* cleanups

* moar cleanups and fix callback 1st null arg

* rm unnessesary spread
2019-06-10 12:05:27 -04:00
Renovate Bot
376390c45f chore(deps): update dependency lint-staged to v8.2.0 2019-06-10 10:57:54 -04:00
Renovate Bot
3d2ec0bb97 chore(deps): update dependency husky to v2.4.0 2019-06-10 10:47:11 -04:00
Renovate Bot
c360e0c2f9 chore(deps): update dependency coveralls to v3.0.4 2019-06-10 10:45:54 -04:00
Renovate Bot
ae8913904f fix(deps): update dependency postcss to v7.0.17 2019-06-10 10:45:27 -04:00
Renovate Bot
a5f94ee5ca Update dependency jsdom to v15.1.1 2019-06-10 10:44:24 -04:00
Renovate Bot
eac4e2f188 chore(deps): update dependency eslint-plugin-import to v2.17.3 2019-06-10 10:44:06 -04:00
Renovate Bot
cc6fa97cae chore(deps): update node:8.16.0 docker digest to 957cab2 2019-06-10 10:43:48 -04:00
Misty (Bot)
232b35f938 Latest translations and fallbacks 2019-06-10 09:26:24 +00:00
Misty (Bot)
23502c9074 Latest translations and fallbacks 2019-06-09 09:25:55 +00:00
Misty (Bot)
8ee5d32d4f Latest translations and fallbacks 2019-06-08 09:26:04 +00:00
Barış Soner Uşaklı
5fa5e999f8 Plugin metrics (#7626)
* feat: add enable/disable checkbox for plugin usage

* feat: submit plugin data to packages.nodebb.org

only submit in production mode
submit once every 24 hours
dont submit for plugins that have "private": true in plugin.json
enabled on new installs
disabled on existing installs

* fix: hash not working after first send

fix statusCode

* fix: remove url

* feat: show compatibilty

* feat: add install question for submit plugin usage
2019-06-07 14:10:44 -04:00
renovate[bot]
3f4f8aface fix(deps): update dependency nodebb-rewards-essentials to v0.0.14 (#7671) 2019-06-07 12:28:51 -04:00
Misty (Bot)
25d289c6f6 Latest translations and fallbacks 2019-06-07 09:27:12 +00:00
Misty (Bot)
86da15bedd Latest translations and fallbacks 2019-06-06 09:26:45 +00:00
Barış Soner Uşaklı
644504ff02 fix: #7483, show latest undeleted message as teaser 2019-06-05 22:04:19 -04:00
renovate[bot]
988cbb63e1 fix(deps): update dependency mongodb to v3.2.7 (#7665) 2019-06-05 20:09:00 -04:00
Misty (Bot)
99120676bb feat: fallback strings for ACP events 2019-06-05 15:52:52 -04:00
Renovate Bot
e21246a91b fix(deps): update dependency nodebb-plugin-composer-default to v6.2.15 2019-06-05 14:37:06 -04:00
Julian Lam
c7f95ccecc feat: design revamp of ACP events page (#7664)
* feat: design revamp of ACP events page

- minor UX changes
- new filter controls, filters moved to sidebar
- form usable without js
- start/end filters NOT programmed yet

* feat: events ACP limit by date and perPage

* feat: pre-fill applied filters on template render

* fix: missing translation for ACP events perPage filter

* fix: added some comments to explain setHours behaviour

* fix: stop - start + 1

* fix: socket tests

* fix: +inf, not just inf

* fix: tests, because I am an idiot
2019-06-04 17:25:09 -04:00
Barış Soner Uşaklı
4b843ba16f fix: #7567, allow invite and approval at the same time 2019-06-04 11:10:20 -04:00
Misty (Bot)
a097b19293 Latest translations and fallbacks 2019-06-02 09:26:02 +00:00
Barış Soner Uşaklı
5b85ed318a fix: #7625, on group rename update nav/widget items 2019-05-31 23:17:24 -04:00
Barış Soner Uşaklı
48538b28be feat: optimize group rename
removed async.each
2019-05-31 21:44:53 -04:00
Baris Usakli
8d319e4280 fix: psql error 2019-05-31 16:37:46 -04:00
Baris Usakli
2e6b562f1e fix: try to fix psql 🐶 2019-05-31 16:14:51 -04:00
Baris Usakli
31ccc860d3 feat: allow multiple scores in sortedSetsAdd 2019-05-31 15:44:50 -04:00
Julian Lam
868dedd194 revert: accidental removal of some needed translation source strings 2019-05-31 12:00:12 -04:00
Renovate Bot
805328317f chore(deps): update commitlint monorepo to v8 2019-05-31 10:32:56 -04:00
Barış Soner Uşaklı
0dca13e9c2 feat: optimize copy privileges 2019-05-30 21:41:54 -04:00
Barış Soner Uşaklı
8aef689f05 fix: no need for moderate bit for global mods and admins 2019-05-30 20:12:04 -04:00
renovate[bot]
d202be5b4f fix(deps): update dependency nodebb-theme-persona to v9.1.38 (#7652) 2019-05-30 19:32:48 -04:00
renovate[bot]
e330865990 fix(deps): update dependency nodebb-theme-vanilla to v10.1.34 (#7653) 2019-05-30 19:32:36 -04:00
Barış Soner Uşaklı
035f624758 Remove implicit mod privs. closes #6345 (#7648)
* feat: add upgrade script to give mods privs

* feat: give all privileges when making a moderator

* feat: remove implicit privs

* feat: give global mods default privs

* feat: more priv fixes

* feat: use lodash

* fix: remove implicit mod priv from topic delete

* fix: more privs

* fix: posts.canEdit

* fix: canDelete and canEdit

* fix: tests, remove console.log

* feat: shorter functions

* feat: add tests

* fix: uids

* fix: redis random test fail
2019-05-30 19:30:47 -04:00
Barış Soner Uşaklı
ebb32e7891 fix: attribute name so it works for both templates 2019-05-30 19:30:25 -04:00
Barış Soner Uşaklı
c7f3e6b626 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-05-30 18:27:37 -04:00
Barış Soner Uşaklı
0721bee146 feat: on category search reveal children and parents 2019-05-30 18:27:22 -04:00
renovate[bot]
6f70397bd7 fix(deps): update dependency nodebb-theme-vanilla to v10.1.33 (#7651) 2019-05-30 18:25:27 -04:00
renovate[bot]
d43bdb41d1 fix(deps): update dependency nodebb-theme-persona to v9.1.37 (#7650) 2019-05-30 18:25:17 -04:00
renovate[bot]
3b8e6e15c3 fix(deps): update dependency async to v3.0.1 (#7649) 2019-05-30 15:32:01 -04:00
Barış Soner Uşaklı
4d9bc30d1f feat: async3 upgrade (#7639)
* feat: async3 upgrade WIP

* fix: async.doWhilst

* fix: async early exit

* fix: psql doUntil

* fix: psql again
2019-05-30 14:36:33 -04:00
Barış Soner Uşaklı
6cebc7f069 feat: #7627, close chat on ajaxify on mobile 2019-05-29 22:14:26 -04:00
Baris Usakli
64679b37cc fix: #7647, fix getModeratorUids
sets.groupNames is an array that contains other arrays of groupnames so passing it to getMembersOfGroups returned wrong results when there were more than 1 element in it.
2019-05-29 15:44:33 -04:00
Julian Lam
5cd9e1bf86 fix: #7644 2019-05-28 13:42:00 -04:00
Misty (Bot)
1d26aac8b8 Latest translations and fallbacks 2019-05-27 09:26:32 +00:00
Misty (Bot)
b09749ff00 Latest translations and fallbacks 2019-05-26 09:26:13 +00:00
Misty (Bot)
64a20f5616 Latest translations and fallbacks 2019-05-25 09:25:59 +00:00
renovate[bot]
3f21096d47 fix(deps): update dependency mongodb to v3.2.6 (#7616) 2019-05-24 15:42:44 -04:00
Julian Lam
603c526287 fix: bad usage of async requisition 2019-05-24 11:39:03 -04:00
Julian Lam
f321b426b1 fix: 7638, returnTo accidentally saved into user hash 2019-05-24 11:23:55 -04:00
Barış Soner Uşaklı
157b921e14 fix: #7634, make strip exif configurable 2019-05-23 20:38:49 -04:00
Barış Soner Uşaklı
a8409fbd49 fix: #7636, use reputation threshold for post queue 2019-05-23 20:15:08 -04:00
Baris Usakli
63e5d383d9 fix: #7623, wait for lastonline to update on /users 2019-05-23 12:23:01 -04:00
Renovate Bot
a3d4240435 fix(deps): update dependency validator to v11 2019-05-23 11:50:23 -04:00
renovate[bot]
b174c2d25c fix(deps): update dependency nodebb-plugin-composer-default to v6.2.14 (#7635) 2019-05-23 08:55:20 -04:00
Barış Soner Uşaklı
e65ddc98b5 fix: https://github.com/barisusakli/nodebb-plugin-dbsearch/issues/53 2019-05-23 08:51:47 -04:00
Misty (Bot)
4da9a1eb38 Latest translations and fallbacks 2019-05-23 09:29:23 +00:00
renovate[bot]
85ca5b190a fix(deps): update dependency nodebb-theme-vanilla to v10.1.32 (#7631) 2019-05-22 17:39:41 -04:00
Julian Lam
80c0d579e3 fix: #7593, unable to set account password if no password set 2019-05-22 13:40:00 -04:00
Julian Lam
a97e97b9c3 fix: incorrect pathname format for app.previousUrl 2019-05-22 13:15:59 -04:00
Barış Soner Uşaklı
106d52a47f fix: #7598, use notice element instead of alert 2019-05-22 12:35:56 -04:00
Barış Soner Uşaklı
a8e6520559 fix: #7620, allow adding new fields into user objects for posts 2019-05-22 11:52:49 -04:00
Barış Soner Uşaklı
7ba4a864fd fix: #7629, new filter hook for room rename 2019-05-22 09:58:29 -04:00
Barış Soner Uşaklı
7a4b68e816 fix: #7628, log email send errors 2019-05-22 09:54:56 -04:00
Misty (Bot)
d95e644720 Latest translations and fallbacks 2019-05-22 09:29:55 +00:00
Barış Soner Uşaklı
f55cc66723 fix: {username} not working in notification.tpl
fix images going out of notification email
2019-05-21 22:48:50 -04:00
Barış Soner Uşaklı
3b0459a0a5 fix: do not prevent nbb from starting
if a plugin returns error for filter:auth.init
2019-05-21 21:34:42 -04:00
Julian Lam
91f0bce628 fix: #7624, default open state on stateless flags 2019-05-21 12:23:19 -04:00
Misty (Bot)
c6449c106b Latest translations and fallbacks 2019-05-20 09:28:53 +00:00
Misty (Bot)
b692dd87cd Latest translations and fallbacks 2019-05-19 09:26:09 +00:00
Barış Soner Uşaklı
15391da51e fix: #7431, add /unread link to topic route 2019-05-18 18:14:12 -04:00
Barış Soner Uşaklı
35d10f764a fix: #7619 2019-05-18 09:16:41 -04:00
Julian Lam
7e5cb72a59 fix: #7618 save pathname into app.previousUrl ins. of entire url 2019-05-17 17:47:36 -04:00
Renovate Bot
d1f29e2649 fix(deps): update dependency nodebb-plugin-composer-default to v6.2.13 2019-05-17 14:53:17 -04:00
renovate[bot]
20fa751c63 fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.6.3 (#7614) 2019-05-16 14:47:41 -04:00
Barış Soner Uşaklı
172e688805 fix: handle missing timestamps 2019-05-16 13:09:28 -04:00
Julian Lam
b70e03a7b0 fix: broken test for meta tags on ajaxify 2019-05-16 10:51:22 -04:00
Barış Soner Uşaklı
f326f53d4f Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-05-16 10:51:02 -04:00
Barış Soner Uşaklı
15ce23da4c fix: #7613 2019-05-16 10:49:40 -04:00
Julian Lam
f552cea523 fix: #7600, removing nbsp from email CTAs (#7606)
* fix: #7600, removing nbsp from email CTAs

* fix: added right arrow to CTA button
2019-05-16 09:45:35 -04:00
Julian Lam
b32da57faf fix: #7604 shortened CTA text and added custom text for some notifs (#7605)
* fix: #7604 shortened CTA text and added custom text for some notifs

Specifically, new-reply and new-chat have different CTA text as they
do not go to the forum home like other email templates send users to.

* fix: minor optimization as suggested by @barisusakli
2019-05-16 09:43:06 -04:00
Julian Lam
a41769e61c feat: update meta tags on ajaxify (#7580), fixes #7544
* feat: wip -- refresh meta tags on ajaxify

* feat: wrapped up meta tags update on ajaxify feature

* fix: removed commented-out line

* fix: removed another commented-out line
2019-05-16 09:41:56 -04:00
Misty (Bot)
f6ce0e655d Latest translations and fallbacks 2019-05-16 09:27:35 +00:00
Barış Soner Uşaklı
dfab231afd Copy group privs (#7610)
* feat: ability to copy a groups privileges

ability to copy a group's privileges to all categories, or children of current category

* feat: switch to dropdown

added copy from category to groups

* fix: indents
2019-05-15 20:56:23 -04:00
Julian Lam
183b0ed3f1 docs: updated changelog 2019-05-15 14:29:10 -04:00
Misty (Bot)
810e2c0b8d chore: incrementing version number - v1.12.2 2019-05-15 18:26:41 +00:00
Renovate Bot
dc6b49cacb chore(deps): update dependency lint-staged to v8.1.7 2019-05-15 10:53:11 -04:00
Misty (Bot)
05a6413e44 Latest translations and fallbacks 2019-05-15 09:26:44 +00:00
Renovate Bot
9998e86b3b chore(deps): update commitlint monorepo 2019-05-14 13:56:15 -04:00
Renovate Bot
fcd6dc88d0 chore(deps): update dependency jsdom to v15.1.0 2019-05-14 13:56:04 -04:00
Renovate Bot
3ff8154bbd chore(deps): update dependency mocha to v6.1.4 2019-05-14 13:01:56 -04:00
Renovate Bot
6421f10f81 chore(deps): update node:8.16.0 docker digest to b5484d1 2019-05-14 13:01:47 -04:00
Renovate Bot
c20e331306 chore(deps): update dependency husky to v2.3.0 2019-05-14 13:01:01 -04:00
Julian Lam
0d86781cb5 fix: #7599 image size measurement erroring out on missing path 2019-05-13 15:54:46 -04:00
Misty (Bot)
58311b6cf6 Latest translations and fallbacks 2019-05-13 09:26:36 +00:00
Julian Lam
4f0dc44307 fix: #7590 updated chat and post edit and delete timeout labels in ACP 2019-05-10 14:50:10 -04:00
Baris Usakli
3a7e99a503 fix: tests 2019-05-10 12:59:48 -04:00
renovate[bot]
a9f9d19b4e fix(deps): update dependency nodebb-theme-vanilla to v10.1.31 (#7589) 2019-05-10 12:45:57 -04:00
renovate[bot]
bd86e58daf fix(deps): update dependency nodebb-theme-persona to v9.1.36 (#7588) 2019-05-10 12:45:47 -04:00
renovate[bot]
9047210c67 chore(deps): update dependency nyc to v14.1.1 (#7584) 2019-05-10 12:43:56 -04:00
renovate[bot]
26d6d0bed1 fix(deps): update dependency mongodb to v3.2.4 (#7581) 2019-05-10 12:43:37 -04:00
Baris Usakli
bd94fbc2b1 feat: let theme know downvoting is disabled, closes https://github.com/NodeBB/NodeBB/pull/7568
dont load downvote data if downvoting is disabled
2019-05-10 12:41:56 -04:00
yossizahn
1703233f48 fix: #7586, switchTimeagoLanguage shouldn't discriminate against languages w/o shorthands 2019-05-10 10:47:22 -04:00
Andrew Rodrigues
d349754d9e chore: bump themes #7576 2019-05-09 16:06:51 -04:00
Andrew Rodrigues
50260e137a fix: #7576 "Disable password changes" can be sidestepped 2019-05-09 15:51:36 -04:00
Andrew Rodrigues
e114b16d7a fix: if editing password is disabled in ACP, prevent direct access via route/socket (related: #7576) 2019-05-09 15:50:51 -04:00
Baris Usakli
cf5aeace6b feat: closes #7583 2019-05-09 14:49:38 -04:00
Baris Usakli
c9ca72d0f3 fix: #7582 2019-05-09 12:00:46 -04:00
Misty (Bot)
31f347daad Latest translations and fallbacks 2019-05-09 09:26:36 +00:00
Andrew Rodrigues
59bdc970e6 chore: bump themes 2019-05-08 14:42:18 -04:00
Barış Soner Uşaklı
96cb29aab0 fix: #7461 2019-05-08 11:08:23 -04:00
Renovate Bot
692e2ead0b chore(deps): update dependency eslint to v5.16.0 2019-05-06 15:03:42 -04:00
Renovate Bot
9210baf518 chore(deps): update dependency nyc to v14 2019-05-06 15:03:13 -04:00
Renovate Bot
8a018a5f81 chore(deps): update dependency husky to v2.2.0 2019-05-06 15:02:59 -04:00
Renovate Bot
4e39caf8ae chore(deps): update dependency lint-staged to v8.1.6 2019-05-06 14:55:24 -04:00
Renovate Bot
10a47a2912 fix(deps): update dependency postcss to v7.0.16 2019-05-06 10:00:52 -04:00
Misty (Bot)
c838ad153d Latest translations and fallbacks 2019-05-06 09:26:11 +00:00
Misty (Bot)
69d14cc6dd Latest translations and fallbacks 2019-05-05 09:26:00 +00:00
Barış Soner Uşaklı
3d938e7bf8 fix: increase batch size 2019-05-03 09:48:30 -04:00
Barış Soner Uşaklı
bf6fc502c4 fix: #7564 2019-05-01 11:10:44 -04:00
jayjay9
8945ebcb81 fix: group cover upload not working for s3 upload (#7571) 2019-05-01 09:35:47 -04:00
Barış Soner Uşaklı
b990312088 fix: test 2019-04-29 10:59:52 -04:00
Barış Soner Uşaklı
c940a73359 fix: #7539 2019-04-29 10:28:56 -04:00
Barış Soner Uşaklı
9385c8e3ee feat: #7319 2019-04-29 09:52:30 -04:00
Misty (Bot)
ed79f37b3e Latest translations and fallbacks 2019-04-28 09:25:49 +00:00
Baris Usakli
07e9b67e8d fix: #7565 2019-04-27 11:20:09 -04:00
Misty (Bot)
edc26a5b66 Latest translations and fallbacks 2019-04-27 09:25:57 +00:00
Barış Soner Uşaklı
32cf07d732 fix: #7464 2019-04-26 16:39:27 -04:00
Barış Soner Uşaklı
fe6d64ccbc fix: #7147 2019-04-26 12:59:01 -04:00
Barış Soner Uşaklı
f86d74d8b9 fix: #7424 2019-04-25 22:18:12 -04:00
renovate[bot]
7c4201f282 fix(deps): update dependency nodebb-theme-persona to v9.1.33 (#7563) 2019-04-25 21:49:49 -04:00
Barış Soner Uşaklı
09681e6ccf fix: #7562 2019-04-25 21:43:21 -04:00
Barış Soner Uşaklı
8775e7e652 fix: node12 tests 2019-04-25 19:19:55 -04:00
renovate[bot]
288a25f0a3 fix(deps): update dependency sharp to v0.22.1 (#7561) 2019-04-25 15:51:41 -04:00
Baris Usakli
1a7036a68b feat: add node12 to travis 2019-04-25 15:39:13 -04:00
Renovate Bot
65ff0bbd4f chore(deps): update dependency husky to v2.1.0 2019-04-24 18:37:26 -04:00
Barış Soner Uşaklı
2c98dd5f9d Object cache refactor (#7558)
* fix: cache refactor

db.getObjectField no longer loads entire object
db.getObjectsFields only clones data once
more tests

* feat: add back cache to redis

db.getObjectField no longer loads entire object
2019-04-24 14:38:46 -04:00
Renovate Bot
e81a1dbb65 chore(deps): update dependency husky to v2 2019-04-24 11:59:08 -04:00
renovate[bot]
c1fb17f9a7 chore(deps): update dependency eslint-plugin-import to v2.17.2 (#7546) 2019-04-24 11:10:54 -04:00
renovate[bot]
d4d8d98fe2 chore(deps): update dependency jsdom to v15 (#7556) 2019-04-24 07:07:52 -04:00
renovate[bot]
ca694fd166 chore(deps): update dependency jsdom to v14.1.0 (#7555) 2019-04-24 06:23:39 -04:00
renovate[bot]
f10708e734 chore(deps): update node.js to v8.16.0 (#7554) 2019-04-24 06:23:20 -04:00
Andrew Rodrigues
abcca134dc chore: bump themes 2019-04-19 11:58:53 -04:00
Aziz Khoury
45acf80987 remove expire timestamp when banning user permanently, fixes #7547 (#7548) 2019-04-18 17:22:33 -04:00
Barış Soner Uşaklı
c6cd6c5705 fix: add post queue to /compose POST route 2019-04-18 08:00:55 -04:00
Barış Soner Uşaklı
4df925e76a fix: remove redis object cache 2019-04-17 17:08:52 -04:00
Andrew Rodrigues
740388492f fix: #7545 2019-04-16 17:51:52 -04:00
Misty (Bot)
a876c53b55 Latest translations and fallbacks 2019-04-16 09:26:40 +00:00
Andrew Rodrigues
551b18cd4f chore: bump themes 2019-04-15 15:59:04 -04:00
Andrew Rodrigues
9bf3517db1 fix: failing test from 00552d7183 2019-04-15 13:19:27 -04:00
Andrew Rodrigues
00552d7183 fix: fire filter:register.complete for users approved via registration queue 2019-04-15 12:36:09 -04:00
Andrew Rodrigues
ddffc904f4 feat: allow file uploading on registration interstitial 2019-04-15 12:33:57 -04:00
Baris Usakli
8778f00b69 fix: #7540 2019-04-15 11:33:02 -04:00
Misty (Bot)
81f3fbdcfc Latest translations and fallbacks 2019-04-15 09:26:38 +00:00
Renovate Bot
69dd8e4d06 chore(deps): update dependency eslint-plugin-import to v2.17.1 2019-04-13 16:58:01 -04:00
renovate[bot]
a54f8f00d2 fix(deps): update dependency nodebb-plugin-composer-default to v6.2.12 (#7538) 2019-04-13 05:28:59 -04:00
Misty (Bot)
0fe954816f Latest translations and fallbacks 2019-04-13 09:25:51 +00:00
Barış Soner Uşaklı
3ce6321707 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-04-13 05:04:12 -04:00
Barış Soner Uşaklı
ba5e1eaa4f feat: #7527 2019-04-13 05:04:06 -04:00
Misty (Bot)
35618de1a7 Latest translations and fallbacks 2019-04-12 09:26:28 +00:00
Misty (Bot)
3a35b77d5f Latest translations and fallbacks 2019-04-11 09:26:16 +00:00
Julian Lam
c38db4f765 feat: #7515
This reverts commit 81f8cfe3da.
2019-04-10 14:00:39 -04:00
Julian Lam
d8978fb142 Merge remote-tracking branch 'origin/develop' 2019-04-10 13:59:47 -04:00
Renovate Bot
b716977237 chore(deps): update dependency mocha to v6.1.2 2019-04-10 13:56:40 -04:00
Renovate Bot
97a7f02feb fix(deps): update dependency mongodb to v3.2.3 2019-04-10 13:56:31 -04:00
Julian Lam
d3ebda7370 fix: more graceful error handling and output for cli/reset 2019-04-10 13:56:18 -04:00
Julian Lam
808c4909a4 fix: #6438 only apply whitelist when fields request empty (#7528)
* fix: #6438 only apply whitelist when fields request empty

* feat: explicit password retrieval denied via getUsersFields
2019-04-10 13:55:53 -04:00
Julian Lam
93b688d00e docs: updated changelog 2019-04-10 13:49:37 -04:00
Misty (Bot)
dd973abe88 chore: incrementing version number - v1.12.1 2019-04-10 17:45:51 +00:00
RoiEX
6fdd486589 Update Node version 2019-04-10 13:36:57 -04:00
Misty (Bot)
c87ebc93c7 Latest translations and fallbacks 2019-04-10 09:26:26 +00:00
Barış Soner Uşaklı
eb2c3e5626 fix: don't crash if templateData is undefined 2019-04-09 13:01:46 -04:00
Barış Soner Uşaklı
81f8cfe3da Revert "feat: #7515"
This reverts commit ac889db16b.
2019-04-09 12:21:46 -04:00
Barış Soner Uşaklı
ac889db16b feat: #7515 2019-04-09 10:59:01 -04:00
Misty (Bot)
8cd3d43322 Latest translations and fallbacks 2019-04-09 09:27:45 +00:00
Julian Lam
d79a34c466 Merge remote-tracking branch 'origin/master' into develop 2019-04-08 14:21:51 -04:00
Misty (Bot)
4de53d5316 Latest translations and fallbacks 2019-04-08 09:27:44 +00:00
Barış Soner Uşaklı
397e062a3c fix: clear children before building tree
prevents infinite loop on databases that have children array saved in database
2019-04-06 20:33:03 -04:00
Barış Soner Uşaklı
4f3ca4d899 fix: upgrade script date 2019-04-06 18:57:35 -04:00
Misty (Bot)
4f303a85ce Latest translations and fallbacks 2019-04-06 09:27:02 +00:00
Renovate Bot
e5c12a49e5 fix(deps): update dependency nodebb-theme-persona to v9.1.29 2019-04-05 15:13:35 -04:00
Aziz Khoury
3fbb6faf28 feat: update unban logic/invocation and refactor User.bans module
* auto unban when User.getUsersFields is called and the user is banned but has expired

* cleanups and removal of expiry_readable

* expiry_readable make an alias for backward compatibility

* User.bans.func vs User.*ban*Func

* console.log cleanups, plus todo message added

* use code util.deprecate

* fix: remove ununsed winston require
2019-04-05 14:14:48 -04:00
Baris Usakli
ed91d3f2c8 fix: #7519 2019-04-05 13:44:15 -04:00
Baris Usakli
fb58e23914 fix lint 2019-04-05 12:32:19 -04:00
Baris Usakli
e479fad792 fix: #7517 2019-04-05 11:57:55 -04:00
Misty (Bot)
a8627d33c4 Latest translations and fallbacks 2019-04-05 09:27:32 +00:00
Julian Lam
75ae29c1dd fix: #7470 Properly handle recompilation of email templates 2019-04-04 18:48:42 -04:00
Renovate Bot
ae17481d36 chore(deps): update dependency lint-staged to v8.1.5 2019-04-04 10:21:01 -04:00
Julian Lam
3871a02ccc fix: resolve CORS error on uploading via URL
On uploading a new profile picture via URL, a CORS error presents
itself during the .toDataUrl() call due to misconfigured CORS
handling in the library. The change here allows cropper.js to
check crossorigin attribute in image and handle appropriately.

Also, the error handling is improved so the error is caught on
Firefox, as it sends a different error message than on Chrome.
2019-04-04 10:20:45 -04:00
Misty (Bot)
da2e0e78d2 Latest translations and fallbacks 2019-04-04 09:27:36 +00:00
Renovate Bot
30b042b809 fix(deps): update dependency nodebb-plugin-composer-default to v6.2.11 2019-04-03 15:50:04 -04:00
Barış Soner Uşaklı
dbc4d8403d fix: #7461 2019-04-03 12:39:44 -04:00
Barış Soner Uşaklı
abe4abb674 feat: add original sessionID to static:user.loggedOut 2019-04-02 16:23:09 -04:00
Barış Soner Uşaklı
8cc1864aa7 fix: #7491 2019-04-02 15:46:47 -04:00
Barış Soner Uşaklı
4db0efe32d fix: #7476 2019-04-02 15:25:40 -04:00
Barış Soner Uşaklı
2ee2cd528f feat: #7501 2019-04-02 11:56:03 -04:00
Barış Soner Uşaklı
b52dba5c92 fix: #7508 2019-04-01 08:27:37 -04:00
Misty (Bot)
6d8880db43 Latest translations and fallbacks 2019-04-01 09:28:11 +00:00
Barış Soner Uşaklı
e906bea470 fix: escape search snippet closes #7506 2019-03-29 20:05:55 -04:00
Renovate Bot
cf180e093c fix(deps): update dependency nodebb-plugin-composer-default to v6.2.10 2019-03-29 14:24:35 -04:00
Misty (Bot)
8fb07f8131 Latest translations and fallbacks 2019-03-28 09:26:43 +00:00
Julian Lam
3ec9fc4098 fix: #7490 once again 2019-03-27 23:52:13 -04:00
Barış Soner Uşaklı
3304ffe978 fix: #7502 2019-03-27 18:22:49 -04:00
Barış Soner Uşaklı
745b2716cd Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-03-27 18:21:42 -04:00
Barış Soner Uşaklı
1f3554ff00 fix: #7503 2019-03-27 18:21:35 -04:00
Julian Lam
6415ba82c4 fix: #7493, adding robots noindex meta tag to compose and reset routes 2019-03-27 17:10:56 -04:00
Julian Lam
86e1cdd541 fix: #7490, handling of image sizes if no size saved in db 2019-03-27 16:44:39 -04:00
Renovate Bot
b39ce25c5d fix(deps): update dependency html-to-text to v5 2019-03-27 16:23:33 -04:00
Renovate Bot
8662aa9595 fix(deps): update dependency semver to v6 2019-03-27 16:20:05 -04:00
Renovate Bot
5f787d73a5 chore(deps): update node:8.15.1 docker digest to 918f0be 2019-03-27 16:18:47 -04:00
Renovate Bot
ea77ad4e58 chore(deps): update node:8.15.1 docker digest to 3d43ad1 2019-03-27 14:04:45 -04:00
Renovate Bot
447cf66b35 fix(deps): update dependency spdx-license-list to v6 2019-03-27 13:15:32 -04:00
Baris Usakli
8f55ab1340 fix: #7494 2019-03-26 12:24:28 -04:00
Julian Lam
63e16ec0a2 fix: #6911, email throttling options set 2019-03-25 15:21:29 -04:00
Julian Lam
33a1bf6cde fix: throttling email output to 2 messages every second, fixes #6911 2019-03-25 15:21:28 -04:00
renovate[bot]
0f9cb86d13 fix(deps): update dependency nodebb-widget-essentials to v4.0.17 (#7489) 2019-03-25 13:08:09 -04:00
renovate[bot]
357f931ca2 fix(deps): update dependency mongodb to v3.2.2 (#7482) 2019-03-25 13:05:42 -04:00
Julian Lam
8d62ead329 fix: #7469 missing email logos, occasionally 2019-03-25 12:37:53 -04:00
Barış Soner Uşaklı
81306fff3c feat: allow multiple cids for getActiveUsers 2019-03-25 12:06:32 -04:00
Barış Soner Uşaklı
b6440eed7a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-03-25 11:46:35 -04:00
Barış Soner Uşaklı
fddb783ee9 fix: #7487 2019-03-25 11:46:29 -04:00
Renovate Bot
a9130fad18 chore(deps): update dependency grunt to v1.0.4 2019-03-25 11:08:18 -04:00
Renovate Bot
d2932cf6fa chore(deps): update dependency eslint to v5.15.3 2019-03-25 11:07:32 -04:00
Renovate Bot
0274c2bd83 fix(deps): update dependency nodemailer to v6 2019-03-25 11:07:12 -04:00
Misty (Bot)
af2663d6da Latest translations and fallbacks 2019-03-24 09:25:58 +00:00
Andrew Rodrigues
78e0b9834c fix: #7485 2019-03-23 03:45:21 -04:00
Baris Usakli
ad2d7a6991 fix: move upload_url to prestart so it is defined in upgrade scripts 2019-03-22 15:15:23 -04:00
Andrew Rodrigues
cead89f0ba fix: #7342 2019-03-22 13:01:16 -04:00
Misty (Bot)
148ccb6165 Latest translations and fallbacks 2019-03-22 09:27:47 +00:00
Andrew Rodrigues
6bed51ef1c chore: comment cleanup 2019-03-20 21:12:34 -04:00
Andrew Rodrigues
24dcae2193 feat: manual password expiry. closes #7471 2019-03-20 16:34:22 -04:00
Andrew Rodrigues
240f563ab0 fix: #7477 2019-03-20 16:30:33 -04:00
Andrew Rodrigues
1f4db132d5 chore: bump persona 2019-03-19 16:12:29 -04:00
Julian Lam
c289b904e6 fix: #7473 2019-03-19 15:42:42 -04:00
Andrew Rodrigues
c37b2f2ed3 fix: #7378 2019-03-19 14:56:31 -04:00
Andrew Rodrigues
dcdd41c7ce fix: #7454 2019-03-19 14:23:53 -04:00
Andrew Rodrigues
962b7f73d3 fix: #7472 2019-03-19 14:01:31 -04:00
Barış Soner Uşaklı
dd8d4f206a fix: remove async.series, dont crash if postAtIndex is undefined 2019-03-19 11:55:53 -04:00
Barış Soner Uşaklı
c12e1d19a7 fix: tests 2019-03-19 11:51:40 -04:00
Barış Soner Uşaklı
b4a9bb10e5 fix: #7468 2019-03-19 11:29:16 -04:00
renovate[bot]
c326141572 fix(deps): update dependency sharp to v0.22.0 (#7466) 2019-03-19 09:50:47 -04:00
Misty (Bot)
438d19bb64 Latest translations and fallbacks 2019-03-19 09:26:48 +00:00
Julian Lam
697a6597f3 fix: #7444 Re-factor handling of og:image tags (#7463)
* fix: display proper site logo or og-image with sizes in head

* fix: refactor og:image logic, #7444

- Updated logic to set additional og:image tags based on more
  factors
- logo.png fallback

* feat: save image sizes on post upload, re: #7444

* fix: awaiting addTags in topic controller

* fix: pass strings to meta tags object

* fix: sending absolute image url to meta tag

* fix: removed unneeded async and requiring sync db

* feat: upgrade to calculate image sizes for all post uploads tracked

* fix: tests
2019-03-18 12:09:10 -04:00
Julian Lam
745a9589e9 Use topics:read privilege for topic filtering use cases (#7462)
* fix: use topics:read privilege for topic filtering use cases

* fix: tests

* fix: more broken tests
2019-03-16 14:51:46 -04:00
renovate[bot]
c20cd52854 fix(deps): update dependency nodebb-theme-slick to v1.2.23 (#7460) 2019-03-16 11:08:14 -04:00
Baris Usakli
45d7e37ae8 fix: tests 2019-03-15 16:21:15 -04:00
Baris Usakli
b48b6d75e5 fix: callbacks 2019-03-15 16:06:38 -04:00
Baris Usakli
f8fa659642 fix don't crash if settings are not passed in 2019-03-15 15:26:41 -04:00
Baris Usakli
7addc5a0e2 fix: return early if keys is empty 2019-03-15 14:16:24 -04:00
Baris Usakli
b3962c1694 fix: return early if keys is empty 2019-03-15 14:16:24 -04:00
renovate[bot]
1c671c32f1 chore(deps): update dependency mocha to v6.0.2 (#7408) 2019-03-13 14:03:32 -04:00
Julian Lam
a6d7ea8ae3 Merge pull request #7450 from NodeBB/renovate/nodebb-theme-persona-9.x
fix(deps): update dependency nodebb-theme-persona to v9.1.27
2019-03-13 14:03:04 -04:00
Renovate Bot
fe30e06db2 fix(deps): update dependency nodebb-theme-vanilla to v10.1.25 2019-03-13 14:02:50 -04:00
Renovate Bot
5c60539235 fix(deps): update dependency nodebb-theme-persona to v9.1.27 2019-03-13 17:26:16 +00:00
Barış Soner Uşaklı
6cd3ac5b9b Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-03-13 12:43:53 -04:00
Barış Soner Uşaklı
b71e0eb179 fix: prevent infinite loops if category is already in children 2019-03-13 12:43:47 -04:00
Julian Lam
d2cfe6b946 Moved onSuccessfulLogin call from plugins to core, + auth verification hook (#7416)
* fix: #7412, calling controllers.onSuccessfulLogin in core

* feat: added plugin hook for auth validation
2019-03-13 12:38:30 -04:00
Renovate Bot
d8486e887a chore(deps): update dependency eslint to v5.15.1 2019-03-13 12:36:30 -04:00
Julian Lam
3567feee17 Merge pull request #7429 from NodeBB/renovate/node-8.15.1
chore(deps): update node:8.15.1 docker digest to c151597
2019-03-13 12:36:11 -04:00
Julian Lam
2024b836dc Merge pull request #7440 from NodeBB/renovate/jsdom-14.x
chore(deps): update dependency jsdom to v14
2019-03-13 12:36:02 -04:00
Renovate Bot
02804fe9c4 fix(deps): update dependency connect-redis to v3.4.1 2019-03-13 12:35:49 -04:00
Barış Soner Uşaklı
b2fbeb053a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-03-13 11:35:50 -04:00
Barış Soner Uşaklı
4732bed3db fix: #7448
don't set parent to itself
2019-03-13 11:35:39 -04:00
Andrew Rodrigues
0d19bb3d46 chore: bump themes, fix: https://github.com/NodeBB/NodeBB/issues/7446 2019-03-12 17:53:34 -04:00
Baris Usakli
73d14e4516 fix: return early if there are not blocked uids 2019-03-12 14:02:07 -04:00
Renovate Bot
2cb0bdea9a chore(deps): update node:8.15.1 docker digest to c151597 2019-03-12 16:34:23 +00:00
renovate[bot]
802931465e fix(deps): update dependency nodebb-plugin-composer-default to v6.2.9 (#7442) 2019-03-11 11:08:17 -04:00
Renovate Bot
a967253afa chore(deps): update dependency jsdom to v14 2019-03-10 03:19:42 +00:00
renovate[bot]
48dd3c5b48 fix(deps): update dependency nodebb-theme-vanilla to v10.1.23 (#7438) 2019-03-09 13:50:55 -05:00
renovate[bot]
3f4ae4b03b fix(deps): update dependency nodebb-theme-slick to v1.2.22 (#7437) 2019-03-09 12:43:10 -05:00
renovate[bot]
9887bb4fa2 fix(deps): update dependency nodebb-theme-persona to v9.1.25 (#7436) 2019-03-09 12:41:45 -05:00
Baris Usakli
7211dde7b9 feat: #7358 2019-03-09 12:35:36 -05:00
Baris Usakli
756dfd8ae6 fix: #7008 2019-03-09 11:16:36 -05:00
Baris Usakli
f9d92db5d5 fix: typo 2019-03-08 15:47:00 -05:00
Baris Usakli
e71ae80cbc fix: tests 2019-03-08 14:26:11 -05:00
Baris Usakli
cbfbcee50f fix: #7406 2019-03-08 13:59:52 -05:00
renovate[bot]
c18f2e1fdd fix(deps): update dependency nodebb-plugin-composer-default to v6.2.8 (#7435) 2019-03-08 13:27:37 -05:00
Baris Usakli
777ca03264 fix: #7432 2019-03-08 13:23:00 -05:00
Barış Soner Uşaklı
aecdf739fd fix: change user/system cpu usage 2019-03-07 10:52:58 -05:00
Barış Soner Uşaklı
5eaa14e746 fix: strip exif data on image uploads 2019-03-06 16:36:02 -05:00
Julian Lam
9aeb291e9b docs: updating changelog 2019-03-06 15:35:30 -05:00
Misty (Bot)
d87f8c525d chore: incrementing version number - v1.12.0 2019-03-06 20:30:59 +00:00
Renovate Bot
0b8d18332e chore(deps): update node:8.15.1 docker digest to 287b8a5 2019-03-05 16:07:41 -05:00
Barış Soner Uşaklı
2b6f1a05bf feat: admin/groups style change 2019-03-03 11:34:44 -05:00
Misty (Bot)
593261293b Latest translations and fallbacks 2019-03-03 09:24:54 +00:00
Misty (Bot)
eef456b864 Latest translations and fallbacks 2019-03-01 09:25:48 +00:00
Renovate Bot
0f2d31813e fix(deps): update dependency nodebb-theme-persona to v9.1.24 2019-02-28 18:04:42 -05:00
Renovate Bot
ae89db2893 chore(deps): update node.js to v8.15.1 2019-02-28 17:49:53 -05:00
Barış Soner Uşaklı
db47753877 feat: add process cpu usage to admin 2019-02-28 14:50:31 -05:00
Barış Soner Uşaklı
684175f7d7 fix: #7413 2019-02-28 12:17:17 -05:00
Barış Soner Uşaklı
e331f6b51d fix: #7414 2019-02-28 10:20:07 -05:00
Misty (Bot)
2a6f18f656 Latest translations and fallbacks 2019-02-27 09:26:31 +00:00
renovate[bot]
9ebc900a1c fix(deps): update dependency nodebb-plugin-composer-default to v6.2.7 (#7411) 2019-02-26 13:14:34 -05:00
Misty (Bot)
d9697f8ff1 Latest translations and fallbacks 2019-02-26 09:25:51 +00:00
Julian Lam
82c8ee3fe6 fix(deps): bump markdown 2019-02-25 14:28:56 -05:00
Julian Lam
7ce5a81f22 fix(deps): bump markdown 2019-02-25 14:26:24 -05:00
Julian Lam
a0b71f0983 fix(deps): bump persona 2019-02-25 10:24:45 -05:00
Misty (Bot)
5c18b299b1 Latest translations and fallbacks 2019-02-24 09:26:11 +00:00
Misty (Bot)
d60514b09b Latest translations and fallbacks 2019-02-23 09:25:00 +00:00
renovate[bot]
699eddcb0d fix(deps): update dependency nodebb-theme-vanilla to v10.1.21 (#7404) 2019-02-22 16:39:12 -05:00
renovate[bot]
d87751eac8 fix(deps): update dependency nodebb-theme-persona to v9.1.22 (#7403) 2019-02-22 16:38:57 -05:00
Julian Lam
0360f6e1cb fix: l2spread @baris nib 2019-02-22 16:01:12 -05:00
renovate[bot]
f721155dfb fix(deps): update dependency nodebb-theme-persona to v9.1.21 (#7401) 2019-02-22 15:34:02 -05:00
renovate[bot]
f6e5565155 fix(deps): update dependency nodebb-theme-slick to v1.2.21 (#7398) 2019-02-22 15:15:12 -05:00
renovate[bot]
f812e0b7cf fix(deps): update dependency nodebb-widget-essentials to v4.0.14 (#7399) 2019-02-22 15:14:59 -05:00
Julian Lam
6c1f9c3c46 fix: restored email logo to all outgoing emails 2019-02-22 15:03:31 -05:00
Baris Usakli
e613f88b29 use params 2019-02-22 14:45:43 -05:00
Baris Usakli
1486714081 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/topics/teaser.js
2019-02-22 14:39:52 -05:00
Baris Usakli
23da300958 feat: pass options to digest 2019-02-22 14:39:05 -05:00
renovate[bot]
30bdb1a100 chore(deps): update dependency mocha to v6 (#7387) 2019-02-22 14:36:56 -05:00
renovate[bot]
cf74904cac chore(deps): update dependency coveralls to v3.0.3 (#7397) 2019-02-22 14:35:59 -05:00
Julian Lam
ad6c8dccae fix: die hydra!!! 2019-02-22 13:45:49 -05:00
Julian Lam
9731350812 fix: incorrect teaserPost logic 2019-02-22 12:33:27 -05:00
Julian Lam
43c4eb2350 fix: normalized font sizes for paragraphs in digest 2019-02-22 12:25:53 -05:00
Julian Lam
6f272e3474 fix: removed notification subheader translation string 2019-02-22 12:04:02 -05:00
Julian Lam
d3a10628e7 fix: broken 50% border radius on emails, failing tests 2019-02-22 12:01:18 -05:00
Misty (Bot)
3f945c2b12 Latest translations and fallbacks 2019-02-22 09:25:47 +00:00
Barış Soner Uşaklı
d813a77a62 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-02-21 18:27:36 -05:00
Barış Soner Uşaklı
6472a06515 fix: hook names getting objectified by winston 2019-02-21 18:27:29 -05:00
Julian Lam
3a7f1c192b fix: failing tests from revamped-emails branch 2019-02-21 12:55:09 -05:00
Barış Soner Uşaklı
03305db845 fix: #7395 2019-02-21 12:10:49 -05:00
Julian Lam
f32a992237 feat: revamp email templates to be more style agnostic (#7375)
* feat: re-designed digest

Updated design, logic no longer shows "no topics", just doesn't
show the list at all, teaser re-retrieved for digest so that it
always grabs a teaser even if there is no reply, changed default
email background to a light grey.

* fix: minor padding issues in digest

* fix: banned template

* fix: invitation.tpl

* fix: removed unused notif_chat and notif_post email templates

* fix: notification template

* fix: registration_accepted template

* fix: reset tpl

* fix: test tpl

* fix: email verify tpl

* fix: reset notify tpl

* fix: welcome tpl

* fix: additional minor font fixes

* fix: removed unused email header image assets

* fix: internationalised 'your daily digest' string

* fix: broken url in digest 🤦

* feat: added RTL support for emailer

/cc @PostMidnight
2019-02-20 16:13:26 -05:00
Julian Lam
e013597e33 Merge branch 'router-all-patch' 2019-02-20 15:38:54 -05:00
renovate[bot]
deff7b3483 fix(deps): update dependency nodebb-theme-persona to v9.1.19 (#7392) 2019-02-20 12:06:27 -05:00
Barış Soner Uşaklı
fc830c0f41 feat: lower search timeout 2019-02-20 11:58:16 -05:00
Barış Soner Uşaklı
8a0e1280d6 feat: quick search 2019-02-20 11:52:04 -05:00
Misty (Bot)
ea66fc3fa0 Latest translations and fallbacks 2019-02-20 09:25:14 +00:00
Julian Lam
d722f3b8b6 fix: mounting of all-route middlewares to router instead of app
related to julianlam/nodebb-plugin-session-sharing#73
These three lines haven't changed in two years, but it makes more
sense for them to be called against the relative path router,
otherwise req.originalUrl contains the relative path, which is
not necessary.
2019-02-19 15:49:34 -05:00
Julian Lam
f972f75202 fix: incorrect returnTo set in registerComplete 2019-02-19 15:47:37 -05:00
Julian Lam
158f68eb47 fix: search.api not working on subfolder 2019-02-19 11:54:12 -05:00
Julian Lam
eafe76debb feat: add vote status to getPostData API call 2019-02-19 11:41:23 -05:00
renovate[bot]
fab32a4963 fix(deps): update dependency nodebb-plugin-composer-default to v6.2.6 (#7389) 2019-02-19 11:37:26 -05:00
Baris Usakli
d2b8396764 feat: make topic search a function 2019-02-19 11:26:39 -05:00
Julian Lam
7a5344533e fix: tests for #7385 2019-02-19 11:20:50 -05:00
Julian Lam
57069a5c48 fix: #7385 better handling for errors in Adv>Databases 2019-02-19 10:12:31 -05:00
Renovate Bot
4df9c206fb chore(deps): update dependency eslint to v5.14.1 2019-02-18 15:34:15 -05:00
Renovate Bot
042b81a03e fix(deps): update dependency nodebb-theme-persona to v9.1.18 2019-02-17 22:51:40 -05:00
renovate[bot]
546e04e153 fix(deps): update dependency nodebb-theme-persona to v9.1.17 (#7379) 2019-02-16 16:24:58 -05:00
Barış Soner Uşaklı
c01d43e01d feat: quick search 2019-02-16 16:20:58 -05:00
Misty (Bot)
4518198786 Latest translations and fallbacks 2019-02-16 09:24:42 +00:00
Renovate Bot
cb5e3d8333 chore(deps): update dependency jsdom to v13.2.0 2019-02-15 17:41:38 -05:00
Renovate Bot
edcb531401 chore(deps): update node:8.15.0 docker digest to a8a9d8e 2019-02-15 16:56:28 -05:00
Renovate Bot
a78f5da5ee chore(deps): update dependency nyc to v13.3.0 2019-02-15 16:56:18 -05:00
Renovate Bot
18c90913ee chore(deps): update dependency lint-staged to v8.1.4 2019-02-15 16:56:11 -05:00
Renovate Bot
9d8d2d0dc1 chore(deps): update dependency eslint to v5.14.0 2019-02-15 16:55:59 -05:00
Renovate Bot
aed5b29dd0 chore(deps): update commitlint monorepo 2019-02-15 16:55:36 -05:00
Julian Lam
949b10f132 fix: no relative path needed in req.session.returnTo
re: julianlam/nodebb-plugin-session-sharing#73
2019-02-15 16:42:11 -05:00
Barış Soner Uşaklı
d5ece9a4c3 fix: don't refresh page when enabling/disabling categories 2019-02-15 11:17:27 -05:00
Barış Soner Uşaklı
c2e7ae7f41 fix: #7373 2019-02-15 10:51:18 -05:00
renovate[bot]
d0874f34b1 fix(deps): update dependency nodebb-plugin-composer-default to v6.2.5 (#7374) 2019-02-15 10:40:54 -05:00
renovate[bot]
264eadde17 fix(deps): update dependency async to v2.6.2 (#7365) 2019-02-13 14:40:24 -05:00
Julian Lam
ab0e547d23 fix: autocomplete not triggered if chat switched 2019-02-13 11:02:57 -05:00
Julian Lam
6c2f48f189 fix: #7366 2019-02-13 10:54:21 -05:00
Barış Soner Uşaklı
45c322aeb0 fix: #7357 2019-02-12 09:46:25 -05:00
Barış Soner Uşaklı
2996a5dc25 fix: #7359 2019-02-12 09:19:19 -05:00
Julian Lam
e8f3c25676 fix: re-introducing indeterminate checkbox state to ACP privs 2019-02-11 16:33:47 -05:00
Barış Soner Uşaklı
c6ad8fae2a fix: #7354 2019-02-11 14:29:25 -05:00
Barış Soner Uşaklı
efd7d953de fix: uid check 2019-02-11 11:55:38 -05:00
Barış Soner Uşaklı
c24dcf78b7 fix: uid checks 2019-02-11 11:52:17 -05:00
Barış Soner Uşaklı
5917dec288 fix: only allow numbers as scores (#7356)
* zadd score checks

* fix: only allow numbers as scores

* fix: convert values to strings
2019-02-11 11:23:18 -05:00
Julian Lam
0fffcb3855 fix: #7231, missing success alert on group name change in ACP 2019-02-09 14:50:14 -05:00
Barış Soner Uşaklı
fe63fca846 fix: remove debug logs 2019-02-09 14:32:44 -05:00
Barış Soner Uşaklı
39e3527585 fix: don't use same db as prod values 2019-02-09 13:54:08 -05:00
Barış Soner Uşaklı
bcd62586e2 fix: database 0 was being replaced with undefined because 0 is falsy 2019-02-09 13:41:34 -05:00
Barış Soner Uşaklı
ba90bf3114 feat: check overide 2019-02-09 13:13:42 -05:00
Barış Soner Uşaklı
f2d7f75ee2 feat: check CI failure 2019-02-09 12:23:10 -05:00
Barış Soner Uşaklı
2e2c3ac110 fix: #7352 2019-02-09 10:14:43 -05:00
Julian Lam
aca0556052 fix: #7261, banned users still get digests 2019-02-08 16:26:38 -05:00
Julian Lam
91a7b9070a fix: #7346, panel-header widget colours in ACP 2019-02-08 16:09:29 -05:00
Baris Usakli
8c68780e54 fix: #7350 2019-02-08 14:38:21 -05:00
Renovate Bot
30ff4582e1 fix(deps): update dependency nodebb-plugin-composer-default to v6.2.4 2019-02-08 11:23:48 -05:00
Julian Lam
96b6ce1f3c fix: eslint failure from daadcc4889 2019-02-08 10:54:25 -05:00
Julian Lam
0c09b7402d feat: logging password resets and errors into event log
closes #7343, also adds tests for password reset socket calls
2019-02-08 10:51:10 -05:00
Renovate Bot
65df67117d fix(deps): update dependency nodebb-theme-persona to v9.1.16 2019-02-08 09:57:36 -05:00
Renovate Bot
07b29d5901 fix(deps): update dependency nodebb-plugin-markdown to v8.9.0 2019-02-08 09:44:47 -05:00
Julian Lam
fbbe2ab758 fix(deps): bump contenteditable to v0.1.1, #7325 2019-02-08 09:34:42 -05:00
Misty (Bot)
250674c8a8 Latest translations and fallbacks 2019-02-08 09:25:58 +00:00
Barış Soner Uşaklı
fab52b840c fix: prevent crash if results.stats or results.serverStatus is undefined 2019-02-07 16:07:44 -05:00
Andrew Rodrigues
d864da1a2e fix: move action:alert.update to after translator 2019-02-07 15:41:20 -05:00
Andrew Rodrigues
daadcc4889 feat: add action:alert.new, action:alert.update hooks 2019-02-07 15:39:22 -05:00
Barış Soner Uşaklı
fc6767e140 fix: #7098 2019-02-06 18:36:58 -05:00
Barış Soner Uşaklı
70d9c6c4ce fix: #7232 2019-02-06 15:31:56 -05:00
renovate[bot]
176efb5fe6 fix(deps): update dependency nodebb-plugin-composer-default to v6.2.3 (#7341) 2019-02-06 15:13:06 -05:00
Barış Soner Uşaklı
e59b907d7c fix: #7229 2019-02-06 14:55:22 -05:00
Barış Soner Uşaklı
12c5899099 fix: #7339 2019-02-06 13:34:50 -05:00
Barış Soner Uşaklı
8e3bf58106 fix: #7338 2019-02-06 11:29:18 -05:00
Barış Soner Uşaklı
56a493d873 fix: dont crash if userData is undefined #7262 2019-02-06 10:33:04 -05:00
Barış Soner Uşaklı
a2f08e7da2 fix: #7240 2019-02-05 15:27:41 -05:00
Barış Soner Uşaklı
cd1209906d fix: give default privs on new install to guests/spiders 2019-02-05 12:14:02 -05:00
Barış Soner Uşaklı
c72da5595a fix: #6806
3 new global privileges
view:users
view:tags
view:groups
2019-02-05 12:08:18 -05:00
Barış Soner Uşaklı
ae779ea4f9 fix: #7334 2019-02-04 23:50:21 -05:00
Barış Soner Uşaklı
9d1fcf4e36 fix: closes #7217 2019-02-04 14:16:47 -05:00
Andrew Rodrigues
5031bfe8c0 feat: allow themes to define custom classes for categories via filter:admin.category.get
`datalist` isn't supported in all browsers but this will fallback to the original behavior. The first item in the list is the placeholder.
2019-02-04 13:54:48 -05:00
renovate[bot]
8f69ffd41d fix(deps): update dependency nodebb-theme-persona to v9.1.15 (#7295) 2019-01-31 14:32:47 -05:00
renovate[bot]
a82bd3d0f3 fix(deps): update dependency nodebb-theme-slick to v1.2.20 (#7197) 2019-01-31 14:31:29 -05:00
renovate[bot]
b350be2777 fix(deps): update dependency nodebb-theme-lavender to v5.0.9 (#7322) 2019-01-31 14:31:04 -05:00
Barış Soner Uşaklı
d75a0d7724 feat: show more unread notifs 2019-01-31 13:13:59 -05:00
Barış Soner Uşaklı
6e69a9ab31 fix: merge post notifs 2019-01-31 12:54:23 -05:00
Barış Soner Uşaklı
f6cfbbb520 fix: don't crash if body doesn't have skin- 2019-01-30 14:39:01 -05:00
Renovate Bot
99f82fb366 fix(deps): update dependency nodebb-plugin-composer-default to v6.2.2 2019-01-30 12:59:27 -05:00
Barış Soner Uşaklı
c7abf07a3d fix: #7324
added disableToType option
2019-01-30 10:33:15 -05:00
Barış Soner Uşaklı
aa76d496f2 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-01-30 10:32:57 -05:00
Barış Soner Uşaklı
cd2f72fb73 feat: pass topic creation data to action:topic.save 2019-01-30 10:32:50 -05:00
Misty (Bot)
7abcb0f199 Latest translations and fallbacks 2019-01-30 09:27:30 +00:00
renovate[bot]
7e872d32f0 fix(deps): update dependency winston to v3.2.1 (#7317) 2019-01-29 14:16:27 -05:00
Barış Soner Uşaklı
0366cfd8ec fix: allow regular groups to local login 2019-01-29 14:10:40 -05:00
Barış Soner Uşaklı
5353960ae7 fix: #7316 2019-01-29 13:11:45 -05:00
Aziz Khoury
6ef5073521 spam-be-gone patched 2019-01-29 11:26:38 -05:00
Aziz Khoury
6cd8248cae added empty array for customActions and another indentation fix attempt, related to #7284 2019-01-29 11:26:38 -05:00
Aziz Khoury
14addef67b indentation fix #7284 2019-01-29 11:26:37 -05:00
Aziz Khoury
d94f6248ca related to https://github.com/NodeBB/NodeBB/issues/7212 2019-01-29 11:26:37 -05:00
Aziz Khoury
eb21ca1190 added customAction in the registration queue users list, related to #7212 2019-01-29 11:26:36 -05:00
Aziz Khoury
04232986ab related to https://github.com/NodeBB/NodeBB/issues/7212 2019-01-29 11:26:36 -05:00
Renovate Bot
e0fa696554 chore(deps): update dependency eslint-plugin-import to v2.16.0 2019-01-29 11:08:55 -05:00
Misty (Bot)
5a2ad3a502 Latest translations and fallbacks 2019-01-29 09:27:06 +00:00
renovate[bot]
9cf81afe43 fix(deps): update dependency nodebb-plugin-markdown to v8.8.8 (#7314) 2019-01-28 18:58:03 -05:00
Julian Lam
8aebe88417 fix: #7306 2019-01-28 16:07:42 -05:00
Julian Lam
7a4a8ea493 fix: #7312 2019-01-28 14:42:38 -05:00
Julian Lam
263e58dfd4 fix: #7311, missing dependencies 2019-01-28 14:12:28 -05:00
Julian Lam
02a8ed9b11 feat: textcomplete over jquery-textcomplete, closes #7309 2019-01-28 13:05:46 -05:00
Renovate Bot
362d9397dd chore(deps): update dependency @commitlint/cli to v7.4.0 2019-01-28 11:05:51 -05:00
Renovate Bot
96644350be chore(deps): update dependency lint-staged to v8.1.1 2019-01-28 10:44:21 -05:00
renovate[bot]
d48ef6d84b fix(deps): update dependency nodebb-plugin-dbsearch to v3.0.6 (#7305) 2019-01-27 17:23:21 -05:00
renovate[bot]
57e3f16212 fix(deps): update dependency nodebb-plugin-dbsearch to v3.0.5 (#7304) 2019-01-27 13:53:18 -05:00
renovate[bot]
443dcee435 fix(deps): update dependency nodebb-theme-vanilla to v10.1.19 (#7301) 2019-01-26 23:50:37 -05:00
Barış Soner Uşaklı
920efad04d fix: #7300 2019-01-26 23:44:41 -05:00
Barış Soner Uşaklı
70f8b418c4 fix: #6848
fixed in winston 3.2.0
2019-01-26 17:20:17 -05:00
renovate[bot]
6f957cb919 fix(deps): update dependency winston to v3.2.0 (#7299) 2019-01-26 17:16:59 -05:00
Julian Lam
f659ef4d80 feat: new hook filter:privileges.posts.edit 2019-01-26 13:48:57 -05:00
Julian Lam
df6f75eb05 fix: #7298 privilege header misalignment 2019-01-26 13:48:56 -05:00
Misty (Bot)
fefec8ba57 Latest translations and fallbacks 2019-01-26 09:26:04 +00:00
Barış Soner Uşaklı
cf918078e5 fix: #7211 2019-01-25 12:06:03 -05:00
Barış Soner Uşaklı
2ca16ea0be Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-01-25 11:48:31 -05:00
Barış Soner Uşaklı
7a9780f62a fix: #7215 2019-01-25 11:47:57 -05:00
Julian Lam
7fb3c16882 fix: #7296, local login privilege available to registered-users only 2019-01-25 11:43:42 -05:00
Barış Soner Uşaklı
d03220cdaf fix: #7094 2019-01-25 11:08:51 -05:00
Renovate Bot
247ac82858 fix(deps): update dependency nodebb-plugin-spam-be-gone to v0.6.0 2019-01-24 17:03:04 -05:00
Julian Lam
0edeeea2cf Merge branch 'develop' 2019-01-24 16:39:15 -05:00
Julian Lam
aec2f2102d docs: updated changelog 2019-01-24 16:38:36 -05:00
Misty (Bot)
757bff2748 chore: incrementing version number - v1.11.2 2019-01-24 21:29:17 +00:00
Andrew Rodrigues
7875b11b47 bump composer / persona 2019-01-24 15:58:18 -05:00
Barış Soner Uşaklı
bc41848adb fix: test 2019-01-24 15:17:24 -05:00
Barış Soner Uşaklı
893ec3638c Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-01-24 15:14:26 -05:00
Barış Soner Uşaklı
7064fd0678 fix: #7235 2019-01-24 15:14:12 -05:00
renovate[bot]
22cbcc3e37 fix(deps): update dependency nodebb-widget-essentials to v4.0.13 (#7293) 2019-01-24 15:02:44 -05:00
Barış Soner Uşaklı
ef0e780896 fix: use ACP config value for checking online status 2019-01-24 14:58:55 -05:00
Barış Soner Uşaklı
a083d5f429 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-01-24 12:42:42 -05:00
Barış Soner Uşaklı
a22a3a9861 fix: log error to prevent headers already sent
retry on uniq index fail
2019-01-24 12:42:36 -05:00
Julian Lam
63061ffd37 feat: new hook filter:user.logout
- used for setting "next" for post logout redirection
2019-01-24 12:04:44 -05:00
Renovate Bot
1aadbc3c94 fix(deps): update dependency mongodb to v3.1.13 2019-01-23 16:03:56 -05:00
Julian Lam
5b751a1467 Merge pull request #7282 from NodeBB/renovate/node-8.15.0
chore(deps): update node:8.15.0 docker digest to cb66110
2019-01-23 16:03:42 -05:00
Renovate Bot
4d64de7643 fix(deps): update dependency postcss to v7.0.14 2019-01-23 16:03:33 -05:00
Julian Lam
a7af019866 fix(deps): #7271, updating autoprefixer to latest version 2019-01-23 13:52:44 -05:00
Renovate Bot
1719cd77c2 chore(deps): update node:8.15.0 docker digest to cb66110 2019-01-23 16:41:01 +00:00
Ricki Hirner
0a662e4882 Add Disallow: /compose to robots.txt 2019-01-23 10:44:33 -05:00
Julian Lam
b48f1b4d91 fix(deps): #7270 2019-01-22 13:43:00 -05:00
Renovate Bot
f7191eb955 chore(deps): update dependency eslint-plugin-import to v2.15.0 2019-01-22 11:11:54 -05:00
Julian Lam
cee47f78b2 fix: #7289 timeago shorthand toggle fails on non-existant language
- Exposing timeagoCodes to frontend
- Timeago language and shorthand toggling will fall back to 'en'
  if the requested language does not exist
2019-01-21 16:35:42 -05:00
Julian Lam
059a4be204 feat: explicit handling of SSO success and failure 2019-01-21 15:29:32 -05:00
Julian Lam
5ee173c2f6 fix: #7276 improper request for client-noskin.css 2019-01-21 14:16:06 -05:00
Julian Lam
831d079512 fix: #7274 incorrect handling of client script 404s 2019-01-21 11:39:53 -05:00
Misty (Bot)
40637828af Latest translations and fallbacks 2019-01-21 09:26:23 +00:00
Julian Lam
8ceb35f537 fix: #7270 Flags graph label not translatable 2019-01-20 16:12:10 -05:00
Julian Lam
a23854e3ff feat: new hook type: response
Used in authentication middleware. Instead of firing an action
hook, it now fires a response hook.

Response hooks are invoked serially, and if headers are sent from
one of the hook listeners, all subsequent hook methods are not
called.

Response hooks should only be used in situations where res.send
(or other like methods) are invoked. Existing plugin hooks that
pass in res purely for data retrieval purposes have not changed).

fixes nodebb/nodebb-plugin-write-api#101
2019-01-19 14:49:22 -05:00
renovate[bot]
8a64667ff8 fix(deps): update dependency sharp to v0.21.3 (#7267)
* fix(deps): update dependency sharp to v0.21.3

* fix: tests for new sharp version errors
2019-01-19 12:44:14 -05:00
Julian Lam
5607261cde fix(deps): theme upgrades for #7266 2019-01-19 12:07:36 -05:00
Julian Lam
f122fc44d0 fix: #7266 body does not contain skin class
A regression was identified where the skin was not shown in the
body class. This resolves the issue and adds a workaround so that
the fix does not become breaking for custom themes.
2019-01-19 12:03:12 -05:00
Renovate Bot
d928c54d0a chore(deps): update dependency eslint to v5.12.1 2019-01-19 11:08:31 -05:00
Barış Soner Uşaklı
7524d3c33b fix: generate timeago codes from files 2019-01-18 18:01:41 -05:00
Julian Lam
2b9322e1c2 feat: additional options for SSO plugins
+checkState property, pass Boolean false to skip nonce checking
+callbackMethod, default 'get', you can pass in 'post', etc.
2019-01-18 16:16:04 -05:00
Barış Soner Uşaklı
ed5d2d6d15 feat: get rid of disk access 2019-01-18 15:32:34 -05:00
Renovate Bot
eeab7d2004 fix(deps): update dependency mongodb to v3.1.12 2019-01-18 09:21:10 -05:00
Misty (Bot)
73c8cf807c Latest translations and fallbacks 2019-01-18 09:27:13 +00:00
Persevere Von
cb8650e8e0 Fix #7263 (#7264) 2019-01-18 00:41:20 -05:00
Julian Lam
c831ff0de3 fix: removal of timeago fallback middleware (#7259)
* fix: removal of timeago fallback middleware

Instead of loading English fallback on missing language, we opt
to not send a script tag for a missing language to begin with.

Timeago already loads with English as default, so it will just
continue to use English.

* fix: check userLang against supported language codes

* fix: cleaned up code as per @pitaj

* fix: added comments

* fix: more fixes as per @pitaj

* feat: added addl. test for timeago locales, fixed broken test
2019-01-17 12:25:53 -05:00
Misty (Bot)
0bb5681471 Latest translations and fallbacks 2019-01-17 09:26:33 +00:00
renovate[bot]
b5f188b68e fix(deps): update dependency mongodb to v3.1.11 (#7252) 2019-01-15 19:12:52 -05:00
Renovate Bot
77dc8fc721 fix(deps): update dependency validator to v10.11.0 2019-01-15 18:15:16 -05:00
Renovate Bot
2fbb2614f3 fix(deps): update dependency nodebb-plugin-composer-default to v6.1.21 2019-01-15 16:02:14 -05:00
Baris Usakli
c14dbfc6b7 attempt to fix tests 2019-01-15 13:38:42 -05:00
Baris Usakli
65f6630722 add new hook action:plugins.firehook 2019-01-15 12:56:01 -05:00
Renovate Bot
f1842295f1 fix(deps): update dependency postcss to v7.0.12 2019-01-15 12:33:03 -05:00
Renovate Bot
6ae2b97209 chore(deps): update dependency @commitlint/cli to v7.3.2 2019-01-15 10:48:47 -05:00
Misty (Bot)
2cd1be0d04 Latest translations and fallbacks 2019-01-15 09:26:38 +00:00
Barış Soner Uşaklı
ac655564bb fix: post queue notifs
fix moderators not showing up immediately when adding them
2019-01-14 22:38:15 -05:00
Misty (Bot)
2614a2e5ce Latest translations and fallbacks 2019-01-14 09:27:15 +00:00
Renovate Bot
57bec2fb94 fix(deps): update dependency postcss to v7.0.11 2019-01-13 16:24:20 -05:00
Renovate Bot
ac39fe907f chore(deps): update node.js to v8.15.0 2019-01-13 16:24:12 -05:00
Renovate Bot
8f3c4b0923 fix(deps): update dependency sharp to v0.21.2 2019-01-13 16:13:50 -05:00
Julian Lam
51b5fb9826 fix: added missing translation and error state for password change 2019-01-13 14:49:37 -05:00
Julian Lam
3859d417ce fix: #7236, header search stops working after header update 2019-01-12 15:31:28 -05:00
Peter Jaszkowiak
e1ca2d81f9 refactor: use loash when possible (#7230) 2019-01-12 14:28:53 -05:00
Misty (Bot)
a4ab13d323 Latest translations and fallbacks 2019-01-12 09:26:10 +00:00
Renovate Bot
82475fe535 fix(deps): update dependency postcss to v7.0.10 2019-01-11 16:48:27 -05:00
Julian Lam
87c2d10811 fix: #7226, added placeholder styling for fa-nbb-none 2019-01-11 12:30:23 -05:00
Renovate Bot
f96ef7bbff chore(deps): update dependency eslint to v5.12.0 2019-01-11 12:06:14 -05:00
Renovate Bot
f171c16907 fix(deps): update dependency postcss to v7.0.9 2019-01-11 12:05:46 -05:00
Renovate Bot
ea059e892a fix(deps): update dependency nodebb-theme-vanilla to v10.1.15 2019-01-11 12:05:27 -05:00
Renovate Bot
96482569c0 fix(deps): update dependency nodebb-theme-persona to v9.1.10 2019-01-11 12:05:14 -05:00
Renovate Bot
505941187f chore(deps): update commitlint monorepo to v7.3.1 2019-01-11 11:58:21 -05:00
Julian Lam
af4fd5979f Revert "fix: #7216, hide taskbar on chat modal invocation on mobile"
This reverts commit a70db885cf.
2019-01-11 10:29:25 -05:00
Renovate Bot
bbe05043fc fix(deps): update dependency nodebb-theme-persona to v9.1.9 2019-01-11 09:53:22 -05:00
Misty (Bot)
0a54f8bde4 Latest translations and fallbacks 2019-01-11 09:26:35 +00:00
Barış Soner Uşaklı
9328eeca95 fix: escape hook method 2019-01-10 23:52:53 -05:00
Renovate Bot
6cc5dbc830 fix(deps): update dependency nodebb-theme-vanilla to v10.1.14 2019-01-10 17:04:41 -05:00
Renovate Bot
e5443690cf fix(deps): update dependency nodebb-theme-persona to v9.1.8 2019-01-10 17:04:32 -05:00
Julian Lam
a70db885cf fix: #7216, hide taskbar on chat modal invocation on mobile 2019-01-10 16:46:08 -05:00
Misty (Bot)
27e82aeaab Latest translations and fallbacks 2019-01-10 09:27:14 +00:00
Barış Soner Uşaklı
428f587cbe fix: #7208 2019-01-09 11:59:20 -05:00
Barış Soner Uşaklı
a662f118a5 fix: #7054 2019-01-08 19:28:30 -05:00
Barış Soner Uşaklı
b9833483ca fix: #7209 2019-01-08 18:56:12 -05:00
Julian Lam
70a87d4399 feat: support for one-click unsubscribe from email clients (#7203)
* feat: sending notifs via ACP creates real notification

re: #7202

* feat: basic integration for one-click unsubscription #7202

* feat: tests for #7202 + bugfix

* feat: added and organized digest unsub tests

closes #7202
2019-01-08 13:56:11 -05:00
Renovate Bot
29acad4247 fix(deps): update dependency pg-cursor to v2 2019-01-08 13:29:44 -05:00
renovate[bot]
84e228bbb8 fix(deps): update dependency diff to v4 (#7198)
* fix(deps): update dependency diff to v4

* chore(deps): +diff@4.0.1

* fix: test for #7198
2019-01-07 12:07:28 -05:00
renovate[bot]
0a647316e9 fix(deps): update dependency nodebb-plugin-mentions to v2.5.2 (#7199)
* fix(deps): update dependency nodebb-plugin-mentions to v2.5.1

* chore(deps): +mentions@2.5.2
2019-01-07 10:56:18 -05:00
Misty (Bot)
d443fe85bd Latest translations and fallbacks 2019-01-07 09:26:37 +00:00
Misty (Bot)
7990597740 Latest translations and fallbacks 2019-01-06 09:27:03 +00:00
Renovate Bot
90b4d40e77 fix(deps): update dependency nodebb-plugin-markdown to v8.8.7 2019-01-04 15:51:46 -05:00
Renovate Bot
0006370867 chore(deps): update dependency smtp-server to v3.5.0 2019-01-04 15:33:09 -05:00
Baris Usakli
1a3838e13c fix: missing notification 2019-01-04 13:41:19 -05:00
Baris Usakli
7809ba2800 fix: #7193, closes #7194 2019-01-04 13:27:41 -05:00
Julian Lam
0263b4daec feat: added new hook static:sockets.validateSession (#7189)
* feat: added new hook

* fix: improper .bind() call, +req in static:sockets.validateSession

* fix: restored original sessionStore logic, +hook

original logic to retrieve the sessionStore was not faulty, but
was changed for the sake of changing things, which ultimately
led to issues with tests, etc.
2019-01-03 21:14:30 -05:00
Barış Soner Uşaklı
6f1fb4eb24 fix: #https://github.com/barisusakli/nodebb-plugin-dbsearch/issues/49 2019-01-03 18:32:57 -05:00
Barış Soner Uşaklı
28459d04c6 fix: #7187 2019-01-03 13:08:42 -05:00
Misty (Bot)
64f263afe5 Latest translations and fallbacks 2019-01-03 09:26:27 +00:00
Julian Lam
954af0f0d2 fix: #7176, FUOC on app.reskin() 2019-01-02 16:01:59 -05:00
Renovate Bot
f4cc3122a5 fix(deps): update dependency rimraf to v2.6.3 2019-01-02 15:43:32 -05:00
Baris Usakli
9aa1aa689d fix: #7174
always pass string in service
2019-01-02 15:27:32 -05:00
Baris Usakli
934e1854d3 remove unnecessary escape 2019-01-02 13:48:22 -05:00
Baris Usakli
0d409610c4 fix: #7181 2019-01-02 13:33:15 -05:00
Baris Usakli
8da3b2a487 fix: #7142
due to no refresh on login socket listeners were added more than once,
so remove them before adding the listeners
2019-01-02 13:16:56 -05:00
Barış Soner Uşaklı
8566205214 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2019-01-01 18:04:09 -05:00
Barış Soner Uşaklı
03299736dc fix: #7179
don't consider pinned topics in widget areas
2019-01-01 18:04:03 -05:00
renovate[bot]
0faba32528 fix(deps): update dependency spider-detector to v1.0.19 (#7177) 2019-01-01 14:36:15 -05:00
Renovate Bot
4993b03c45 fix(deps): update dependency nodemailer to v5 2018-12-31 14:37:49 -05:00
Renovate Bot
719995a4da chore(deps): update dependency husky to v1.3.1 2018-12-31 14:36:33 -05:00
Renovate Bot
80cee66509 fix(deps): update dependency json-2-csv to v3 2018-12-31 14:35:45 -05:00
Misty (Bot)
25e05805ad Latest translations and fallbacks 2018-12-30 09:26:05 +00:00
Julian Lam
b0eaa858b5 fix: #7169 Fixed logout being broken 2018-12-27 16:50:51 -05:00
Renovate Bot
07bf0b98d2 fix(deps): update dependency nodebb-plugin-composer-default to v6.1.20 2018-12-27 15:58:34 -05:00
Julian Lam
629b35546c fix: #7167, composer and chat not closing on logout 2018-12-27 15:55:53 -05:00
Barış Soner Uşaklı
43e7cc0afb fix: shorter function 2018-12-26 12:09:39 -05:00
Barış Soner Uşaklı
2da0a65765 fix: #7162 2018-12-26 09:00:48 -05:00
Misty (Bot)
90e72f4ea6 Latest translations and fallbacks 2018-12-26 09:25:59 +00:00
renovate[bot]
c68d4ae89f fix(deps): update dependency nodebb-theme-persona to v9.1.7 (#7161) 2018-12-25 10:41:33 -05:00
Misty (Bot)
8e0ba9d76f Latest translations and fallbacks 2018-12-25 09:25:53 +00:00
renovate[bot]
07af46ea3e fix(deps): update dependency nodebb-plugin-composer-default to v6.1.19 (#7159) 2018-12-24 16:48:01 -05:00
Barış Soner Uşaklı
72afc1806e fix: uid filtering 2018-12-24 16:05:11 -05:00
renovate[bot]
584b45fca9 fix(deps): update dependency nodebb-plugin-composer-default to v6.1.18 (#7158) 2018-12-24 15:05:43 -05:00
Misty (Bot)
439fa63a9c Latest translations and fallbacks 2018-12-24 09:26:04 +00:00
renovate[bot]
26f3bdbfff chore(deps): update dependency eslint to v5.11.0 (#7151) 2018-12-23 12:09:53 -05:00
renovate[bot]
8003bed8a0 fix(deps): update dependency validator to v10.10.0 (#7152) 2018-12-23 12:09:39 -05:00
Barış Soner Uşaklı
41fb5cca81 fix: dont crash if default cover is invalid 2018-12-22 06:18:45 -05:00
Misty (Bot)
9f3efd79db Latest translations and fallbacks 2018-12-22 09:27:10 +00:00
Julian Lam
8e9de540b4 fix: #7136 socket.disconnect() now called on invalid session 2018-12-21 15:09:13 -05:00
Julian Lam
4873a339c1 fix: RTL not respected when changed in user settings, related to #7146 2018-12-21 14:59:14 -05:00
Julian Lam
d81e0a5f5b fix: #7146 Better RTL handling on (de-)authentication
- RTL is applied (or unapplied) on login and logout depending on
  user language/guest-detected language.
- config is automatically saved into res.locals.config whenever
  loadConfig is called
- On login/logout, buildHeader is called instead of getting config
- On logout, req.uid is deleted instead of set to 0
2018-12-21 11:49:11 -05:00
Misty (Bot)
1ecedefae7 Latest translations and fallbacks 2018-12-21 09:26:11 +00:00
Julian Lam
900f0a0b78 fix: #7118, invoking autoLocale middleware on logout
Also:
- firing client-side hook on header update
- updating bootbox locale on header update
2018-12-20 14:01:42 -05:00
Renovate Bot
792dce1496 fix(deps): update dependency nodebb-plugin-mentions to v2.5.0 2018-12-20 13:36:11 -05:00
Misty (Bot)
9d36ee868c Latest translations and fallbacks 2018-12-20 09:26:23 +00:00
Andrew Rodrigues
7fb29f4272 fix: closes #6784 (#7137)
* fix: closes #6784

* #6784 also fix homepage + subfolder installs

* #6784 fixes suburls as well (ex. /tags/x and /groups/y)

* #6784 more elegant solution @pitaj

and the last time I touch this function, lol

* #6784 regis, final answer

I lied in that last commit
2018-12-19 16:16:35 -05:00
renovate[bot]
325b0293b8 fix(deps): update dependency nodebb-theme-persona to v9.1.6 (#7141) 2018-12-19 12:14:52 -05:00
Barış Soner Uşaklı
ab81cca735 fix: 7100 2018-12-19 12:09:36 -05:00
Barış Soner Uşaklı
3917022a48 fix: #7139 2018-12-19 11:09:19 -05:00
Misty (Bot)
591cd0925b Latest translations and fallbacks 2018-12-19 09:26:26 +00:00
Barış Soner Uşaklı
7e828404f6 fix: #7116
dont save relative_path in db for group covers
2018-12-18 19:43:28 -05:00
Barış Soner Uşaklı
29a85aecc7 fix: #7138 2018-12-18 19:20:51 -05:00
Renovate Bot
eb6062819f chore(deps): update dependency husky to v1.3.0 2018-12-18 14:49:12 -05:00
Baris Usakli
b47f939bfc fix: lint 2018-12-18 14:04:57 -05:00
Baris Usakli
69e0dbbf4a fix: #7091, #7093 2018-12-18 14:02:54 -05:00
Baris Usakli
f4ea2c43ab feat: #7120 2018-12-18 13:56:06 -05:00
Renovate Bot
ddd07c1a9d fix(deps): update dependency nodebb-plugin-dbsearch to v3.0.4 2018-12-18 13:45:09 -05:00
Baris Usakli
0c1ac4d6a2 feat: #7032 2018-12-18 13:44:03 -05:00
renovate[bot]
f614a44daf fix(deps): update dependency nodebb-widget-essentials to v4.0.12 (#7133) 2018-12-18 12:50:23 -05:00
Misty (Bot)
2811259f78 Latest translations and fallbacks 2018-12-18 09:26:24 +00:00
Barış Soner Uşaklı
d31684e8b8 fix: #7131 2018-12-17 19:03:33 -05:00
Barış Soner Uşaklı
fef7e13c9e feat: small fixes 2018-12-17 18:56:09 -05:00
Barış Soner Uşaklı
b2a74b4172 fix: remove cache 2018-12-17 17:54:33 -05:00
Barış Soner Uşaklı
b9b9d8b2e9 feat: name topic controller 2018-12-17 17:16:51 -05:00
Barış Soner Uşaklı
0cb9bba4da feat: header 2018-12-17 17:11:35 -05:00
Barış Soner Uşaklı
60390c01f1 fix: loop 2018-12-17 16:59:45 -05:00
Barış Soner Uşaklı
ae0fe5e880 feat: more naming 2018-12-17 16:56:38 -05:00
Barış Soner Uşaklı
f88db22ca2 feat: give the rest of the middlewares names 2018-12-17 16:36:43 -05:00
Barış Soner Uşaklı
fdfbcc6efe feat: give names to more middlewares 2018-12-17 16:23:38 -05:00
Barış Soner Uşaklı
b0b87ab038 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-12-17 16:03:07 -05:00
Barış Soner Uşaklı
53793e1603 feat: give names to middlewares 2018-12-17 16:03:01 -05:00
Renovate Bot
9ab31d7ee1 fix(deps): update dependency nodebb-plugin-mentions to v2.4.0 2018-12-17 12:50:45 -05:00
Misty (Bot)
7a43f26055 Latest translations and fallbacks 2018-12-17 09:26:16 +00:00
Renovate Bot
7ef8c3fdd4 fix(deps): update dependency postcss to v7.0.7 2018-12-16 22:09:28 -05:00
Misty (Bot)
998ed55ab6 Latest translations and fallbacks 2018-12-16 09:25:51 +00:00
Barış Soner Uşaklı
4650a76036 fix: #7124 2018-12-16 00:09:13 -05:00
Renovate Bot
60e9430b14 chore(deps): update dependency jsdom to v13.1.0 2018-12-15 17:42:33 -05:00
Barış Soner Uşaklı
9f5062682d fix: unread badge
- only increase unread badge if topic or category is watched
- fix logic for "there are new posts/topics" on /unread and /recent
2018-12-15 16:38:30 -05:00
Barış Soner Uşaklı
d2c2d56f59 feat: change sortedSetsScore 2018-12-15 00:57:51 -05:00
Barış Soner Uşaklı
99e0895e99 fix: move the check to get methods
all .post methods will have csrf
2018-12-14 23:38:05 -05:00
Julian Lam
fbe6ccd773 style: lint fix 2018-12-14 22:52:47 -05:00
Barış Soner Uşaklı
989879a6b5 fix: #7115 2018-12-14 21:18:42 -05:00
Barış Soner Uşaklı
14c4552304 dont modify session for spiders 2018-12-14 20:10:07 -05:00
Barış Soner Uşaklı
29b63ae7fb fix: #6979 2018-12-14 17:31:06 -05:00
renovate[bot]
bf75f3e3b8 fix(deps): update dependency sharp to v0.21.1 (#7082) 2018-12-14 17:20:06 -05:00
renovate[bot]
dae861da10 chore(deps): update dependency eslint to v5.10.0 (#7084) 2018-12-14 17:19:11 -05:00
Julian Lam
d1ea5d157d feat(deps): update bootstrap to v3.4.0 (#7106) 2018-12-14 17:18:59 -05:00
renovate[bot]
fc5598b973 fix(deps): update dependency nodebb-theme-vanilla to v10.1.13 (#7114) 2018-12-14 17:18:38 -05:00
renovate[bot]
56ad43aa89 fix(deps): update dependency nodebb-theme-slick to v1.2.19 (#7113) 2018-12-14 17:17:28 -05:00
Barış Soner Uşaklı
0eef3e1c27 fix: upgrade script key 2018-12-14 16:51:32 -05:00
Barış Soner Uşaklı
00afc5b3ab fix: remove log 2018-12-14 16:36:07 -05:00
renovate[bot]
953f8fe5f3 fix(deps): update dependency nodebb-theme-persona to v9.1.5 (#7112) 2018-12-14 16:30:54 -05:00
Julian Lam
c04e192db8 docs: updated changelog for v1.11.1 2018-12-14 16:26:31 -05:00
Barış Soner Uşaklı
eb7ae54f81 Category watch state (#7109)
* feat: wip, category watch change

* feat: pass data to client

* feat: allow changing state

* fix: account page categories

* fix: show in unread if topic is followed or category is watched

* feat: add default watch state to acp

* feat: save user category watch state

* feat: update unread recent pages

* fix: remove dupe code

* fix: flip conditions

* fix: handle empty arrays

* fix: ignore/watch on others profile

* feat: upgrade script for category states

if there are any users ignoring categories set their state in new zset and delete cid:<cid>:ignorers

* fix: upgrade

* fix: tests

* fix: redis count

* fix: more tests
2018-12-14 16:24:17 -05:00
Misty (Bot)
2104877c76 chore: incrementing version number - v1.11.1 2018-12-14 21:18:26 +00:00
oh
f3e8e06503 feat: Allow getting logfile path from config (#7044)
* feat(log): allow getting logfile path from config

fixes #5498

* feat(log): ensure logfile directory is created before running
2018-12-14 11:27:18 -05:00
Ben Lubar
ff5b04beb9 Log port number of current instance in addition to pid. (#7110) 2018-12-14 11:21:46 -05:00
Barış Soner Uşaklı
8169739069 fix: #7108 2018-12-14 10:16:59 -05:00
Misty (Bot)
81e854b37f Latest translations and fallbacks 2018-12-14 09:26:24 +00:00
Barış Soner Uşaklı
62f01a839e fix: dont save data for non-positive uids 2018-12-14 00:09:15 -05:00
Renovate Bot
63f4b5696b chore(deps): update dependency husky to v1.2.1 2018-12-13 23:43:57 -05:00
Misty (Bot)
7b8d7aee3c Latest translations and fallbacks 2018-12-13 09:26:49 +00:00
Barış Soner Uşaklı
f103390aa5 fix: #7103
update counter when user navigates to /unread
fix new topic alert on /unread
moved unread code from footer to unread
2018-12-12 19:43:35 -05:00
Barış Soner Uşaklı
2f57a4b9a6 fix: dont update cid:<cid>:tids:votes if topic is pinned 2018-12-12 14:35:51 -05:00
Barış Soner Uşaklı
d117df77f7 fix: #7102 2018-12-12 14:26:11 -05:00
Barış Soner Uşaklı
85a07e999b fix: #7102 2018-12-12 13:46:13 -05:00
Barış Soner Uşaklı
74d0e88df3 fix: don't explode if there is no css el 2018-12-12 11:16:49 -05:00
Barış Soner Uşaklı
263c918088 feat: remove uid:<uid>:ignored:cids (#7099)
use cid:<cid>:ignorers instead
2018-12-12 11:15:34 -05:00
Misty (Bot)
7a9299f374 Latest translations and fallbacks 2018-12-12 09:26:47 +00:00
Misty (Bot)
cc1a3e8f3e Latest translations and fallbacks 2018-12-11 09:28:09 +00:00
Barış Soner Uşaklı
26ccd8f626 fix: db info page
if there is no connection to db, connect first
2018-12-10 15:30:10 -05:00
Barış Soner Uşaklı
a0f57c642c Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-12-10 14:40:17 -05:00
Barış Soner Uşaklı
a6c8e0ab4f fix: logAttempt conditional 2018-12-10 14:40:11 -05:00
Julian Lam
33d4956b76 fix: #7087, server-side protection against guest blocks 2018-12-10 14:14:37 -05:00
Misty (Bot)
6c312fa253 Latest translations and fallbacks 2018-12-10 09:27:18 +00:00
Barış Soner Uşaklı
78fa734017 feat: cache category tag whitelist 2018-12-09 16:03:41 -05:00
Barış Soner Uşaklı
81aa3a0b8a fix: don't crash in flags.validate if user blocked target 2018-12-09 15:25:43 -05:00
Misty (Bot)
5b41969816 Latest translations and fallbacks 2018-12-09 09:26:46 +00:00
Barış Soner Uşaklı
555c092f65 fix: dont send empty strings 2018-12-08 19:53:19 -05:00
Barış Soner Uşaklı
fe0f95a2b1 fix: #7085 2018-12-08 19:51:26 -05:00
Barış Soner Uşaklı
e55fb43703 fix: #7086 2018-12-08 19:36:38 -05:00
Barış Soner Uşaklı
71163421aa fix: wrong variable #7085 2018-12-08 19:23:22 -05:00
Baris Usakli
df4f8cee4b remove node 6 2018-12-08 13:21:47 -05:00
Baris Usakli
31bb2ae9af feat: make user cards look less derpy 2018-12-08 12:42:16 -05:00
Baris Usakli
de437e36a5 fix: admins&mods when there are mutliple lines of users 2018-12-08 12:39:21 -05:00
Misty (Bot)
33834f7a23 Latest translations and fallbacks 2018-12-08 09:26:51 +00:00
Baris Usakli
e65d40c937 dont return undefined from sortedSetsCard if keys is empty or falsy 2018-12-07 16:50:35 -05:00
Baris Usakli
76af8caf58 add missing semicolon 2018-12-07 16:19:47 -05:00
Baris Usakli
420227faae parseFloat scores 2018-12-07 16:01:08 -05:00
Renovate Bot
3bcfd7fc13 fix(deps): update dependency nodebb-plugin-composer-default to v6.1.17 2018-12-07 15:16:00 -05:00
Renovate Bot
b6ad5fd438 fix(deps): update dependency nodebb-theme-persona to v9.1.4 2018-12-07 15:15:47 -05:00
renovate[bot]
46fb365d53 fix(deps): update dependency nodebb-plugin-markdown to v8.8.6 (#7079)
fixes #7000
2018-12-07 14:44:35 -05:00
Julian Lam
ed46c5e24b fix: refreshing settings page on save if language changed 2018-12-07 14:25:10 -05:00
Julian Lam
4fba1492c1 feat: added new middleware authenticateOrGuest 2018-12-07 13:31:31 -05:00
Julian Lam
eeaee8ccef fix: not calling authenticate middleware on resource direct access
routes
2018-12-07 11:56:44 -05:00
Julian Lam
5f3d1c76c8 fix: #7038, autoLocale logic not playing nicely with no-refresh auths (#7059)
* fix: #7038, autoLocale logic not playing nicely with no-refresh auths

- on login, req.query.lang is deleted (since it seems to be left over)
- on logout, the middleware.autoLocale is executed, which resets
  req.query.lang
- middleware.autoLocale is new, just refactored existing logic in
  webserver.js into new middleware method.

* style: tests, use lodash

* fix: timeago strings not switching languages on login or out
2018-12-07 11:29:20 -05:00
Misty (Bot)
72f56d7f49 Latest translations and fallbacks 2018-12-07 09:27:30 +00:00
renovate[bot]
d2aea57a03 fix(deps): update dependency nodebb-theme-persona to v9.1.3 (#7075) 2018-12-06 21:36:46 -05:00
Barış Soner Uşaklı
2604cf6356 fix: #7074 2018-12-06 20:54:45 -05:00
Misty (Bot)
aa877e7e0f Latest translations and fallbacks 2018-12-07 00:18:11 +00:00
Renovate Bot
42e792ab61 fix(deps): update dependency nodebb-theme-persona to v9.1.2 2018-12-06 16:35:02 -05:00
Julian Lam
a07d9898df fix: #7071 buildSkinAsset won't rebuild continuously 2018-12-06 16:10:24 -05:00
Misty (Bot)
8dd8370bcb fix(i18n): pushed notifications source to tx, pulled fallbacks 2018-12-06 15:36:36 -05:00
Barış Soner Uşaklı
53a0a0ab45 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-12-06 12:08:28 -05:00
Barış Soner Uşaklı
7ca62b8399 feat: closes #7070 2018-12-06 12:08:23 -05:00
renovate[bot]
bdb330565c fix(deps): update dependency nodebb-theme-persona to v9.1.1 (#7069) 2018-12-06 10:23:37 -05:00
Baris Usakli
96c1dc6276 unescape email subject 2018-12-05 17:38:18 -05:00
Julian Lam
6df5668e64 fix: #7063, logout code should do hard page nav to / or data.next 2018-12-05 13:11:55 -05:00
Baris Usakli
eab297bdc9 fix: #7061 2018-12-05 13:06:13 -05:00
oh
d7c55bc3f7 feat(email): don't escape html in notification bodies. (#7042)
allows for post replies, etc. to show the formatting of the orginal 
post, rather than looking garbled.

closes #7034
2018-12-05 12:46:41 -05:00
Julian Lam
648964faa7 feat: added README.md in languages folder
... to dissuade people from making PRs against it
2018-12-05 12:40:26 -05:00
Renovate Bot
6b5428c504 fix(deps): update dependency postcss to v7.0.6 2018-12-05 12:22:10 -05:00
Renovate Bot
7449ae3e83 chore(deps): update node:8.14.0 docker digest to dd2381f 2018-12-05 12:18:36 -05:00
Baris Usakli
d3c6cba33f closes #7060 2018-12-05 11:22:44 -05:00
Misty (Bot)
c0e015e1c5 Latest translations and fallbacks 2018-12-05 09:27:43 +00:00
Baris Usakli
67ac8e3d06 closes #7053 2018-12-04 19:58:12 -05:00
Barış Soner Uşaklı
7eee8e1d06 feat: up composer 2018-12-04 16:06:43 -05:00
Barış Soner Uşaklı
54c127d1b2 feat: allow array results 2018-12-04 15:29:50 -05:00
renovate[bot]
e48ed6e03f fix(deps): update dependency nodebb-plugin-composer-default to v6.1.14 (#7058) 2018-12-04 15:18:17 -05:00
renovate[bot]
ada1d6d0c0 fix(deps): update dependency nodebb-plugin-composer-default to v6.1.13 (#7057) 2018-12-04 15:14:47 -05:00
renovate[bot]
9f9f72dac4 fix(deps): update dependency nodebb-plugin-composer-default to v6.1.12 (#7056) 2018-12-04 14:36:06 -05:00
Barış Soner Uşaklı
41357abb59 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-12-04 14:32:49 -05:00
Barış Soner Uşaklı
f581c052ee feat: #7023
- add category selector to privileges and category create modals
- allow category selector to work for multiple selectors on same page
2018-12-04 14:32:43 -05:00
Julian Lam
28a1fa780a fix: skin not changing after login or logout, #7038 2018-12-04 12:06:21 -05:00
renovate[bot]
89acb89659 fix(deps): update dependency nodebb-plugin-composer-default to v6.1.11 (#7055) 2018-12-03 22:32:09 -05:00
renovate[bot]
b6cb77c137 fix(deps): update dependency nodebb-theme-slick to v1.2.18 (#7049) 2018-12-03 12:54:47 -05:00
renovate[bot]
7334c45b0f fix(deps): update dependency nodebb-theme-slick to v1.2.17 (#7048) 2018-12-03 12:45:52 -05:00
renovate[bot]
1cb1af0cd7 fix(deps): update dependency nodebb-theme-slick to v1.2.16 (#7047) 2018-12-03 12:02:15 -05:00
renovate[bot]
d0d0c7f046 fix(deps): update dependency connect-mongo to v2.0.3 (#7046) 2018-12-03 11:17:19 -05:00
Baris Usakli
cd02e03f7b don't crash if meta.config is undefined 2018-12-03 11:14:18 -05:00
Barış Soner Uşaklı
a63ddbe2aa fix: #7040
if category doesn't exist return null and 404
2018-12-01 17:15:38 -05:00
Barış Soner Uşaklı
ec0c50d4e0 fix: #7041 2018-12-01 16:59:20 -05:00
Barış Soner Uşaklı
8d7c3897f2 fix: #7043 2018-12-01 16:58:52 -05:00
Barış Soner Uşaklı
cb7c2d8c28 fix: add missing render function 2018-12-01 04:37:55 -05:00
Misty (Bot)
a43106e0f6 Latest translations and fallbacks 2018-12-01 09:27:01 +00:00
Barış Soner Uşaklı
1f918ca8f8 Home route (#7039)
* fix: WIP home fix

* remove console.log

* fix: #6949

on redis run all tests in subfolder /forum
fix URI errors
fix sping/ping
2018-11-30 21:35:57 -05:00
Baris Usakli
cd46febdd0 fix lint 2018-11-30 14:40:49 -05:00
Baris Usakli
8808a03307 fix: #7033 2018-11-30 14:39:35 -05:00
Baris Usakli
b86f155690 fix: #7037 2018-11-30 14:25:54 -05:00
Peter Jaszkowiak
ba619c7ec8 style(eslint): match operator-linebreak preferences 2018-11-30 13:38:59 -05:00
Peter Jaszkowiak
89c025d102 feat: close #7002, console message if mismatched origins 2018-11-30 13:38:59 -05:00
Peter Jaszkowiak
43c3bb02e5 fix: #6991, add timeout for version Github request 2018-11-30 13:38:59 -05:00
Baris Usakli
33d7735690 change deprecated message 2018-11-30 11:58:55 -05:00
renovate[bot]
adb1b5f3e5 fix(deps): update dependency nodebb-plugin-dbsearch to v3.0.3 (#7035) 2018-11-30 10:12:21 -05:00
Misty (Bot)
ebb42cd956 Latest translations and fallbacks 2018-11-30 09:27:18 +00:00
renovate[bot]
887582eb5a fix(deps): update dependency lru-cache to v4.1.5 (#7031) 2018-11-29 12:58:59 -05:00
Barış Soner Uşaklı
306aa20d05 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-29 11:26:59 -05:00
Barış Soner Uşaklı
58d4376f7e fix: #7030 2018-11-29 11:26:57 -05:00
SweetPPro
dab1a1d638 fix for null category (#7029) 2018-11-29 10:47:13 -05:00
Renovate Bot
8a5a031db8 chore(deps): update node.js to v8.14.0 2018-11-29 10:40:41 -05:00
Renovate Bot
b9d49867a2 fix(deps): update dependency socket.io to v2.2.0 2018-11-29 10:40:31 -05:00
Renovate Bot
824bd541e1 fix(deps): update dependency socket.io-client to v2.2.0 2018-11-29 10:40:22 -05:00
Barış Soner Uşaklı
feb3e1f960 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-29 10:17:54 -05:00
Barış Soner Uşaklı
e78aea1e86 close #7024
show error instead showing crop modal
2018-11-29 10:17:52 -05:00
renovate[bot]
11f1b4097f fix(deps): update dependency nodebb-plugin-dbsearch to v3.0.2 (#7028) 2018-11-29 09:05:24 -05:00
renovate[bot]
e71f443cd5 fix(deps): update dependency nodebb-plugin-dbsearch to v3.0.1 (#7027) 2018-11-29 08:01:24 -05:00
Barış Soner Uşaklı
3e6d21d3cc Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-29 07:55:58 -05:00
Barış Soner Uşaklı
29e9310aa5 dont crash for undefined categories 2018-11-29 07:55:56 -05:00
Misty (Bot)
cf1195d0a4 Latest translations and fallbacks 2018-11-29 09:28:00 +00:00
Barış Soner Uşaklı
6330d51446 less derpy output 2018-11-28 19:54:52 -05:00
Barış Soner Uşaklı
197428c3b0 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-28 19:24:56 -05:00
Barış Soner Uşaklı
ed1bf9a16f add more info to advanced db page 2018-11-28 19:24:54 -05:00
Julian Lam
e89b4fcab9 feat: added changelog file to root of repo 2018-11-28 16:55:38 -05:00
Misty (Bot)
2914bad7ff Incremented version number - v1.11.0 2018-11-28 16:54:08 -05:00
Barış Soner Uşaklı
4b486a808e fix custom home 2018-11-28 15:58:52 -05:00
Renovate Bot
cf928f44b5 fix(deps): update dependency nodebb-theme-vanilla to v10.1.12 2018-11-28 14:09:24 -05:00
Renovate Bot
179be9edc4 fix(deps): update dependency nodebb-theme-persona to v9.1.0 2018-11-28 14:09:14 -05:00
renovate[bot]
68ae3eb6ee fix(deps): update dependency nodebb-theme-persona to v9.0.63 (#7019) 2018-11-28 12:06:22 -05:00
Barış Soner Uşaklı
27c016d68d fix alert 2018-11-28 12:06:03 -05:00
Barış Soner Uşaklı
2c5e38d8f1 closes #7004
do not translate email subjects twice, emailer already translates the passed in subject param
2018-11-28 10:42:40 -05:00
Barış Soner Uşaklı
00a066985a cache categories:cid and cid:<cid>:children
these rarely change, no need to go to db for them
2018-11-27 19:38:28 -05:00
Julian Lam
7357926fe7 fix: added admin/manage/uploads to tx config 2018-11-27 15:14:56 -05:00
Barış Soner Uşaklı
112b5c861a change queue logic, if user has negative rep always queue their post 2018-11-27 14:58:07 -05:00
Barış Soner Uşaklı
1d5816b00a add new hook filter:unread.categories 2018-11-27 13:56:09 -05:00
Renovate Bot
dd7f8a145a chore(deps): update dependency lint-staged to v8.1.0 2018-11-27 12:50:21 -05:00
Renovate Bot
81b53e3ed4 Update Node.js to v8.13.0 2018-11-27 12:50:05 -05:00
Renovate Bot
2c5fd85978 Update dependency nodebb-theme-vanilla to v10.1.11 2018-11-27 12:49:56 -05:00
Renovate Bot
d3ab7d1b45 fix(deps): update dependency nodebb-plugin-markdown to v8.8.5 2018-11-27 12:49:46 -05:00
Julian Lam
f6b92c1d3e fix: #7013, add cache buster to js-enabled.css 2018-11-27 11:56:45 -05:00
Barış Soner Uşaklı
59eeff8f0f closes #7011 2018-11-27 11:01:46 -05:00
Misty (Bot)
dc1df3d9b5 Latest translations and fallbacks 2018-11-27 09:27:39 +00:00
Barış Soner Uşaklı
c240733aee fix logs test 2018-11-26 17:33:39 -05:00
Barış Soner Uşaklı
0361849bb1 check status code 2018-11-26 17:17:43 -05:00
Barış Soner Uşaklı
47b2057f20 #7007 2018-11-26 17:10:22 -05:00
Barış Soner Uşaklı
d0750bc587 closes #7007 2018-11-26 16:58:03 -05:00
Renovate Bot
d7f43e769d Update dependency nodebb-plugin-composer-default to v6.1.10 2018-11-26 15:55:54 -05:00
Baris Usakli
1bb6067e19 suggested topics fix, if search doesn't return enough topics 2018-11-26 14:47:09 -05:00
renovate[bot]
f3e08f0850 Update dependency nodebb-plugin-dbsearch to v3 (#7003) 2018-11-26 14:11:58 -05:00
Baris Usakli
8e5a6d9767 add banned:expire to user data 2018-11-26 13:52:45 -05:00
renovate[bot]
38a0216dc7 Update dependency nodebb-theme-persona to v9.0.62 (#6998) 2018-11-25 19:21:29 -05:00
Barış Soner Uşaklı
53ad2bbd6e Categories optimize (#6999)
* WIP

* fix category page

* fix counts, and copyPrivileges

* fix lint

* more fixes,

* redis fix

* fix test

* fix  category test

* remove getParentsAndChildren
2018-11-25 19:08:38 -05:00
Misty (Bot)
96a2be9b55 Latest translations and fallbacks 2018-11-25 09:26:36 +00:00
Barış Soner Uşaklı
69ef05707a style 2018-11-25 01:22:45 -05:00
Barış Soner Uşaklı
3f8e3dc3e8 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-24 23:15:21 -05:00
Barış Soner Uşaklı
13139fe77e return early for guests/spiders 2018-11-24 23:15:10 -05:00
Barış Soner Uşaklı
0524fd9caa closes #6996 (#6997)
* closes #6996

* fix lint
2018-11-24 23:02:22 -05:00
Baris Usakli
7b9a2caec3 closes #6994 2018-11-23 14:39:59 -05:00
Baris Usakli
e3bf21a3a0 closes #6993 2018-11-23 13:02:34 -05:00
Misty (Bot)
3a914a2f8c Latest translations and fallbacks 2018-11-23 09:27:01 +00:00
renovate[bot]
52f53bdd88 Update dependency nodebb-theme-persona to v9.0.61 (#6992) 2018-11-22 23:00:21 -05:00
Barış Soner Uşaklı
5c48793543 handle quoted strings 2018-11-22 22:38:17 -05:00
Barış Soner Uşaklı
b8c08a5417 dont call db for guests 2018-11-22 22:21:03 -05:00
Barış Soner Uşaklı
5810c9fecc Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-22 21:58:27 -05:00
Barış Soner Uşaklı
d8f114c982 dont check if guests/spiders are banned or load reason 2018-11-22 21:58:25 -05:00
Barış Soner Uşaklı
9d28b935fd dont load uid 0, -1 from db 2018-11-22 21:57:56 -05:00
Renovate Bot
c11b43175d Update dependency nodebb-plugin-composer-default to v6.1.9 2018-11-22 18:37:24 -05:00
Barış Soner Uşaklı
d5af39ca5d make 1 call for parentCids 2018-11-22 18:21:43 -05:00
Barış Soner Uşaklı
dc670a7bb5 closes #6983
after first pass of timeago, title contains "21 lis 2018, 10:30" which is invalid for new Date(), check before passing it to format
2018-11-22 15:05:22 -05:00
Barış Soner Uşaklı
01c942fc39 closes #6989 2018-11-22 11:42:39 -05:00
Barış Soner Uşaklı
cce012d7f4 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-22 10:53:47 -05:00
Barış Soner Uşaklı
eba1a405d2 load category parents and childrens in one call
add more missing guest/spider checks
2018-11-22 10:53:44 -05:00
Misty (Bot)
3561b31ef1 Latest translations and fallbacks 2018-11-22 09:27:01 +00:00
Barış Soner Uşaklı
a6864a8055 add groupTitle test for guests 2018-11-21 23:34:08 -05:00
Barış Soner Uşaklı
1c981e638b rename query name 2018-11-21 21:10:56 -05:00
Barış Soner Uşaklı
ca1e3a758b #6986 2018-11-21 20:40:40 -05:00
Barış Soner Uşaklı
48690a01b9 dont need to call multi if keys.length is 0 2018-11-21 17:24:38 -05:00
Barış Soner Uşaklı
20abc7fc47 closes #6985 2018-11-21 16:42:57 -05:00
Barış Soner Uşaklı
1169de77ea Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-21 15:53:03 -05:00
Barış Soner Uşaklı
625516e046 if there is no search el return
aka if theme doesnt support it
2018-11-21 15:52:47 -05:00
renovate[bot]
cbd50a8088 fix(deps): update dependency nodebb-theme-persona to v9.0.60 (#6984) 2018-11-21 15:42:42 -05:00
Barış Soner Uşaklı
b331ca26a1 add search to acp 2018-11-21 15:42:31 -05:00
Barış Soner Uşaklı
63c0a9a3b7 closes #6928 2018-11-21 15:32:12 -05:00
Barış Soner Uşaklı
2e8c03b1ee Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-21 13:40:50 -05:00
Barış Soner Uşaklı
169a6680d5 #6928 2018-11-21 13:40:47 -05:00
Renovate Bot
aee216285f chore(deps): update dependency husky to v1.2.0 2018-11-21 13:03:30 -05:00
Barış Soner Uşaklı
dd2a9c7288 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-21 12:37:42 -05:00
Barış Soner Uşaklı
fc1c4acccf closes #6960 2018-11-21 12:37:40 -05:00
renovate[bot]
4c76948708 fix(deps): update dependency nodebb-theme-vanilla to v10.1.10 (#6982) 2018-11-21 10:05:17 -05:00
renovate[bot]
acaf1a050b fix(deps): update dependency nodebb-theme-slick to v1.2.15 (#6981) 2018-11-21 10:03:26 -05:00
renovate[bot]
5863bb2c8f fix(deps): update dependency nodebb-theme-persona to v9.0.59 (#6980) 2018-11-21 10:00:07 -05:00
Barış Soner Uşaklı
4da3d820d5 remove lang strings 2018-11-21 09:47:35 -05:00
Misty (Bot)
d1024f7cd3 Latest translations and fallbacks 2018-11-21 09:27:15 +00:00
renovate[bot]
375ab7693a fix(deps): update dependency lru-cache to v4.1.4 (#6977) 2018-11-20 20:00:24 -05:00
Baris Usakli
b83e50f286 remove delayImageLoading from api @julianlam 2018-11-20 17:20:07 -05:00
Julian Lam
98c14e0e68 fix: removal of scroll anchoring code in favour of browser handling
closes #6150
2018-11-20 16:56:54 -05:00
renovate[bot]
e1597b8337 fix(deps): update dependency connect-mongo to v2.0.2 (#6975) 2018-11-20 15:49:25 -05:00
Baris Usakli
1454fdceff closes #6874 2018-11-20 15:08:06 -05:00
Barış Soner Uşaklı
94e10c8c32 closes #6972 2018-11-19 15:14:39 -05:00
Barış Soner Uşaklı
f4a00f0b5f only init unread topics for loggedin users
dont call isFollowed
2018-11-19 15:03:53 -05:00
Barış Soner Uşaklı
f75e2ed1ee fix lint 2018-11-19 13:27:09 -05:00
Barış Soner Uşaklı
e97595756a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-19 13:03:33 -05:00
Barış Soner Uşaklı
c36ddec08b promisify plugins 2018-11-19 13:03:31 -05:00
Renovate Bot
84d1013d60 fix(deps): update dependency nodebb-plugin-markdown to v8.8.4 2018-11-19 12:57:57 -05:00
Renovate Bot
fee7e33603 fix(deps): update dependency nodebb-plugin-composer-default to v6.1.8 2018-11-19 12:04:17 -05:00
Barış Soner Uşaklı
2416fb9352 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-18 16:03:33 -05:00
Barış Soner Uşaklı
33986f38e3 closes #6954 2018-11-18 16:03:31 -05:00
Renovate Bot
b182a195aa fix(deps): update dependency nodebb-plugin-markdown to v8.8.3 2018-11-18 14:08:16 -05:00
Barış Soner Uşaklı
1ce15e69ab dont require search and moustrap on topic page until needed 2018-11-18 10:32:08 -05:00
Barış Soner Uşaklı
e17c4b2766 uid fixes 2018-11-17 22:31:39 -05:00
Barış Soner Uşaklı
c0a75d735b fix requires 2018-11-17 20:56:35 -05:00
Barış Soner Uşaklı
7a7eb65d92 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-17 20:50:18 -05:00
Barış Soner Uşaklı
c02d584b53 reduce initial js payload/requests 2018-11-17 20:50:07 -05:00
renovate[bot]
1101f32793 fix(deps): update dependency nodebb-plugin-composer-default to v6.1.7 (#6966) 2018-11-17 20:40:47 -05:00
Baris Usakli
0fd5210d37 really fix pagination on mobile 2018-11-17 14:47:05 -05:00
Baris Usakli
2624e302ab fix navigator on mobile 2018-11-17 14:43:33 -05:00
Baris Usakli
c1ab753bc3 use paginationBlock 2018-11-17 14:22:33 -05:00
Baris Usakli
c343b93a37 optimize ajaxify
- do not call $.timeago twice on topic load and for widgets
- do not use toLocaleString for each timeago string, use a single
Intl.DateTimeFormat instance instead
- do not call format for empty timeago strings, ie a post that isnt
edited doesnt have a timeago string
- do not call isTouchDevice for every element
- remove app.replaceSelfLinks, this is superceded with /me route
- store references to jquery objects in navigator instead of creating
them on every scroll
2018-11-17 14:07:56 -05:00
renovate[bot]
6ade156ba5 fix(deps): update dependency nodebb-theme-persona to v9.0.58 (#6964) 2018-11-17 14:03:28 -05:00
renovate[bot]
662215fa8a fix(deps): update dependency mongodb to v3.1.10 (#6962) 2018-11-17 09:01:05 -05:00
Misty (Bot)
6cf357f2fd Latest translations and fallbacks 2018-11-17 09:26:47 +00:00
Barış Soner Uşaklı
e82d3bc3b3 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-16 14:43:00 -05:00
Barış Soner Uşaklı
f1a6d39537 dont crash if a loginStrategies is undefined 2018-11-16 14:42:57 -05:00
Renovate Bot
0ef451dd83 chore(deps): update node:8.12.0 docker digest to 5dae8ea 2018-11-16 11:23:24 -05:00
Barış Soner Uşaklı
c72299ad71 refactor widgets admin
so we dont load the widget-settings.tpl in the upgrade script and only load areas
2018-11-15 15:39:58 -05:00
Barış Soner Uşaklı
9fecad138c limit number of js files minified, dont crash upgrade script of widget-settings is not found 2018-11-15 14:54:12 -05:00
Barış Soner Uşaklı
29ccb37345 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-14 16:33:24 -05:00
Barış Soner Uşaklı
ac549f8bc7 closes #6957 2018-11-14 16:33:22 -05:00
renovate[bot]
1bf1a439a6 fix(deps): update dependency nodebb-theme-persona to v9.0.57 (#6956) 2018-11-14 13:56:53 -05:00
Barış Soner Uşaklı
f0dead7aba more tooltip work 2018-11-14 13:53:35 -05:00
Barış Soner Uşaklı
4b6b3d5436 set duration to 0 2018-11-14 00:57:41 -05:00
Barış Soner Uşaklı
0fc28d11d2 up persona 2018-11-14 00:40:24 -05:00
Barış Soner Uşaklı
be61af7d8e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-14 00:21:29 -05:00
Barış Soner Uşaklı
85c832fcc6 add tooltip 2018-11-14 00:21:27 -05:00
renovate[bot]
e06683f756 fix(deps): update dependency nodebb-theme-persona to v9.0.55 (#6955) 2018-11-13 23:26:07 -05:00
Barış Soner Uşaklı
fe8832ad5c dont update if index didnt change 2018-11-13 23:22:06 -05:00
Barış Soner Uşaklı
7b5c4f343a drag nav 2018-11-13 22:51:57 -05:00
Barış Soner Uşaklı
21402ba803 check joindate 2018-11-13 22:18:20 -05:00
Baris Usakli
d0b67b00db closes #6949 2018-11-13 16:19:30 -05:00
Baris Usakli
adb647a8ae export express app from webserver 2018-11-13 14:11:50 -05:00
Julian Lam
f96208a0c8 fix(uploads): ugly filenames on uploaded asset downloading
During regular processing, a timestamp is prepended to the filename
for any uploaded files. We don't want this to be part of the filename
if an end-user elects to download the file.

This commit adds a middleware to strip out that portion of the
basename and adds the appropriate Content-Disposition header for
files in /uploads/files

Fixes #6953
2018-11-13 13:56:33 -05:00
Baris Usakli
e7f9cff7b5 remove node6 from tests 🔥 2018-11-13 13:20:24 -05:00
Renovate Bot
c51ceaf0ec fix(deps): update dependency nodebb-plugin-composer-default to v6.1.6 2018-11-13 12:51:24 -05:00
Renovate Bot
bb940b0140 fix(deps): update dependency nodebb-theme-persona to v9.0.54 2018-11-13 12:42:37 -05:00
Peter Jaszkowiak
57b39d5ba2 fix(acp): small UI fixes for ACP privileges category selector (#6946)
- Add dropdown chevron
- Change translations
- Safety against `category` not an object
2018-11-13 12:26:50 -05:00
Baris Usakli
c5a093e1f2 closes #6950 2018-11-13 11:10:09 -05:00
Renovate Bot
95d6ab0626 chore(deps): update dependency husky to v1.1.4 2018-11-13 10:52:31 -05:00
Misty (Bot)
7b6a62e247 Latest translations and fallbacks 2018-11-13 09:27:01 +00:00
Barış Soner Uşaklı
7dabd13fea remove unused 2018-11-12 17:39:22 -05:00
Barış Soner Uşaklı
de14102ee7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-12 17:10:00 -05:00
Barış Soner Uşaklı
d9452bf3d4 fix: custom navigation item not showing groups 2018-11-12 17:09:58 -05:00
Julian Lam
b3f96d28aa fix(acp): hard-to-discover dropdown selector in ACP
Made the dropdown an MDL button fab with better positioning via
a p.lead so that it is more easily discoverable and obvious that
it is a button that can be pressed.

Fixes #6899
2018-11-12 16:44:13 -05:00
Renovate Bot
612170b671 Update dependency nodebb-plugin-mentions to v2.3.0 2018-11-12 16:18:53 -05:00
Barış Soner Uşaklı
a57d94194f Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-12 14:04:40 -05:00
Barış Soner Uşaklı
157a7d1f0e prevent possible crash if category.posts is undefined 2018-11-12 14:04:38 -05:00
Barış Soner Uşaklı
c593ffd75f closes #6944 2018-11-12 12:42:10 -05:00
Barış Soner Uşaklı
d63db8d20f arrow function 2018-11-12 00:22:10 -05:00
Barış Soner Uşaklı
02723a2312 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-12 00:20:47 -05:00
Barış Soner Uşaklı
69bb3293ee misc fixes
handle spider uids properly
2018-11-12 00:20:44 -05:00
renovate[bot]
78518bd58f Update dependency nodebb-widget-essentials to v4.0.11 (#6943) 2018-11-11 19:29:32 -05:00
Barış Soner Uşaklı
afa84023a2 closes #6942 2018-11-11 18:42:15 -05:00
Barış Soner Uşaklı
96e986a865 optimize suggested topics/search 2018-11-11 17:57:17 -05:00
Barış Soner Uşaklı
07f83c5078 fix redis tests 2018-11-11 16:23:36 -05:00
Barış Soner Uşaklı
f8e219c323 handle empty set, add test 2018-11-11 15:39:17 -05:00
Barış Soner Uşaklı
afa6c71b72 make it a method use batch 2018-11-11 12:22:07 -05:00
Zheyu Shen
f9036e2a6f Update groups members' title when changing group name (#6939)
* Update groups members' title when changing group name

* Fix eslint
2018-11-11 12:03:37 -05:00
Barış Soner Uşaklı
18219bd5f3 closes #6938 2018-11-10 22:52:04 -05:00
Barış Soner Uşaklı
e6c4af7f6f fix lint 2018-11-10 21:15:02 -05:00
Barış Soner Uşaklı
e1eebef398 does this work 2018-11-10 21:13:22 -05:00
Barış Soner Uşaklı
e14b0b38be derprelic 2018-11-10 21:09:29 -05:00
Barış Soner Uşaklı
485fbf7386 show more lines in stack 2018-11-10 21:08:04 -05:00
Barış Soner Uşaklı
b6771836cf closes #6937 2018-11-10 20:51:07 -05:00
renovate[bot]
e12a803b16 fix(deps): update dependency nodebb-plugin-mentions to v2.2.12 (#6936) 2018-11-10 12:37:25 -05:00
Baris Usakli
3425370adb dont use indexOf in map 2018-11-10 11:24:10 -05:00
renovate[bot]
b480c321d0 fix(deps): update dependency nodebb-theme-vanilla to v10.1.9 (#6935) 2018-11-10 10:30:26 -05:00
renovate[bot]
9cdd531617 fix(deps): update dependency nodebb-theme-slick to v1.2.14 (#6934) 2018-11-10 08:46:59 -05:00
renovate[bot]
9ee1c2f844 fix(deps): update dependency nodebb-theme-persona to v9.0.53 (#6933) 2018-11-10 07:38:13 -05:00
Barış Soner Uşaklı
973b5fcfe0 closes #6932 2018-11-10 07:35:46 -05:00
Misty (Bot)
b9acbde8c1 Latest translations and fallbacks 2018-11-10 09:26:46 +00:00
Baris Usakli
2c5157aeaa use max.min 2018-11-09 16:48:34 -05:00
Baris Usakli
2ee743d65c add itemsPerPage to search api 2018-11-09 16:47:26 -05:00
Baris Usakli
3e2dffa6d0 fix search in if in query param isn't passed in 2018-11-09 16:29:08 -05:00
renovate[bot]
dba1db9c6d fix(deps): update dependency nodebb-plugin-dbsearch to v2.0.23 (#6931) 2018-11-09 16:24:27 -05:00
Baris Usakli
62787368c6 add searchonly option to searh api 2018-11-09 15:09:47 -05:00
Renovate Bot
924417949c chore(deps): update dependency eslint to v5.9.0 2018-11-09 14:30:19 -05:00
Barış Soner Uşaklı
4724901588 use series 2018-11-09 11:19:15 -05:00
Renovate Bot
511b4edc26 fix(deps): update dependency jsesc to v2.5.2 2018-11-09 11:00:04 -05:00
Julian Lam
d027207f88 fix: flags detail page crash if reporter blocks author
Fixed an issue where the flags detail page would crash if the
reporting user flagged a post and then proceeded to block the
post author.

Retrieval of a flag's target data should be irrespective of
block status.

fixes #6925
2018-11-08 13:43:45 -05:00
Julian Lam
f7bd398eb1 style(eslint): newlines in public/src as well 2018-11-08 12:11:31 -05:00
Renovate Bot
032caafa05 fix(deps): update dependency validator to v10.9.0 2018-11-08 11:38:23 -05:00
Renovate Bot
a639b6b838 fix(deps): update dependency spdx-license-list to v5 2018-11-08 11:38:13 -05:00
Renovate Bot
b0483f21bb chore(deps): pin dependencies 2018-11-08 11:38:01 -05:00
Julian Lam
95cc27f1ff style(eslint): enforcing newline on chained calls 2018-11-08 11:36:00 -05:00
Julian Lam
c58a41ed72 feat: enabling commitlint 2018-11-08 11:26:42 -05:00
Julian Lam
e8a3d929f1 chore(husky): setting up husky as recommended in docs 2018-11-08 11:06:46 -05:00
Julian Lam
a5022ce425 fix: #6922, skin assets not including plugin LESS files 2018-11-07 19:18:11 -05:00
Julian Lam
aef1c155cc hey husky wtf you doin' 2018-11-07 16:02:48 -05:00
Julian Lam
da10ca084b fix: #6921, allow square brackets in usernames 2018-11-07 16:01:31 -05:00
renovate[bot]
64b9dabff8 chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599)
* chore(deps): update dependency eslint-config-airbnb-base to v13

* chore: #6599, linting 😬
2018-11-07 15:53:14 -05:00
Renovate Bot
eb0a322d7f fix(deps): update dependency nodebb-theme-vanilla to v10.1.8 2018-11-07 15:09:46 -05:00
Renovate Bot
6566a0cb19 fix(deps): update dependency nodebb-theme-persona to v9.0.52 2018-11-07 15:09:37 -05:00
Barış Soner Uşaklı
116866d53a double default post cache 2018-11-07 15:06:36 -05:00
Barış Soner Uşaklı
75816deca7 add cache to redis (#6917)
* add cache to redis

move out cache module from mongo

* fix redis tests

* add callback noop

* fix typo

* del cache on field delete

* make redis/mongo caches separate
2018-11-07 15:04:56 -05:00
Renovate Bot
f8b1df4e3a Update dependency nyc to v13.1.0 2018-11-07 14:32:34 -05:00
Renovate Bot
acce10d103 Update dependency eslint to v5.8.0 2018-11-07 14:32:26 -05:00
Renovate Bot
fa3afbd21b chore(deps): update node.js to v8.12.0 2018-11-07 13:50:44 -05:00
Julian Lam
501b3a79ca Refactor skins to be built on server-side (#6849)
* WIP

* using bootswatch from npm instead of bootswatch CDN url

* feat: on-demand client css building for skins

* added ability for client-side to select a skin

* updated loading and saving logic of bootstrapSkin on client side user settings

* fix: broken test for #6849
2018-11-07 13:44:35 -05:00
Julian Lam
84433f29ab Do not require a full refresh on login/logout (#6841)
* no-refresh login as well, plus lots of fixes for missing config on login

* replace config with new set on logout as well

* passing new payload data into new action:app.loggedIn hook, and old action:app.loggedOut hook

* fixed issues with socket.io not properly representing uid on server

* some light refactoring and cleanup

* minor cleanup, fixed spa logout not working after login

* have reconnection handler for socket.io wait 2s to confirm disconnection before reporting -- stops flicker if reconnecting immediately

* Dynamically replace chat and slideout menu on updateHeader()

... instead of just the menu items.

* more efficient calls to Benchpress and translator /cc @pitaj

* fix: chats and notification handlers not working after login

* fix: accidentally calling cb multiple times
2018-11-07 12:34:12 -05:00
Misty (Bot)
6fb1f97d88 Latest translations and fallbacks 2018-11-07 09:27:40 +00:00
renovate[bot]
7808e58c4d fix(deps): update dependency nodebb-plugin-dbsearch to v2.0.22 (#6916) 2018-11-06 15:49:38 -05:00
Baris Usakli
968be7d8de make lint happy 2018-11-06 13:35:55 -05:00
Baris Usakli
3c611d85ed closes #6912
- on category setParent dialog do not show children of current category
- break recursion if category parentCid is equal to child cid to prevent
infinite loop
- dont allow setting the parentCid of a category to one of it's children
2018-11-06 13:34:29 -05:00
renovate[bot]
9a9f2af9c1 fix(deps): update dependency mongodb to v3.1.9 (#6914) 2018-11-06 10:58:16 -05:00
Misty (Bot)
9b59a1ecb4 Latest translations and fallbacks 2018-11-06 09:27:40 +00:00
Barış Soner Uşaklı
6f47446171 closes #6910 2018-11-05 08:20:43 -05:00
Misty (Bot)
5ae87294c3 Latest translations and fallbacks 2018-11-05 09:27:36 +00:00
Misty (Bot)
b855d4d257 Latest translations and fallbacks 2018-11-02 09:27:42 +00:00
Renovate Bot
6cee5b8e80 chore(deps): update dependency husky to v1.1.3 2018-11-01 19:29:29 -04:00
Julian Lam
3c8939a80d fix: interstitial redirects failing if done via ajaxify 2018-11-01 19:24:34 -04:00
Barış Soner Uşaklı
2df19c0ae4 fix typo 2018-11-01 10:50:50 -04:00
Barış Soner Uşaklı
fa4d4ec490 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-11-01 10:44:55 -04:00
Barış Soner Uşaklı
ed7399f9ed shorter code 2018-11-01 10:44:53 -04:00
Misty (Bot)
48e158b57e Latest translations and fallbacks 2018-11-01 09:27:27 +00:00
Renovate Bot
e2274fe0af fix(deps): update dependency nodebb-theme-persona to v9.0.51 2018-11-01 00:37:58 -04:00
Renovate Bot
3005428dc0 fix(deps): update dependency nodebb-theme-slick to v1.2.13 2018-10-31 19:54:24 -04:00
Barış Soner Uşaklı
412358b070 #6903 2018-10-31 19:12:33 -04:00
Barış Soner Uşaklı
68b7d92b6f Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-31 16:22:42 -04:00
Barış Soner Uşaklı
67d3b29204 #6903 2018-10-31 16:22:40 -04:00
renovate[bot]
22140a2002 fix(deps): update dependency nodebb-theme-persona to v9.0.50 (#6902) 2018-10-31 15:13:26 -04:00
Barış Soner Uşaklı
ff38abc225 move bcrypt into password 2018-10-31 15:10:45 -04:00
Barış Soner Uşaklı
4e297921c4 dont show object cache if it doesnt exist 2018-10-31 14:14:10 -04:00
Julian Lam
34cbd1fc41 fix(l10n): some translations 2018-10-31 11:58:52 -04:00
Renovate Bot
0b4c9a80b3 fix(deps): update dependency nodebb-plugin-markdown to v8.8.2 2018-10-31 11:43:16 -04:00
Renovate Bot
9d25866865 chore(deps): update dependency lint-staged to v8.0.4 2018-10-31 11:25:22 -04:00
Peter Jaszkowiak
9a32118418 Enable require.main.require in tests (#6896) 2018-10-31 09:58:37 -04:00
Barış Soner Uşaklı
4caaa046d7 dont load post data again
shorter async.parallel
2018-10-30 20:25:29 -04:00
Barış Soner Uşaklı
d3e4daebec posts/delete cleanup 2018-10-30 19:41:06 -04:00
Barış Soner Uşaklı
0de60cfdca fix mongodb tests 2018-10-30 18:58:02 -04:00
Barış Soner Uşaklı
8ca36ad122 closes #6890 2018-10-30 18:29:52 -04:00
Julian Lam
157bea6966 fix: username trim on login, closes #6894 2018-10-30 17:09:32 -04:00
Renovate Bot
3150a2fc36 fix(deps): update dependency nodebb-theme-vanilla to v10.1.7 2018-10-30 11:47:42 -04:00
Renovate Bot
aaa6fe9e2e chore(deps): update dependency lint-staged to v8.0.3 2018-10-30 09:02:50 -04:00
Misty (Bot)
12714a4645 Latest translations and fallbacks 2018-10-30 09:27:30 +00:00
Renovate Bot
95d7a5fadd chore(deps): update dependency lint-staged to v8 2018-10-29 16:45:23 -04:00
Renovate Bot
52f141c99e chore(deps): update dependency jsdom to v13 2018-10-29 16:44:20 -04:00
renovate[bot]
9bcda7f746 fix(deps): update dependency nodebb-theme-slick to v1.2.12 (#6881) 2018-10-29 14:49:03 -04:00
Julian Lam
5ccdc1c017 internationalising english labels in session time ACP block, #6883 2018-10-29 12:29:41 -04:00
Julian Lam
58b088c054 update html on session time ACP block, #6883 2018-10-29 12:25:07 -04:00
Barış Soner Uşaklı
2e579ee0f9 closes #6883 2018-10-29 12:18:11 -04:00
Barış Soner Uşaklı
5ee4529a8e if source has no parentCid assume 0 2018-10-29 11:18:00 -04:00
Barış Soner Uşaklı
9918389a43 closes #6884 2018-10-29 10:59:22 -04:00
Barış Soner Uşaklı
61c7aa4b19 closes #6885 2018-10-29 10:27:29 -04:00
Misty (Bot)
3d9ca0d26d Latest translations and fallbacks 2018-10-29 09:27:35 +00:00
Barış Soner Uşaklı
7aa937a657 remove dupe code in mongodb sorted 2018-10-28 16:20:38 -04:00
Barış Soner Uşaklı
fee3ec308a use showSelect 2018-10-27 12:13:12 -04:00
renovate[bot]
e0dc00daf5 fix(deps): update dependency nodebb-theme-persona to v9.0.49 (#6880) 2018-10-27 06:54:14 -04:00
Barış Soner Uşaklı
ea1e8fb8fe Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-27 06:29:24 -04:00
Barış Soner Uşaklı
19e6c61244 add new test for queue 2018-10-27 06:29:12 -04:00
Barış Soner Uşaklı
c27be9db5a Recent refactor (#6879)
* wip

* fix inf scroll

* remove duplicated code

* remove dupe code in /unread

* use topicList

* update tag page to use topicList

* fix tests

* combine ifs

* remove more dupe code

* disable timeout
2018-10-27 06:26:50 -04:00
Barış Soner Uşaklı
66ed48e088 closes #6875 2018-10-27 06:23:24 -04:00
Misty (Bot)
aa301f27a1 Latest translations and fallbacks 2018-10-27 09:27:21 +00:00
Renovate Bot
2b6f5eec10 fix(deps): update dependency nodebb-theme-persona to v9.0.48 2018-10-26 21:11:19 -04:00
Julian Lam
4919e9efa3 feat: allow disabling of GDPR features via ACP toggle, closes #6847 2018-10-26 15:21:04 -04:00
Baris Usakli
51792da430 dont crash if there is nothing to write 2018-10-26 15:15:20 -04:00
Baris Usakli
12f3f56b01 change to .exists 2018-10-26 14:31:38 -04:00
Renovate Bot
d88a8464c4 Update dependency nodebb-theme-persona to v9.0.47 2018-10-26 13:33:25 -04:00
Baris Usakli
566564ed74 fix redis tests
fixed typo in groups/data.js
added postcount,viewcount to int fields
2018-10-26 13:01:34 -04:00
Renovate Bot
3e5716ad0f Pin dependencies 2018-10-26 11:50:25 -04:00
Julian Lam
fb6009eceb using husky+lint-staged for enforced linting mwahahahah 2018-10-26 11:49:15 -04:00
Renovate Bot
4bb56a5112 Update dependency nodebb-plugin-markdown to v8.8.1 2018-10-26 11:12:03 -04:00
Misty (Bot)
6084dc9041 Latest translations and fallbacks 2018-10-26 09:27:30 +00:00
Barış Soner Uşaklı
fb6067a7ca only parse if field is requested 2018-10-25 19:58:01 -04:00
Barış Soner Uşaklı
5527b96a7f Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-25 17:03:01 -04:00
Barış Soner Uşaklı
f3a679e268 remove parseInts 2018-10-25 17:02:59 -04:00
Julian Lam
67f861d713 updated russian translation for pages 2018-10-25 15:13:22 -04:00
Barış Soner Uşaklı
aca50f1fe1 dont crash if topic is moved to pinned topic 2018-10-25 11:55:11 -04:00
Barış Soner Uşaklı
da22940b80 dont retry absolute paths 2018-10-25 10:58:51 -04:00
Misty (Bot)
805aae519b Latest translations and fallbacks 2018-10-25 09:28:05 +00:00
Barış Soner Uşaklı
ebd4b19a65 moved req.user up 2018-10-24 21:22:12 -04:00
Barış Soner Uşaklı
9c03881d5a add threshold for image resizing 2018-10-24 20:03:03 -04:00
Barış Soner Uşaklı
369e4854d2 remove parseInts 2018-10-24 19:30:50 -04:00
Barış Soner Uşaklı
733ed57b21 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-24 19:25:42 -04:00
Barış Soner Uşaklı
541997a755 fix lint 2018-10-24 19:25:40 -04:00
Renovate Bot
2d5801222c Update dependency nodebb-plugin-spam-be-gone to v0.5.5 2018-10-24 19:08:51 -04:00
Barış Soner Uşaklı
40f9ee3003 dont crash if topic does not exist 2018-10-24 17:41:06 -04:00
Barış Soner Uşaklı
56c1eac1a5 fix translations on dashboard 2018-10-24 17:32:22 -04:00
Barış Soner Uşaklı
c4a064010a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-24 16:21:56 -04:00
Barış Soner Uşaklı
8619a8c066 up persona widget essentials 2018-10-24 16:21:54 -04:00
Renovate Bot
22ca806bdd Update dependency nodebb-plugin-composer-default to v6.1.5 2018-10-24 15:24:04 -04:00
Renovate Bot
3e3770ca19 Update dependency nodebb-plugin-mentions to v2.2.11 2018-10-24 15:23:51 -04:00
Barış Soner Uşaklı
d9e723b085 up widget essentials and rewards 2018-10-24 13:58:39 -04:00
Barış Soner Uşaklı
2f198583c4 change to this 2018-10-24 13:26:05 -04:00
Barış Soner Uşaklı
a2aae7f805 shorter error message 2018-10-24 13:12:19 -04:00
Barış Soner Uşaklı
69253d9a7f use chart.js legend 2018-10-24 12:51:14 -04:00
Barış Soner Uşaklı
1d15449076 write analytics before exiting 2018-10-24 12:25:05 -04:00
Barış Soner Uşaklı
8abef4c101 bg colors 2018-10-24 12:12:17 -04:00
Barış Soner Uşaklı
b916dc562f fix bg colors 2018-10-24 11:55:44 -04:00
Barış Soner Uşaklı
804451cc37 update axis ids 2018-10-24 11:46:39 -04:00
Barış Soner Uşaklı
c2191167ee fail colors 2018-10-24 11:39:40 -04:00
Barış Soner Uşaklı
5b842c98ac fix typo 2018-10-24 11:34:57 -04:00
Barış Soner Uşaklı
9f36ce3997 #6862 2018-10-24 11:24:37 -04:00
Barış Soner Uşaklı
11c2a65b5a fix config values not showing client side if they were set to 0 2018-10-24 10:33:30 -04:00
Barış Soner Uşaklı
a73bcabad8 don't call .jpeg quality on pngs 2018-10-24 10:03:00 -04:00
Misty (Bot)
38ca8b481c Latest translations and fallbacks 2018-10-24 09:28:17 +00:00
Barış Soner Uşaklı
44a957faca remove more parseints 2018-10-23 22:28:37 -04:00
Barış Soner Uşaklı
728e7bdae9 remove more parseInts 2018-10-23 21:36:18 -04:00
Barış Soner Uşaklı
537b7ff7e8 remove more parseInts 2018-10-23 21:36:00 -04:00
Baris Usakli
a228dc2de9 closes #6797 2018-10-23 17:50:44 -04:00
Andrew Rodrigues
e2ecbae06c add body class when cookie consent warning is open 2018-10-23 17:23:21 -04:00
Baris Usakli
82cda248f3 fix plugin requires 2018-10-23 15:55:39 -04:00
Andrew Rodrigues
c9fc65d901 more efficient selectors (apparently) 2018-10-23 15:11:17 -04:00
Baris Usakli
138154a71c move modules 2018-10-23 15:03:32 -04:00
Baris Usakli
5293a6515c fix lint 2018-10-23 14:11:59 -04:00
Baris Usakli
fdbefa3d1f remove more parseInts 2018-10-23 13:59:28 -04:00
Barış Soner Uşaklı
934cdedd72 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-23 08:29:01 -04:00
Barış Soner Uşaklı
175e13edf6 group data 2018-10-23 08:28:59 -04:00
Misty (Bot)
efaed33771 Latest translations and fallbacks 2018-10-23 09:27:33 +00:00
Barış Soner Uşaklı
c30ff42817 test for hooks page 2018-10-22 22:23:50 -04:00
Barış Soner Uşaklı
c738dc7d3e remove some more parseInts 2018-10-22 21:58:34 -04:00
Barış Soner Uşaklı
7a44424214 parse '123' to 123 if it has no default 2018-10-22 20:59:13 -04:00
Barış Soner Uşaklı
d07e3e6d97 if not in defaults use string 2018-10-22 20:08:31 -04:00
Barış Soner Uşaklı
4fff5e9baf closes #6855 2018-10-22 19:31:27 -04:00
Baris Usakli
6befc46346 update esversion 2018-10-22 14:33:50 -04:00
Baris Usakli
881185ae59 closes #6857 2018-10-22 13:07:02 -04:00
Barış Soner Uşaklı
ab7657d445 closes #6854 2018-10-22 07:30:48 -04:00
Misty (Bot)
7950b254a6 Latest translations and fallbacks 2018-10-22 09:27:12 +00:00
Barış Soner Uşaklı
bc63cfe281 tweak codeclimate settings 2018-10-21 19:45:17 -04:00
Barış Soner Uşaklı
ac39112271 remove more parseInts 2018-10-21 19:33:46 -04:00
renovate[bot]
9aa39c91a3 Update dependency sitemap to v2 (#6737) 2018-10-21 16:52:03 -04:00
Barış Soner Uşaklı
9c022afae1 Parse int (#6853)
* Store config fields as JSON in the db

Fewer parseInts

* Remove unnecessary parseInts

* remove some dupe code add tests

* remove console.log

* remove more parseInts

* WIP: read meta.configs defaults from defaults.json

remove more parseInts

* more work

* add log for failing test

* update admin pwd

* fix tests, dont require posts/cache before configs are initialized

* handle saves

* Test boolean conditions

* remove more parseInts

* Fix boolean values

* remove lots more parseInts

* removed json parsing

* renamed var to number

* categories dont have timestamp
2018-10-21 16:47:51 -04:00
Barış Soner Uşaklı
60c58870af remove hotswap (#6835) 2018-10-21 16:39:57 -04:00
Barış Soner Uşaklı
92744a7200 closes #6852 2018-10-20 18:23:12 -04:00
Barış Soner Uşaklı
ee2f9e9434 remove some parseInts 2018-10-20 17:55:13 -04:00
Barış Soner Uşaklı
f5fe91286e closes #6851 2018-10-20 17:23:15 -04:00
Barış Soner Uşaklı
f53984aeae refactor user/category data 2018-10-20 17:07:32 -04:00
Barış Soner Uşaklı
c3a903142a closes #6850 2018-10-20 16:31:16 -04:00
Barış Soner Uşaklı
b2b33ffa57 topics data refactor 2018-10-20 16:10:02 -04:00
Barış Soner Uşaklı
2ee964caa2 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-20 14:40:50 -04:00
Barış Soner Uşaklı
26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
2018-10-20 14:40:48 -04:00
Misty (Bot)
cafeb30323 Latest translations and fallbacks 2018-10-20 09:26:44 +00:00
Baris Usakli
a6c70412db temp fix for #6848 2018-10-19 12:48:39 -04:00
Barış Soner Uşaklı
48aff2584a Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-19 08:26:24 -04:00
Barış Soner Uşaklı
54c638c3c8 fix upgrade script for notification types 2018-10-19 08:26:22 -04:00
Misty (Bot)
f929c39b21 Latest translations and fallbacks 2018-10-19 09:27:34 +00:00
Barış Soner Uşaklı
5ef708d765 fix navigation 2018-10-18 22:33:23 -04:00
Barış Soner Uşaklı
038f97b0f5 more settings tests 2018-10-18 16:33:34 -04:00
Barış Soner Uşaklı
8c9754ecee add test for /admin/settings/user 2018-10-18 15:16:13 -04:00
Barış Soner Uşaklı
250e8c01ff closes #5008 2018-10-18 15:15:54 -04:00
Barış Soner Uşaklı
da1a90a470 add search test 2018-10-18 12:50:24 -04:00
Barış Soner Uşaklı
e6546e6263 #6848
this handles winston.error(err);
2018-10-18 12:17:07 -04:00
Barış Soner Uşaklı
9dd65cf772 closes #6822 2018-10-18 10:24:34 -04:00
Misty (Bot)
370fe3fea8 Latest translations and fallbacks 2018-10-18 09:28:11 +00:00
Misty (Bot)
cec7d985ca Incremented version number - v1.10.2 2018-10-17 23:07:19 -04:00
Baris Usakli
8b8feb5b88 remove emitter 2018-10-17 15:24:46 -04:00
Baris Usakli
9251912282 move methods from posts to posts/data 2018-10-17 15:24:17 -04:00
Baris Usakli
baf91089a6 remove unused methods 2018-10-17 15:23:46 -04:00
Baris Usakli
74fdadf8a6 test pubsub cache 2018-10-17 14:58:34 -04:00
Baris Usakli
444fd70ba3 test pubsub 2018-10-17 14:20:15 -04:00
Baris Usakli
b4d8b7cf38 move sorted topics code out of recent 2018-10-17 13:33:38 -04:00
Baris Usakli
837f411783 closes #6843 2018-10-17 12:08:33 -04:00
Misty (Bot)
550f52e182 Latest translations and fallbacks 2018-10-17 09:27:55 +00:00
Barış Soner Uşaklı
986511e718 try with higher timeout 2018-10-16 21:43:40 -04:00
Barış Soner Uşaklı
1d15dc089b revert isCluster 2018-10-16 20:34:49 -04:00
Barış Soner Uşaklı
0aebb9caf8 closes #6844 2018-10-16 20:27:14 -04:00
Barış Soner Uşaklı
154d7076d9 dont pass options 2018-10-16 19:57:24 -04:00
Barış Soner Uşaklı
9dbe68a9cb testing again 2018-10-16 19:46:55 -04:00
Barış Soner Uşaklı
aa567a5f2d print out connString and opts 2018-10-16 19:12:33 -04:00
Barış Soner Uşaklı
38ce83304d up widget essentials 2018-10-16 19:07:27 -04:00
Barış Soner Uşaklı
6b7f5db623 use createUser 2018-10-16 18:56:31 -04:00
Barış Soner Uşaklı
2d8d234c57 test mongodb again 2018-10-16 18:44:03 -04:00
Barış Soner Uşaklı
8f7482955d set cluster to false again 2018-10-16 17:21:03 -04:00
Barış Soner Uşaklı
fd31ad3cfe disable busy check on tests 2018-10-16 15:50:32 -04:00
Barış Soner Uşaklı
f4df89fe90 closes #6840 2018-10-16 15:17:14 -04:00
Barış Soner Uşaklı
5dbc7f032a reset post cache between each suite 2018-10-16 15:03:06 -04:00
Barış Soner Uşaklı
8079d3d3b7 add tids used to returned data 2018-10-16 14:25:17 -04:00
Barış Soner Uşaklı
fc68263f91 change to TEST_ENV 2018-10-16 13:51:34 -04:00
Barış Soner Uşaklı
45b6e56665 add node_env to tests 2018-10-16 13:20:32 -04:00
renovate[bot]
57b0f486f4 Update dependency mongodb to v3.1.8 (#6820) 2018-10-16 13:07:29 -04:00
Barış Soner Uşaklı
85c60316ed upgrade to winston 3.1, closes #6590 (#6838)
* upgrade to winston 3.1

* fix winston in web/install and tests
2018-10-16 13:07:13 -04:00
Misty (Bot)
6fb11d37ff Latest translations and fallbacks 2018-10-16 09:31:30 +00:00
Barış Soner Uşaklı
6c15aee888 add cache hits/misses to posts cache 2018-10-15 15:03:06 -04:00
Barış Soner Uşaklı
b57db7fd8e update groups join to take array of group names (#6834)
* allow groups.join to take an array of group names

* pass an array to groups.join/leave in privileges

* split up groups/membership

* add hits/miss to group cache

* fix typo
2018-10-15 13:45:55 -04:00
Barış Soner Uşaklı
523d68c640 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-15 11:09:59 -04:00
Barış Soner Uşaklı
c06480b82e add tests for blocked users teaser/unread 2018-10-15 11:09:57 -04:00
Misty (Bot)
9e7e148b9b Latest translations and fallbacks 2018-10-15 09:29:49 +00:00
Barış Soner Uşaklı
a8e98e46df remove unused function 2018-10-14 20:01:57 -04:00
Barış Soner Uşaklı
687adea5dd closes #6836 2018-10-14 17:52:26 -04:00
Misty (Bot)
f95c3e9121 Latest translations and fallbacks 2018-10-14 09:29:39 +00:00
Barış Soner Uşaklı
d4db8c2d42 removed reset 2018-10-13 20:28:18 -04:00
Barış Soner Uşaklı
c9a415c469 check if process.send exists 2018-10-13 18:26:08 -04:00
Barış Soner Uşaklı
1024a0efa1 add reset to pubsub for tests 2018-10-13 18:20:58 -04:00
Baris Usakli
7d8fc09226 add test for pubsub 2018-10-13 14:47:42 -04:00
Misty (Bot)
7f89e874fc Latest translations and fallbacks 2018-10-13 09:28:49 +00:00
Barış Soner Uşaklı
a0f5461860 don't set and read from topic hash in parallel (#6831)
this was causing a test to fail, although very rarely
2018-10-13 01:06:07 -04:00
Baris Usakli
28f2144933 remove time out on plugin upgrade test 2018-10-12 14:46:32 -04:00
Baris Usakli
a867b77509 add assert message to test 2018-10-12 12:58:11 -04:00
Misty (Bot)
834480f450 Latest translations and fallbacks 2018-10-12 09:29:22 +00:00
Barış Soner Uşaklı
c2c8e8511f change codeclimate config 2018-10-11 19:27:18 -04:00
Barış Soner Uşaklı
1ec2d511b2 remove unnecessary code 2018-10-11 18:28:12 -04:00
Barış Soner Uşaklı
630282841c Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-11 18:10:51 -04:00
Barış Soner Uşaklı
ba21c5170a moved increase/decrease
moved these two methods into addPostToTopic&removePostFromTopic
2018-10-11 18:10:49 -04:00
Andrew Rodrigues
e944af33c8 up persona 2018-10-11 17:05:58 -04:00
Barış Soner Uşaklı
e615391b22 convert values to string before removing 2018-10-11 16:23:05 -04:00
Julian Lam
54a92984d8 bump persona 2018-10-11 16:02:29 -04:00
Barış Soner Uşaklı
5c7dd54815 fix zsets and update them on post move, closes #6823 (#6827) 2018-10-11 16:00:22 -04:00
Julian Lam
762dac6a4a closes #6825 2018-10-11 14:47:42 -04:00
Julian Lam
c95ad2c46a closes nodebb/nodebb-theme-persona#339 2018-10-11 14:29:49 -04:00
Misty (Bot)
6c538a7773 Latest translations and fallbacks 2018-10-11 09:29:32 +00:00
Barış Soner Uşaklı
702be3f6de https://github.com/NodeBB/nodebb-theme-persona/issues/363 2018-10-10 22:46:36 -04:00
Barış Soner Uşaklı
c7e1c98a1f Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-10 18:57:53 -04:00
Barış Soner Uşaklı
ed9b3a31df fix navigation items not getting saved if they are not modified at all
if you add 2 nav items and dont make any changes they weren't being saved, adding order fixes this issue
2018-10-10 18:57:50 -04:00
Julian Lam
314d734e4b nodebb/nodebb-theme-persona#397 2018-10-10 17:29:27 -04:00
Barış Soner Uşaklı
cf1173b0c4 closes https://github.com/NodeBB/nodebb-theme-persona/issues/408 2018-10-10 17:24:57 -04:00
Barış Soner Uşaklı
b212a518ba up composer 2018-10-10 13:45:51 -04:00
Barış Soner Uşaklı
6e55f0e423 up composer 2018-10-10 13:12:44 -04:00
Barış Soner Uşaklı
a3d463916c closes #6822 2018-10-10 11:59:40 -04:00
Misty (Bot)
9c3f78daa8 Latest translations and fallbacks 2018-10-10 09:29:23 +00:00
Renovate Bot
69c73d0f86 Update dependency jsdom to v12.2.0 2018-10-09 11:25:41 -04:00
Misty (Bot)
33b18298c5 Latest translations and fallbacks 2018-10-09 09:29:12 +00:00
Barış Soner Uşaklı
5e1c33bb3b Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-08 23:01:28 -04:00
Barış Soner Uşaklı
a4d5c81de5 closes #6819 2018-10-08 23:01:25 -04:00
Misty (Bot)
9b740592ff Latest translations and fallbacks 2018-10-08 09:29:23 +00:00
Misty (Bot)
5bfbb73430 Latest translations and fallbacks 2018-10-07 09:29:36 +00:00
Baris Usakli
3886a704e0 fix lint 2018-10-06 12:10:51 -04:00
Baris Usakli
3b02e8118f up persona 2018-10-06 11:49:14 -04:00
Baris Usakli
84737b5a49 use buildForSelect 2018-10-06 11:48:06 -04:00
Misty (Bot)
6f0b5f3557 Latest translations and fallbacks 2018-10-06 09:28:53 +00:00
Baris Usakli
6dc84deca9 allow admins mods to watch/ignore categories for other users 2018-10-05 14:37:44 -04:00
Baris Usakli
5f49a1d82c disable timeout on build templates 2018-10-05 14:24:51 -04:00
Baris Usakli
2465f48ead up persona 2018-10-05 13:22:07 -04:00
Baris Usakli
71905bb2c6 fix watched categories 2018-10-05 13:21:14 -04:00
Baris Usakli
51783f6779 up persona 2018-10-05 13:10:49 -04:00
Baris Usakli
9ed4239d8e small changes and test for user/:slug/categories 2018-10-05 13:04:17 -04:00
André Zanghelini
523a2dc54c Add settings page to control watched categories (#6648)
* Add settings page to control watched categories

* Fix passing undefined to pushUnreadCount
2018-10-05 13:00:18 -04:00
Misty (Bot)
f5f3da12e7 Latest translations and fallbacks 2018-10-05 09:29:14 +00:00
Barış Soner Uşaklı
044e98e71f Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-04 17:11:53 -04:00
Barış Soner Uşaklı
1df9961eb4 make lint happy 2018-10-04 15:26:34 -04:00
Julian Lam
bf36a3fd3d added eol to blacklist 2018-10-04 15:23:55 -04:00
Barış Soner Uşaklı
8df6838561 closes #6816 2018-10-04 15:09:18 -04:00
Barış Soner Uşaklı
b58ab48485 add test for /sessions controller 2018-10-04 14:30:16 -04:00
Barış Soner Uşaklı
a7c4c59121 change to series 2018-10-04 14:07:24 -04:00
Barış Soner Uşaklı
002522834c closes #6815 2018-10-04 13:42:53 -04:00
Barış Soner Uşaklı
87dddd01c8 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-04 12:18:14 -04:00
Barış Soner Uşaklı
b033d6f115 add tid to post-purge event 2018-10-04 12:18:11 -04:00
Renovate Bot
a386bce040 Update node:8.11.4 Docker digest to 3422df 2018-10-04 12:05:59 -04:00
Renovate Bot
6a830fb1e7 Update dependency connect-redis to v3.4.0 2018-10-04 12:05:42 -04:00
Renovate Bot
3d07d42383 Update dependency postcss to v7.0.5 2018-10-04 12:05:24 -04:00
Renovate Bot
cc6f8c2603 Update dependency jsdom to v12.1.0 2018-10-04 12:05:11 -04:00
Renovate Bot
24f0ef0a51 Update dependency sharp to v0.21.0 2018-10-04 12:04:59 -04:00
Renovate Bot
996f450a54 Update dependency nodebb-plugin-mentions to v2.2.10 2018-10-04 12:04:29 -04:00
Barış Soner Uşaklı
13a1497617 closes #6801 2018-10-04 11:38:42 -04:00
Barış Soner Uşaklı
7bc69e9182 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-04 11:08:04 -04:00
Barış Soner Uşaklı
1bea247748 add username/email to user-delete event 2018-10-04 11:08:01 -04:00
Barış Soner Uşaklı
49ba5af5fa closes #6810 (#6813) 2018-10-04 10:56:47 -04:00
Misty (Bot)
f9c882cb1d Latest translations and fallbacks 2018-10-04 09:26:51 +00:00
Renovate Bot
0a8adbaca4 Update dependency nodebb-plugin-mentions to v2.2.9 2018-10-03 19:24:49 -04:00
Barış Soner Uşaklı
48d49cfcad Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-03 19:16:36 -04:00
Barış Soner Uşaklı
d1491feed9 add tid to topic rename and post delete restore events 2018-10-03 19:16:32 -04:00
Barış Soner Uşaklı
f77091d1ed change user delete so it returns quickly 2018-10-03 19:12:46 -04:00
Barış Soner Uşaklı
f45d24d351 change if to !== 0 2018-10-03 17:03:23 -04:00
Misty (Bot)
5e6da27a6a Latest translations and fallbacks 2018-10-03 09:26:58 +00:00
Misty (Bot)
820847461c Latest translations and fallbacks 2018-10-02 09:29:15 +00:00
Misty (Bot)
b925df3cba Latest translations and fallbacks 2018-10-01 09:26:44 +00:00
Barış Soner Uşaklı
b7eaf4191e return correct post count if its out of sync 2018-09-30 16:37:10 -04:00
Barış Soner Uşaklı
805da98a36 remove unnecessary groups.resetCache calls 2018-09-30 13:42:33 -04:00
Barış Soner Uşaklı
061b279c48 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-09-30 13:05:20 -04:00
Misty (Bot)
e3c7099b36 Latest translations and fallbacks 2018-09-30 09:26:28 +00:00
Barış Soner Uşaklı
77beaf2e15 Allow local login,closes #6800 (#6803)
* WIP

* reset groups cache after every suite
2018-09-29 06:49:41 -04:00
Barış Soner Uşaklı
09d1cec8c3 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-09-29 06:45:14 -04:00
Barış Soner Uşaklı
2bd02a7ae1 disable timeout on plugin installs 2018-09-29 06:45:12 -04:00
Misty (Bot)
bf7523b8e4 Latest translations and fallbacks 2018-09-29 09:26:30 +00:00
Barış Soner Uşaklı
944972c6f2 change to series 2018-09-28 23:57:00 -04:00
Barış Soner Uşaklı
d92ef9ca11 remove id 2018-09-28 23:13:07 -04:00
Renovate Bot
36ae926196 Update dependency eslint to v5.6.1 2018-09-28 17:04:37 -04:00
Ben Lubar
cf4ea94e6d Fix single-host-cluster socket.io (#6802)
It was silently dropping every message because every node thought it was the master node.
2018-09-28 17:02:03 -04:00
Julian Lam
f95308bf33 move sharp require into the method it is used in src/file.js 2018-09-28 15:23:56 -04:00
Julian Lam
ebabcc5e3c if authenticate middleware is overridden by plugin, check for req.user and return notAllowed helper otherwise
/cc @LudwikJaniuk
2018-09-27 13:46:16 -04:00
Barış Soner Uşaklı
be0df46e99 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-09-27 09:52:59 -04:00
Barış Soner Uşaklı
4b970a1072 use lodash, load 3 posts per iteration 2018-09-27 09:52:56 -04:00
Misty (Bot)
64f36db71a Latest translations and fallbacks 2018-09-27 09:26:38 +00:00
Barış Soner Uşaklı
95ace13599 add loading=false 2018-09-26 22:05:01 -04:00
Barış Soner Uşaklı
ef55598822 filter messages that are already inserted to DOM 2018-09-26 21:30:29 -04:00
Barış Soner Uşaklı
18d0deeccb update deprecated methods (#6794) 2018-09-26 15:02:57 -04:00
Barış Soner Uşaklı
1cb2e1e368 remove console.log switch to series 2018-09-26 10:56:19 -04:00
Renovate Bot
3c6ec68eae Update dependency postcss to v7.0.3 2018-09-26 10:31:45 -04:00
Barış Soner Uşaklı
7c24b1b69f Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-09-25 17:53:54 -04:00
Barış Soner Uşaklı
3554a0a725 closes #6791, if fileSize isn't passed in don't perform check 2018-09-25 17:53:51 -04:00
Julian Lam
c9dfb4e109 closes #6790 2018-09-25 14:45:49 -04:00
renovate[bot]
b2f812befa Update dependency mongodb to v3.1.6 (#6582) 2018-09-25 14:14:10 -04:00
Julian Lam
02046889ec closes #6691 2018-09-25 12:44:13 -04:00
Ben Lubar
11b655163e Only run the DDL for session storage on the primary instance. (#6788)
This fixes a restart loop caused by deadlocks in large clusters.
2018-09-25 12:12:18 -04:00
Barış Soner Uşaklı
3d13d867cb Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-09-25 12:07:58 -04:00
Barış Soner Uşaklı
f618ba8e1e add private category test for unread tids 2018-09-25 12:07:56 -04:00
Julian Lam
78b47b33af bump persona 2018-09-25 11:15:20 -04:00
Barış Soner Uşaklı
1590452697 filter topics you cant read @benlubar 2018-09-25 11:14:25 -04:00
Renovate Bot
f273746bbd Update dependency validator to v10.8.0 2018-09-25 10:54:33 -04:00
Misty (Bot)
a125b4b497 Latest translations and fallbacks 2018-09-25 09:26:26 +00:00
Barış Soner Uşaklı
95501e8fee closes #6738 closes #6290 (#6785)
* closes #6738 closes #6290

* fix test, delete keys

* delete all bans on user delete

* fix upgrade script to actually read reason
2018-09-24 20:20:52 -04:00
Renovate Bot
630873a742 Update dependency nodebb-theme-persona to v9.0.33 2018-09-24 19:59:56 -04:00
Barış Soner Uşaklı
4570daa033 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-09-24 17:42:57 -04:00
Barış Soner Uşaklı
3ed856f587 change if 2018-09-24 17:42:54 -04:00
Barış Soner Uşaklı
9724ef083e remove v from query 2018-09-24 16:59:12 -04:00
Barış Soner Uşaklı
786311fa64 use value 2018-09-24 16:58:35 -04:00
Barış Soner Uşaklı
5a69f979a8 update processSortedSet to use withScores 2018-09-24 16:57:19 -04:00
Barış Soner Uşaklı
cf75c79611 Unread changes closes #6781 (#6783)
* WIP

* more unread work

* faster teaser block handling

if user doesn't have anyone blocked don't check

* much faster filtering of blocked posts

* add missing uid

* add tidsByFilter to return

* dont load all pids to find previous non-blocked teaser

* fix unread filters

they no longer use unread/new unread/watched etc they are query strings now

* shorter nav item code

* add unreplied to filters

fix icons not clearing to 0
dont increment unread counters if there is a reply in a topic where you ignored the topic creator
2018-09-24 12:58:59 -04:00
Barış Soner Uşaklı
df4f5f6f27 closes #6784 2018-09-24 12:41:04 -04:00
Renovate Bot
08c45c3743 Update dependency nodebb-plugin-markdown to v8.8.0 2018-09-24 10:43:30 -04:00
Misty (Bot)
d4cd74b7e2 Latest translations and fallbacks 2018-09-23 09:26:12 +00:00
Julian Lam
1eafd84c79 gdpr translations, it 2018-09-22 08:27:25 -04:00
Misty (Bot)
1bc87f3ae3 Latest translations and fallbacks 2018-09-22 09:26:16 +00:00
Barış Soner Uşaklı
7f863b8af0 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-09-22 01:28:17 -04:00
Barış Soner Uşaklı
17ce482c9f closes #6780 2018-09-22 01:28:13 -04:00
Barış Soner Uşaklı
7787c9b4bb fix wrong year on upgrade script 2018-09-21 23:14:55 -04:00
Barış Soner Uşaklı
24601694db fix wrong year on upgrade script 2018-09-21 23:13:44 -04:00
Baris Usakli
edefab1d69 closes #6728
add option to disable a category on creation
show disabled categories on manage privileges
2018-09-21 16:10:07 -04:00
Baris Usakli
4d5e164fd2 closes #6778 2018-09-21 13:49:56 -04:00
Baris Usakli
90f3e1281d up markdown 2018-09-21 12:54:41 -04:00
Barış Soner Uşaklı
59b988a205 change test so it checks url 2018-09-20 22:09:20 -04:00
Barış Soner Uşaklı
71ccd67665 closes #6722
calculate size of base64 image from buffer, still not perfect but better than string.length
2018-09-20 19:47:44 -04:00
Barış Soner Uşaklı
352bea9475 up persona 2018-09-20 17:58:06 -04:00
Barış Soner Uşaklı
b7ead6dc9c Replace jimp with sharp (#6774)
* add probe image size and max image size

* replace jimp and image-probe with sharp

* better name for test

* resize with just path

* resize thumb inplace

* use filename
2018-09-20 17:05:52 -04:00
Barış Soner Uşaklı
69c7260fe9 dont let sending more than max invites via bulk invite 2018-09-20 11:55:53 -04:00
Misty (Bot)
c4b23909df Latest translations and fallbacks 2018-09-20 09:26:39 +00:00
Barış Soner Uşaklı
669a5135e1 closes #6768 2018-09-19 14:38:07 -04:00
Misty (Bot)
27a90b7a78 Latest translations and fallbacks 2018-09-19 09:26:25 +00:00
Barış Soner Uşaklı
d880a7ade0 closes #6771 2018-09-18 18:08:46 -04:00
Barış Soner Uşaklı
dff86b1ac9 closes #6740
* flag notifications will go to the flag details page instead of the post or user that was flag
* if you assign a flag to yourself you won't get a notification about it
@benlubar
2018-09-18 17:28:24 -04:00
Julian Lam
3c89befad2 fallbacks for account/sessions 2018-09-18 13:51:29 -04:00
Julian Lam
ce6f9ec84e pushing translations for blocks user page 2018-09-18 13:51:29 -04:00
Barış Soner Uşaklı
089bf5d8bb closes #6773 2018-09-18 08:58:47 -04:00
Julian Lam
06bd4892ce bump composer-default 2018-09-17 16:23:31 -04:00
André Zanghelini
f3956299eb Add tooltip in taskbar icons (#6693)
* Add tooltip in taskbar icons

* Translate taskbar title when creating taskbar
2018-09-17 16:23:06 -04:00
Julian Lam
382d06bbb0 fixes #6765 -- no need to have gmods and admins access login sessions page 2018-09-17 15:45:46 -04:00
smyther
f120015b54 Fix for user being able to open multiple "delete posts" modals (#6770)
* Implement fix for multiple fork cards showing

* Fix for admin being able to open multiple 'delete posts' modals

* Fix linting issue
2018-09-17 11:07:10 -04:00
Renovate Bot
bfadd3ea58 Update dependency eslint to v5.6.0 2018-09-15 22:24:37 -04:00
Barış Soner Uşaklı
d996ea27be closes #6763 2018-09-15 17:59:57 -04:00
Barış Soner Uşaklı
6a377568d2 closes #6764 fix typo in notif rescind 2018-09-15 17:56:03 -04:00
Julian Lam
7bde09f645 update issue template to show postgres version command 2018-09-15 17:31:48 -04:00
Renovate Bot
c0b96a402e Update dependency jimp to v0.5.0 2018-09-15 17:29:42 -04:00
Misty (Bot)
3a36a2b53b Latest translations and fallbacks 2018-09-15 09:31:17 +00:00
Barış Soner Uşaklı
08dfb3470c fix tests 2018-09-14 18:00:52 -04:00
Barış Soner Uşaklı
b43bfa3d5b closes #6759
-moved user.blocks.filter from unread controller to getUnreadTopics so
topics are filtered at other places this function is called
- when a new post is made do not send it to uids that have blocked the
poster
- update getUnreadTids so it does not return topics that have new posts
from blocked users
- update hasReadTopics so it does not return false data if topic has new
posts from blocked users
2018-09-14 16:23:21 -04:00
smyther
0c9907367a Implement fix for multiple fork cards showing (#6757) 2018-09-14 10:07:01 -04:00
Misty (Bot)
fe118fe1c3 Latest translations and fallbacks 2018-09-13 09:31:43 +00:00
Barış Soner Uşaklı
cfe0e690b5 up themes 2018-09-11 11:14:27 -04:00
Barış Soner Uşaklı
41aae6f418 closes #6749 2018-09-11 11:11:41 -04:00
Barış Soner Uşaklı
ebaea9b6c1 closes #6743 2018-09-08 14:01:15 -04:00
Misty (Bot)
60c54d6cdf Latest translations and fallbacks 2018-09-08 09:31:28 +00:00
Barış Soner Uşaklı
37ca5a1c63 filter falsy teasers 2018-09-06 18:48:46 -04:00
Barış Soner Uşaklı
93d52ef338 default to 'recent' sort 2018-09-06 16:23:40 -04:00
Barış Soner Uşaklı
ea1697d073 remove console.log 2018-09-06 14:41:23 -04:00
Barış Soner Uşaklı
25fed0aa8d change isPasswordCorrect to return false if user does not have password 2018-09-06 14:32:44 -04:00
Barış Soner Uşaklı
84a0a68b2b up vanilla 2018-09-05 17:02:41 -04:00
Barış Soner Uşaklı
6f18cf368b closes #6741 2018-09-05 14:03:04 -04:00
Andrew Rodrigues
bd0983c6a1 add postgres to issue template 2018-09-05 13:13:39 -04:00
Misty (Bot)
59fd27510a Latest translations and fallbacks 2018-09-05 09:32:04 +00:00
Renovate Bot
a3cb7dc68a Update dependency nyc to v13 2018-09-04 15:13:38 -04:00
Renovate Bot
3175d58dc0 Update dependency eslint to v5.5.0 2018-09-04 15:12:51 -04:00
Renovate Bot
65497b18fa Update dependency validator to v10.7.1 2018-09-04 15:12:41 -04:00
Barış Soner Uşaklı
446b125c83 escape post content 2018-09-04 10:59:52 -04:00
LudwikJaniuk
c7f3b76b4e DRY req props that depend on auth (fix #6727) (#6731)
* DRY req props that depend on auth (fix #6727)

authentication leads to req.loggedIn and req.uid being set. However, a
later authentication event might outdate them. Here, I create one
function for setting those properties, and make sure it also is called
on the `action:middleware.authenticate` hook, which would be such an
authentication event. If there are other places, those should be added
as well.

* fix lint errors

* fix lint error

* change exports
2018-09-04 09:43:33 -04:00
Barış Soner Uşaklı
3e1b007f9f escape title in post queue 2018-09-04 09:39:08 -04:00
renovate[bot]
f51b2e07f4 Update dependency jimp to v0.4.0 (#6682) 2018-09-03 15:27:33 -04:00
Misty (Bot)
13044df14e Latest translations and fallbacks 2018-09-03 09:31:54 +00:00
Ben Lubar
97a3079bc0 Optimize PostgreSQL session store.
- Sets session ID to be a constant-sized character field inline in the
  table instead of a variable-length character field compressed outside
  of the row.
- Changes the session data from "json" to "jsonb" which is faster and
  smaller on disk with the drawback of not maintaining key order and
  whitespace (which we don't care about at all)
- Adds a clustered index on the session expiration timestamp, which will
  make periodic session purging much faster.

(For an example, WTDWTF currently has 482355 sessions in the table, and
 because there is no index on the expiration timestamp, PostgreSQL must
 check all the rows in the table every time.)

This upgrade script can run concurrently with a live NodeBB instance,
but any action that touches sessions will wait until the upgrade script
is done.

Does not touch the database if the database driver is not set to
PostgreSQL or if there is a Redis database configured.
2018-09-02 00:32:55 -04:00
Julian Lam
cc532d2c8b bump persona 2018-08-31 16:04:51 -04:00
Julian Lam
c2c925cacd closes #6678 2018-08-31 15:34:36 -04:00
Julian Lam
29836aaad9 rename session account middleware to sessions, plural, prep for fixing #6678 2018-08-31 15:34:36 -04:00
Baris Usakli
5b45b2f72c closes #6729 2018-08-31 11:48:13 -04:00
Barış Soner Uşaklı
0519f84734 Promisify modules (#6723)
* WIP promisify

* promisify psql

* ability to skip some keys

* dont promisify client object

* remove async

* clone entire module so it has all properties

* add shim for node 6

* ignore sessionStore as well

* ignore pool on psql
2018-08-31 11:04:42 -04:00
Julian Lam
e882a091a1 updated blocks localisations from Tx 2018-08-31 10:46:32 -04:00
Julian Lam
c1725442ea added progress bar to username_email_history upgrade script 2018-08-30 17:03:42 -04:00
Julian Lam
545e678e8a fixes #6726 2018-08-30 15:08:01 -04:00
Julian Lam
d3ee71e09f bump persona 2018-08-30 14:01:00 -04:00
Julian Lam
ba96a7a7bc bump emoji 2018-08-30 12:59:22 -04:00
Julian Lam
5c04ec2d63 removed client-side chat message length check in favour of server-side check, firing new hook on messaging.checkContent for hooks to intercept 2018-08-29 14:31:53 -04:00
Misty (Bot)
e79f0dad90 Latest translations and fallbacks 2018-08-29 09:32:27 +00:00
Barış Soner Uşaklı
2a2e8136cd fix tests 2018-08-28 16:19:37 -04:00
Julian Lam
1e3cdc99ac fixes #6702 2018-08-28 14:29:51 -04:00
Misty (Bot)
6bb62a4728 Latest translations and fallbacks 2018-08-28 09:31:58 +00:00
Andrew Rodrigues
a06b33a713 fix html characters when cloning children categories 2018-08-27 18:40:56 -04:00
Julian Lam
8618afb45d added Latvian localisation strings 2018-08-27 10:27:58 -04:00
Renovate Bot
40b453e9fd Update dependency jsdom to v12 2018-08-27 10:06:19 -04:00
Renovate Bot
9e2e32500a Update dependency smtp-server to v3.4.7 2018-08-27 10:05:35 -04:00
Misty (Bot)
e56b6daee4 Latest translations and fallbacks 2018-08-26 09:31:47 +00:00
Julian Lam
aaa9561b7f Revert "moved filter:post.getPostSummaryByPids to before parsePosts call"
This reverts commit cf82407a8f.
2018-08-26 00:08:06 -04:00
Misty (Bot)
badb06a9de Latest translations and fallbacks 2018-08-25 09:31:07 +00:00
Julian Lam
cf82407a8f moved filter:post.getPostSummaryByPids to before parsePosts call
/@pitaj
2018-08-24 14:54:11 -04:00
Renovate Bot
33020b1ee0 Update dependency validator to v10.7.0 2018-08-24 10:47:22 -04:00
Julian Lam
9d202d9be9 closes #424 2018-08-23 10:02:57 -04:00
Renovate Bot
8f724d7611 Update dependency archiver to v3 2018-08-22 23:32:36 -04:00
Julian Lam
70f04bd1c2 fixed client-side console error on vote 2018-08-21 22:30:35 -04:00
Barış Soner Uşaklı
ebe8593421 up dbsearch 2018-08-21 16:04:56 -04:00
Barış Soner Uşaklı
3124cb37db closes #6712 2018-08-21 15:37:34 -04:00
Julian Lam
e4f0e59c7b bump composer again 2018-08-21 11:37:19 -04:00
Julian Lam
af55a05122 bump composer 2018-08-21 11:26:38 -04:00
Julian Lam
ff3605fe78 bump markdown 2018-08-20 11:09:06 -04:00
Misty (Bot)
3c6327215c Latest translations and fallbacks 2018-08-18 04:45:57 +00:00
Renovate Bot
ff593607fa Update dependency eslint to v5.4.0 2018-08-18 00:16:07 -04:00
Barış Soner Uşaklı
ae4016d9e0 add getCateries to helpers 2018-08-17 16:39:56 -04:00
Julian Lam
18a875c51d bump markdown 2018-08-17 12:01:11 -04:00
Julian Lam
e7a3dac10b bump markdown again 2018-08-17 11:18:33 -04:00
Julian Lam
df4c90dc78 bump markdown 2018-08-17 10:31:54 -04:00
Renovate Bot
85eef740a8 Update dependency validator to v10.6.0 2018-08-17 10:09:16 -04:00
Renovate Bot
6a0755ee32 Update Node.js to v8.11.4 2018-08-16 13:18:44 -04:00
Andrew Rodrigues
12940b577b closes #6703 2018-08-15 20:42:59 -04:00
Misty (Bot)
560e63c97a Latest translations and fallbacks 2018-08-14 09:29:37 +00:00
Julian Lam
2ce6a85756 properly closes #6698 2018-08-13 14:17:51 -04:00
Julian Lam
82e61d76fd bump markdown 2018-08-13 12:54:44 -04:00
Renovate Bot
aa1f881e88 Update dependency mocha to v5 2018-08-13 12:07:59 -04:00
Renovate Bot
a84e6c40ae Update dependency nyc to v12 2018-08-13 12:07:51 -04:00
Renovate Bot
772b5ee115 Update dependency eslint to v5 2018-08-13 12:07:41 -04:00
Renovate Bot
904e3ff8e7 Update dependency eslint-plugin-import to v2.14.0 2018-08-13 12:07:24 -04:00
Renovate Bot
4627fc9cda Update node:8.11.3 Docker digest to 049869 2018-08-13 12:07:12 -04:00
Julian Lam
f751d21d1e removed debug line 2018-08-13 12:06:56 -04:00
Julian Lam
f9d3484ec6 fixes #6543 2018-08-10 16:07:25 -04:00
Renovate Bot
731aa8912a Update dependency request to v2.88.0 2018-08-10 15:18:39 -04:00
Julian Lam
ed9dc113b0 sanitizing notes in flags details page, fixes #6698 2018-08-10 15:01:49 -04:00
Julian Lam
a77630c6be closes #6697 2018-08-10 14:22:33 -04:00
Julian Lam
e6ec041dde bump composer-default 2018-08-10 12:04:53 -04:00
Barış Soner Uşaklı
c0156640e3 add back alert 2018-08-09 14:26:24 -04:00
Barış Soner Uşaklı
14d810c113 show error if cropper fails 2018-08-09 14:10:30 -04:00
Renovate Bot
f2965bd903 Update dependency connect-pg-simple to v5 2018-08-08 16:51:10 -04:00
Ben Lubar
33228bb7fe PostgreSQL database driver (#5861)
* [test/database/list] Fix test list 4 being used in two different tests

* [database/postgres] PostgreSQL database driver

* [database/postgres] Make transactions work based on continuation scope.

* [database/postgres] Implement nested transactions

* eslint --fix

* Add database changes from earlier this week to the PostgreSQL driver.

* Fix typo

* Fix postgres.incrObjectFieldBy returning undefined instead of null when given NaN

* [database/postgres] Fix sortedSetsCard returning an array of strings.

* Update socket.io postgres adapter

* Fix PostgreSQL erroring when multiple updates are made to the same sorted set entry in a single operation.

Add a test case to catch this error.

* Fix lint errors.

* Only prune sessions on one instance in a cluster to avoid deadlocks.

They're caught and handled by the database server, but they spam the logs.

* Fix arguments.slice.
2018-08-08 15:13:48 -04:00
Jimb Esser
3cccbbc1f2 Add option to enable/disable HSTS
Also fix HSTS middleware being added twice.
2018-08-07 10:33:55 -04:00
Misty (Bot)
4027abcd58 Latest translations and fallbacks 2018-08-06 09:29:32 +00:00
Misty (Bot)
537c7f91fd Latest translations and fallbacks 2018-08-05 09:28:42 +00:00
Barış Soner Uşaklı
1c286e4536 not even used 2018-08-03 18:50:45 -04:00
Renovate Bot
15c9f33404 Update dependency validator to v10.5.0 2018-08-03 11:23:27 -04:00
Renovate Bot
1a10659f59 Update dependency postcss to v7.0.2 2018-08-03 09:43:35 -04:00
Misty (Bot)
ac68c65dc9 Latest translations and fallbacks 2018-08-03 09:29:01 +00:00
Misty (Bot)
7ff516a1d6 Latest translations and fallbacks 2018-08-02 09:29:03 +00:00
ChngYekKhai
0fae083ada Typo fixing(README) (#6681) 2018-08-01 07:07:39 -04:00
Barış Soner Uşaklı
fa499aef18 closes #6680 2018-07-31 14:26:17 -04:00
Misty (Bot)
035c04212d Latest translations and fallbacks 2018-07-31 09:29:17 +00:00
Misty (Bot)
4059a49c90 Latest translations and fallbacks 2018-07-28 09:28:47 +00:00
Baris Usakli
976b85ccaa closes #6676 2018-07-27 15:24:14 -04:00
Baris Usakli
e7bd0cea74 fix lint 2018-07-27 14:27:23 -04:00
Baris Usakli
bcef32c5af closes #6645 2018-07-27 13:38:37 -04:00
Baris Usakli
546b13b897 fix lint and tests 2018-07-27 13:10:52 -04:00
Baris Usakli
79ffae608e closes #6675 2018-07-27 12:58:01 -04:00
Baris Usakli
4200cff47c closes #6662 2018-07-27 12:48:15 -04:00
Julian Lam
3c6c0ed7a1 restoring passwordExpiry for use in continueLogin, fixed tests, hopefully 2018-07-27 12:34:51 -04:00
Julian Lam
786af5fbb3 derp 2018-07-27 11:57:41 -04:00
Julian Lam
b6a5419ca1 closes #6674 2018-07-27 11:54:32 -04:00
Misty (Bot)
b3f5901a96 Latest translations and fallbacks 2018-07-27 09:29:35 +00:00
Julian Lam
4f8815eb78 closes #6646 2018-07-26 16:38:40 -04:00
Julian Lam
ea2bd33bfa fixes #6608, restored template values in widget containers 2018-07-26 15:00:49 -04:00
Julian Lam
41d1ebf02e bump persona 2018-07-26 14:36:36 -04:00
Julian Lam
7dfe953526 closes #6672 2018-07-26 14:36:25 -04:00
Julian Lam
5243ee559a set initial focus on register page 2018-07-26 13:00:40 -04:00
Julian Lam
48197e2d25 this upgrade script was written in 2018, not 2017, heh 2018-07-26 11:02:43 -04:00
Barış Soner Uşaklı
c7d6cacd98 closes #6658 2018-07-26 10:52:06 -04:00
Misty (Bot)
ee6d4fabd6 Latest translations and fallbacks 2018-07-26 09:29:19 +00:00
Andrew Rodrigues
565893501c up slick 2018-07-25 18:34:00 -04:00
Julian Lam
bd85611964 bump vanilla 2018-07-25 14:17:05 -04:00
Julian Lam
609f711db0 added logic to handle Chats.switchChat being called with no arguments 2018-07-25 14:15:42 -04:00
Barış Soner Uşaklı
d06f795856 fix scroll on back 2018-07-25 11:16:50 -04:00
Ben Lubar
44373afc52 Fix socket.io not working properly in single-host clusters. (#6669)
This is because we don't use the cluster module, so the master nodejs process doesn't know about any of the clients through the socket API.
2018-07-25 11:04:18 -04:00
Misty (Bot)
e534bf803e Latest translations and fallbacks 2018-07-25 09:29:13 +00:00
Andrew Rodrigues
300bae8f9c Merge pull request #6668 from pichalite/patch-2
up slick theme
2018-07-25 02:37:14 -04:00
Anil Mandepudi
519103a7df up slick theme 2018-07-24 23:16:20 -07:00
Julian Lam
afa320c9c8 complete reversion of #6664 2018-07-24 16:08:17 -04:00
Julian Lam
3522ad0e05 Revert "closes #6664"
This reverts commit f27a0d252c.
2018-07-24 16:05:05 -04:00
Julian Lam
352bef0a7f eliminate waitSeconds in rjs config 2018-07-24 15:57:56 -04:00
Julian Lam
f27a0d252c closes #6664 2018-07-24 15:43:54 -04:00
Julian Lam
506467ad6f closes #6663 2018-07-24 10:30:47 -04:00
Ben Lubar
c1e98eefa7 Allow single-host clusters to not send pubsub and socket.io messages through the database. (#6659)
* Allow single-host clusters to not send pubsub and socket.io messages through the database.

* Fix lint errors.
2018-07-23 12:21:36 -04:00
Misty (Bot)
148fc96a3a Latest translations and fallbacks 2018-07-23 09:29:26 +00:00
Misty (Bot)
448542d4ef Latest translations and fallbacks 2018-07-22 09:28:47 +00:00
Misty (Bot)
7f52e3a8f9 Latest translations and fallbacks 2018-07-21 09:29:29 +00:00
Barış Soner Uşaklı
87b6808c4e refactor to use getCidsByPrivilege
switch to .includes
2018-07-20 14:34:53 -04:00
Ben Lubar
f1a6537fc2 Add notification frequencies from nodebb-plugin-upvote-notifications. (#6640)
* Add notification frequencies from nodebb-plugin-upvote-notifications.

https://github.com/boomzillawtf/nodebb-plugin-upvote-notifications

* Fix editing settings clearing upvote notification preferences.
2018-07-20 10:29:51 -04:00
Misty (Bot)
11258dac9c Latest translations and fallbacks 2018-07-20 09:28:50 +00:00
Renovate Bot
d473a85ea1 Update dependency postcss to v7.0.1 2018-07-20 00:43:01 -04:00
Renovate Bot
6f73575f25 Update dependency eslint-plugin-import to v2.13.0 2018-07-19 16:44:42 -04:00
Misty (Bot)
27b1289b87 Latest translations and fallbacks 2018-07-19 09:29:00 +00:00
Andrew Rodrigues
de886d94c8 up benchpress 2018-07-18 00:30:35 -04:00
Barış Soner Uşaklı
ec33a12dad closes #6644 2018-07-17 21:14:53 -04:00
Sebastian G. Marinescu
e35d4a7d85 closes #6283 2018-07-17 15:55:41 -04:00
Renovate Bot
b24643e0ab Update dependency autoprefixer to v9 2018-07-17 15:07:58 -04:00
djls45
4f0a24cfed Preserve case of respondee's slug when responding to their post. 2018-07-17 15:07:20 -04:00
Julian Lam
b7fc8493b7 closes #6635 2018-07-17 13:22:36 -04:00
Renovate Bot
9d90d19a6f Update node:8.11.3 Docker digest to deb628 2018-07-17 13:01:57 -04:00
Julian Lam
266eacac7c closes #6655 2018-07-17 12:56:13 -04:00
Julian Lam
a07b45fd0f closes #6642 2018-07-17 12:33:27 -04:00
Misty (Bot)
fcb5faa9a9 Latest translations and fallbacks 2018-07-17 09:29:32 +00:00
Andrew Rodrigues
ce3f0e1b39 up bench 2018-07-16 21:21:06 -04:00
Andrew Rodrigues
f27d966de8 up vanilla 2018-07-16 19:24:24 -04:00
Renovate Bot
ae3dcbc5ba Update dependency nodebb-theme-persona to v9.0.21 2018-07-16 18:03:08 -04:00
Renovate Bot
4250808b76 Update dependency coveralls to v3.0.2 2018-07-16 17:59:21 -04:00
Renovate Bot
2c447dbbbd Update dependency postcss to v7 2018-07-16 17:58:57 -04:00
Julian Lam
0a021d23d4 theme bumps for #6649 2018-07-16 17:28:01 -04:00
Julian Lam
544f2d58c2 Merge branch 'master' into patch-pitaj 2018-07-16 17:16:18 -04:00
Misty (Bot)
c6a710954f Latest translations and fallbacks 2018-07-15 09:28:36 +00:00
Peter Jaszkowiak
04d31fe1d4 Precompile all templates
- Benchpress compilation is 33x faster now
- Native module with JS fallback and pre-built binaries
- Dev template build is <1sec now
- Minified template build is ~5sec (uglify accounts for almost all)
2018-07-15 00:12:37 -06:00
Misty (Bot)
9d005fa203 Latest translations and fallbacks 2018-07-14 09:28:46 +00:00
Julian Lam
53c535063f Update package.json
Bump emoji plugin
2018-07-13 13:23:58 -04:00
Julian Lam
7558046e75 add brute-force protection for change password and email actions 2018-07-11 16:28:40 -04:00
Misty (Bot)
d0c22c5bd3 Latest translations and fallbacks 2018-07-11 09:29:19 +00:00
Barış Soner Uşaklı
91f9c60660 closes #6643 2018-07-10 12:14:12 -04:00
Barış Soner Uşaklı
85a55d1740 closes 2018-07-09 14:57:42 -04:00
Barış Soner Uşaklı
cfb9784527 closes #6641 2018-07-09 14:26:21 -04:00
Misty (Bot)
e56d20feda Latest translations and fallbacks 2018-07-09 09:29:02 +00:00
Baris Usakli
16a7728ab8 fix redis warnings 2018-07-06 14:20:37 -04:00
Baris Usakli
cc6a683bc4 closes #6631 2018-07-06 14:20:10 -04:00
Renovate Bot
b02e918220 Update node:8.11.3 Docker digest to 38953a 2018-07-06 13:37:26 -04:00
Peter Jaszkowiak
65b4bafb16 Fix @scoped themes 2018-07-06 13:00:18 -04:00
Peter Jaszkowiak
7cd8274c0f Add series flag for ./nodebb build 2018-07-06 13:00:18 -04:00
Barış Soner Uşaklı
8eea6017fe parseInt uid 2018-07-05 18:53:59 -04:00
Misty (Bot)
394edf83ec Incremented version number - v1.10.1 2018-07-05 18:43:05 +00:00
Julian Lam
b88a8de6a1 bump themes, closes #6560 2018-07-05 14:20:33 -04:00
Julian Lam
7a53fa9469 Added block and unblock button to profile dropdown menu, #6560 2018-07-05 14:20:33 -04:00
Julian Lam
a34584e8f5 fixed blocking cache derp 2018-07-05 14:20:33 -04:00
Misty (Bot)
6811086bb2 Latest translations and fallbacks 2018-07-05 09:29:23 +00:00
Julian Lam
f09b1acfb7 closes #6627 2018-07-04 09:52:26 -04:00
Misty (Bot)
7d7a490550 Latest translations and fallbacks 2018-07-04 09:29:14 +00:00
Barış Soner Uşaklı
4ed079555e Merge remote-tracking branch 'refs/remotes/origin/master' into blocks 2018-07-03 18:43:43 -04:00
Barış Soner Uşaklı
3449cf321b add back cache and pubsub 2018-07-03 18:43:29 -04:00
Barış Soner Uşaklı
ae0563375e derp 2018-07-03 18:13:47 -04:00
Julian Lam
ad8ac2bdff removed unused checkPassword socket call 2018-07-03 17:44:49 -04:00
Julian Lam
fb42862ec7 check password validity in user delete socket call 2018-07-03 16:38:51 -04:00
Julian Lam
cb8e62cd7c fixes #6626 2018-07-03 15:47:28 -04:00
Baris Usakli
584f88e092 blocks WIP 2018-07-03 15:12:23 -04:00
Timothy Fike
e8a3c23d42 Fix verion regex Fixes #6620 (#6625) 2018-07-02 21:36:21 -04:00
Barış Soner Uşaklı
c2b0be1f2c if stack is undefined fallback to message and then to hardcoded string 2018-07-02 17:11:38 -04:00
Misty (Bot)
23b665ca8b Latest translations and fallbacks 2018-07-01 09:28:39 +00:00
Baris Usakli
ee64437f8a fix runJobs 2018-06-29 15:50:19 -04:00
Baris Usakli
be1e83bfc1 fix tests 2018-06-29 15:20:26 -04:00
Julian Lam
7e6007e146 revoke all sessions on email change 2018-06-29 14:23:25 -04:00
Julian Lam
be0ef799ee closes #6592 2018-06-29 14:16:28 -04:00
Julian Lam
002cde1057 added progress bar to ip hash upgrade script 2018-06-29 13:56:22 -04:00
Julian Lam
d0997ed83f fixes #6615 2018-06-29 11:18:42 -04:00
Misty (Bot)
fd5dfdc01c Latest translations and fallbacks 2018-06-29 09:29:06 +00:00
Barış Soner Uşaklı
9912c400b6 closes #6612 2018-06-27 16:14:44 -04:00
Julian Lam
5cf662e565 closes #6613 2018-06-27 15:13:01 -04:00
Barış Soner Uşaklı
625ab1a46b remove deprecated method 2018-06-27 15:12:02 -04:00
Barış Soner Uşaklı
57b7c7ede4 closes #6607 2018-06-27 14:36:12 -04:00
Misty (Bot)
12a7e57117 Incremented version number - v1.10.0 2018-06-27 14:29:32 -04:00
Barış Soner Uşaklı
7876ee839d Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-06-27 12:15:41 -04:00
Barış Soner Uşaklı
82b2a20d0c user tests 2018-06-27 12:15:38 -04:00
Renovate Bot
a6398c9ed7 Update node:8.11.3 Docker digest to 625d0b 2018-06-27 10:14:05 -04:00
Barış Soner Uşaklı
d3dc4588ea Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-06-27 08:57:55 -04:00
Barış Soner Uşaklı
27ed5de788 up composer default 2018-06-27 08:57:50 -04:00
Misty (Bot)
0cef3b592f Latest translations and fallbacks 2018-06-27 09:29:18 +00:00
Barış Soner Uşaklı
d158f79a3b Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-06-26 13:42:39 -04:00
Barış Soner Uşaklı
95f1a82884 closes #6591 2018-06-26 13:42:35 -04:00
Misty (Bot)
ff290880e2 Latest translations and fallbacks 2018-06-26 09:29:09 +00:00
Julian Lam
99f115f115 updating themes for compatibility strings 2018-06-25 14:38:29 -04:00
Renovate Bot
28defdc7d6 Update node Docker tag to v8.11.3 2018-06-25 09:03:27 -04:00
Misty (Bot)
56eacd93a4 Latest translations and fallbacks 2018-06-25 09:29:21 +00:00
Misty (Bot)
cd276268a5 Latest translations and fallbacks 2018-06-24 09:28:39 +00:00
Julian Lam
6485fc3129 removing extra console logging #6596 2018-06-22 16:36:52 -04:00
Julian Lam
68c9c8c5d9 fixes #6596 2018-06-22 16:36:01 -04:00
Barış Soner Uşaklı
f72412fa38 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-06-22 16:29:18 -04:00
Julian Lam
df8c22e9c7 Allow new "withScores" option in batch.processSortedSet (#6602) 2018-06-22 16:28:25 -04:00
Barış Soner Uşaklı
fe80186ddf add withscores 2018-06-22 16:28:22 -04:00
Renovate Bot
6ae5d7ccae Update dependency promise-polyfill to v8 2018-06-22 10:40:09 -04:00
Renovate Bot
0908ce7bfc Update dependency validator to v10.4.0 2018-06-22 10:27:36 -04:00
Barış Soner Uşaklı
742ddd358b escape url 2018-06-22 07:33:23 -04:00
Misty (Bot)
70c19ff546 Latest translations and fallbacks 2018-06-22 09:29:47 +00:00
Baris Usakli
f830322ee9 closes #6597 2018-06-21 11:27:37 -04:00
Barış Soner Uşaklı
2f047fa15f up benchpress, closes #6493 2018-06-19 09:25:53 -04:00
Barış Soner Uşaklı
bc437c8da3 fix popular rss feed url 2018-06-19 09:24:29 -04:00
Renovate Bot
efb4ef1440 Update dependency validator to v10.3.0 2018-06-18 15:09:58 -04:00
Renovate Bot
dda4a07482 Pin node Docker tag 2018-06-18 14:46:55 -04:00
Renovate Bot
1690e88ff3 Pin dependencies 2018-06-18 14:45:41 -04:00
Renovate Bot
ce5aef536c Add renovate.json 2018-06-18 14:44:21 -04:00
Barış Soner Uşaklı
ccad95cf73 closes #6579 2018-06-18 14:37:37 -04:00
Misty (Bot)
ed4787a3ea Latest translations and fallbacks 2018-06-18 09:29:51 +00:00
Barış Soner Uşaklı
f7a0815b46 fix redis tests 2018-06-18 02:46:11 -04:00
Barış Soner Uşaklı
2c3fd5fbce remove some dupe code 2018-06-18 02:27:12 -04:00
Misty (Bot)
770fa3817d Latest translations and fallbacks 2018-06-17 09:29:01 +00:00
Barış Soner Uşaklı
250a4ae616 up dbsearch 2018-06-16 21:39:15 -04:00
Barış Soner Uşaklı
e8d7a23e2e remove deprecated methods 2018-06-16 05:32:17 -04:00
Barış Soner Uşaklı
2fd2accf8c add tests for top topics
fix popular page displaying 18 topics per page
2018-06-15 15:23:30 -04:00
Dravere
956aa55253 Added server hook action:analytics.increment 2018-06-15 15:00:57 -04:00
Barış Soner Uşaklı
b71d64e8c3 remove fake pubsub 2018-06-15 14:17:09 -04:00
Barış Soner Uşaklı
a531bcb01e remove node_modules cache 2018-06-15 13:41:50 -04:00
Barış Soner Uşaklı
017b10d5d6 closes #6544 2018-06-15 12:35:49 -04:00
Julian Lam
1f8b4bf820 closes #6576 2018-06-15 11:33:59 -04:00
Barış Soner Uşaklı
4684ab3bf6 suggest topic test 2018-06-14 17:55:19 -04:00
Barış Soner Uşaklı
c3fc4a06bf test sortedSetUnion with scores 2018-06-14 17:24:29 -04:00
Barış Soner Uşaklı
81341e86ee log fired hooks 2018-06-13 11:43:51 -04:00
Dravere
17e7fe3070 Fixed wrong callback given to groups.join 2018-06-13 10:23:04 -04:00
Barış Soner Uşaklı
e7cd552e33 closes #6568 2018-06-12 16:05:26 -04:00
Misty (Bot)
7d34fa5a3a Latest translations and fallbacks 2018-06-12 09:30:45 +00:00
Julian Lam
9e90d1ea5d closes #6557 2018-06-11 16:45:25 -04:00
Barış Soner Uşaklı
4293403451 #6535, use templateToRender clientside if its avaiable 2018-06-11 12:17:24 -04:00
Barış Soner Uşaklı
c91b96c133 use data.roomName 2018-06-11 11:47:25 -04:00
Peter Jaszkowiak
70ff2d9b88 Support scoped theme packages 2018-06-11 10:10:16 -04:00
Barış Soner Uşaklı
d656c65c9a closes #6567 prevent crash if category is undefined 2018-06-10 10:28:21 -04:00
Misty (Bot)
67c0f02243 Latest translations and fallbacks 2018-06-09 09:29:06 +00:00
Barış Soner Uşaklı
274b33e9e1 move addPostData before modifyPostPrivilege 2018-06-08 17:46:49 -04:00
Barış Soner Uşaklı
acf2f2a776 move modifyPostByPrivilege call before filtering posts so index is correct 2018-06-08 17:39:17 -04:00
Julian Lam
8d41e319ea fixed tests 2018-06-08 16:17:17 -04:00
Julian Lam
cb3b2bd27b closes #6562 2018-06-08 16:01:33 -04:00
Barış Soner Uşaklı
a37dc1856f #6561 2018-06-08 13:53:55 -04:00
Barış Soner Uşaklı
0c60351960 add error log for invalid clientIP 2018-06-08 13:19:12 -04:00
Julian Lam
8e832abf1e additional tests for post diffs privilege checking 2018-06-08 11:52:40 -04:00
Julian Lam
176c455152 bump mentions 2018-06-08 11:52:40 -04:00
Julian Lam
29af1e06cd bump themes 2018-06-07 15:37:20 -04:00
Julian Lam
510dd268cc fix tests 2018-06-07 14:00:51 -04:00
Julian Lam
99dc3feeb2 Edit history is now a category-level privilege
Closes #6425
2018-06-07 14:00:51 -04:00
Barış Soner Uşaklı
b2d7455f72 set isPrimary to true if its undefined
isPrimary was undefined if you are using clustering by adding
isCluster:true to config.json, run 1 nodebb process on each virtual
machine and use app.js instead of loader.js
2018-06-07 13:10:17 -04:00
Julian Lam
f51bab5d86 fixing incorrect moderate privilege label and pushing to tx config 2018-06-07 11:42:53 -04:00
Julian Lam
e02def1372 bump mentions
julianlam/nodebb-plugin-markdown#89
2018-06-07 10:51:56 -04:00
Barış Soner Uşaklı
0630915cad when settings are saved publish it to all nodes
add runJobs value to nconf, only true on nodes that should run jobs ie
isPrimary and jobs are not disabled
2018-06-06 19:55:15 -04:00
Barış Soner Uşaklı
779d03cf57 move timestamp to server 2018-06-06 16:21:48 -04:00
Barış Soner Uşaklı
5287c2ea08 #6554 2018-06-06 15:46:43 -04:00
Barış Soner Uşaklı
d040544773 fix clicking topics after merge modal is closed 2018-06-06 13:16:04 -04:00
Barış Soner Uşaklı
14f6e74bad closes #6556 2018-06-06 13:11:48 -04:00
Misty (Bot)
db1d10cf4c Latest translations and fallbacks 2018-06-06 09:32:03 +00:00
Julian Lam
ec91ef1c64 closes #6553 2018-06-05 16:01:43 -04:00
Barış Soner Uşaklı
f3c8074668 closes #6552 2018-06-05 13:43:34 -04:00
Barış Soner Uşaklı
9da3be5af6 up vanilla 2018-06-04 12:18:59 -04:00
Misty (Bot)
ec147d0b8b Latest translations and fallbacks 2018-06-04 09:29:06 +00:00
Julian Lam
a3e724e134 resolve window opener being set if ajaxify overrides on external link 2018-06-03 22:00:02 -04:00
Barış Soner Uşaklı
11233b1651 up lavender 2018-06-03 16:10:18 -04:00
Barış Soner Uşaklı
908b77fe28 closes #6250 2018-06-03 15:44:48 -04:00
Barış Soner Uşaklı
b2d5551960 remove deprecated method 2018-06-03 15:06:49 -04:00
Barış Soner Uşaklı
a1e933537b remove deprecated method 2018-06-03 15:04:25 -04:00
Barış Soner Uşaklı
45cc30a91b remove deprecated code
unread counts are loaded on cold load
2018-06-03 15:03:45 -04:00
Barış Soner Uşaklı
b7f5995aab closes #6550 2018-06-03 14:54:25 -04:00
Barış Soner Uşaklı
0b0ce1df8a closes #6549 2018-06-03 14:46:23 -04:00
Barış Soner Uşaklı
25ebd306cc closes #6548 2018-06-03 14:37:23 -04:00
Barış Soner Uşaklı
2edd908aee closes #6547 2018-06-03 14:31:02 -04:00
Barış Soner Uşaklı
f77e7de285 closes #6067 2018-06-03 14:25:27 -04:00
Barış Soner Uşaklı
d60d03d00f closes #6542 2018-06-02 15:56:23 -04:00
Barış Soner Uşaklı
d5e85c2eb3 closes #6476, closes #6546 2018-06-02 15:54:32 -04:00
Misty (Bot)
af58717d9c Latest translations and fallbacks 2018-06-02 09:28:35 +00:00
Andrew Rodrigues
902a4746f2 up persona 2018-06-01 18:40:44 -04:00
Julian Lam
6ce635deb5 closes #6539 2018-06-01 15:15:57 -04:00
Barış Soner Uşaklı
d31d8fa806 move category pageview to controllers
so topic views are tracked as category views
2018-06-01 14:57:59 -04:00
Barış Soner Uşaklı
1d5a0eaf13 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	install/package.json
2018-06-01 14:43:06 -04:00
Barış Soner Uşaklı
f0a538bd4a closes #6536 2018-06-01 14:38:43 -04:00
Julian Lam
07b0e39218 closes #6537 via nodebb/nodebb-plugin-composer-default@7e6fd71 2018-06-01 14:15:27 -04:00
Barış Soner Uşaklı
7df57ba7a7 remove dupe code 2018-06-01 13:12:32 -04:00
Julian Lam
4e7fdf3e12 Saving flag filters into session object
Closes #6533
2018-06-01 12:35:17 -04:00
Barış Soner Uşaklı
4f893d2aff closes #6535 2018-06-01 08:23:25 -04:00
Barış Soner Uşaklı
b0dad9bd7f closes #6369 2018-05-31 15:05:12 -04:00
Barış Soner Uşaklı
4f4290b15d rename upgrade folder 2018-05-31 10:34:38 -04:00
Barış Soner Uşaklı
6dc7a6cbd3 up persona 2018-05-31 09:43:00 -04:00
Misty (Bot)
b293e0ba52 Latest translations and fallbacks 2018-05-31 09:29:35 +00:00
Barış Soner Uşaklı
81328806a0 closes #6511 2018-05-31 00:16:56 -04:00
Julian Lam
3688840f1f using modal-unfocused instead, so regular modals still appear on-top of composer
_now_ it closes #6532
2018-05-30 20:29:27 -04:00
Julian Lam
2f73c939b2 dependency changes to close #6532 2018-05-30 16:50:11 -04:00
Julian Lam
8164a52fc4 no longer using bringModalToTop, in favour of taskbar modal focused class
re: #6532
2018-05-30 16:50:11 -04:00
Julian Lam
32edfb6c5a updating chat logic to save uuid in data-uuid attr instead of uuid attr 2018-05-30 16:50:11 -04:00
Barış Soner Uşaklı
7a1888dfbf closes #6514 2018-05-30 16:29:44 -04:00
Julian Lam
6cb41e6358 update dependencies 2018-05-30 15:46:20 -04:00
Julian Lam
a19b5477c4 removed gitter badge 2018-05-30 15:16:53 -04:00
Jared Dillard
117c313791 Remove ReadTheDocs.org badge from README
According to the docs, it is no longer hosted there.
2018-05-30 15:12:49 -04:00
Barış Soner Uşaklı
11bb2f1560 closes #6528 2018-05-30 14:21:03 -04:00
Barış Soner Uşaklı
d7acec260f closes #6530 2018-05-30 13:01:35 -04:00
Barış Soner Uşaklı
6940612688 closes #6410 2018-05-29 10:28:02 -04:00
Misty (Bot)
97c52f4ce3 Latest translations and fallbacks 2018-05-29 09:28:38 +00:00
Barış Soner Uşaklı
5bb908b836 fix lang strings 2018-05-28 13:46:26 -04:00
Barış Soner Uşaklı
6eea11a4fd closes #6529 2018-05-28 13:30:11 -04:00
Barış Soner Uşaklı
c38751cec3 update travis.yml
only use mongodb or redis
2018-05-28 11:46:12 -04:00
Barış Soner Uşaklı
a7267df404 closes #6464 2018-05-28 11:29:41 -04:00
Misty (Bot)
19491b5210 Latest translations and fallbacks 2018-05-28 09:29:01 +00:00
Barış Soner Uşaklı
c1fb3c2da4 closes #6525 2018-05-27 12:45:33 -04:00
Barış Soner Uşaklı
e96b2a4d2a up composer 2018-05-27 12:21:03 -04:00
Barış Soner Uşaklı
9edf87a1ba up composer 2018-05-27 10:06:35 -04:00
Misty (Bot)
990c5b50a8 Latest translations and fallbacks 2018-05-27 09:28:18 +00:00
Barış Soner Uşaklı
6b36593427 up themes for #6524 2018-05-26 16:53:23 -04:00
Barış Soner Uşaklı
4504bbae52 2 diff test 2018-05-26 13:50:31 -04:00
Barış Soner Uşaklı
fc56347c22 closes #6520 2018-05-26 13:12:33 -04:00
Barış Soner Uşaklı
229e49cf8f closes #6523, closes #6524 2018-05-26 12:49:29 -04:00
Barış Soner Uşaklı
65dc530df5 some controller tests 2018-05-26 11:13:49 -04:00
Misty (Bot)
170eb1d689 Latest translations and fallbacks 2018-05-26 09:28:30 +00:00
Barış Soner Uşaklı
d977934c66 adjust username test 2018-05-25 19:05:18 -04:00
Barış Soner Uşaklı
a90020aaa4 update nodejs test versions 2018-05-25 12:09:49 -04:00
Barış Soner Uşaklı
8e8058ec6e closes #6497 2018-05-25 12:09:27 -04:00
Barış Soner Uşaklı
8263f81d0c fix pubsub when only mongodb is used 2018-05-25 11:56:40 -04:00
Misty (Bot)
6d155ded11 Latest translations and fallbacks 2018-05-25 09:29:15 +00:00
Julian Lam
23f84f53c2 fix subfolder url for web installer 2018-05-24 16:01:08 -04:00
Misty (Bot)
b1e20ad3f1 Latest translations and fallbacks 2018-05-24 09:29:28 +00:00
Misty (Bot)
f9fc68fa2a Incremented version number - v1.9.3 2018-05-23 17:40:46 -04:00
Barış Soner Uşaklı
667630ff5d closes #6450 2018-05-23 17:17:57 -04:00
Barış Soner Uşaklı
7ade82a9eb change mubsub 2018-05-23 14:34:06 -04:00
Barış Soner Uşaklı
e50302505b dont show form if installing 2018-05-23 13:47:49 -04:00
Barış Soner Uşaklı
4e495adcd7 add installing notice and refresh 2018-05-23 13:43:25 -04:00
Barış Soner Uşaklı
a48c0a4c3d if installing show working icon on refresh 2018-05-23 12:51:31 -04:00
Barış Soner Uşaklı
085034a103 store success error for page reloads 2018-05-23 12:39:04 -04:00
Barış Soner Uşaklı
c2f088cb61 dont install multiple times 2018-05-23 11:40:03 -04:00
Misty (Bot)
d856c1af86 Latest translations and fallbacks 2018-05-23 09:29:03 +00:00
Julian Lam
be1a977c71 fix post export crashing if a pid reference doesn't resolve to an actual post object 2018-05-22 14:45:42 -04:00
Misty (Bot)
01daf4b662 Latest translations and fallbacks 2018-05-22 09:30:50 +00:00
Misty (Bot)
ec831a7355 Latest translations and fallbacks 2018-05-21 09:29:16 +00:00
Misty (Bot)
c881341437 Latest translations and fallbacks 2018-05-20 09:28:16 +00:00
Barış Soner Uşaklı
cba5aa975e return early if there are no files 2018-05-19 12:58:04 -04:00
Misty (Bot)
85000fa820 Latest translations and fallbacks 2018-05-19 09:29:56 +00:00
Barış Soner Uşaklı
619b74ca7b move regex out 2018-05-18 17:28:54 -04:00
Barış Soner Uşaklı
e29e0a98f5 closes #6515 2018-05-18 11:21:12 -04:00
Barış Soner Uşaklı
3875908fa4 up themes 2018-05-18 08:41:25 -04:00
Misty (Bot)
f8e6a8d02a Latest translations and fallbacks 2018-05-18 09:29:20 +00:00
Misty (Bot)
594c390fe2 Latest translations and fallbacks 2018-05-17 09:29:45 +00:00
Barış Soner Uşaklı
871cbedac1 dont require meta before db.init 2018-05-16 15:53:54 -04:00
Misty (Bot)
51b763550f Incremented version number - v1.9.2 2018-05-16 19:02:47 +00:00
Julian Lam
9eff1519d3 Display proper info for redis in info command, show graph of pageviews
from last 24 hours
2018-05-16 14:41:57 -04:00
Misty (Bot)
7e24d2ec70 Latest translations and fallbacks 2018-05-16 09:29:13 +00:00
Julian Lam
542f8e6e15 added back install.overrides 2018-05-15 15:45:58 -04:00
Barış Soner Uşaklı
cefab04a63 use different event names for each call of getTotalGuestCount 2018-05-15 15:27:44 -04:00
Julian Lam
943d33ed09 closes #6502, also fixed issue with type: 'literal' in config.json 2018-05-15 15:26:06 -04:00
Julian Lam
87a5e777f1 closes #6495 2018-05-15 14:14:37 -04:00
Barış Soner Uşaklı
41b4caa62d closes #6509 2018-05-15 11:05:28 -04:00
Misty (Bot)
aec330e761 Latest translations and fallbacks 2018-05-15 09:29:49 +00:00
Julian Lam
9b592c2ed1 prettify last restart date in acp just a bit 2018-05-14 14:13:46 -04:00
Julian Lam
ea5476fd62 actually adding fallbacks, closes #6505 2018-05-14 13:52:08 -04:00
Julian Lam
81f0edee2c fallbacks for admins-mods.json, closes #6505 2018-05-14 13:51:32 -04:00
Misty (Bot)
c1770e07ae Latest translations and fallbacks 2018-05-14 09:28:52 +00:00
Misty (Bot)
adbcda382b Latest translations and fallbacks 2018-05-13 09:27:53 +00:00
Misty (Bot)
e87b380c8a Latest translations and fallbacks 2018-05-12 09:28:01 +00:00
Julian Lam
896a5325a5 added gdpr check socket method 2018-05-11 12:18:51 -04:00
Julian Lam
71c8a78748 updated properties to match other similar calls
re: #6501
2018-05-11 10:26:53 -04:00
Julian Lam
5eeec6f470 closes #6501 2018-05-11 10:25:12 -04:00
Misty (Bot)
46b4b716f2 Latest translations and fallbacks 2018-05-11 09:28:09 +00:00
Barış Soner Uşaklı
3b5d6951bb closes #6499 2018-05-10 16:31:16 -04:00
Julian Lam
91e6f79f08 Revert "bump mongo dependency" -- we weren't ready for this yet!
This reverts commit ea083c3474.
2018-05-10 15:52:48 -04:00
Julian Lam
ea083c3474 bump mongo dependency 2018-05-10 15:50:19 -04:00
Julian Lam
b53a193919 bump some more deps 2018-05-10 15:45:51 -04:00
Julian Lam
1e2d48556b bump dependencies versions 2018-05-10 15:41:09 -04:00
Misty (Bot)
3e3bcc25e7 Incremented version number - v1.9.1 2018-05-10 15:01:26 +00:00
NodeBB Misty
dff96aa596 Latest translations and fallbacks 2018-05-10 14:29:38 +00:00
Julian Lam
ac914c1ced bump widget essentials 2018-05-10 10:02:53 -04:00
Barış Soner Uşaklı
95928b4721 up widget-essentials 2018-05-10 09:37:08 -04:00
Misty (Bot)
dae1e2697e Latest translations and fallbacks 2018-05-10 09:27:35 +00:00
Barış Soner Uşaklı
82840c9903 up composer default 2018-05-09 14:43:08 -04:00
Julian Lam
d648e55493 closes #6494 2018-05-09 13:09:33 -04:00
Misty (Bot)
f124ab667e Latest translations and fallbacks 2018-05-09 09:28:05 +00:00
Julian Lam
d1fd07f42f remove console.log, #6486 2018-05-08 16:19:33 -04:00
Julian Lam
18bde866ff Append file name to the JSON payload returned
... during file upload process... closes #6486
2018-05-08 16:18:28 -04:00
Julian Lam
24d14e8559 bump markdown 2018-05-08 15:29:22 -04:00
Barış Soner Uşaklı
cc3569bf51 closes #6491 2018-05-08 13:33:30 -04:00
Julian Lam
f2d3111114 disable strict checking of object schema in post upload CSV generation, #6490 2018-05-08 10:01:39 -04:00
Misty (Bot)
56e6d6199b Latest translations and fallbacks 2018-05-08 09:27:23 +00:00
Barış Soner Uşaklı
4ee2284066 closes #6489 2018-05-07 12:23:08 -04:00
Misty (Bot)
501cb2c086 Latest translations and fallbacks 2018-05-07 09:27:15 +00:00
Misty (Bot)
65eb47a2a7 Latest translations and fallbacks 2018-05-06 09:27:13 +00:00
Misty (Bot)
2b59a4c799 Latest translations and fallbacks 2018-05-05 09:26:39 +00:00
Julian Lam
8e275df803 closes #6487 2018-05-04 12:39:00 -04:00
Barış Soner Uşaklı
96d2980472 fix updrade error if file is not found closes #6485 2018-05-03 16:06:56 -04:00
Julian Lam
4b25414c0b one more check 2018-05-03 12:13:42 -04:00
Julian Lam
9751c4b8db reworked logic in user.blocks.filter 2018-05-03 12:06:01 -04:00
Julian Lam
341a8d5046 guard against crashes if set is null or not passed in 2018-05-03 11:45:22 -04:00
Misty (Bot)
6dbe0b68e1 Incremented version number - v1.9.0 2018-05-02 19:26:22 +00:00
Julian Lam
44f8e6d3bb Revert "closes #6483"
This reverts commit 5d198491d5.
2018-05-02 14:03:47 -04:00
Julian Lam
445b92ae38 Revert "fix some tests"
This reverts commit 2551df80f7.
2018-05-02 14:03:39 -04:00
Barış Soner Uşaklı
cdc3ef09e9 closes #6481 2018-05-02 13:49:08 -04:00
Barış Soner Uşaklı
1f8b000530 log and show last restart on ACP dashboard 2018-05-02 13:38:36 -04:00
Julian Lam
2551df80f7 fix some tests 2018-05-02 13:37:58 -04:00
Julian Lam
5d198491d5 closes #6483 2018-05-02 13:13:15 -04:00
Julian Lam
99f1a5380e closes #6483 2018-05-02 13:02:18 -04:00
Barış Soner Uşaklı
9132743870 #6481 2018-05-02 12:43:13 -04:00
Misty (Bot)
d42ffdae77 Latest translations and fallbacks 2018-05-02 09:25:39 +00:00
Julian Lam
c9d8fc3f58 one more minor fix to req.flash err 2018-05-01 15:25:11 -04:00
Julian Lam
4533a311e1 possible fix to req.flash err crash 2018-05-01 15:21:15 -04:00
Julian Lam
e7300fb0e6 closes #6437 2018-05-01 14:58:34 -04:00
Julian Lam
3b9f246b38 updated right to erasure description 2018-05-01 14:57:56 -04:00
Misty (Bot)
d2cfef677a Latest translations and fallbacks 2018-05-01 09:25:08 +00:00
Julian Lam
43ffe3f9b5 updated text and fallbacks for #6479 2018-04-30 13:01:05 -04:00
Julian Lam
083ff9f637 bump themes, closes #6479 2018-04-30 12:51:10 -04:00
Julian Lam
178d4b2f92 don't allow room owner to kick themselves out 2018-04-30 12:49:42 -04:00
Julian Lam
5dc25a3c00 Merge remote-tracking branch 'origin/master' into chat-kick-support 2018-04-30 12:43:49 -04:00
Julian Lam
a08572b800 kick support for chats, #6479 2018-04-30 12:35:17 -04:00
Misty (Bot)
054755d3d4 Latest translations and fallbacks 2018-04-30 09:25:50 +00:00
Barış Soner Uşaklı
8ed86aaf13 closes #6476 2018-04-29 19:32:39 -04:00
Misty (Bot)
f6fdf27b14 Latest translations and fallbacks 2018-04-29 09:25:12 +00:00
Barış Soner Uşaklı
beadcd7857 fix tests, remove dupe exposeUid 2018-04-28 10:25:17 -04:00
Misty (Bot)
1e63d32e78 Latest translations and fallbacks 2018-04-28 09:25:00 +00:00
Julian Lam
30cdeb6f32 closes #6463 2018-04-27 16:03:40 -04:00
Julian Lam
dc386b5b23 Merge branch 'master' into user-blocking 2018-04-27 15:58:04 -04:00
Julian Lam
a0643b63df uncommenting tests again 2018-04-27 15:55:36 -04:00
Julian Lam
21b621e91b bumping theme versions for develop merge 2018-04-27 15:40:12 -04:00
Julian Lam
53296c46e5 Merge remote-tracking branch 'origin/master' into develop 2018-04-27 15:37:58 -04:00
Julian Lam
4bac78a568 wrapping up basic blocking UCP for #6463 2018-04-27 15:37:00 -04:00
Julian Lam
8db98b5cf4 additional UCP integration for #6463 2018-04-27 12:51:04 -04:00
Julian Lam
fdc30537cb Merge remote-tracking branch 'origin/master' into user-blocking 2018-04-27 10:55:50 -04:00
Barış Soner Uşaklı
7c43c7e0f9 closes #6473 2018-04-26 14:38:36 -04:00
Barış Soner Uşaklı
bc18b489e6 fix group test 2018-04-26 12:42:19 -04:00
Barış Soner Uşaklı
9ae5946e7a Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2018-04-26 12:17:51 -04:00
Barış Soner Uşaklı
7e00d6b91e https://github.com/NodeBB/NodeBB/issues/6433 2018-04-26 12:16:22 -04:00
Barış Soner Uşaklı
896b8553f7 up composer 2018-04-26 12:01:51 -04:00
Julian Lam
3951bb9532 Merge remote-tracking branch 'origin/master' into user-blocking 2018-04-26 09:59:37 -04:00
Barış Soner Uşaklı
505e511e4d fix tests 2018-04-25 13:21:39 -04:00
Barış Soner Uşaklı
adf9d8eb83 closes #6469 2018-04-25 12:45:25 -04:00
Barış Soner Uşaklı
14914b7610 handle missing config.json 2018-04-24 13:26:08 -04:00
Julian Lam
7089e5c6a6 Merge remote-tracking branch 'origin/master' into develop 2018-04-24 11:55:17 -04:00
Barış Soner Uşaklı
5461f9fa5f don't crash if there is no pluginData 2018-04-24 10:26:23 -04:00
Julian Lam
58ca093c28 closes #6408 2018-04-24 10:11:53 -04:00
Julian Lam
f0f30041f5 re: #6408 2018-04-24 10:11:53 -04:00
Andrew Rodrigues
73bc96528a better to use theme_templates_path instead 2018-04-23 17:21:49 -04:00
Andrew Rodrigues
1c09094011 show success alert + rebuild msg when ordering plugins 2018-04-23 17:18:31 -04:00
Andrew Rodrigues
ebd0899714 closes #6471 2018-04-23 17:11:35 -04:00
Julian Lam
9eac794e8e normalising behaviour for subfolder installs, #6410 2018-04-23 16:05:37 -04:00
Barış Soner Uşaklı
6659a520e0 closes #6465 2018-04-22 09:10:02 -04:00
Misty (Bot)
bb3f98eb05 Latest translations and fallbacks 2018-04-21 09:26:25 +00:00
Julian Lam
ca932d30d2 basic UCP integration #6463 2018-04-20 15:04:42 -04:00
Julian Lam
4f6cc20457 completed basic integration for #6463 2018-04-20 14:48:10 -04:00
Julian Lam
322d8236d2 added test for User.blocks.is, re: #6463 2018-04-20 14:15:52 -04:00
Julian Lam
032ec8b443 tests!!! glorious tests!!!
re: #6463
2018-04-20 14:12:15 -04:00
Julian Lam
a367b698e3 a bit more integration for #6463 2018-04-20 13:49:23 -04:00
Julian Lam
bfee23adee basic methods and initial integration for #6463 2018-04-20 12:20:48 -04:00
Julian Lam
877b45ab00 adding old path to uploads as well, to ajaxify shirt-circuit 2018-04-20 10:35:54 -04:00
Misty (Bot)
03758a41c3 Latest translations and fallbacks 2018-04-20 09:26:33 +00:00
Julian Lam
bdbdf510e0 closes #6462 2018-04-19 14:24:01 -04:00
Misty (Bot)
2482696e35 Latest translations and fallbacks 2018-04-19 09:26:18 +00:00
Andrew Rodrigues
a3224cc4ba added missing language key 2018-04-18 18:04:05 -04:00
Andrew Rodrigues
0971625e63 allow global mods to still login locally as well as admins if disabled in ACP 2018-04-18 17:59:38 -04:00
Misty (Bot)
b188ff6f26 Latest translations and fallbacks 2018-04-18 09:26:19 +00:00
Julian Lam
1f1e055509 updated post association code to only associate files that exist, closes #6455 2018-04-17 13:31:54 -04:00
Julian Lam
fc3ecedf7c Merge remote-tracking branch 'origin/master' into develop 2018-04-17 11:33:53 -04:00
Julian Lam
777d9aeee6 implement proper file sorting by mtime in ACP uploads 2018-04-17 11:33:41 -04:00
Julian Lam
388765bdf9 added post usage column to uploads ACP page
re: #6455
2018-04-17 11:25:11 -04:00
Julian Lam
03dd9dd49b fixed up relative pathing issue in ACP uploads again 2018-04-17 08:58:44 -04:00
Julian Lam
360fb69723 upload script for #6455, @psychobunny 2018-04-16 17:00:25 -04:00
Julian Lam
364ded4f8e Merge remote-tracking branch 'origin/master' into develop 2018-04-16 16:53:33 -04:00
Julian Lam
5420c4bb68 fix relative_path issue with uploads ACP page 2018-04-16 16:52:59 -04:00
Julian Lam
0f13ae3c87 added isOrphan method, #6455 2018-04-16 16:44:17 -04:00
Julian Lam
2e125293e6 save reverse association of md5 of upload to pid, #6455 2018-04-16 16:22:20 -04:00
Julian Lam
d25ab31427 proper handling of extensionless files 2018-04-16 15:36:59 -04:00
Julian Lam
850f59a1ae additional functionality, integration, and testing for #6455 2018-04-16 15:21:48 -04:00
Julian Lam
5943389b7a tests for #6455 2018-04-16 12:46:25 -04:00
Misty (Bot)
7cfc74eeba Latest translations and fallbacks 2018-04-16 09:26:29 +00:00
Misty (Bot)
5151b8523a Latest translations and fallbacks 2018-04-14 09:26:03 +00:00
Barış Soner Uşaklı
7b93de2731 increase post cache size 2018-04-13 18:16:47 -04:00
Barış Soner Uşaklı
4109f2c142 add filter:email.params 2018-04-13 17:57:40 -04:00
Barış Soner Uşaklı
501d02220c closes #6456 2018-04-13 17:09:46 -04:00
Julian Lam
551daa141b basic methods for #6455 2018-04-13 16:12:11 -04:00
Julian Lam
a4dc62c7c7 closes #6441 2018-04-13 12:33:51 -04:00
Julian Lam
67dec83011 profile export for #6441 + integration 2018-04-13 12:18:02 -04:00
Julian Lam
a6564b7b4e endpoint to download user attachments, #6441 2018-04-13 11:58:31 -04:00
Misty (Bot)
bdd693c989 Latest translations and fallbacks 2018-04-13 09:26:41 +00:00
Julian Lam
6088c37f5a Revert "fixing tests"
Turns out baris already fixed them

This reverts commit 3bc0266aa4.
2018-04-12 19:59:28 -04:00
Julian Lam
3bc0266aa4 fixing tests 2018-04-12 19:58:40 -04:00
Andrew Rodrigues
305f4676a0 bump emoji 2018-04-12 17:35:36 -04:00
Barış Soner Uşaklı
1cda38541a up dbsearch 2018-04-12 14:05:18 -04:00
Barış Soner Uşaklı
ed289ebeab two more text fixes 2018-04-12 13:28:18 -04:00
Julian Lam
65c8457898 fixing tests that broke due to gdpr requirement 2018-04-12 12:51:52 -04:00
Barış Soner Uşaklı
5d2a7106f6 change upload storage 2018-04-12 12:35:05 -04:00
Barış Soner Uşaklı
3fb28e9246 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2018-04-12 12:16:22 -04:00
Julian Lam
0de40188f1 Add build/export to repo 2018-04-12 11:09:30 -04:00
Julian Lam
ee78e874dc add archiver dependency 2018-04-12 10:53:55 -04:00
Julian Lam
6d61fcbe83 bump mentions 2018-04-12 10:38:52 -04:00
Misty (Bot)
d94e3d5640 Latest translations and fallbacks 2018-04-12 09:26:58 +00:00
Barış Soner Uşaklı
4cd0020584 closes #6449 2018-04-11 16:38:58 -04:00
Julian Lam
7ba2ac9f69 Merge remote-tracking branch 'origin/master' into develop 2018-04-11 16:30:03 -04:00
Julian Lam
90a99fe158 closes #6442 2018-04-11 15:02:48 -04:00
Julian Lam
8fcf57dfad stripped double relative path from og urls, #6442 2018-04-11 14:41:10 -04:00
Barış Soner Uşaklı
bb13c4948d closes #6448 2018-04-11 13:18:52 -04:00
Julian Lam
2b35ba8376 save package_manager into config.json if set in setup.json 2018-04-11 11:53:33 -04:00
Julian Lam
9d8dc6f589 encode user agent in request sent to github to retrieve tags 2018-04-11 10:51:57 -04:00
Misty (Bot)
8e19f11a0c Latest translations and fallbacks 2018-04-11 09:27:24 +00:00
Peter Jaszkowiak
ce09813bf0 Show failed minify file and fix username editing privilege (#6445)
* Fix global mods and admins being unable to change usernames

* Message file which failed to minify
2018-04-10 16:06:25 -04:00
Julian Lam
2e6e7f7484 posts export endpoint for GDPR, re: #6441 2018-04-10 15:59:24 -04:00
Andrew Rodrigues
de9f429b89 prepopulate traffic graph datepicker to make life easier 2018-04-10 15:17:08 -04:00
Julian Lam
f216991cf1 bump composer for nodebb/nodebb#6418 2018-04-10 18:54:32 +00:00
Barış Soner Uşaklı
1606944f71 up dbsearch 2018-04-10 14:26:53 -04:00
Barış Soner Uşaklı
47bfd81886 up dbsearch 2018-04-10 13:44:25 -04:00
Misty (Bot)
22281d4552 Latest translations and fallbacks 2018-04-10 09:26:39 +00:00
Barış Soner Uşaklı
ef99ef86a4 fix lang-key 2018-04-09 20:23:36 -04:00
Barış Soner Uşaklı
927537c759 #6431 add private upload info 2018-04-09 20:22:36 -04:00
Barış Soner Uşaklı
b35bfb81ce ability to delete uploads from account page #6431 2018-04-09 20:03:33 -04:00
Julian Lam
f9f75c6b43 fix accidental client-side invocation of post history controls if it was disabled via ACP 2018-04-09 16:02:29 -04:00
Julian Lam
8e822c7772 Added user consent pages (#6430)
- "Your Rights & Consent" user settings page
2018-04-09 12:23:53 -04:00
Andrew Rodrigues
d949aeed49 reposition legend in fs mode 2018-04-09 12:12:10 -04:00
Andrew Rodrigues
bdf67bd1c4 fix for large resolutions 2018-04-09 12:01:57 -04:00
Andrew Rodrigues
5e74e45c5a because ms edge. 2018-04-09 11:55:35 -04:00
Andrew Rodrigues
67c8d4b560 maximize graph w/ fullscreen API 2018-04-09 11:50:30 -04:00
Misty (Bot)
8764f1f190 Latest translations and fallbacks 2018-04-09 09:26:32 +00:00
Misty (Bot)
d9c9679310 Latest translations and fallbacks 2018-04-08 09:26:23 +00:00
Misty (Bot)
d8958bb8df Latest translations and fallbacks 2018-04-07 09:26:23 +00:00
Barış Soner Uşaklı
7cd004ca23 user uploads route 2018-04-06 15:42:53 -04:00
Barış Soner Uşaklı
04979f86a8 delete users uploads on account delete
store uid:<uid>:uploads
2018-04-06 15:16:28 -04:00
Barış Soner Uşaklı
ddd3dfc7f0 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2018-04-06 12:18:41 -04:00
Barış Soner Uşaklı
09ef3999b0 fix lint 2018-04-06 11:59:22 -04:00
Barış Soner Uşaklı
c42ab5a97a up mentions 2018-04-06 11:40:52 -04:00
Barış Soner Uşaklı
a4c24cb66b fix saving multiple selects as json arrays 2018-04-06 11:39:19 -04:00
Julian Lam
c6c31e9e5f a tiny bit of work to make our casing a little less insane 2018-04-06 11:22:08 -04:00
Barış Soner Uşaklı
0d64ca1f97 closes #6436 2018-04-06 10:42:11 -04:00
Julian Lam
e9ed7f0bb3 closes #6435 2018-04-06 10:16:26 -04:00
Misty (Bot)
339c359816 Latest translations and fallbacks 2018-04-06 09:26:44 +00:00
Barış Soner Uşaklı
aef788f3ee remove unused var 2018-04-05 17:09:14 -04:00
Julian Lam
13a3f44ed3 closes #6432 2018-04-05 16:53:12 -04:00
Barış Soner Uşaklı
47606c8df5 merge 2018-04-05 16:46:32 -04:00
Julian Lam
3b57d3eadb closes #6434 2018-04-05 14:35:49 -04:00
Barış Soner Uşaklı
0070f5c1b2 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2018-04-05 12:34:38 -04:00
Barış Soner Uşaklı
50f4fd5345 remove dupe code in minify_js 2018-04-05 11:34:33 -04:00
Misty (Bot)
647f1bb3ed Latest translations and fallbacks 2018-04-05 09:27:08 +00:00
Julian Lam
b2c69805f3 bump composer-default 2018-04-04 20:37:15 -04:00
Julian Lam
697699f969 updated password reset send success text 2018-04-04 20:37:15 -04:00
Misty (Bot)
ed5c92b16e Incremented version number - v1.8.2 2018-04-04 19:47:11 +00:00
Misty (Bot)
f4aae44c02 Latest translations and fallbacks 2018-04-04 17:51:51 +00:00
Julian Lam
f769e734ed removed error output from user reset for rate limiting or incorrect email, so users cannot validate emails via this endpoint 2018-04-04 13:09:53 -04:00
Julian Lam
9c4d17dbf1 bump composer-default, fixes #6423 2018-04-04 12:26:06 -04:00
Barış Soner Uşaklı
76eccaa602 closes #6424 2018-04-04 11:39:29 -04:00
Julian Lam
56f24452c2 bump slick theme 2018-04-04 10:56:03 -04:00
Julian Lam
5593a3e9ad bump themes 2018-04-03 17:23:20 -04:00
Barış Soner Uşaklı
8b16a63cc2 closes #6419 2018-04-03 15:45:32 -04:00
Barış Soner Uşaklı
11b15872d6 lint 2018-04-03 15:22:20 -04:00
Barış Soner Uşaklı
244eb4df2e up composer 2018-04-03 15:16:45 -04:00
Barış Soner Uşaklı
d8e75351df up themes 2018-04-03 14:24:56 -04:00
Barış Soner Uşaklı
caf43e3025 closes #6358 2018-04-03 14:20:07 -04:00
Barış Soner Uşaklı
df770aed8e closes #6416 2018-04-02 12:48:26 -04:00
Julian Lam
113fed05d8 closes #6412 2018-04-02 12:29:22 -04:00
Julian Lam
9641ada53c fixes #6415 2018-04-02 12:28:20 -04:00
Julian Lam
2f0f1481f6 closes #6414 2018-04-02 10:44:23 -04:00
Julian Lam
c1aa46c663 added new option to disable post diffs /cc @BenLubar 2018-04-02 10:04:54 -04:00
Misty (Bot)
6ebfeaade2 Latest translations and fallbacks 2018-04-02 09:26:24 +00:00
Misty (Bot)
59509daf42 Latest translations and fallbacks 2018-04-01 09:26:21 +00:00
Misty (Bot)
0b7d802265 Latest translations and fallbacks 2018-03-30 09:27:00 +00:00
Misty (Bot)
9c5a4792f7 Latest translations and fallbacks 2018-03-29 09:26:35 +00:00
Misty (Bot)
14c4d9c624 Latest translations and fallbacks 2018-03-28 09:26:59 +00:00
Barış Soner Uşaklı
37d018944a up dbsearch 2018-03-27 20:53:34 -04:00
Barış Soner Uşaklı
749b282cdd add matchwords to search api 2018-03-27 20:32:57 -04:00
Barış Soner Uşaklı
60f8870b72 pass template to widget container parse 2018-03-27 18:58:23 -04:00
Barış Soner Uşaklı
2faaf5b35f closes https://github.com/julianlam/nodebb-plugin-mentions/issues/99 2018-03-27 17:01:51 -04:00
Misty (Bot)
cca9c6408b Latest translations and fallbacks 2018-03-27 09:26:33 +00:00
Peter Jaszkowiak
c93651b2d1 Fix alternate config file support (#6405) 2018-03-26 16:25:19 -04:00
Baris Usakli
46576189be closes #6392 2018-03-26 16:22:13 -04:00
Peter Jaszkowiak
968d5e441f Fix rebuild ACP alert not working sometimes (#6403) 2018-03-26 15:53:07 -04:00
Peter Jaszkowiak
a00f1f9a81 Use uglify-es for ES6 support (#6402) 2018-03-26 15:37:53 -04:00
Timothy Fike
585d613d4b fix reload actions (#6394)
* fix reload actions

* wait until restart action is complete instead of using timeouts.

* Change Reload nominclature to Rebuild and Restart.
2018-03-26 15:17:40 -04:00
Julian Lam
0158b1aa91 Various password logic fixes on client and server-side
Fixes #6399
Fixes #6400
2018-03-26 12:55:50 -04:00
Baris Usakli
5c8bf3ce95 add missing radix 2018-03-26 12:45:17 -04:00
Julian Lam
9aa9183cc3 implementing zxcvbn in reset-code tpl, re: #6400 2018-03-26 12:35:51 -04:00
Baris Usakli
59dc4024b9 guests should be offline 2018-03-26 12:05:42 -04:00
Peter Jaszkowiak
dcf1865b54 Fix ACP alerts to use same system as client (#6396)
* Fix PostCSS warning message

* Fix disconnect indicator styling

Would increase size of quick actions when active

* Use same alert system in ACP and client

- Remove snackbar
- Add styling and fix template for ACP (based on Persona)
2018-03-26 11:55:01 -04:00
Misty (Bot)
dae6acda82 Latest translations and fallbacks 2018-03-26 09:26:19 +00:00
Barış Soner Uşaklı
6ebaa800fe fix popular cache for guests 2018-03-23 21:22:34 -04:00
Barış Soner Uşaklı
5281b84521 add missing translation 2018-03-23 14:27:14 -04:00
Barış Soner Uşaklı
b1ccd04ffc closes #6386 2018-03-23 11:27:09 -04:00
Barış Soner Uşaklı
2cbae54025 fix focus 2018-03-23 10:26:45 -04:00
Barış Soner Uşaklı
51bd30fe92 closes #6385 2018-03-23 10:04:30 -04:00
Barış Soner Uşaklı
e1df8bd0f0 closes #6390 2018-03-23 09:48:24 -04:00
Misty (Bot)
1cc2a0cc2f Latest translations and fallbacks 2018-03-23 09:26:26 +00:00
Julian Lam
da328662c5 don't flatten arrays, stringify them, in installer 2018-03-22 19:35:58 -04:00
Barış Soner Uşaklı
b6a917ed10 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-03-22 18:46:40 -04:00
Barış Soner Uşaklı
fbed4c056e show env vars passed to setup 2018-03-22 18:45:00 -04:00
Julian Lam
7fe0c3b468 bump emoji plugin 2018-03-22 18:37:33 -04:00
Barış Soner Uşaklı
e77fd85585 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-03-22 18:36:40 -04:00
Barış Soner Uşaklı
925d858fe6 dont json.parse if already array 2018-03-22 18:33:35 -04:00
Anil Mandepudi
d1dbe0af76 up slick theme (#6383) 2018-03-22 17:40:52 -04:00
Barış Soner Uşaklı
40d5b4f8ba change to eachSeries 2018-03-22 17:02:39 -04:00
Barış Soner Uşaklı
77d47b31fb cleanly shutdown
wait for webserver to stop accepting connections
destroy current connections
wait for db connection to close
2018-03-22 16:36:23 -04:00
Julian Lam
1d42d1a6d2 moving expected location of setup.json to root 2018-03-22 14:50:39 -04:00
Barış Soner Uşaklı
c9a989f656 up dbsearch 2018-03-22 11:22:52 -04:00
Julian Lam
e8d4fe3209 Revert "closes #6380"
Turns out the issue was a malformed flag object, and not anything
code-wise

This reverts commit 956c5a2a32.
2018-03-22 09:58:09 -04:00
Julian Lam
956c5a2a32 closes #6380 2018-03-22 09:14:37 -04:00
Misty (Bot)
a0c3e9dd92 Latest translations and fallbacks 2018-03-22 09:26:23 +00:00
Barış Soner Uşaklı
f85a2f71c0 up persona 2018-03-21 20:42:27 -04:00
Julian Lam
741693bc1f closes #6378 2018-03-21 17:00:49 -04:00
Misty (Bot)
e76c85b224 Incremented version number - v1.8.1 2018-03-21 15:50:14 -04:00
Baris Usakli
06db1694b8 up dbsearch 2018-03-21 12:56:51 -04:00
Baris Usakli
3c4b4f5263 don't call calback twice #6375 2018-03-21 12:25:25 -04:00
Baris Usakli
bf770636c5 closes #6377 2018-03-21 12:00:15 -04:00
Barış Soner Uşaklı
75e2ab8957 remove unnecessary code 2018-03-21 10:09:09 -04:00
Barış Soner Uşaklı
ae0f1847ae allow multiple origins for access-control-allow-origin header
add access-control-allow-credentials header to acp
2018-03-20 12:25:00 -04:00
Julian Lam
ae46ec0cae fix tests, #6368 2018-03-20 11:55:24 -04:00
Julian Lam
ebc67185c3 closes #6368 2018-03-20 10:55:35 -04:00
Julian Lam
bf2e905ced fixed tests, closes #6371 2018-03-20 10:32:53 -04:00
Julian Lam
9e44fc6ae2 fixes #6371 2018-03-20 08:41:49 -04:00
Peter Jaszkowiak
eaae5b52cd ACP quick actions (#6374)
* ACP quick actions

- Moved restart, build & restart, and logout into separate buttons
- Moved buttons on mobile into the side menu
- Added version and upgrade alert to header / mobile menu
- Moved version checking to server-side with a cache for rate limiting
- Changed "reload" translations to "rebuild and restart"

* Change info alert to black-on-white to match focused search bar

* Fix tests

* Fallback for failed fetch of latest version
2018-03-20 08:32:17 -04:00
Julian Lam
81e085bb9d bump mentions, julianlam/nodebb-plugin-mentions#97 2018-03-20 08:22:06 -04:00
Misty (Bot)
4d09d467f7 Latest translations and fallbacks 2018-03-20 09:27:01 +00:00
Barış Soner Uşaklı
dcb6af5768 closes #6373 2018-03-19 16:24:22 -04:00
Misty (Bot)
6f044ce8d3 Latest translations and fallbacks 2018-03-18 09:26:18 +00:00
Barış Soner Uşaklı
fde44cb9b9 pass array to groups.destroy
pass array to db.sortedSetRemove
2018-03-17 19:55:23 -04:00
Barış Soner Uşaklı
55b872fe3e add check 2018-03-17 19:17:19 -04:00
Barış Soner Uşaklı
be5c237388 fix decr/incrObjectField if key in array doesn't exist create it 2018-03-17 19:08:52 -04:00
Barış Soner Uşaklı
6a9a73c86c changes to leaveAllGroups
Groups.destroy can take an array of groupnames
Groups.leave can take an array of groupnames
db.incrObjectField/decrObjectField can take an array of keys
db.sortedSetRemove can take an array of keys and values
db.setRemove can take an array of keys
2018-03-17 18:49:38 -04:00
Misty (Bot)
ed3dd1cc25 Latest translations and fallbacks 2018-03-17 09:25:58 +00:00
Barış Soner Uşaklı
cfedcf7e0b check username 2018-03-16 20:58:11 -04:00
Barış Soner Uşaklı
fe18a12ee0 if object doesn't exist user doesn't exist 2018-03-16 20:49:45 -04:00
Barış Soner Uşaklı
2d7d4a3fb4 use setsRemove 2018-03-16 19:23:06 -04:00
Barış Soner Uşaklı
7221b71b68 add test for srem with multi elements 2018-03-16 19:07:37 -04:00
Julian Lam
1e01af4d89 closes #6366 2018-03-16 16:49:06 -04:00
Barış Soner Uşaklı
8b615c64fa move emailsPath to function 2018-03-16 11:26:26 -04:00
Misty (Bot)
29a3d8bd53 Latest translations and fallbacks 2018-03-16 09:26:18 +00:00
Julian Lam
a1338221bf codeclimate made me make my code ugly 😢 2018-03-15 16:03:29 -04:00
Julian Lam
9197879291 fixes #6359 2018-03-15 15:53:52 -04:00
Julian Lam
693c7a3b85 fix 'invalid date' in post history dropdown, #6362 2018-03-15 15:48:25 -04:00
Julian Lam
5d2e6f0e8e Squashed commit of the following:
commit 7bd46afad7033a466626826d3e29610f41328510
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:41:36 2018 -0400

    fixes #6363

commit 4b755d5801b2f6d70cea10516f88392708c72f61
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:24:12 2018 -0400

    fixes #6362

commit 6035e75453a08aee0fef7ff59d57dd5c1e8f4ac9
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:07:23 2018 -0400

    Fixes #6361
2018-03-15 15:42:20 -04:00
Baris Usakli
8492a1586f closes #6360 2018-03-15 15:05:44 -04:00
Baris Usakli
9747c39cd7 up composer-default 2018-03-15 13:44:48 -04:00
Baris Usakli
29b7c67946 use utils.toISOString 2018-03-15 12:43:11 -04:00
Baris Usakli
a48144e632 dont crash if description is numeric 2018-03-15 12:40:43 -04:00
Baris Usakli
38acedf5bb lint 2018-03-15 12:18:54 -04:00
Baris Usakli
959a742c63 add llen to dbal 2018-03-15 12:06:40 -04:00
Julian Lam
fd13f690ae bump themes to resolve backward text on mobile chat, #6192 2018-03-15 10:57:36 -04:00
Misty (Bot)
f56e244ba1 Latest translations and fallbacks 2018-03-15 09:26:14 +00:00
Misty (Bot)
43e914c91d Incremented version number - v1.8.0 2018-03-14 19:58:38 -04:00
Julian Lam
4d9e2b1160 fixes #6354 2018-03-12 12:50:12 -04:00
Julian Lam
9ea6dbc0e7 fix flag tests 2018-03-09 14:31:59 -05:00
Julian Lam
a126f07471 closes #6043 2018-03-09 12:57:52 -05:00
Barış Soner Uşaklı
db2cd527a1 up vanilla 2018-03-01 09:38:16 -05:00
Barış Soner Uşaklı
e1c6761087 closes #6258 2018-02-28 17:38:31 -05:00
Barış Soner Uşaklı
245e1a9159 closes #6334 2018-02-28 16:32:39 -05:00
Barış Soner Uşaklı
7b45a6ea8b Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2018-02-28 16:08:25 -05:00
4246 changed files with 142671 additions and 80859 deletions

View File

@@ -1,8 +1,30 @@
# Save as .codeclimate.yml (note leading .) in project root directory
version: "2"
languages:
Ruby: true
Ruby: false
JavaScript: true
PHP: true
PHP: false
checks:
file-lines:
config:
threshold: 500
method-lines:
config:
threshold: 50
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/*"

View File

@@ -7,7 +7,6 @@ node_modules/
logs/
/public/templates
/public/uploads
/public/sounds
/public/vendor
/public/src/modules/string.js
.idea/
@@ -18,3 +17,4 @@ logs/
/build
.eslintrc
test/files
*.min.js

187
.eslintrc
View File

@@ -5,128 +5,111 @@
},
"rules": {
// Customized
// === Configure rules for our style ===
// imports must be resolvable
"import/no-unresolved": "error",
// use single quotes,
// unless a different style allows avoiding escapes
"quotes": ["error", "single", {
"avoidEscape": true,
"allowTemplateLiterals": true
}],
// allow else-if return
"no-else-return": [ "error", { "allowElseIf": true } ],
// expressions split over multiple lines
// should break after the operator
"operator-linebreak": [ "error", "after" ],
// require arrow parens only when needed
// and whenever the body is a block
"arrow-parens": ["error", "as-needed", { "requireForBlockBody": true }],
// what variables are errors in callbacks
"handle-callback-err": [ "error","^(e$|(e|(.*(_e|E)))rr)" ],
// allow dangling commas in functions
// require them everywhere else
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
"functions": "only-multiline"
}],
// we actually encourage `return await`
"no-return-await": "off",
// allow `while (true)`
"no-constant-condition": ["error", { "checkLoops": false }],
// allow ignoring an error with `catch`
"no-empty": ["error", { "allowEmptyCatch": true }],
"no-underscore-dangle": "off",
"newline-per-chained-call": "off",
"no-console": "off",
// allow `3 + 5 - 1`, but not `3 * 5 - 1`
"no-mixed-operators": ["error", { "allowSamePrecedence": true }],
// require `'use strict';`
"strict": ["error", "global"],
"consistent-return": "off",
"func-names": "off",
// we actually use tabs for indentation
"indent": ["error", "tab", { "SwitchCase": 1 }],
"no-tabs": "off",
"indent": ["error", "tab"],
// we want `== null` to also handle undefined
"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",
// allow `for (..; i++)`
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"object-curly-newline": "off",
"no-restricted-globals": "off",
"function-paren-newline": "off",
"import/no-unresolved": "error",
// allow using functions defined later
"no-use-before-define": ["error", "nofunc"],
// require consistent newlines before and after braces
// if contents are multiline
"object-curly-newline": ["error", { "consistent": true, "multiline": true }],
// require consistent linebreaks inline function parenthesis (arguments or params)
"function-paren-newline": ["error", "consistent"],
// only require const if all parts of destructuring can be const
"prefer-const": ["error", { "destructuring": "all" }],
// don't require destructuring for arrays or assignment
"prefer-destructuring": ["error", {
"VariableDeclarator": { "array": false, "object": true },
"AssignmentExpression": { "array": false, "object": false }
}],
// identical to airbnb rule, except for allowing for..of, because we want to use it
"no-restricted-syntax": [
"error",
{
"selector": "ForInStatement",
"message": "for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array."
},
{
"selector": "LabeledStatement",
"message": "Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand."
},
{
"selector": "WithStatement",
"message": "`with` is disallowed in strict mode because it makes code impossible to predict and optimize."
}
],
// allow lines of up to 120 characters
"max-len": ["error", { "code": 120, "tabWidth": 2, "ignoreUrls": true, "ignoreStrings": true, "ignoreTemplateLiterals": true, "ignoreRegExpLiterals": true }],
// ES6
"prefer-rest-params": "off",
"prefer-spread": "off",
"prefer-arrow-callback": "off",
"prefer-template": "off",
"no-var": "off",
// === Disable rules ===
// more liberal naming
"camelcase": "off",
"no-underscore-dangle": "off",
// don't require anonymous function names
"func-names": "off",
// allow console
"no-console": "off",
// allow new for side effects
// allow new with non-capitalized
"no-new": "off",
"new-cap": "off",
// allow shadowing variables (usually callbacks)
"no-shadow": "off",
// allow multiple empty lines in a row
"no-multiple-empty-lines": "off",
// allow not using object shorthand
"object-shorthand": "off",
"vars-on-top": "off",
"prefer-destructuring": "off",
// TODO
"consistent-return": "off",
"no-restricted-globals": "off",
"no-prototype-builtins": "off",
"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"
"default-case": "off"
}
}

View File

@@ -9,14 +9,20 @@
- **NodeBB version:**
- **NodeBB git hash:**
- **NodeJS version:**
<!-- (to find your git hash, execute `git rev-parse HEAD` from the main NodeBB directory) -->
- **Database type:** mongo or redis
- **Installed NodeBB Plugins:**
<!-- (to find installed plugins run ./nodebb plugins) -->
- **Database type:** mongo, redis, or postgres
- **Database version:**
<!-- `mongod --version` or `redis-server --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...
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.
-->
- **What you expected:**
<!-- e.g. I expected *abc* to *xyz* -->

9
.github/SECURITY.md vendored Normal file
View File

@@ -0,0 +1,9 @@
# Reporting a security vulnerability
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.
# 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

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

@@ -0,0 +1,204 @@
name: Lint and test
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
defaults:
run:
shell: bash
jobs:
test:
name: Lint and test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [12, 14]
database: [mongo-dev, mongo, redis, postgres]
include:
# only run coverage once
- os: ubuntu-latest
node: 14
coverage: true
# test under development once
- database: mongo-dev
test_env: development
# only run eslint once
- os: ubuntu-latest
node: 14
database: mongo-dev
lint: true
runs-on: ${{ matrix.os }}
env:
TEST_ENV: ${{ matrix.test_env || 'production' }}
services:
postgres:
image: 'postgres:10-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:2.8.9'
# 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.2'
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@1.1.3
if: matrix.coverage
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ${{ matrix.os }}-node-${{ matrix.node }}-db-${{ matrix.database }}
parallel: true
finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true

6
.gitignore vendored
View File

@@ -1,3 +1,4 @@
dist/
yarn.lock
npm-debug.log
node_modules/
@@ -27,7 +28,6 @@ pidfile
# templates
/public/templates
/public/sounds
/public/uploads
/test/uploads
@@ -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
@@ -61,9 +62,10 @@ tx.exe
coverage
.nyc_output
build
*.log
test/files/normalise.jpg.png
test/files/normalise-resized.jpg
package-lock.json
/package.json
*.mongodb
link-plugins.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

@@ -4,6 +4,8 @@
"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

4
.mocharc.yml Normal file
View File

@@ -0,0 +1,4 @@
reporter: dot
timeout: 25000
exit: true
bail: true

View File

@@ -1,37 +0,0 @@
services:
- mongodb
- redis-server
before_install:
- cp install/package.json package.json
cache:
directories:
- node_modules
before_script:
- sleep 15 # wait for mongodb to be ready
- 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,\\\"redis:host\\\":\\\"127.0.0.1\\\",\\\"redis:port\\\":6379,\\\"redis:password\\\":\\\"\\\",\\\"redis:database\\\":0,\\\"admin:username\\\":\\\"admin\\\",\\\"admin:email\\\":\\\"test@example.org\\\",\\\"admin:password\\\":\\\"abcdef\\\",\\\"admin:password:confirm\\\":\\\"abcdef\\\"}\" --ci=\"{\\\"host\\\":\\\"127.0.0.1\\\",\\\"port\\\":27017,\\\"database\\\":0}\"; fi"
- sh -c "if [ '$DB' = 'redis' ]; then node app --setup=\"{\\\"url\\\":\\\"http://127.0.0.1:4567\\\",\\\"secret\\\":\\\"abcdef\\\",\\\"database\\\":\\\"redis\\\",\\\"mongo:host\\\":\\\"127.0.0.1\\\",\\\"mongo:port\\\":27017,\\\"mongo:username\\\":\\\"\\\",\\\"mongo:password\\\":\\\"\\\",\\\"mongo:database\\\":0,\\\"redis:host\\\":\\\"127.0.0.1\\\",\\\"redis:port\\\":6379,\\\"redis:password\\\":\\\"\\\",\\\"redis:database\\\":0,\\\"admin:username\\\":\\\"admin\\\",\\\"admin:email\\\":\\\"test@example.org\\\",\\\"admin:password\\\":\\\"abcdef\\\",\\\"admin:password:confirm\\\":\\\"abcdef\\\"}\" --ci=\"{\\\"host\\\":\\\"127.0.0.1\\\",\\\"port\\\":6379,\\\"database\\\":0}\"; fi"
after_success:
- "npm run coveralls"
language: node_js
sudo: false
dist: trusty
env:
- CXX=g++-4.8 DB=mongodb
- CXX=g++-4.8 DB=redis
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- mongodb-3.4-trusty
packages:
- g++-4.8
- mongodb-org-server
node_js:
- "9"
- "8"
- "7"
- "6"
branches:
only:
- master
- develop

1058
.tx/config

File diff suppressed because it is too large Load Diff

4903
CHANGELOG.md Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,20 +1,22 @@
# The base image is the latest 8.x node (LTS)
FROM node:8.9.0
FROM node:lts
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
ARG NODE_ENV
ENV NODE_ENV $NODE_ENV
COPY install/package.json /usr/src/app/package.json
RUN npm install && npm cache clean --force
RUN npm install --only=prod && \
npm cache clean --force
COPY . /usr/src/app
ENV NODE_ENV=production \
daemon=false \
silent=false
CMD ./nodebb start
EXPOSE 4567
# the default port for NodeBB is exposed outside the container
EXPOSE 4567
CMD node ./nodebb build ; node ./nodebb start

View File

@@ -1,94 +1,89 @@
'use strict';
var fork = require('child_process').fork;
var env = process.env;
var worker;
var updateWorker;
var initWorker;
var incomplete = [];
var running = 0;
const path = require('path');
const nconf = require('nconf');
nconf.argv().env({
separator: '__',
});
const winston = require('winston');
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);
const db = require('./src/database');
module.exports = function (grunt) {
var args = [];
var initArgs = ['--build'];
const args = [];
if (!grunt.option('verbose')) {
args.push('--log-level=info');
initArgs.push('--log-level=info');
}
function update(action, filepath, target) {
var updateArgs = args.slice();
var compiling;
var time = Date.now();
if (target === 'lessUpdated_Client') {
compiling = 'clientCSS';
} else if (target === 'lessUpdated_Admin') {
compiling = 'acpCSS';
} else if (target === 'clientUpdated') {
compiling = 'js';
} else if (target === 'templatesUpdated') {
compiling = 'tpl';
} else if (target === 'langUpdated') {
compiling = 'lang';
} else if (target === 'serverUpdated') {
// Do nothing, just restart
}
if (compiling && incomplete.indexOf(compiling) === -1) {
incomplete.push(compiling);
}
updateArgs.push('--build');
updateArgs.push(incomplete.join(','));
worker.kill();
if (updateWorker) {
updateWorker.kill('SIGKILL');
}
updateWorker = fork('app.js', updateArgs, { env: env });
running += 1;
updateWorker.on('exit', function () {
running -= 1;
if (running === 0) {
worker = fork('app.js', args, {
env: env,
});
worker.on('message', function () {
if (incomplete.length) {
incomplete = [];
if (grunt.option('verbose')) {
grunt.log.writeln('NodeBB restarted in ' + (Date.now() - time) + ' ms');
}
}
});
}
});
nconf.set('log-level', 'info');
}
prestart.setupWinston();
grunt.initConfig({
watch: {
lessUpdated_Client: {
watch: {},
});
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['watch']);
grunt.registerTask('init', async function () {
const done = this.async();
let plugins = [];
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');
}
if (!plugins.includes('nodebb-theme-persona')) {
plugins.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_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`);
grunt.config(['watch'], {
styleUpdated_Client: {
files: [
'public/less/*.less',
'!public/less/admin/**/*.less',
'node_modules/nodebb-*/**/*.less',
'!node_modules/nodebb-*/node_modules/**',
'!node_modules/nodebb-*/.git/**',
'public/less/**/*.less',
...styleUpdated_Client,
],
options: {
interval: 1000,
},
},
lessUpdated_Admin: {
styleUpdated_Admin: {
files: [
'public/less/admin/**/*.less',
'node_modules/nodebb-*/**/*.less',
'!node_modules/nodebb-*/node_modules/**',
'!node_modules/nodebb-*/.git/**',
'public/less/**/*.less',
...styleUpdated_Admin,
],
options: {
interval: 1000,
@@ -97,17 +92,25 @@ module.exports = function (grunt) {
clientUpdated: {
files: [
'public/src/**/*.js',
'node_modules/nodebb-*/**/*.js',
'!node_modules/nodebb-*/node_modules/**',
'public/vendor/**/*.js',
...clientUpdated,
'node_modules/benchpressjs/build/benchpress.js',
'!node_modules/nodebb-*/.git/**',
],
options: {
interval: 1000,
},
},
serverUpdated: {
files: ['*.js', 'install/*.js', 'src/**/*.js'],
files: [
'app.js',
'install/*.js',
'src/**/*.js',
'public/src/modules/translator.js',
'public/src/modules/helpers.js',
'public/src/utils.js',
serverUpdated,
'!src/upgrades/**',
],
options: {
interval: 1000,
},
@@ -115,9 +118,7 @@ module.exports = function (grunt) {
templatesUpdated: {
files: [
'src/views/**/*.tpl',
'node_modules/nodebb-*/**/*.tpl',
'!node_modules/nodebb-*/node_modules/**',
'!node_modules/nodebb-*/.git/**',
...templatesUpdated,
],
options: {
interval: 1000,
@@ -127,40 +128,89 @@ module.exports = function (grunt) {
files: [
'public/language/en-GB/*.json',
'public/language/en-GB/**/*.json',
'node_modules/nodebb-*/**/*.json',
'!node_modules/nodebb-*/node_modules/**',
'!node_modules/nodebb-*/.git/**',
'!node_modules/nodebb-*/plugin.json',
'!node_modules/nodebb-*/package.json',
'!node_modules/nodebb-*/theme.json',
...langUpdated,
],
options: {
interval: 1000,
},
},
},
});
const build = require('./src/meta/build');
if (!grunt.option('skip')) {
await build.build(true);
}
run();
done();
});
grunt.loadNpmTasks('grunt-contrib-watch');
function run() {
if (worker) {
worker.kill();
}
grunt.registerTask('default', ['watch']);
env.NODE_ENV = 'development';
const execArgv = [];
const inspect = process.argv.find(a => a.startsWith('--inspect'));
if (inspect) {
execArgv.push(inspect);
}
if (grunt.option('skip')) {
worker = fork('app.js', args, {
env: env,
});
} else {
initWorker = fork('app.js', initArgs, {
env: env,
});
initWorker.on('exit', function () {
worker = fork('app.js', args, {
env: env,
});
env,
execArgv,
});
}
grunt.event.on('watch', update);
grunt.task.run('init');
grunt.event.removeAllListeners('watch');
grunt.event.on('watch', (action, filepath, target) => {
let compiling;
if (target === 'styleUpdated_Client') {
compiling = 'clientCSS';
} else if (target === 'styleUpdated_Admin') {
compiling = 'acpCSS';
} else if (target === 'clientUpdated') {
compiling = 'js';
} else if (target === 'templatesUpdated') {
compiling = 'tpl';
} else if (target === 'langUpdated') {
compiling = 'lang';
} else if (target === 'serverUpdated') {
// empty require cache
const paths = ['./src/meta/build.js', './src/meta/index.js'];
paths.forEach(p => delete require.cache[require.resolve(p)]);
return run();
}
require('./src/meta/build').build([compiling], (err) => {
if (err) {
winston.error(err.stack);
}
if (worker) {
worker.send({ compiling: compiling });
}
});
});
};
function addBaseThemes(plugins) {
let themeId = plugins.find(p => p.includes('nodebb-theme-'));
if (!themeId) {
return plugins;
}
let baseTheme;
do {
try {
baseTheme = require(`${themeId}/theme`).baseTheme;
} catch (err) {
console.log(err);
}
if (baseTheme) {
plugins.push(baseTheme);
themeId = baseTheme;
}
} while (baseTheme);
return plugins;
}

View File

@@ -1,17 +1,16 @@
# <img alt="NodeBB" src="http://i.imgur.com/mYxPPtB.png" />
# ![NodeBB](public/images/logo.svg)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/NodeBB/NodeBB?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://travis-ci.org/NodeBB/NodeBB.svg?branch=master)](https://travis-ci.org/NodeBB/NodeBB)
[![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)
[![Documentation Status](https://readthedocs.org/projects/nodebb/badge/?version=latest)](https://readthedocs.org/projects/nodebb/?badge=latest)
[**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 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.
Additional functionality is enabled through the use of third-party plugins.
* [Demo & Meta Discussion](http://community.nodebb.org)
* [Demo](https://try.nodebb.org)
* [Developer Community](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)
@@ -42,7 +41,7 @@ Our minimalist "Persona" theme gets you going right away, no coding experience r
## 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 extention 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 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.
* 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.
@@ -50,8 +49,9 @@ Our minimalist "Persona" theme gets you going right away, no coding experience r
NodeBB requires the following software to be installed:
* A version of Node.js at least 6 or greater ([installation/upgrade instructions](https://github.com/nodesource/distributions))
* Redis, version 2.8.9 or greater **or** MongoDB, version 2.6 or greater
* 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
* 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

47
app.js
View File

@@ -19,42 +19,37 @@
'use strict';
if (require.main !== module) {
require.main.require = function (path) {
return require(path);
};
}
require('./require-main');
const nconf = require('nconf');
var nconf = require('nconf');
nconf.argv().env({
separator: '__',
});
var async = require('async');
var winston = require('winston');
var path = require('path');
const winston = require('winston');
const path = require('path');
var file = require('./src/file');
const file = require('./src/file');
process.env.NODE_ENV = process.env.NODE_ENV || 'production';
global.env = process.env.NODE_ENV || 'production';
// Alternate configuration file support
var configFile = path.join(__dirname, 'config.json');
const configFile = path.resolve(__dirname, nconf.any(['config', 'CONFIG']) || 'config.json');
if (nconf.get('config')) {
configFile = path.resolve(__dirname, nconf.get('config'));
}
const configExists = file.existsSync(configFile) || (nconf.get('url') && nconf.get('secret') && nconf.get('database'));
var configExists = file.existsSync(configFile) || (nconf.get('url') && nconf.get('secret') && nconf.get('database'));
const prestart = require('./src/prestart');
var prestart = require('./src/prestart');
prestart.loadConfig(configFile);
prestart.versionCheck();
prestart.setupWinston();
prestart.versionCheck();
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('');
@@ -67,33 +62,21 @@ if (nconf.get('setup') || nconf.get('install')) {
} else if (nconf.get('upgrade')) {
require('./src/cli/upgrade').upgrade(true);
} else if (nconf.get('reset')) {
var options = {
require('./src/cli/reset').reset({
theme: nconf.get('t'),
plugin: nconf.get('p'),
widgets: nconf.get('w'),
settings: nconf.get('s'),
all: nconf.get('a'),
};
async.series([
async.apply(require('./src/cli/reset').reset, options),
require('./src/meta/build').buildAll,
], function (err) {
if (err) {
throw err;
}
process.exit(0);
});
} else if (nconf.get('activate')) {
require('./src/cli/manage').activate(nconf.get('activate'));
} else if (nconf.get('plugins')) {
require('./src/cli/manage').listPlugins();
} else if (nconf.get('build')) {
require('./src/meta/build').build(nconf.get('build'));
require('./src/cli/manage').build(nconf.get('build'));
} else if (nconf.get('events')) {
require('./src/cli/manage').listEvents();
} else {
require('./src/start').start();
}

4
build/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
*
*/
!export
!.gitignore

3
build/export/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
.
!.gitignore
!README

5
build/export/README Normal file
View File

@@ -0,0 +1,5 @@
This directory contains archives of user uploads that are prepared on-demand
when a user wants to retrieve a copy of their uploaded content.
You can delete the files in here at will. They will just be regenerated if
requested again.

26
commitlint.config.js Normal file
View File

@@ -0,0 +1,26 @@
'use strict';
module.exports = {
extends: ['@commitlint/config-angular'],
rules: {
'header-max-length': [1, 'always', 72],
'type-enum': [
2,
'always',
[
'breaking',
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test',
],
],
},
};

24
docker-compose.yml Normal file
View File

@@ -0,0 +1,24 @@
version: '3.5'
services:
node:
build: .
restart: unless-stopped
depends_on:
- db
expose:
- 4567 # use a reverse proxy like Traefik
db:
image: mongo:bionic
restart: unless-stopped
expose:
- 27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
volumes:
- mongo:/data/db
volumes:
mongo:

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

@@ -1,49 +1,162 @@
{
"title": "NodeBB",
"showSiteTitle": 1,
"defaultLang": "en-GB",
"loginDays": 14,
"loginSeconds": 0,
"loginAttempts": 5,
"lockoutDuration": 60,
"adminReloginDuration": 60,
"postDelay": 10,
"initialPostDelay": 10,
"newbiePostDelay": 120,
"postEditDuration": 0,
"newbiePostEditDuration": 3600,
"postDeleteDuration": 0,
"enablePostHistory": 1,
"postCacheSize": 10485760,
"disableChat": 0,
"chatEditDuration": 0,
"chatDeleteDuration": 0,
"chatMessageDelay": 200,
"notificationSendDelay": 60,
"newbiePostDelayThreshold": 3,
"postQueue": 0,
"postQueueReputationThreshold": 0,
"groupsExemptFromPostQueue": ["administrators", "Global Moderators"],
"minimumPostLength": 8,
"maximumPostLength": 32767,
"systemTags": "",
"minimumTagsPerTopic": 0,
"maximumTagsPerTopic": 5,
"minimumTagLength": 3,
"maximumTagLength": 15,
"allowGuestSearching": 0,
"allowTopicsThumbnail": 0,
"undoTimeout": 10000,
"allowTopicsThumbnail": 1,
"registrationType": "normal",
"allowLocalLogin": 1,
"registrationApprovalType": "normal",
"allowAccountDelete": 1,
"allowFileUploads": 0,
"allowedFileExtensions": "png,jpg,bmp",
"privateUploads": 0,
"allowedFileExtensions": "png,jpg,bmp,txt",
"uploadRateLimitThreshold": 10,
"uploadRateLimitCooldown": 60,
"allowUserHomePage": 1,
"allowMultipleBadges": 0,
"maximumFileSize": 2048,
"stripEXIFData": 1,
"resizeImageWidthThreshold": 2000,
"resizeImageWidth": 760,
"rejectImageWidth": 5000,
"rejectImageHeight": 5000,
"resizeImageQuality": 80,
"topicThumbSize": 512,
"minimumTitleLength": 3,
"maximumTitleLength": 255,
"minimumUsernameLength": 2,
"maximumUsernameLength": 16,
"minimumPasswordLength": 6,
"minimumPasswordStrength": 1,
"maximumSignatureLength": 255,
"maximumAboutMeLength": 1000,
"maximumUsersInChatRoom": 0,
"maximumChatMessageLength": 1000,
"maximumProfileImageSize": 256,
"maximumCoverImageSize": 2048,
"profileImageDimension": 200,
"profile:convertProfileImageToPNG": 0,
"profile:keepAllUserImages": 0,
"requireEmailConfirmation": 0,
"gdpr_enabled": 1,
"allowProfileImageUploads": 1,
"teaserPost": "last-reply",
"allowPrivateGroups": 1,
"unreadCutoff": 2,
"bookmarkThreshold": 5,
"topicsPerList": 20,
"autoDetectLang": 1,
"reputation:disabled": 0,
"downvote:disabled": 0,
"disableSignatures": 0,
"downvotesPerDay": 10,
"downvotesPerUserPerDay": 3,
"min:rep:downvote": 0,
"min:rep:flag": 0,
"min:rep:profile-picture": 0,
"min:rep:cover-picture": 0,
"min:rep:website": 0,
"min:rep:aboutme": 0,
"min:rep:signature": 0,
"flags:limitPerTarget": 0,
"notificationType_upvote": "notification",
"notificationType_new-topic": "notification",
"notificationType_new-reply": "notification",
"notificationType_post-edit": "notification",
"notificationType_follow": "notification",
"notificationType_new-chat": "notification",
"notificationType_group-invite": "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",
"notificationType_post-queue": "notification",
"notificationType_new-post-flag": "notification",
"notificationType_new-user-flag": "notification",
"topicStaleDays": 60,
"maxTopicsPerPage": 20,
"maxPostsPerPage": 20,
"topicsPerPage": 20,
"postsPerPage": 20,
"categoriesPerPage": 50,
"userSearchResultsPerPage": 50,
"maximumGroupNameLength": 255,
"maximumGroupTitleLength": 40,
"preventTopicDeleteAfterReplies": 0,
"feeds:disableSitemap": 0,
"feeds:disableRSS": 0,
"sitemapTopics": 500,
"maintenanceMode": 0,
"maintenanceModeStatus": 503,
"votesArePublic": 0,
"maximumInvites": 0,
"username:disableEdit": 0,
"email:disableEdit": 0,
"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,
"removeEmailNotificationImages": 0,
"inviteExpiration": 7,
"dailyDigestFreq": "off",
"digestHour": 17,
"passwordExpiryDays": 0,
"hsts-maxage": 31536000,
"hsts-subdomains": 0,
"hsts-preload": 0,
"hsts-enabled": 0,
"eventLoopCheckEnabled": 1,
"eventLoopLagThreshold": 100,
"eventLoopInterval": 500,
"onlineCutoff": 30,
"timeagoCutoff": 30,
"necroThreshold": 7,
"categoryWatchState": "watching",
"submitPluginUsage": 1,
"showAverageApprovalTime": 1,
"autoApproveTime": 0,
"maxUserSessions": 10,
"useCompression": 0,
"updateUrlWithPostIndex": 1,
"composer:showHelpTab": 1,
"composer:allowPluginHelp": 1,
"maxReconnectionAttempts": 5,
"reconnectionDelay": 1500
}

View File

@@ -15,9 +15,7 @@
"iconClass": "fa-inbox",
"textClass": "visible-xs-inline",
"text": "[[global:header.unread]]",
"properties": {
"loggedIn": true
}
"groups": ["registered-users"]
},
{
"route": "/recent",
@@ -66,9 +64,9 @@
"iconClass": "fa-cogs",
"textClass": "visible-xs-inline",
"text": "[[global:header.admin]]",
"groups": ["administrators"],
"properties": {
"targetBlank": false,
"adminOnly": true
"targetBlank": false
}
}
]

View File

@@ -1,51 +1,51 @@
'use strict';
var async = require('async');
var prompt = require('prompt');
var winston = require('winston');
const prompt = require('prompt');
const winston = require('winston');
var questions = {
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,
postgres: require('../src/database/postgres').questions,
};
module.exports = function (config, callback) {
async.waterfall([
function (next) {
winston.info('\nNow configuring ' + config.database + ' database:');
getDatabaseConfig(config, next);
},
function (databaseConfig, next) {
saveDatabaseConfig(config, databaseConfig, next);
},
], callback);
module.exports = async function (config) {
winston.info(`\nNow configuring ${config.database} database:`);
const databaseConfig = await getDatabaseConfig(config);
return saveDatabaseConfig(config, databaseConfig);
};
function getDatabaseConfig(config, callback) {
async function getDatabaseConfig(config) {
if (!config) {
return callback(new Error('aborted'));
throw new Error('invalid config, aborted');
}
if (config.database === 'redis') {
if (config['redis:host'] && config['redis:port']) {
callback(null, config);
} else {
prompt.get(questions.redis, callback);
return config;
}
return await promptGet(questions.redis);
} else if (config.database === 'mongo') {
if ((config['mongo:host'] && config['mongo:port']) || config['mongo:uri']) {
callback(null, config);
} else {
prompt.get(questions.mongo, callback);
return config;
}
} else {
return callback(new Error('unknown database : ' + config.database));
return await promptGet(questions.mongo);
} else if (config.database === 'postgres') {
if (config['postgres:host'] && config['postgres:port']) {
return config;
}
return await promptGet(questions.postgres);
}
throw new Error(`unknown database : ${config.database}`);
}
function saveDatabaseConfig(config, databaseConfig, callback) {
function saveDatabaseConfig(config, databaseConfig) {
if (!databaseConfig) {
return callback(new Error('aborted'));
throw new Error('invalid config, aborted');
}
// Translate redis properties into redis object
@@ -69,14 +69,23 @@ function saveDatabaseConfig(config, databaseConfig, callback) {
database: databaseConfig['mongo:database'],
uri: databaseConfig['mongo:uri'],
};
} else if (config.database === 'postgres') {
config.postgres = {
host: databaseConfig['postgres:host'],
port: databaseConfig['postgres:port'],
username: databaseConfig['postgres:username'],
password: databaseConfig['postgres:password'],
database: databaseConfig['postgres:database'],
ssl: databaseConfig['postgres:ssl'],
};
} else {
return callback(new Error('unknown database : ' + config.database));
throw new Error(`unknown database : ${config.database}`);
}
var allQuestions = questions.redis.concat(questions.mongo);
for (var x = 0; x < allQuestions.length; x += 1) {
const allQuestions = questions.redis.concat(questions.mongo).concat(questions.postgres);
for (let x = 0; x < allQuestions.length; x += 1) {
delete config[allQuestions[x].name];
}
callback(null, config);
return config;
}

View File

@@ -2,145 +2,184 @@
"name": "nodebb",
"license": "GPL-3.0",
"description": "NodeBB Forum",
"version": "1.7.5",
"version": "1.17.2",
"homepage": "http://www.nodebb.org",
"repository": {
"type": "git",
"url": "https://github.com/NodeBB/NodeBB/"
"type": "git",
"url": "https://github.com/NodeBB/NodeBB/"
},
"main": "app.js",
"scripts": {
"start": "node loader.js",
"lint": "eslint --cache ./nodebb .",
"pretest": "npm run lint",
"test": "nyc --reporter=html --reporter=text-summary mocha",
"coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage"
"start": "node loader.js",
"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": {
"exclude": [
"src/upgrades/*",
"test/*"
]
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
},
"dependencies": {
"ace-builds": "^1.2.9",
"async": "2.6.0",
"autoprefixer": "7.2.4",
"@adactive/bootstrap-tagsinput": "^0.8.2",
"ace-builds": "^1.4.12",
"archiver": "^5.2.0",
"async": "^3.2.0",
"autoprefixer": "10.3.1",
"bcryptjs": "2.4.3",
"benchpressjs": "^1.2.1",
"body-parser": "^1.18.2",
"bootstrap": "^3.3.7",
"chart.js": "^2.7.1",
"clipboard": "1.7.1",
"colors": "^1.1.2",
"compression": "^1.7.1",
"commander": "^2.12.2",
"connect-ensure-login": "^0.1.1",
"benchpressjs": "2.4.3",
"body-parser": "^1.19.0",
"bootbox": "5.5.2",
"bootstrap": "^3.4.1",
"chart.js": "^2.9.4",
"cli-graph": "^3.2.2",
"clipboard": "^2.0.6",
"colors": "^1.4.0",
"commander": "^7.1.0",
"compare-versions": "3.6.0",
"compression": "^1.7.4",
"connect-flash": "^0.1.1",
"connect-mongo": "2.0.1",
"connect-multiparty": "^2.1.0",
"connect-redis": "3.3.3",
"cookie-parser": "^1.4.3",
"cron": "^1.3.0",
"cropperjs": "^1.2.2",
"csurf": "^1.9.0",
"connect-mongo": "4.4.1",
"connect-multiparty": "^2.2.0",
"connect-pg-simple": "^6.2.1",
"connect-redis": "6.0.0",
"cookie-parser": "^1.4.5",
"cron": "^1.8.2",
"cropperjs": "^1.5.11",
"csurf": "^1.11.0",
"daemon": "^1.1.0",
"diff": "^3.4.0",
"express": "^4.16.2",
"express-session": "^1.15.6",
"express-useragent": "1.0.8",
"graceful-fs": "^4.1.11",
"helmet": "^3.11.0",
"html-to-text": "3.3.0",
"ipaddr.js": "^1.5.4",
"jimp": "0.2.28",
"jquery": "^3.2.1",
"jsesc": "2.5.1",
"json-2-csv": "^2.1.2",
"less": "^2.7.3",
"lodash": "^4.17.4",
"logrotate-stream": "^0.2.5",
"lru-cache": "4.1.1",
"diff": "^5.0.0",
"express": "^4.17.1",
"express-session": "^1.17.1",
"express-useragent": "^1.0.15",
"graceful-fs": "^4.2.6",
"helmet": "^4.4.1",
"html-to-text": "7.1.1",
"ipaddr.js": "^2.0.0",
"jquery": "3.6.0",
"jquery-deserialize": "2.0.0-rc1",
"jquery-form": "4.3.0",
"jquery-serializeobject": "1.0.0",
"jquery-ui": "1.12.1",
"jsesc": "3.0.2",
"json2csv": "5.0.6",
"jsonwebtoken": "^8.5.1",
"less": "^3.11.1",
"lodash": "^4.17.21",
"logrotate-stream": "^0.2.7",
"lru-cache": "6.0.0",
"material-design-lite": "^1.3.0",
"mime": "^2.2.0",
"mkdirp": "^0.5.1",
"mongodb": "2.2.33",
"morgan": "^1.9.0",
"mousetrap": "^1.6.1",
"mubsub": "^1.4.0",
"nconf": "^0.9.1",
"nodebb-plugin-composer-default": "6.0.16",
"nodebb-plugin-dbsearch": "2.0.9",
"nodebb-plugin-emoji": "^2.1.0",
"nodebb-plugin-emoji-android": "2.0.0",
"nodebb-plugin-markdown": "8.4.2",
"nodebb-plugin-mentions": "2.2.3",
"nodebb-plugin-soundpack-default": "1.0.0",
"nodebb-plugin-spam-be-gone": "0.5.3",
"nodebb-rewards-essentials": "0.0.11",
"nodebb-theme-lavender": "5.0.4",
"nodebb-theme-persona": "8.0.2",
"nodebb-theme-slick": "1.1.5",
"nodebb-theme-vanilla": "9.0.0",
"nodebb-widget-essentials": "4.0.2",
"nodemailer": "4.4.1",
"passport": "^0.4.0",
"mime": "^2.5.2",
"mkdirp": "^1.0.4",
"mongodb": "3.6.10",
"morgan": "^1.10.0",
"mousetrap": "^1.6.5",
"multiparty": "4.2.2",
"@nodebb/bootswatch": "3.4.2",
"nconf": "^0.11.2",
"nodebb-plugin-composer-default": "6.5.34",
"nodebb-plugin-dbsearch": "5.0.2",
"nodebb-plugin-emoji": "^3.5.0",
"nodebb-plugin-emoji-android": "2.0.5",
"nodebb-plugin-markdown": "8.14.2",
"nodebb-plugin-mentions": "2.13.11",
"nodebb-plugin-spam-be-gone": "0.7.9",
"nodebb-rewards-essentials": "0.1.5",
"nodebb-theme-lavender": "5.2.1",
"nodebb-theme-persona": "11.0.26",
"nodebb-theme-slick": "1.4.7",
"nodebb-theme-vanilla": "12.0.8",
"nodebb-widget-essentials": "5.0.4",
"nodemailer": "^6.5.0",
"nprogress": "0.2.0",
"passport": "^0.4.1",
"passport-http-bearer": "^1.0.1",
"passport-local": "1.0.0",
"postcss": "6.0.15",
"postcss-clean": "1.1.0",
"promise-polyfill": "^7.0.0",
"prompt": "^1.0.0",
"redis": "2.8.0",
"request": "2.83.0",
"rimraf": "2.6.2",
"pg": "^8.5.1",
"pg-cursor": "^2.5.2",
"postcss": "8.3.5",
"postcss-clean": "1.2.0",
"prompt": "^1.1.0",
"ioredis": "4.27.6",
"request": "2.88.2",
"request-promise-native": "^1.0.9",
"requirejs": "2.3.6",
"rimraf": "3.0.2",
"rss": "^1.2.2",
"sanitize-html": "^1.16.3",
"semver": "^5.4.1",
"serve-favicon": "^2.4.5",
"sitemap": "^1.13.0",
"socket.io": "2.0.4",
"socket.io-adapter-mongo": "^2.0.1",
"socket.io-client": "2.0.4",
"socket.io-redis": "5.2.0",
"socketio-wildcard": "2.0.0",
"spdx-license-list": "^3.0.1",
"spider-detector": "1.0.18",
"sanitize-html": "^2.3.2",
"semver": "^7.3.4",
"serve-favicon": "^2.5.0",
"sharp": "0.28.3",
"sitemap": "^7.0.0",
"slideout": "1.0.1",
"socket.io": "4.1.3",
"socket.io-adapter-cluster": "^1.0.1",
"socket.io-client": "4.1.3",
"@socket.io/redis-adapter": "7.0.0",
"sortablejs": "1.14.0",
"spdx-license-list": "^6.4.0",
"spider-detector": "2.0.0",
"textcomplete": "^0.18.0",
"textcomplete.contenteditable": "^0.1.1",
"timeago": "^1.6.7",
"tinycon": "0.6.8",
"toobusy-js": "^0.5.1",
"uglify-js": "^3.3.4",
"validator": "9.2.0",
"winston": "^2.4.0",
"uglify-es": "^3.3.9",
"validator": "13.6.0",
"visibilityjs": "2.0.2",
"winston": "3.3.3",
"xml": "^1.0.1",
"xregexp": "3.2.0",
"xregexp": "^5.0.1",
"yargs": "16.2.0",
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"coveralls": "^3.0.0",
"eslint": "^4.14.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0",
"grunt": "^1.0.1",
"grunt-contrib-watch": "^1.0.0",
"jsdom": "^11.5.1",
"mocha": "^4.1.0",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^11.4.1",
"smtp-server": "^3.4.1"
"@apidevtools/swagger-parser": "10.0.2",
"@commitlint/cli": "12.1.4",
"@commitlint/config-angular": "12.1.4",
"coveralls": "3.1.1",
"eslint": "7.30.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-plugin-import": "2.23.4",
"grunt": "1.4.1",
"grunt-contrib-watch": "1.1.0",
"husky": "6.0.0",
"jsdom": "16.6.0",
"lint-staged": "11.0.1",
"mocha": "8.4.0",
"mocha-lcov-reporter": "1.3.0",
"mockdate": "3.0.5",
"nyc": "15.1.0",
"smtp-server": "3.9.0"
},
"bugs": {
"url": "https://github.com/NodeBB/NodeBB/issues"
"url": "https://github.com/NodeBB/NodeBB/issues"
},
"engines": {
"node": ">=6"
"node": ">=12"
},
"maintainers": [
{
"name": "Andrew Rodrigues",
"email": "andrew@nodebb.org",
"url": "https://github.com/psychobunny"
},
{
"name": "Julian Lam",
"email": "julian@nodebb.org",
"url": "https://github.com/julianlam"
},
{
"name": "Barış Soner Uşaklı",
"email": "baris@nodebb.org",
"url": "https://github.com/barisusakli"
}
{
"name": "Andrew Rodrigues",
"email": "andrew@nodebb.org",
"url": "https://github.com/psychobunny"
},
{
"name": "Julian Lam",
"email": "julian@nodebb.org",
"url": "https://github.com/julianlam"
},
{
"name": "Barış Soner Uşaklı",
"email": "baris@nodebb.org",
"url": "https://github.com/barisusakli"
}
]
}
}

View File

@@ -1,73 +1,105 @@
'use strict';
var winston = require('winston');
var express = require('express');
var bodyParser = require('body-parser');
var fs = require('fs');
var path = require('path');
var childProcess = require('child_process');
var less = require('less');
var async = require('async');
var uglify = require('uglify-js');
var nconf = require('nconf');
var _ = require('lodash');
var Benchpress = require('benchpressjs');
const winston = require('winston');
const express = require('express');
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');
var app = express();
var server;
const lessRenderAsync = util.promisify(
(style, opts, cb) => less.render(String(style), opts, cb)
);
const uglify = require('uglify-es');
const nconf = require('nconf');
winston.add(winston.transports.File, {
filename: 'logs/webinstall.log',
colorize: true,
timestamp: function () {
var date = new Date();
return date.getDate() + '/' + (date.getMonth() + 1) + ' ' + date.toTimeString().substr(0, 5) + ' [' + global.process.pid + ']';
},
level: 'verbose',
});
const Benchpress = require('benchpressjs');
const mkdirp = require('mkdirp');
const { paths } = require('../src/constants');
var web = {};
var scripts = [
'node_modules/jquery/dist/jquery.js',
'public/vendor/xregexp/xregexp.js',
'public/vendor/xregexp/unicode/unicode-base.js',
'public/src/utils.js',
'public/src/installer/install.js',
const app = express();
let server;
const formats = [
winston.format.colorize(),
];
web.install = function (port) {
const timestampFormat = winston.format((info) => {
const dateString = `${new Date().toISOString()} [${global.process.pid}]`;
info.level = `${dateString} - ${info.level}`;
return info;
});
formats.push(timestampFormat());
formats.push(winston.format.splat());
formats.push(winston.format.simple());
winston.configure({
level: 'verbose',
format: winston.format.combine.apply(null, formats),
transports: [
new winston.transports.Console({
handleExceptions: true,
}),
new winston.transports.File({
filename: 'logs/webinstall.log',
handleExceptions: true,
}),
],
});
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) {
async.waterfall([
function (next) {
fs.readFile(filepath, 'utf-8', next);
},
function (buffer, next) {
Benchpress.compileParse(buffer.toString(), options, next);
},
], callback);
app.engine('tpl', (filepath, options, callback) => {
filepath = filepath.replace(/\.tpl$/, '.js');
Benchpress.__express(filepath, options, callback);
});
app.set('view engine', 'tpl');
app.set('views', path.join(__dirname, '../src/views'));
app.set('views', viewsDir);
app.use(bodyParser.urlencoded({
extended: true,
}));
async.parallel([compileLess, compileJS, copyCSS], function (err) {
if (err) {
winston.error(err);
}
try {
await Promise.all([
compileTemplate(),
compileLess(),
compileJS(),
copyCSS(),
loadDefaults(),
]);
setupRoutes();
launchExpress(port);
});
} catch (err) {
winston.error(err.stack);
}
};
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);
});
}
@@ -85,11 +117,9 @@ function ping(req, res) {
}
function welcome(req, res) {
var dbs = ['redis', 'mongo'];
var databases = dbs.map(function (databaseName) {
var questions = require('../src/database/' + databaseName).questions.filter(function (question) {
return question && !question.hideOnWebInstall;
});
const dbs = ['redis', 'mongo', 'postgres'];
const databases = dbs.map((databaseName) => {
const questions = require(`../src/database/${databaseName}`).questions.filter(question => question && !question.hideOnWebInstall);
return {
name: databaseName,
@@ -97,128 +127,176 @@ 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')}`),
launchUrl: launchUrl,
skipGeneralSetup: !!nconf.get('url'),
databases: databases,
skipDatabaseSetup: !!nconf.get('database'),
error: !!res.locals.error,
success: !!res.locals.success,
error: error,
success: success,
values: req.body,
minimumPasswordLength: defaults.minimumPasswordLength,
minimumPasswordStrength: defaults.minimumPasswordStrength,
installing: installing,
});
}
function install(req, res) {
if (installing) {
return welcome(req, res);
}
req.setTimeout(0);
var setupEnvVars = _.assign({}, process.env);
for (var i in req.body) {
if (req.body.hasOwnProperty(i) && !process.env.hasOwnProperty(i)) {
setupEnvVars[i.replace(':', '__')] = req.body[i];
installing = true;
const setupEnvVars = nconf.get();
for (const [key, value] of Object.entries(req.body)) {
if (!process.env.hasOwnProperty(key)) {
setupEnvVars[key.replace(':', '__')] = value;
}
}
var child = require('child_process').fork('app', ['--setup'], {
// Flatten any objects in setupEnvVars
const pushToRoot = function (parentKey, key) {
setupEnvVars[`${parentKey}__${key}`] = setupEnvVars[parentKey][key];
};
for (const [parentKey, value] of Object.entries(setupEnvVars)) {
if (typeof value === 'object' && value !== null && !Array.isArray(value)) {
Object.keys(value).forEach(key => pushToRoot(parentKey, key));
delete setupEnvVars[parentKey];
} else if (Array.isArray(value)) {
setupEnvVars[parentKey] = JSON.stringify(value);
}
}
winston.info('Starting setup process');
winston.info(setupEnvVars);
launchUrl = setupEnvVars.url;
const child = require('child_process').fork('app', ['--setup'], {
env: setupEnvVars,
});
child.on('close', function (data) {
if (data === 0) {
res.locals.success = true;
} else {
res.locals.error = true;
}
child.on('close', (data) => {
installing = false;
success = data === 0;
error = data !== 0;
welcome(req, res);
});
}
function launch(req, res) {
res.json({});
server.close();
async function launch(req, res) {
try {
res.json({});
server.close();
req.setTimeout(0);
let child;
var child = childProcess.spawn('node', ['loader.js'], {
detached: true,
stdio: ['ignore', 'ignore', 'ignore'],
});
if (!nconf.get('launchCmd')) {
child = childProcess.spawn('node', ['loader.js'], {
detached: true,
stdio: ['ignore', 'ignore', 'ignore'],
});
console.log('\nStarting NodeBB');
console.log(' "./nodebb stop" to stop the NodeBB server');
console.log(' "./nodebb log" to view server output');
console.log(' "./nodebb restart" to restart NodeBB');
var filesToDelete = [
'installer.css',
'installer.min.js',
'bootstrap.min.css',
];
async.each(filesToDelete, function (filename, next) {
fs.unlink(path.join(__dirname, '../public', filename), next);
}, function (err) {
if (err) {
winston.warn('Unable to remove installer files');
console.log('\nStarting NodeBB');
console.log(' "./nodebb stop" to stop the NodeBB server');
console.log(' "./nodebb log" to view server output');
console.log(' "./nodebb restart" to restart NodeBB');
} else {
// Use launchCmd instead, if specified
child = childProcess.exec(nconf.get('launchCmd'), {
detached: true,
stdio: ['ignore', 'ignore', 'ignore'],
});
}
const filesToDelete = [
'installer.css',
'installer.min.js',
'bootstrap.min.css',
];
await Promise.all(
filesToDelete.map(
filename => fs.promises.unlink(path.join(__dirname, '../public', filename))
)
);
child.unref();
process.exit(0);
} catch (err) {
winston.error(err.stack);
throw err;
}
}
// 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 compileLess() {
try {
const installSrc = path.join(__dirname, '../public/less/install.less');
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);
} catch (err) {
winston.error(`Unable to compile LESS: \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.writeFile(path.join(__dirname, '../public/bootstrap.min.css'), src);
}
async function loadDefaults() {
const setupDefaultsPath = path.join(__dirname, '../setup.json');
try {
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;
}
}
winston.info('[installer] Found setup.json, populating default values');
nconf.file({
file: setupDefaultsPath,
});
}
function compileLess(callback) {
fs.readFile(path.join(__dirname, '../public/less/install.less'), function (err, style) {
if (err) {
return winston.error('Unable to read LESS install file: ', err);
}
less.render(style.toString(), function (err, css) {
if (err) {
return winston.error('Unable to compile LESS: ', err);
}
fs.writeFile(path.join(__dirname, '../public/installer.css'), css.css, callback);
});
});
}
function compileJS(callback) {
var code = '';
async.eachSeries(scripts, function (srcPath, next) {
fs.readFile(path.join(__dirname, '..', srcPath), function (err, buffer) {
if (err) {
return next(err);
}
code += buffer.toString();
next();
});
}, function (err) {
if (err) {
return callback(err);
}
try {
var minified = uglify.minify(code, {
compress: false,
});
if (!minified.code) {
return callback(new Error('[[error:failed-to-minify]]'));
}
fs.writeFile(path.join(__dirname, '../public/installer.min.js'), minified.code, callback);
} catch (e) {
callback(e);
}
});
}
function copyCSS(next) {
async.waterfall([
function (next) {
fs.readFile(path.join(__dirname, '../node_modules/bootstrap/dist/css/bootstrap.min.css'), 'utf8', next);
},
function (src, next) {
fs.writeFile(path.join(__dirname, '../public/bootstrap.min.css'), src, next);
},
], next);
}
module.exports = web;

205
loader.js
View File

@@ -1,48 +1,56 @@
'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');
const nconf = require('nconf');
const fs = require('fs');
const url = require('url');
const path = require('path');
const { fork } = require('child_process');
const async = require('async');
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');
const pathToConfig = path.resolve(__dirname, process.env.CONFIG || 'config.json');
nconf.argv().env().file({
file: path.join(__dirname, 'config.json'),
file: pathToConfig,
});
var pidFilePath = path.join(__dirname, 'pidfile');
var outputLogFilePath = path.join(__dirname, 'logs/output.log');
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 = {
const pidFilePath = path.join(__dirname, 'pidfile');
const outputLogFilePath = path.join(__dirname, nconf.get('logFile') || 'logs/output.log');
const logDir = path.dirname(outputLogFilePath);
if (!fs.existsSync(logDir)) {
mkdirp.sync(path.dirname(outputLogFilePath));
}
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 = {
timesStarted: 0,
};
var appPath = path.join(__dirname, 'app.js');
const appPath = path.join(__dirname, 'app.js');
Loader.init = function (callback) {
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('SIGUSR2', Loader.reload);
process.on('SIGTERM', Loader.stop);
callback();
};
Loader.displayStartupMessages = function (callback) {
console.log('');
console.log('NodeBB v' + pkg.version + ' Copyright (C) 2013-2014 NodeBB Inc.');
console.log(`NodeBB v${pkg.version} Copyright (C) 2013-2014 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');
@@ -51,23 +59,23 @@ Loader.displayStartupMessages = function (callback) {
};
Loader.addWorkerEvents = function (worker) {
worker.on('exit', function (code, signal) {
worker.on('exit', (code, signal) => {
if (code !== 0) {
if (Loader.timesStarted < numProcs * 3) {
Loader.timesStarted += 1;
if (Loader.crashTimer) {
clearTimeout(Loader.crashTimer);
}
Loader.crashTimer = setTimeout(function () {
Loader.crashTimer = setTimeout(() => {
Loader.timesStarted = 0;
}, 10000);
} else {
console.log((numProcs * 3) + ' restarts in 10 seconds, most likely an error on startup. Halting.');
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 + ')');
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...');
@@ -75,17 +83,25 @@ 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':
console.log('[cluster] Restarting...');
Loader.restart();
break;
case 'reload':
console.log('[cluster] Reloading...');
Loader.reload();
break;
case 'restart':
console.log('[cluster] Restarting...');
Loader.restart();
break;
case 'pubsub':
workers.forEach((w) => {
w.send(message);
});
break;
case 'socket.io':
workers.forEach((w) => {
if (w !== worker) {
w.send(message);
}
});
break;
}
}
});
@@ -93,9 +109,9 @@ Loader.addWorkerEvents = function (worker) {
Loader.start = function (callback) {
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);
}
@@ -105,18 +121,18 @@ Loader.start = function (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 = ports.length > 1;
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,
});
@@ -129,20 +145,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];
}
@@ -152,17 +168,16 @@ function getPorts() {
Loader.restart = function () {
killWorkers();
var pathToConfig = path.join(__dirname, '/config.json');
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);
@@ -175,14 +190,6 @@ Loader.restart = function () {
});
};
Loader.reload = function () {
workers.forEach(function (worker) {
worker.send({
action: 'reload',
});
});
};
Loader.stop = function () {
killWorkers();
@@ -193,59 +200,47 @@ Loader.stop = function () {
};
function killWorkers() {
workers.forEach(function (worker) {
workers.forEach((worker) => {
worker.suicide = true;
worker.kill();
});
}
Loader.notifyWorkers = function (msg, worker_pid) {
worker_pid = parseInt(worker_pid, 10);
workers.forEach(function (worker) {
if (parseInt(worker.pid, 10) !== worker_pid) {
try {
worker.send(msg);
} catch (e) {
console.log('[cluster/notifyWorkers] Failed to reach pid ' + worker_pid);
}
}
});
};
fs.open(path.join(__dirname, 'config.json'), 'r', function (err) {
if (!err) {
if (nconf.get('daemon') !== 'false' && nconf.get('daemon') !== false) {
if (file.existsSync(pidFilePath)) {
try {
var pid = fs.readFileSync(pidFilePath, { encoding: 'utf-8' });
process.kill(pid, 0);
process.exit();
} catch (e) {
fs.unlinkSync(pidFilePath);
}
}
require('daemon')({
stdout: process.stdout,
stderr: process.stderr,
cwd: process.cwd(),
});
fs.writeFileSync(pidFilePath, process.pid);
}
async.series([
Loader.init,
Loader.displayStartupMessages,
Loader.start,
], function (err) {
if (err) {
console.error('[loader] Error during startup');
throw err;
}
});
} else {
fs.open(pathToConfig, 'r', (err) => {
if (err) {
// No config detected, kickstart web installer
fork('app');
return;
}
if (nconf.get('daemon') !== 'false' && nconf.get('daemon') !== false) {
if (file.existsSync(pidFilePath)) {
try {
const pid = fs.readFileSync(pidFilePath, { encoding: 'utf-8' });
process.kill(pid, 0);
process.exit();
} catch (e) {
fs.unlinkSync(pidFilePath);
}
}
require('daemon')({
stdout: process.stdout,
stderr: process.stderr,
cwd: process.cwd(),
});
fs.writeFileSync(pidFilePath, String(process.pid));
}
async.series([
Loader.init,
Loader.displayStartupMessages,
Loader.start,
], (err) => {
if (err) {
console.error('[loader] Error during startup');
throw err;
}
});
});

View File

@@ -1 +1 @@
@echo off && cd %~dp0 && node ./src/cli %*
@echo off && cd %~dp0 && node ./nodebb %*

View File

@@ -5,7 +5,6 @@
"socket": true,
"ajaxify": true,
"config": true,
"RELATIVE_PATH": true,
"utils": true,
"overrides": true,
"componentHandler": true,
@@ -18,25 +17,53 @@
"jquery": true,
"amd": true,
"browser": true,
"es6": false
"es6": true
},
"rules": {
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
"block-scoped-var": "off",
"no-dupe-class-members": "off",
"prefer-object-spread": "off",
"prefer-reflect": "off",
// ES6
"prefer-rest-params": "off",
"prefer-spread": "off",
"prefer-arrow-callback": "off",
"prefer-template": "off",
"no-var": "off",
"object-shorthand": "off",
"prefer-arrow-callback": "off",
"prefer-spread": "off",
"prefer-reflect": "off",
"prefer-template": "off"
"vars-on-top": "off",
"prefer-destructuring": "off",
// identical to airbnb rule
// except for allowing for..in, because for..of is unavailable on some clients
"no-restricted-syntax": [
"error",
{
"selector": "ForOfStatement",
"message": "iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations."
},
{
"selector": "LabeledStatement",
"message": "Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand."
},
{
"selector": "WithStatement",
"message": "`with` is disallowed in strict mode because it makes code impossible to predict and optimize."
}
]
},
"parserOptions": {
"ecmaVersion": 5,
"ecmaVersion": 2018,
"ecmaFeatures": {
"arrowFunctions": false,
"classes": false,
"defaultParams": false,
"destructuring": false,
"experimentalObjectRestSpread": false,
"blockBindings": false,
"forOf": false,
"generators": false,
@@ -49,9 +76,7 @@
"objectLiteralShorthandProperties": false,
"impliedStrict": false,
"restParams": false,
"spread": false,
"superInFunctions": false,
"templateStrings": false
"superInFunctions": false
}
}
}

View File

@@ -63,7 +63,6 @@
"socket": true,
"ajaxify": true,
"config": true,
"RELATIVE_PATH": true,
"utils": true,
"overrides": true,
"componentHandler": true,

View File

@@ -1,13 +1,13 @@
<html>
<head>
<title>Excessive Load Warning</title>
<link href='https://fonts.googleapis.com/css?family=Ubuntu:400,500,700' rel='stylesheet' type='text/css'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
body {
background: #00A9EA;
color: white;
font-family: 'Ubuntu', sans-serif;
/* see public/less/admin/vars.less for documentation on system font family */
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
text-align: center;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 13 KiB

16
public/images/logo.svg Normal file
View File

@@ -0,0 +1,16 @@
<svg xmlns="http://www.w3.org/2000/svg" width="321" height="75" viewBox="0 0 321 75">
<defs>
<radialGradient id="nodebb-a" cx="65.599%" cy="0%" r="169.036%" fx="65.599%" fy="0%" gradientTransform="matrix(-.5183 .5916 -.38031 -.80624 .996 -.388)">
<stop offset="0%" stop-color="#2A6CBE"/>
<stop offset="38.688%" stop-color="#2062BC"/>
<stop offset="49.182%" stop-color="#1F5FBC"/>
<stop offset="66.583%" stop-color="#1C5ABD"/>
<stop offset="85.354%" stop-color="#1956BC"/>
<stop offset="100%" stop-color="#1851BE"/>
</radialGradient>
</defs>
<g fill="none" transform="translate(1 1)">
<path fill="#000306" stroke="#000306" stroke-width=".275" d="M195.810017,20 C210.691849,20 221.256813,28.7272272 221.484017,45.845679 C221.490864,46.3615394 221.461776,47.1194739 221.396754,48.1194827 C221.328352,49.1714504 220.455158,49.9897119 219.400969,49.9897119 L179.110557,49.9897119 C179.110557,56.6336943 182.723978,64.2757202 196.378026,64.2757202 C204.088827,64.2757202 211.625406,61.928339 218.987763,57.2335766 L219.553745,56.8677968 C220.246813,56.4139645 221.17656,56.6079034 221.630392,57.3009716 C221.757029,57.4943637 221.837254,57.7144077 221.864806,57.943925 C222.131013,60.1615294 222.004084,61.5832211 221.484017,62.2089999 C220.452051,63.4507301 210.901843,73 196.378026,73 C180.58738,73 169,61.8765432 169,46.3909465 C169,31.3415638 180.019372,20 195.810017,20 Z M162.92733,0 C164.031899,-4.2495073e-16 164.92733,0.8954305 164.92733,2 L164.928075,44.1266361 C164.975781,44.8118124 165,45.5058194 165,46.2079256 C165,61.5334332 153.460581,73 138,73 C122.427386,73 111,61.5334332 111,46.2079256 C111,30.882418 122.427386,19.4158511 138,19.4158511 C144.981278,19.4158511 151.163029,21.7538895 155.843826,25.7295173 L155.843557,4.54188628 C155.843557,2.03347175 157.877029,4.60788274e-16 160.385444,0 L162.92733,0 Z M81,20 C96.4605809,20 108,31.3415638 108,46.5 C108,61.6584362 96.4605809,73 81,73 C65.4273859,73 54,61.6584362 54,46.5 C54,31.3415638 65.4273859,20 81,20 Z M27.324263,20 C41.6099773,20 50,29.1649049 50,41.7801268 L50,67.5 C50,69.4329966 48.4329966,71 46.5,71 L42.2494331,71 C41.1448636,71 40.2494331,70.1045695 40.2494331,69 L40.2494331,42.5348837 C40.2494331,34.3403805 35.8276644,28.6257928 26.3038549,28.6257928 C10.0816327,28.6257928 9.75718821,35.7795705 9.75069932,44.6831843 L9.75056689,71 L2,71 C0.8954305,71 1.3527075e-16,70.1045695 0,69 L0,35.2932975 L0,35.2932975 C0,24.3935718 19.1609977,20 27.324263,20 Z M81,28.7242798 C70.8049793,28.7242798 63.6348548,36.4670782 63.6348548,46.5 C63.6348548,56.3148148 70.8049793,64.2757202 81,64.2757202 C91.1950207,64.2757202 98.3651452,56.3148148 98.3651452,46.5 C98.3651452,36.4670782 91.1950207,28.7242798 81,28.7242798 Z M138,28.2362872 C127.804979,28.2362872 120.634855,36.0644241 120.634855,46.2079256 C120.634855,56.1309161 127.804979,64.179564 138,64.179564 C148.195021,64.179564 155.365145,56.1309161 155.365145,46.2079256 C155.365145,36.0644241 148.195021,28.2362872 138,28.2362872 Z M195.810017,28.7242798 C186.721876,28.7242798 180.473779,33.9588477 179.224159,41.8106996 L211.259858,41.8106996 C210.010238,33.9588477 204.443752,28.7242798 195.810017,28.7242798 Z"/>
<path fill="url(#nodebb-a)" d="M277,19 L276.999615,57.7303365 C276.99251,64.180962 276.88949,68.6242617 276.88949,73 L276.88949,73 L255.649055,73 C242.962262,73 236,67.06 236,57.7257143 C236,51.4771429 239.558488,46.9257143 245.1283,45.0742857 C240.564149,43.1457143 237.779243,38.8257143 237.779243,33.5028571 C237.779243,24.8628571 244.664149,19 256.732074,19 L256.732074,19 L277,19 Z M299.267926,19 C311.335851,19 318.220757,24.8628571 318.220757,33.5028571 C318.220757,38.8257143 315.435851,43.1457143 310.8717,45.0742857 C316.441512,46.9257143 320,51.4771429 320,57.7257143 C320,67.06 313.037738,73 300.350945,73 L279.11051,73 L279.11051,73 C279.11051,68.6242617 279.00749,64.180962 279.000385,57.7303365 L279,19 L299.267926,19 Z M266.092452,49.8571429 L256.499999,49.8571429 C250.156602,49.8571429 246.984904,52.2485714 246.984904,56.9542857 C246.984904,61.8914286 249.924527,64.36 255.726414,64.36 L255.726414,64.36 L260.754716,64.36 C264.777358,64.36 266.092452,62.4314286 266.092452,56.5685714 L266.092452,56.5685714 L266.092452,49.8571429 Z M299.500001,49.8571429 L289.907548,49.8571429 L289.907548,56.5685714 C289.907548,62.4314286 291.222642,64.36 295.245284,64.36 L300.273586,64.36 C306.075473,64.36 309.015096,61.8914286 309.015096,56.9542857 C309.015096,52.2485714 305.843398,49.8571429 299.500001,49.8571429 Z M266.169811,27.64 L257.350942,27.64 C251.703772,27.64 248.764149,30.1857143 248.764149,34.5057143 C248.764149,38.8257143 251.703772,41.3714286 257.350942,41.3714286 L257.350942,41.3714286 L266.169811,41.3714286 L266.169811,27.64 Z M298.649058,27.64 L289.830189,27.64 L289.830189,41.3714286 L298.649058,41.3714286 C304.296228,41.3714286 307.235851,38.8257143 307.235851,34.5057143 C307.235851,30.1857143 304.296228,27.64 298.649058,27.64 Z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
public/images/logo@3x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
public/images/touch/144.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
public/images/touch/192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
public/images/touch/36.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
public/images/touch/48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
public/images/touch/512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
public/images/touch/72.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
public/images/touch/96.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@@ -1,7 +0,0 @@
/*
The following stylesheet is only included on pages that can execute javascript
*/
.page-topic [component="post/content"] img:not(.not-responsive):not([data-state]) {
display: none !important;
}

14
public/language/README.md Normal file
View File

@@ -0,0 +1,14 @@
# Important note about localising NodeBB
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/),
and any pull requests made to this directory will be automatically closed because
localisations can go out-of-sync when edited directly.
If there are non-localised strings and you cannot find them in Transifex, please
[open a new issue on our bug tracker](https://github.com/NodeBB/NodeBB/issues/new)
so we can take a look.
Thank you for helping localise NodeBB!

View File

@@ -1,3 +0,0 @@
NPM INSTALL
For now, language packs will be stored here. Eventually, will be moved to server side to allow for npm install-ability.
When that happens, server code will generate compressed JSON language files in this folder.

View File

@@ -1,5 +1,5 @@
{
"alert.confirm-reload": "هل تريد بالتأكيد إعادة تحميل NodeBB؟",
"alert.confirm-rebuild-and-restart": "هل أنت متأكد إنك تريد إعادة بناء وتشغيل الـ NodeBB؟",
"alert.confirm-restart": "هل تريد بالتأكيد إعادة تشغيل NodeBB؟",
"acp-title": "لوحة تحكم إدارة NodeBB | %1",

View File

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

View File

@@ -18,10 +18,17 @@
"mongo.resident-memory": "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.",
"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",
@@ -30,7 +37,16 @@
"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.keyspace-hits": "Keyspace Hits",
"redis.keyspace-misses": "Keyspace Misses",
"redis.raw-info": "Redis Raw Info"
}
"redis.raw-info": "Redis Raw Info",
"postgres": "Postgres",
"postgres.version": "PostgreSQL Version",
"postgres.raw-info": "Postgres Raw Info"
}

View File

@@ -2,5 +2,11 @@
"events": "أحداث",
"no-events": "لا توجد أحداث",
"control-panel": "لوحة تحكم الأحداث",
"delete-events": "حذف الأحداث"
"delete-events": "حذف الاحداث",
"filters": "تصفية",
"filters-apply": "تطبيق التصفية",
"filter-type": "نوع الحدث",
"filter-start": "تاريخ البدء",
"filter-end": "تاريخ الانتهاء",
"filter-perPage": "لكل صفحة"
}

View File

@@ -8,7 +8,7 @@
"custom-js.enable": "تفعيل Javascript المخصصة",
"custom-header": "ترويسة مخصصة",
"custom-header.description": "أدخل HTML الخاصة بك هنا (مثل العلامات الوصفية، وما إلى ذلك)، والتي سيتم إلحاقها الى<code>&lt;head&gt;</code> في تصميم المنتدى. يسمح باستخدام علامات النص البرمجي، ولكن سيتم تعطيلها؛ لتوفر تبويبة\n<a href=\"#custom-header\" data-toggle=\"tab\">Javascript المخصصة</a>",
"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.enable": "تفعيل الترويسة المخصصة",
"custom-css.livereload": "تفعيل إعادة التحميل المباشرة",

View File

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

View File

@@ -0,0 +1,88 @@
{
"forum-traffic": "Forum Traffic",
"page-views": "مشاهدات الصفحات",
"unique-visitors": "زائرين فريدين",
"logins": "Logins",
"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>",
"fallback-emailer-not-found": "Fallback emailer not found!",
"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",
"back-to-dashboard": "Back to Dashboard",
"details.no-users": "No users have joined within the selected timeframe",
"details.no-topics": "No topics have been posted within the selected timeframe",
"details.no-logins": "No logins have been recorded within the selected timeframe",
"details.logins-static": "NodeBB only saves session data for %1 days, and so this table below will only show the most recently active sessions",
"details.logins-login-time": "Login Time"
}

View File

@@ -1,13 +1,16 @@
{
"you-are-on": "Info - You are on <strong>%1:%2</strong>",
"you-are-on": "You are on <strong>%1:%2</strong>",
"ip": "IP <strong>%1</strong>",
"nodes-responded": "%1 nodes responded within %2ms!",
"host": "host",
"primary": "primary / run jobs",
"pid": "pid",
"nodejs": "nodejs",
"online": "online",
"git": "git",
"memory": "memory",
"load": "load",
"load": "system load",
"cpu-usage": "cpu usage",
"uptime": "uptime",
"registered": "Registered",

View File

@@ -1,4 +1,5 @@
{
"trending": "Trending",
"installed": "منصبة",
"active": "مفعلة",
"inactive": "معطلة",
@@ -9,6 +10,7 @@
"plugin-search": "البحث عن الإضافات",
"plugin-search-placeholder": "جاري البحث عن الإضافات...",
"submit-anonymous-usage": "Submit anonymous plugin usage data.",
"reorder-plugins": "إعادة ترتيب الإضافات",
"order-active": "ترتيب الإضافات المفعلة",
"dev-interested": "هل انته مهتم ببرمجة إضافات لـNodeBB؟",
@@ -29,21 +31,25 @@
"plugin-item.more-info": "لمزيد من المعلومات:",
"plugin-item.unknown": "غير معروف",
"plugin-item.unknown-explanation": "تعذر تحديد حالة هذه الإضافة، ربما بسبب خطأ في الإعدادات.",
"plugin-item.compatible": "This plugin works on NodeBB %1",
"plugin-item.not-compatible": "This plugin has no compatibility data, make sure it works before installing on your production environment.",
"alert.enabled": "الإضافة مفعلة",
"alert.disabled": "الإضافة معطلة",
"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": "يرجى إعادة تحميل NodeBB لترقية هذه الإضافة بشكل كامل",
"alert.upgrade-success": "Please rebuild and restart your NodeBB to fully upgrade this plugin.",
"alert.install-success": "تم تثبيت الإضافة بنجاح، يرجى تفعيلها.",
"alert.uninstall-success": "تم تعطيل الإضافة وإلغاء تنصيبها بنجاح.",
"alert.suggest-error": "<p>NodeBB could not reach the package manager, proceed with installation of latest version?</p><div class=\"alert alert-danger\"><strong>Server returned (%1)</strong>: %2</div>",
"alert.package-manager-unreachable": "<p>NodeBB could not reach the package manager, an upgrade is not suggested at this time.</p>",
"alert.incompatible": "<p>Your version of NodeBB (v%1) is only cleared to upgrade to v%2 of this plugin. Please update your NodeBB if you wish to install a newer version of this plugin.</p>",
"alert.possibly-incompatible": "<div class=\"alert alert-warning\"><p><strong>No Compatibility Information Found</strong></p><p>This plugin did not specify a specific version for installation given your NodeBB version. Full compatibility cannot be guaranteed, and may cause your NodeBB to no longer start properly.</p></div><p>In the event that NodeBB cannot boot properly:</p><pre><code>$ ./nodebb reset plugin=\"%1\"</code></pre><p>Continue installation of latest version of this plugin?</p>",
"alert.reorder": "Plugins Re-ordered",
"alert.reorder-success": "Please rebuild and restart your NodeBB to fully complete the process.",
"license.title": "معلومات ترخيص الإضافة",
"license.intro": "The plugin <strong>%1</strong> is licensed under the %2. Please read and understand the license terms prior to activating this plugin.",

View File

@@ -1,7 +1,7 @@
{
"available": "Available Widgets",
"explanation": "Select a widget from the dropdown menu and then drag and drop it into a template's widget area on the left.",
"none-installed": "No widgets found! Activate the essential widgets plugin in the <a href=\"%1\">plugins</a> control panel.",
"none-installed": "No widgets found! Activate the widget essentials plugin in the <a href=\"%1\">plugins</a> control panel.",
"clone-from": "Clone widgets from",
"containers.available": "Available Containers",
"containers.explanation": "Drag and drop on top of any active widget",
@@ -18,5 +18,13 @@
"alert.update-success": "Successfully updated widgets",
"alert.clone-success": "Successfully cloned widgets",
"error.select-clone": "Please select a page to clone from"
"error.select-clone": "Please select a page to clone from",
"title": "Title",
"title.placeholder": "Title (only shown on some containers)",
"container": "Container",
"container.placeholder": "Drag and drop a container or enter HTML here.",
"show-to-groups": "Show to groups",
"hide-from-groups": "Hide from groups",
"hide-on-mobile": "Hide on mobile"
}

View File

@@ -2,7 +2,7 @@
"forum-traffic": "Forum Traffic",
"page-views": "مشاهدات الصفحات",
"unique-visitors": "زائرين فريدين",
"users": "أعضاء",
"new-users": "New Users",
"posts": "مشاركات",
"topics": "مواضيع",
"page-views-seven": "آخر 7 ايام",
@@ -14,19 +14,23 @@
"page-views-custom-help": "أدخل نطاقا زمنيا لمرات مشاهدة الصفحات التي ترغب في عرضها. إذا لم يظهر منتقي التاريخ، فإن التنسيق المقبول هو <code>YYYY-MM-DD</code>",
"page-views-custom-error": "الرجاء إدخال نطاق تاريخ صالح بالتنسيق <code>YYYY-MM-DD</code>",
"stats.day": "يوم",
"stats.week": "إسبوع",
"stats.month": "شهر",
"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>نسخة جديدة (الإصدار %1) تم إصدارها. خذ بعين الاعتبار <a href=\"https://docs.nodebb.org/configuring/upgrade/\">ترقية NodeBB الخاص بك</a>.</p>",
"prerelease-upgrade-available": "<p>نسخة ما قبل الإصدار من NodeBB هذه قديمة. إصدار أحدث (الإصدار %1) تم إصداره. خذ بعين الاعتبار <a href=\"https://docs.nodebb.org/configuring/upgrade/\">ترقية NodeBB الخاص بك</a>.</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": "إعادة التشغيل غير مطلوب",
@@ -36,8 +40,8 @@
"search-plugin-tooltip": "نصب إضافة البحث من صفحة الإضافات البرمجية لتنشيط وظيفة البحث",
"control-panel": "التحكم بالنظام",
"reload": "Restart",
"restart": "Rebuild &amp; Restart",
"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": "وضع الصيانة",
@@ -64,7 +68,12 @@
"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": "مستخدمين مجهولين"
"graphs.anonymous-users": "مستخدمين مجهولين",
"last-restarted-by": "Last restarted by",
"no-users-browsing": "No users browsing"
}

View File

@@ -5,13 +5,11 @@
"tooltip": "Tooltip:",
"text": "Text:",
"text-class": "Text Class: <small>optional</small>",
"class": "Class: <small>optional</small>",
"id": "ID: <small>optional</small>",
"properties": "Properties:",
"only-admins": "Only display to Admins",
"only-global-mods-and-admins": "Only display to Global Moderators and Admins",
"only-logged-in": "Only display to logged in users",
"only-guest": "Only display to guests",
"groups": "Groups:",
"open-new-window": "Open in a new window",
"btn.delete": "Delete",

View File

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

View File

@@ -10,38 +10,57 @@
"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",
"optional-clone-settings": "(Optional) Clone Settings From Category",
"clone-children": "Clone Children Categories And Settings",
"purge": "Purge Category",
"enable": "Enable",
"disable": "Disable",
"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",
"privileges.description": "You can configure the access control privileges for this category in this section. Privileges can be granted on a per-user or a per-group basis. You can add a new user to this table by searching for them in the form below.",
"privileges.description": "You can configure the access control privileges for portions of the site in this section. Privileges can be granted on a per-user or a per-group basis. Select the domain of effect from the dropdown below.",
"privileges.category-selector": "Configuring privileges for ",
"privileges.warning": "<strong>Note</strong>: Privilege settings take effect immediately. It is not necessary to save the category after adjusting these settings.",
"privileges.section-viewing": "Viewing Privileges",
"privileges.section-posting": "Posting Privileges",
"privileges.section-moderation": "Moderation Privileges",
"privileges.section-other": "Other",
"privileges.section-user": "User",
"privileges.search-user": "Add User",
"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",
"privileges.copy-privileges-to-all-categories": "Copy to All Categories",
"privileges.copy-group-privileges-to-children": "Copy this group's privileges to the children of this category.",
"privileges.copy-group-privileges-to-all-categories": "Copy this group's privileges to all categories.",
"privileges.copy-group-privileges-from": "Copy this group's privileges from another category.",
"privileges.inherit": "If the <code>registered-users</code> group is granted a specific privilege, all other groups receive an <strong>implicit privilege</strong>, even if they are not explicitly defined/checked. This implicit privilege is shown to you because all users are part of the <code>registered-users</code> user group, and so, privileges for additional groups need not be explicitly granted.",
"privileges.copy-success": "Privileges copied!",
"analytics.back": "Back to Categories List",
"analytics.title": "Analytics for \"%1\" category",
@@ -54,7 +73,6 @@
"alert.create-success": "Category successfully created!",
"alert.none-active": "You have no active categories.",
"alert.create": "Create a Category",
"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-purge": "<p class=\"lead\">Do you really want to purge this category \"%1\"?</p><h5><strong class=\"text-danger\">Warning!</strong> All topics and posts in this category will be purged!</h5> <p class=\"help-block\">Purging a category will remove all topics and posts, and delete the category from the database. If you want to remove a category <em>temporarily</em>, you'll want to \"disable\" the category instead.</p>",
"alert.purge-success": "Category purged!",
"alert.copy-success": "Settings Copied!",
@@ -66,6 +84,9 @@
"alert.user-search": "Search for a user here...",
"alert.find-group": "Find a Group",
"alert.group-search": "Search for a group here...",
"alert.not-enough-whitelisted-tags": "Whitelisted tags are less than minimum tags, you need to create more whitelisted tags!",
"collapse-all": "Collapse All",
"expand-all": "Expand All"
"expand-all": "Expand All",
"disable-on-create": "Disable on create",
"no-matches": "No matches"
}

View File

@@ -0,0 +1,21 @@
{
"lead": "A listing of digest delivery stats and times is displayed below.",
"disclaimer": "Please be advised that email delivery is not guaranteed, due to the nature of email technology. Many variables factor into whether an email sent to the recipient server is ultimately delivered into the user's inbox, including server reputation, blacklisted IP addresses, and whether DKIM/SPF/DMARC is configured.",
"disclaimer-continued": "A successful delivery means the message was sent successfully by NodeBB and acknowledged by the recipient server. It does not mean the email landed in the inbox. For best results, we recommend using a third-party email delivery service such as <a href=\"https://sendgrid.com/why-sendgrid/\">SendGrid</a>.",
"user": "User",
"subscription": "Subscription Type",
"last-delivery": "Last successful delivery",
"default": "System default",
"default-help": "<em>System default</em> means the user has not explicitly overridden the global forum setting for digests, which is currently: &quot;<strong>%1</strong>&quot;",
"resend": "Resend Digest",
"resend-all-confirm": "Are you sure you wish to manually execute this digest run?",
"resent-single": "Manual digest resend completed",
"resent-day": "Daily digest resent",
"resent-week": "Weekly digest resent",
"resent-month": "Monthly digest resent",
"null": "<em>Never</em>",
"manual-run": "Manual digest run:",
"no-delivery-data": "No delivery data found"
}

View File

@@ -1,9 +1,16 @@
{
"name": "اسم المجموعة",
"badge": "Badge",
"properties": "Properties",
"description": "Group Description",
"member-count": "Member Count",
"system": "System Group",
"system": "System",
"hidden": "Hidden",
"private": "Private",
"edit": "Edit",
"delete": "Delete",
"privileges": "Privileges",
"download-csv": "CSV",
"search-placeholder": "Search",
"create": "Create Group",
"description-placeholder": "A short description about your group",
@@ -17,10 +24,12 @@
"edit.user-title": "Title of Members",
"edit.icon": "Group Icon",
"edit.label-color": "Group Label Color",
"edit.text-color": "Group Text Color",
"edit.show-badge": "Show Badge",
"edit.private-details": "If enabled, joining of groups requires approval from a group owner.",
"edit.private-override": "Warning: Private groups is disabled at system level, which overrides this option.",
"edit.disable-requests": "Disable join requests",
"edit.disable-join": "Disable join requests",
"edit.disable-leave": "Disallow users from leaving the group",
"edit.hidden": "Hidden",
"edit.hidden-details": "If enabled, this group will not be found in the groups listing, and users will have to be invited manually",
"edit.add-user": "Add User to Group",

View File

@@ -0,0 +1,60 @@
{
"global": "Global",
"admin": "Admin",
"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",
"invite": "Invite",
"search-content": "Search Content",
"search-users": "Search Users",
"search-tags": "Search Tags",
"view-users": "View Users",
"view-tags": "View Tags",
"view-groups": "View Groups",
"allow-local-login": "Local Login",
"allow-group-creation": "Group Create",
"view-users-info": "View Users Info",
"find-category": "Find Category",
"access-category": "Access Category",
"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",
"delete-posts": "Delete Posts",
"view_deleted": "View Deleted Posts",
"upvote-posts": "Upvote Posts",
"downvote-posts": "Downvote Posts",
"delete-topics": "Delete Topics",
"purge": "Purge",
"moderate": "Moderate",
"admin-dashboard": "Dashboard",
"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.no-undo": "<em>This action cannot be undone.</em>",
"alert.admin-warning": "Administrators implicitly get all privileges"
}

View File

@@ -2,18 +2,17 @@
"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 via clicking and/or dragging, use shift to select multiple.",
"description": "Select tags by clicking or dragging, use <code>CTRL</code> to select multiple tags.",
"create": "Create Tag",
"modify": "Modify Tags",
"rename": "Rename Tags",
"delete": "Delete Selected Tags",
"search": "Search for tags...",
"settings": "Click <a href=\"%1\">here</a> to visit the tag settings page.",
"settings": "Tags Settings",
"name": "Tag Name",
"alerts.editing-multiple": "Editing multiple tags",
"alerts.editing-x": "Editing \"%1\" tag",
"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

@@ -0,0 +1,9 @@
{
"upload-file": "Upload File",
"filename": "Filename",
"usage": "Post Usage",
"orphaned": "Orphaned",
"size/filecount": "Size / Filecount",
"confirm-delete": "Do you really want to delete this file?",
"filecount": "%1 files"
}

View File

@@ -1,31 +1,34 @@
{
"users": "المستخدمين",
"edit": "تحرير",
"edit": "Actions",
"make-admin": "Make Admin",
"remove-admin": "Remove Admin",
"validate-email": "Validate Email",
"send-validation-email": "Send Validation Email",
"password-reset-email": "Send Password Reset Email",
"force-password-reset": "Force Password Reset & Log User Out",
"ban": "Ban User(s)",
"temp-ban": "Ban User(s) Temporarily",
"unban": "Unban User(s)",
"reset-lockout": "Reset Lockout",
"reset-flags": "Reset Flags",
"delete": "Delete User(s)",
"purge": "Delete User(s) and Content",
"delete": "Delete <strong>User(s)</strong>",
"delete-content": "Delete User(s) <strong>Content</strong>",
"purge": "Delete <strong>User(s)</strong> and <strong>Content</strong>",
"download-csv": "Download CSV",
"manage-groups": "Manage Groups",
"add-group": "Add Group",
"invite": "Invite",
"new": "New User",
"pills.latest": "Latest Users",
"filter-by": "Filter by",
"pills.unvalidated": "Not Validated",
"pills.no-posts": "No Posts",
"pills.top-posters": "Top Posters",
"pills.top-rep": "Most Reputation",
"pills.inactive": "Inactive",
"pills.flagged": "Most Flagged",
"pills.validated": "Validated",
"pills.banned": "Banned",
"pills.search": "User Search",
"50-per-page": "50 per page",
"100-per-page": "100 per page",
"250-per-page": "250 per page",
"500-per-page": "500 per page",
"search.uid": "By User ID",
"search.uid-placeholder": "Enter a user ID to search",
@@ -44,6 +47,7 @@
"users.uid": "uid",
"users.username": "username",
"users.email": "email",
"users.ip": "IP",
"users.postcount": "postcount",
"users.reputation": "reputation",
"users.flags": "flags",
@@ -81,11 +85,15 @@
"alerts.confirm-remove-moderator": "Do you really want to remove this moderator?",
"alerts.remove-moderator-success": "User is no longer moderator.",
"alerts.confirm-validate-email": "Do you want to validate email(s) of these user(s)?",
"alerts.confirm-force-password-reset": "Are you sure you want to force the password reset and log out these user(s)?",
"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.confirm-delete": "<b>Warning!</b><br/>Do you really want to delete user(s)?<br/> This action is not reversable! Only the user account will be deleted, their posts and topics will remain.",
"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-purge": "<b>Warning!</b><br/>Do you really want to delete user(s) and their content?<br/> This action is not reversable! All user data and content will be erased!",
"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>",
"alerts.delete-content-success": "User(s) Content Deleted!",
"alerts.confirm-purge": "<strong>Warning!</strong><p>Do you really want to delete <strong>user(s) and their content</strong>?</p><p>This action is not reversible! All user data and content will be erased!</p>",
"alerts.create": "Create User",
"alerts.button-create": "Create",
"alerts.button-cancel": "Cancel",
@@ -93,7 +101,9 @@
"alerts.error-x": "<strong>Error</strong><p>%1</p>",
"alerts.create-success": "User created!",
"alerts.prompt-email": "Email: ",
"alerts.prompt-email": "Emails: ",
"alerts.email-sent-to": "An invitation email has been sent to %1",
"alerts.x-users-found": "%1 user(s) found! Search took %2 ms."
"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,11 +1,10 @@
{
"section-dashboard": "Dashboards",
"dashboard/overview": "Overview",
"dashboard/logins": "Logins",
"dashboard/users": "Users",
"dashboard/topics": "Topics",
"section-general": "عام",
"general/dashboard": "اللوحة الرئيسية",
"general/homepage": "الصفحة الرئيسية",
"general/navigation": "التصفح",
"general/languages": "اللغات",
"general/sounds": "الأصوات",
"general/social": "شبكات التواصل",
"section-manage": "إدارة",
"manage/categories": "الأقسام",
@@ -18,20 +17,27 @@
"manage/groups": "المجموعات",
"manage/ip-blacklist": "قائمة حظر عناوين IP",
"manage/uploads": "Uploads",
"manage/digest": "Digests",
"section-settings": "إعدادات",
"settings/general": "عامة",
"settings/reputation": "السمعة",
"settings/homepage": "Home Page",
"settings/navigation": "Navigation",
"settings/reputation": "Reputation & Flags",
"settings/email": "البريد الإلكتروني",
"settings/user": "الأعضاء",
"settings/group": "المجموعات",
"settings/user": "Users",
"settings/group": "Groups",
"settings/guest": "الزوار",
"settings/uploads": "الرفع",
"settings/post": "المشاركة",
"settings/chat": "الدردشة",
"settings/languages": "Languages",
"settings/post": "Posts",
"settings/chat": "Chats",
"settings/pagination": "ترقيم الصفحات",
"settings/tags": "الكلمات المفتاحية",
"settings/notifications": "التنبيهات",
"settings/api": "API Access",
"settings/sounds": "Sounds",
"settings/social": "Social",
"settings/cookies": "Cookies",
"settings/web-crawler": "Web Crawler",
"settings/sockets": "Sockets",
@@ -57,22 +63,26 @@
"section-advanced": "Advanced",
"advanced/database": "Database",
"advanced/events": "Events",
"advanced/hooks": "Hooks",
"advanced/logs": "Logs",
"advanced/errors": "Errors",
"advanced/cache": "Cache",
"development/logger": "Logger",
"development/info": "Info",
"reload-forum": "Reload Forum",
"rebuild-and-restart-forum": "Rebuild & Restart Forum",
"restart-forum": "Restart Forum",
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Search for settings",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",
"search.start-typing": "Start typing to see results...",
"connection-lost": "Connection to %1 has been lost, attempting to reconnect..."
"connection-lost": "Connection to %1 has been lost, attempting to reconnect...",
"alerts.version": "Running <strong>NodeBB v%1</strong>",
"alerts.upgrade": "Upgrade to v%1"
}

View File

@@ -1,19 +1,43 @@
{
"maintenance-mode": "Maintenance Mode",
"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",
"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",
"headers.csp-frame-ancestors-help": "'none', 'self'(default) or list of URIs to allow.",
"headers.powered-by": "Customise the \"Powered By\" header sent by NodeBB",
"headers.acao": "Access-Control-Allow-Origin",
"headers.acao-regex": "Access-Control-Allow-Origin Regular Expression",
"headers.acao-help": "To deny access to all sites, leave empty",
"headers.acao-regex-help": "Enter regular expressions here to match dynamic origins. To deny access to all sites, leave empty",
"headers.acac": "Access-Control-Allow-Credentials",
"headers.acam": "Access-Control-Allow-Methods",
"headers.acah": "Access-Control-Allow-Headers",
"hsts": "Strict Transport Security",
"hsts.enabled": "Enabled HSTS (recommended)",
"hsts.maxAge": "HSTS Max Age",
"hsts.subdomains": "Include subdomains in HSTS header",
"hsts.preload": "Allow preloading of HSTS header",
"hsts.help": "If enabled, an HSTS header will be set for this site. You can elect to include subdomains and preloading flags in your header. If in doubt, you can leave these unchecked. <a href=\"%1\">More information <i class=\"fa fa-external-link\"></i></a>",
"traffic-management": "Traffic Management",
"traffic.help": "NodeBB deploys equipped with a module that automatically denies requests in high-traffic situations. You can tune these settings here, although the defaults are a good starting point.",
"traffic.help": "NodeBB uses a module that automatically denies requests in high-traffic situations. You can tune these settings here, although the defaults are a good starting point.",
"traffic.enable": "Enable Traffic Management",
"traffic.event-lag": "Event Loop Lag Threshold (in milliseconds)",
"traffic.event-lag-help": "Lowering this value decreases wait times for page loads, but will also show the \"excessive load\" message to more users. (Restart required)",
"traffic.lag-check-interval": "Check Interval (in milliseconds)",
"traffic.lag-check-interval-help": "Lowering this value causes NodeBB to become more sensitive to spikes in load, but may also cause the check to become too sensitive. (Restart required)"
"traffic.lag-check-interval-help": "Lowering this value causes NodeBB to become more sensitive to spikes in load, but may also cause the check to become too sensitive. (Restart required)",
"sockets.settings": "WebSocket Settings",
"sockets.max-attempts": "Max Reconnection Attempts",
"sockets.default-placeholder": "Default: %1",
"sockets.delay": "Reconnection Delay",
"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)",
"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,16 @@
{
"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.",
"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",
"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",
"no-description": "No description specified.",
"token-on-save": "Token will be generated once form is saved"
}

View File

@@ -6,6 +6,7 @@
"max-length": "Maximum length of chat messages",
"max-room-size": "Maximum number of users in chat rooms",
"delay": "Time between chat messages in milliseconds",
"restrictions.seconds-edit-after": "Number of seconds before users are allowed to edit chat messages after posting. (0 disabled)",
"restrictions.seconds-delete-after": "Number of seconds before users are allowed to delete chat messages after posting. (0 disabled)"
"notification-delay": "Notification delay for chat messages. (0 for no delay)",
"restrictions.seconds-edit-after": "Number of seconds a chat message will remain editable. (0 disabled)",
"restrictions.seconds-delete-after": "Number of seconds a chat message will remain deletable. (0 disabled)"
}

View File

@@ -4,8 +4,10 @@
"consent.message": "Notification message",
"consent.acceptance": "Acceptance message",
"consent.link-text": "Policy Link Text",
"consent.link-url": "Policy Link URL",
"consent.blank-localised-default": "Leave blank to use NodeBB localised defaults",
"settings": "Settings",
"cookie-domain": "Session cookie domain",
"max-user-sessions": "Max active sessions per user",
"blank-default": "Leave blank for default"
}

View File

@@ -22,6 +22,8 @@
"smtp-transport.username": "Username",
"smtp-transport.username-help": "<b>For the Gmail service,</b> enter the full email address here, especially if you are using a Google Apps managed domain.",
"smtp-transport.password": "Password",
"smtp-transport.pool": "Enable pooled connections",
"smtp-transport.pool-help": "Pooling connections prevents NodeBB from creating a new connection for every email. This option only applies if SMTP Transport is enabled.",
"template": "Edit Email Template",
"template.select": "Select Email Template",
@@ -30,8 +32,10 @@
"testing.select": "Select Email Template",
"testing.send": "Send Test Email",
"testing.send-help": "The test email will be sent to the currently logged in user's email address.",
"subscriptions": "Email Subscriptions",
"subscriptions.disable": "Disable subscriber notification emails",
"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.settings": "Email notification settings",
"notifications.remove-images": "Remove images from email notifications"
}

View File

@@ -1,35 +1,47 @@
{
"site-settings": "Site Settings",
"title": "Site Title",
"title.url": "URL",
"site-settings": "اعدادات الموقع",
"title": "عنوان الموقع",
"title.short": "عنوان قصير",
"title.short-placeholder": "ان لم تقم بكتابة عنوان مختصر, سيتم استخدام عنوان الموقع الكلي",
"title.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.name": "Your Community Name",
"title.name": "اسم المنتدي",
"title.show-in-header": "Show Site Title in Header",
"browser-title": "Browser Title",
"browser-title": "عنوان المتصفح",
"browser-title-help": "If no browser title is specified, the site title will be used",
"title-layout": "Title Layout",
"title-layout-help": "Define how the browser title will be structured ie. &#123;pageTitle&#125; | &#123;browserTitle&#125;",
"description.placeholder": "A short description about your community",
"description": "Site Description",
"keywords": "Site Keywords",
"description": "وصف الموقع",
"keywords": "الكلمات الدليله للموقع",
"keywords-placeholder": "Keywords describing your community, comma-separated",
"logo": "Site Logo",
"logo.image": "Image",
"logo": "شعار الموقع",
"logo.image": "صورة",
"logo.image-placeholder": "Path to a logo to display on forum header",
"logo.upload": "Upload",
"logo.url": "URL",
"logo.upload": "رفع",
"logo.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.alt-text": "Alt Text",
"logo.alt-text": "نص بديل",
"log.alt-text-placeholder": "Alternative text for accessibility",
"favicon": "Favicon",
"favicon.upload": "Upload",
"touch-icon": "Homescreen/Touch Icon",
"touch-icon.upload": "Upload",
"touch-icon.help": "Recommended size and format: 192x192, PNG format only. If no touch icon is specified, NodeBB will fall back to using the favicon.",
"favicon": "صورة المفضله",
"favicon.upload": "رفع",
"pwa": "Progressive Web App",
"touch-icon": "Touch Icon",
"touch-icon.upload": "رفع",
"touch-icon.help": "Recommended size and format: 512x512, PNG format only. If no touch icon is specified, NodeBB will fall back to using the favicon.",
"maskable-icon": "Maskable (Homescreen) Icon",
"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 default sort by",
"outgoing-links.whitelist": "Domains to whitelist for bypassing the warning page"
"search-default-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",
"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

@@ -3,9 +3,10 @@
"private-groups": "Private Groups",
"private-groups.help": "If enabled, joining of groups requires the approval of the group owner <em>(Default: enabled)</em>",
"private-groups.warning": "<strong>Beware!</strong> If this option is disabled and you have private groups, they automatically become public.",
"allow-creation": "Allow Group Creation",
"allow-creation-help": "If enabled, users can create groups <em>(Default: disabled)</em>",
"allow-multiple-badges": "Allow Multiple Badges",
"allow-multiple-badges-help": "This flag can be used to allow users to select multiple group badges, requires theme support.",
"max-name-length": "Maximum Group Name Length",
"max-title-length": "Maximum Group Title Length",
"cover-image": "Group Cover Image",
"default-cover": "Default Cover Images",
"default-cover-help": "Add comma-separated default cover images for groups that don't have an uploaded cover image"

View File

@@ -1,8 +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\"",
"privileges": "Guest Privileges",
"privileges.can-search": "Allow guests to search without logging in",
"privileges.can-search-users": "Allow guests to search users without logging in"
"topic-views.enabled": "Allow guests to increase topic view counts",
"reply-notifications.enabled": "Allow guests to generate reply notifications"
}

View File

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

View File

@@ -5,13 +5,11 @@
"tooltip": "Tooltip:",
"text": "Text:",
"text-class": "Text Class: <small>optional</small>",
"class": "Class: <small>optional</small>",
"id": "ID: <small>optional</small>",
"properties": "Properties:",
"only-admins": "Only display to Admins",
"only-global-mods-and-admins": "Only display to Global Moderators and Admins",
"only-logged-in": "Only display to logged in users",
"only-guest": "Only display to guests",
"groups": "Groups:",
"open-new-window": "Open in a new window",
"btn.delete": "Delete",

View File

@@ -1,11 +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",
"initial-num-load": "Initial Number of Topics to Load on Unread, Recent, and Popular"
"categories-per-page": "Categories per page"
}

View File

@@ -7,19 +7,22 @@
"sorting.most-posts": "Most Posts",
"sorting.topic-default": "Default Topic Sorting",
"length": "Post Length",
"post-queue": "Post Queue",
"restrictions": "Posting Restrictions",
"restrictions-new": "New User Restrictions",
"restrictions.post-queue": "Enable post queue",
"restrictions.post-queue-rep-threshold": "Reputation required to bypass post queue",
"restrictions.groups-exempt-from-post-queue": "Select groups that should be exempt from the post queue",
"restrictions-new.post-queue": "Enable new user restrictions",
"restrictions.post-queue-help": "Enabling post queue will put the posts of new users in a queue for approval.",
"restrictions-new.post-queue-help": "Enabling new user restrictions will set restrictions on posts created by new users.",
"restrictions.seconds-between": "Seconds between posts",
"restrictions.post-queue-help": "Enabling post queue will put the posts of new users in a queue for approval",
"restrictions-new.post-queue-help": "Enabling new user restrictions will set restrictions on posts created by new users",
"restrictions.seconds-between": "Number of seconds between posts",
"restrictions.seconds-between-new": "Seconds between posts for new users",
"restrictions.rep-threshold": "Reputation threshold before these restrictions are lifted",
"restrictions.seconds-defore-new": "Seconds before new user can post",
"restrictions.seconds-edit-after": "Number of seconds before users are allowed to edit posts after posting. (0 disabled)",
"restrictions.seconds-delete-after": "Number of seconds before users are allowed to delete posts after posting. (0 disabled)",
"restrictions.replies-no-delete": "Number of replies after users are disallowed to delete their own topics. (0 disabled)",
"restrictions.seconds-before-new": "Seconds before a new user can make their first post",
"restrictions.seconds-edit-after": "Number of seconds a post remains editable (set to 0 to disable)",
"restrictions.seconds-delete-after": "Number of seconds a post remains deletable (set to 0 to disable)",
"restrictions.replies-no-delete": "Number of replies after users are disallowed to delete their own topics (set to 0 to disable)",
"restrictions.min-title-length": "Minimum Title Length",
"restrictions.max-title-length": "Maximum Title Length",
"restrictions.min-post-length": "Minimum Post Length",
@@ -29,6 +32,10 @@
"timestamp": "Timestamp",
"timestamp.cut-off": "Date cut-off (in days)",
"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",
@@ -37,6 +44,7 @@
"unread.cutoff": "Unread cutoff days",
"unread.min-track-last": "Minimum posts in topic before tracking last read",
"recent": "Recent Settings",
"recent.max-topics": "Maximum topics on /recent",
"recent.categoryFilter.disable": "Disable filtering of topics in ignored categories on the /recent page",
"signature": "Signature Settings",
"signature.disable": "Disable signatures",
@@ -49,5 +57,6 @@
"composer.enable-plugin-help": "Allow plugins to add content to the help tab",
"composer.custom-help": "Custom Help Text",
"ip-tracking": "IP Tracking",
"ip-tracking.each-post": "Track IP Address for each post"
"ip-tracking.each-post": "Track IP Address for each post",
"enable-post-history": "Enable Post History"
}

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