Commit graph

2441 commits

Author SHA1 Message Date
Kirill Zaitsev
4485f6c6f3 Disallow non admin users to deactivate repo 2016-07-21 21:41:17 +03:00
Brad Rydzewski
b675867967 Merge pull request #1724 from bradrydzewski/master
ensure client uses ProxyFromEnvironment
2016-07-20 22:46:36 -07:00
Brad Rydzewski
d05aad8b48 ensure client uses ProxyFromEnvironment 2016-07-20 22:35:51 -07:00
Brad Rydzewski
90a15fb5bb Merge pull request #1721 from bradrydzewski/master
gracefully shutdown agent when builds running
2016-07-18 02:40:44 -07:00
Brad Rydzewski
88df2520c8 gracefully shutdown agent when builds running 2016-07-18 00:06:34 -07:00
Brad Rydzewski
8b2b6f77cc Merge pull request #1719 from bradrydzewski/master
finish streaming logs before killing images
2016-07-14 13:01:48 -07:00
Brad Rydzewski
71de0d9408 hacky fixed for race conditions on cancel 2016-07-13 17:33:28 -07:00
Brad Rydzewski
c27a5dd0b4 modifying cancel logic 2016-07-13 14:25:40 -07:00
Brad Rydzewski
e573d66b91 remove unstable acknowledgements 2016-07-13 12:00:07 -07:00
Brad Rydzewski
4d6f711b7a Merge pull request #1713 from bradrydzewski/master
write exit code to logs
2016-07-13 11:04:31 -07:00
Brad Rydzewski
8ce22709f0 write exit code to logs 2016-07-13 10:48:51 -07:00
Brad Rydzewski
cf3fb7623f Merge pull request #1708 from ZombieHippie/patch-1
Rename secert_add.go to secret_add.go
2016-07-12 17:52:31 -07:00
Brad Rydzewski
1dda838dee Merge pull request #1710 from strk/badgeNone-200
Make badgeNone usable in HTML img tag (returning 200 instead of 404)
2016-07-12 10:12:11 -07:00
Sandro Santilli
a24f584336 Separate core imports from external ones 2016-07-12 13:51:25 +02:00
Sandro Santilli
7dbeb6f42e Use Warning instead of Error on sql failure in badge 2016-07-12 13:43:32 +02:00
Sandro Santilli
042e779e08 Use Sirupsen/logrus for logs 2016-07-12 13:28:02 +02:00
Sandro Santilli
578f73c791 Make badgeNone usable in HTML img tag (returning 200 instead of 404)
Also adds a print in the log about the kind of failure
2016-07-12 12:53:01 +02:00
Brad Rydzewski
35e5435400 Merge pull request #1709 from bradrydzewski/master
fixed router issue and removed unused HTML pages
2016-07-10 19:19:27 -07:00
Brad Rydzewski
a56ce81c3c fixed router and removed unused HTML pages 2016-07-10 19:08:52 -07:00
Cole R Lawrence
6802913dc0 Rename secert_add.go to secret_add.go 2016-07-10 16:26:42 -05:00
Brad Rydzewski
e4a613f01a Merge pull request #1707 from tboerger/feature/feed-fixes
Always return an empty collection within feed
2016-07-10 13:10:44 -07:00
Thomas Boerger
2cfdf8b294
Always return an empty collection within feed 2016-07-10 21:52:56 +02:00
Brad Rydzewski
06d3799787 Update 0.5 links in README [CI SKIP] 2016-07-10 10:40:01 -07:00
Victor Shih
7188e1d410 Support backslash-escaped slashes in find-and-replace substitution. (#1699) 2016-07-09 10:37:13 -07:00
Brad Rydzewski
324392d3e0 fix form action typo in Gogs logic form 2016-07-09 10:22:05 -07:00
Brad Rydzewski
4d1df2924c replace UI with single page application (#1704) 2016-07-08 15:40:29 -07:00
Brad Rydzewski
59b0200412 Merge pull request #1702 from strk/pgsql-fix
Fix PostgreSQL error on empty repository list
2016-07-06 10:39:57 -07:00
Brad Rydzewski
6bfc7924bb Merge pull request #1703 from strk/resolve_relative_gogs_avatars
Fix resolution of relative avatar urls for Gogs published in subpath
2016-07-06 10:38:29 -07:00
Sandro Santilli
cacfd0c444 Fix resolution of relative avatar urls for Gogs published in subpath
Closes #1701
Includes a new test, and updates expected results for 3 of them (adding
the schema part)
2016-07-06 15:58:31 +02:00
Sandro Santilli
bf65ac03d9 Do not run an SQL query to get info about no repos
Closes #1649
2016-07-06 15:02:36 +02:00
Brad Rydzewski
2d7c7bd860 Merge pull request #1693 from tboerger/feature/secret-list
Integrated initial command to list secrets
2016-06-27 15:24:38 -07:00
Thomas Boerger
41af9c0720
Integrated initial command to list secrets
Since we are not able to list the already set secrets I have added the
required API andpoint and the required sub command to list them.
2016-06-28 00:20:01 +02:00
Brad Rydzewski
a83fc7f939 Merge pull request #1692 from tboerger/feature/fix-archive
Dropped directories from archive
2016-06-27 13:35:00 -07:00
Thomas Boerger
d239b27b40
Dropped directories from archive
Currently the archive gets created including the directories, so the
regular guide to just download and copy the binary doesn't work. With
that change I have dropped the folders from the archive and the Drone
binary gets directly into the toplevel of the archive.
2016-06-27 22:18:36 +02:00
Brad Rydzewski
2530f8723f Merge pull request #1668 from frapposelli/add-secrets-file-option
Add `--secrets-file` option to exec command
2016-06-17 10:05:09 -07:00
Fabio Rapposelli
f9f90af793
Add --secrets-file option to exec command 2016-06-17 12:02:53 +02:00
Brad Rydzewski
30d55a224e Merge pull request #1674 from josmo/stash-security-cleanup
Stash security cleanup
2016-06-16 08:30:09 -07:00
Brad Rydzewski
8a5978699e Merge pull request #1679 from bradrydzewski/master
endpoint to get repository list + latest build
2016-06-14 17:44:16 -07:00
Brad Rydzewski
67ac073164 repo feed for latest build only 2016-06-14 17:34:47 -07:00
Brad Rydzewski
f10d4679ee Merge pull request #1678 from bradrydzewski/master
adds a query parameter to pull active repos vs all repos
2016-06-14 15:26:26 -07:00
Brad Rydzewski
769551cb44 ability to pull full vs partial list 2016-06-14 15:20:17 -07:00
Brad Rydzewski
d656b2a75b add chown command to switch repo owner 2016-06-14 14:05:53 -07:00
Brad Rydzewski
8de93539e3 use correct content-type for logs 2016-06-14 14:01:20 -07:00
Brad Rydzewski
9753d6f64c Merge pull request #1677 from bradrydzewski/master
ability to flush user repo cache
2016-06-14 13:18:13 -07:00
Brad Rydzewski
08a4bf06a5 ability to flush user repo cache 2016-06-14 13:07:05 -07:00
Brad Rydzewski
f723e8f84c Merge pull request #1671 from josmo/netrc-stash-fix
Netrc stash fix
2016-06-13 22:13:24 -07:00
Joachim Hill-Grannec
6d7f1bf295 Getting security to work on the stash. Looks at hooks to see if someone has admin rights. 2016-06-13 22:08:56 -05:00
Joachim Hill-Grannec
a4d28e39a0 Missed an argument 2016-06-13 18:25:31 -05:00
Joachim Hill-Grannec
1152e430c4 Cleaner way to remove the username from the git clone URL 2016-06-13 18:10:16 -05:00
Joachim Hill-Grannec
be1b75fd45 Fix defer location and err check 2016-06-12 22:18:31 -07:00