summaryrefslogtreecommitdiff
path: root/app/models/group.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove duplication between Group and ProjectMember.Douwe Maan2015-04-141-19/+2
|
* Let members be invited from Add members pane.Douwe Maan2015-04-141-3/+17
|
* Track who created a group or project member.Douwe Maan2015-04-141-7/+9
|
* Split up AttachmentUploader.Douwe Maan2015-02-201-1/+1
|
* Revert "Fix broken access control and refactor avatar upload"Dmitriy Zaporozhets2015-02-191-1/+1
| | | | This reverts commit 7d5f86f6cbd187e75a6ba164ad6bfd036977dd07.
* Fix broken access control and refactor avatar uploadHannes Rosenögger2015-02-161-1/+1
| | | | | | | | | | | This commit moves the note folder from /public/uploads/note to /uploads/note and changes the uploader accordingly. Now it's no longer possible to avoid the access control by modifing the url. The Avatar upload has been refactored to use an own uploader as well to cleanly seperate the two upload types.
* Refactor sorting in projectDmitriy Zaporozhets2015-02-051-16/+10
|
* Fix group search to check path as well as name.Tim Bishop2015-01-301-1/+1
| | | | | | | | | The API documentation says: "You can search for groups by name or path with: /groups?search=Rails" But you can't because the search query only checks the name, not the path. This fixes that.
* Added support for firing system hooks on group create/destroy and ↵Boyan Tabakov2015-01-271-0/+15
| | | | | | adding/removing users to group. Added tests and updated docs. Also adding 'user_id' field in the hooks for adding/removing user from team.
* Raise group avatar filesize limit to 200kb, fixes #8527Robert Schilling2015-01-021-1/+1
|
* Huge replace of old users_project and users_group referencesDmitriy Zaporozhets2014-09-141-10/+10
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Added public groups area to enhance searching and exploring of projectsdreis2014-07-151-0/+16
| | | | | | | | | | | | | | | | fixed whitespaces and quotes fixed whitespaces fixed devise.html.haml fixed method parenthesis in app/models/group.rb removed links from header removed links from devise.html added tests
* Group and Event strong_paramsDmitriy Zaporozhets2014-06-261-2/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* User model to strong params. Comment other attr_accessible to let tests runDmitriy Zaporozhets2014-06-261-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor some search scopes to prevent wierd behaviour and PG::Error issuesDmitriy Zaporozhets2014-06-051-6/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add ability rule for creating project in namespaceDmitriy Zaporozhets2014-05-281-1/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Re-annotate modelsDmitriy Zaporozhets2014-04-091-2/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Allow access to groups with public projects.Jason Hollingsworth2014-02-201-0/+6
| | | | | Fixed Group avatars to only display when user has read permissions to at least one project in the group.
* added group avatarsSteven Thonus2014-01-281-0/+16
|
* Fixed rails 4 deprecation warnings in groupsJeroen van Baarsen2013-12-101-1/+1
|
* Update user access level when adding to group.Marin Jankovski2013-10-141-1/+2
|
* Annotate!Dmitriy Zaporozhets2013-10-011-1/+1
|
* Group ownership completely based on users_groups relation nowDmitriy Zaporozhets2013-09-261-14/+11
| | | | | | | Before we have only owner_id to determine group owner With multiple owners per group we should get rid of owner_id in group. So from now @group.owner will always be nil but @group.owners return an actual array of users who can admin this group
* Modify permissions for project and groupDmitriy Zaporozhets2013-09-251-0/+4
| | | | | | | * Hooks and team pages allowed only for masters/owners * Group page allowed for admin * Corrent authentication for Projects controller * Hide some project elements from visitor
* Improve user block/removal from admin areaDmitriy Zaporozhets2013-08-271-1/+1
| | | | | Provide UI with explanation what happens when you block or remove user When remove user - remove all groups where user is an only owner
* Improve change group ownership logicDmitriy Zaporozhets2013-06-261-0/+11
|
* Add owner to group members after group createDmitriy Zaporozhets2013-06-181-17/+13
|
* Use project.team over project.usersDmitriy Zaporozhets2013-06-181-6/+0
|
* Added UsersGroup validations. Added ability to add UsersGroup to group via UIDmitriy Zaporozhets2013-06-181-0/+6
|
* create UsersGroup entity. Modify ability to check group owners instead one ownerDmitriy Zaporozhets2013-06-181-0/+6
|
* Update model methodsAndrey Kumanyaev2013-04-031-0/+1
|
* reannotatedDmitriy Zaporozhets2013-03-151-1/+1
|
* Description to groups addedAndrew8xx82013-02-281-7/+8
|
* Improve perfomance of removeing groupDmitriy Zaporozhets2012-12-301-0/+4
|
* Get rid of skipping callbacks in production code. Dont trigger gitolite more ↵Dmitriy Zaporozhets2012-12-301-3/+5
| | | | than once on import in group
* Code duplication removed from controllersAndrey Kumanyaev2012-12-261-0/+6
|
* Refactor abilities. Added ProjectUpdate context. Fixed few bugs with namespacesDmitriy Zaporozhets2012-11-291-1/+3
|
* ReannotatedDmitriy Zaporozhets2012-11-241-2/+3
|
* Ability to create project with namespaceDmitriy Zaporozhets2012-11-231-0/+4
|
* Namespace model added. Migration to convert exit project/groupsDmitriy Zaporozhets2012-11-221-20/+1
|
* Annotated. schema updatedDmitriy Zaporozhets2012-11-191-13/+12
|
* AnnotatedDmitriy Zaporozhets2012-10-091-0/+1
|
* simple refactoringAndrey Kumanyaev2012-10-091-14/+14
|
* Minore code-style fixesValeriy Sizov2012-10-041-1/+1
|
* SQL FixesDmitriy Zaporozhets2012-10-031-1/+5
|
* Spianch test for group dashboardDmitriy Zaporozhets2012-10-031-0/+4
|
* Admin Group scaffold -> new, show, indexDmitriy Zaporozhets2012-10-021-0/+6
|
* Group entity. Group has many projectsDmitriy Zaporozhets2012-10-021-0/+22