Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Review Request 3242: Multi user collaboration on review requests [DRAFT]
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  15 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
crystal....@gmail.com  
View profile  
 More options Jul 23 2012, 2:06 am
From: crystal....@gmail.com
Date: Mon, 23 Jul 2012 06:06:21 -0000
Local: Mon, Jul 23 2012 2:06 am
Subject: Review Request 3242: Multi user collaboration on review requests [DRAFT]

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/
-----------------------------------------------------------

Review request for Review Board.

Description
-------

This is what I have so far for the multi user collaboration on review requests. So far, what I have done is allow all reviewers (users in the target people and groups) to be allowed to change the review request. This would all the reviewers to all the normal changing review request functionalities.

I'm not sure if we have decided who can be able to modify the review request. For now, I put them as all the reviewers.

Also, I've included the last_updated_by field to the review request model in order to display who has last modified the review request or published new review on the dashboard.

Diffs
-----

  reviewboard/reviews/datagrids.py b61cf77fdb489e7947706aac316fb4bb693713fa
  reviewboard/reviews/evolutions/__init__.py a9ad1e7a612a5c92cec7e9d1f962269837126662
  reviewboard/reviews/evolutions/track_user_changes.py PRE-CREATION
  reviewboard/reviews/forms.py 7996c654db276b0a3b67069c9c70e3e1cf20dd96
  reviewboard/reviews/models.py 32581d5e8a612750bc0eff582e70a979d20ffe83
  reviewboard/reviews/views.py ad056d4f0383443a43d94407e79bc00ad2ef0ed6
  reviewboard/templates/reviews/review_detail.html 355e98a662f899a24a7edadd698dc7bbb899a242
  reviewboard/templates/reviews/review_flags.js b1c2d7555d1329270c6779181c2e74cd22eceb18
  reviewboard/templates/reviews/review_header.html 16afbbdb69d7feff9dc84dcc1c4c98a07dbb2490
  reviewboard/templates/reviews/review_request_actions_secondary.html f3612f32aec1de9d6588fba969491ea0ba9fea29
  reviewboard/templates/reviews/review_request_box.html 29f147ae2beb3776c2210eeadbd933b6d42e1023
  reviewboard/templates/reviews/review_request_dlgs.html 6b2cd5f7156a915439ccedf4d04e836f314c2274
  reviewboard/webapi/resources.py 262e59282135c26ea8fc271352e5e3a7fbdf19b9
  reviewboard/changedescs/models.py abb1074d104506a883e1f0a255e2a231841038f4
  reviewboard/changedescs/evolutions/change_desc_user.py PRE-CREATION
  reviewboard/changedescs/evolutions/__init__.py f725c299e78ae93819633c99b0ca91ef4159c618
  reviewboard/attachments/forms.py 5d994391e1f0cd83aa7b155d4d88e33f7f0dbc84

Diff: http://reviews.reviewboard.org/r/3242/diff/

Testing
-------

Manual testing. I've ran the unit tests and had a bunch of errors and one failure. The errors are all expected due to the change of the ReviewRequestDraft.create() function and I need to look into that one failure. I think it's expected failure though.

I'll go through them all and make modifications/fixes as necessary.

Thanks,

CrystalLokKoo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
crystal....@gmail.com  
View profile  
 More options Aug 5 2012, 2:32 am
From: crystal....@gmail.com
Date: Sun, 05 Aug 2012 06:32:35 -0000
Local: Sun, Aug 5 2012 2:32 am
Subject: Re: Review Request 3242: Multi user collaboration on review requests [DRAFT]

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/
-----------------------------------------------------------

(Updated Aug. 5, 2012, 6:32 a.m.)

Review request for Review Board.

Changes
-------

Fixed the unit tests errors and failures.

Description
-------

This is what I have so far for the multi user collaboration on review requests. So far, what I have done is allow all reviewers (users in the target people and groups) to be allowed to change the review request. This would all the reviewers to all the normal changing review request functionalities.

I'm not sure if we have decided who can be able to modify the review request. For now, I put them as all the reviewers.

Also, I've included the last_updated_by field to the review request model in order to display who has last modified the review request or published new review on the dashboard.

