Commit Graph

12903 Commits

Author SHA1 Message Date
Julian Lam
2fe933614a fix: clicking on email consent form label checks the wrong box 2023-08-09 14:24:33 -04:00
Opliko
ac4623ee6d fix: copy FA fonts to build directory instead of serving them directly (#11891)
resolves issues when proxies don't fall back to NodeBB for assets
2023-08-08 19:41:04 -04:00
Barış Soner Uşaklı
9349cb63cb feat: #11881, limit room names 2023-08-06 17:32:36 -04:00
Barış Soner Uşaklı
9ba6dda8bf handle delete/restore/edit messages 2023-08-06 10:13:33 -04:00
Barış Soner Uşaklı
0316f324e7 feat: add toMid to chat messages 2023-08-06 02:33:28 -04:00
Barış Soner Uşaklı
93bfb92a59 fix margins on reconnect 2023-08-04 13:37:12 -04:00
Barış Soner Uşaklı
acef5e3343 feat: add category selector to analytics page
closes #11878
2023-08-04 13:22:48 -04:00
Barış Soner Uşaklı
4f8aa1807e allow first page too 2023-08-04 12:49:44 -04:00
Barış Soner Uşaklı
f23891977d fix acp too 2023-08-04 11:48:54 -04:00
Barış Soner Uşaklı
2d883cbb6f fix reconnect toast taking space when no visible 2023-08-04 11:42:46 -04:00
Barış Soner Uşaklı
e4f8e5067e fix category analytics tpl 2023-08-04 11:08:03 -04:00
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