Commit Graph

45 Commits

Author SHA1 Message Date
b8bb86edca
Fix JWT bearer authentication 2025-03-27 10:47:31 +01:00
Jeas0001
8ad863b781 Added securityDefinition and requirements 2025-03-27 10:22:46 +01:00
Jeas0001
46de83dc42 RefreshToken is made 2025-03-27 10:17:25 +01:00
Jeas0001
edc195b234 Fixed AMQPPublish and split the code into more functions and added Refresh token to Usermodel 2025-03-27 09:48:08 +01:00
Jeas0001
998cb90acc Changed the name of the publisher 2025-03-26 14:28:20 +01:00
Jeas0001
47797d18a0 Made AMQPPush for pushing the device limits to RabbitMQ and consume after 1 hour 2025-03-26 13:14:12 +01:00
Jeas0001
6f311fabd4 Comments 2025-03-26 12:14:42 +01:00
Jeas0001
60c0fc9475 Merge branch 'master' of git.reim.ar:ReiMerc/temperature-alarm 2025-03-25 13:15:52 +01:00
Jeas0001
507e156f17 Some comment in AMQPReciever, AMQPReciever and DBAccess 2025-03-25 13:15:42 +01:00
90cbf7ae81
Fix listening for AMQP messages, remove test console app 2025-03-25 12:54:52 +01:00
Jeas0001
fccea25296 Merge branch 'Jeppe' 2025-03-25 10:51:20 +01:00
Jeas0001
d289f28e93 AMQP set up and port is gotten from appsettings now 2025-03-25 10:50:03 +01:00
b943ad5f97
Fix dockerfile and add exec perms to deploy script 2025-03-25 09:40:06 +01:00
Jeas0001
97091c1a5c Authorize turned back on was off for debug purpose 2025-03-25 09:25:09 +01:00
Jeas0001
95d3c51543 Deleted some things that did not merge properly 2025-03-24 13:14:07 +01:00
Jeas0001
1f5515ac88 Merging Jeppe branch into master 2025-03-24 13:10:07 +01:00
Jeas0001
837f10037d Mqtt works at the same time as api 2025-03-24 13:02:39 +01:00
Jeas0001
428e187aa4 removed unnesesary using 2025-03-24 12:28:45 +01:00
Jeas0001
80981e8786 Hentet en nuget pakke 2025-03-24 12:14:26 +01:00
Jeas0001
c85047a57d Test 2025-03-24 12:03:33 +01:00
Jeas0001
d711134e7f staged 2025-03-24 12:00:18 +01:00
Jeas0001
2d7e80b3a1 Mqttreciever 2025-03-24 12:00:04 +01:00
Jeas0001
4bcdc99c8b Updated so deleteUser gives the correct answer back in dbAccess and checks if the user could be saved to the db 2025-03-24 10:02:46 +01:00
007c0e093c Merge pull request 'Jeppe' (#2) from Jeppe into master
Reviewed-on: #2
2025-03-24 08:45:54 +00:00
Jeas0001
1d3f929986 Added userid to the route for get devices 2025-03-24 09:43:15 +01:00
Jeas0001
edb5f9f3bc devicelogic er blevet scoped 2025-03-20 14:33:39 +01:00
Jeas0001
db2df2460f Middle logic maybe done 2025-03-20 14:16:10 +01:00
403882f40f chart at startup, mqtt receiver receives 2025-03-20 14:10:29 +01:00
Jeas0001
1d8c23703f Dependency injektion af dbaccess og udvidet healthController og fikset login 2025-03-20 11:23:16 +01:00
Jeas0001
f1f5a45232 Possible to login with email or username and added api/ back to the routes 2025-03-20 10:03:42 +01:00
Jeas0001
1d4e17dcef Merge branch 'master' of git.reim.ar:ReiMerc/temperature-alarm 2025-03-20 09:48:08 +01:00
Jeas0001
743b3d6941 Removed api/ from route 2025-03-20 09:46:15 +01:00
Jeas0001
928c4e7a42 Authorize sat op og lavet en healthcontroller 2025-03-20 09:35:38 +01:00
d21a759ef4
Use correct DBContext class 2025-03-19 14:33:11 +01:00
9b2b65a152
Fix errors on prod 2025-03-19 14:06:56 +01:00
Jeas0001
3ffd8d23a0 Migration works 2025-03-19 13:42:30 +01:00
Jeas0001
05f09e57ff JWT tokens til når du logger ind og passwword bliver hashet nu 2025-03-19 13:22:39 +01:00
5201e6e474
Run migrations on startup 2025-03-19 13:19:14 +01:00
Jeas0001
bb8e0f42df Moved models into the api project 2025-03-19 09:57:09 +01:00
Jeas0001
e0a69c4828 All api endpoints done for now 2025-03-19 09:45:50 +01:00
3a5b5545b3
Add sqlite database to .gitignore 2025-03-19 09:14:38 +01:00
Jeas0001
cf237f74a1 Made some of the device endpoints 2025-03-18 13:36:48 +01:00
Jeas0001
13e6dae02a Remove bin and obj folders 2025-03-18 12:50:09 +01:00
Jeas0001
ac5bef968f User api endpoints done 2025-03-18 12:45:31 +01:00
Jeas0001
b194766464 Model/backend 2025-03-18 10:03:01 +01:00