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
Marcin Kuzminski
fcc027c282
license: updated copyright year to 2017
2017-01-02 09:30:39 +01:00
Marcin Kuzminski
39879f0dff
webhooks: added variables into the call URL. Fixes #4211
2016-10-06 23:20:55 +02:00
Marcin Kuzminski
0a0255a92d
integrations: sync slack/hipchat formatting
2016-10-05 12:55:42 +02:00
Marcin Kuzminski
759562b614
logging: remove bad logging on slack/hipchat.
2016-10-05 12:13:08 +02:00
Daniel Dourvaris
13f8ae56bc
integrations: fix bug with integrations view page not loading
...
when non global admin tries to access it, fixes #4266
2016-10-06 17:59:33 +03:00
Daniel Dourvaris
cee3c740e0
hipchat: escape user entered data to avoid xss/formatting problems
2016-10-06 15:38:49 +03:00
Marcin Kuzminski
f6410691d6
integrations: use consistent formatting of user in slack.
2016-10-04 23:12:00 +02:00
Daniel Dourvaris
3469c46507
integrations: add recursive repo group scope to allow integrations
...
to cascade into all descendant repositories, fixes #4225
2016-09-14 05:38:21 +03:00
Daniel Dourvaris
fb0692ad76
integrations: show branches/commits separately when posting push
...
events to hipchat/slack, fixes #4192
2016-08-31 19:36:31 +03:00
Daniel Dourvaris
83b8750461
integrations: refactor/cleanup + features, fixes #4181
...
* added scopes on integrations, scopes are:
- repo only
- repogroup children only
- root repos only
- global (any repo)
* integrations schemas now have separate section for the
settings (eg. slack) and options (eg. scope/enabled)
* added descriptions to integration types
* added icons to integration types
* added 'create new' integration page
* added scope of integration to integrations list
* added breadcrumbs for each repo/repogroup/global integrations pages
* added sorting to integrations list
* added pagination to integrations list
* added icons to integrations list
* added type filter to integrations list
* added message to integrations list if none we found
* added extra permissions check on integrations views
* db migration from 56 => 57 - adds child_repos_only field
* added tests for integrations triggered on events
* added tests for integrations schemas
* added tests for integrations views for repo/repogroup/admin
2016-08-26 11:19:55 +03:00
Daniel Dourvaris
2e3256ff49
integrations: add repo group integrations, fixes #4175
2016-08-15 13:24:16 +03:00
Marcin Kuzminski
f0ce426afc
integrations: update emails integration with nicer emails
2016-08-12 02:59:29 +02:00
Marcin Kuzminski
0b55b888bb
integrations: fix logger name
2016-08-12 01:04:17 +02:00
Daniel Dourvaris
79206c1582
integrations: add email integration, fixes #4159
2016-08-11 13:16:29 +03:00
Daniel Dourvaris
53a3fea761
integrations: add hipchat integration
2016-08-04 03:28:37 +03:00
Daniel Dourvaris
9dd0674b39
forms: add deform for integration settings forms
2016-07-27 11:39:23 +03:00
Martin Bornhold
595e5fe715
logging: Use __name__ when requesting a logger
2016-07-27 17:10:01 +02:00
Marcin Kuzminski
169a7c5cf1
integrations-db: don't use default contructor to be consisten with other modules
...
usage.
2016-07-14 11:23:46 +02:00
Daniel Dourvaris
efc7052344
integrations: add webhook integration
2016-07-13 18:12:35 +02:00
Daniel Dourvaris
88e83cf796
events: add an event for pull request comments with review status
2016-07-13 10:39:54 +02:00
Daniel Dourvaris
439422d073
events: add logging for all events triggered
2016-07-12 11:37:51 +02:00
Daniel Dourvaris
1f68279c61
slack: make selected events default to off
2016-07-12 09:55:38 +02:00
Marcin Kuzminski
d7e94869d6
integrations: fixed flash message queue.
2016-07-12 12:19:06 +02:00
Daniel Dourvaris
bfd7f77329
slack: fix wrong named function
2016-07-11 17:28:24 +02:00
Marcin Kuzminski
1290cf5e89
slack: fix log typo
2016-07-11 17:02:39 +02:00
Daniel Dourvaris
9ed89b0731
slack: add log messages for successful events
2016-07-11 16:50:23 +02:00
Daniel Dourvaris
7ff09cda95
integrations: add integration support
...
* added db migration for integration table, version 55
* added integrations views/templates/models
* added slack integration
* added h.url.current() support for pyramid only contexts
* added issues extractor for commit messages
* renamed repo-deleted/repo-created to repo-delete/repo-create
* removed marshmallow
* added serialization for events to static dicts of data
* added lazy_ugettext for translation of start time string
2016-07-10 06:43:20 +03:00