Commit Graph

1704 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
3526c937cc fix: tag urls getting double escaped (#13306)
* fix: tag urls getting double escaped

get rid of weird decodeURIComponent($.param()) usage
$.param returns a string suitable for use in query param string

* add a new test
2025-04-07 13:23:22 -04:00
Barış Soner Uşaklı
3ad6ee075b Thumb uploads/post uploads normalization (#13300)
* testing thumn/post upload refactor

* fix: isOrphan check

* lint: fix md5

* test: fix upload test

* user

* fix: upgrade script

* refactor: long line

* lint: lint

* test: fix tests

* Squashed commit of the following:

commit cd70e6c610
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Fri Apr 4 09:24:54 2025 -0400

    fix: req.body can be undefined

* refactor: show data on test fail

* test: logs

* test: change test

* make sure timestamps are different
2025-04-04 10:45:05 -04:00
Barış Soner Uşaklı
34de970fbe Merge branch 'master' into develop 2025-03-27 11:43:42 -04:00
Barış Soner Uşaklı
e722e86956 refactor: get rid of async.parallel 2025-03-24 10:22:27 -04:00
Barış Soner Uşaklı
807a8c66db fix: race condition in test 2025-03-22 12:12:35 -04:00
Barış Soner Uşaklı
6813664120 feat: testing eslint9 (#13266)
* feat: testing eslint9

* fix: restore original functionality
2025-03-22 11:21:49 -04:00
Barış Soner Uşaklı
8ee69f5169 Merge branch 'master' into develop 2025-03-18 21:22:15 -04:00
Barış Soner Uşaklı
8982923e41 test: add url/statusCode to failing test 2025-03-18 21:22:07 -04:00
Julian Lam
945617cbcf fix: only 1b12 announce topic fork if OP is local, fix race condition in tests 2025-03-11 15:32:10 -04:00
Julian Lam
254f0738bb feat: 1b12 category announce on post move to a new tid, #13236 2025-03-11 15:06:24 -04:00
Julian Lam
537880d2e8 test: fix actor tests 2025-03-11 13:27:37 -04:00
Julian Lam
74443c3b15 refactor: remove announceObject in favour of feps.announce, added create activity mock to support 2025-03-11 13:24:21 -04:00
Barış Soner Uşaklı
f9ce92df98 Merge branch 'master' into develop 2025-03-10 17:59:58 -04:00
Barış Soner Uşaklı
76896859fa fix: check if folder exists when uploading files in acp 2025-03-10 16:49:40 -04:00
Barış Soner Uşaklı
ec657b2715 Merge branch 'master' into develop 2025-03-09 12:13:48 -04:00
Barış Soner Uşaklı
1e6c6f4e44 fix: #13094, update unread chats on reconnect
unread topics and notifications were updated on reconnections, added chats as well
convert function to async added awaits
2025-03-09 12:03:09 -04:00
Barış Soner Uşaklı
170787aacd Merge branch 'master' into develop 2025-03-09 11:14:23 -04:00
Barış Soner Uşaklı
b517f05e90 refactor: use navAdmin 2025-03-08 00:39:46 -05:00
Barış Soner Uşaklı
1bd4087be2 Merge branch 'master' into develop 2025-03-08 00:39:14 -05:00
Barış Soner Uşaklı
0427971879 test: #13078, add nav test 2025-03-08 00:39:05 -05:00
Julian Lam
e3edfef865 feat: call announceObject on topic fork, #13215 2025-03-03 11:54:26 -05:00
Julian Lam
feb9421507 test: add failing test for #13215 2025-03-03 11:54:26 -05:00
Julian Lam
dca3c35d76 fix: move AP send logging earlier 2025-03-02 22:58:05 -05:00
Julian Lam
7ceb6d69ae test: adjust test runner detection in AP code 2025-03-02 21:58:46 -05:00
Julian Lam
e510e82633 test: new test file for feps 2025-02-28 14:46:12 -05:00
Julian Lam
6e872b5fe4 test: log outgoing AP messages for local test runner 2025-02-28 13:56:40 -05:00
Julian Lam
98aafaaff8 test: allow ap/notes tests to be run in isolation 2025-02-28 13:56:40 -05:00
Julian Lam
f1c2b2be04 Merge branch 'master' into develop 2025-02-27 13:34:28 -05:00
Julian Lam
428300de4f fix: scheduled topics and posts should return 404 on AP request 2025-02-27 13:34:21 -05:00
Julian Lam
01be4d7908 test: moved AP actor tests to separate actors.js file, added failing test for scheduled topics 2025-02-27 13:34:21 -05:00
Barış Soner Uşaklı
37001af0af Merge branch 'master' into develop 2025-02-26 21:07:41 -05:00
Julian Lam
04d5edbbe9 fix: add missing file 2025-02-26 18:25:51 -05:00
Julian Lam
c6ba56a517 test: update test to assert the note assertion itself
add failing test for Video handling
2025-02-26 13:06:37 -05:00
Julian Lam
c98f29aeb4 Merge branch 'master' into develop 2025-02-26 12:57:47 -05:00
Julian Lam
efb27ce0ac fix: tests for public and private note assertion, failing test for private note assertion with missing cc prop 2025-02-26 12:29:57 -05:00
Barış Soner Uşaklı
bfffbfbe57 test: update bcrypt hash for 3.x 2025-02-26 12:06:45 -05:00
Barış Soner Uşaklı
ca0fa1d347 test: update pwd test for bcrypt3.x 2025-02-26 12:00:54 -05:00
Julian Lam
64267f7de0 test: remove extra .only, add basic tests for public note assertion 2025-02-25 14:24:56 -05:00
Shlomo
577eee2f6a feat(config): add acpPluginInstallDisabled option (#13189) 2025-02-21 09:38:45 -05:00
Julian Lam
b8200095c0 fix: #13129, serve category backgroundImage as actor icon, not image
+ tests for category actor
2025-02-20 11:38:47 -05:00
Barış Soner Uşaklı
669755d1e9 test: dont clear local when testing 2025-02-18 11:57:28 -05:00
Barış Soner Uşaklı
f282407322 test: show objects on fail 2025-02-18 11:43:34 -05:00
Barış Soner Uşaklı
6431824216 test: wait after post request 2025-02-18 10:53:25 -05:00
Barış Soner Uşaklı
b0e8058f58 fix: page index for single page, closes #13173
add test case
2025-02-17 21:03:49 -05:00
Barış Soner Uşaklı
e85662a536 fix: getUserField so that it always returns null
if field doesn't exist
user.getUserField('foo', 'bar') returned undefined vs user.getUserField('1', 'bar') which returned null
2025-02-11 13:28:25 -05:00
Barış Soner Uşaklı
c1b630d484 test: search endpoint with start & end 2025-02-02 14:55:26 -05:00
Julian Lam
4a827b7e70 test: adjust webfinger test for updated 404 status code 2025-01-22 14:25:12 -05:00
Barış Soner Uşaklı
b80440aacd test: fix x-redirect tests 2025-01-22 14:09:00 -05:00
Barış Soner Uşaklı
52f7f0a75c test: change test to 404
c17809e450
2025-01-21 21:06:45 -05:00
Barış Soner Uşaklı
0ba4ba659c test: remove only 2025-01-21 20:47:55 -05:00