Commit Graph

67 Commits (8e52abe8bed8706d2f75dce4f118490e48c6fab8)

Author SHA1 Message Date
Julian Lam 82768fcf6e chore: remove debug logs in test/api.js
Julian Lam fe17c94c35 feat: `DELETE /api/v3/chats/:roomId/users` and `DELETE /api/v3/chats/:roomId/users/:uid`
Julian Lam eeffb9d978 feat: `POST /api/v3/chats/:roomId`
Barış Soner Uşaklı c5f08fdc81 breaking: remove socket.io/flags.js
refactor: helpers.loginUser returns a single object {jar, csrf_token}
Barış Soner Uşaklı fb363957d1 refactor: tab rules
Julian Lam 81611ae1c4 fix(emails): broken test for api/user/email/:email
+ fixed broken tests due to unexpected behaviour for email confirmation
Julian Lam 6694bdd550 fix(emails): registration tests, email no longer passed-in, API tests (confirm email for test accounts)
Julian Lam ab9b671693 fix(emails): broken test due to sticky registration interstitial
Julian Lam cc6cbfcdc4
Flags API ()
* 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
Julian Lam 0804d54759 spec: schema docs for new ACP dashboard subpage routes
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