90 Commits

Author SHA1 Message Date
77e6e6bc04
Adds test for context methods 2021-01-25 14:25:12 -06:00
c28939d2b8
Adds middleware testing methods
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-25 13:33:52 -06:00
cfe5d89b22
Adds test for token encode/decode 2021-01-25 12:51:19 -06:00
f84c9b6ea2
Adds error store test for missing store 2021-01-25 12:30:38 -06:00
42d808165b
Adds current user route
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-24 19:45:56 -06:00
96b22a2254
Adds user by username model method 2021-01-24 19:26:47 -06:00
c1ae0706f9
Route now gets user ID from context with custom middleware
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-17 17:33:40 -06:00
8eff1115c5
Fixes failing tests, but incompletely 2021-01-17 15:10:24 -06:00
4708a2b8ff
adds user_id as a selectable field
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-17 11:37:44 -06:00
4989848335
Fixes table create order 2021-01-17 11:25:38 -06:00
d02d48e7c8
Adds user id field to plan 2021-01-17 11:22:14 -06:00
2a3d789292
Makes error store allow update if error only on get 2021-01-17 11:13:29 -06:00
169afed5c9
Adds some stuff for only failing on the subsequent retrieve
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-12 19:12:39 -06:00
3648d5a1cc
Removing unnecessary type 2021-01-12 18:53:54 -06:00
1c3555d8b7
Removed multistore
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-12 18:46:24 -06:00
d8604dc3cc
Adds inmemorystore to help refactor tests
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-12 18:16:47 -06:00
417a7cf982
Decouples routers and adds auth for plans and actions call
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-12 16:15:28 -06:00
ab1dab6619
jwt auth token return 2021-01-12 15:52:46 -06:00
262321a1e2
Adds auth route that checks username and password
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-12 12:43:45 -06:00
c8b8f87f6c
Change to select by username because that makes more sense 2021-01-12 11:36:44 -06:00
f59593e9e8
adds create user func 2021-01-12 11:17:03 -06:00
c8e33884c0
fixes lint issues
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-11 20:39:29 -06:00
55c8c739b0
fmt
A
2021-01-11 20:38:11 -06:00
1d45635530
adds no password return by default, model cares about password but nothing downstream does
Some checks failed
gitea-deepak/gogmagog/pipeline/head There was a failure building this commit
2021-01-11 20:37:35 -06:00
3ea8603368
Adds user table and adds support for config flag to drop DB on restart
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-11 20:15:36 -06:00
c0175fc9bc
fixes content-type for post and put on actions
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-10 11:58:16 -06:00
7e7558dd5e Merge pull request 'put_actions' (#2) from put_actions into master
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
Reviewed-on: #2
2021-01-10 17:35:20 +00:00
86a4a28aee
adds put action route
All checks were successful
gitea-deepak/gogmagog/pipeline/pr-master This commit looks good
2021-01-10 11:27:32 -06:00
a5528be456
Adding new func
All checks were successful
gitea-deepak/gogmagog/pipeline/pr-master This commit looks good
2021-01-10 10:38:03 -06:00
0faef20441 fmt changes
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
gitea-deepak/gogmagog/pipeline/pr-master This commit looks good
2021-01-09 23:54:52 -06:00
395231e1bf adds test for errors in update
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-09 23:53:16 -06:00
bc68115ce1 adds update action method 2021-01-09 23:39:03 -06:00
dfb5ead740 Merge pull request 'actions_post' (#1) from actions_post into master
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
Reviewed-on: #1
2021-01-10 04:53:13 +00:00
2c630aff95 Adds additional postgres insert fields for action
Some checks are pending
gitea-deepak/gogmagog/pipeline/head This commit looks good
gitea-deepak/gogmagog/pipeline/pr-master Build queued...
2021-01-09 22:25:14 -06:00
dc18440821 Fixes test to improve coverage
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-09 22:10:44 -06:00
4b4070df98 Adds test for action post 2021-01-09 22:05:54 -06:00
325aa46cf2 Adds actions insert to store 2021-01-09 21:50:54 -06:00
ebee8a304b
codestyle fix
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-09 16:18:21 -06:00
3f13118312
Adds more error handling and sets plan date
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-09 16:11:43 -06:00
27cdde132d
Adds post endpoint for creating plans
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-03 20:28:46 -06:00
f8b1949c28
Adds route to create plans 2021-01-03 20:15:39 -06:00
9b276bd644
Adds route for filtering actions by planID
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-03 11:12:31 -06:00
70ddd91d6b
Adds actions, changes time to pointers to make nillable.
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-01 11:49:22 -06:00
95d945dda7
Added plan by id route and error handling and organisation 2021-01-01 08:41:17 -06:00
bbb0cf3f42
Adds way to check for not found error on id search
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2021-01-01 08:07:55 -06:00
cd7f919eb2
Removes calls to log.Fatal, adds check for null store
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2020-12-31 18:56:21 -06:00
e77d3c4d5e
Adds health check and test 2020-12-31 18:47:27 -06:00
0e16bb5361
Adds healthy check to model 2020-12-31 18:05:06 -06:00
2bda056ca7
Adds route to retrieve all plans and tests thereof, and json tags for model
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2020-12-31 11:20:00 -06:00
6d104dc72a
adds missing test from postgres select actions by plan id
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
2020-12-30 11:11:52 -06:00