Diffs (updated)
-----

  reviewboard/attachments/forms.py 5d994391e1f0cd83aa7b155d4d88e33f7f0dbc84
  reviewboard/attachments/tests.py 6453cfd7de1c9ad4b0a90fa86c4f911b23c424c1
  reviewboard/changedescs/evolutions/__init__.py f725c299e78ae93819633c99b0ca91ef4159c618
  reviewboard/changedescs/evolutions/change_desc_user.py PRE-CREATION
  reviewboard/changedescs/models.py abb1074d104506a883e1f0a255e2a231841038f4
  reviewboard/reviews/datagrids.py b61cf77fdb489e7947706aac316fb4bb693713fa
  reviewboard/reviews/evolutions/__init__.py a9ad1e7a612a5c92cec7e9d1f962269837126662
  reviewboard/reviews/evolutions/track_user_changes.py PRE-CREATION
  reviewboard/reviews/forms.py 7996c654db276b0a3b67069c9c70e3e1cf20dd96
  reviewboard/reviews/models.py a729022427f09a478e5deb3a8ccb74638e3993a7
  reviewboard/reviews/tests.py 51fd99c676e97b661c50d3e4dd726720524298a3
  reviewboard/reviews/views.py b2f239a76aa2860c46ec55a16b654d498b6e8d12
  reviewboard/templates/reviews/review_detail.html 3ee3d09de9ad13cf21d525bbb996a2831a5e46fd
  reviewboard/templates/reviews/review_flags.js b1c2d7555d1329270c6779181c2e74cd22eceb18
  reviewboard/templates/reviews/review_header.html 16afbbdb69d7feff9dc84dcc1c4c98a07dbb2490
  reviewboard/templates/reviews/review_request_actions_secondary.html f3612f32aec1de9d6588fba969491ea0ba9fea29
  reviewboard/templates/reviews/review_request_box.html eeaed19da97f936b659c6ba802c72304536e3e6b
  reviewboard/templates/reviews/review_request_dlgs.html fc84c45182b258ae6530eb5b14be33500ae9efc7
  reviewboard/webapi/resources.py ccbe49f8ad9ec5dbaddd7ccf46f2a31c22238d12
  reviewboard/webapi/tests.py 5026f2ec81de3eb05ea65d1d2c8390e7e6b99398

Diff: http://reviews.reviewboard.org/r/3242/diff/

Testing
-------

Manual testing. I've ran the unit tests and had a bunch of errors and one failure. The errors are all expected due to the change of the ReviewRequestDraft.create() function and I need to look into that one failure. I think it's expected failure though.

I'll go through them all and make modifications/fixes as necessary.

Thanks,

CrystalLokKoo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Conley  
View profile  
 More options Aug 5 2012, 2:43 pm
From: "Mike Conley" <mike.d.con...@gmail.com>
Date: Sun, 05 Aug 2012 18:43:38 -0000
Local: Sun, Aug 5 2012 2:43 pm
Subject: Re: Review Request 3242: Multi user collaboration on review requests [DRAFT]

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/#review4130
-----------------------------------------------------------

I haven't run this patch yet, but this looks like the right idea to me. You're on the right track. Let me know when you're done iterating, and I'll give it a full review.

Thanks!

- Mike Conley

On Aug. 5, 2012, 6:32 a.m., CrystalLokKoo wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Review Request 3242: Multi user collaboration on review requests" by crystal....@gmail.com
crystal....@gmail.com  
View profile  
 More options Aug 5 2012, 2:46 pm
From: crystal....@gmail.com
Date: Sun, 05 Aug 2012 18:46:15 -0000
Local: Sun, Aug 5 2012 2:46 pm
Subject: Re: Review Request 3242: Multi user collaboration on review requests

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/
-----------------------------------------------------------

(Updated Aug. 5, 2012, 6:46 p.m.)

Review request for Review Board.

Changes
-------

Updated "Testing Done" details.

Summary (updated)
-----------------

Multi user collaboration on review requests

Description
-------

This is what I have so far for the multi user collaboration on review requests. So far, what I have done is allow all reviewers (users in the target people and groups) to be allowed to change the review request. This would all the reviewers to all the normal changing review request functionalities.

I'm not sure if we have decided who can be able to modify the review request. For now, I put them as all the reviewers.

Also, I've included the last_updated_by field to the review request model in order to display who has last modified the review request or published new review on the dashboard.

