Commit Graph

12892 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
7a29c2eb2e fix reconnect alert fade and move it to core 2023-08-04 09:57:31 -04:00
Barış Soner Uşaklı
ae747875d8 fix: add missing id/for to all checkboxes 2023-08-03 18:08:30 -04:00
Julian Lam
bcc4b82cc6 feat: middleware.handleMultipart, applies on API routes — invokes multipart middleware based on content-type header 2023-08-03 12:16:03 -04:00
Barış Soner Uşaklı
23404ad103 feat: #11868 apply blacklist to routes (#11873)
api and regular routes
dont allow blacklisting self ip
check blacklist on socket emits
2023-08-03 10:58:03 -04:00
Barış Soner Uşaklı
f826545e93 add tooltips 2023-08-02 17:18:04 -04:00
Barış Soner Uşaklı
856754a5aa dark theme acp 2023-08-02 17:08:14 -04:00
Barış Soner Uşaklı
3837798292 test: fix test if ip is invalid 2023-08-02 15:13:08 -04:00
Barış Soner Uşaklı
38c0c8dec0 refactor: ip blacklist.test
also dont call ipaddr.parse if cidr rules is empty
add a test for cidr
2023-08-02 12:52:46 -04:00
Barış Soner Uşaklı
78c5dfdc58 feat: add icon to invite/accept notifs
https://github.com/NodeBB/NodeBB/issues/11864
2023-08-02 12:23:16 -04:00
Barış Soner Uşaklı
99c2294289 feat: add flags link to acp manage menu, closes #11867 2023-08-02 11:40:12 -04:00
Barış Soner Uşaklı
b688b6d4f2 bs5.3 updates (#11667)
* bs5.3 updates

* bootstrap 5.3.1

* chore: up bootswatch

* chore: up deps
2023-08-01 22:04:45 -04:00
Barış Soner Uşaklı
b5a8941a51 get rid of less, slideout 2023-08-01 14:31:15 -04:00
Barış Soner Uşaklı
82562bec44 fix: fix escaped characters in tooltips, fix priv checks in tooltips
closes #11862, closes #11857
2023-08-01 11:25:37 -04:00
Barış Soner Uşaklı
00e680b942 expose getEventsByEventIds
and fix stop = -1
2023-07-31 18:17:51 -04:00
Julian Lam
4ca71f6354 fix: #11855, remove superfluous password challenge on admin email update (unless they're updating their own) 2023-07-31 17:45:38 -04:00
Barış Soner Uşaklı
910aeb2ca2 add missing tooltip 2023-07-31 11:27:37 -04:00
Opliko
b709ed9e63 feat: move to npm fontawesome dependency and support fa pro (#11820)
* feat: move to npm fontawesome dependency

* feat: move shims to a separate file

* fix: thin style prefix

* feat: proper style and FA pro handling in icon selector

* docs: add fontawesome properties to openAPI

* fix: default for styles

* feat: select all styles by default

Turns out browsers lazy-load fonts.
So since the actual CSS for each style is small, there is no perf reason for defaulting to free styles for FA pro users.
This means they'll have to only change one setting.

Still, the option to select styles remains for those who want it.

* fix: remove console.log
2023-07-31 11:22:09 -04:00
Opliko
8ac34f8e8e feat: password check hook (#11853)
* feat: filter:password.check hook

As requested on Discord, hopefully including all relevant user data

* fix: don't use caller uid

* feat: don't forward username separately
2023-07-30 19:18:21 -04:00
Barış Soner Uşaklı
207776d474 Merge branch 'master' into develop 2023-07-29 20:34:22 -04:00
Opliko
c95119156d fix: register abort can error on weird session state (#11854) 2023-07-29 20:11:17 -04:00
Barış Soner Uşaklı
2fe193d68f refactor: dont load all tokens in verify token
use sortedSetsRemove
2023-07-28 11:47:52 -04:00
Barış Soner Uşaklı
11bfeaf130 feat: #11850, chat msg search 2023-07-28 10:56:25 -04:00
Barış Soner Uşaklı
48a66b74f1 fix tests 2023-07-27 17:39:14 -04:00
Barış Soner Uşaklı
d652da61d8 add upgrade script to set mid on msg objects
and create messages:mid for easy msg retrieval
2023-07-27 17:32:35 -04:00
Barış Soner Uşaklı
e68f7c2064 add missing hooks 2023-07-27 16:51:07 -04:00
Barış Soner Uşaklı
78aa904e97 gimme mid 2023-07-27 14:26:31 -04:00
Barış Soner Uşaklı
9ac52dbf5f change from/to 2023-07-27 10:59:13 -04:00
Barış Soner Uşaklı
f359a76702 feat: #11814, dont check content len for admins 2023-07-26 09:58:16 -04:00
Barış Soner Uşaklı
ac027387ec feat: #11842, ability to change reputation of users 2023-07-25 14:32:26 -04:00
Barış Soner Uşaklı
528e7e5a06 create obj with no prototype 2023-07-25 12:43:29 -04:00
Barış Soner Uşaklı
e41042eeea test: fix tests since nid format changed 2023-07-25 11:11:31 -04:00
Barış Soner Uşaklı
17783440e4 fix: #11841, use unique nid per user who flagged
if multiple users flag a post/user, the notifications are merged using mergeId.
if they use the same nid they overwrite each other
2023-07-25 10:24:18 -04:00
Barış Soner Uşaklı
0136e9248c refactor: dont sleep if iteration is done on first one 2023-07-24 15:23:59 -04:00
Barış Soner Uşaklı
4f3f9d9891 mark chat room notifs read on load 2023-07-21 16:19:26 -04:00
Julian Lam
2792d77104 fix: reset_code.tpl card block expanding to bottom of container 2023-07-21 15:47:27 -04:00
Barış Soner Uşaklı
61f036ce1d Chat notifs (#11832)
* first part of chat notifs

* moved default notif to manage page

* spec

* notifs

* delete settings on room delete
2023-07-21 15:31:34 -04:00
Barış Soner Uşaklı
9b1cc57604 add reverse support to db.processSortedSet (#11826) 2023-07-20 22:26:55 -04:00
Barış Soner Uşaklı
5393f0e714 Merge branch 'master' into develop 2023-07-20 16:03:04 -04:00
Barış Soner Uşaklı
dae4f9f7b6 fix: closes #11825, user icons in global privileges 2023-07-20 16:02:51 -04:00
Barış Soner Uşaklı
c1361ee580 add: new filter to filter skins 2023-07-20 15:31:12 -04:00
Barış Soner Uşaklı
0dce4c46b5 https://github.com/NodeBB/NodeBB/issues/11818 2023-07-19 04:31:19 -04:00
Barış Soner Uşaklı
77550a50db fix: fallback for room timestamp 2023-07-18 17:19:57 -04:00
Barış Soner Uşaklı
1956091ce4 Merge branch 'master' into develop 2023-07-18 16:46:42 -04:00
Barış Soner Uşaklı
6cc86b6eaf fix: dont error if timestamp is missing 2023-07-18 16:46:20 -04:00
Barış Soner Uşaklı
eb0fcd3235 feat: closes #11812, add unread public rooms into digest 2023-07-18 13:12:06 -04:00
Barış Soner Uşaklı
00be053e94 fix: topic postercount field if owner is changed
also fix when posts are purged
2023-07-18 12:38:17 -04:00
Barış Soner Uşaklı
16fe1eb98c fix: updateOwner
if there is another owner don't do anything
if not then make the next user in the room the owner
2023-07-17 22:49:02 -04:00
Barış Soner Uşaklı
91642cb324 feat: allow multiple room owners, closes #6503 2023-07-17 22:42:00 -04:00
Barış Soner Uşaklı
3e7ca4f20e fix: unread notif filter 2023-07-16 22:44:17 -04:00
Barış Soner Uşaklı
42a5a52dde use admin breadcrumbs 2023-07-16 20:32:56 -04:00