Commit graph

96 commits

Author SHA1 Message Date
zc
5426fb7b31
event-stream supports timeout (#3125)
* event-stream supports timeout
* Increaded timeout to 24 hours for events/build.go
* Increased timeout to 24 hours for events/global.go
* Increased timeout to 24 hours for events/logs.go
2021-08-31 17:45:07 +02:00
Eoin McAfee
352eff9062
add check on template extension type - throw error if invalid (#3128)
* add check on template extension type - throw error if invalid
2021-08-31 15:51:39 +01:00
Eoin McAfee
b37cbd7771 revert repo change to visilbity 2021-08-27 11:05:07 +01:00
Eoin McAfee
6076621ada tech qa feedback, add test for update & fix issue with visiability & config 2021-08-27 10:36:33 +01:00
Eoin McAfee
9b86e80f5f ability to cancel running builds if new commit is pushed 2021-08-26 17:21:00 +01:00
Eoin McAfee
00f65ec289 change error message for non member of organization to be forbidden instead of not found: 2021-08-20 10:44:50 +01:00
Eoin McAfee
fe9ea60aad
update template create api to accept namespace (#3121)
* update template create api to accept namespace
* fixes issue were personal repos were not authorized on checkmembership
2021-08-19 16:19:51 +01:00
Marko Gaćeša
ff70133341 added error as return value for pubsub.Subscribers() 2021-07-22 18:56:41 +02:00
Marko Gaćeša
a6f931e697
Merge branch 'master' into master 2021-06-29 11:21:05 +02:00
TP Honey
44f5cc2dbf
Merge pull request #3088 from phil-davis/typo-fixes
Fix various typos
2021-06-22 10:20:17 +01:00
Phil Davis
c7e03b6251
Fix various typos 2021-06-10 08:19:00 +05:45
Eoin McAfee
1655fadc4a fixing oss build issue with new feature templates 2021-06-04 09:59:46 +01:00
Eoin McAfee
56fc7b8a2a group drone imports separately 2021-06-02 14:17:42 +01:00
Eoin McAfee
1173323cbf group drone imports separately 2021-06-02 14:11:18 +01:00
Eoin McAfee
31867a9261 group imports 2021-06-01 10:29:58 +01:00
Eoin McAfee
88a5a8e796 Tech QA Feedback & add support for organization level templates 2021-05-28 16:59:00 +01:00
Eoin McAfee
8b7933c116 starlark converter & parser created and working. Unit tests add & some moving around/refactoring of plugins. 2021-05-27 14:58:23 +01:00
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
Shubhendra Singh Chauhan
f952383838
- Remove unnecessary wrapping of function call
- Remove unnecessary use of slice

- Replace use of HTTP codes with constants
2021-02-13 13:45:38 +05:30
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