[WIP] Add the unreviewed section in my dashboard
Review Request #7193 — Created April 11, 2015 and discarded
Done some front-end work to add the two section to the dashboard, so far functionless, only on the web page.
Description | From | Last Updated |
---|---|---|
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 71 W291 trailing whitespace |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
Col: 71 W291 trailing whitespace |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
Col: 39 E231 missing whitespace after ',' |
reviewbot | |
Col: 39 E231 missing whitespace after ',' |
reviewbot | |
Col: 5 E265 block comment should start with '# ' |
reviewbot | |
Col: 80 E501 line too long (89 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (88 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (82 > 79 characters) |
reviewbot | |
Col: 39 E231 missing whitespace after ',' |
reviewbot | |
Col: 80 E501 line too long (88 > 79 characters) |
reviewbot | |
Col: 39 E231 missing whitespace after ',' |
reviewbot | |
Col: 80 E501 line too long (88 > 79 characters) |
reviewbot | |
Col: 52 E711 comparison to None should be 'if cond is None:' |
reviewbot | |
Col: 56 E711 comparison to None should be 'if cond is None:' |
reviewbot | |
Col: 56 E711 comparison to None should be 'if cond is not None:' |
reviewbot | |
Col: 80 E501 line too long (87 > 79 characters) |
reviewbot | |
Use single quotes for strings. |
brennie | |
three links? Also this should be formatted as "All", "Open", and "Unreviewed" |
brennie | |
Blank line between these. |
brennie | |
Blank line between these. |
brennie | |
Blank line between these. |
brennie | |
Undo this change. |
brennie | |
Undo this change. |
brennie | |
This doesn't handle the case where status is S or D so this may cause a regression. |
brennie | |
Undo this change. |
brennie | |
Left over from debugging? |
brennie | |
Undo this change. |
brennie | |
Undo this change. |
brennie | |
I don't feel like these are states for a review request. Wouldn't a review request be unreviewed and incoming for … |
brennie | |
Undo this change. |
brennie | |
Undo this change. |
brennie | |
Blank line between two blocks. |
brennie | |
No blank line here. |
brennie | |
Can you format this like so: elif (self.last_review_request_activity_timetamp is not None and old_reviews is None): site_profile.decrement_unreviewed_outgoing_request_count() |
brennie | |
Undo this change. |
brennie | |
Col: 29 E127 continuation line over-indented for visual indent |
reviewbot | |
I don't think this filtering is going to work the way you want it to work. We really can't add … |
brennie | |
See my above comment about why this isn't going to work. |
brennie | |
Undo this change. |
brennie | |
Col: 80 E501 line too long (87 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (87 > 79 characters) |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 80 E501 line too long (86 > 79 characters) |
reviewbot | |
Col: 5 E301 expected 1 blank line, found 0 |
reviewbot | |
Col: 33 E231 missing whitespace after ',' |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Col: 1 W293 blank line contains whitespace |
reviewbot | |
Single quotes for these. |
brennie | |
These really aren't needed. We only use things like this for enumerated char fields in the database. |
brennie | |
This should use a named constant. |
brennie | |
This should use a named constant. |
brennie | |
Any particular reason not to import this at the top of the file? If there is a good reason, this … |
brennie | |
Undo this change. |
brennie | |
This logic can be simplified quite a bit. We are doing query = query & other_query in each case, which … |
brennie | |
This should do Q(status=status). |
brennie | |
We should be using named constants for these. |
brennie | |
This should do Q(status=status). Also can we format this as: query = (query & Q(status=status) & Q(last_review_activity_timestamp=None)) |
brennie | |
Can we call this last_review or last_review_timestamp ? |
brennie | |
This method needs a docstring that documents what update_counts and old_reviewed do. Also, old_reviewed needs a better name. Perhaps something … |
brennie | |
ocstrings should be of the following format: """Single line summary. Multi-line description. """ |
brennie | |
Blank line between statement and block. |
brennie | |
Can we format this as: elif (self.last_review_activity_timestamp is not None and old_reviews is not None): |
brennie | |
This method needs a docstring. It should also probably be pseudo-private (i.e., it should have a leading underscore). |
brennie | |
Can we do this as: LocalSiteProfile.objects.filter(local_site=self.local_site, Q(user__review_groups__in=groups) | Q(user__in=people)) Also, can we pull out this query set as a variable … |
brennie | |
Docstrings should be wrapped at 80. The summary should be short and sweet. How about something like: """Decrease the count … |
brennie | |
Since we re-use this all over the place, maybe this should be refactored into a nice little helper method? Otherwise … |
brennie | |
See previous comment. |
brennie | |
Col: 80 E501 line too long (111 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (111 > 79 characters) |
reviewbot | |
Col: 19 W503 line break before binary operator |
reviewbot | |
Col: 80 E501 line too long (80 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (87 > 79 characters) |
reviewbot | |
Col: 19 W503 line break before binary operator |
reviewbot | |
Col: 80 E501 line too long (112 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (92 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (85 > 79 characters) |
reviewbot | |
Col: 27 E127 continuation line over-indented for visual indent |
reviewbot | |
Col: 27 E127 continuation line over-indented for visual indent |
reviewbot | |
This docstring doesn't actually explain what the function does. |
brennie | |
Needs a docstring. |
brennie | |
Blank line between these. |
brennie | |
Need a docstring |
brennie | |
Leftover from debugging? |
brennie | |
Blank line between a block and a statement. |
brennie | |
redefinition of unused 'LocalSiteProfile' from line 12 |
reviewbot | |
Col: 80 E501 line too long (84 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (84 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (83 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (83 > 79 characters) |
reviewbot | |
Col: 80 E501 line too long (83 > 79 characters) |
reviewbot |
- Change Summary:
-
add function to filter the unreviewed review requests
- Commit:
-
6e648650a1bb7454d9f9f1b076cf084f17819dbaf556be699d755406b70116e2990e52cf776bb6be
- Diff:
-
Revision 2 (+50 -5)
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py Ignored Files: reviewboard/static/rb/js/views/reviewBoxListView.js Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py Ignored Files: reviewboard/static/rb/js/views/reviewBoxListView.js
-
-
-
-
-
-
-
- Change Summary:
-
small format modification
- Commit:
-
f556be699d755406b70116e2990e52cf776bb6be7bb0609fde29dae1bef00171bedd54af3456d162
- Diff:
-
Revision 3 (+50 -5)
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py Ignored Files: reviewboard/static/rb/js/views/reviewBoxListView.js Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py Ignored Files: reviewboard/static/rb/js/views/reviewBoxListView.js
-
-
-
- Change Summary:
-
finish the outgoing unreviewed function, lack of enough tests, will cover the tests in the future.
- Commit:
-
7bb0609fde29dae1bef00171bedd54af3456d1628400939d9b6ff917b47877d783499805c8a110f8
- Diff:
-
Revision 4 (+72 -16)
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Ignored Files: reviewboard/static/rb/js/views/reviewBoxListView.js Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Ignored Files: reviewboard/static/rb/js/views/reviewBoxListView.js
-
-
-
-
-
-
- Change Summary:
-
fix some format issues
- Commit:
-
8400939d9b6ff917b47877d783499805c8a110f880f3a9958e6d5855f0cbfbbf4439a5d9afc4934c
- Diff:
-
Revision 5 (+74 -16)
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Ignored Files: reviewboard/static/rb/js/views/reviewBoxListView.js Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Ignored Files: reviewboard/static/rb/js/views/reviewBoxListView.js
- Change Summary:
-
delete some unneccessary codes
- Commit:
-
80f3a9958e6d5855f0cbfbbf4439a5d9afc4934cd82df8b2d01ac453cd2ff4aa664f80e303775dd1
- Diff:
-
Revision 6 (+71 -17)
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Ignored Files: reviewboard/static/rb/js/views/reviewBoxListView.js Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Ignored Files: reviewboard/static/rb/js/views/reviewBoxListView.js
-
-
-
-
-
-
-
-
-
-
-
-
-
-
I don't feel like these are states for a review request. Wouldn't a review request be unreviewed and incoming for a reviewer but unreviewed and outgoing for its submitter?
-
-
-
-
-
Can you format this like so:
elif (self.last_review_request_activity_timetamp is not None and old_reviews is None): site_profile.decrement_unreviewed_outgoing_request_count()
-
- Change Summary:
-
fix some issues
- Commit:
-
d82df8b2d01ac453cd2ff4aa664f80e303775dd1c3f73e24ca6decb123a44e43c6763cb2f6ea7f73
- Diff:
-
Revision 7 (+62 -15)
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py
-
- Change Summary:
-
fix some issues
- Commit:
-
c3f73e24ca6decb123a44e43c6763cb2f6ea7f73acd8c3e09a2fce9b79ad9c741a9eea0f6c6191ef
- Diff:
-
Revision 8 (+61 -10)
-
Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py
-
-
I don't think this filtering is going to work the way you want it to work.
We really can't add the I/O states to a review request because they are per-user things and the review request status is not a per-user thing. We can't filter on
status='O'
orstatus='I'
here.You're probably going to want to use a regular queryset object here, like so:
initializer=lambda p: ReviewRequest.objects.filter(submitter=p.user, status='P', last_review_activity_timestamp=None).count()
or something similar. You may want to refactor this into a method on the
ReviewRequestManager
class. -
-
- Change Summary:
-
fix some issues
- Commit:
-
acd8c3e09a2fce9b79ad9c741a9eea0f6c6191ef63a353c4827ccf60c29a876eb93fba7b6dbe97c3
-
Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/reviews/models/review.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/reviews/models/review.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py
- Change Summary:
-
add a new parameter to pass the unreviewed status instead of using the default status value
- Commit:
-
63a353c4827ccf60c29a876eb93fba7b6dbe97c3fab5bd97d358030ba5458e269022ae9f53e212db
- Diff:
-
Revision 10 (+62 -10)
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py
-
-
-
-
- Change Summary:
-
fix some issues
- Commit:
-
fab5bd97d358030ba5458e269022ae9f53e212db4576ea423184d2517c551a2884fe1e5f8490d2fe
- Diff:
-
Revision 11 (+67 -13)
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py
-
-
- Change Summary:
-
add the incoming review filter to make the unreviewed incoming count right.
- Commit:
-
4576ea423184d2517c551a2884fe1e5f8490d2fe287e76bebb0fed95dc48f37c2add6ddc9a91c1c2
- Diff:
-
Revision 12 (+92 -13)
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py
-
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py
-
- Commit:
-
287e76bebb0fed95dc48f37c2add6ddc9a91c1c2e10f1b8365bd60f288f4e9faedf6c6264fa2c254
- Diff:
-
Revision 14 (+91 -12)
-
Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py
-
-
-
-
-
-
This should do
Q(status=status)
.Also can we format this as:
query = (query & Q(status=status) & Q(last_review_activity_timestamp=None))
-
-
This method needs a docstring that documents what
update_counts
andold_reviewed
do.Also,
old_reviewed
needs a better name. Perhaps something likelast_review_timestamp
? -
-
Can we format this as:
elif (self.last_review_activity_timestamp is not None and old_reviews is not None):
-
This method needs a docstring. It should also probably be pseudo-private (i.e., it should have a leading underscore).
-
Can we do this as:
LocalSiteProfile.objects.filter(local_site=self.local_site, Q(user__review_groups__in=groups) | Q(user__in=people))
Also, can we pull out this query set as a variable and pass that along to the
decrement
function? -
Since we re-use this all over the place, maybe this should be refactored into a nice little helper method?
Otherwise see other comment about formatting.
-
- Change Summary:
-
fix some issues
- Commit:
-
e10f1b8365bd60f288f4e9faedf6c6264fa2c2547869a59cb649a22b4beb20aa4fdd5c5defc000c9
- Diff:
-
Revision 15 (+108 -21)
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py
-
-
-
-
-
-
-
-
-
-
-
-
- Change Summary:
-
fix some issues
- Commit:
-
7869a59cb649a22b4beb20aa4fdd5c5defc000c9a8c17caf65582fc709504cba126253818063bed2
- Diff:
-
Revision 16 (+118 -21)
-
Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py
-
-
-
- Change Summary:
-
fix some issues
- Commit:
-
a8c17caf65582fc709504cba126253818063bed230f0418ee48a861417c47e062eaf964d42b6b228
- Diff:
-
Revision 17 (+118 -21)
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py
-
-
-
These really aren't needed. We only use things like this for enumerated char fields in the database.
-
Any particular reason not to import this at the top of the file?
If there is a good reason, this should be at the top of the method.
-
-
This logic can be simplified quite a bit. We are doing
query = query & other_query
in each case, which can replaced withquery &= other_query
. We also usequery = query & Q(status=status)
in both cases, so that can be factored out as follows:if status: query &= Q(status=status) if (unreviwed_status in (LocalSiteProfile.OUTGOING_UNREVIEWED, LocalSiteProfile.INCOMING_UNREVIEWED): query &= Q(last_review_activity_timestamp=None)
-
-
Docstrings should be wrapped at 80.
The summary should be short and sweet. How about something like:
"""Decrease the count of unreviewed incoming requests. The count is only decreased if a review request that was previously unreviewed has become reviewed. """
- Change Summary:
-
fix a count bug and some issues
- Commit:
-
30f0418ee48a861417c47e062eaf964d42b6b2289931b170531f4825cc0d1b07ef35b9b092309fed
- Diff:
-
Revision 18 (+119 -24)
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py
-
-
-
-
-
- Change Summary:
-
fix a bug about counting and some issues.
- Commit:
-
9931b170531f4825cc0d1b07ef35b9b092309fedf9a6fc0fb6eae5769da0178e897ff8dc0c40c1aa
- Diff:
-
Revision 19 (+121 -24)
-
Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py
-
- Commit:
-
f9a6fc0fb6eae5769da0178e897ff8dc0c40c1aa479706c0a82111eb3ef1782a25a2604c6899900b
- Diff:
-
Revision 20 (+122 -24)
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py
- Change Summary:
-
fix some issues.
- Commit:
-
479706c0a82111eb3ef1782a25a2604c6899900bdb813c313dac7252bf2cb060807f597e92da4fb8
- Diff:
-
Revision 21 (+129 -24)
-
Tool: Pyflakes Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py Tool: PEP8 Style Checker Processed Files: reviewboard/datagrids/views.py reviewboard/reviews/models/review_request.py reviewboard/datagrids/grids.py reviewboard/datagrids/builtin_items.py reviewboard/accounts/models.py reviewboard/reviews/managers.py reviewboard/accounts/admin.py reviewboard/reviews/models/review.py