Diffs
-----

  reviewboard/attachments/forms.py 5d994391e1f0cd83aa7b155d4d88e33f7f0dbc84
  reviewboard/attachments/tests.py 6453cfd7de1c9ad4b0a90fa86c4f911b23c424c1
  reviewboard/changedescs/evolutions/__init__.py f725c299e78ae93819633c99b0ca91ef4159c618
  reviewboard/changedescs/evolutions/change_desc_user.py PRE-CREATION
  reviewboard/changedescs/models.py abb1074d104506a883e1f0a255e2a231841038f4
  reviewboard/reviews/datagrids.py b61cf77fdb489e7947706aac316fb4bb693713fa
  reviewboard/reviews/evolutions/__init__.py a9ad1e7a612a5c92cec7e9d1f962269837126662
  reviewboard/reviews/evolutions/track_user_changes.py PRE-CREATION
  reviewboard/reviews/forms.py 7996c654db276b0a3b67069c9c70e3e1cf20dd96
  reviewboard/reviews/models.py a729022427f09a478e5deb3a8ccb74638e3993a7
  reviewboard/reviews/tests.py 51fd99c676e97b661c50d3e4dd726720524298a3
  reviewboard/reviews/views.py b2f239a76aa2860c46ec55a16b654d498b6e8d12
  reviewboard/templates/reviews/review_detail.html 3ee3d09de9ad13cf21d525bbb996a2831a5e46fd
  reviewboard/templates/reviews/review_flags.js b1c2d7555d1329270c6779181c2e74cd22eceb18
  reviewboard/templates/reviews/review_header.html 16afbbdb69d7feff9dc84dcc1c4c98a07dbb2490
  reviewboard/templates/reviews/review_request_actions_secondary.html f3612f32aec1de9d6588fba969491ea0ba9fea29
  reviewboard/templates/reviews/review_request_box.html eeaed19da97f936b659c6ba802c72304536e3e6b
  reviewboard/templates/reviews/review_request_dlgs.html fc84c45182b258ae6530eb5b14be33500ae9efc7
  reviewboard/webapi/resources.py ccbe49f8ad9ec5dbaddd7ccf46f2a31c22238d12
  reviewboard/webapi/tests.py 5026f2ec81de3eb05ea65d1d2c8390e7e6b99398

Diff: http://reviews.reviewboard.org/r/3242/diff/

Testing (updated)
-------

Manual testing. At first, I've ran the unit tests and had a bunch of errors and one failure. The errors are all expected due to the change of the ReviewRequestDraft.create() function and I need to look into that one failure. I think it's expected failure though.

As of diff 2, all the test failures/errors have been fixed.

Thanks,

CrystalLokKoo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
crystal....@gmail.com  
View profile   Translate to Translated (View Original)
 More options Aug 22 2012, 12:37 am
From: crystal....@gmail.com
Date: Wed, 22 Aug 2012 04:37:18 -0000
Local: Wed, Aug 22 2012 12:37 am
Subject: Re: Review Request 3242: Multi user collaboration on review requests

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/#review4190
-----------------------------------------------------------

Would someone be able to kindly give me a brief code review please? :)

- CrystalLokKoo

On Aug. 5, 2012, 6:46 p.m., CrystalLokKoo wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Hammond  
View profile  
 More options Aug 27 2012, 6:06 pm
From: "Christian Hammond" <chip...@chipx86.com>
Date: Mon, 27 Aug 2012 22:06:35 -0000
Local: Mon, Aug 27 2012 6:06 pm
Subject: Re: Review Request 3242: Multi user collaboration on review requests

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/#review4197
-----------------------------------------------------------

Hey. This is looking great. As I mention below, we need to figure out what the rules should be for who can modify another user's review requests, because I don't think target reviewers is quite correct. Let's discuss it.

reviewboard/reviews/datagrids.py
<http://reviews.reviewboard.org/r/3242/#comment6852>

    Two blank lines.

reviewboard/reviews/datagrids.py
<http://reviews.reviewboard.org/r/3242/#comment6854>

    Should be one line, like:

    """A column ..."""

reviewboard/reviews/datagrids.py
<http://reviews.reviewboard.org/r/3242/#comment6855>

    Can you use super() here, instead of old-style Column initialization?

reviewboard/reviews/datagrids.py
<http://reviews.reviewboard.org/r/3242/#comment6856>

    Can be shortened to:

    return obj.last_updated_by or ""

reviewboard/reviews/datagrids.py
<http://reviews.reviewboard.org/r/3242/#comment6853>

    Two blank lines.

reviewboard/reviews/forms.py
<http://reviews.reviewboard.org/r/3242/#comment6857>

    Blank line isn't needed.

reviewboard/reviews/models.py
<http://reviews.reviewboard.org/r/3242/#comment6858>

    I think we need to figure out what the rules should be for modifying a review request.

    I don't think necessarily that every user listed should have the ability (and this query is expensive anyway).

    My feeling is that the ability to modify someone else's review request should be pretty limited, and may even be something we want to be opt-in in an organization (or part of an organization).

    Perhaps we should have a discussion in IRC about what's most correct here.

reviewboard/reviews/models.py
<http://reviews.reviewboard.org/r/3242/#comment6859>

    This will fail for any drafts that exist at the time of deployment of this change. We should do an || on these.

reviewboard/reviews/models.py
<http://reviews.reviewboard.org/r/3242/#comment6860>

    Same here.

reviewboard/reviews/views.py
<http://reviews.reviewboard.org/r/3242/#comment6861>

    Keep the blank line.

