<!DOCTYPE html>
<html>
<head>
</head>
<body style='font: 12pt Roboto, "DejaVu Sans", Arial; margin-left: 5px; margin-right: 5px;'>
<div id="entry">
<h1 style='font: 12pt Roboto, "DejaVu Sans", Arial; display:block; background: #c0cf88; border-bottom: solid 3px #573; padding: 5px; margin-top: 0px; color: #573;'><a href="https://kallithea-scm.org/repos/kallithea/changeset/481a484b1d69f21eeb8cd8b93c0a7b48e14c2a1c" style="text-decoration: none; font-weight: bold; color: #573;">tests: simplify changeset_status unit tests</a></h1>
<div id="body">
patrickdp committed on 2015-04-25 19:58:28<br />branch: default<br />changeset: <a href="https://kallithea-scm.org/repos/kallithea/changeset/481a484b1d69f21eeb8cd8b93c0a7b48e14c2a1c">481a484b</a><pre>tests: simplify changeset_status unit tests
M kallithea/tests/models/test_changeset_status.py (23 lines added, 31 lines removed)</pre>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
<body style='font: 12pt Roboto, "DejaVu Sans", Arial; margin-left: 5px; margin-right: 5px;'>
<div id="entry">
<h1 style='font: 12pt Roboto, "DejaVu Sans", Arial; display:block; background: #c0cf88; border-bottom: solid 3px #573; padding: 5px; margin-top: 0px; color: #573;'><a href="https://kallithea-scm.org/repos/kallithea/changeset/140f2811fc6fed0a7c158dec6cfe510cb9239853" style="text-decoration: none; font-weight: bold; color: #573;">comments: avoid storing 'No comments' text when changing status When a general comment (with or without status change) is added to a changeset or pull reque...</a></h1>
<div id="body">
patrickdp committed on 2015-04-23 19:44:19<br />branch: default<br />changeset: <a href="https://kallithea-scm.org/repos/kallithea/changeset/140f2811fc6fed0a7c158dec6cfe510cb9239853">140f2811</a><pre>comments: avoid storing 'No comments' text when changing status
When a general comment (with or without status change) is added to a
changeset or pull request, and no text was added, Kallithea automatically
used 'No comments' as text. The stub text is added to the database as if it has
been entered by the user and it can thus not easily be identified as an
automatic comment.
This commit makes following changes:
- allow adding an empty comment to the database when there is a status
change. An empty comment without status change is ignored.
- do not add a stub text to the database, but generate it on demand
- the stub text is shown in italic font to differentiate it from user-entered
text
Currently there is a large amount of duplication between
controllers/changeset.py and controllers/pullrequests.py, which is to be
cleaned up in a later commit.
M kallithea/controllers/changeset.py (1 lines added, 1 lines removed)
M kallithea/controllers/pullrequests.py (1 lines added, 1 lines removed)
M kallithea/model/comment.py (1 lines added, 1 lines removed)
M kallithea/public/css/style.css (4 lines added, 0 lines removed)
M kallithea/templates/changeset/changeset_file_comment.html (6 lines added, 0 lines removed)</pre>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
<body style='font: 12pt Roboto, "DejaVu Sans", Arial; margin-left: 5px; margin-right: 5px;'>
<div id="entry">
<h1 style='font: 12pt Roboto, "DejaVu Sans", Arial; display:block; background: #c0cf88; border-bottom: solid 3px #573; padding: 5px; margin-top: 0px; color: #573;'><a href="https://kallithea-scm.org/repos/kallithea/changeset/3105842da68f0eb22a74b045dca4103ff1cb8e30" style="text-decoration: none; font-weight: bold; color: #573;">changelog: use status label directly from c.statuses.get() output In the changelog template, c.statuses.get() returns a list: [ str(status), status_lbl,...</a></h1>
<div id="body">
patrickdp committed on 2015-04-22 20:09:15<br />branch: default<br />changeset: <a href="https://kallithea-scm.org/repos/kallithea/changeset/3105842da68f0eb22a74b045dca4103ff1cb8e30">3105842d</a><pre>changelog: use status label directly from c.statuses.get() output
In the changelog template, c.statuses.get() returns a list:
[ str(status), status_lbl, pr_id, pr_repo ]
So to obtain the status label, one can directly use the second element,
rather than using a helper function on the first.
M kallithea/templates/changelog/changelog.html (2 lines added, 2 lines removed)</pre>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
<body style='font: 12pt Roboto, "DejaVu Sans", Arial; margin-left: 5px; margin-right: 5px;'>
<div id="entry">
<h1 style='font: 12pt Roboto, "DejaVu Sans", Arial; display:block; background: #c0cf88; border-bottom: solid 3px #573; padding: 5px; margin-top: 0px; color: #573;'><a href="https://kallithea-scm.org/repos/kallithea/changeset/6c631f531a060d9c3c3d4faab09b402c720f1efa" style="text-decoration: none; font-weight: bold; color: #573;">changelog_summary: show changeset status label rather than raw status Instead of showing the changeset status as e.g. under_review, use 'Under Review', like...</a></h1>
<div id="body">
patrickdp committed on 2015-04-22 20:10:11<br />branch: default<br />tag: tip<br />changeset: <a href="https://kallithea-scm.org/repos/kallithea/changeset/6c631f531a060d9c3c3d4faab09b402c720f1efa">6c631f53</a><pre>changelog_summary: show changeset status label rather than raw status
Instead of showing the changeset status as e.g. under_review, use 'Under
Review', like all other similar code.
M kallithea/templates/changelog/changelog_summary_data.html (1 lines added, 1 lines removed)</pre>
</div>
</div>
</div>
</body>
</html>