Commit graph

78 commits

Author SHA1 Message Date
Eoin McAfee
eb9a301a9e deleted all.go - not required & fixed issue where template if none found return null instead of empty list. 2021-05-21 13:31:06 +01:00
Eoin McAfee
b63facdc62 added more unit tests, changed input for template data to byte array & fixed another issue with insert sql script not autoincrement 2021-05-20 16:02:38 +01:00
Eoin McAfee
2d84d48c3a Fixed issue with routing for templates. 2021-05-20 14:24:31 +01:00
Eoin McAfee
a73c29eb47 Add unit tests for controllers & fix issue where api route was in the wrong location for template 2021-05-20 13:55:45 +01:00
Eoin McAfee
a28d218285 Add unit tests for controllers & fix issue where api route was in the wrong location for template 2021-05-20 13:55:26 +01:00
Eoin McAfee
34bf7e9142 ran wire to generate DI for template store 2021-05-19 16:08:46 +01:00
Eoin McAfee
00b6d6e436 Initial api routes 2021-05-19 14:18:24 +01:00
Brad Rydzewski
3e3d044ac3 support for creating a machine user with a custom token 2020-12-18 14:07:38 -05:00
Brad Rydzewski
778d0a0aff support for limiting concurrency per-repository 2020-12-11 13:57:49 -05:00
Brad Rydzewski
96d1a99428 add debug field to build 2020-11-09 15:32:17 -05:00
Brad Rydzewski
e609b197ed
ensure rollback functionality available to collaborators 2020-08-19 17:11:31 -04:00
Brad Rydzewski
2006bac45c retry with previous build parameters 2020-07-29 19:57:28 -04:00
Brad Rydzewski
6322644ec1 feature flag enables static webhook secret 2020-07-12 13:54:53 -04:00
Brad Rydzewski
97116f01c2 custom token is ignored when creating a user 2020-06-08 15:51:00 -04:00
Brad Rydzewski
840f58dc7f re-assign repository ownership when user deleted or deactivated 2020-06-08 14:32:28 -04:00
Brad Rydzewski
86d13bdd78 Merge remote-tracking branch 'origin/master' 2020-03-26 13:39:20 -07:00
Brad Rydzewski
73c84aec0c enable experimental private mode flag 2020-03-26 13:38:57 -07:00
MengZeLee
ccaf231b81
fix typo
fix typo
2020-03-22 00:47:43 +08:00
Bradley Rydzewski
cbeaa0952e add deployment summary endpoints 2020-03-13 15:20:31 -04:00
Bradley Rydzewski
a88f9d0743 added endpoints for branch summary 2020-03-13 13:27:07 -04:00
Brad Rydzewski
1ddf7963fe use context.Backround in async sync 2020-02-12 12:49:45 -08:00
Brad Rydzewski
c03bdd4998 look for async param in query string 2020-02-12 12:46:47 -08:00
Brad Rydzewski
93e8767f9c GET user by internal user id 2020-02-07 09:19:32 -08:00
Brad Rydzewski
c714f1fd73 add endpoint to list user repos 2020-02-07 08:45:48 -08:00
Brad Rydzewski
344a444c69 fix nil pointer caused by nil current user 2019-10-17 23:09:37 -07:00
Brad Rydzewski
39ec4d1022 fix incorrect secrets, cron route regresion 2019-10-03 19:06:59 -07:00
Brad Rydzewski
d9945b8bbf repository endpoint use acl.AuthorizeAdmin middleware 2019-10-02 14:23:15 -07:00
Brad Rydzewski
cbfd342333 endpoint to paginate through all repos 2019-10-02 11:29:57 -07:00
Brad Rydzewski
0b4e5156ae option to auto-cancel pending builds 2019-10-01 23:28:57 -07:00
Brad Rydzewski
3fcbf1c78f service to batch cancel pending builds 2019-10-01 22:51:23 -07:00
Brad Rydzewski
4572cc8ddd check organization membership when authorizing orgsecret access 2019-09-29 13:51:56 -07:00
Brad Rydzewski
dce18f9afd check remote system when creating user 2019-09-28 14:27:37 -07:00
Brad Rydzewski
a3b7511d9c added endpoints for deep links 2019-09-20 18:17:32 -07:00
Brad Rydzewski
aaa02ba1a0 added build link endpoint with redirect 2019-09-20 17:08:25 -07:00
Brad Rydzewski
12eeb7f15e query builds based on branch, closes #1495 2019-09-18 19:03:29 -07:00
Brad Rydzewski
b950e28dd3 closes #2835 and #2781 2019-09-18 15:06:38 -07:00
kaitoy
3a7ae654fc fix OSS build for v1.4.0. 2019-09-16 17:48:57 +09:00
Brad Rydzewski
04724b4d90 fix incorrect file headers [ci skip] 2019-09-10 18:38:35 -07:00
Brad Rydzewski
66219bd83d added remote repo endpoint 2019-09-06 15:20:41 -07:00
Brad Rydzewski
8627d2100a improve syncer debugging with trace logging 2019-09-06 14:49:50 -07:00
Brad Rydzewski
870e967ee8 added support for rollback 2019-09-03 21:11:49 -07:00
Brad Rydzewski
9ac8aa26c8 copy cron job name when re-startinga build #2760 2019-09-03 16:07:30 -07:00
Brad Rydzewski
33bd477f71 added support for github deployment status 2019-08-26 12:26:09 -07:00
Brad Rydzewski
2e081efc69 change build tag 2019-08-21 16:30:41 -07:00
Brad Rydzewski
bb974377a7 improve cancel to force cancel dangling stages 2019-07-30 21:20:28 -07:00
Brad Rydzewski
c7788c4587 copy parameters from parent build when promoting 2019-07-29 19:20:14 -07:00
Brad Rydzewski
27bc816a01 inactive accounts cannot activate a repository 2019-07-29 13:58:32 -07:00
Brad Rydzewski
c78f55cc2f do not allow creating empty user account 2019-07-29 13:41:28 -07:00
Brad Rydzewski
56fd3042ba fix inconsistent base64 encoding/decoding secrets 2019-06-06 16:57:58 -07:00
Eric Raymond
93dc36cad0 Fixing check requiring Admin for build promote 2019-06-05 15:55:02 -07:00