Commit Graph

  • 5b02905d71 Add a controller and router to update a user's password + Add a function to update the password internally + The current interface could be improved (made more RESTful) Stephan 2021-12-31 00:11:04 +01:00
  • bfca7e8672 Add the permission_level 'ELEVATED' to the default user Stephan 2021-12-21 16:16:29 +01:00
  • 97fee47c6e Allow for groups to be specified when POSTing /api/admins Stephan 2021-12-21 12:19:17 +01:00
  • 3363039f79 Add code that ensures that an (admin) user is always present Stephan 2021-12-20 10:12:06 +01:00
  • 9b2c8b17c6 Add router for the /admin endpoint Stephan 2021-12-20 09:11:46 +01:00
  • b57315d916 Add controller for adding a user Stephan 2021-12-20 09:06:05 +01:00
  • b82a84322b Extract code for error messages for better reusability Stephan 2021-12-20 08:48:04 +01:00
  • 913e0ee0e0 Remove event <-> admin association and introduce a default value for revision Stephan 2021-12-03 13:15:50 +01:00
  • 59f4d53af5 Add a controller for getting all admin user details Stephan 2021-12-01 16:37:28 +01:00
  • eb70a14c61 Add routes for admin authentication endpoints Stephan 2021-11-30 11:12:43 +01:00
  • 584903e55d FIX: The dev script can now run in any directory Stephan 2021-12-29 15:08:40 +01:00
  • b4528f3d53 - Added Code to get template by name - Sending mail with compiled template to target Stefan-5422 2021-12-13 13:17:31 +01:00
  • db9ea4b36a Added compile code for mail templates Stefan-5422 2021-12-11 14:04:51 +01:00
  • 2a5e631d1f Fix bug where nodemon restarts multiple times Stephan 2021-12-03 10:18:30 +01:00
  • a138bca256 Fix quotes Stephan 2021-12-02 10:55:26 +01:00
  • 2b061c5f65 Add a docker dev environment that starts a container without building the image Stephan 2021-12-02 10:44:52 +01:00
  • 6b6ca57639 Add submodule for email templates Stephan 2021-11-30 09:59:57 +01:00
  • 01ba2bd0c0 FIX: Due to changes in Prisma schema tests broke Stefan 2021-11-17 21:36:06 +01:00
  • 36ddf78fc9 FIX: Issue with docker network Stefan 2021-11-17 21:27:20 +01:00
  • 7553364313 fixed my fix Stefan 2021-11-17 16:09:57 +01:00
  • ae4ceb8d85 Fix: added Container name to redis Stefan 2021-11-17 16:01:59 +01:00
  • 278bfcdea8 Merge pull request #18 from detleph/feature-user-auth Stephan 2021-11-17 15:45:10 +01:00
  • fcde6f2222 [create-pull-request] push formatted files (#19) github-actions[bot] 2021-11-17 15:39:04 +01:00
  • 62d468c7a5 Merge branch 'dev' into feature-user-auth Stefan 2021-11-17 15:36:09 +01:00
  • 8f85f062d7 HOTFIX: Add ending slash to copy commands Stephan 2021-11-15 08:48:37 +01:00
  • 3eb8e8bbbc Merge pull request #17 from detleph/feature-dockerize Stephan 2021-11-15 08:46:09 +01:00
  • c53e325f06 Change layer order (make caching more effecient) Stephan 2021-11-15 08:41:18 +01:00
  • 5a62d156ae Add defaults for some environment variables Stephan 2021-11-12 11:55:38 +01:00
  • 1cdbddf753 Dockerize the server Stephan 2021-11-12 10:18:13 +01:00
  • 6c535b16d1 Bugfix authentication controller Stephan 2021-11-11 12:02:48 +01:00
  • 4fd8a4c978 Add reference to custom Request typings Stephan 2021-11-11 11:57:36 +01:00
  • 60f7c8fff5 Export requireAuthentication Stephan 2021-11-10 16:12:55 +01:00
  • c869863aea Add middleware to require authentication on an endpoint Stephan 2021-11-10 16:04:26 +01:00
  • 1b7a40cf7c Add the pid to the JWT payload Stephan 2021-11-10 15:11:29 +01:00
  • fc78f730bd Add redis Stephan 2021-11-10 12:08:07 +01:00
  • 5ee5218d5a Use the description attribute in add and get controllers Stephan 2021-11-10 11:31:22 +01:00
  • aec6604d24 Update the code to use the latest database schema Stephan 2021-11-10 11:15:51 +01:00
  • a1e56f7494 Merge branch 'dev' into feature-user-auth Stephan 2021-11-10 10:45:08 +01:00
  • 08e2f9fa2e Merge branch 'feature-db-schema' into dev Stephan 2021-11-10 10:42:40 +01:00
  • 0eb284a00d formated last commit Laurin 2021-11-10 10:40:06 +01:00
  • eb64432ad4 Admin + small changes Laurin 2021-11-10 10:04:00 +01:00
  • f45f3c7155 Merge branch 'dev' into feature-user-auth Stephan 2021-11-10 08:54:57 +01:00
  • e4fab0f5b6 Merge pull request #16 from detleph/feature-db-schema Stephan 2021-11-10 08:52:42 +01:00
  • bc88ea3fe0 Merge branch 'dev' into feature-user-auth Stephan 2021-11-10 08:41:02 +01:00
  • 6d062ce1d7 Merge main with fix into dev Stephan 2021-11-10 08:38:30 +01:00
  • 4319620bfd small changes from feedback Laurin 2021-11-10 08:28:23 +01:00
  • 25cd76313b Merge pull request #15 from detleph/fix-superagent Stephan 2021-11-10 08:24:04 +01:00
  • 3d961ab53d Add controller for authenticating with admin name and password Stephan 2021-11-10 08:19:17 +01:00
  • 8299060d00 Format schema, Adjust enum naming Laurin 2021-11-09 15:44:15 +01:00
  • f2e18e1656 Fix the error where the code doesn't compile Stephan 2021-11-09 15:40:38 +01:00
  • a0d033672a Adding enum (Gender, AdminLevel) Laurin 2021-11-09 15:39:09 +01:00
  • 1d87860be0 Adding LinkObject; adjust details Laurin 2021-11-09 15:17:20 +01:00
  • eff8dd0860 Add the redis server to docker-compose.yml Stephan 2021-11-09 12:25:56 +01:00
  • 5223c50881 update campaign, participants, group Laurin 2021-11-03 14:57:14 +01:00
  • d596670f6b Add mail functionality into the development branch (#12) StephanandStefan 2021-11-03 11:01:37 +01:00
  • 124773cce3 Add leader fields Laurin 2021-11-01 18:45:05 +01:00
  • 30ffd094bd Normalize schema Laurin 2021-11-01 18:19:41 +01:00
  • 5c0bc20bfd Added docker-compose + start script for people who cant remember BuildTools 2021-10-28 16:08:16 +02:00
  • e816e0beee Check formatting on the dev branch Stephan 2021-10-19 11:53:53 +02:00
  • ea6b2d73d0 Chaned Prisma shema due to Issue: #8 - Added Role model - Added Roles to disciplinese and Participants Stefan 2021-10-19 08:27:36 +02:00
  • 9a57610362 Merge pull request #10 from detleph/dev Stephan 2021-10-19 07:53:34 +02:00
  • d62ae153b3 Merge pull request #9 from detleph/feature-test Stephan 2021-10-19 07:51:10 +02:00
  • 8d50c44b7e Added tests for the event endpoints Stefan-5422 2021-10-18 13:14:13 +02:00
  • a966bfffd9 Added Event Endpoints; Dotenv; npm Scripts Stefan-5422 2021-10-17 02:30:01 +02:00
  • 4b0615ac27 Merge pull request #6 from detleph/create-pull-request/patch Stephan 2021-10-15 16:10:45 +02:00
  • c54d9492c8 [create-pull-request] push formatted files stephan418 2021-10-15 13:36:56 +00:00
  • d74094970e Create .prettierignore Stephan 2021-10-15 15:36:22 +02:00
  • f1e8ea6671 Add action for format files Stephan 2021-10-15 15:28:37 +02:00
  • 4d37472726 Create workflow to check formatting Stephan 2021-10-15 11:40:39 +02:00
  • ee81acea24 Add name to events in the prisma schema Stephan 2021-10-15 11:08:42 +02:00
  • 5e9fb04632 Add .prettierrc file Stephan 2021-10-14 14:44:53 +02:00
  • a46c10018d Update the main Prisma schema Stephan 2021-10-14 13:43:06 +02:00
  • dfcbe130ee Remove migrations Stephan 2021-10-11 13:27:38 +02:00
  • 62cc1cc122 Ignore Prisma migrations Stephan 2021-10-11 13:26:59 +02:00
  • a934017d87 boilerplate Stefan 2021-10-11 12:06:02 +02:00
  • 01f5521433 boilerplate part1 Stefan 2021-10-11 09:32:42 +02:00
  • af9e7f3eec Initial commit Stefan 2021-10-11 09:19:55 +02:00