summaryrefslogtreecommitdiffstats
path: root/app/models/committership.rb
Commit message (Collapse)AuthorAgeFilesLines
* Don't attempt to create a committership delete event when deleting a userJohan Sørensen2009-12-101-0/+1
|
* attr_protect Committership#permisssions from mass attribute updatesJohan Sørensen2009-11-301-4/+13
| | | | | | Also ad a Committership::create_with_permission to easy expressing things, mostly for usable for test and utility code NOT for controller code.
* Make it more obvious that the new message notifications are just thatJohan Sørensen2009-11-301-2/+2
| | | | | The outgoing email notification when receiving a private message should be a lot clearer that it is a message
* Don't blow up if Committership#build_permissions receives nilJohan Sørensen2009-11-261-1/+1
|
* No reason to skip bits in the Committership permissionsJohan Sørensen2009-11-241-2/+2
|
* Use "Collaborator" instead of "Committer" when adding new committershipsJohan Sørensen2009-11-191-1/+1
| | | | | The Committership class really needs a different name now that they have more fine-grained permissions, but now just change the UI.
* Add controller+view code for setting permissions on a CommittershipJohan Sørensen2009-11-191-0/+1
|
* Be able to get a list of permissions out of a CommittershipJohan Sørensen2009-11-191-0/+4
|
* Create the proper initial Committership permissions when a repository is createdJohan Sørensen2009-11-191-0/+7
|
* Added auxiliary methods on Committership for checking and fetching based on ↵Johan Sørensen2009-11-191-10/+31
| | | | permission masks
* Add a permissions bitmask to CommittershipJohan Sørensen2009-11-191-15/+36
|
* In stead of destroying messages when their notifiablesMarius Mathiesen2009-06-021-0/+6
| | | | | | | | | are destroyed (which could lead to messages becoming invisible), we nullify the notifiable references. Since AR's dependent => nullify only nullifies the id, not the type, a before_destroy filter is introduced.
* Committerships should be unique for a repo and committer.Marius Mathiesen2009-05-131-0/+2
|
* More elaborate notifications when adding a user to a team or as committerJohan Sørensen2009-04-221-1/+12
|
* Updated copyrights-blurb in all application filesJohan Sørensen2009-04-221-1/+5
|
* Create an event when a committer is added/removed from a repositoryJohan Sørensen2009-04-221-0/+12
|
* Sending a notification to a repository's owners (new method) when a ↵Marius Mathiesen2009-04-221-0/+11
| | | | | | committership is created. Fixed a bug where the subject provided through the controller would be replaced in the model (HashWithIndifferentAccess, yay).
* Clicking the "manage committers" link on a repository takes them to theJohan Sørensen2009-04-221-1/+4
| | | | committerships page
* [migration] Renamed participations to CommittershipsJohan Sørensen2009-04-221-0/+44
|
* Nuke the Committership model and tableJohan Sørensen2009-04-221-27/+0
| | | | Its responsibility is now under groups
* Add copyright and license headers (AGPL) to code filesTor Arne Vestbø2008-11-281-0/+18
| | | | | The authors in each copyright header was computed by running 'git log --reverse' on that particular file.
* refactoring to use polymorphic associations (USER does ACTION on X)David A. Cuadrado2008-04-071-0/+1
| | | | Signed-off-by: David A. Cuadrado <krawek@gmail.com>
* rename Permission to CommittershipJohan Sørensen2007-12-131-0/+8