Simplify template code
Fix templates
Add member limit check in do_join_project
Fix some arg names
Simple refactor: do_* methods always take a project_id argument;select_for_update for project and membership
Generalize member limit violation check
Commit before trying to lock, to avoid blocking
Remove foreign key constraints from ProjectMembershipHistory
Add ForUpdateManager for Project and ProjectApplication
Select for update existing Project in approve
View revisions
Also available in: Atom