Commit Graph

80 Commits

Author SHA1 Message Date
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
James Tombleson f2995ff156 docker will now build the migration bundle 2023-06-23 20:19:31 -07:00
James Tombleson a6ea89be62 Discord Queue Entity updated 2023-06-23 20:19:09 -07:00
James Tombleson 7d176cb643 controller updated for entity 2023-06-23 20:11:09 -07:00
James Tombleson 3e3da9027f refs updated for articlesEntity 2023-06-23 20:09:57 -07:00
James Tombleson 4f46247d0c articles table was updated for the entity 2023-06-23 20:09:15 -07:00
James Tombleson 731b2cf9b7 moving some commands over to ef 2023-06-22 08:09:18 -07:00
James Tombleson a343fa2d7f started to update articlesTable with entities 2023-06-22 08:04:18 -07:00
James Tombleson ae8b0266e5 added command to generate migration bundle to makefile 2023-06-19 15:38:55 -07:00
James Tombleson bb8b3c4b74 removed goose from Dockerfile 2023-06-19 15:38:33 -07:00
James Tombleson 79c4da89e4 Entities have been made to isolate db models 2023-06-19 15:38:17 -07:00
James Tombleson eeb6327046 docker compose was updated 2023-06-19 15:37:21 -07:00
James Tombleson d2a5d2ed81 Migrations have been moved and new ef migrations made 2023-06-19 15:37:05 -07:00
James Tombleson 8149ce2151 ef was added to the project 2023-06-19 15:36:43 -07:00
jtom38 7cae2600ec Merge pull request 'Adding another location for appsettings file to make it easier with Docker, maybe.' (#8) from features/alternate-appsettings-path into main
continuous-integration/drone/push Build is passing Details
Reviewed-on: #8
2023-06-17 12:04:33 -07:00
James Tombleson 557e5d757c Adding another location for appsettings file to make it easier with Docker, maybe.
continuous-integration/drone/pr Build is passing Details
2023-06-17 11:59:37 -07:00
jtom38 67911d2a65 Merge pull request 'brought over the same config from the portal to push to hub.docker.com' (#7) from features/ci-updated into master
continuous-integration/drone Build is passing Details
Reviewed-on: #7
2023-06-17 10:26:57 -07:00
James Tombleson 0d61cdf268 brought over the same config from the portal to push to hub.docker.com
continuous-integration/drone/pr Build is passing Details
2023-06-17 10:25:31 -07:00
jtom38 1257e8b166 Merge pull request 'pulling pat from drone' (#6) from features/ci-update-auth into master
continuous-integration/drone/push Build is failing Details
Reviewed-on: #6
2023-06-13 22:28:07 -07:00
James Tombleson c36dad769c pulling pat from drone
continuous-integration/drone/pr Build is passing Details
2023-06-13 22:26:28 -07:00
Grudging0288 a89162d130 Merge pull request 'attempting upload to gitea' (#4) from features/ci-upload-to-gitea into master
continuous-integration/drone/push Build is failing Details
Reviewed-on: #4
2023-06-13 22:12:28 -07:00
James Tombleson 1e8c489df7 attempting upload to gitea
continuous-integration/drone/pr Build is passing Details
2023-06-13 22:09:47 -07:00
jtom38 43cd57a158 Merge pull request 'You can access /health without a api key now.' (#3) from features/health-no-auth into master
continuous-integration/drone/push Build is passing Details
Reviewed-on: #3
2023-06-13 21:39:57 -07:00
James Tombleson 63a5ce9947 attempting to not build docker on pr
continuous-integration/drone/pr Build is passing Details
2023-06-13 21:37:32 -07:00
James Tombleson a3b1904923 You can access /health without a api key now.
continuous-integration/drone/pr Build is passing Details
2023-06-13 21:32:49 -07:00
jtom38 db6f140858 Merge pull request 'Adding back drone ci, went missing' (#2) from features/ci/add-drone-ci into master
continuous-integration/drone Build is passing Details
Reviewed-on: #2
2023-06-12 17:38:07 -07:00
James Tombleson 6805f0c9a0 Adding back drone ci, went missing 2023-06-12 17:37:40 -07:00
jtom38 18c3fac57f Merge pull request 'removing github ci' (#1) from features/remove-github-ci into master
Reviewed-on: #1
2023-06-12 17:35:33 -07:00
James Tombleson 5415e957c0 removing github ci 2023-06-12 17:35:04 -07:00
James Tombleson e4c5d1be29 code was added to allow multiple api keys to talk to the api. 2023-06-12 15:15:04 -07:00
James Tombleson 39bf92dd53
Features/codeprojects/disable commit checks (#30)
* hard disable for checking commits till I can debug it more

* New HtmlCode method added
2023-05-25 21:42:32 -07:00
James Tombleson 70440aa3f5
Features/subscription details dto (#29)
* DTO was updated to reflect the new options

* SubscriptionsController.cs added id's as part of the path not query

* Refactored DiscordNotificationJob.cs to break apart the nesting

* Added a test to make sure commits would not be sent based on model values
2023-04-14 21:39:02 -07:00
James Tombleson 84b4137bdd
Features/codeproject/subscription options (#28)
* Updated migrations to add new columns to subscriptions

* repos updated with new columns

* dto updated with new columns

* subscription model was updated

* DiscordNotificationJob.cs was updated to reflect subscription options

* updated seed for codeproject subscriptions
2023-04-13 22:13:06 -07:00
James Tombleson 02c94d442e
Breaking up a migration because it was a mistake to cobble them together (#27) 2023-04-11 18:31:56 -07:00
James Tombleson 117653c001
Features/add code projects watcher (#26)
* Migration added to update Articles to define if Release or Commit

* CodeProjectWatcher Job was created from GithubWatcher as this will target services like gitlab and also gitea.

* article model was updated to reflect migration changes

* Added CodeProjects to startup

* Seed was updated with CodeProjects and some new defaults

* Added Delete call for Sources

* Added a route to cleanup all records based on SourceId

* Added CodeProject const values to load from config

* minor changes to the rss controller

* Added codeprojects to the routes to trigger the job
2023-04-10 22:59:13 -07:00
James Tombleson a25c44d8cc
Features/api/youtube source (#25)
* corrected the youtube url getting added wrong

* updated seed
2023-04-08 10:10:08 -07:00
James Tombleson bacc04ad7d
Features/enabling youtube (#24)
* Adding a youtube controller to trigger the job

* Renamed jobs controller to rss

* cleaned up background jobs and added youtube to the startup.

* Handled merge issues and validated things are still working.
2023-04-08 09:30:59 -07:00
James Tombleson 4b6ba97a87
fixed code to allow compile (#23) 2023-04-03 09:32:42 -07:00
James Tombleson c0251e2485
Features/discord errors (#22)
* catching another http error code.

* more discord logging

* Setting min logging to debug for now.

* program logging is set to info but job logging is debug.
2023-04-03 09:31:00 -07:00
James Tombleson 33bf88d866
Features/discord errors (#21)
* catching another http error code.

* more discord logging

* Setting min logging to debug for now.
2023-04-03 08:57:19 -07:00