reviewboard/templates/reviews/review_detail.html
<http://reviews.reviewboard.org/r/3242/#comment6862>

    No spaces in the {{}}

    Should remove the space after the "." (and maybe remove the period, since we didn't have it before)

reviewboard/webapi/tests.py
<http://reviews.reviewboard.org/r/3242/#comment6863>

    I'm a bit worried about the pk= for these User queries in the tests. Can you change them instead to look up by username? (This and all others.)

- Christian Hammond

On Aug. 5, 2012, 6:46 p.m., CrystalLokKoo wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
crystal....@gmail.com  
View profile  
 More options Sep 1 2012, 3:08 pm
From: crystal....@gmail.com
Date: Sat, 01 Sep 2012 19:08:54 -0000
Local: Sat, Sep 1 2012 3:08 pm
Subject: Re: Review Request 3242: Multi user collaboration on review requests

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/
-----------------------------------------------------------

(Updated Sept. 1, 2012, 7:08 p.m.)

Review request for Review Board.

Changes
-------

Modified is_mutable_by method so that it doesn't query for reviewers' groups or people anymore. Basically reverted back to where it was before. When we decide on what type of users can modify the review request, we can modify that method again to accommodate the multi user collaboration.

I still really like the idea of having the idea where the submitter can add a list of other users as owners of the ReviewRequest. I think that is simple and intuitive but may take a bit of work to redo the UI on the ReviewRequest. I love to hear suggestions or feedback! :)

Description
-------

This is what I have so far for the multi user collaboration on review requests. So far, what I have done is allow all reviewers (users in the target people and groups) to be allowed to change the review request. This would all the reviewers to all the normal changing review request functionalities.

I'm not sure if we have decided who can be able to modify the review request. For now, I put them as all the reviewers.

Also, I've included the last_updated_by field to the review request model in order to display who has last modified the review request or published new review on the dashboard.

Diffs (updated)
-----

  reviewboard/attachments/forms.py 5d994391e1f0cd83aa7b155d4d88e33f7f0dbc84
  reviewboard/attachments/tests.py 6453cfd7de1c9ad4b0a90fa86c4f911b23c424c1
  reviewboard/changedescs/evolutions/__init__.py f725c299e78ae93819633c99b0ca91ef4159c618
  reviewboard/changedescs/evolutions/change_desc_user.py PRE-CREATION
  reviewboard/changedescs/models.py abb1074d104506a883e1f0a255e2a231841038f4
  reviewboard/reviews/datagrids.py b61cf77fdb489e7947706aac316fb4bb693713fa
  reviewboard/reviews/evolutions/__init__.py a9ad1e7a612a5c92cec7e9d1f962269837126662
  reviewboard/reviews/evolutions/track_user_changes.py PRE-CREATION
  reviewboard/reviews/forms.py 7996c654db276b0a3b67069c9c70e3e1cf20dd96
  reviewboard/reviews/models.py 952a6cd497c2428c912107f146e23f932f535214
  reviewboard/reviews/tests.py 51fd99c676e97b661c50d3e4dd726720524298a3
  reviewboard/reviews/views.py b2f239a76aa2860c46ec55a16b654d498b6e8d12
  reviewboard/templates/reviews/review_detail.html 6fcfc7dbb232306a9464488afd09bcea134fa022
  reviewboard/templates/reviews/review_flags.js b1c2d7555d1329270c6779181c2e74cd22eceb18
  reviewboard/templates/reviews/review_header.html 16afbbdb69d7feff9dc84dcc1c4c98a07dbb2490
  reviewboard/templates/reviews/review_request_actions_secondary.html f3612f32aec1de9d6588fba969491ea0ba9fea29
  reviewboard/templates/reviews/review_request_box.html eeaed19da97f936b659c6ba802c72304536e3e6b
  reviewboard/templates/reviews/review_request_dlgs.html fc84c45182b258ae6530eb5b14be33500ae9efc7
  reviewboard/webapi/resources.py ccbe49f8ad9ec5dbaddd7ccf46f2a31c22238d12
  reviewboard/webapi/tests.py 5026f2ec81de3eb05ea65d1d2c8390e7e6b99398

Diff: http://reviews.reviewboard.org/r/3242/diff/

Testing
-------

Manual testing. At first, I've ran the unit tests and had a bunch of errors and one failure. The errors are all expected due to the change of the ReviewRequestDraft.create() function and I need to look into that one failure. I think it's expected failure though.

As of diff 2, all the test failures/errors have been fixed.

Thanks,

CrystalLokKoo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
crystal....@gmail.com  
View profile  
 More options Oct 7 2012, 3:28 pm
From: crystal....@gmail.com
Date: Sun, 07 Oct 2012 19:28:15 -0000
Local: Sun, Oct 7 2012 3:28 pm
Subject: Re: Review Request 3242: Multi user collaboration on review requests

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/
-----------------------------------------------------------

(Updated Oct. 7, 2012, 7:28 p.m.)

