Commit Graph

88 Commits

Author SHA1 Message Date
James Tombleson c0fb43df7d More testing done around jwt and things are looking ok. Should be able to work on the portal now some. 2024-05-07 22:10:17 -07:00
James Tombleson 5ff6a8ddae updated error handling and refined how the jwt gets used and validated 2024-05-07 22:01:32 -07:00
James Tombleson 471ef4fdd8 adding userId to the jwt and updated routes to use scope requirements 2024-05-07 19:14:37 -07:00
James Tombleson c539a20cc7 got the user routes exposed with swagger, added jwt support to swagger and also updated how the scopes are validated 2024-05-07 18:19:41 -07:00
James Tombleson c765227932 Getting the user and jwt stuff added to the api. Now to get swagger working 2024-05-05 10:02:17 -07:00
James Tombleson 53b0469647 discordwebhooks now bind to a user id. More work to do though 2024-05-04 11:58:35 -07:00
James Tombleson f0d36eb2ab Refactored some tables to remove subscriptions and break out the naming 2024-05-04 11:58:10 -07:00
James Tombleson 238f617452 jwt was added and started to tie it into handlers 2024-05-04 11:47:30 -07:00
James Tombleson db9b0bbb1d Removed the settings handler because its not needed anymore 2024-05-04 11:47:02 -07:00
jtom38 e57b115117 Merge pull request 'features/rss-job' (#6) from features/rss-job into main
Reviewed-on: #6
2024-05-02 17:41:11 -07:00
James Tombleson fb471659d9 minor table touches like related ID's and updated seed 2024-05-02 17:39:07 -07:00
James Tombleson 20ec963e78 minor updates 2024-05-02 17:38:30 -07:00
James Tombleson 4eff80c1fd minor cleanup 2024-05-02 17:37:35 -07:00
James Tombleson f1f2142fdf correct rss to null check the author 2024-05-02 17:37:18 -07:00
James Tombleson 852db161c9 changed how cron uses context 2024-05-02 17:36:56 -07:00
James Tombleson e523cc72d1 updated swagger defs and removed old dto package 2024-05-02 17:36:39 -07:00
James Tombleson 781dced4ef removed the old complex dto package 2024-05-02 17:36:20 -07:00
James Tombleson 9b2cd646b8 chi has been removed 2024-05-01 18:27:55 -07:00
James Tombleson 62fa7224c8 minor changes to make and gitignore 2024-05-01 18:27:19 -07:00
James Tombleson c44d7f20bc server passes in the db to cron now 2024-05-01 18:27:03 -07:00
James Tombleson ddf50077b5 cron is now cleaned up and only running rss for now 2024-05-01 18:26:32 -07:00
James Tombleson 77b5c2bfa4 inputs now use the domain package 2024-05-01 18:26:14 -07:00
James Tombleson bfa0f1023d got the rss job setup and disabled the others for now 2024-05-01 17:49:38 -07:00
jtom38 43f42d9db0 Merge pull request 'features/handler-updates' (#5) from features/handler-updates into main
Reviewed-on: #5
2024-04-28 19:30:09 -07:00
James Tombleson 84d108f2dd source handlers have been updated 2024-04-28 19:29:49 -07:00
James Tombleson 7fee03c416 Minor adjustments and getting discord webhooks handler updated 2024-04-28 12:32:51 -07:00
jtom38 8fc2e56ad5 Merge pull request 'features/repo-updates' (#4) from features/repo-updates into main
Reviewed-on: #4
2024-04-28 11:42:57 -07:00
James Tombleson 2b6ab134d9 make swag now works with the new cmd pathing 2024-04-28 11:42:30 -07:00
James Tombleson 228e08fef3 docker will now use go 1.22 2024-04-28 11:42:10 -07:00
James Tombleson 3d2420343c cleaning up the dto's and making new response types 2024-04-28 11:41:55 -07:00
James Tombleson dfd44714c0 minor error updates and will soon be pulled apart 2024-04-28 11:41:34 -07:00
James Tombleson 0073bb6775 new dtoconv file to convert entities to dto for handler 2024-04-28 11:41:11 -07:00
James Tombleson bcbdfcbc5b Created a new services.RepositoryService to roll up all the db calls 2024-04-28 11:40:51 -07:00
James Tombleson ef15af6cbd cleaned up the article handler with new reponse models and moving to the repo structs 2024-04-28 11:40:19 -07:00
James Tombleson 9586c6a544 repositories now use context and have interfaces exposed 2024-04-28 11:39:25 -07:00
James Tombleson 7227744621 got the sources repo working 2024-04-28 10:02:57 -07:00
James Tombleson 15681d9d37 Almost done with DiscordWebHooks repo 2024-04-27 13:11:03 -07:00
James Tombleson 3d3b582e82 Articles can be created and working on pulling over the old queries 2024-04-27 07:44:41 -07:00
James Tombleson f6cc0a3d93 entity updated to reflect table 2024-04-27 07:44:20 -07:00
James Tombleson ba33d18525 Redefined what can be null and removed some values I am not sure matter anymore 2024-04-27 07:44:04 -07:00
jtom38 2b5a3cc8e4 Merge pull request 'features/added-user-tables' (#3) from features/added-user-tables into main
Reviewed-on: #3
2024-04-26 16:06:35 -07:00
James Tombleson 44b7d24e07 updated the rss source to use the new entity ref 2024-04-26 16:05:38 -07:00
James Tombleson 0948ef9fa2 the config will now just return a struct from the env because this wa made to run in a container 2024-04-26 16:05:17 -07:00
James Tombleson d35b955815 The handler class will now store the sql connection for now 2024-04-26 16:04:10 -07:00
James Tombleson 2fa47c957c pulled my user and refreshTokens tables from another project 2024-04-26 16:03:32 -07:00
James Tombleson d1a4d10df0 cleaned up the dto's and entities to make them more like what I am use to 2024-04-26 16:02:59 -07:00
James Tombleson 81699b6919 Reworked migrations and added the user and refresh token tables 2024-04-26 16:02:36 -07:00
James Tombleson 8ea3f5fef1 renamed the main go file to server 2024-04-26 16:02:14 -07:00
jtom38 7b6fad28a3 Merge pull request 'chi was replaced with echo' (#2) from features/moved-to-echo into main
Reviewed-on: #2
2024-04-23 22:18:40 -07:00
James Tombleson ab026ef471 chi was replaced with echo 2024-04-23 22:18:07 -07:00