RhodeCode Admin
82f0f8d214
core: updated copyright to 2024
2024-11-12 16:39:07 +01:00
RhodeCode Admin
a172362b8a
slack: fixed celery serialization breaking slack_data dataclass
2023-09-05 11:52:45 +02:00
RhodeCode Admin
86c35d3d9b
typing: added typehint
2023-08-21 09:55:07 +02:00
RhodeCode Admin
d59ca21bfc
integrations: restructure code and added better coverage.
2023-08-03 20:51:50 +02:00
RhodeCode Admin
f935770cbf
integrations: remove hipchat as it's a deprecated product no longer working
2023-08-03 20:49:36 +02:00
RhodeCode Admin
4bbb30fa06
modernize: updates for python3
2023-07-18 14:45:20 +02:00
RhodeCode Admin
42301154fc
copyrights: updated for 2023
2023-07-18 11:57:27 +02:00
RhodeCode Admin
1f5a8fe199
integrations: fixed code for python3
2023-07-18 11:06:55 +02:00
RhodeCode Admin
c2374e21e3
integrations: remoed utf8 markers
2023-07-18 11:06:37 +02:00
RhodeCode Admin
c22758550a
python3: fix urllib usage
2023-03-06 22:00:27 +01:00
RhodeCode Admin
975f760526
python3: removed from future imports
2023-03-06 21:51:17 +01:00
RhodeCode Admin
137f5001fb
celery: update how reqquest object is passed arround.
...
- fixed hooks callback to actually use web based request passed to thread
- rely on celery conf mechanism to pass in the request always in the same manner
2023-01-31 23:33:33 +01:00
RhodeCode Admin
9f13849af9
api: added proper full permission flush on API calls when creating repos and repo groups.
...
- This allows a full flush and multiple calls made via API
2021-05-24 23:47:29 +02:00
Marcin Kuzminski
74e96ea4b4
comments: added new events for comment editing to handle them in integrations.
2020-07-13 11:18:28 +02:00
Marcin Kuzminski
324544678c
events: added support for pull-request-comment and commit-comment events.
...
- allows chopts like actions on commits
- re organized events and code cleanups
2020-04-17 22:08:42 +02:00
Marcin Kuzminski
fe96e16646
code: update copyrights to 2020
2020-04-16 00:34:52 +02:00
Marcin Lulek
9c532486a2
webhook: quote URL variables to prevent url errors with special chars like # in pr title.
2019-02-14 00:21:50 +01:00
Marcin Kuzminski
fbf51b7e76
events: updated logging for ignored events.
2019-01-18 13:32:26 +01:00
Marcin Kuzminski
a36dd33b3c
webhook: updated docs/examples.
2019-01-08 18:54:20 +01:00
Marcin Kuzminski
bd1a9c8201
docs: updated copyrights to 2019
2019-01-02 18:13:27 +01:00
Marcin Kuzminski
838d11c6cb
integrations: allow PUT method for webhook integration.
2018-12-19 15:13:35 +01:00
Marcin Kuzminski
6ff0f9072b
integrations: organized templates a bit more.
2018-11-09 13:28:45 +01:00
Marcin Kuzminski
eba80cd8dd
integrations: use all caps template names.
2018-10-10 09:36:18 +02:00
Marcin Kuzminski
1f61d09d20
integrations: implement retry to HTTP[S] calls for integrations.
2018-10-02 21:38:43 +02:00
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
Marcin Kuzminski
9033601562
logging: use lazy parameter evaluation in log calls.
2018-09-13 17:41:35 +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
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
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
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
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