Review request for Review Board.

Changes
-------

Allowed to change the owner of a ReviewRequest. The field 'Submitter' into the UI is changed to 'Owner'. Refactored some of the JS to use the jQuery autocompleter for the owner field as well. Added the ability of the owner to be able to modify a ReviewRequest.

The submitter is now shown right underneath the summary and beside the created time.

Description
-------

This is what I have so far for the multi user collaboration on review requests. So far, what I have done is allow all reviewers (users in the target people and groups) to be allowed to change the review request. This would all the reviewers to all the normal changing review request functionalities.

I'm not sure if we have decided who can be able to modify the review request. For now, I put them as all the reviewers.

Also, I've included the last_updated_by field to the review request model in order to display who has last modified the review request or published new review on the dashboard.

Diffs (updated)
-----

  reviewboard/attachments/tests.py e614c9dab275cc006702d0b30d39b024a4d5107e
  reviewboard/changedescs/evolutions/__init__.py 40a5228649c29c224f65bf0e6703c429549a1dae
  reviewboard/attachments/forms.py 3bcfa1845bd64e68ab2819deda049b83d4728fad
  reviewboard/changedescs/evolutions/change_desc_user.py c876d9ccec81262d878deb3ace2ddc21ab3b0583
  reviewboard/changedescs/models.py 0bbf0d5a8626eb06ed6a8c669ed3bb3afe82cbcd
  reviewboard/reviews/datagrids.py 736d7ff1bb63d17412ee17c7adbe95853c29d584
  reviewboard/reviews/evolutions/__init__.py 66662b333027c88792241e29fd6838dec367d4f6
  reviewboard/reviews/evolutions/track_user_changes.py 22a081a9b322f45de0072622dc69966b3ce19185
  reviewboard/reviews/forms.py 9639309f1188ca39ea88d08323c57b6442492511
  reviewboard/reviews/models.py ed59287fb15365e5cda6f9d58cfba93d86ea6bf4
  reviewboard/reviews/tests.py bddc522aa84ea6a8cb62fc829260a37019fb1c29
  reviewboard/reviews/views.py 395891624c5d7b51e2d57d718bdfa58301fb2e2c
  reviewboard/static/rb/js/datastore.js 868cc21fceed4b556615fd96db6c801c31212062
  reviewboard/static/rb/js/reviews.js b4c4d2f512d3e0fef5103f0db978676bba2b2fbc
  reviewboard/templates/reviews/review_detail.html 95f7100ad65e16959ad28c09e5f0aac45adc0386
  reviewboard/templates/reviews/review_flags.js 8471504ecec186f57144be6de03769d08c741f1c
  reviewboard/templates/reviews/review_header.html 7088725009bbd8be65e9a3162b48383e0f95168a
  reviewboard/templates/reviews/review_request_actions_secondary.html 44220b3c2a36b23b34fea084d4a60e2e95df452c
  reviewboard/templates/reviews/review_request_box.html 0778b97c03c4b9d88b0db5ae0cee3730548a21ec
  reviewboard/templates/reviews/review_request_dlgs.html ac6dda799f3c08e5af7c5ad74633c0f6db080aae
  reviewboard/webapi/resources.py dacf50654560532eaa94b1a1458b74b76ca24ce6
  reviewboard/webapi/tests.py ff48e3dee277611051a0c39009f8573c3cd9d66f

Diff: http://reviews.reviewboard.org/r/3242/diff/

Testing
-------

Manual testing. At first, I've ran the unit tests and had a bunch of errors and one failure. The errors are all expected due to the change of the ReviewRequestDraft.create() function and I need to look into that one failure. I think it's expected failure though.

As of diff 2, all the test failures/errors have been fixed.

Thanks,

CrystalLokKoo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lam nguyen  
View profile  
 More options Oct 19 2012, 3:19 am
From: "lam nguyen" <ronaldoi...@gmail.com>
Date: Fri, 19 Oct 2012 07:19:17 -0000
Local: Fri, Oct 19 2012 3:19 am
Subject: Re: Review Request 3242: Multi user collaboration on review requests

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/#review4399
-----------------------------------------------------------

Ship it!

Ship It!

- lam nguyen

On Oct. 7, 2012, 7:28 p.m., CrystalLokKoo wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lam nguyen  
View profile  
 More options Oct 19 2012, 3:35 am
From: "lam nguyen" <ronaldoi...@gmail.com>
Date: Fri, 19 Oct 2012 07:35:04 -0000
Local: Fri, Oct 19 2012 3:35 am
Subject: Re: Review Request 3242: Multi user collaboration on review requests

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/#review4400
-----------------------------------------------------------

reviewboard/reviews/datagrids.py
<http://reviews.reviewboard.org/r/3242/#comment7072>

    CODE T?M B?Y R?I CHA N?I

