Show More
@@ -4,7 +4,8 b'' | |||
|
4 | 4 | Changelog |
|
5 | 5 | ========= |
|
6 | 6 | |
|
7 | 1.4.0 (**2012-XX-XX**) | |
|
7 | ||
|
8 | 1.4.1 (**2012-XX-XX**) | |
|
8 | 9 | ---------------------- |
|
9 | 10 | |
|
10 | 11 | :status: in-progress |
@@ -12,6 +13,21 b' 1.4.0 (**2012-XX-XX**)' | |||
|
12 | 13 | |
|
13 | 14 | news |
|
14 | 15 | ++++ |
|
16 | ||
|
17 | - always put a comment about code-review status change even if user send | |
|
18 | empty data | |
|
19 | ||
|
20 | fixes | |
|
21 | +++++ | |
|
22 | ||
|
23 | - fixed migrations of permissions that can lead to inconsistency issue | |
|
24 | ||
|
25 | ||
|
26 | 1.4.0 (**2012-09-03**) | |
|
27 | ---------------------- | |
|
28 | ||
|
29 | news | |
|
30 | ++++ | |
|
15 | 31 | |
|
16 | 32 | - new codereview system |
|
17 | 33 | - email map, allowing users to have multiple email addresses mapped into |
@@ -376,9 +376,13 b' class ChangesetController(BaseRepoContro' | |||
|
376 | 376 | def comment(self, repo_name, revision): |
|
377 | 377 | status = request.POST.get('changeset_status') |
|
378 | 378 | change_status = request.POST.get('change_changeset_status') |
|
379 | text = request.POST.get('text') | |
|
380 | if status and change_status: | |
|
381 | text = text or (_('Status change -> %s') | |
|
382 | % ChangesetStatus.get_status_lbl(status)) | |
|
379 | 383 | |
|
380 | 384 | comm = ChangesetCommentsModel().create( |
|
381 |
text= |
|
|
385 | text=text, | |
|
382 | 386 | repo=c.rhodecode_db_repo.repo_id, |
|
383 | 387 | user=c.rhodecode_user.user_id, |
|
384 | 388 | revision=revision, |
@@ -339,9 +339,12 b' class PullrequestsController(BaseRepoCon' | |||
|
339 | 339 | |
|
340 | 340 | status = request.POST.get('changeset_status') |
|
341 | 341 | change_status = request.POST.get('change_changeset_status') |
|
342 | ||
|
342 | text = request.POST.get('text') | |
|
343 | if status and change_status: | |
|
344 | text = text or (_('Status change -> %s') | |
|
345 | % ChangesetStatus.get_status_lbl(status)) | |
|
343 | 346 | comm = ChangesetCommentsModel().create( |
|
344 |
text= |
|
|
347 | text=text, | |
|
345 | 348 | repo=c.rhodecode_db_repo.repo_id, |
|
346 | 349 | user=c.rhodecode_user.user_id, |
|
347 | 350 | pull_request=pull_request_id, |
General Comments 0
You need to be logged in to leave comments.
Login now