Commit Graph

12835 Commits

Author SHA1 Message Date
Julian Lam
4f524e9f94 feat: token rolling API for admins
+ tests
2023-05-11 15:22:50 -04:00
Julian Lam
ce23caf7e6 feat: token editing and deletion 2023-05-11 15:22:50 -04:00
Julian Lam
e4888dea17 feat: api token migration, new ACP tokens list, token creation 2023-05-11 15:22:50 -04:00
Julian Lam
7b8bffd763 feat: internal utility functions for token management (creation, deletion, etc)
Including tests
2023-05-11 15:22:50 -04:00
Julian Lam
686ecea123 fix: #11589, regression where a user could not confirm their email if requireEmailAddress was enabled 2023-05-11 11:34:24 -04:00
Barış Soner Uşaklı
ad1ae29105 dep: closes #11577
Breaking: Cross-Origin-Embedder-Policy middleware is now disabled by default. See #​411
2023-05-10 17:42:56 -04:00
Julian Lam
e94c58becd Merge remote-tracking branch 'origin/master' into develop 2023-05-10 12:12:19 -04:00
Barış Soner Uşaklı
8a1ec4d645 fix: reset password
https://community.nodebb.org/post/93016
2023-05-10 07:41:53 -04:00
Barış Soner Uşaklı
78f793473d feat: up emoji, remove title parse code 2023-05-08 12:24:47 -04:00
Barış Soner Uşaklı
6d5a2635ba parse topic titles for post summaries 2023-05-08 11:40:27 -04:00
Barış Soner Uşaklı
2cdc454f3e use order by 2023-05-07 23:48:09 -04:00
Barış Soner Uşaklı
f083cd559d feat: add getSortedSetMembersWithScores (#11579)
* feat: add getSortedSetMembersWithScores

* lint: fix

* test: fix redis

* fix: mongo/psql
2023-05-07 22:32:05 -04:00
Barış Soner Uşaklı
e1473bcc2d fix: strip html tags from browser title 2023-05-07 19:00:21 -04:00
Julian Lam
84313712a2 fix: add an additional check on page load to enforce requireEmailAddress setting
The old behaviour would require that an email be entered, but did not block access to the forum (nor did it ensure that the email was verified).

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

The only exceptions are super admins (so they don't get locked out).
2023-05-05 14:38:01 -04:00
Barış Soner Uşaklı
ca93084cc5 fix: gdrp checkboxes 2023-05-04 21:19:09 -04:00
Barış Soner Uşaklı
18e76ba5fc fix: #11570
fix direction of dropdowns on rtl
2023-05-04 20:04:30 -04:00
Barış Soner Uşaklı
e0db9a8978 test: fix assert.reject calls
fix tests
2023-05-04 09:47:58 -04:00
Barış Soner Uşaklı
fbf44a10e7 feat: expiration date for widgets
closes #10495
2023-05-03 20:09:15 -04:00
Barış Soner Uşaklı
093ec0e8ab fix: closes #11559, fix some rtl issues 2023-05-03 13:23:57 -04:00
Barış Soner Uşaklı
589761be97 group filter 2023-05-03 11:00:32 -04:00
Barış Soner Uşaklı
8e63e43a3b refactor: move to modals 2023-05-02 20:26:55 -04:00
Julian Lam
2b8dd3d202 fix: #11554, email requirement bypass by sending in whitespace 2023-05-02 11:47:54 -04:00
Barış Soner Uşaklı
d02f257945 fix badge bg 2023-05-02 11:26:42 -04:00
Barış Soner Uşaklı
ec0da196d8 chore: whopps 2023-05-01 14:22:56 -04:00
Barış Soner Uşaklı
83fca31628 feat: closes #11549, new error pages 2023-05-01 14:20:39 -04:00
Barış Soner Uşaklı
caac938428 add flex-fill 2023-05-01 13:57:21 -04:00
Barış Soner Uşaklı
73d02725f0 new 404 page 2023-05-01 13:49:34 -04:00
Julian Lam
36895421ba refactor: topic mark read/unread routes 2023-05-01 12:02:34 -04:00
Julian Lam
69b409385d refactor: migrate posts.getReplies to write API 2023-05-01 12:02:34 -04:00
Julian Lam
ee9f53f1ff refactor: deprecate socket method posts.getPidIndex 2023-05-01 12:02:34 -04:00
Julian Lam
d814e281a0 feat: write API shorthand to query post routes by their topic index (requires tid in either query string or request body)
middleware.checkRequired is also updated to check for matches in req.query as well.
2023-05-01 12:02:34 -04:00
Julian Lam
cdd7748003 fix: add back removed socket method, added deprecation warnings, as there are no breaking changes allowed in v3.1.0 2023-05-01 12:02:34 -04:00
Julian Lam
f2082d7de8 refactor: started work on porting socket methods to write API [breaking]
The following socket calls have been removed:

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

Two new Write API routes have been added:

- `GET /api/v3/posts/:pid/raw`
- `GET /api/v3/posts/:pid/summary`
2023-05-01 12:02:34 -04:00
Julian Lam
604a8f7e60 fix: black on red coloration on error when a bad reset code is received 2023-05-01 11:01:46 -04:00
Barış Soner Uşaklı
ec8d8ec45b fix: closes #11511
reset all user skins if they are no longer available
2023-05-01 10:56:05 -04:00
Barış Soner Uşaklı
e070b851b1 fix: outgoing style 2023-05-01 10:20:04 -04:00
Barış Soner Uşaklı
8e0f9ce573 fix: #11541, fix leave chat error 2023-05-01 09:20:52 -04:00
Barış Soner Uşaklı
870472108e refactor: if position 2023-04-30 21:23:24 -04:00
Barış Soner Uşaklı
e3551d80d7 feat: allow tag editing from topic tools
closes #7536
closes #7465
closes #11538
2023-04-30 21:17:25 -04:00
Barış Soner Uşaklı
9f485ce6f1 fix: remove positions 2023-04-29 23:02:32 -04:00
Barış Soner Uşaklı
5ead9b7365 fix: scroll on edit textarea 2023-04-29 21:54:28 -04:00
Barış Soner Uşaklı
eb0c77fd69 feat: #7096, improve chat editing
use a new template for editing chats,
remove the data-mid on the chat inputEl
2023-04-29 20:32:09 -04:00
Barış Soner Uşaklı
b891c5accd test: fix group tests
no idea how these passed on gh runner
2023-04-28 16:43:49 -04:00
Barış Soner Uşaklı
c23689d305 fix: #11531, fix teasers
1. with scheduled topics, pid is no longer reliable, lower pid can have higher timestamp(scheduled in the future) so use timestamp for sorting teasers
2. when restoring/deleting topics, update the teaser tid as the last step because it checks topicData.deleted
2023-04-28 16:08:02 -04:00
Barış Soner Uşaklı
3099d57f24 feat: #11431
add joindate/postcount/reputation to user
add lastposttime to topic
2023-04-28 14:06:02 -04:00
oplik0
2bfdd76180 feat: show even uninstalled active plugins if set via config 2023-04-28 12:59:32 -04:00
oplik0
74cb224344 feat: add option to autoinstall plugins on setup 2023-04-28 12:59:32 -04:00
Barış Soner Uşaklı
2720a692cf fix: #11530, fix topic rescheduling
don't display scheduled posts in group page
when topic is rescheduled update post sorted sets with new timestamp
when post is published update group posts zset
fix markTopicRead if topic was read while it was still hidden
2023-04-28 10:10:34 -04:00
Barış Soner Uşaklı
5607e5bccb fix: #10594, move counter code (#11529)
instead of updating counters one by one on each topic move, update them once after all topics are moved, use zcard instead of incr/decr
2023-04-27 20:27:42 -04:00
Barış Soner Uşaklı
c3854b786e feat: closes #11432, use edited time if its greater 2023-04-26 16:16:44 -04:00