- lam nguyen

On Oct. 7, 2012, 7:28 p.m., CrystalLokKoo wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Hammond  
View profile  
 More options Oct 26 2012, 5:44 am
From: "Christian Hammond" <chip...@chipx86.com>
Date: Fri, 26 Oct 2012 09:44:02 -0000
Local: Fri, Oct 26 2012 5:44 am
Subject: Re: Review Request 3242: Multi user collaboration on review requests

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/#review4444
-----------------------------------------------------------

Spotted a couple things, but it's very close, and I'm hopeful we can get this into 1.7 if you feel good about it.

Remind me, is it just admins that can create drafts, or can users with the can_edit permission also do it?

reviewboard/reviews/evolutions/__init__.py
<http://reviews.reviewboard.org/r/3242/#comment7209>

    This really can just be one evolution. We tend to do one per feature/change.

    .. And actually, I don't see the other file referenced?

reviewboard/reviews/evolutions/__init__.py
<http://reviews.reviewboard.org/r/3242/#comment7208>

    Can you add a trailing comma? One less modified line next time something is added.

reviewboard/reviews/models.py
<http://reviews.reviewboard.org/r/3242/#comment7204>

    Mind changing this to use parens instead of \ ?

reviewboard/reviews/models.py
<http://reviews.reviewboard.org/r/3242/#comment7205>

    No need for \, since it's in parens.

reviewboard/reviews/models.py
<http://reviews.reviewboard.org/r/3242/#comment7207>

    We do this in a couple places. Might be time for a Manager function.

reviewboard/reviews/models.py
<http://reviews.reviewboard.org/r/3242/#comment7206>

    No need for \

reviewboard/static/rb/js/datastore.js
<http://reviews.reviewboard.org/r/3242/#comment7210>

    While you're here, mind changing them to === ? (We shouldn't be using ==, but I was young and naïve once.)

reviewboard/static/rb/js/reviews.js
<http://reviews.reviewboard.org/r/3242/#comment7211>

    Indentation looks wrong.

reviewboard/static/rb/js/reviews.js
<http://reviews.reviewboard.org/r/3242/#comment7214>

    Two blank lines.

reviewboard/static/rb/js/reviews.js
<http://reviews.reviewboard.org/r/3242/#comment7212>

    !==

reviewboard/static/rb/js/reviews.js
<http://reviews.reviewboard.org/r/3242/#comment7213>

    Keep the blank line. Two between things.

reviewboard/templates/reviews/review_flags.js
<http://reviews.reviewboard.org/r/3242/#comment7215>

    Is it worth folding the permission into that variable?

- Christian Hammond

On Oct. 7, 2012, 7:28 p.m., CrystalLokKoo wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Conley  
View profile  
 More options Oct 28 2012, 2:36 pm
From: "Mike Conley" <mike.d.con...@gmail.com>
Date: Sun, 28 Oct 2012 18:36:20 -0000
Local: Sun, Oct 28 2012 2:36 pm
Subject: Re: Review Request 3242: Multi user collaboration on review requests

> On Oct. 19, 2012, 7:35 a.m., lam nguyen wrote:
> > reviewboard/reviews/datagrids.py, line 476
> > <http://reviews.reviewboard.org/r/3242/diff/4/?file=22990#file22990lin...>

> >     CODE T?M B?Y R?I CHA N?I

Hey - this is a production instance of Review Board.  Please don't use http://reviews.reviewboard.org for testing purposes. Use http://demo.reviewboard.org instead. Thanks!

- Mike

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/#review4400
-----------------------------------------------------------

On Oct. 7, 2012, 7:28 p.m., CrystalLokKoo wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
crystal....@gmail.com  
View profile  
 More options Oct 28 2012, 8:44 pm
From: crystal....@gmail.com
Date: Mon, 29 Oct 2012 00:44:26 -0000
Local: Sun, Oct 28 2012 8:44 pm
Subject: Re: Review Request 3242: Multi user collaboration on review requests

> On Oct. 26, 2012, 9:44 a.m., Christian Hammond wrote:
> > Spotted a couple things, but it's very close, and I'm hopeful we can get this into 1.7 if you feel good about it.

> > Remind me, is it just admins that can create drafts, or can users with the can_edit permission also do it?

Admins, owners and submitters can edit the review request. It's based on the is_mutable_by function in the ReviewRequest class.

Please let me know if this is not the desired behaviour.

> On Oct. 26, 2012, 9:44 a.m., Christian Hammond wrote:
> > reviewboard/templates/reviews/review_flags.js, line 13
> > <http://reviews.reviewboard.org/r/3242/diff/4/?file=23000#file23000line13>

> >     Is it worth folding the permission into that variable?

