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
bd855dab9b
test: fix dredd tests
2022-06-29 21:25:28 +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
51fc40e9c8
feat(be): triggering autorun tasks
2022-01-20 00:35:59 +05:00
Denis Gukov
d87a0147d5
refactor(be): remove duplication
2021-10-13 19:33:07 +05:00
Denis Gukov
e692d2403e
refactor(be): add enum for event object type
2021-10-13 19:07:22 +05:00
Denis Gukov
6eeb6706d4
feat: add schedule functionality
2021-09-06 16:05:10 +05:00
Denis Gukov
d269a53625
feat(be): add user id to activity log
2021-08-20 11:28:50 +05:00
Denis Gukov
027e45fc86
refactor(be): migrate projects to Store
2020-12-17 00:19:20 +05:00
Denis Gukov
fd1d42782b
refactor(be): return models to db package
2020-12-05 14:13:43 +05:00
Denis Gukov
1295435f18
test(be): fix dredd tests
2020-12-05 03:26:24 +05:00
Denis Gukov
6e1a6d20ca
refactor(be): template and environment endpoints use Store
...
Rename util to helpers
Bind returns bool instead of error
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
b083f74322
fix(be): delete global Mysql variable and add interface Store for dialect-independent communication with database.
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
74bd370a57
feat(web2): template edit
2020-10-05 03:29:02 +05:00
Stanislav Simovski
5ccae272d4
Remove mulekick, move functions to util
2019-07-09 20:45:27 +03:00
Stanislav Simovski
ab5927427d
Remove mulekick router, use mux directly
...
Revert one more commit
2019-07-09 20:39:18 +03:00
Stanislav Simovski
09a2b31eb3
mux != Koa, undo refactor before it gets worse
2019-07-09 19:11:01 +03:00
Stanislav Simovski
bb97b8d757
Execute next middleware in stack only if present
2019-07-09 18:55:42 +03:00
Stanislav Simovski
23d65ba0c2
Refactored all routes to use native mux Middelware
2019-07-09 16:07:16 +03:00
Stanislav Simovski
23fdc8550b
Set version on windows taskfile
...
It doesn't otherwise build on windows since by default it's `1`:
```powershell
Taskfiles versions should match. First is "2" but second is "1"
```
backup
2019-07-09 16:07:10 +03:00
Matej Kramny
d5f8335f2a
fix dependency
2019-07-09 10:36:20 +08:00
tom whiston
17fa7bb407
add gometalinter to tools and run it in circle.
...
extract some error checking and logging in places where linting needed or errors not checked
2018-04-05 21:24:19 +00:00
Viktor Anderling
bb064198dd
Fix nil pointer dereference when updating Template
...
When updating a template with empty "Extra CLI Arguments" field, the
template.Arguments pointer becomes nil. The previous check whether this
variable is the empty string fails if it is already nil.
The fix introduces a lazy nil check before the empty string-check.
2017-05-16 16:49:56 +02:00
Matej Kramny
db4948cb89
Merge branch 'master' into develop
...
# Conflicts:
# Dockerfile
# api/login.go
# api/projects/environment.go
# api/projects/project.go
# api/projects/templates.go
# api/tasks/runner.go
# api/users.go
# db/versionHistory.go
# util/bindata.go
2017-04-18 14:48:31 +01:00
laeshiny
b61833d4fb
Add missing prefix pt to query
2017-03-16 23:53:38 +09:00
laeshiny
d87ca8b8e3
Add sort, order parameter to Get Request of "project/id/templates"
...
For sorting the list, add parameters to Get Request
- sort: sorting target name
example) alias (or playbook or ssh_key or inventory or environment or repository)
- order: ordering manner
example) asc (or desc)
2017-03-16 23:30:41 +09:00
laeshiny
8c30b75c57
Rearrange list of Task Template, Inventory, Environment, Team in UI
...
- Add "order by alias (or name)" to query of getting list in Task Template, Inventory, Environment, Team
2017-03-15 00:04:48 +09:00
Anton Markelov
86100939bd
provide NULL instead of empty string, when Extra CLI Arguments was deleted
2017-03-10 10:40:11 +10:00
Matej Kramny
2a2b7e8aed
merge models -> db
2017-02-22 21:12:16 -08:00
Matej Kramny
3f3da12d37
🎉 gin -> net/http
2017-02-22 15:21:49 -08:00
Matej Kramny
1ddfcd5b5f
moar refactor
...
- c.MustGet( -> context.Get(r,
- c.Get( -> context.GetOk(r,
2017-02-22 14:21:52 -08:00
Matej Kramny
2f16f70e98
begin refactor gin -> net/http
2017-02-22 14:17:36 -08:00
gcavalcante8808
ed46338da5
Fixes #188 .
2016-11-15 13:44:41 -02:00
Matej Kramny
c58d9ac34f
refactoring
2016-05-24 10:55:48 +01:00