Commit Graph

38 Commits

Author SHA1 Message Date
Denis Gukov
15d96189dc fix(be): init array my empty 2023-09-18 22:04:23 +02:00
Denis Gukov
80d7c784fe fix: limit data by users 2023-09-18 19:46:55 +02:00
Denis Gukov
d3923f18b3 feat: admin can all 2023-09-17 16:15:44 +02:00
s3lph
c3cd04fdce feat: implement oidc authentication 2023-04-16 23:57:56 +02:00
Denis Gukov
73443a9612 feat: display Register form if no users in database 2021-12-16 02:22:52 +05:00
Denis Gukov
0787920d97 fix(web2): password field for new/edited user 2021-03-13 02:13:39 +05:00
Denis Gukov
c472dc66dd refactor(be): migrate users to Store 2020-12-17 19:00:05 +05:00
Denis Gukov
fd1d42782b refactor(be): return models to db package 2020-12-05 14:13:43 +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
400d2f6933 chore: fix merge conflicts 2020-12-01 23:35:50 +05:00
Denis Gukov
cc3a8539d2 fix(api): user management endpoint 2020-12-01 22:16:29 +05:00
Denis Gukov
d09fc1d26c feat(be): support sqlite 2020-12-01 21:37:29 +05:00
Denis Gukov
221f8db31c test: fix dredd tests 2020-10-03 01:10:41 +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
cccc00d113 use dredd for api testing
add ci context docker deployment
update api docs
add some small fixes
2018-04-18 18:03:15 +00: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
Anton Markelov
10f2b4b413 another minor grammar fixes 2018-02-20 10:12:19 +10:00
Anton Markelov
910c8bc4e9 another minor fixes after review 2018-02-19 08:49:40 +10:00
Anton Markelov
fe5dcdc1c8 minor fixes after code review 2018-02-17 09:46:23 +10:00
Anton Markelov
05a1b3cbd8 add admin role, restrict users without it 2017-07-26 15:55:34 +10:00
Matej Kramny
fe8851bcfe fixes for #310 2017-04-18 16:37:44 +01:00
Matej Kramny
4b6a518b73 fixes resulting from master merge 2017-04-18 14:58:48 +01: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
Anton Markelov
e11af62892 add logrus logging, disable LDAP username and password editing on backend 2017-03-28 11:38:53 +10:00
Anton Markelov
a436e97511 fix user alerts updating 2017-03-10 19:54:38 +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
Matej Kramny
c58d9ac34f refactoring 2016-05-24 10:55:48 +01:00