Oops - Apparently perms.reviews.can_edit_reviewrequest is already included in can_edit_review_request. Therefore, I removed "perms.reviews.can_edit_reviewrequest" in if statements that have "can_edit_review_request".

> On Oct. 26, 2012, 9:44 a.m., Christian Hammond wrote:
> > reviewboard/reviews/evolutions/__init__.py, lines 14-15
> > <http://reviews.reviewboard.org/r/3242/diff/4/?file=22991#file22991line14>

> >     This really can just be one evolution. We tend to do one per feature/change.

> >     .. And actually, I don't see the other file referenced?

I forgot to add the new file "add_reviewrequest_owner". I merged those two files into one and included it.

- CrystalLokKoo

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/#review4444
-----------------------------------------------------------

On Oct. 7, 2012, 7:28 p.m., CrystalLokKoo wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
crystal....@gmail.com  
View profile  
 More options Oct 28 2012, 8:44 pm
From: crystal....@gmail.com
Date: Mon, 29 Oct 2012 00:44:41 -0000
Local: Sun, Oct 28 2012 8:44 pm
Subject: Re: Review Request 3242: Multi user collaboration on review requests

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/
-----------------------------------------------------------

(Updated Oct. 29, 2012, 12:44 a.m.)

Review request for Review Board.

Changes
-------

Fixed all the minor issues that were bought up during the last code review. Added a missing evolution file. More manual testing done.

Description
-------

This is what I have so far for the multi user collaboration on review requests. So far, what I have done is allow all reviewers (users in the target people and groups) to be allowed to change the review request. This would all the reviewers to all the normal changing review request functionalities.

I'm not sure if we have decided who can be able to modify the review request. For now, I put them as all the reviewers.

Also, I've included the last_updated_by field to the review request model in order to display who has last modified the review request or published new review on the dashboard.

Diffs (updated)
-----

  reviewboard/attachments/forms.py 3bcfa1845bd64e68ab2819deda049b83d4728fad
  reviewboard/attachments/tests.py e614c9dab275cc006702d0b30d39b024a4d5107e
  reviewboard/changedescs/evolutions/__init__.py 40a5228649c29c224f65bf0e6703c429549a1dae
  reviewboard/changedescs/evolutions/change_desc_user.py c876d9ccec81262d878deb3ace2ddc21ab3b0583
  reviewboard/changedescs/models.py 0bbf0d5a8626eb06ed6a8c669ed3bb3afe82cbcd
  reviewboard/reviews/datagrids.py 736d7ff1bb63d17412ee17c7adbe95853c29d584
  reviewboard/reviews/evolutions/__init__.py 4a5dedd45af098a1524a6a46ad0d6d063fe27c92
  reviewboard/reviews/evolutions/add_reviewrequest_owner.py 205ef88d8dfac5a30e48abc82fce9d10aebfe76d
  reviewboard/reviews/forms.py bc32c002311a464091e8ec8e1092ad6e07d61573
  reviewboard/reviews/managers.py 67434e7d557e453a1cb046c926eabd3d72c9d91d
  reviewboard/reviews/models.py d8fa0e71ff75e398d586ed5085a5a4dd0fec448d
  reviewboard/reviews/tests.py bddc522aa84ea6a8cb62fc829260a37019fb1c29
  reviewboard/reviews/views.py 1025322abe236a03fc9a0c2d4221ae3363eff7dd
  reviewboard/static/rb/js/datastore.js 331c1cde61ceb257c5e055430ced46b6704d05c9
  reviewboard/static/rb/js/reviews.js 777248fd4ea5d8f244cf807803c0cd982b08ea96
  reviewboard/templates/reviews/review_detail.html 95f7100ad65e16959ad28c09e5f0aac45adc0386
  reviewboard/templates/reviews/review_flags.js 2e64e59c2b477e5baf59d7dd82a24557400477f5
  reviewboard/templates/reviews/review_header.html e428f1866ba1b578fabaf72d193ade155c5aa08e
  reviewboard/templates/reviews/review_request_actions_secondary.html 53a7d93d441e5efd59cb3e9a5cb99d7a7fe38ad9
  reviewboard/templates/reviews/review_request_box.html 3aa104bc2a8c2ebae8102c1ad4fc05d576f1235e
  reviewboard/templates/reviews/review_request_dlgs.html 69238071762b37ca01f2090e37b1d929e5a47dbc
  reviewboard/webapi/resources.py 5cf15de29b650b2a947350819c30d134bdb3e5b5
  reviewboard/webapi/tests.py d49d12e8fb7473acacf1804a81ed92482f5e2f77

Diff: http://reviews.reviewboard.org/r/3242/diff/

Testing
-------

Manual testing. At first, I've ran the unit tests and had a bunch of errors and one failure. The errors are all expected due to the change of the ReviewRequestDraft.create() function and I need to look into that one failure. I think it's expected failure though.

