Commit Graph

13038 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
728d63f953 fix: closes #12115 , toggle hasmore as well 2023-10-24 10:52:33 -04:00
Barış Soner Uşaklı
d401bf450b fix count 2023-10-23 11:09:41 -04:00
Barış Soner Uşaklı
2a833ea476 dont count drafts 2023-10-23 10:31:23 -04:00
Barış Soner Uşaklı
2ca5192b8a feat: show # of widgets on templates
ability to hide drafts
2023-10-23 10:14:36 -04:00
Barış Soner Uşaklı
b1ff93f85c refactor: get rid of util.promisify on async function 2023-10-22 16:15:28 -04:00
Barış Soner Uşaklı
ff6bfeb87f refactor: fix comment 2023-10-21 10:06:49 -04:00
Barış Soner Uşaklı
2955fdb5a0 feat: #12101, dont return rssFeedUrl if feeds are disabled 2023-10-19 09:35:59 -04:00
Barış Soner Uşaklı
1739f5a9e7 fix: #10276, only move widgets if area doesn't exist
when changing a theme save all locations that have widgets in them, after restart go through these locations and if they don't exist anymore move those widgets to drafts
2023-10-18 10:37:11 -04:00
Barış Soner Uşaklı
b398321a5e Chat with privileged (#12092)
* Update headers.js

Fixes X-Upstream-Hostname header for os hostnames with invalid characters

* Added missing period in allowed hostname chars

Allowed hostname chars should include A-Za-z0-9-. based on https://man7.org/linux/man-pages/man7/hostname.7.html

* feat: add chat:privileged global privilege

to only allow chatting with privileged users

* test: fix priv test

* test: one more fix

---------

Co-authored-by: chadjw <chad.warner@gmail.com>
2023-10-17 13:19:25 -04:00
Barış Soner Uşaklı
9e9046bf65 feat: award notif filter 2023-10-16 19:18:17 -04:00
Barış Soner Uşaklı
c1ae879d90 fix: #12090, dont award disabled rewards 2023-10-16 19:17:52 -04:00
Barış Soner Uşaklı
347a43f4fe fix: rewards fixes
fix enabled/disabled button
sort rewards from oldest to newest
2023-10-16 19:02:42 -04:00
Barış Soner Uşaklı
e542b27d1d feat: update to mongodb 6.1 (#12087) 2023-10-15 13:38:57 -04:00
Barış Soner Uşaklı
eca64ef3d6 widget overflow fix 2023-10-14 15:06:09 -04:00
Barış Soner Uşaklı
c7c6e8ffb4 refactor: get rid of async.series 2023-10-13 12:11:41 -04:00
Barış Soner Uşaklı
f96b0b7a4a feat: add category canonical url 2023-10-12 16:21:19 -04:00
Barış Soner Uşaklı
aa69e2ed76 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2023-10-12 10:26:06 -04:00
Barış Soner Uşaklı
e35ff0a1b5 use absolute url 2023-10-12 10:26:00 -04:00
Julian Lam
db5b0f47e0 feat: update error handler to check for pseudo-standard no-* prefix and route to 404 handler instead 2023-10-12 10:23:30 -04:00
Julian Lam
e012edea3b feat: flag rescinding logic + api method 2023-10-12 10:23:30 -04:00
Julian Lam
cc8fe4353d fix: incorrect data passed to api.flags.get 2023-10-12 10:23:30 -04:00
Julian Lam
da2390594a test: added test cases for .addReport and .rescindReport() 2023-10-12 10:23:30 -04:00
Julian Lam
bc0f362cd7 feat: backend methods for rescinding a report, supplemental adds and removing a report now adds to the flag history 2023-10-12 10:23:30 -04:00
Barış Soner Uşaklı
f31f8bac9c add index to suggest topics 2023-10-11 13:18:50 -04:00
Barış Soner Uşaklı
e4765714ca use absolute urls for breadcrumbs 2023-10-11 13:03:43 -04:00
Barış Soner Uşaklı
1a745201cc feat: use homePageTitle in breadcrumbs if its set
https://github.com/NodeBB/NodeBB/issues/12066
2023-10-11 12:36:33 -04:00
Barış Soner Uşaklı
eceab2a6e0 height 2023-10-08 21:59:58 -04:00
Barış Soner Uşaklı
db9279ebff feat: 3 column layout for widgets 2023-10-08 21:23:29 -04:00
Barış Soner Uşaklı
c421c6690f remove breadcrumbs 2023-10-08 20:05:18 -04:00
Barış Soner Uşaklı
bda37ac27f fix: edit notification key 2023-10-07 08:25:15 -04:00
Barış Soner Uşaklı
ff952e596a refactor: shorter code for pinned topics 2023-10-06 14:17:20 -04:00
Julian Lam
872ddc26e4 fix: rename filter-perPage to filter-per-page 2023-10-05 14:48:41 -04:00
Barış Soner Uşaklı
6f5a965a23 fix: upgrade script date 2023-10-05 13:31:50 -04:00
Barış Soner Uşaklı
6c3ff86bcf fix: add upgrade script for notifications 2023-10-05 13:21:14 -04:00
Barış Soner Uşaklı
1072b38b83 fix: lang key, type has _, lang keys changed to use - 2023-10-05 12:53:00 -04:00
Barış Soner Uşaklı
844cb91beb feat: update all language keys to use - instead of _ (#12059)
* feat: update all language keys to use - instead of _

* refactor: update language keys
2023-10-05 12:48:50 -04:00
Barış Soner Uşaklı
f9fb3c3a06 refactor: change private message email subject
if roomName is set use it in the subject along wit the sender displayname
2023-10-05 01:02:39 -04:00
Julian Lam
715bdac3fa fix: #12017, unreliable forum updated messaging
- Removed payload from event:nodebb.ready event (ready to remove for v4 in favour)
- Send hostname/cache-buster payload in meta.reconnected method instead
2023-10-04 11:34:52 -04:00
Barış Soner Uşaklı
47c16e90ad refactor: use helpers.isAllowedTo 2023-10-03 23:58:32 -04:00
Barış Soner Uşaklı
344ece8db5 fix: #12057, allow gmods to change user email 2023-10-03 20:42:43 -04:00
Barış Soner Uşaklı
56794cf869 fix: only show emailChanged alert for self 2023-10-03 20:16:01 -04:00
Barış Soner Uşaklı
0f4e66485e fix: closes #12054 handle negative start/stop in psql 2023-10-03 13:53:18 -04:00
Julian Lam
2a1be01ac0 fix: make socket errors and static hook errors less noisy 2023-10-03 12:02:56 -04:00
Barış Soner Uşaklı
130815c725 perf: no need to count on every call 2023-10-03 10:04:46 -04:00
Julian Lam
a47b4805f3 refactor: add email notification delay to chat message notifications 2023-10-02 11:19:05 -04:00
Julian Lam
d478de1635 feat: add .has() method in cache/ttl lib 2023-10-02 11:19:05 -04:00
Julian Lam
3ba371f6c2 refactor: remove chat message notification queue, implement merge IDs for chat message notifications, so they can be grouped together 2023-10-02 11:19:05 -04:00
Barış Soner Uşaklı
56b31674e1 refactor: use esm only import used chart types/plugins 2023-10-01 18:33:52 -04:00
Barış Soner Uşaklı
fe192b926c feat: upgrade chartjs to 4.x 2023-09-29 21:50:11 -04:00
Barış Soner Uşaklı
be14f6cc52 feat: closes #11553, add forked from message like merged into 2023-09-28 10:10:30 -04:00