Commit Graph

14807 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
0ef98ec495 fix: set to empty string if undefined 2025-07-08 13:34:41 -04:00
Barış Soner Uşaklı
dbed2db992 fix: make clickable element anchor
add rounded corners
2025-07-08 11:03:02 -04:00
Barış Soner Uşaklı
113607829f remove log 2025-07-07 17:09:42 -04:00
Barış Soner Uşaklı
329f98d5db fix: for attribute, remove upload trigger when click inputs
user can input an absolute url in the inputs
2025-07-07 12:16:08 -04:00
Barış Soner Uşaklı
72fec565c2 fix: check topic and thumbs 2025-07-07 11:28:22 -04:00
Barış Uşaklı
24e7cf4a00 refactor: move post uploads to post hash (#13533)
* refactor: move post uploads to post hash

* test: add uploads to api definition

* refactor: move thumbs to topic hash

* chore: up composer

* refactor: dont use old zset
2025-07-07 10:22:24 -04:00
Barış Soner Uşaklı
5a5ca8a5fb fix: closes #13526, dont send multiple emails when user is invited 2025-07-02 17:38:35 -04:00
Barış Soner Uşaklı
37f0fa961e Refactor hook call for filterSortedTids 2025-07-01 10:01:10 -04:00
Barış Soner Uşaklı
7acd63c2a0 test: fix test, add joinLeaveMessages to newRoom 2025-06-27 15:03:23 -04:00
Barış Soner Uşaklı
92a3859f7b feat: add option to toggle chat join/leave message
closes #13508
2025-06-27 14:18:53 -04:00
Barış Soner Uşaklı
0b9bfc1ce1 refactor: parallel socket.io adapter 2025-06-18 16:59:57 -04:00
Barış Soner Uşaklı
f7f70468fd fix: pubsub on node-redis 2025-06-18 13:17:29 -04:00
Barış Uşaklı
14043ab0fd Node redis (#13500)
* refactor: start migrating to node-redis

* few more zset fixes

* fix: db.scan

* fix: list methods

* fix set methods

* fix: hash methods

* use hasOwn, remove cloning

* sorted set fixes

* fix: so data is converted to strings before saving

otherwise node-redis throws below error
TypeError: "arguments[2]" must be of type "string | Buffer", got number instead.

* chore: remove comments

* fix: zrank string param

* use new close

* chore: up dbsearch

* test: add log

* test: more log

* test: log failing test

* test: catch errors in formatApiResponse

add await so exception goes to catch

* tetst: add log

* fix: dont set null/undefined values

* test: more fixes
2025-06-18 13:04:57 -04:00
Barış Soner Uşaklı
3f7d415744 Merge branch 'master' into develop 2025-06-17 10:00:05 -04:00
Barış Soner Uşaklı
a3fed408e5 change default to perma ban 2025-06-17 09:21:00 -04:00
Barış Soner Uşaklı
8c69c6a0c4 feat: link to post in preview timestamp 2025-06-17 09:17:57 -04:00
Barış Soner Uşaklı
c1b47fbf4d Merge branch 'master' into develop 2025-06-11 17:14:08 -04:00
Barış Soner Uşaklı
da2597f81c fix: sanitize svg when uploading site-logo, default avatar and og:image 2025-06-11 17:13:56 -04:00
Barış Soner Uşaklı
dc37789b5d refactor: send single message 2025-06-11 13:16:52 -04:00
Eli Sheinfeld
84d99a0fc7 feat: Add live reload functionality with Grunt watch and Socket.IO (#13489)
- Added livereload event to Grunt watch tasks for instant browser refresh
- Integrated Socket.IO WebSocket communication for real-time updates
- Enhanced development workflow with immediate file change detection
- Improved developer experience with automatic browser reload on file changes

Changes:
- Gruntfile.js: Send livereload message when files change
- src/start.js: Handle livereload events and broadcast via Socket.IO
2025-06-11 13:13:23 -04:00
Barış Soner Uşaklı
341b570d0d Merge branch 'master' into develop 2025-06-10 10:47:22 -04:00
Barış Soner Uşaklı
14e30c4bf8 feat: closes #13484, post preview changes
don't close preview when mouse leaves the anchor
close preview on click outside
close preview when mouseleaves preview
open the preview to the top if there isn't enough space
add scrollbar to post preview
2025-06-10 10:47:14 -04:00
Barış Soner Uşaklı
61870b76bb Merge branch 'master' into develop 2025-06-09 11:08:32 -04:00
Barış Soner Uşaklı
b02eb57d06 fix: escape, query params 2025-06-09 10:23:00 -04:00
Barış Soner Uşaklı
d3a2dcf074 Merge branch 'master' into develop 2025-06-05 11:46:05 -04:00
Barış Soner Uşaklı
806e54bf5a fix: closes #13475, don't store escaped username
when updating profile
2025-06-05 11:42:29 -04:00
Julian Lam
6478532bf5 fix: ensure check returns false if no addresses are looked up, fix bug where cached value got changed accidentally 2025-06-05 11:28:47 -04:00
Barış Soner Uşaklı
677d6dd060 Merge branch 'master' into develop 2025-06-05 07:16:00 -04:00
Barış Uşaklı
4fbcfae8b1 Post queue write api (#13473)
* move post queue from socket.io to rest api

* move harmony post-queue to core

add canEdit, allow users to edit their queued posts

* fix: openapi spec

* lint: whitespace
2025-06-05 07:15:45 -04:00
Julian Lam
010113a9a0 fix: wrap cached returns for dns lookups in nextTick 2025-06-04 13:19:33 -04:00
Julian Lam
6411c19765 fix: #13459, unread indicators for remote categories 2025-06-02 11:58:54 -04:00
Julian Lam
a8e613e13a fix: further guard against DNS rebinding attack 2025-06-02 11:05:35 -04:00
Julian Lam
70c04f0cb2 fix: undefined check, allow plugins to append to allow list 2025-06-02 11:05:35 -04:00
Julian Lam
df36021628 fix: simplify dns to use .lookup instead of .resolve4 and .resolve6, automatically allow requests to own hostname 2025-06-02 11:05:35 -04:00
Julian Lam
9d3b8c3abc feat: add protection mechanism to request lib so that network requests to reserved IP ranges throw an error 2025-06-02 11:05:35 -04:00
Julian Lam
524a1e8bfe fix: return 200 for non-implemented activities instead of 501 2025-06-02 10:15:05 -04:00
Barış Soner Uşaklı
b1022566da fix: closes #13458, check if plugin is system
plugin before activate/deactive/install/uninstall
2025-06-02 09:55:20 -04:00
Julian Lam
fcb3bfbc35 fix: return 200 for non-implemented activities instead of 501 2025-06-01 12:40:42 -04:00
Julian Lam
3d88f70680 Merge branch 'master' into develop 2025-06-01 00:32:05 -04:00
Julian Lam
cc92702620 fix: add try..catch around topics.post in note assertion logic 2025-06-01 00:31:58 -04:00
Julian Lam
f34930f5e8 Merge branch 'master' into develop 2025-05-31 22:47:06 -04:00
Julian Lam
83a55f6adc fix: don't throw on unknown post on Undo(Like) 2025-05-31 22:46:47 -04:00
Julian Lam
4d44456ff9 Merge branch 'master' into develop 2025-05-30 16:49:24 -04:00
Julian Lam
629eec7b5b fix: add try..catch wrapper around Announce(Like) call to internal method so as to not return a 500 — just drop the Like activity 2025-05-30 16:49:15 -04:00
Barış Soner Uşaklı
ebb88c1277 feat: add action:post-queue.save
fires after a post is added to the post queue
2025-05-30 11:45:04 -04:00
Barış Soner Uşaklı
57a5de2682 refactor: use strings for cids 2025-05-30 11:15:02 -04:00
Barış Soner Uşaklı
28c021a01b fix: remove null categories 2025-05-30 11:11:45 -04:00
Barış Soner Uşaklı
8d16367ad4 Merge branch 'master' into develop 2025-05-30 11:02:56 -04:00
Barış Soner Uşaklı
390f642850 fix: browser title translation 2025-05-30 11:00:08 -04:00
Barış Soner Uşaklı
78de8c6da1 fix: allow guests to load topic tools if they have privilege to view them
display errors from topics.loadTopicTools
2025-05-30 09:22:06 -04:00