fix for project creation: group projects don't count towards user's project limit
Add the http(s) command lines in the mails for the new origin when a project was moved in an other namespace.
Limit the width of images in emails

This fixes an issue in Mail.app, where large images would expand outside
of the viewport.
Update events helper to also return a URL for notes.

This fixes #304 since it was linking back to the dashboard feed
only as a result of it being given no URL at all for notes.
Add summaries for notes and merge requests to dashboard feed.

This fixes #305.
Add trailing newline to all text files.

Present in the large majority of files of each respective type.
CSS fix

1px border on hover of last item in tree view
Fixes issue #101
Update events helper to remove wall-related sections.
Remove protected_atrributes gem and start moving to strong params

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fix username validation message to match regexp.

Also used for project, group and web ui new file names.
Project services to strong params

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Use strong params for 5 more models

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Rename MergeRequest#lock! to #lock_mr!

As a warning from the StateMachine gem points out to us, there already
exists a method ActiveRecord#lock!. This change renames the `lock` and
`unlock` events defined on MergeRequest to `lock_mr` and `unlock_mr`.
User model to strong params. Comment other attr_accessible to let tests run

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Note strong_params

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Group and Event strong_params

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Key strong params

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'lock_warning' into 'master'

Rename MergeRequest#lock! to #lock_mr!
Fix dev env. Fix MR creation

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
team member and hook strong params

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>