fiftin
6e5bac8130
fix: validate inventory before save
2024-03-18 15:33:40 +01:00
fiftin
02899c9ccb
feat: status updating
2024-03-12 01:44:04 +01:00
fiftin
0ee2d5fc16
fix(auth): check redirect urls
2024-03-11 19:39:11 +01:00
fiftin
3404c40c57
feat(auth): support redirect path for oauth
2024-03-11 18:25:32 +01:00
fiftin
d2db315eac
feat(auth): support redirect path for oauth
2024-03-11 18:25:19 +01:00
fiftin
123135dd9d
feat(be): sort oauth providers
2024-03-11 15:17:53 +01:00
fiftin
678260970f
fix(be): create none access key
2024-03-11 02:22:17 +01:00
fiftin
f59d48c641
feat(ui): forward query string
2024-03-11 00:23:34 +01:00
fiftin
4a5ca60c70
feat: create none inventory by default
2024-03-10 23:06:17 +01:00
fiftin
8a6d5821f8
Revert "feat: make inventory optional for template"
...
This reverts commit f6f3e4228f
.
2024-03-10 22:56:58 +01:00
fiftin
f6f3e4228f
feat: make inventory optional for template
2024-03-10 22:51:28 +01:00
fiftin
bdd758e59d
feat(be): add confirm endpoint
2024-03-09 14:54:27 +01:00
fiftin
80407b36b5
feat: pass integations flag to user info
2024-03-06 22:48:40 +01:00
fiftin
e8a679cec6
feat: add flag for integrations
2024-03-06 22:47:01 +01:00
fiftin
193d57a66c
fix(be): add migation
2024-03-06 22:17:34 +01:00
fiftin
2ec8609fd8
feat: remove usage of extractors
2024-03-06 15:02:16 +01:00
fiftin
c540e3b6ef
feat: remove extractor from routes
2024-03-06 15:02:16 +01:00
fiftin
77c2c87033
feat: remove extractor
2024-03-06 15:02:16 +01:00
fiftin
50615d0d96
test: inject id
2024-03-04 20:05:18 +01:00
fiftin
3f73cc7747
fix(integration): project id 0
2024-03-04 18:53:20 +01:00
fiftin
b1ce6d1e97
fix(integrations): project id
2024-03-04 18:44:15 +01:00
fiftin
e944cf2db8
fix(integration): return correct value list
2024-03-04 18:39:15 +01:00
fiftin
bf20ffb6cf
feat(bolt): use project id
2024-03-04 14:39:48 +01:00
fiftin
fac442013c
refactor(integrations): remove extra code
2024-03-04 14:21:51 +01:00
fiftin
f4a54d9010
feat: use project id
2024-03-04 14:00:06 +01:00
fiftin
09a37ee6f9
feat(integrations): use project id
2024-03-04 12:42:21 +01:00
fiftin
582a3c91e4
feat(integrations): add project param
2024-03-04 12:36:24 +01:00
fiftin
1ef9012067
feat(integrations): add param
2024-03-04 12:24:47 +01:00
fiftin
88ef65af49
feat(integrations): use only explicit intergations
2024-03-03 18:01:18 +01:00
fiftin
06cf90770b
feat: integration tests
2024-03-03 16:39:18 +01:00
fiftin
251376887a
fix: merge conflict
2024-03-03 11:57:39 +01:00
Thomas Boerger
67954b95aa
feat: replace packr and add basic cache headers
...
Since packr have been deprecated in favor of go:embed for quite some
time now I have replaced it with plain go:embed functionality which
makes it more future proof.
The only downside is that go:embed can use relativ paths only, that's
why I have moved the web/dist folder into api/public.
Besides that I have refactored the static asset handling which includes
basic last modification and cache control headers to improve the cache
cache behavior for static assets.
2024-03-01 15:52:30 +01:00
Thomas Boerger
3b7436e22c
feat: upgrade all dependencies
...
I have updated all dependencies within go.mod by executing `go get -u
./...`, beside that I had to replace the imports for logrus, mergo and
squirrel to match the right names from their modules.
2024-02-27 12:06:05 +01:00
Denis Gukov
ce757f3622
feat(integrations): use verification
2024-02-12 15:20:50 +05:00
Denis Gukov
39ad2c905b
feat(integrations): add hmac verification method
2024-02-12 14:53:49 +05:00
Denis Gukov
75d59d0890
fix(integrations): route and sql
2024-02-12 03:27:03 +05:00
Denis Gukov
a6e541ed64
Merge branch 'feat-support-integrations' into feat-support-webhooks
2024-02-12 02:03:13 +05:00
Denis Gukov
006d14ac2f
refactor(integrations): rename files
2024-02-12 02:02:08 +05:00
Denis Gukov
8358feed3b
fix(runners): return webhook name
2024-02-12 01:34:45 +05:00
Denis Gukov
2215fb5c87
fix(webhooks): merge conflict
2024-02-12 01:24:53 +05:00
Denis Gukov
647501b90b
refactor: webhook -> integration
2024-02-12 00:52:14 +05:00
Andreas Marschke
b1177a287a
Try to make Webhook API more consistent
2024-02-10 18:18:56 +01:00
Denis Gukov
540669afd9
Merge pull request #1748 from samerbahri98/backup_restore
...
Backup and Restore Projects
2024-02-10 18:38:20 +05:00
Denis Gukov
dd38199b93
fix(ldap): remove whoami check
2024-02-10 14:26:22 +05:00
samerbahri98
84a3841c80
feat(api): restore
2024-02-07 22:19:23 +01:00
samerbahri98
6a2cfcc3ac
feat(api): backup
2024-02-07 22:19:22 +01:00
fiftin
f3ef216208
fix(be): static assets 404 error when web host not empty
2024-02-08 01:19:03 +05:00
fiftin
61309c5ef6
fix(oidc): merge conflict
2024-02-02 12:54:40 +05:00
fiftin-quiz
989be6df68
feat(login): support oauth without email
2024-02-01 13:30:23 +05:00
fiftin-quiz
f9b8e810b8
fix(login): use correct variable
2024-02-01 11:48:24 +05:00
fiftin-quiz
a33fce2fbc
feat(login): add email suffix if oauth doesn't return email but returns username
2024-02-01 11:47:15 +05:00
Denis Gukov
f23cab11a2
feat(be): use random username for oauth ( #1729 )
...
Co-authored-by: fiftin-quiz <157730881+fiftin-quiz@users.noreply.github.com>
2024-01-31 12:41:27 +05:00
Denis Gukov
981ab6bc51
fix: invetory path in demo project
2024-01-27 20:37:22 +05:00
Andreas Marschke
fe83cef1be
Update Dredd changes
2024-01-15 22:08:16 +01:00
Andreas Marschke
c54a03d081
Update Dredd Code to support webhooks
2024-01-15 22:08:16 +01:00
Andreas Marschke
03c894d45a
Updating API to support projectID attachment
2024-01-15 22:08:16 +01:00
Andreas Marschke
d2a5266719
Fix error message string composition
2024-01-15 22:08:16 +01:00
Andreas Marschke
203b169962
Fixup api
2024-01-15 22:08:16 +01:00
Andreas Marschke
4f4d8c51a0
Polish UI to allow crumb-style navigation
2024-01-15 22:08:16 +01:00
Andreas Marschke
183a8536f1
Fix param reception
2024-01-15 22:08:16 +01:00
Andreas Marschke
8d0e39b065
Fix method calls, add is null for globals
2024-01-15 22:08:16 +01:00
Andreas Marschke
54d103105f
Webhook Feature implementation
2024-01-15 22:08:16 +01:00
Denis Gukov
f7da53c75c
fix(runner): pass token in PUT request
2024-01-08 00:50:37 +05:00
Denis Gukov
5596943433
fix(runner): check token
2024-01-07 21:32:30 +05:00
Denis Gukov
144a15f96f
fix(runner): check runner id in request
2023-12-25 14:49:47 +05:00
Denis Gukov
0608591945
chore: remove unused option
2023-11-17 02:41:36 +05:00
Thomas Boerger
2af51ec87f
feat(oidc): integrate optional secret loading from files
2023-09-26 11:44:51 +02:00
Denis Gukov
58850e9129
refactor: create package db_lib
2023-09-23 17:12:35 +02:00
Denis Gukov
f767ac931a
feat(billing): add billing block
2023-09-19 15:35:59 +02:00
Denis Gukov
15d96189dc
fix(be): init array my empty
2023-09-18 22:04:23 +02:00
Denis Gukov
5a1357724d
feat: left project
2023-09-18 21:43:13 +02:00
Denis Gukov
80d7c784fe
fix: limit data by users
2023-09-18 19:46:55 +02:00
Denis Gukov
3fce9939f5
fix(demo): fill required fields
2023-09-17 22:24:57 +02:00
Denis Gukov
cb2bcd8f0b
feat(be): create demo project
2023-09-17 21:55:14 +02:00
Denis Gukov
d3923f18b3
feat: admin can all
2023-09-17 16:15:44 +02:00
Denis Gukov
985f3f3a03
feat(ui): language switcher
2023-09-17 14:57:57 +02:00
Denis Gukov
ed3693472f
fix(config): bug with handing maps in config
2023-09-16 23:47:06 +02:00
Denis Gukov
a70688ffba
fix(oidc): github auth
2023-09-16 23:16:24 +02:00
Denis Gukov
b8c208070b
feat(config): default value for map items
2023-09-16 22:15:55 +02:00
Denis Gukov
aef7cbca04
feat: add status starting
2023-09-12 20:58:44 +02:00
Denis Gukov
8308f7ecce
chore(runners): descrypt secrets before send
2023-09-11 03:15:33 +02:00
Denis Gukov
d990a4da8f
fix(runner): decrypt key
2023-09-11 02:30:40 +02:00
Denis Gukov
0304e7cac3
fix(runners): pass vault key
2023-09-11 02:00:10 +02:00
Denis Gukov
a8921e6e82
Runners ( #1458 )
...
* feat(runners): update task status
* feat(config): add remote runner flag
* feat(runners): kill remote job
* feat(runners): update state
2023-09-10 23:18:25 +02:00
Denis Gukov
d1b7ad021e
Runners ( #1444 )
...
* feat(runners): add register endpoint
* feat(runners): add remote runner
* refactor(runners): move functionality TaskRunner -> AnsibleJobRunner
* fix(runners): init job
* chore(runners): remote unused field
* feat(runners): use external logger from AnsibleJobRunner
* refactor(runners): remove status field
* refactor(runners): remove mutation from job
* feat(runners): pass username and verison to task
* test(runners): fix tests
* fix(runners): params for Run
* feat(runners): implement runner selection
* feat(runners): fill required fields
* fix(runners): session block
* feat(runners): kill process
* refactor(runners): rename fields to public
* feat(runners): remote runner functionallity
* refactor(runners): remove unused class
* fix(runners): send json
* feat(runners): runner registration
* feat(runners): logging
* feat(runners): server <-> running communication works
* feat(runners): pass creds to runenr
2023-08-29 00:51:04 +02:00
Denis Gukov
b5a99eba7f
Runners ( #1439 )
...
* refactor(runners): extract jobs to separate entity
2023-08-27 18:02:51 +02:00
Denis Gukov
d32a31f4b6
feat: remove demo mode
2023-08-27 15:00:54 +02:00
Denis Gukov
5c8e518e83
test: pass tests
2023-08-27 00:10:02 +02:00
Denis Gukov
97c0cbbfde
fix: merge conflict
2023-08-27 00:05:15 +02:00
Denis Gukov
9de5a0ebd3
Merge pull request #1420 from skorobkov/develop
...
Issue #1376
2023-08-26 23:31:45 +02:00
Denis Gukov
4398544e91
feat(fe): handle permissions on UI
2023-08-26 20:43:42 +02:00
Denis Gukov
b522169832
test: check role permissions
2023-08-26 18:48:16 +02:00
Denis Gukov
d9a0a4d0fa
fix(be): do not expire session for demo mode
2023-08-26 13:16:25 +02:00
Serhii Korobkov
3208dbfaf7
Issue #1376
2023-08-16 17:12:15 +03:00
Denis Gukov
1145eec9a4
feat(be): add config options
2023-07-24 16:04:03 +02:00
Denis Gukov
076bb19910
fix(ui): merge conflict
2023-07-09 11:43:23 +02:00
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
7fac4d34ea
feat(ui): add select for project users' role
2023-07-08 13:42:50 +02:00
Denis Gukov
9c9c005955
refactor(be): add struct UserWithProjectRole
2023-07-08 12:41:57 +02:00
Denis Gukov
49a06d540f
feat(be): add migration project__user.admin -> project_user.role
2023-07-07 23:16:43 +02:00
s3lph
2896dc72d9
feat(oidc): add config option to manually configure provider endpoints
2023-04-17 22:57:50 +02:00
s3lph
c3cd04fdce
feat: implement oidc authentication
2023-04-16 23:57:56 +02:00
Denis Gukov
3e4a62b7f2
fix: authentization bug
2023-03-13 14:04:58 +01:00
Denis Gukov
64b52fba94
fix(be): remove db info from /info
2023-02-23 18:27:25 +04:00
Denis Gukov
04688a786e
fix(be): remove db info from /info
2023-02-23 18:26:45 +04: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
07c6860ccb
feat(be): support session connection for boltdb
2022-11-19 03:23:30 +05:00
Denis Gukov
8d0a27822d
fix(be): creating task/output for boltdb with no keep connection mode
2022-11-09 22:31:52 +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
9614ca04a8
fix(be): validate data which returns LDAP server
2022-11-06 20:25:25 +05:00
Denis Gukov
38f16c81b8
fix(be): remove panic from login
2022-10-30 22:29:06 +05:00
Denis Gukov
f4c9cbff1e
fix: merge conflict
2022-10-30 21:49:15 +05:00
Denis Gukov
f3f9c71358
refactor(be): split auth process to serveral functions
2022-10-30 21:34:03 +05:00
Denis Gukov
3eb55aacd6
refactor(be): simplify ldap auth code
2022-10-30 20:57:08 +05:00
Denis Gukov
d382a822fe
refactor: rename directory web2 to web
2022-10-29 18:37:20 +05:00
Robert Rettig
b48e4e8645
fixes #1026
2022-09-08 18:14:19 +02:00
Denis Gukov
bd855dab9b
test: fix dredd tests
2022-06-29 21:25:28 +05:00
quantumsheep
5761b4e15e
feat: support yaml static inventories
2022-05-24 17:55:20 +02:00
Jean-Yves LEBLEU
e4086609f7
fix: force username to lower case when creating LDAP user
2022-05-09 18:44:09 +02:00
Denis Gukov
7774378d8c
fix(be): bug with ldap tls https://github.com/ansible-semaphore/semaphore/issues/756
2022-02-10 10:53:10 +05:00
Denis Gukov
1036af1fc6
fix(be): disable migration for mysql
...
fix: check refs to template before delete
fix(be): drop breaking foreign key
2022-02-05 13:30:25 +05:00
Denis Gukov
751eeb4204
fix(be): bug with ldap auth related to https://github.com/ansible-semaphore/semaphore/issues/808
2022-02-04 14:22:02 +05:00
Denis Gukov
a09a1fc6d1
chore(be): update ldap deps
2022-02-04 04:00:49 +05:00
Denis Gukov
05dd7c5653
feat: remove soft delete functionality
2022-02-03 12:06:24 +05:00
Denis Gukov
fa4e13a0f1
refactor(be): remove global vars of task pool and schedule pool
2022-01-29 23:14:36 +05:00
Denis Gukov
b5eac6ca2f
refactor(be): move schedules to package services
2022-01-29 16:24:51 +05:00
Denis Gukov
d3d002a818
refactor(be): change params for store method
...
chore(fe): remove passphrase from key settings because it is not implemented
fix(be): boltdb migration
2022-01-29 13:47:11 +05:00
Denis Gukov
6ce208d0f2
Merge branch 'develop' of github.com:ansible-semaphore/semaphore into develop
2022-01-27 19:30:41 +05:00
Denis Gukov
ec39816cf1
feat: add personal access token suport
2022-01-27 19:21:46 +05:00
Denis Gukov
2716a3989b
fix(be): clear repository cache if access key changed
2022-01-27 17:55:01 +05:00
Denis Gukov
6799208b62
feat(be): add ability to override template extra args in task https://github.com/ansible-semaphore/semaphore/issues/832
2022-01-27 00:51:20 +05:00
Denis Gukov
f5ad81f7c0
fix(be): checking build version by nil
2022-01-26 16:52:31 +05:00
Denis Gukov
ef46f9b175
fix(ci): default access key encryption key in dockerfile
2022-01-25 13:33:32 +05:00
Denis Gukov
1d166cd1f7
fix(be): directory of git commands
2022-01-24 02:29:37 +05:00
Denis Gukov
1b88630348
fix(be): bug with git clone parameters
2022-01-24 00:45:12 +05:00
Denis Gukov
9520c0cd1b
feat(be): implement migrations for BoltDB
2022-01-23 18:03:23 +05:00
Denis Gukov
f704379dfa
test(be): fix repo creating test
2022-01-22 13:21:11 +05:00
Denis Gukov
f6b5a39432
fix(be): remove checking of updates from system info endpoint
2022-01-20 19:53:48 +05:00
Denis Gukov
755dca67e2
feat(be): small changes in semaphore_vars
2022-01-20 03:08:34 +05:00
Denis Gukov
315dba69fb
feat(be): passing to ansible new variable semaphore_vars
2022-01-20 03:07:30 +05:00
Denis Gukov
d8afdb19d8
feat(be): recursive retreaving task version. Now we can make pipelines :)
2022-01-20 01:42:08 +05:00
Denis Gukov
51fc40e9c8
feat(be): triggering autorun tasks
2022-01-20 00:35:59 +05:00
Denis Gukov
54eaad249f
test(be): remove unused test
2022-01-19 13:11:36 +05:00
Denis Gukov
34a6df651b
feat: demo-mode label
2022-01-19 04:55:32 +05:00
Denis Gukov
f28364dc35
fix(be): pass linter
2022-01-19 04:09:21 +05:00
Denis Gukov
948bb8d1c3
feat(be): in demo mode user can stop task
2022-01-19 03:53:42 +05:00
Denis Gukov
2cd95afb29
feat(be): add demo mode
2022-01-19 03:19:31 +05:00
Denis Gukov
85d489a064
feat(be): non-admin users can manage keys in project, now it is secure because api doesn't return secrets
2022-01-19 03:07:53 +05:00