Oussama Jarrousse
7f80e3812d
go fmt
2024-03-16 04:18:26 +01: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
27eab684c2
feat(cli): add arg -useradd for adding user via command line
2021-08-16 02:35:44 +05:00
Denis Gukov
37663bf615
feat: use scanln
2021-08-11 21:31:09 +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
0fe9c2b219
fix(be): setup
2021-06-25 02:30:32 +05:00
Denis Gukov
2b8a942e33
fix(be): remove boltdb user
2021-05-17 02:44:42 +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
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
80616eea27
fix(api): remove redirect for calls without trailing slash
2020-11-27 03:35:49 +05:00
Denis Gukov
add4b87ab9
chore(be): print Server is running
2020-11-21 01:36:39 +05:00
tom whiston
373f3d1e8e
add interface variable to settings
2018-05-14 19:43:33 +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
Tom Whiston
dd27aba6df
Change setup function and config loading
...
Adds setup question asking where to output config. Defaults to cwd, and if getting cwd produces an error falls back to /etc/semaphore
Make docker autostart default for config
Show default for playbook path
rename semaphore_config.json to config.json
fix pathname for circle
2018-03-15 00:31:27 +01:00
Tom Whiston
be97a6a324
remove the need for config init function in bindata and refactor to function called by main
2018-03-05 18:06:24 +01:00
Anton Markelov
59c10ac7c4
add admin rights for first user
2017-07-26 16:37:16 +10:00
Tom Paine
1c233e3c0d
Update main.go
...
errors here are often to do with a misconfigured semaphore
2017-06-02 12:57:23 +01:00
KBraham
ce6c9929f4
Typo fix main.go
...
Fix typo in semaphore
2017-05-28 15:11:41 +02:00
Matej Kramny
a23ed8bfae
run migrations on startup
...
fixes #332
2017-05-20 15:21:13 +02:00
Matej Kramny
6c633fdbf2
Merge branch 'master' into develop
...
# Conflicts:
# api/auth.go
# cli/main.go
# db/Event.go
2017-03-06 11:34:10 -08:00
Anton Markelov
4ee8f80555
Use UTC_TIMESTAMP instead of NOW
2017-02-28 21:46:27 +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
2f16f70e98
begin refactor gin -> net/http
2017-02-22 14:17:36 -08:00
Matej Kramny
2b83dad427
fix #202
2016-12-22 03:35:31 +09:00
Matej Kramny
c58d9ac34f
refactoring
2016-05-24 10:55:48 +01:00