Commit Graph

140 Commits

Author SHA1 Message Date
fiftin
f353de742d
fix(be): use --become-user for become creds 2024-04-08 15:51:53 +02:00
fiftin
40151c7408
fix(secrets): become password value 2024-04-05 17:25:33 +02:00
Denis Gukov
3d571c0319
Use Stdin to pass secrets to ansible-playbook (#1911)
* feat: pass secrets via stdin

* feat: use pty

* feat(pty): logs

* feat(secrets): works

* fix(secrets): use correct ask flag of ansible playbook

* test(secrets): change tests
2024-04-05 14:36:04 +02:00
fiftin
205fe71bcb
fix(websocket): duplication logs for admin 2024-04-05 13:02:06 +02:00
fiftin
f20451b4c8
fix(backups): add inventory field 2024-04-03 11:02:29 +02:00
Denis Gukov
f758e75d9e
Merge pull request #1906 from semaphoreui/1870-author-details-missing-in-slack-alert
fix(alerts): use dash instead of user name of it is cron task
2024-04-03 00:45:34 +02:00
Denis Gukov
ab3fe8ba02
Merge pull request #1905 from semaphoreui/1832-refresh-does-not-seem-to-work-correctly
fix(backups): add the user to the restored project
2024-04-03 00:33:49 +02:00
fiftin
cbccad0de0
fix(alerts): use dash instead of user name of it is cron task 2024-04-03 00:28:36 +02:00
fiftin
0c9c611cb3
fix(backups): add the user to the restored project 2024-04-03 00:05:07 +02:00
fiftin
dafc6590df
fix(users): update task log for admins 2024-04-02 23:50:52 +02:00
fiftin
7f15af22b5 fix(slack): log messege for unsuccess sent 2024-04-02 14:16:34 +02:00
Denis Gukov
d33d752bea
unregister runner (#1875)
* fix(login): expire cookie on error with login

* feat: allows to unregister runner via cli

* feat(runner): add subcommands

* feat(runners): unregister command

* refactor(runner): move config to util.gol

* Revert "fix(login): expire cookie on error with login"

This reverts commit 6d726e3475.
2024-03-27 14:43:41 +01:00
fiftin
7a1e08023e feat(runners): change log messages 2024-03-27 12:04:30 +01:00
fiftin
52f64e36fa fix: email link 2024-03-23 21:59:29 +01:00
fiftin
c5448d0357 feat: use html for emails 2024-03-23 21:16:59 +01:00
fiftin
a369bd772f feat: add emoji for all messengers 2024-03-23 20:55:33 +01:00
fiftin
e2707994cb feat: add notification for confirmation 2024-03-23 20:36:43 +01:00
fiftin
8964689383 feat(notifications): add emoji to messages 2024-03-23 20:33:48 +01:00
fiftin
65d7a467fa feat(integrations): add alias management endpoints 2024-03-20 14:01:52 +01:00
Oussama Jarrousse
631da95ea9 Adding rocket.chat alerts support (similar to slack) 2024-03-15 18:30:15 +01:00
Oussama Jarrousse
a43c94f6e7 Revert "Adding rocket.chat alerts support (similar to slack)"
This reverts commit 2bb8114464.
2024-03-15 18:23:11 +01:00
Oussama Jarrousse
2bb8114464 Adding rocket.chat alerts support (similar to slack) 2024-03-15 18:20:54 +01:00
fiftin
26f609b3a5 fix(runners): check statuses from server 2024-03-12 03:03:43 +01:00
fiftin
f2c8bc2a4c fix(be): deny waiting confirmation after confirmed 2024-03-12 02:53:29 +01:00
fiftin
179a2625f7 fix(be): logger for playbook 2024-03-12 02:20:30 +01:00
fiftin
7667665755 fix(be): status for local running job 2024-03-12 02:06:21 +01:00
fiftin
02899c9ccb feat: status updating 2024-03-12 01:44:04 +01:00
fiftin
8a6d5821f8 Revert "feat: make inventory optional for template"
This reverts commit f6f3e4228f.
2024-03-10 22:56:58 +01:00
fiftin
8aafae1417 Merge branch 'develop' of github.com:ansible-semaphore/semaphore into develop 2024-03-10 22:51:37 +01:00
fiftin
f6f3e4228f feat: make inventory optional for template 2024-03-10 22:51:28 +01:00
gavrilov.nikita
741a6748fd Fix deprecation io/ioutil 2024-03-10 22:07:19 +03:00
fiftin
479eb889f8 refactor: add type InventoryType 2024-03-09 20:23:38 +01:00
fiftin
c150d90a75 feat(be): implement confirmation endpoint 2024-03-09 15:01:20 +01:00
fiftin
bdd758e59d feat(be): add confirm endpoint 2024-03-09 14:54:27 +01:00
Thomas Boerger
dba0b8e35e
feat: add more logs to alerts and use same structure for teams alerts 2024-03-03 22:29:37 +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
Denis Gukov
60f3c72c22
Merge pull request #1771 from thibaultserti/develop
fix: slack color for failure
2024-03-01 14:27:07 +05: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
Thibault Ayanides
b932b96088
fix: slack color for failure 2024-02-19 21:55:18 +01:00
fiftin
e2f43bee7e fix(schedule): parallel tasks with boltdb (https://github.com/ansible-semaphore/semaphore/issues/1211) 2024-02-10 18:59:56 +05:00
Denis Gukov
d173577f3d feat(backup): add random suffix for resources with the same name 2024-02-10 18:23:11 +05:00
Denis Gukov
813358b266 feat(backup): add random suffix for resources with the same name 2024-02-10 18:21:39 +05:00
Denis Gukov
1fd655258a fix(backup): nullpointer error with cron 2024-02-10 15:30:41 +05:00
samerbahri98
6d2b34858f
fix(api): restore cron 2024-02-07 22:19:25 +01:00
samerbahri98
9c0b53a216
test(api): restore 2024-02-07 22:19:25 +01: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
78c93b1c84 fix: null pointer to logger 2024-02-05 01:38:15 +05:00
fiftin-quiz
57046eaf65 refactor(app): add app factory 2024-01-30 20:42:56 +05:00