Changeset - bf3c976d02ec
[Not reviewed]
beta
0 3 0
Marcin Kuzminski - 13 years ago 2012-09-04 00:34:39
marcin@python-works.com
always post text about status changes of code-review
3 files changed with 27 insertions and 4 deletions:
0 comments (0 inline, 0 general)
docs/changelog.rst
Show inline comments
 
@@ -4,7 +4,8 @@
 
Changelog
 
=========
 

	
 
1.4.0 (**2012-XX-XX**)
 

	
 
1.4.1 (**2012-XX-XX**)
 
----------------------
 

	
 
:status: in-progress
 
@@ -12,6 +13,21 @@ Changelog
 

	
 
news
 
++++
 

	
 
- always put a comment about code-review status change even if user send
 
  empty data 
 

	
 
fixes
 
+++++
 

	
 
- fixed migrations of permissions that can lead to inconsistency issue
 

	
 

	
 
1.4.0 (**2012-09-03**)
 
----------------------
 

	
 
news
 
++++
 
 
 
- new codereview system
 
- email map, allowing users to have multiple email addresses mapped into
rhodecode/controllers/changeset.py
Show inline comments
 
@@ -376,9 +376,13 @@ class ChangesetController(BaseRepoContro
 
    def comment(self, repo_name, revision):
 
        status = request.POST.get('changeset_status')
 
        change_status = request.POST.get('change_changeset_status')
 
        text = request.POST.get('text')
 
        if status and change_status:
 
            text = text or (_('Status change -> %s')
 
                            % ChangesetStatus.get_status_lbl(status))
 

	
 
        comm = ChangesetCommentsModel().create(
 
            text=request.POST.get('text'),
 
            text=text,
 
            repo=c.rhodecode_db_repo.repo_id,
 
            user=c.rhodecode_user.user_id,
 
            revision=revision,
rhodecode/controllers/pullrequests.py
Show inline comments
 
@@ -339,9 +339,12 @@ class PullrequestsController(BaseRepoCon
 

	
 
        status = request.POST.get('changeset_status')
 
        change_status = request.POST.get('change_changeset_status')
 

	
 
        text = request.POST.get('text')
 
        if status and change_status:
 
            text = text or (_('Status change -> %s')
 
                            % ChangesetStatus.get_status_lbl(status))
 
        comm = ChangesetCommentsModel().create(
 
            text=request.POST.get('text'),
 
            text=text,
 
            repo=c.rhodecode_db_repo.repo_id,
 
            user=c.rhodecode_user.user_id,
 
            pull_request=pull_request_id,
0 comments (0 inline, 0 general)