Commit Graph

277 Commits

Author SHA1 Message Date
Denis Gukov
93e42b7023 fix(roles): validate user role in project when add or update 2023-07-09 10:24:03 +02:00
Denis Gukov
87d983556f refactor(be): create middleware to check permissions 2023-07-08 23:35:39 +02:00
Denis Gukov
9c9c005955 refactor(be): add struct UserWithProjectRole 2023-07-08 12:41:57 +02:00
Denis Gukov
c1049c8c4c fix(be): column admin -> role in sql request 2023-07-08 11:39:51 +02:00
Denis Gukov
61e43b0da2 fix(be): specify varchat max length 2023-07-08 00:06:43 +02:00
Denis Gukov
07b908f1ef fix(be): update sql query 2023-07-07 23:55:41 +02:00
Denis Gukov
026e5a910b fix(be): sql migration issue 2023-07-07 23:24:56 +02:00
Denis Gukov
49a06d540f feat(be): add migration project__user.admin -> project_user.role 2023-07-07 23:16:43 +02:00
Denis Gukov
23841a240f feat(be): add role based checks 2023-07-07 22:15:16 +02:00
Bjarne Roß
d589598f90
Update Template.go 2023-06-13 12:08:29 +02:00
Bjarne Roß
763bd6e562
Update Template.go 2023-06-13 11:53:37 +02:00
Bjarne Roß
fa9c43decf
Oops 2023-06-13 11:38:00 +02:00
Bjarne Roß
c089ee239a
Update Template.go 2023-06-13 11:35:24 +02:00
Denis Gukov
668c81a991 fix(be): use DbConfig getter method instead of direct access to fields 2023-01-28 03:25:25 +04:00
Denis Gukov
0d87d0b736 ci: fix dredd dockerfile 2022-11-19 15:58:46 +05:00
Denis Gukov
07c6860ccb feat(be): support session connection for boltdb 2022-11-19 03:23:30 +05:00
Denis Gukov
1139e35ce1 fix(be): return empty array instead of nil for BoltDB 2022-11-09 23:00:35 +05:00
Denis Gukov
cbd441b6fd fix(be): ignore not found error when deleting task output bucket 2022-11-09 22:50:11 +05:00
Denis Gukov
b2f5d42a6f test: remove date/time pattern from open api 2022-11-09 22:04:35 +05:00
Denis Gukov
579f978ffc feat(be): do not keep connection by BoltDB 2022-11-09 21:30:35 +05:00
Denis Gukov
cd134b04a6 fix(be): token deletion for boltdb 2022-11-09 14:02:48 +05:00
Denis Gukov
1e06957028 feat: ability to delete api token 2022-11-09 13:10:42 +05:00
Denis Gukov
adb57bf524 chore: error message 2022-11-09 12:37:27 +05:00
Denis Gukov
4559b52c4a fix(be): validate user data 2022-10-30 22:18:23 +05:00
Denis Gukov
c66c9482b1 feat(be): remove PAT key type 2022-10-29 15:18:42 +05:00
Denis Gukov
68373c2b33 fix(be): add migariton number 2022-10-28 19:59:50 +05:00
anarchistcat
b27611e565 Diff mode test 2022-10-28 05:05:13 +02:00
Denis Gukov
54ab92b6af fix(be): empty event name for deleted task 2022-10-22 02:36:05 +05:00
Denis Gukov
f70572b484 fix(be): BoltDB issue with deleted user https://github.com/ansible-semaphore/semaphore/issues/1055 2022-10-22 01:56:32 +05:00
Denis Gukov
aa46a392d7 fix(be): adding user to project team for BoltDB 2022-10-22 01:47:43 +05:00
Denis Gukov
fd259a4af4 fix(be): empty env field in environment, https://github.com/ansible-semaphore/semaphore/issues/980 2022-06-30 11:04:51 +05:00
Denis Gukov
2bc9a338d3 fix(be): number of args in sql requst 2022-06-29 22:27:14 +05:00
Denis Gukov
fbe30b25c2 fix(be): merge conflict in migration 2022-06-29 21:50:54 +05:00
Dino Paškvan
0462c89afa Rename migration file 2022-06-24 12:34:35 +02:00
Dino Paskvan
545df6fb87
Merge branch 'ansible-semaphore:develop' into develop 2022-06-24 12:31:30 +02:00
Dino Paškvan
9c5d911e71 Add environment variables to model and provide migrations 2022-06-24 12:30:52 +02:00
Denis Gukov
23c3947e18 feat(be): add migration for new limit option 2022-06-23 20:37:00 +05:00
Denis Gukov
261719137a
Merge pull request #811 from jdhayes/develop
Added ansible limit to API
2022-06-23 17:02:21 +05:00
quantumsheep
d60323ea26
fix(be): set backup id column as primary key 2022-05-24 18:02:12 +02:00
quantumsheep
5761b4e15e
feat: support yaml static inventories 2022-05-24 17:55:20 +02:00
Denis Gukov
0b823804ad feat: do not handle branch for non-git repos 2022-03-31 11:13:02 +05:00
Denis Gukov
6ef0d474bc Merge branch 'xyz' into develop 2022-03-30 20:31:13 +05:00
Denis Gukov
4bfb9bd78e feat(be): support git file:// protocol and local repo 2022-03-30 20:31:00 +05:00
Denis Gukov
f5b66a1d14 fix(be): Change of user password fails when using postgres https://github.com/ansible-semaphore/semaphore/issues/896 2022-03-27 02:55:33 +05:00
jhayes
b3caba78f8 Merge branch 'develop' of github.com:ansible-semaphore/semaphore into develop 2022-03-08 11:04:13 -08:00
Denis Gukov
b127e054d8 feat(be): add max parallel tasks to project settings and ability to suppress success alerts for tasks 2022-02-14 16:52:28 +05:00
Jordan Hayes
d2b9b856c8 Removed runner.go 2022-02-10 11:49:36 -08:00
Denis Gukov
32a6c952ce refactor(be): move some functionality to GitRepository and AnsiblePlaybook classes 2022-02-06 20:37:55 +05:00
Denis Gukov
f9ea2df04e fix(be): bug with deserializing secrets 2022-02-06 17:17:28 +05:00
Denis Gukov
1993a14fb6 fix(be): migration for dropping foreign key 2022-02-06 14:29:56 +05:00