Commit graph

71 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
166db21812 core: run ruff format 2025-01-13 17:47:37 +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
e898385b32 core: revamp of automation/scheduler/artifacts EE functionality 2023-08-16 15:57:08 +02:00
RhodeCode Admin
105db598e9 events: added more validation of repo type events 2023-08-03 20:52:10 +02: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
RhodeCode Admin
c474577dd0 events: reduce usage of threadglobals in global imports for gevent 2023-07-18 11:28:33 +02:00
Milka Kuzminski
08e06718cd events: added new fts build event 2020-11-30 12:29:10 +01:00
Marcin Kuzminski
8627996783 issue-trackers: implemented more sophisticated ticket data extraction based on advanced regex module, and special
look-behind regex. This is a recommended ticket extraction from Atlassian itself (for Jira) and we also
implemented it for Redmine, or tickets

- bonus: report errors on patterns in preview window
2020-09-30 10:53:17 +02:00
Marcin Kuzminski
8c6f923e3f sidebar: expose status indicator for general comments which changed review status. 2020-09-27 19:33:46 +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
Daniel Dourvaris
466826a84a hooks: added new hooks for comments on pull requests and commits.
- allows writing custom actions on top of comments
- new rcextension hooks
- organized and renamed some hooks
- new helpers for rcextensions
- fixes #5583
2020-04-15 18:00:59 +02:00
Marcin Kuzminski
efc39f31eb events: trigger 'review_status_change' when reviewers are updated.
- small code refactoring
- extended commenting event with comment
- extended review_status_change event with new status
2019-01-18 13:16:34 +01:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
4719d0ff87 code: unified coverage notes to # pragma: no cover 2018-12-07 13:34:28 +01:00
Daniel Dourvaris
21e7eef112 vcs: don't use deprecated get_changeset[s] methods. 2018-10-03 16:18:06 +02:00
Marcin Kuzminski
9033601562 logging: use lazy parameter evaluation in log calls. 2018-09-13 17:41:35 +02:00
Marcin Kuzminski
ecff3dbaed security: update lastactivity when on audit logs.
- The previous update on each call was to expensive and created lot of DB locks in high traffic env
2018-07-31 22:52:44 +02: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
38cd92a8c0 events: cleanup code, pep8, better logging. 2018-07-31 12:13:04 +02:00
Marcin Kuzminski
ad4963f1d3 events: add event to catch permission changed so we can flush affected users permission caches 2018-07-09 13:01:42 +02:00
Marcin Kuzminski
fe14747d7b events: improve the error message on missing event commits 2018-02-28 12:29:08 +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
0fdbc4a78f events: expose shadow repo build url. 2018-02-15 23:24:23 +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
710b3c10a6 events: expose refs data in commits event serialization data. 2017-11-09 19:49:47 +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
47f9f32ad9 events: expose permalink urls for different set of object.
- permalink url should provide a non-changeable url that can be used in
external sources with guarantee of beeing always valid.
2017-06-08 16:11:33 +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
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
4392d7803f slack: updated slack integration to use the attachements for nicer formatting. 2017-02-24 14:24:19 +01: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
5117356811 events: fixed missing construcors on user based events. 2017-02-13 16:26:08 +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
b52808ca95 comments: renamed ChangesetCommentsModel to CommentsModel to reflect what it actually does.
It's not limited to Changesets/Commits.
2017-01-09 17:52:00 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Marcin Kuzminski
9e6713219c repo-groups: implemented default personal repo groups logic.
- fixes #4003
- adds new settings to automatically create personal repo groups for users on API cal, add user form, registration
- it's possible to create a pattern based repo group for example /u/{username}
2016-11-07 15:27:36 +01:00