Commit Graph

57 Commits (2f89b0d791faf06819833b2dc9ad4d8d23767ce2)

Author SHA1 Message Date
Julian Lam ad54b174a4 test: topic reordering tests
Peter Jaszkowiak cc9d6fd08b chore: eslint max-len
Peter Jaszkowiak 5c2f0f0557 chore: eslint no-restricted-syntax
Peter Jaszkowiak 23f212a4c0 chore: eslint prefer-destructuring
Peter Jaszkowiak b56d9e12b5 chore: eslint prefer-arrow-callback
Peter Jaszkowiak 707b55b6a5 chore: eslint prefer-template
Peter Jaszkowiak 4ee0f1459d chore: eslint import/newline-after-import
gasoved cabec378f4 fix: openapi test specs
Julian Lam bd5839639d fix: http 200 test for api routes
Barış Soner Uşaklı 647d3ba810 fix: removed methods
Julian Lam 966c4117ec refactor(api): post move to write API
Julian Lam 0da2843281 feat(api): schema definition for new credential checking route
Julian Lam 77a5adb616 fix(tests): handle nested allOf blocks
Julian Lam 4fc1337762 feat(api): added schema for email unsubscribe token
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
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
Julian Lam bbd97ccb48 fix: subfolder handling in tests
Julian Lam 5f038dffbd test: changed test a bit to see what is going on
Julian Lam 6062039de2 fix: .flat() not defined in v10, added debug router to exclusion list
Julian Lam f416dc177a fix: all tests, wrap up work
Julian Lam 9c2de86a6e fix: two more routes
Julian Lam cb32e32ae3 feat: fix more tests, add more routes, update api test suite
Julian Lam 14c51e3c60 feat: add registration/complete route, fix some other tests
Julian Lam b9a61d2d45 fix: api tests
Julian Lam a962935743 fix: bad error message for request body api test
Julian Lam 7fc329de2f fix: modify backreference test to not check router.all() calls
Julian Lam 878ee06715 refactor: schema backreference test to use map instead of reduce, properly check write-api routes
Julian Lam df8d62ba06 feat: normalize paths before comparison
Julian Lam dbe85630e3 feat: additional test to ensure any new routes added to express have a corresponding schema doc
re: 
Julian Lam 5950683316 feat: closes , tests for topic thumbs routes, write API schema
Barış Soner Uşaklı 77a6dbacc4 fix: api test
Julian Lam a0b7a82350
feat(api): account deletion routes for the Write API ()
* feat(api): account deletion routes for the Write API

* refactor: rewrite client-side calls to account deletion to use api

* style: apply DRY
Julian Lam b3e00489c8 fix: add back test timeout for exports
Julian Lam bcccb331db docs: openapi schema for user/group exist check, session deletion
Julian Lam 97842c43d3 test: new api test to ensure each path's parameters are defined in context
Julian Lam 319cfeaa1c test: updated test name to be more specific
Julian Lam cc1c722092 fix: breaking test from 0db0231cff
Also lowered export timeout to 5s
Julian Lam 04185d94c1 fix: indentation
Julian Lam 8e7914ff72 fix: add back derpy 20 second sleep
Julian Lam 14e5c24ec5 fix(openapi): final fixes to schemas
Julian Lam 3ebb3a3479 fix: missing method in test error output
Julian Lam b092f65d95 fix(writeapi): tests
Julian Lam 843aff582d refactor: api test suite to accept methods other than GET
Julian Lam b156b8b573 feat: wip, write api tests framework
re-using read api tests if possible
Barış Soner Uşaklı 8fd3c04480 fix: test
psychobunny 7b2301ff9c fix: enable tests
Barış Soner Uşaklı ae5fb103ca feat: disable write api tests until fixed
Julian Lam 87e3f26fe4 feat(openapi): schema validation for write api definitions file
Julian Lam 563937950a fix: reintroduce 20s delay for api tests
Julian Lam 4737f937ee feat: expose global/admin privileges to all routes
@barisusakli revert if necessary 😬