RhodeCode Admin
6e5314f631
tests: refactor code to use a single test url generator
2023-10-04 19:36:19 +02: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
Milka Kuzminski
eb5ec20934
application: not use config.scan(), and replace all @add_view decorator into a explicit add_view call for faster app start.
2020-12-08 17:04:39 +01: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
Daniel Dourvaris
dbac62326d
webhelpers: replaced paginate library with custom lib
2019-11-21 20:37:17 +01:00
Daniel Dourvaris
4057ada739
webhelpers: port most of the items from webhelpers to webhelpers2
...
- webhelpers are deprecated and py2 only
2019-11-21 15:48:12 +01:00
Marcin Kuzminski
387e40f55b
menu: expose artifacts count into menu
2019-10-09 14:10:22 +02:00
Marcin Kuzminski
cc0ae374fd
integrations: fixed view for integrations on repo.
2019-06-07 11:08:17 +02:00
Marcin Kuzminski
8bfe7506a0
integrations: fixed missing template variable for fork reference checks.
2019-04-02 17:17:11 +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
f33e0ddc9f
core: change from homebrew plugin system into pyramid machinery.
...
- it's faster to load
- homebrew system was never used as intended
- it's cleaner CE/EE code this way
2018-11-25 11:56:29 +01:00
Marcin Kuzminski
fcc18a6200
application: re-organize imports for pyramid to prepare code for speedup optimization.
2018-11-24 17:52:21 +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
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