Commit Graph

59 Commits

Author SHA1 Message Date
Denis Gukov
f5ad81f7c0 fix(be): checking build version by nil 2022-01-26 16:52:31 +05:00
Denis Gukov
5823bd8a7c fix(be): use correct command for running semaphore server 2022-01-24 22:22:10 +05:00
Denis Gukov
9b86ca69f2 refactor(cli): rename command service to server 2022-01-24 19:37:43 +05:00
Denis Gukov
9cf52616ec fix(cli): bug with config path parameter 2022-01-24 01:19:22 +05:00
Denis Gukov
d942cce1bc test(be): fix tests after migration refactoring 2022-01-23 18:21:27 +05:00
Denis Gukov
9520c0cd1b feat(be): implement migrations for BoltDB 2022-01-23 18:03:23 +05:00
Denis Gukov
4b024af095 feat(cli): add default value for config option 2022-01-21 21:27:48 +05:00
Denis Gukov
f0ee0dfc87 feat(fe): add instruction how to add user 2022-01-20 23:40:52 +05:00
Denis Gukov
6be09da63c feat: REMOVE PLACEHOLDER USER FUNCTIONALITY 2022-01-19 02:26:48 +05:00
Denis Gukov
458ee316ba feat(be): placeholder user 2021-12-18 18:16:34 +05:00
Denis Gukov
29499661c6 fix(be): pass linter 2021-12-16 03:27:59 +05:00
Denis Gukov
76bc2e29c5 feat(cli): returns ability to upgrade semaphore 2021-12-16 03:18:41 +05:00
Denis Gukov
a36b948691 fix(be): Access key file not found https://github.com/ansible-semaphore/semaphore/issues/783 2021-11-03 17:51:36 +05:00
Denis Gukov
034bdd456f fix(be): check directory state before trying create it 2021-11-03 01:07:37 +05:00
Denis Gukov
4db5a8cfa1 fix(cli): command description 2021-10-11 13:30:19 +05:00
Denis Gukov
6bd6c338f7 feat(be): timeout of boltdb 2021-09-17 15:05:04 +05:00
Denis Gukov
813eae8fa3 refactor(be): refreshing schedule pool after schedule updated 2021-09-06 20:45:43 +05:00
Denis Gukov
0b5998274d refactor(be): remove schedule global variable 2021-09-06 17:01:38 +05:00
Denis Gukov
6eeb6706d4 feat: add schedule functionality 2021-09-06 16:05:10 +05:00
Denis Gukov
7443671059 feat(be): add access key encryption 2021-08-31 04:02:41 +05:00
Denis Gukov
81e50f82ef fix(config): fill dialect field 2021-08-28 22:57:04 +05:00
Denis Gukov
0b3b56620c refactor(config): add field dialect 2021-08-28 22:03:34 +05:00
Denis Gukov
22e422e15a feat(cli): add user management commands 2021-08-28 16:44:41 +05:00
Denis Gukov
a5a9f0cf0f feat(cli): add env variable SEMAPHORE_CONFIG_PATH 2021-08-28 00:14:20 +05:00
Denis Gukov
b25908c4c6 fix(cli): mark user args as required 2021-08-27 23:54:48 +05:00
Denis Gukov
38a41764da refactor(cli): user add command 2021-08-27 13:50:26 +05:00
Denis Gukov
4c3e2f4383 feat(cli): support arg -config for back compatibility 2021-08-26 01:36:04 +05: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
730965c3a8 fix(be): default values for setup 2021-08-11 22:19:07 +05:00
Denis Gukov
37663bf615 feat: use scanln 2021-08-11 21:31:09 +05:00
Denis Gukov
6005ee8ce7 fix(be): remove unused variables 2021-08-11 20:10:54 +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