Merge lp:~acoconut/systers/flexible_essays into lp:systers
Status: | Needs review |
---|---|
Proposed branch: | lp:~acoconut/systers/flexible_essays |
Merge into: | lp:systers |
Diff against target: |
336 lines (+151/-40) 6 files modified
Mailman/Cgi/admindb.py (+10/-7) Mailman/Cgi/listinfo.py (+20/-7) Mailman/Cgi/subscribe.py (+46/-7) Mailman/DlistUtils.py (+68/-11) Mailman/ListAdmin.py (+6/-2) bin/rmlist (+1/-6) |
To merge this branch: | bzr merge lp:~acoconut/systers/flexible_essays |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robin J | Pending | ||
beachbrake | Pending | ||
Review via email: mp+119042@code.launchpad.net |
Description of the change
I found where rejections are handled and added the functionality to mark answers as rejected or discarded. We never talked about discarded and I don't know if we want to have a "discarded" status or if we want both of them to be "rejected".
I created the new functions to do this in DlistUtils.py. I could have one function to change the status and pass the new status as an argument or I could have three different functions the way I have it now. What do you think?
Unmerged revisions
- 99. By Ana Cutillas <email address hidden>
-
Added support for setting answers to rejected in the database.
- 98. By Ana Cutillas <email address hidden>
-
Changed the logic in the checking of answers in subscribe.py
Cleaned up DlistUtils.py - 97. By Ana Cutillas <email address hidden>
-
Made the changes suggested by Robin: concerning error messages and
asserting the size of the answers.Added the code to mark answers as accepted in the database when a user
is accepted. - 96. By Ana Cutillas <email address hidden>
-
Added the error message saying that the user hasn't been subscribe to
the list when a user tries to subscribe with a pending subscription. - 95. By Ana Cutillas <email address hidden>
-
Added the functionality to check that the answers aren't longer than
what the database can hold. - 94. By Ana Cutillas <email address hidden>
-
Added changes to show the new essays in the pending subscriptions table.
Handle the possibility of a user trying to subscribe twice before the
subscription is reviewed. - 93. By Ana Cutillas <email address hidden>
-
Removed the unused function get_answer from DlistUtils.py
- 92. By Ana Cutillas <email address hidden>
-
Cleaned up DlistUtils and changed the error message in subscribe. Added
comments. - 91. By Ana Cutillas <email address hidden>
-
Cleaned up.
- 90. By Ana Cutillas <email address hidden>
-
Cleaned up listinfo.py