31436 Commits

Author SHA1 Message Date
Julian Lam
b5b188fd53 feat: allow isCluster, isPrimary, and jobsDisabled to be passed in as numbers in addition to string/bool
/cc @barisusakli
2021-12-23 15:20:34 -05:00
renovate[bot]
dd8b1f757d fix(deps): update dependency nodebb-theme-vanilla to v12.1.14 (#10102)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 13:58:44 -05:00
renovate[bot]
dd1633fff8 fix(deps): update dependency nodebb-theme-slick to v1.4.22 (#10101)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 13:54:50 -05:00
renovate[bot]
eccdfc9d6b fix(deps): update dependency nodebb-theme-lavender to v5.3.2 (#10099)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 13:27:12 -05:00
renovate[bot]
ee05b76264 chore(deps): update dependency jsdom to v19 (#10053)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 13:23:11 -05:00
renovate[bot]
4f6fc10b84 fix(deps): update dependency nodebb-theme-persona to v11.3.12 (#10100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 13:22:22 -05:00
Barış Soner Uşaklı
07232a8cf6 fix: retry incrObjtFieldBy 2021-12-23 11:28:48 -05:00
Barış Soner Uşaklı
b179f0fc0f fix: use component instead of class name 2021-12-23 11:05:37 -05:00
Misty (Bot)
842f96fc68 Latest translations and fallbacks 2021-12-23 09:05:46 +00:00
Julian Lam
d960f601a1 style: eslint 2021-12-22 15:37:23 -05:00
Julian Lam
2fe53cf849 feat: GET /api/v3/chats/:roomId/messages 2021-12-22 15:19:37 -05:00
Julian Lam
d95b4ee29a fix: assertion check to ensure messages are in the room when editing/deleting, etc 2021-12-22 14:58:42 -05:00
Julian Lam
82768fcf6e chore: remove debug logs in test/api.js 2021-12-22 14:39:31 -05:00
Julian Lam
aaa6f752d0 refactor: put message api calls behind /messages prefix, #10097 2021-12-22 14:39:18 -05:00
Misty (Bot)
207ae8cd6e chore(i18n): fallback strings for new resources: nodebb.error 2021-12-22 16:14:58 +00:00
Julian Lam
aeb43b9bb1 fix: rename language key for incorrect parameter type error 2021-12-22 10:59:36 -05:00
Julian Lam
e747998cba test: fix user tests calling deprecated socket methods 2021-12-22 10:59:36 -05:00
Julian Lam
47ab952639 docs: fix description for route 2021-12-22 10:59:36 -05:00
Julian Lam
0aa25f20d5 docs: roomId is number 2021-12-22 10:59:36 -05:00
Julian Lam
16ba16cdc4 fix: deprecate chats.leave 2021-12-22 10:59:36 -05:00
Julian Lam
fe17c94c35 feat: DELETE /api/v3/chats/:roomId/users and DELETE /api/v3/chats/:roomId/users/:uid 2021-12-22 10:59:36 -05:00
Julian Lam
6294beea0b fix: re-allow kicking of the other party in a 1-to-1 chat 2021-12-22 10:59:36 -05:00
Julian Lam
d62ee84637 feat: POST /chats/:roomId/users 2021-12-22 10:59:36 -05:00
Julian Lam
6eea6451d2 feat: GET /chats/:roomId/users [breaking] 2021-12-22 10:59:36 -05:00
Julian Lam
d5fd098ecf feat: POST /chats/:roomId/:mid and DELETE /chats/:roomId/:mid 2021-12-22 10:59:36 -05:00
Julian Lam
90fcbe4416 feat: middleware.assert.message 2021-12-22 10:59:36 -05:00
Julian Lam
b292960594 feat: GET /chats/:roomId/:mid 2021-12-22 10:59:36 -05:00
Julian Lam
f48ed3658a feat: PUT /chats/:roomId/:mid 2021-12-22 10:59:36 -05:00
Julian Lam
140f9d2481 fix: isFinite check for room assertion, more test migrating 2021-12-22 10:59:36 -05:00
Julian Lam
e745e21242 chore: use apiv3 for room rename tests 2021-12-22 10:59:36 -05:00
Julian Lam
74f1905ea8 feat: allow API checkRequired middleware error to be internationalized 2021-12-22 10:59:36 -05:00
Julian Lam
c990211cf2 refactor: rewrite messaging tests to use API v3 calls when available, rewrote a bunch of tests to async..await 2021-12-22 10:59:36 -05:00
Julian Lam
9a4fd5dc7e feat: PUT /api/v3/chats/:roomId 2021-12-22 10:59:36 -05:00
Julian Lam
eeffb9d978 feat: POST /api/v3/chats/:roomId 2021-12-22 10:59:36 -05:00
Julian Lam
09cf9c7770 feat: GET /api/v3/chats/:roomId 2021-12-22 10:59:36 -05:00
Julian Lam
55e68e2fd5 docs: openAPI documentation for routes 2021-12-22 10:59:36 -05:00
Julian Lam
40b4544e70 feat: POST /api/v3/chats, chat room creation, plus openAPI docs update 2021-12-22 10:59:36 -05:00
Julian Lam
94bead71fe feat: GET /api/v3/chats 2021-12-22 10:59:36 -05:00
Julian Lam
02e878be72 feat: stub code for v3 chats api 2021-12-22 10:59:36 -05:00
Barış Soner Uşaklı
a115b771f0 fix: #10096, don't display preview for links if hostname doesnt match 2021-12-22 10:55:30 -05:00
Misty (Bot)
139a4378b3 Latest translations and fallbacks 2021-12-22 09:05:51 +00:00
Barış Soner Uşaklı
35fea58a57 refactor: only write analytics data on nbb that has runJobs=true
prevents mongodb index error when lots of nodebbs try to write to the same key
2021-12-21 23:09:01 -05:00
Barış Soner Uşaklı
a9f81215cf fix: only render preview on topic page 2021-12-21 11:52:16 -05:00
Julian Lam
33c8b1971e docs: use social media card in readme header 2021-12-21 01:10:47 -05:00
Julian Lam
f7b3f69f6a docs: add social media card 2021-12-21 01:10:15 -05:00
Barış Soner Uşaklı
42781467d2 refactor: remove knonwOwner param 2021-12-20 17:43:45 -05:00
Barış Soner Uşaklı
8fb89d761a fix: don't crash server if analytics fails to save
fixes
MongoBulkWriteError: E11000 duplicate key error collection:
 community.objects index: _key_1_value_-1 dup key: { _key: "analytics:pageviews", value: "1639807200000" }
2021-12-20 16:28:03 -05:00
Barış Soner Uşaklı
e332acf3f7 fix: upgrade script to handle strings as well 2021-12-20 15:43:44 -05:00
Renovate Bot
32cbf760f6 fix(deps): update dependency nodebb-theme-persona to v11.3.11 2021-12-20 13:58:36 -05:00
Nazim
d23ac79839 Revert 2021-12-20 10:11:19 -05:00