Commit Graph

153 Commits

Author SHA1 Message Date
jtom38 d1408ce6a4 Merge pull request 'features/role-updates' (#18) from features/role-updates into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #18
2023-08-06 13:39:45 -07:00
James Tombleson bb6d36cfd8 Updated article to use UTC time
continuous-integration/drone/pr Build is passing Details
2023-08-06 13:37:59 -07:00
James Tombleson ff272ab146 Added user role on creation. Updated Unixtime call. Updated how to add a role. Roles are now added to the claim 2023-08-06 13:37:36 -07:00
James Tombleson 97fc34481c ISourcesRepository.cs updated to return total rows 2023-08-06 13:35:26 -07:00
James Tombleson 338edf8d4e Added TotalByTypeAsync to see if we need to pull multiple pages 2023-08-06 13:34:54 -07:00
James Tombleson 22e9638f88 namespace updated and using 2023-08-06 13:33:45 -07:00
James Tombleson 3e1a8e8419 Using updates 2023-08-06 13:32:35 -07:00
James Tombleson bd05c45e6e Updated startup to reflect the correct consts and roles 2023-08-06 13:31:00 -07:00
James Tombleson a89c80ed3c Updated Authorization.cs namespace and added the claim value. 2023-08-06 13:30:18 -07:00
jtom38 7c88967f7f Merge pull request 'features/add-authors-table' (#17) from features/add-authors-table into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #17
2023-08-04 23:09:43 -07:00
James Tombleson a3085bb27f Article controller was updated and tests updated
continuous-integration/drone/pr Build is passing Details
2023-08-04 23:07:04 -07:00
James Tombleson 751bbd3a7b IAuthorTable.cs was added 2023-08-04 23:05:49 -07:00
James Tombleson 2aa14548aa DTO was updated to reflect author changes 2023-08-04 23:05:26 -07:00
James Tombleson 0d751cc571 Collector jobs have been updated to handle authors 2023-08-04 23:04:32 -07:00
James Tombleson 56a655e4f1 author table was added 2023-08-04 23:04:09 -07:00
jtom38 2ea971af54 Merge pull request 'Adding the calls to track authors for metrics but also to attempt to find AI writers.' (#16) from features/authortable into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #16
2023-07-30 08:56:51 -07:00
James Tombleson dcb81315bf Adding the calls to track authors for metrics but also to attempt to find AI writers.
continuous-integration/drone/pr Build is passing Details
2023-07-29 10:02:43 -07:00
jtom38 06427d53f3 Merge pull request 'features/api-cleanup' (#15) from features/api-cleanup into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #15
2023-07-29 09:47:27 -07:00
James Tombleson 82dea60126 Updated DiscordWebHooks to handle userId
continuous-integration/drone/pr Build is passing Details
2023-07-29 09:44:15 -07:00
James Tombleson c92d13797f minor adjustments 2023-07-23 22:58:25 -07:00
James Tombleson 463cb893e8 Logging update 2023-07-23 22:57:54 -07:00
James Tombleson a416746269 DiscordNotificationController.cs got a new route, moved over to ActionResults, records are now tracking the userId and returning common result classes 2023-07-23 22:57:35 -07:00
James Tombleson 7344d2bdd2 CodeProjectController.cs was updated to support ActionResults and new route 2023-07-23 22:56:26 -07:00
James Tombleson 19d8e3e925 ArticlesController.cs was cleaned up and supports results with details now 2023-07-23 22:56:06 -07:00
James Tombleson fa14562fd4 Updated namespaces, consts, startup and warnings are now errors in the api project 2023-07-23 22:55:20 -07:00
James Tombleson 2bc99afe63 Moved controllers to v1 namespace and updated routes 2023-07-23 22:54:00 -07:00
James Tombleson 5df2996947 Database project now has warnings converted to errors 2023-07-23 22:52:59 -07:00
James Tombleson 7b24ba16f7 moved the IdentityService.cs to services and warnings are now errors 2023-07-23 22:52:18 -07:00
James Tombleson d7242c12c8 Created a master config to match the appsettings 2023-07-23 22:51:22 -07:00
James Tombleson 9b86f9e84d Cleaned up the consts and moved the Authorization.cs to the correct namespace 2023-07-23 22:50:41 -07:00
James Tombleson 83203f967d Moved domain objects from the API to Domain 2023-07-23 22:50:03 -07:00
jtom38 5b8f0beb6e Merge pull request 'features/identity-roles' (#14) from features/identity-roles into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #14
2023-07-23 16:24:21 -07:00
James Tombleson 3697093df1 Moved AccountController.cs to IdentityController.cs and defined roles on a route
continuous-integration/drone/pr Build is passing Details
2023-07-23 16:22:49 -07:00
James Tombleson c4a84e9adc moved some rest actions over to roles 2023-07-23 16:22:11 -07:00
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