Commit graph

128 commits

Author SHA1 Message Date
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
c4df2ce391 invoke admission controll for existing user login 2019-09-18 19:07:03 -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
Brad Rydzewski
ab81e18705 enable POST to logout [CI SKIP] 2019-09-18 13:35:57 -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
Brad Rydzewski
099e671166
Merge pull request #2712 from xuyang2/fix-typo [ci skip]
fix a typo
2019-05-27 21:35:52 -07:00
Brad Rydzewski
9edc42773f build list should require read access, no write 2019-05-26 10:50:17 -07:00
徐胖
5c36e3db17 fix a typo 2019-05-22 09:31:48 +08:00
Brad Rydzewski
346743176b separate healthz from other routes 2019-05-21 13:29:58 -07:00
Brad Rydzewski
b52456f652 fix regression with rpc v1 client 2019-05-21 13:00:16 -07:00
Brad Rydzewski
16107b0e8d fix typo in stream error 2019-05-20 09:17:12 -07:00
Brad Rydzewski
ed89046557 enable custom build parameters when creating a build 2019-05-20 07:43:49 -07:00
Brad Rydzewski
8ed432e851 set ref when restarting build 2019-05-20 07:41:27 -07:00
Thomas Boerger
c34efc152a
Use branch form value as fallback for last build
The current version of the Drone CLI is still using the branch form
value to filter the latest build information while the server is
listening only for the ref form value. With this fix we are falling back
to branch form value if it gets defined, formats it as a ref and hands
it to the further functions.
2019-04-26 11:05:28 +02:00
Brad Rydzewski
1c6d751d50 trigger build from branch or sha, closed #2679 2019-04-24 14:05:47 -07:00
Brad Rydzewski
c2e93d3071 handle skipped node in middle of dependency chain 2019-04-20 17:12:37 -07:00
徐扬
49bbaf4a11 fix some typos 2019-04-16 11:05:46 +08:00
徐胖
d924425890 fix some typos 2019-04-16 10:08:21 +08:00
徐胖
4d47ac1861 fix some typos 2019-04-16 09:50:32 +08:00
Brad Rydzewski
96132e3d0a support for per-organization secrets 2019-04-14 17:06:16 -07:00
Brad Rydzewski
727177da13 ability to delete repository 2019-04-14 14:01:47 -07:00
Brad Rydzewski
2e36ee9c72 WIP endpoint to create build from branch, sha 2019-04-13 01:52:31 -07:00
Brad Rydzewski
504e4754e6 support for encrypted secrets 2019-03-18 08:34:36 -07:00
Brad Rydzewski
bd23f21ff4 ability to pause and resume build queue 2019-03-17 14:31:07 -07:00
Brad Rydzewski
ba750ff0ae bump ui 2019-03-16 12:53:03 -07:00
Brad Rydzewski
7780f0e5ce update stats to include windows 1809 [ci skip] 2019-03-14 17:35:00 -07:00
Brad Rydzewski
0fa4ea3c5e update stats to include windows 1809 2019-03-14 17:30:35 -07:00
Brad Rydzewski
ff8f29df53 audit headers 2019-03-13 14:47:47 -07:00
Brad Rydzewski
438bcbc792 update default vars 2019-03-05 15:16:58 -08:00
Thomas Boerger
20c19bc522
Merge pull request #2612 from yfdyh000/patch-2
Use https to open plugins.drone.io
2019-03-01 15:27:31 +01:00
Thomas Boerger
fa7dfeafe9
Merge pull request #2611 from yfdyh000/patch-1
Use "mailto"
2019-03-01 15:26:52 +01:00
Brad Rydzewski
e52329b111 adde encrypt endpoint 2019-02-28 12:49:04 -08:00
Brad Rydzewski
d240eadb65 merge remote-tracking branch 'origin/master' 2019-02-27 23:07:30 -08:00
Brad Rydzewski
d04647e75f add build tags 2019-02-27 23:07:13 -08:00
YFdyh000
8cd7d15d01
Use https to open plugins.drone.io 2019-02-27 13:29:07 +08:00
YFdyh000
20e03ba970
Use "mailto" 2019-02-27 13:27:26 +08:00
Thomas Boerger
938c55bd60
Reenable queue list to get autoscaler working 2019-02-26 21:46:49 +01:00
Brad Rydzewski
69a8e404bd fix issue with wrong default .drone.yml file 2019-02-22 09:01:11 -08:00
Brad Rydzewski
616433b709 optionally disable pr and fork at database level 2019-02-21 11:06:33 -08:00
Brad Rydzewski
6621f4c7f7 wip enable CE 2019-02-20 10:34:26 -08:00
Brad Rydzewski
5b6a3d8ff4 squash and merge local branch 2019-02-19 15:56:41 -08:00