Commit graph

325 commits

Author SHA1 Message Date
Brad Rydzewski
57188ee4f2 ability to manage tokens 2015-04-13 01:22:51 -07:00
Brad Rydzewski
701626881e ability to create a token 2015-04-12 23:15:28 -07:00
Brad Rydzewski
54e4250df9 ability to limit (or not) the log output 2015-04-12 23:08:55 -07:00
Brad Rydzewski
66990a95b4 initial work on tokens 2015-04-12 22:32:32 -07:00
Brad Rydzewski
0f60073adc session tokens converging with user tokens 2015-04-12 21:35:16 -07:00
Brad Rydzewski
eda3cfbe4b added logging when login or hook fails. helps troubleshoot common issues 2015-04-11 15:46:30 -07:00
Brad Rydzewski
087f92f41f tokens, last build 2015-04-10 22:22:55 -07:00
Brad Rydzewski
950e4f4090 storing user repos index inside users object, for now 2015-04-08 22:18:25 -07:00
Brad Rydzewski
c9edd1a018 source session secret from config file 2015-04-08 16:36:56 -07:00
Brad Rydzewski
89c95f4f00 add token,secret when creating user 2015-04-08 15:54:08 -07:00
Brad Rydzewski
9298f16155 added handlers, rest, angular skeleton 2015-04-08 15:43:59 -07:00
Brad Rydzewski
d9fd23a6df experimental branch. playing around with boltdb 2015-04-07 01:20:55 -07:00
Samuel ROZE
d69494163a Supports to default ANSII styles 2015-03-31 14:55:54 +02:00
Tobias Haar
c65c0297b3 fixed typo in log statement 2015-03-20 09:47:24 +00:00
Blake Mesdag
532796a532 Sync logging should use repo.Owner not user.Login 2015-03-18 13:52:25 -04:00
Daniel Malon
447cf710af Add configurable assets folder
This adds a server-assets-folder configuration which allows overriding the assets bundled to the binary.
2015-02-26 22:22:16 +00:00
Andy Gardner
fbc701f22b Fixing formatting with gofmt 2015-02-26 10:22:06 +02:00
Andy Gardner
9ab07d7cd7 Including repo.role for non admins to allow rebuild button to display 2015-02-25 16:50:47 +02:00
Brad Rydzewski
293d503cad quick patch that lets someone with write access restart a build 2015-02-23 23:43:17 -08:00
Vsevolod Strukchinsky
83e03c1257 Do not request Read permission for public repo
Closes #882
2015-02-21 21:47:40 +05:00
Kirill Zaitsev
8d6a233744 Limit and Offset params for commits 2015-02-13 23:37:21 +03:00
Brad Rydzewski
baecced414 Merge pull request #866 from ulrichSchreiner/delrepo
Delete Repository in Drone DB
2015-02-12 10:53:04 -08:00
Andy Gardner
f64bb1df9b Implementing angular-moment to automatically update dates / durations 2015-02-12 12:18:12 +02:00
Ulrich Schreiner
46251ffa92 remove builtin log package and use standard 2015-02-12 08:41:04 +01:00
Ulrich Schreiner
aeb6895115 change the deactivate endpoint to HTTP-POST 2015-02-11 07:56:22 +01:00
Ulrich Schreiner
6158426511 Merge branch 'master' of github.com:drone/drone into delrepo 2015-02-11 07:24:01 +01:00
Cédric Krier
da2f04480c run go fmt ./... 2015-02-09 19:59:39 +01:00
Cédric Krier
a5218b38a6 Add STS header when TLS 2015-02-09 19:53:52 +01:00
Ulrich Schreiner
21f58ee2fb Merge branch 'master' into delrepo 2015-02-09 07:19:06 +01:00
Brad Rydzewski
66cf15d2d9 fixed rice issue again 2015-02-06 08:40:59 -08:00
Ulrich Schreiner
5f9887a49c Merge branch 'master' into delrepo 2015-02-06 10:30:10 +01:00
Brad Rydzewski
271974e98f fixed go.rice issue 2015-02-05 18:48:16 -08:00
Ulrich Schreiner
ae236a3d4d reworked to have two distinct REST handlers 2015-02-05 15:27:26 +01:00
Ulrich Schreiner
05b6dad81e Merge branch 'master' into delrepo 2015-02-05 14:47:35 +01:00
Ulrich Schreiner
bd8fb51c2a rework to delete the repository from the datastore if there are previous errors from the remote 2015-02-05 13:13:17 +01:00
Brad Rydzewski
64aeeff3ae Merge pull request #856 from Bugagazavr/gitlab-ouath
Refresh only expired tokens
2015-02-04 22:11:14 -08:00
Ulrich Schreiner
347aa24785 remove Printf output and do a real removal of the repository in the datastore 2015-02-04 15:13:23 +01:00
Ulrich Schreiner
0ed7ae7e3f impelement a delete of a repository 2015-02-04 14:42:24 +01:00
Kirill Zaitsev
6ca94970d6 Refresh only expired tokens 2015-02-04 13:18:46 +03:00
Kirill Zaitsev
a354aabbb0 Response as JSON instead plain text 2015-02-01 14:12:32 +03:00
Brad Rydzewski
2f76696226 Merge pull request #857 from andy-g/list_view
Adding a list-view layout
2015-01-29 21:40:18 -08:00
epipho
717bef75dd Adding test for get build number. Moved build number env build injection 2015-01-28 23:39:09 -05:00
epipho
5f8b026d14 All builds now have a per-repository monotonically increasing build number accessible via DRONE_BUILD_NUMBER
and CI_BUILD_NUMBER env variables.
2015-01-28 21:13:22 -05:00
Andy Gardner
5ea14a73af Adding a list-view layout 2015-01-28 14:15:20 +02:00
Brad Rydzewski
350d056d34 Merge pull request #832 from andy-g/live_commit_update
Make live updates to the commits (repo controller) without needing to reload
2015-01-26 22:40:46 -08:00
Kirill Zaitsev
d225181a0f Refresh tokens before any requests to remote 2015-01-27 02:33:27 +03:00
Kirill Zaitsev
f47ab27702 Gitlab oauth login 2015-01-23 22:28:24 +03:00
Andy Gardner
8f93561f04 Merge branch 'master' into live_commit_update 2015-01-23 12:31:12 +02:00
Andy Gardner
77e059ae98 Exclude Pull Requests from the branches.
Currently they are included because the AngularJS "filter" filter defaults to a substring match rather than a strict equality comparison, so filtering by '' includes everything.

https://docs.angularjs.org/api/ng/filter/filter
2015-01-22 11:33:10 +02:00
Andy Gardner
3e1b3c5871 Only live update for existing builds
The build message will only be displayed for new builds as the new item will not be auto updated, if the build has been auto-updated no build message will be displayed.
2015-01-22 10:53:10 +02:00