Commit graph

37 commits

Author SHA1 Message Date
6543 a94807efeb
Refactor: move model/ to server/model/ (#366) 2021-09-27 19:51:55 +02:00
Anbraten 894df351ee
Remove push, tag and deployment webhook filters (#281)
- remove `AllowPush`, `AllowTag`,  `AllowDeploy` options.
- keep `AllowPullRequest` option and disable it by default

---
close #265 
close #243
2021-09-18 16:28:35 +02:00
Anbraten 289f0c9ad6
Change pipeline config path resolution (#299)
# Config resolution
- pipeline-config setting empty / not specified (default): `.woodpecker/` => `.woodpecker.yml` => `.drone.yml`
- pipeline-config setting defined by user: try that file / folder and no fallback (if a user sets some special value that is normally done for some reason)

# Changes
- pipeline-config setting will be empty by default
- remove fallback setting for config loading (simplifies config)

---
closes #133

---

* adjust config fetching mechanism

* default path empty

* remove fallback flag from ui and db
2021-09-17 21:40:43 +02:00
Laszlo Fogas 8d79f8671e Fallback to default config. Allows incremental rollout of custom-path 2019-06-25 13:45:43 +02:00
Thomas Boerger 7f49e69607
Just fixed format with go fmt ./... 2018-03-21 14:02:17 +01:00
Brad Rydzewski 580fe9abb7 add apache license header to files 2018-02-19 14:24:10 -08:00
Joachim Hill-Grannec f54175de91 Made ResetVisibility and ParseRepo generic.
Validate new from repo has admin rights
2017-08-21 18:49:09 -04:00
Joachim Hill-Grannec cee90e93aa Update to create move endpoint to allow changing the repo name 2017-08-21 17:56:37 -04:00
Joachim Hill-Grannec 8e13d374bc Fix quote location 2017-08-21 13:16:24 -04:00
Joachim Hill-Grannec 4fab997871 Adding the ability to update the repo owner and name via patch with the owner and name props 2017-08-16 16:21:13 -07:00
Joachim Hill-Grannec a848f3e793 allow in a patch update to change the build number if the user is an admin 2017-08-12 17:01:10 -07:00
Brad Rydzewski c3732041d5 refresh repo info on activation 2017-07-21 11:53:11 -04:00
Brad Rydzewski 35e0ee2e5f implement sync logic 2017-07-14 15:58:38 -04:00
Brad Rydzewski 3f45889ead fix merge conflicts 2017-05-23 14:43:50 +02:00
Brad Rydzewski f16dfaa9f0 increment build from counter 2017-05-23 12:43:58 +02:00
Brad Rydzewski b1cbe65985 use visibility to alter permissions 2017-05-23 00:44:58 +02:00
Brad Rydzewski c64a244c27 add visibility database field 2017-05-22 23:11:29 +02:00
Brad Rydzewski 4aac0bc4d6 re-use gated logic 2017-05-05 19:13:40 +02:00
Brad Rydzewski 4569b60f09 persist and compare yaml for gating 2017-05-05 18:59:37 +02:00
Brad Rydzewski 5dfc61ca7e ability to update repo settings from cli 2017-04-12 14:12:21 +02:00
Brad Rydzewski 8348c858ba wip enable pluggable secret and registry backends 2017-04-11 19:06:45 +02:00
Brad Rydzewski b6321a4137 remove sha and yaml global variables 2017-03-19 16:51:12 +08:00
Brad Rydzewski e319aaff15 add reviewer fields, endpoints 2017-03-18 16:49:27 +08:00
Brad Rydzewski 769551cb44 ability to pull full vs partial list 2016-06-14 15:20:17 -07:00
Brad Rydzewski bcc768b157 fully functioning build using 0.5 agents 2016-04-21 00:25:30 -07:00
Brad Rydzewski b5823d20ff chunk the yaml into sections 2016-04-19 18:37:53 -07:00
Brad Rydzewski 0d04fa67e3 moving API to api package, swagger annotatoins 2016-03-30 13:15:28 -07:00
Brad Rydzewski 25fa705511 added scm and deploy fields. plan to support hg, github deploys 2015-10-27 13:03:37 -07:00
Brad Rydzewski cfdfbcfd3b didn't realize gin supports net.Context. Change to support Context pattern! 2015-10-21 16:14:02 -07:00
Brad Rydzewski 7f9ef94f47 unit testing postgres, mysql. temporary workaround for backticks 2015-10-20 00:08:09 -07:00
Brad Rydzewski a6fa326169 fix issue with exceeding sqlite params 2015-10-16 15:02:50 -07:00
Brad Rydzewski fa8c657005 some initial work on #1234 2015-10-15 22:25:07 -07:00
Brad Rydzewski f84c8bc411 working on the homage page 2015-10-15 15:40:27 -07:00
Brad Rydzewski 71a0879309 re-added the simple repo list to the home page 2015-10-02 16:47:54 -07:00
Brad Rydzewski 130c133b92 added helper queries for user builds 2015-10-02 16:16:41 -07:00
Brad Rydzewski dfea14c7e5 updated vendor files and paths 2015-09-29 18:21:17 -07:00
Brad Rydzewski 155576fb03 moved to single binary project structure 2015-09-29 17:53:21 -07:00
Renamed from pkg/types/repo.go (Browse further)