Commit graph

31 commits

Author SHA1 Message Date
Andrii V
5d287f4392 fix: only pass necessary user info to PR events 2025-03-28 18:08:33 +01:00
Andrii V
773cf77091 fix: fix missing else condition to populate user info for non-repo events 2025-03-27 18:33:11 +01:00
RhodeCode Admin
104671c5e7 feat(events): added context into events so we can track additional context of calling it 2024-11-14 20:15:11 +01:00
RhodeCode Admin
82f0f8d214 core: updated copyright to 2024 2024-11-12 16:39:07 +01:00
RhodeCode Admin
684e1aaeeb fix(imports): fixed circular import problem 2024-03-11 15:08:11 +01:00
RhodeCode Admin
e0b1f9c055 fix(events): fixed celery based events where it was missing request object 2024-03-11 14:55:48 +01:00
RhodeCode Admin
d59ca21bfc integrations: restructure code and added better coverage. 2023-08-03 20:51:50 +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
Milka Kuzminski
08e06718cd events: added new fts build event 2020-11-30 12:29:10 +01: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 Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
988ae152de events: use a distinction between RhodeCodeEvent which is a base class and it used by all events, and
the events that are handled in addition by integration framework.
2018-07-31 12:29:04 +02:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
2656338a0d events: ported pylons part to pyramid.
- fix lack of request context in VCS type events
  we now use a dummy request but it's sufficient for routes generation
- cleanup and re-organized some code
- removed all pylons stuff from the events code
2017-07-26 12:41:14 +02:00
Marcin Kuzminski
7e11e618ca events: re-organizate events handling.
- pass in request from event to url functions to skip request lookup
- added some logging
- prepared for pyramid migration
2017-06-08 21:37:34 +02:00
Marcin Kuzminski
71fee00277 home: moved home and repo group views into pyramid.
- fixed lots of tests related to those changes
- now main and subrepo group views are handled by pyramid.
2017-06-05 15:16:04 +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
dae4affd34 events: fix wrongly returned author data. 2017-02-24 13:23:27 +01:00
Marcin Kuzminski
8ceda76718 auth: refactor code and simplified instructions.
- added new rfc selector
- cleanup imports
2017-02-21 18:05:29 +01:00
Marcin Kuzminski
dc8777ebe2 events: make the System URL extraction safer.
Prevents any possible errors inside events.
2017-02-13 17:08:28 +01:00
Marcin Kuzminski
be8db660b1 api-events: fix a case events were called from API and we couldn't fetch registered user.
- Fixes #5210
2017-02-13 13:04:48 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Marcin Kuzminski
5db7a362da events: expose server_url for repo events. 2016-08-12 03:33:25 +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
Daniel Dourvaris
c1b109c7a0 events: fix bug, 'url' was not in dict 2016-07-07 05:35:54 +03:00
Daniel Dourvaris
04044ef919 events: add comment on SYSTEM_USER 2016-07-07 04:34:43 +03:00
Daniel Dourvaris
d450931752 events: remove attribute from schema, redundant 2016-07-07 04:32:43 +03:00
Daniel Dourvaris
597b9b24d7 events: fix bugs with serialization of repo/pr events and add tests for those cases 2016-07-07 04:31:17 +03:00
Daniel Dourvaris
23d7a947f5 events: add serialization .to_dict() to events based on marshmallow 2016-07-06 12:21:03 +03:00