Barış Soner Uşaklı
c5f08fdc81
breaking: remove socket.io/flags.js
...
refactor: helpers.loginUser returns a single object {jar, csrf_token}
3 years ago
Barış Soner Uşaklı
fb363957d1
refactor: tab rules
3 years ago
Julian Lam
81611ae1c4
fix(emails): broken test for api/user/email/:email
...
+ fixed broken tests due to unexpected behaviour for email confirmation
4 years ago
Julian Lam
6694bdd550
fix(emails): registration tests, email no longer passed-in, API tests (confirm email for test accounts)
4 years ago
Julian Lam
ab9b671693
fix(emails): broken test due to sticky registration interstitial
4 years ago
Julian Lam
cc6cbfcdc4
Flags API ( #9666 )
...
* feat: new routes for flags API
+ flag get
+ flag creation, migration from socket method
+ flag update, migration from socket method
* fixed bug where you could not unassign someone from a flag
* feat: tests for new flags API
added missing files for schema update
* fix: flag tests to use Write API instead of sockets
* feat: flag notes API + tests
* chore: remove debug line
* test: fix breaking test on mongo
4 years ago
Julian Lam
0804d54759
spec: schema docs for new ACP dashboard subpage routes
4 years ago
Julian Lam
ad54b174a4
test: topic reordering tests
4 years ago
Peter Jaszkowiak
cc9d6fd08b
chore: eslint max-len
4 years ago
Peter Jaszkowiak
5c2f0f0557
chore: eslint no-restricted-syntax
4 years ago
Peter Jaszkowiak
23f212a4c0
chore: eslint prefer-destructuring
4 years ago
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
4 years ago
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
4 years ago
Peter Jaszkowiak
4ee0f1459d
chore: eslint import/newline-after-import
4 years ago
gasoved
cabec378f4
fix: openapi test specs
4 years ago
Julian Lam
bd5839639d
fix: http 200 test for api routes
4 years ago
Barış Soner Uşaklı
647d3ba810
fix: removed methods
4 years ago
Julian Lam
966c4117ec
refactor(api): post move to write API
4 years ago
Julian Lam
0da2843281
feat(api): schema definition for new credential checking route
4 years ago
Julian Lam
77a5adb616
fix(tests): handle nested allOf blocks
4 years ago
Julian Lam
4fc1337762
feat(api): added schema for email unsubscribe token
4 years ago
Julian Lam
501a7b7774
fix: bug in api path existence test
...
It was only checking for the path, but not ensuring that the method was also defined
4 years ago
Peter Jaszkowiak
2be396ff6e
fix: email testing and settings change from ACP
...
- changing email SMTP settings wouldn't apply the first time
- "Send Test Email" now will report emailer errors in most cases
4 years ago
Julian Lam
bbd97ccb48
fix: subfolder handling in tests
4 years ago
Julian Lam
5f038dffbd
test: changed test a bit to see what is going on
4 years ago
Julian Lam
6062039de2
fix: .flat() not defined in v10, added debug router to exclusion list
4 years ago
Julian Lam
f416dc177a
fix: all tests, wrap up work
4 years ago
Julian Lam
9c2de86a6e
fix: two more routes
4 years ago
Julian Lam
cb32e32ae3
feat: fix more tests, add more routes, update api test suite
4 years ago
Julian Lam
14c51e3c60
feat: add registration/complete route, fix some other tests
4 years ago
Julian Lam
b9a61d2d45
fix: api tests
4 years ago
Julian Lam
a962935743
fix: bad error message for request body api test
4 years ago
Julian Lam
7fc329de2f
fix: modify backreference test to not check router.all() calls
4 years ago
Julian Lam
878ee06715
refactor: schema backreference test to use map instead of reduce, properly check write-api routes
4 years ago
Julian Lam
df8d62ba06
feat: normalize paths before comparison
4 years ago
Julian Lam
dbe85630e3
feat: additional test to ensure any new routes added to express have a corresponding schema doc
...
re: #9103
4 years ago
Julian Lam
5950683316
feat: closes #9048 , tests for topic thumbs routes, write API schema
4 years ago
Barış Soner Uşaklı
77a6dbacc4
fix: api test
4 years ago
Julian Lam
a0b7a82350
feat(api): account deletion routes for the Write API ( #8881 )
...
* feat(api): account deletion routes for the Write API
* refactor: rewrite client-side calls to account deletion to use api
* style: apply DRY
4 years ago
Julian Lam
b3e00489c8
fix: add back test timeout for exports
4 years ago
Julian Lam
bcccb331db
docs: openapi schema for user/group exist check, session deletion
4 years ago
Julian Lam
97842c43d3
test: new api test to ensure each path's parameters are defined in context
4 years ago
Julian Lam
319cfeaa1c
test: updated test name to be more specific
4 years ago
Julian Lam
cc1c722092
fix: breaking test from 0db0231cff
...
Also lowered export timeout to 5s
4 years ago
Julian Lam
04185d94c1
fix: indentation
4 years ago
Julian Lam
8e7914ff72
fix: add back derpy 20 second sleep
4 years ago
Julian Lam
14e5c24ec5
fix(openapi): final fixes to schemas
4 years ago
Julian Lam
3ebb3a3479
fix: missing method in test error output
4 years ago
Julian Lam
b092f65d95
fix(writeapi): tests
4 years ago
Julian Lam
843aff582d
refactor: api test suite to accept methods other than GET
4 years ago