Commit Graph

1930 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
09183ac062 test: dont create users parallel 2026-03-28 13:35:47 -04:00
Barış Soner Uşaklı
deca5e6715 fix: redis/psql 2026-03-27 12:22:06 -04:00
Julian Lam
833899d091 fix: failing test 2026-03-27 11:40:24 -04:00
Barış Soner Uşaklı
837d984b84 refactor: some cleanup of dbal code 2026-03-27 11:24:43 -04:00
Julian Lam
8547fa9e48 fix: broken test 2026-03-27 11:06:26 -04:00
Julian Lam
25fb2969cf test: remove leftover .only 2026-03-27 10:50:12 -04:00
Julian Lam
4d3211caba fix: regression where topic moves during Announce(Create(Note)) stopped working, added test for #14040, fix broken AP test helper mock 2026-03-26 12:04:56 -04:00
Julian Lam
781ed3447b feat: track user cids (#14114)
* feat: start tracking which cids a user has posted to, update account pages' topics/posts view to call this new sorted set

re: #14113

* feat: upgrade script for #14113

* fix: cids unavailable in getPostsFields, duh

* fix: update sortedSetIncrByBulk in mongo/psql to return early on empty data

* fix: remove unused lodash require

* test: sortedSetIncrBy and sortedSetIncrByBulk tests

* test: who needs null checks anyway

* fix: sortedSetIncrByBulk null response

* test: aggregate zincrbulk data

if there are alot of identical key/value pairs they will be combined into a single row

* fix: key name

* test: fix test name

* lint: fix lint issues

* test: negative values should work too

* fix: add e11000 handler for incrByBulk

* refactor: fix variable name

* merge tests with existing zset test, remove dupes

* test: return topicData for failing test

* delete uid:<uid>:cids on user delete

---------

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2026-03-26 10:30:28 -04:00
Barış Soner Uşaklı
a10471fce7 fix: #14121, use normalizedPath when uploading
add test for normalize
2026-03-24 12:43:57 -04:00
Barış Soner Uşaklı
9bcef6b5ea fix: #14116, don't return ban reason if login credentials are incorrect 2026-03-23 09:43:15 -04:00
Julian Lam
8ca34e74bd fix: improve idempotency of ap test 2026-03-19 12:02:26 -04:00
Barış Soner Uşaklı
09de6fb9ae perf: switch to set, remove parseFloat in redis
add test to cover float
2026-03-14 17:39:43 -04:00
Barış Uşaklı
533ae69c46 feat: allow 3 profile pics (#14092)
* feat: allow 3 profile pics

* test: fix notification test

* test: fix user picture test

* test: relative_path fixes

* fix: relative_path getting saved in when updating profile pic
2026-03-13 18:42:50 -04:00
Julian Lam
ff1e1b9200 test: exclude uploadScreenshot from routeMap parsing test 2026-03-13 13:25:32 -04:00
Barış Soner Uşaklı
25f6088f52 test: fix test maybe 2026-03-11 22:53:38 -04:00
Barış Soner Uşaklı
ca3a89f38e Merge branch 'master' into develop 2026-03-11 20:26:56 -04:00
Barış Soner Uşaklı
e01cb1048a test: add one more topic to tag test
test partial tag removal
2026-03-11 20:21:33 -04:00
Barış Soner Uşaklı
dcdb73c303 Merge branch 'master' into develop 2026-03-11 17:21:38 -04:00
Barış Soner Uşaklı
0a94cecb0d fix: #14084, fix tags not getting properly removed from topics
this was happening because the same topic was passed to setObject bulk multiple times with different tag data.
the fix is to find the uniq tids first and then only call setObjectBulk once per topic
2026-03-11 17:21:06 -04:00
Barış Soner Uşaklı
5ff5971465 Merge branch 'master' into develop 2026-03-10 11:01:14 -04:00
Barış Soner Uşaklı
f6f51f83c4 perf: make a single round trip for set(s)Remove
use bulkWrite
2026-03-10 11:01:01 -04:00
Barış Soner Uşaklı
92fcdd09ca fix: closes #14074, only return url & name
from uploads, add tests to post uploads and thumb uploads to check only name & url is returned
2026-03-10 10:46:17 -04:00
Barış Soner Uşaklı
a391d01d30 fix: closes #14073, fix teasers from child categories
add a test
2026-03-10 09:49:23 -04:00
Barış Soner Uşaklı
38b347be9e Merge branch 'master' into develop 2026-03-09 21:24:34 -04:00
Barış Soner Uşaklı
c83087181c test: fix btn tests 2026-03-09 20:28:07 -04:00
Barış Soner Uşaklı
bcbb7bc444 perf: make a single round trip for set(s)Remove
use bulkWrite
2026-03-09 18:33:24 -04:00
Barış Soner Uşaklı
215d64408c test: cleaner user.delete test 2026-03-09 10:56:12 -04:00
Barış Uşaklı
3c0a654012 feat: show cronjobs in acp (#14068)
* feat: show cronjobs in acp

add a wrapper for cronjobs and display in acp

* test: add running to spec

* test: fix running, simplify calls

* test: prevent crash on stopJob
2026-03-06 20:42:38 -05:00
Barış Uşaklı
5c271e8958 scan. glob to regex (#14063)
* scan. glob to regex

* lint
2026-03-05 16:01:19 -05:00
Barış Uşaklı
7d50baecf0 scan. glob to regex (#14063)
* scan. glob to regex

* lint
2026-03-05 16:01:03 -05:00
Julian Lam
9604a0cd04 fix: missing done 2026-03-03 12:28:01 -05:00
Julian Lam
7429b5d4ed test: set minimumtitlelength for test 2026-03-03 12:06:50 -05:00
Julian Lam
8cba65cd29 test: added test to ensure that Likes do not get processed when privilege is rescinded
closes #14019
2026-03-02 14:39:32 -05:00
Julian Lam
06e0bd6a12 test: break apart inbox handling tests to its own file in test/activitypub 2026-03-02 13:55:48 -05:00
Barış Soner Uşaklı
e3119c76f3 test: add debug test to see if failing test is due to race condition 2026-03-02 10:16:07 -05:00
Barış Soner Uşaklı
9e76f38174 Merge branch 'master' into develop 2026-03-01 20:20:37 -05:00
Barış Soner Uşaklı
06bf2abfc4 fix: #14033, fix gif profile images
add test
2026-03-01 19:48:53 -05:00
Barış Soner Uşaklı
710cfd0f34 Merge branch 'master' into develop 2026-03-01 15:54:01 -05:00
Barış Soner Uşaklı
2d49da7889 fix: #14032, fix regression in room creation
add test
2026-03-01 15:45:32 -05:00
Barış Soner Uşaklı
04477f07db fix: parent cid 2026-03-01 14:21:09 -05:00
Barış Soner Uşaklı
f567d9707c fix: parent cid 2026-03-01 14:11:48 -05:00
Barış Soner Uşaklı
92d72f6745 refactor: remove admin.themes.getInstalled
socket call, and just load the themes in the api call
2026-02-28 12:25:29 -05:00
Barış Soner Uşaklı
64a072c92b fix: escape fullname in chatWithMessage 2026-02-27 00:19:17 -05:00
Julian Lam
29111ba7ca fix: allow break string and summary limits to be defined and applied 2026-02-26 15:43:09 -05:00
Barış Uşaklı
e4c945f636 refactor: allow passing an array to topics.purge and topics.purgePost… (#14018)
* refactor: allow passing an array to topics.purge and topics.purgePostsAndTopic

deprecate action:topic.purge, add action:topics.purge with array of deleted topics
update usage of topics.purge to pass in an array
fix an issue in posts/delete where cids were passed to parseInt, caused AP cids to get saved into category:NaN

* lint

* refactor: change style

* use array of tids
2026-02-26 13:09:42 -05:00
Julian Lam
b460506e4d fix: don't show magic break string in regularly parsed posts, tests for ap mocks lib 2026-02-26 12:32:24 -05:00
Barış Soner Uşaklı
872d7c74e5 test: remove assert 2026-02-24 17:42:43 -05:00
Barış Soner Uşaklı
de1f04d9d8 refactor: dont store ap pids in posts:pid
new zset postsRemote:pid
in topic purge only make 1 db call to reduce counters
2026-02-24 17:36:17 -05:00
Barış Soner Uşaklı
59f35e6fdb test: remove old test 2026-02-17 18:29:59 -05:00
Julian Lam
b1c097f84b test: update tests to allow title-less topics 2026-02-17 11:26:13 -05:00