Commit Graph

119 Commits

Author SHA1 Message Date
James Tombleson 64f167c0c5 added global.json to pin dotnet version 2023-07-23 16:21:00 -07:00
James Tombleson 16e63aa4a1 Added the Authorization.cs file to contain policy, claims and roles 2023-07-23 16:20:47 -07:00
James Tombleson b9c07eda7d Refactored how the start up works... everything in one file was getting very messy to read 2023-07-23 16:20:16 -07:00
James Tombleson 2bc20fccc8 docker-compose.example.yaml was updated
continuous-integration/drone/pr Build is failing Details
2023-07-14 22:25:53 -07:00
James Tombleson 71319c05ef Controllers have been updated to support Authorize 2023-07-14 22:25:44 -07:00
James Tombleson bc79b507ac Added a API Key Attribute but not used yet 2023-07-14 22:25:11 -07:00
James Tombleson d5278a8be9 Added consts to lookup things in config easier 2023-07-14 22:24:53 -07:00
James Tombleson 0aa6c1489d Adding roles into the Identity side 2023-07-14 22:24:32 -07:00
James Tombleson 712ce4f4da Added notes, db migrations on startup, and injecting admin and user roles 2023-07-14 22:23:45 -07:00
jtom38 5c06865b1f Merge pull request 'Getting things setup to support token refresh' (#13) from features/token-refresh into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #13
2023-07-14 22:11:07 -07:00
James Tombleson 558f9d352c Updating CI to not build latest on a pr.
continuous-integration/drone/pr Build is passing Details
2023-07-14 22:01:13 -07:00
James Tombleson 4cacc03fb8 Getting things setup to support token refresh
continuous-integration/drone/pr Build is failing Details
2023-07-10 22:41:39 -07:00
James Tombleson 226a4876ff Another change attempting to get main building
continuous-integration/drone/push Build is passing Details
2023-07-10 18:12:14 -07:00
jtom38 59d3306364 Merge pull request 'features/ci-update' (#12) from features/ci-update into main
Reviewed-on: #12
2023-07-10 18:06:54 -07:00
James Tombleson 788124dfa0 changed the name
continuous-integration/drone/pr Build is passing Details
2023-07-10 18:01:31 -07:00
James Tombleson 6af7fb75be Split out the jobs to attempt to get things to run correctly again. 2023-07-10 17:58:32 -07:00
jtom38 42258ec56f Merge pull request 'Migration to EF and starting to add Identity' (#11) from features/ef-identity-migration into main
Reviewed-on: #11
2023-07-09 22:18:59 -07:00
James Tombleson df348bea5a Test updated for ef
continuous-integration/drone/pr Build is passing Details
2023-07-09 22:12:41 -07:00
James Tombleson 008d79cf3d added try catch for when a site could be down or blocking requests 2023-07-09 22:12:13 -07:00
James Tombleson fd60906a20 Adding the auth layers, not 100% finished yet 2023-07-09 22:11:30 -07:00
James Tombleson d28ad7424f User defined source subscriptions have been added and starting to let users take ownership of discord Notifications 2023-07-09 22:10:51 -07:00
James Tombleson 597470fd69 Renamed the Discord Notification client to help with naming issues 2023-07-09 21:30:23 -07:00
James Tombleson 58229b1348 Moving the Subscriptions over to DiscordNotifications as this will be the automated posting compared to user feeds 2023-07-09 21:29:33 -07:00
James Tombleson 7b1407c2cb JwtSettings has been added to config 2023-07-06 22:26:49 -07:00
James Tombleson 9e2b44df7c Controllers have been updated with Authorize calls and tables getting loaded from DI 2023-07-06 22:26:19 -07:00
James Tombleson 3f4de34115 new identity service was added to assist with auth 2023-07-06 22:25:33 -07:00
James Tombleson 06218af516 Api domain items have been added but subject to change 2023-07-06 22:24:50 -07:00
James Tombleson dff5556e06 jwt package was added 2023-07-06 22:23:22 -07:00
James Tombleson f081a59229 startup was updated to inject ef, tables, jwt, and update swagger with bearer token auth 2023-07-06 22:22:55 -07:00
James Tombleson f388d642be Tables have been updated to support databaseContext or connection string passed in 2023-07-06 22:21:53 -07:00
James Tombleson 9d5c5903bd Migrations have been added with identity support 2023-07-06 22:21:26 -07:00
James Tombleson d15ae49ff8 Minor config update to add a new namespace 2023-07-06 22:20:13 -07:00
James Tombleson bfd185906c Context was updated to support identity 2023-07-06 22:19:40 -07:00
jtom38 c25cafb0a7 Merge pull request 'Should now build when a new tag is made' (#10) from features/ci/build-image-on-tag into main
Reviewed-on: #10
2023-06-25 22:39:30 -07:00
James Tombleson 1aeb96db5b Should now build when a new tag is made
continuous-integration/drone/pr Build is passing Details
2023-06-25 22:38:07 -07:00
jtom38 3b9f1bb707 Merge pull request 'features/cutover-to-ef' (#9) from features/cutover-to-ef into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #9
2023-06-25 21:15:56 -07:00
James Tombleson f92480e717 added --force to ensure a migration file is always made.
continuous-integration/drone/pr Build is passing Details
2023-06-25 21:14:34 -07:00
James Tombleson 52e86c01ce starting to update the README.md
continuous-integration/drone/pr Build is passing Details
2023-06-25 21:06:05 -07:00
James Tombleson 54155bfc3f makefile will now overwrite any local migration file 2023-06-25 21:05:50 -07:00
James Tombleson 3c302d2f0e pinned the ef version in Dockerfile 2023-06-25 21:05:27 -07:00
James Tombleson d6e6527091 api adds ef packages and adds db context to start up 2023-06-25 21:05:12 -07:00
James Tombleson b4b09b0e27 commented a line that was not getting used in a test 2023-06-25 21:04:49 -07:00
James Tombleson aa5296d084 ef migrations was updated with the requirements of DesignTimeContext.cs 2023-06-25 21:04:31 -07:00
James Tombleson 4720c23915 projects updated to sync ef requirements 2023-06-25 21:03:58 -07:00
James Tombleson d286c4fd9a controller updated for entity 2023-06-25 21:03:27 -07:00
James Tombleson 49342a8c39 subscriptions updated for ef 2023-06-25 21:02:26 -07:00
James Tombleson c2b0f47d1c minor change to SourcesTable.cs 2023-06-25 20:59:53 -07:00
James Tombleson 0797fb8502 Souces has been moved to ef and with entites 2023-06-23 23:01:40 -07:00
James Tombleson 2c886d22ad Icons updated with ef 2023-06-23 21:56:15 -07:00
James Tombleson 0b68261181 discord web hooks updated with ef 2023-06-23 21:55:56 -07:00