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
Daniel Dourvaris
aa8b5019b1
events: use branch from previous commit for repo push event commits
...
data so that grouping works, fixes #4233
2016-09-19 17:07:37 +03:00
Daniel Dourvaris
ff8a75d42e
events: fix bug with _commits_as_dict which was returning only
...
even commits
2016-09-14 23:03:34 +03:00
Daniel Dourvaris
b6c110dc52
events: send pushed commit ids in order
2016-08-17 20:16:09 +03:00
Marcin Kuzminski
5db7a362da
events: expose server_url for repo events.
2016-08-12 03:33:25 +02:00
Martin Bornhold
86805b6f78
svn: Remove print statement and add __name__ to logger.
2016-07-28 09:54:35 +02:00
Martin Bornhold
6b8ebd59d9
events: Implement the as_dict method for repository group events.
2016-07-28 09:47:44 +02:00
Martin Bornhold
f2751b086f
events: Add events for repository groups.
...
Events added:
- RepoGroupEvent (base class)
- RepoGroupCreateEvent
- RepoGroupUpdateEvent
- RepoGroupDeleteEvent
2016-07-28 11:29:02 +02:00
Daniel Dourvaris
e0a4b67830
events: change target to source repo for pull request events
...
to make sure commits can be found - fixes #4135 , also made
_get_commits work on multiple repos
2016-07-28 23:10:47 +03:00
Martin Bornhold
595e5fe715
logging: Use __name__ when requesting a logger
2016-07-27 17:10:01 +02:00
Daniel Dourvaris
eb90ed1dde
events: add repo_type to repo events
2016-07-13 19:23:31 +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
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