Yorick Peterse
84e2be5a5f
Turn Group#owners into a has_many association
...
This allows the owners to be eager loaded where needed.
2016-06-16 11:10:41 +02:00
Rémy Coutable
515205d3c1
UI and copywriting improvements
...
+ Move 'Edit Project/Group' out of membership-related partial
+ Show the access request buttons only to logged-in users
+ Put the request access buttons out of in a more visible button
+ Improve the copy in the #remove_member_message helper
Signed-off-by: Rémy Coutable <remy@rymai.me >
2016-06-14 13:18:14 +02:00
Rémy Coutable
d26f81239a
Add request access for groups
...
Signed-off-by: Rémy Coutable <remy@rymai.me >
2016-06-14 13:07:26 +02:00
Jeroen van Baarsen
f1479b56b7
Remove the annotate gem and delete old annotations
...
In 8278b763d9 the default behaviour of annotation
has changes, which was causing a lot of noise in diffs. We decided in #17382
that it is better to get rid of the whole annotate gem, and instead let people
look at schema.rb for the columns in a table.
Fixes : #17382
2016-05-09 18:00:28 +02:00
Douwe Maan
31266c5be4
Address feedback
2016-03-22 00:09:20 +01:00
Douwe Maan
45e8650c4f
Fix specs
2016-03-20 23:26:58 +01:00
Douwe Maan
19aa20d528
Fix more specs
2016-03-20 23:09:33 +01:00
Zeger-Jan van de Weg and Felipe Artur
b959ae553b
Improve group visibility level feature
2016-03-18 16:58:04 -03:00
Felipe Artur
44c127447b
Merge 4009-external-users into issue_12658
2016-03-16 20:16:42 -03:00
Yorick Peterse and Robert Speicher
ce5e831bcf
Use ILIKE/LIKE for searching groups
2016-03-11 15:25:21 -05:00
Felipe Artur
f2a9ee258e
Add permission level to groups
2016-03-10 10:38:36 -03:00
Stan Hu
79c0e7212a
Annotate models
2016-01-06 13:09:55 +00:00
Valery Sizov
8b18449125
remove public field from namespace and refactoring
2016-01-04 16:00:29 +02:00
Douwe Maan
1e8d703a85
Tag model specs
2015-12-09 10:50:51 +01:00
Yorick Peterse
a74d6d2043
Group methods for filtering public/visible groups
...
These methods will be used to get a list of groups, optionally
restricted to only those visible to a given user.
2015-11-18 13:05:45 +01:00
Dmitriy Zaporozhets
a237999f00
Annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-11-13 19:22:46 +01:00
Valery Sizov
6051c28fc0
Allow groups to appear in the search results if the group owner allows it
2015-11-05 13:18:51 +02:00
Robert Speicher
c0faf91ff2
Add to_reference for models that support references
...
Now there is a single source of information for which attribute a model
uses to be referenced, and its special character.
2015-05-26 15:48:30 -04:00
Jeroen van Baarsen
0c4a70a306
Updated rspec to rspec 3.x syntax
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2015-02-12 19:17:35 +01:00
Dmitriy Zaporozhets
8210d81381
Replace old references of users_project & users_group
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-14 19:51:54 +03:00
Dmitriy Zaporozhets
c69b8e0459
Huge replace of old users_project and users_group references
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-14 19:32:51 +03:00
Dmitriy Zaporozhets
36f861f1b1
Re-annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-09 15:05:03 +03:00
Steven Thonus
251df827a5
added group avatars
2014-01-28 08:38:00 +01:00
Marin Jankovski
97cf31c4cb
Update user access level when adding to group.
2013-10-14 15:15:14 +02:00
Dmitriy Zaporozhets
e219cf7246
Annotate!
2013-10-01 15:15:28 +03:00
Dmitriy Zaporozhets
0a2a34a4d1
Ignore owner_id for Group in tests
2013-09-26 14:52:17 +03:00
Dmitriy Zaporozhets
21f7c99c25
group add_users spec
2013-06-26 15:32:09 +03:00
Dmitriy Zaporozhets
21b1fee92c
reannotated
2013-03-15 15:16:02 +02:00
Dmitriy Zaporozhets
eb1004f789
Refactor abilities. Added ProjectUpdate context. Fixed few bugs with namespaces
2012-11-29 12:39:03 +02:00
Dmitriy Zaporozhets
f614ae8ef7
Increased test coverage
2012-11-21 07:14:05 +03:00
Dmitriy Zaporozhets
65c470e843
Reannotated
2012-11-24 22:16:51 +02:00
Dmitriy Zaporozhets
e92b563acf
Fix model tests
2012-11-23 20:53:24 +02:00
Dmitriy Zaporozhets
95c23b2f97
Annotated. schema updated
2012-11-19 21:24:05 +03:00
Andrey Kumanyaev
a4cd738686
tests fix
2012-10-09 04:10:16 +04:00
Dmitriy Zaporozhets
d683ce5c10
refactored factory + fixed tests
2012-10-02 18:20:46 +03:00
Dmitriy Zaporozhets
fa3ae24ca7
Group entity. Group has many projects
2012-10-02 18:17:12 +03:00