Commit Graph

  • d742ccd581 Jwt's now feature group permissions and permission deduplication niggl 2020-12-18 21:44:30 +01:00
  • d670b814a4 Fixed the user->Group relation niggl 2020-12-18 21:42:43 +01:00
  • 1a9c860188 Formatting #6 niggl 2020-12-18 20:53:35 +01:00
  • f25ae9ba4f Added a admin group with all permissions to seeding niggl 2020-12-18 20:33:27 +01:00
  • 744faba7ee Added auth to all endpoints niggl 2020-12-18 20:33:13 +01:00
  • cdfd0e0d64 Added the openapi security header to all routes that need some kind of auth niggl 2020-12-18 20:07:05 +01:00
  • e25fc795fe Added additional targets and actions for permissions niggl 2020-12-18 20:06:27 +01:00
  • 2240a45a91 Added class validation for the enum niggl 2020-12-18 19:49:39 +01:00
  • 595a9213c1 Added comments and formatting to the auth checker niggl 2020-12-18 19:42:08 +01:00
  • 428e2c38ce Added coments to the jwt creator niggl 2020-12-18 19:33:10 +01:00
  • 1d54fb085b Shoothed out variable nameing scheme niggl 2020-12-18 19:19:47 +01:00
  • 6403e386ab Now with smooth access token refreshing niggl 2020-12-18 19:07:31 +01:00
  • 65a8449ea3 Now with 1000% cleaner jwt generation niggl 2020-12-18 17:57:48 +01:00
  • b21dd6f0c0 Added tracks/get as test-route for auth niggl 2020-12-18 17:19:02 +01:00
  • 445e96dcdf Added toString for permissions niggl 2020-12-18 17:17:02 +01:00
  • 6237e62a03 Reimplmented the old permission checking system niggl 2020-12-18 17:15:44 +01:00
  • b9e91502cd Cleaned up the auth checker a little bit niggl 2020-12-18 17:11:44 +01:00
  • 9dc336f0bb Added permission deletion on group deletion niggl 2020-12-18 16:21:59 +01:00
  • 6a7e8ccc37 Now with duplication avoidance niggl 2020-12-18 16:10:33 +01:00
  • 882065470a Implemented permission updateing niggl 2020-12-18 16:05:25 +01:00
  • ff3a5b4545 User deletion now also delete's the users permissons niggl 2020-12-18 15:49:42 +01:00
  • d4293c164d Implemented permission deletion niggl 2020-12-18 15:37:45 +01:00
  • 145a08b1b4 Now with cleaner participants in the responses niggl 2020-12-18 15:26:54 +01:00
  • dc485c02ea Added Permission creation niggl 2020-12-18 15:19:44 +01:00
  • ebb0c5faca Added specific permission getting niggl 2020-12-18 15:16:15 +01:00
  • d89fcb84a2 Implemented permission getting niggl 2020-12-18 15:12:06 +01:00
  • 388fc6ba6a Fixed typo niggl 2020-12-18 14:52:31 +01:00
  • bb4ea485fd Merge branch 'dev' into feature/6-api_auth niggl 2020-12-18 14:40:40 +01:00
  • 5dc9edfe40 Pulled out some linguini-esc code niggl 2020-12-18 14:40:19 +01:00
  • eb9473e230 Cleaned up relation types niggl 2020-12-18 14:29:31 +01:00
  • 476afc6a99 Updated nameing to fit the usual scheme niggl 2020-12-18 14:29:17 +01:00
  • ed53627bbe Merge pull request 'Runner import' (#33) from feature/22-runner_import into dev niggl 2020-12-18 13:24:51 +00:00
  • efecffb72d Added responseusers niggl 2020-12-17 21:12:45 +01:00
  • 3aae8f85c4 Added status codes niggl 2020-12-17 20:54:01 +01:00
  • cc5a30980a Implemented new Permission system on the DB side. niggl 2020-12-17 20:46:54 +01:00
  • c90f9f1dd4 Fixed path niggl 2020-12-17 19:27:38 +01:00
  • 15ed9f58d5 Added responseschemas and content types niggl 2020-12-17 19:17:35 +01:00
  • 9db4344153 Expanded API Decriptions niggl 2020-12-17 19:15:11 +01:00
  • 03b7e346ab Working csv import niggl 2020-12-17 18:36:51 +01:00
  • 0d8fbf1eca Consolidated the json import for a cleaner result niggl 2020-12-17 17:25:17 +01:00
  • 71228fbf33 Now organisations and teams can import runners niggl 2020-12-17 17:14:08 +01:00
  • 97494aeaf7 Runners can now be imported into a org niggl 2020-12-17 16:46:00 +01:00
  • 4801e010b4 Removed useless console.log niggl 2020-12-17 16:33:54 +01:00
  • 1b59d58c60 Abstracted a little bit more for potential company runner import niggl 2020-12-17 16:32:29 +01:00
  • cad30c7f63 Fixed the dynamic class creation niggl 2020-12-17 16:26:33 +01:00
  • a8ec0142b0 Added import-action classes niggl 2020-12-17 16:21:02 +01:00
  • 30952aa14f Marked csv import as not implemented niggl 2020-12-17 16:20:20 +01:00
  • 2e4a4f1661 Added endpoints for runner import by json and csv niggl 2020-12-16 19:03:27 +01:00
  • b9fd2379f4 Added rawbody if needed niggl 2020-12-16 19:00:25 +01:00
  • 1b1f8f2b09 Added a basic import controller niggl 2020-12-16 18:20:31 +01:00
  • 39b932a81c Merge pull request 'feature/31-lib_generation' (#32) from feature/31-lib_generation into dev philipp 2020-12-15 15:41:41 +00:00
  • ec69f6caf3 removed the lib generation part niggl 2020-12-13 19:20:36 +01:00
  • ad908a3555 Fixed broken substitution niggl 2020-12-13 12:57:09 +01:00
  • 3e6c7b6302 Cleanup niggl 2020-12-13 10:06:32 +01:00
  • d0c5323cb6 Push niggl 2020-12-13 10:04:09 +01:00
  • fcb3e35b29 Removed the test pipeline niggl 2020-12-13 09:42:29 +01:00
  • 4705b5a0b4 I just need to trigger sth niggl 2020-12-13 09:21:50 +01:00
  • 0c6f3d1f12 Added downstream trigger niggl 2020-12-13 09:18:54 +01:00
  • ff178f9d77 Removed the bs code niggl 2020-12-12 22:37:11 +01:00
  • e59630b17e More switching niggl 2020-12-12 22:34:07 +01:00
  • 20ec6e0cd6 fixed command order niggl 2020-12-12 22:32:43 +01:00
  • e10a3947ba fixed duplicate name niggl 2020-12-12 22:31:44 +01:00
  • 8d00487359 test drone pipeline niggl 2020-12-12 22:31:06 +01:00
  • f304b86cb6 Added lib to gitignore niggl 2020-12-12 22:22:33 +01:00
  • 421ddc50ed Added rlly basic lib generation niggl 2020-12-12 22:21:45 +01:00
  • c3aa88c212 Renamed some drone steps [skip-ci} niggl 2020-12-12 20:05:43 +01:00
  • 10dbd233a0 Merge pull request 'feature/24-production_dockerfile' (#30) from feature/24-production_dockerfile into dev niggl 2020-12-12 19:03:22 +00:00
  • c321da613a Switched env to dev for tests(ci) niggl 2020-12-12 20:01:26 +01:00
  • ff84209683 Merge branch 'dev' into feature/24-production_dockerfile niggl 2020-12-12 18:54:02 +00:00
  • df3c231fd2 Merge pull request 'feature/25-refresh-token-cookie' (#29) from feature/25-refresh-token-cookie into dev niggl 2020-12-12 18:52:28 +00:00
  • ac2da0af63 Now w/ working logout niggl 2020-12-12 19:50:12 +01:00
  • 40fb081332 Cleaned up the pipelines niggl 2020-12-12 19:37:21 +01:00
  • 30928180e6 Switched to prefering body provided tokens over cookie tokens niggl 2020-12-12 19:27:56 +01:00
  • 6aa1e0d573 Cleaned up some errors niggl 2020-12-12 19:26:04 +01:00
  • aca3eaaeea Now w/ working cookie based refresh niggl 2020-12-12 19:25:40 +01:00
  • 615b54ec4f Removed secure flag and added expiry basd on ht refresh token niggl 2020-12-12 19:13:18 +01:00
  • c07d40ae93 Added cookie-parser to app.use niggl 2020-12-12 19:01:31 +01:00
  • db5da3d3c2 Removed useless return niggl 2020-12-12 18:34:22 +01:00
  • 0e003d2dc4 Set cookies to secure niggl 2020-12-12 18:32:48 +01:00
  • a1c3751164 🚀 CI build on feature branch tags philipp 2020-12-12 18:13:23 +01:00
  • 359e955926 🚀 CI/CD philipp 2020-12-12 17:48:45 +01:00
  • c391201570 🐳 optimize Dockerfile in speed and size (pnpm + layers) philipp 2020-12-12 17:48:32 +01:00
  • e3980096e2 🚧 move sqlite to to production philipp 2020-12-12 17:48:02 +01:00
  • a7e27c6f6c drop unused packages philipp 2020-12-12 13:27:57 +01:00
  • bcb266e29b move to node:14.15.1-alpine3.12 philipp 2020-12-12 13:24:18 +01:00
  • 95f40a9c28 🩺🐳 Docker healthcheck philipp 2020-12-12 13:15:10 +01:00
  • 8bcaf710ad integrate pm2 process manager to keep the app up and running philipp 2020-12-12 13:14:38 +01:00
  • b8aebc14e8 🐳 working Dockerfile philipp 2020-12-12 13:04:37 +01:00
  • 5ccdfe1540 package.json - drop nodemon delay philipp 2020-12-12 13:04:20 +01:00
  • a1e3289a88 🐞 fixed app.ts for production use philipp 2020-12-12 12:39:53 +01:00
  • 47e4f6cd7e basic build works philipp 2020-12-12 12:29:14 +01:00
  • 36fbccb286 🚧 implementation in AuthController@login philipp 2020-12-12 11:55:45 +01:00
  • 7429407843 Merge pull request 'New Feature: User seeding feature/19-user_seeding' (#26) from feature/19-user_seeding into dev niggl 2020-12-11 19:40:44 +00:00
  • 10640f40aa Merge branch 'dev' into feature/19-user_seeding niggl 2020-12-11 20:38:33 +01:00
  • 1e625b0775 Merge pull request 'Added drone pipeline that automaticly runs on prs (or at least it should)' (#27) from feature/23-tests_on_pr into dev niggl 2020-12-11 19:33:40 +00:00
  • 6cfaec8397 Added ci env niggl 2020-12-11 20:29:33 +01:00
  • 0f419625d2 switched to using the ci testing script niggl 2020-12-11 20:25:26 +01:00
  • a83a23a647 fixed typo niggl 2020-12-11 20:24:03 +01:00
  • 553a35bb8e switched to custom clone logic niggl 2020-12-11 20:23:12 +01:00
  • ef3fcee2a9 testing branch parameter niggl 2020-12-11 20:22:31 +01:00