Commit Graph

1806 Commits

Author SHA1 Message Date
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
7c0fed0809
Merge pull request #1784 from tboerger/embed-and-cache
feat: replace packr and add basic cache headers
2024-03-02 19:28:57 +01:00
Denis Gukov
b4b194048e
Merge pull request #1803 from NikitaDef/feature/fix_dev_move_alert_newtaskdialog
Fix Vue warn NewTaskDialog dev mode
2024-03-02 18:53:35 +01:00
fiftin
cc02bbcc56 Merge branch 'develop' of github.com:ansible-semaphore/semaphore into develop 2024-03-02 18:52:39 +01:00
fiftin
a1555fecc2 ci: add no for Teams in docker config workflow 2024-03-02 18:52:28 +01:00
gavrilov.nikita
2f95a6fb7e Fix Vue warn
[Vue warn]: Invalid prop: type check failed for prop "templateId". Expected Number with value NaN, got String with value "new".
2024-03-02 20:47:25 +03: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
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
Denis Gukov
1834c6ebcb
Merge pull request #1799 from tboerger/newer-golang
fix: build with go 1.21
2024-03-01 15:00:57 +01:00
Thomas Boerger
61a41a2c98
fix: also use go 1.21 within docker 2024-03-01 14:12:14 +01:00
Thomas Boerger
502bb4a978
fix: use right amount of empty lines on nl translation 2024-03-01 14:03:34 +01:00
Thomas Boerger
2fe25abdf6
fix: build with go 1.21
Looks like some dependencies rely on Go 1.21 with the current versions
shown by the build system, currently it's not able to install go-task
anymore. With this change the build system gets updated to Go 1.21.
2024-03-01 14:02:54 +01:00
Denis Gukov
10387f0ac8
Merge pull request #1798 from kwoot/Dutch_translation
Dutch translation
2024-03-01 10:54:25 +01:00
Denis Gukov
c596555220
Merge pull request #1783 from tboerger/ui-version
feat: show version within menu on ui
2024-03-01 14:27:43 +05:00
Denis Gukov
60f3c72c22
Merge pull request #1771 from thibaultserti/develop
fix: slack color for failure
2024-03-01 14:27:07 +05:00
Denis Gukov
dad4e23db9
Merge pull request #1761 from lima-faux/fix-908
fix: ansible-semaphore#908
2024-03-01 14:26:52 +05:00
Denis Gukov
f4e92d4051
Merge pull request #1789 from tboerger/update-deps
feat: upgrade all dependencies
2024-03-01 14:24:06 +05:00
Jeroen Baten [NIPV]
e1dda0b4f3 Dutch translation 2024-03-01 10:10:24 +01:00
Thomas Boerger
0425d52a84
fix: drop console log statement from frontend 2024-02-27 12:09:32 +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
Thomas Boerger
ce37dab1bd
feat: upgrade browserlist as requested from build output 2024-02-26 12:31:24 +01:00
Thomas Boerger
badbb5ad5e
feat: show version within menu on ui 2024-02-26 12:30:43 +01:00
Thibault Ayanides
b932b96088
fix: slack color for failure 2024-02-19 21:55:18 +01:00
tones_
dbf3ff0ac0
fix: ansible-semaphore#908 2024-02-15 23:23:26 -05:00
Denis Gukov
570a9d323a fix(web): change restore icon 2024-02-12 14:05:01 +05:00
Denis Gukov
95365d3a95 fix(web): add ... to restore translations 2024-02-12 14:03:56 +05:00
Denis Gukov
f02ff781f0 fix(web): restore key translation to Russian 2024-02-12 14:02:27 +05: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
b52f2ef348 fix(backup): translation 2024-02-10 18:41:25 +05: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
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
Denis Gukov
dd38199b93 fix(ldap): remove whoami check 2024-02-10 14:26:22 +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
a9e91e224b
test(api) backup 2024-02-07 22:19:24 +01:00
samerbahri98
5abc531872
feat(ui): restore 2024-02-07 22:19:24 +01:00
samerbahri98
8cfdb25337
feat(ui) backup 2024-02-07 22:19:23 +01:00
samerbahri98
1d38fd2d09
docs(api) backup and restore 2024-02-07 22:19:23 +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
a1a47c9af3 Merge branch 'develop' of github.com:ansible-semaphore/semaphore into develop 2024-02-08 01:20:19 +05:00
fiftin
f3ef216208 fix(be): static assets 404 error when web host not empty 2024-02-08 01:19:03 +05:00
Denis Gukov
dcba92a3e8
Merge pull request #1651 from marbad1994/extra_variables_validation_error
Fix: Extra variables validation error #1141
2024-02-06 04:07:59 +05:00
fiftin
595add22d6 fix(ui): spaces in output (https://github.com/ansible-semaphore/semaphore/issues/1709) 2024-02-06 02:50:26 +05:00
Denis Gukov
3898172108
Merge pull request #1741 from tboerger/live-reload-frontend
feat: enable proxy for frontend dev server
2024-02-06 02:19:45 +05:00
Denis Gukov
0e02aeebf5
Merge pull request #1740 from tboerger/fix-db-lib
fix(dblib): resolve missing logger dependency
2024-02-06 02:16:28 +05:00
Thomas Boerger
7f81faf0db
feat: enable proxy for frontend dev server 2024-02-05 22:14:40 +01:00
Thomas Boerger
85ee2f832b
fix(dblib): resolve missing logger dependency 2024-02-05 21:55:09 +01:00