Commit Graph

69 Commits

Author SHA1 Message Date
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