Barış Soner Uşaklı
8614d8258d
test: show tids on test fail
2025-09-25 19:20:17 -04:00
Barış Soner Uşaklı
10350ea6f6
revert: post queue changes to fix tests
2025-09-09 11:20:03 -04:00
Julian Lam
9bfce68b5e
test: disable post queue when testing posting logic
2025-09-05 14:39:23 -04:00
Barış Soner Uşaklı
9d4a9b83cc
fix: closes #13624 , update post fields before schedule code
...
tldr when reschedule was called it was still using the timestamp in the future when adding to cid:<cid>:pids causing that post to get stuck at the top of that zset, which led to the bug in this issue
2025-08-29 21:02:14 -04:00
Barış Soner Uşaklı
8eedb38a99
test: test fixes for default teaser change
2025-07-22 10:51:54 -04:00
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ı
b80440aacd
test: fix x-redirect tests
2025-01-22 14:09:00 -05:00
Barış Soner Uşaklı
c15bdd4cf0
👋 Request, 🐶 Fetch, closes #10341 ( #12236 )
...
* axios migration
* controller tests
* add missing deps
* feeds
* remove unused async
* flags
* locale-detect
* messaging/middleware
* remove log
* meta
* plugins
* posts
* search
* topics/thumbs
* user/emails
* uploads.js
* socket.io
* cleaunup
* test native fetch
* cleanup
* increase engine to 18
fix remaining tests
* remove testing file
* fix comments,typo
* revert debug
2023-12-18 12:08:34 -05:00
Julian Lam
ce7403014a
test: added tests for new logic paths (toPid validation on post creation)
...
re: #12025
2023-09-25 10:34:35 -04:00
Barış Soner Uşaklı
d615273d90
test: fix tests to use regular uid
2023-07-26 10:07:38 -04:00
Barış Soner Uşaklı
a75fd636ad
test: add missing tests
2023-05-11 20:21:57 -04:00
Barış Soner Uşaklı
e0db9a8978
test: fix assert.reject calls
...
fix tests
2023-05-04 09:47:58 -04:00
Julian Lam
36895421ba
refactor: topic mark read/unread routes
2023-05-01 12:02:34 -04:00
Julian Lam
82b4984b9d
test: replace calls to getReplies socket call to api method
2023-05-01 12:02:34 -04:00
Barış Soner Uşaklı
de2669a2c6
fix: only remove deleted tag, closes #11515
2023-04-24 15:39:00 -04:00
Julian Lam
d92da828a3
refactor: move post upload tests to its own file
2022-02-14 15:02:07 -05:00
Barış Soner Uşaklı
10949184ca
test: add failing guest csrf test ( #10169 )
...
* test: add failing guest csrf test
* test: use correct var
* fix: use applyCsrf for guests as well
2022-01-20 18:22:10 -05:00
Barış Soner Uşaklı
9b75b1ede2
test: update tag tests, fix linux symlink error
2022-01-10 18:41:07 -05:00
Barış Soner Uşaklı
f918a38164
breaking: remove socket.emit('topics.follow')
...
remove socket.emit('topics.changeWatching')
2021-12-13 12:55:54 -05:00
Barış Soner Uşaklı
6ad0472106
breaking: remove socket.emit('topics.post')
...
remove socket.emit('topics.search')
remove socket.emit('topics.getTopic')
2021-12-12 13:14:08 -05:00
Baris Usakli
20e76699a2
lint: missing ;
2021-12-10 12:16:58 -05:00
Baris Usakli
0d1e57dce0
breaking: remove deprecated methods
...
socket.emit('topics.delete') removed use `DELETE /api/v3/topics/state`
socket.emit('topics.restore') removed use `PUT /api/v3/topics/state`
socket.emit('topics.purge') removed use `DELETE /api/v3/topics`
socket.emit('topics.lock') removed use `PUT /api/v3/topics/lock`
socket.emit('topics.unlock') removed use `DELETE /api/v3/topics/lock`
socket.emit('topics.pin') removed use `PUT /api/v3/topics/pin`
socket.emit('topics.unpin') removed use `DELETE /api/v3/topics/pin`
2021-12-10 12:12:04 -05:00
Barış Soner Uşaklı
f8f0a83b52
test: one more getTopicPosts test
2021-12-06 17:18:38 -05:00
Barış Soner Uşaklı
906dc5675e
fix: handle start=0 stop=0 for topics.getTopicPosts
...
add more tests
2021-12-06 16:36:30 -05:00
Barış Soner Uşaklı
a29535833f
fix : #10052 , dont use spaces in tag class name
2021-12-02 10:58:23 -05:00
Barış Soner Uşaklı
1cdb0b1e19
fix: don't crash if tid is falsy
2021-11-30 15:47:19 -05:00
Barış Soner Uşaklı
79de48c57f
breaking: remove deprecated methods
2021-11-23 13:21:18 -05:00
Barış Soner Uşaklı
c5f08fdc81
breaking: remove socket.io/flags.js
...
refactor: helpers.loginUser returns a single object {jar, csrf_token}
2021-11-22 19:23:51 -05:00
Barış Soner Uşaklı
4359e5c97c
refactor: remove tabs after declaration
2021-11-16 16:24:17 -05:00
Barış Soner Uşaklı
aac0792ab8
test: mainPost removed from inf scroll
2021-11-15 18:31:55 -05:00
Julian Lam
bd893cdaa3
fix: extra debug log
2021-10-14 13:59:11 -04:00
Julian Lam
154ffea01b
test: moved topic event and topic thumb tests to subfolder for better organisation
2021-10-13 21:02:05 -04:00
Barış Soner Uşaklı
2657804c1f
fix : #9790 , fix sorting of more than one page of pinned topics
2021-09-11 17:57:42 -04:00
Barış Soner Uşaklı
4a56388ec3
feat: store topic tags in topic hash ( #9656 )
...
* feat: store topic tags in topic hash
breaking: remove color info from tags (use css)
* fix: remove unused tag modal
* fix: tag search
2021-07-12 19:25:04 -04:00
Julian Lam
0960a81468
fix: tests
2021-07-09 12:24:32 -04:00
Barış Soner Uşaklı
84e065752f
fix : #9622 ( #9623 )
...
dont allow regular user to remove system tags
2021-06-22 11:09:32 -04:00
gasoved
8b79c7f139
fix: regress. rescheduling shouldn't add to sets that pinning removed… ( #9477 )
...
* fix: regress. rescheduling shouldn't add to sets that pinning removed from
* test: remove the also from tests
2021-04-21 19:19:04 -04:00
Barış Soner Uşaklı
f9df6431c9
revert: revert tag sort
2021-04-08 15:19:35 -04:00
Barış Soner Uşaklı
05f2236193
feat: add reverse of recent to getSortedTopics
2021-04-06 12:43:32 -04:00
gasoved
aa0137b1c4
feat: rescheduling (editing ST) ( #9445 )
2021-03-30 17:51:23 -04:00
gasoved
077330b764
feat: scheduled topics ( #9399 )
...
* feat: scheduled topics
* refactor: linting fixes
* fix: tests
* fix(test): race condition
* fix: make a single request
2021-03-24 14:28:02 -04:00
Barış Soner Uşaklı
eb360351e5
fix : #9394 , fix guest handles
2021-03-15 14:03:35 -04:00
Barış Soner Uşaklı
0e07f3c9ba
feat: allow defining a list of system tags
2021-02-17 14:44:04 -05:00
Peter Jaszkowiak
cc9d6fd08b
chore: eslint max-len
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
23f212a4c0
chore: eslint prefer-destructuring
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
2021-02-08 18:06:44 -05:00
Barış Soner Uşaklı
647d3ba810
fix: removed methods
2021-01-27 17:36:58 -05:00
Barış Soner Uşaklı
d2888d1d1f
Category tags ( #8938 )
...
* feat: wip category tags
* fix: tag search
* feat: remove debug
* fix: returns of searchTags and autocomplete
* fix: alpha sort
* fix: redis
* fix: delete zsets on category purge, fix another test
* fix: test
2020-12-06 12:36:40 -05:00