Marcin Kuzminski
1cb99da048
webhook: handle ${commit_id} variable independent from ${branch}.
...
- in some cases we want non-branched individual commits to be posted.
2018-10-02 21:35:05 +02:00
Daniel Dourvaris
3801dc220e
pyramid: fixed some deprecated calls.
2018-10-01 10:16:57 +02:00
Marcin Kuzminski
9033601562
logging: use lazy parameter evaluation in log calls.
2018-09-13 17:41:35 +02:00
Marcin Kuzminski
5f21c467e2
exception-tracker: store event sending exception for easier event fail debugging.
2018-09-06 19:27:53 +02:00
Marcin Kuzminski
f51b02a7e4
requests: added a default timeout for operation calling the endpoint url.
...
Otherwise we can have a hanging calls for very long time.
2018-08-10 15:19:36 +02:00
Daniel Dourvaris
b64e9a326f
integrations: added branch_head into URL variables. This allow triggering more explicit
...
build on webhooks/jenkins. branch_head is the last commit of pushed branch so the build
system doesn't have to figure it out itself.
- in often updated projects without this explicit specified it could happen that
the pushed braanch could change when CI systems fetches the code.
2018-07-16 14:14:11 +02:00
Marcin Kuzminski
953db86f19
hipchat: added a case for SVN commits to trunk
2018-02-28 14:30:35 +01:00
Marcin Kuzminski
2192c94acb
slack: added a case for SVN commits to trunk
2018-02-28 13:39:12 +01:00
Daniel Dourvaris
f98e2cb96f
integrations: added safe renderers with detailed traceback information.
2018-02-28 13:38:40 +01:00
Daniel Dourvaris
d2d10452c8
integrations: show no commits for email integration
2018-02-28 12:31:55 +01:00
Daniel Dourvaris
130b6c6c5d
integrations: use a common logic for parsing the commits branches inside the integrations that require it.
...
There was 3 duplicated parts on each integration which now uses a small class with helper to unify the code.
2018-02-28 12:31:32 +01:00
Marcin Kuzminski
407c0ea407
pull-request-events: expose pr title and uid for commits inside.
...
- used mostly for jenkins integration functions
2018-02-16 19:22:21 +01:00
Marcin Kuzminski
113e02f1d9
webhook: abstract webhook handler to base for easier re-usage.
2018-02-16 13:05:42 +01:00
Marcin Kuzminski
cba0f3b144
webhook: use textarea and format url vars better for webhook integration.
...
- also share the url vars with CI integrations
- allow using hidden help on codemirror widget
2018-02-16 12:13:37 +01:00
Marcin Kuzminski
24d2eece3a
integrations: added explanation into webhook based vars
...
- expose event names into the webhook calls.
2018-02-16 11:10:17 +01:00
Marcin Kuzminski
0fdbc4a78f
events: expose shadow repo build url.
2018-02-15 23:24:23 +01:00
Marcin Kuzminski
55c58a9500
integrations: webhook handle response errors and show response for easier debugging.
2018-02-15 23:23:58 +01:00
Marcin Kuzminski
5fbf01cea3
integrations: expose some common methods for web based calls of integrations.
2018-02-15 22:06:50 +01:00
Marcin Kuzminski
fed3c3c12b
integrations: register dummy jenkins integrations.
2018-02-15 20:21:39 +01:00
Marcin Kuzminski
aa948e38b3
integrations: extract get_auth to common shared code.
2018-02-15 20:21:24 +01:00
Marcin Kuzminski
a60aed108e
integrations: use classmethod for icon extraction for easier code readability.
2018-02-16 01:22:52 +01:00
Marcin Kuzminski
a73ab53409
webhook: fixed extra variable replacement.
2018-02-06 16:35:46 +01:00
Marcin Kuzminski
00b45c1fa7
release: update copyright year to 2018
2018-01-19 17:13:16 +01:00
Marcin Kuzminski
257cf596e2
integrations: reduce logging on override integration from warn to debug.
2018-01-16 12:41:21 +01:00
Marcin Kuzminski
87fecd1bf7
integrations: parse pushed tags, and lightweight tags for git.
...
- now aggregated as 'tags' key
- handles the case for email/webhook integrations
2017-12-03 22:37:36 +01:00
Marcin Kuzminski
b816475595
integrations: email, fix plural/singular case and no pushed branches case.
...
- for git there could be a situation when we push to no branch.
2017-12-03 22:36:02 +01:00
Marcin Kuzminski
674be24514
integrations: use orderedDict in all integrations for settings.
2017-12-03 22:35:29 +01:00
Marcin Kuzminski
a924ecfd60
webhook: execute via celery for async.
2017-11-30 14:39:26 +01:00
Marcin Kuzminski
79f00ec46a
flash: use consistent use of h.flash across the application.
2017-11-16 20:35:50 +01:00
Marcin Kuzminski
6bbab12fcc
celery: celery 4.X support. Fixes #4169
...
- update tasks
- enabled celerybeat to function
- check and cleanup code for 4.X
2017-11-16 19:26:53 +01:00
Marcin Kuzminski
5f9ae2ae11
pylons: remove pylons as dependency
...
- dependencies: bumped:
-setuptools-scm==1.15.6
-celery==4.1.0
-kombu==4.1.0
-pytz==2017.3
-Routes==2.4.1
Removed all pylons components. Refactored the code to use only pyramid
parts
2017-11-15 13:42:54 +01:00
Marcin Kuzminski
40e74de7a2
slack: expose the FULL message instead of title.
...
Because slack uses it's own trim, we should avoid sending trimmed data and let users see the whole set.
2017-11-09 19:03:12 +01:00
Marcin Kuzminski
69a865a7a3
repo-groups: moved to pyramid
2017-10-17 14:06:51 +02:00
Marcin Kuzminski
4718f3cec9
integrations: expose EE integrations as dummy objects to show
...
what EE edition have.
2017-09-28 18:04:53 +02:00
Marcin Kuzminski
d35f866e04
webhook: add possibility to specify username and password during a call.
2017-09-28 18:22:57 +02:00
Marcin Kuzminski
929184f386
webhook: improve spelling and help text.
2017-09-28 14:24:43 +02:00
Marcin Kuzminski
d42acbacb7
integrations: webhook, allow to set a custom header. Fixes #5384
2017-09-12 00:44:23 +02:00
Marcin Kuzminski
3821db3f37
apps: removed deprecated usage of c.repo_info
2017-09-08 13:33:17 +02:00
Marcin Kuzminski
17359c262c
integrations: rewrote usage of pylons components inside integrations.
...
- added better auth decorators as used in other parts of the app
- fixed tests
- refactored the code to match other parts better (repo_route/repo_group_route)
2017-08-01 23:11:49 +02:00
Marcin Kuzminski
2c11516c9b
routing: optionally use explicit db object on route.
...
- makes it harder to integrate plugins
- makes it consistent on other places
- allows some plugins to use just the names
2017-08-01 22:59:15 +02:00
Marcin Kuzminski
ab16b87482
http: ported old depracated retry format for http client.
2017-07-26 12:39:31 +02:00
Marcin Kuzminski
55148c3e6c
pyramid: moved add_route_requirements into pyramid base app.
...
- use it integrations, and simplify the code.
2017-07-17 23:08:07 +02:00
Marcin Kuzminski
2f81e258a7
webhook: enable support of extra repo variables as replacement in template url.
2017-05-29 23:17:17 +02:00
Marcin Kuzminski
3262bcc634
integrations: expose actor user_id, and username in webhook integration templates args.
...
ref #5287
2017-04-28 20:05:15 +02:00
Marcin Kuzminski
ed0174e7a4
admin: moved admin pyramid into apps.
2017-03-02 20:23:26 +01:00
Marcin Kuzminski
bab90b0598
slack-integration: added number of commits inside the message.
2017-03-02 12:05:09 +01:00
Marcin Kuzminski
4392d7803f
slack: updated slack integration to use the attachements for nicer formatting.
2017-02-24 14:24:19 +01:00
Marcin Kuzminski
adca0da138
integrations: fix re-submit of form on repo integrations.
2017-02-01 12:48:49 +01:00
Marcin Kuzminski
664c4da7a6
webhook: add possibility to use POST or GET methods for calling webhooks.
2017-02-01 12:07:21 +01:00
Marcin Kuzminski
89e2586781
templating: use .mako as extensions for template files.
2017-01-04 22:13:57 +01:00