- Fixed Connection notifications in the User/Org ConnectionPage transactions
- Modified template for above notification so that it's a little cleaner
- Revamped ShowConnection's checkAccess() method so that it actually does what it's supposed to (and added a connectionFromKwargs() method to the Mutator class)
- Added newCommentContext() to gsoc.logic.helper.notifications for notifications of new Connections
- Added getComments() to and made associated changes in ShowConnection's conext() method
- Modified/Stole code from proposal_review and put it in the show_connection template in order to display GSoCComment instances
- Added PostHandler() class (also stolen from proposal_review) to gsoc/views/connection.py and modified it to work for Connections. Also added it to gsoc callback
- Added associated URL patterns to gsoc/views/helper/url_patterns and url_names
- Modified commentVisible() in soc/views/helper/access_checker to take an org argument so that it can be used by both proposal_review and connection without extensive modification - also modified where it is invoked in those two modules
There's probably more, but I think that this is a good list. Take a peek at the results:
User perspective:
Same data, org admin perspective:
This snippet idea was awesome, it really helps keep me on track and motivates me to get what I need done on time. I'm going to make one more change and try to eliminate the query in connectionFromKwargs() mentioned above and will commit everything tonight. The two big things on my radar right now are inviting users without profiles (or even entities) and integration; I need to start by fixing a link Daniel sent me on my production instance.
No comments:
Post a Comment