fiftin
123135dd9d
feat(be): sort oauth providers
2024-03-11 15:17:53 +01:00
fiftin
e8a679cec6
feat: add flag for integrations
2024-03-06 22:47:01 +01:00
Thomas Boerger
5c8b87620e
feat: refactoring of alerts and send correct email alerts
...
Previously the sent email alerts have been missing mandatory headers
like `Date` and it was also missing content type, content transfer
encoding and mime version. I have taken proper examples form the
unmaintained gomail library to build right emails.
Besides that I have refactored the calls for alerts, they git the same
structure now and it should be prepared to inject custom templates for
all altering methods at some later point. Generally it is prepared for a
more flexible alert handling.
2024-03-03 20:12:28 +01:00
Denis Gukov
ebb0c2c286
Merge pull request #1584 from robinmalik/develop
...
Add: Support for Microsoft Team Channel Alerts (via Adaptive Card webhook)
2024-03-02 18:35:11 +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
fiftin
61309c5ef6
fix(oidc): merge conflict
2024-02-02 12:54:40 +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
34485b7b8e
feat(backend): add config option max_task_duration_sec
2023-12-25 04:17:12 +05:00
Denis Gukov
7e7a543e03
feat(backend): default dialect to bolt
2023-12-25 04:00:28 +05:00
Denis Gukov
0608591945
chore: remove unused option
2023-11-17 02:41:36 +05:00
Robin Malik
2e51ab7f1f
Add support for Microsoft Team Channel Webhook
2023-10-21 10:47:11 +01:00
Denis Gukov
6c0ff218bb
fix(config): support yes for bool ( #1536 )
...
* fix(config): support yes for bool
* feat(runners): add logs
* feat(runners): add logs
2023-10-01 16:38:05 +02:00
Thomas Boerger
2af51ec87f
feat(oidc): integrate optional secret loading from files
2023-09-26 11:44:51 +02:00
Denis Gukov
7b57fa6400
feat(config): print more info about validation
2023-09-20 20:38:29 +02:00
Denis Gukov
a6c89d041b
fix(runner): duplication of runners and tasks
2023-09-20 01:03:58 +02:00
Denis Gukov
f767ac931a
feat(billing): add billing block
2023-09-19 15:35:59 +02:00
Denis Gukov
f4c882b879
fix(config): default value for max tasks
2023-09-17 01:44:43 +02:00
Denis Gukov
82a7769a42
fix(config): change port validation
2023-09-17 00:22:27 +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
175d629518
fix(config): check value by zero for init default
2023-09-15 01:57:25 +02:00
Denis Gukov
f553def7f2
fix(config): check value
2023-09-15 01:34:44 +02:00
Denis Gukov
d726ba4615
fix(config): load defaults before load file
2023-09-15 01:12:53 +02:00
Denis Gukov
0b3394c29d
refactor(config): remove type DbDriver
2023-09-14 19:55:09 +02:00
Denis Gukov
39c6cdaad9
feat(config): remove hash rule to pass tests
2023-09-14 19:37:54 +02:00
Denis Gukov
34ff429af0
feat(config): add other env
2023-09-14 19:23:00 +02:00
Denis Gukov
6d82f094f9
test(config): pass tests
2023-09-14 19:04:17 +02:00
Denis Gukov
862597867b
feat(config): add tags
2023-09-14 18:56:28 +02:00
Denis Gukov
19deeec109
fix(config): remove git field type
2023-09-14 13:27:41 +02:00
Denis Gukov
ff2da94ebf
Merge branch 'develop' into config-validation
2023-09-14 13:25:24 +02:00
Denis Gukov
0522ad169f
feat(runners): add SetStatus method
2023-09-12 19:40:22 +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
9b9d3a5b3c
test(config): fix test
2023-09-09 17:28:56 +02:00
Denis Gukov
4a2ff1477b
fix(config): merge conflict
2023-09-09 17:07:10 +02:00
Denis Gukov
cffba6e489
refactor(config): add tags to config fields
2023-09-09 17:01:36 +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
AnsibleGuy
07ee77d6db
feat: config-validation - minor fixes
2023-08-06 11:01:24 +02:00
AnsibleGuy
421e862786
feat: added basic config validation, loading all settings from environment-variables, dynamic applying of default-values to settings, tests for config-loading and -validation
2023-08-05 15:56:39 +02:00
Denis Gukov
1145eec9a4
feat(be): add config options
2023-07-24 16:04:03 +02:00
Denis Gukov
9457bf1c02
chore: rename config param
2023-07-23 16:26:36 +02:00
Denis Gukov
e2df7758a1
refactor(be): config struct
2023-07-23 16:18:02 +02:00
Denis Gukov
4f12b70375
Merge pull request #1213 from s3lph/feat-oidc-auth
...
Implement OIDC authentication
2023-07-08 20:07:50 +02:00
Denis Gukov
81dd70ae1f
fix: replace config flag use_external_git to option git_client
2023-04-25 20:04:03 +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
5b4adb3cea
feat: add config flag use_external_git
2023-03-12 21:45:46 +01: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
d6e1315db7
feat(be): use env vars for db options
2023-01-27 22:59:19 +04:00
Denis Gukov
7bf59cf234
refactor(be): move printing db info to separate method
2022-11-20 01:20:00 +05:00
Loïc Tosser
13af56c031
Merge branch 'develop' into slack-alerts
2022-07-14 10:21:13 +04:00
steadfasterX
9160ddf8a4
systemd: debian: add reload action to service
2022-05-11 13:14:48 +02:00
Loïc Tosser
e72a5a6ee6
Slack alerts
2022-04-11 12:29:48 +04: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
Denis Gukov
2716a3989b
fix(be): clear repository cache if access key changed
2022-01-27 17:55:01 +05:00
Denis Gukov
a68c64cbaa
refactor(be): add method to config
2022-01-26 12:14:56 +05:00
Denis Gukov
5823bd8a7c
fix(be): use correct command for running semaphore server
2022-01-24 22:22:10 +05:00
Denis Gukov
9cf52616ec
fix(cli): bug with config path parameter
2022-01-24 01:19:22 +05:00
Denis Gukov
315dba69fb
feat(be): passing to ansible new variable semaphore_vars
2022-01-20 03:07:30 +05:00
Denis Gukov
1ce8da11e7
chore(fe): remove incomplete ui elements
2022-01-19 03:00:31 +05:00
Denis Gukov
6be09da63c
feat: REMOVE PLACEHOLDER USER FUNCTIONALITY
2022-01-19 02:26:48 +05:00
Denis Gukov
4c706f5876
feat(be): add migration for new template and schedule fields
2022-01-19 02:09:42 +05:00
Denis Gukov
458ee316ba
feat(be): placeholder user
2021-12-18 18:16:34 +05:00
Denis Gukov
2554afa792
docs(be): comments for config class
2021-12-17 01:56:01 +05:00
Denis Gukov
b839c95573
test(be): register new user tests
2021-12-17 01:44:07 +05:00
Denis Gukov
bee21e34e6
fix(be): postgres password issue
2021-11-02 23:43:56 +05:00
Denis Gukov
89240737a0
feat(fe): ui docs
2021-10-18 17:41:54 +05:00
Denis Gukov
191c6ed438
feat(be): passing semaphore vars via extra vars
2021-10-15 00:14:21 +05:00
Denis Gukov
74b75fca13
refactor(be): add field 'options' for database config
2021-09-22 17:18:40 +05:00
Loïc Tosser
a59a0ed99f
Secure Mail sender
2021-09-22 08:01:53 +04:00
Loïc Tosser
942aa537f5
Secure Email
2021-09-22 07:43:19 +04:00
Denis Gukov
749291a690
feat(be): pass ansible_user/password to ansible-playbook via file
2021-09-12 03:18:26 +05:00
Denis Gukov
7443671059
feat(be): add access key encryption
2021-08-31 04:02:41 +05:00
Denis Gukov
cb5f27d9ed
fix(be): migrations for mysql and postgres
2021-08-30 20:11:08 +05:00
Denis Gukov
0b3b56620c
refactor(config): add field dialect
2021-08-28 22:03:34 +05:00
Denis Gukov
31a71abf4a
refactor(be): add field dialect to config file
2021-08-28 17:04:56 +05:00
Denis Gukov
22e422e15a
feat(cli): add user management commands
2021-08-28 16:44:41 +05:00
Denis Gukov
a5a9f0cf0f
feat(cli): add env variable SEMAPHORE_CONFIG_PATH
2021-08-28 00:14:20 +05:00
Denis Gukov
d34478499f
fix: goss.yaml
2021-08-26 14:39:31 +05:00
Denis Gukov
d27c89790b
fix: goss.yaml
2021-08-26 14:38:34 +05:00
Denis Gukov
ddea297ef1
fix(ci): script for docker
2021-08-26 10:24:55 +05:00
Denis Gukov
4c3e2f4383
feat(cli): support arg -config for back compatibility
2021-08-26 01:36:04 +05:00
Denis Gukov
f7f23f999f
feat(cli): use cobra library
2021-08-26 01:12:19 +05:00
Denis Gukov
63a4a32ac1
feat: refactor to support postgres
2021-08-24 20:20:34 +05:00
Denis Gukov
8d5c57ea5c
feat: support Postgres dialect
2021-08-24 15:51:21 +05:00
Denis Gukov
8d21d8eb20
fix(be): mysql connection string without database name
2021-08-20 10:28:42 +05:00
Denis Gukov
27eab684c2
feat(cli): add arg -useradd for adding user via command line
2021-08-16 02:35:44 +05:00
zeroZshadow
56a7a4132d
Move interactive setup to own package
...
Remove reflex installation for windows
2021-07-15 21:23:59 +01:00
Denis Gukov
b60e927fc6
fix(be): correct sorting for boltdb
2021-06-25 00:53:36 +05:00
Denis Gukov
c607b20b26
feat: remove old ui
2021-05-15 17:59:06 +05:00
Denis Gukov
c0a0e71417
refactor(be): rename db tables prop objects
2021-05-14 00:45:54 +05:00
Denis Gukov
3d6d194d2e
feat(be): add Web root URL option description
2021-03-13 01:44:25 +05:00
Denis Gukov
d754eefeae
chore(be): remove sqlite
2020-12-04 13:46:02 +05:00
Denis Gukov
0d64b43f18
refactor(be): move util.go to api directory
2020-12-04 13:46:02 +05:00
Denis Gukov
d09fc1d26c
feat(be): support sqlite
2020-12-01 21:37:29 +05:00
Denis Gukov
bcfaca5149
feat(web2): support web2 by backend and go-task
2020-11-05 13:59:14 +05:00
Stanislav Simovski
4d28a61b96
Added some comments because linter complained
2019-07-09 20:49:17 +03:00
Stanislav Simovski
5ccae272d4
Remove mulekick, move functions to util
2019-07-09 20:45:27 +03:00