Brad Rydzewski
64aeeff3ae
Merge pull request #856 from Bugagazavr/gitlab-ouath
...
Refresh only expired tokens
2015-02-04 22:11:14 -08:00
Kirill Zaitsev
6ca94970d6
Refresh only expired tokens
2015-02-04 13:18:46 +03: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
Brad Rydzewski
d0b722cc8b
Insert and Update Users instead of generic Save function. Check ID != 0
2015-01-13 21:57:02 -08:00
Brad Rydzewski
baaaa4069e
Merge remote-tracking branch 'upstream/master'
2014-12-30 10:58:59 -08:00
Brad Rydzewski
485ddb39a5
Merge remote-tracking branch 'upstream/master'
2014-12-30 10:35:50 -08:00
Michael Nutt
0106a5e21d
no longer need to limit Prior commit to those that have status Success or Failure
2014-12-30 13:29:38 -05:00
Michael Nutt
b94280c15c
Change from notification after_success
and after_failure
to change
...
Also removes the extra db field; instead, just send Prior as part of the Request.
This reverts commit e8b993e7da
.
2014-12-30 13:25:14 -05:00
Michael Nutt
e8b993e7da
Add support for after_success and after_failure to email notifications
...
This allows you to restrict email notifications to only be sent after the build changes from success to failure or failure to success. It errs on the side of sending the notification; if the build is in another state (hung, for instance) or there was no previous build on the branch the email will also be sent.
Since the notify plugin shouldn't really have any responsibility for querying the database to find the previous commit's status, we store it on the commit when we save it.
2014-12-30 11:37:57 -05:00
Brad Rydzewski
61282888e1
improve permission logic
2014-11-21 22:41:32 -08:00
Nils Werner
fdfceedb7d
Removed commit List User limit
2014-11-16 14:34:54 +01:00
Nils Werner
ceae6d5bfe
Use join instead of subquery
2014-11-15 16:10:44 +01:00
Scott Ferguson
44518e2015
Wall feed
2014-11-11 10:02:18 -06:00
Scott Ferguson
be9e65ba68
Show pending/started builds in /api/user/feed
2014-10-30 08:35:19 -05:00
Scott Ferguson
dddb5af87d
Revert "Add verbose user repo feed"
...
This reverts commit cbfe6228ee
.
2014-10-30 08:26:49 -05:00
Scott Ferguson
cbfe6228ee
Add verbose user repo feed
2014-10-29 13:44:16 -05:00
Brad Rydzewski
cbd5ef2874
altered mysql code to use mediumblob
instead of blob
to avoid 64k limit
2014-10-26 10:17:17 -07:00
Brad Rydzewski
f6cbb7244b
forgot to remove setup.go
file in migration package
2014-10-22 00:26:52 -07:00
Brad Rydzewski
7009778176
added token to post-commit hooks
2014-10-22 00:13:47 -07:00
Brad Rydzewski
a55f0f8432
set created & updated dates in database
2014-10-14 01:49:10 -07:00
Brad Rydzewski
ecdd001811
prevent PRs from being displayed in build badge
2014-10-09 19:03:11 -07:00
Brad Rydzewski
0f36aaa463
fixed permission insert to use upsert for improved sync
2014-10-05 19:57:33 -07:00
Brad Rydzewski
e725abe204
hooked up commit feed for user dashboard
2014-10-01 11:29:23 -07:00
Brad Rydzewski
6b721f5b98
added unit tests for postgres and mysql
2014-09-30 23:30:42 -07:00
Brad Rydzewski
565277bd00
more work on worker integration
2014-09-28 20:21:02 -07:00
Brad Rydzewski
ce052eaaf4
refactored migrate into package one level up
2014-09-28 20:20:35 -07:00
Brad Rydzewski
21f9aec808
added new handlers and workers
2014-09-28 18:36:24 -07:00
Brad Rydzewski
8993a71df2
added perm logic
2014-09-27 19:11:28 -07:00
Brad Rydzewski
35073c4776
moved sql-based Blobstore to the database package
2014-09-27 13:32:54 -07:00
Brad Rydzewski
d9db7b9a8d
added commit and perm unit tests
2014-09-27 13:09:55 -07:00
Brad Rydzewski
ae95232419
ability to drive database test connections from env variables
2014-09-27 12:00:58 -07:00
Brad Rydzewski
d36f82784c
added tests for repositories
2014-09-26 00:39:07 -07:00
Brad Rydzewski
54caa88281
moved from datasql to datastore, added unit test for users
2014-09-26 00:10:48 -07:00
Brad Rydzewski
557c730b52
refactoring to use datastore
2014-09-25 01:07:40 -07:00