Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix admins not being allowed to access authenticators (#47) * Parallelize test suite runner (#64) * Parallelize test suite runner * Remove unnecessary mocha options * Add max number of jobs to prevent timeouts * Add separate coverage command to limit workers for ci runner * Feature/Events & planning (#48) * Created initial BorrelSchema entities + seeder * Created borrel-schema controller, service, response and request, update borrel-schema entities * Created basic GET in controller * Rename borrel schema and its related entities to events * Add tests for getEvents function * Fix and test event update and create functions * Add getShifts and (soft) delete shift functions * Add test for create and update shift endpoints * Add event shift answer update function and tests * Add first endpoints for events to new controller * Add PATCH event endpoint * Add event shift endpoints & fix swagger docs * Add endpoints to change shift availability and assignment & add type * Add endpoint to sync event answers and function to send reminder emails * Register controllers and timed events in production * Revert package-lock.json * Add explicit reference to shifts in event entity * Fix test suite * Increase EventService & EventController test coverage * Add endpoint to get number of times users were selected for shifts * @Yoronex fix ur lint * Reduce number of workers to prevent timeouts on CI runner --------- Co-authored-by: Sjoerd <sjoerdvanheesbeen@hotmail.com> Co-authored-by: Job van de Ven <jobvandeven@live.nl> Co-authored-by: Samuel Oosterholt <samuel.oosterholt20001004@gmail.com> * Fix trace logs missing from production container (#80) * Possibly fix trace logs missing from production container * Fix docker build failing * Fix docker build failing * Voucher auto ToS accept & restrict users who can go into debt (#79) * Fix voucher users being required to accept ToS * Refactor and rename borrelkaart to voucher * Add attribute to user entity whether user can go into debt * Change that GEWIS members can go into debt by default * Add check when making transaction whether user can go into debt * Lint fix * Fix endpoint documentation * Fine design improvements (#78) * Refactor afterInsert listers to subscribers * Reference dates now required & added balances w/ date to calc results * Fix test suite * Update getBalances method to always return last transaction/transfer ID * Fix transaction subscriber tests * Fix debtor test suite failing * Implement Samuel's feedback * Fix test suite * Fix test suite * Add invoice pagination to swagger spec * Fix OpenAPI docs for some event-related endpoints * Fix balance query not working due to SQLite/MariaDB Syntax difference (#99) * Fix/user openapi docs (#101) * Fix OpenAPI docs for some event-related endpoints * Changed UserRequest to UpdateUserRequest in user-controller.ts --------- Co-authored-by: Roy Kakkenberg <me@roykakkenberg.nl> Co-authored-by: Samuel <samuel.oosterholt20001004@gmail.com> * Use mariadb in CI (#103) --------- Co-authored-by: Sjoerd <sjoerdvanheesbeen@hotmail.com> Co-authored-by: Job van de Ven <jobvandeven@live.nl> Co-authored-by: Samuel Oosterholt <samuel.oosterholt20001004@gmail.com> Co-authored-by: Robin van Dijke <robinvandijke2002@gmail.com> Co-authored-by: Rink <rinkp@users.noreply.github.com>
- Loading branch information