As of diff 2, all the test failures/errors have been fixed.

Thanks,

CrystalLokKoo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
crystal....@gmail.com  
View profile  
 More options Nov 14 2012, 5:22 am
From: crystal....@gmail.com
Date: Wed, 14 Nov 2012 10:22:36 -0000
Local: Wed, Nov 14 2012 5:22 am
Subject: Re: Review Request 3242: Multi user collaboration on review requests

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.reviewboard.org/r/3242/
-----------------------------------------------------------

(Updated Nov. 14, 2012, 10:22 a.m.)

Review request for Review Board.

Changes
-------

Updated testing section.

Description
-------

This is what I have so far for the multi user collaboration on review requests. So far, what I have done is allow all reviewers (users in the target people and groups) to be allowed to change the review request. This would all the reviewers to all the normal changing review request functionalities.

I'm not sure if we have decided who can be able to modify the review request. For now, I put them as all the reviewers.

Also, I've included the last_updated_by field to the review request model in order to display who has last modified the review request or published new review on the dashboard.

Diffs
-----

  reviewboard/attachments/forms.py 3bcfa1845bd64e68ab2819deda049b83d4728fad
  reviewboard/attachments/tests.py e614c9dab275cc006702d0b30d39b024a4d5107e
  reviewboard/changedescs/evolutions/__init__.py 40a5228649c29c224f65bf0e6703c429549a1dae
  reviewboard/changedescs/evolutions/change_desc_user.py c876d9ccec81262d878deb3ace2ddc21ab3b0583
  reviewboard/changedescs/models.py 0bbf0d5a8626eb06ed6a8c669ed3bb3afe82cbcd
  reviewboard/reviews/datagrids.py 736d7ff1bb63d17412ee17c7adbe95853c29d584
  reviewboard/reviews/evolutions/__init__.py 4a5dedd45af098a1524a6a46ad0d6d063fe27c92
  reviewboard/reviews/evolutions/add_reviewrequest_owner.py 205ef88d8dfac5a30e48abc82fce9d10aebfe76d
  reviewboard/reviews/forms.py bc32c002311a464091e8ec8e1092ad6e07d61573
  reviewboard/reviews/managers.py 67434e7d557e453a1cb046c926eabd3d72c9d91d
  reviewboard/reviews/models.py d8fa0e71ff75e398d586ed5085a5a4dd0fec448d
  reviewboard/reviews/tests.py bddc522aa84ea6a8cb62fc829260a37019fb1c29
  reviewboard/reviews/views.py 1025322abe236a03fc9a0c2d4221ae3363eff7dd
  reviewboard/static/rb/js/datastore.js 331c1cde61ceb257c5e055430ced46b6704d05c9
  reviewboard/static/rb/js/reviews.js 777248fd4ea5d8f244cf807803c0cd982b08ea96
  reviewboard/templates/reviews/review_detail.html 95f7100ad65e16959ad28c09e5f0aac45adc0386
  reviewboard/templates/reviews/review_flags.js 2e64e59c2b477e5baf59d7dd82a24557400477f5
  reviewboard/templates/reviews/review_header.html e428f1866ba1b578fabaf72d193ade155c5aa08e
  reviewboard/templates/reviews/review_request_actions_secondary.html 53a7d93d441e5efd59cb3e9a5cb99d7a7fe38ad9
  reviewboard/templates/reviews/review_request_box.html 3aa104bc2a8c2ebae8102c1ad4fc05d576f1235e
  reviewboard/templates/reviews/review_request_dlgs.html 69238071762b37ca01f2090e37b1d929e5a47dbc
  reviewboard/webapi/resources.py 5cf15de29b650b2a947350819c30d134bdb3e5b5
  reviewboard/webapi/tests.py d49d12e8fb7473acacf1804a81ed92482f5e2f77

Diff: http://reviews.reviewboard.org/r/3242/diff/

Testing (updated)
-------

Manual testing. At first, I've ran the unit tests and had a bunch of errors and one failure. The errors are all expected due to the change of the ReviewRequestDraft.create() function and I need to look into that one failure. I think it's expected failure though.

As of diff 2, all the test failures/errors have been fixed.

Manual testing include:
- Creating new review requests and changing submitter to another account. Permissions to edit the review request behaved correctly for new user
- The original author correctly still has permission.
- Changing the submitter back to the original submitter. Previous submitter has no permission to edit.
- Check Admin. Admin is always able to edit any review request.
- Discarding and undiscarding a review request.
- Dealing with previous review request that existed before my change. The submitter field is populated correctly. Edit permissions acting properly before changing submitter. Changed submitter and still acting correctly.

Thanks,

CrystalLokKoo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »