Felipe Artur
07b38c3b38
Code fixes
2016-04-18 11:12:27 -03:00
Felipe Artur
e8a77c0aee
Fix code
2016-04-18 11:12:27 -03:00
Felipe Artur
668d6ffa43
Add specs and fix code
2016-04-18 11:12:27 -03:00
Felipe Artur
57519565f1
Move verification to abilities
2016-04-18 11:12:27 -03:00
Felipe Artur
b05f0a4858
Restrict user profiles based on restricted visibility levels
2016-04-18 11:11:36 -03:00
Douwe Maan
ae7b2ef62c
Merge branch 'master' into issue_12658
...
# Conflicts:
# app/models/issue.rb
# app/views/projects/_home_panel.html.haml
# app/views/shared/projects/_project.html.haml
# db/schema.rb
# spec/models/project_spec.rb
2016-03-21 23:22:21 +01:00
Robert Speicher
085538c2bd
Use the configured Kaminari "per page" default
2016-03-19 17:37:54 -04:00
Felipe Artur
ec20fdf366
Code improvements and add Create group service
2016-03-16 19:44:33 -03:00
Felipe Artur
c3e70280df
Prevent projects to have higher visibility than groups
...
Prevent Groups to have smaller visibility than projects
Add default_group_visibility_level to configuration
Code improvements
2016-03-10 10:38:36 -03:00
Felipe Artur
5551ccd720
Code improvements
2016-03-10 10:38:36 -03:00
Rémy Coutable
dec4e89e5b
In UsersController#calendar_activities, when Date isn't parsable, fallback to Date.today
...
For some reason, GoogleBot accesses /u/:username/calendar_activities without
a :date param, but then the view was trying to call #to_s(:short) which
doesn't exist on nil, leading to the following Sentry report:
https://sentry.gitlap.com/gitlab/gitlabcom/issues/1182/
2016-03-03 12:16:32 +01:00
Alfredo Sumaran
9f1c3bb765
Merge branch 'master' into improve-user-tabs
2016-03-01 13:37:03 -05:00
Alfredo Sumaran
f0b8779047
Make url and actions to be the same name
2016-03-01 11:43:22 -05:00
Alfredo Sumaran
10eb6d3cd7
Respond with 'show' view. Tab content will be loaded dinamically
2016-03-01 11:22:27 -05:00
Alfredo Sumaran
b522ef4b69
Respond to .json requests
2016-02-29 16:40:57 -05:00
Josh Frye
cc9f93f9d2
Add routes and actions for dynamic tab loading
2016-02-29 08:24:07 -05:00
James Lopez
303e9eb5bf
include contributions from forked projects on profile calendar
2016-02-22 15:46:29 +01:00
Josh Frye
2ad094132d
Various filter fixes
2016-02-04 13:03:41 -05:00
Valery Sizov
8b18449125
remove public field from namespace and refactoring
2016-01-04 16:00:29 +02:00
Yorick Peterse
fbdf376749
Refactor UsersController to not kill the database
...
Previously this controller would in multiple places load tons (read:
around 65000) project and/or group IDs into memory. These changes in
combination with the previous commits significantly cut down loading
times of user profile pages and the Atom feeds of users.
2015-11-18 13:05:45 +01:00
Valery Sizov
ff30b40754
Make all profile public
2015-08-27 13:06:14 +03:00
Douwe Maan
a2eee3181c
Fix title on user page.
2015-05-01 11:33:54 +02:00
Douwe Maan
26ad250989
Add a page title to every page.
2015-04-30 19:12:15 +02:00
Jeroen van Baarsen
5a4ebfb47a
Fixed the Rails/ActionFilter cop
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-04-20 15:39:37 +02:00
Dmitriy Zaporozhets
c5d65ed62f
Merge branch 'userpage-activity-scroll'
...
Conflicts:
app/controllers/users_controller.rb
2015-03-23 09:45:40 -07:00
Dmitriy Zaporozhets
fee1f2e0ab
Fix atom feed for user page
2015-03-22 19:41:12 -07:00
Dmitriy Zaporozhets
9968250211
Add inifinite scroll to user activity on user page
2015-03-22 15:40:26 -07:00
Dmitriy Zaporozhets
43afe46bbd
Refactor contributions events and write tests for calendar
2015-03-22 13:55:00 -07:00
Dmitriy Zaporozhets
64891c6c40
Replace commits calendar with contributions calendar
...
* count opening of issues and merge requests
* dont trigger git repository - use events from database
* much-much faster since does not affected by repository size
2015-03-21 23:48:08 -07:00
Hannes Rosenögger
9e5738b007
Extend the commit calendar to show the actual commits for a date
2015-03-18 08:42:42 +01:00
Douwe Maan
1bf9fa8c7f
Exclude forks from profile contributions list.
2015-02-24 16:28:23 +01:00
Dmitriy Zaporozhets
2f0a764d31
Fix user page performance and authorization
2015-02-18 13:28:24 -08:00
Dmitriy Zaporozhets
63f11a68c5
Fix event loading with associations
2015-02-18 09:38:46 -08:00
Dmitriy Zaporozhets
a8a328b151
DB performance improvements to GitLab
2015-02-18 00:16:42 -08:00
Dmitriy Zaporozhets
70edf950fe
Show contributed projects on user page and stars for it
2015-02-17 22:40:00 -08:00
Douwe Maan
34cc4c5982
Link head panel titles to relevant root page.
2015-02-13 14:31:51 +01:00
Dmitriy Zaporozhets
f1cf49218f
Improve contribution calendar on user page
...
* cache user contributions for day
* ignore forks in calendar contribtuions
2015-01-29 17:07:44 -08:00
Dmitriy Zaporozhets
08582f1532
Improve user calendar authentification and tests
2015-01-29 08:55:57 -08:00
Dmitriy Zaporozhets
1f0e16569f
Load contribution calendar via AJAX
2015-01-29 01:20:17 -08:00
Dmitriy Zaporozhets
a9288e554e
Cleanup and make contribution calendar faster
2015-01-29 00:53:43 -08:00
Dmitriy Zaporozhets
c39f80bdb4
Refactor commit calendar a bit. Fixed dates
2015-01-28 23:00:41 -08:00
Hannes Rosenögger
792ced2f41
Add a commit calendar to the user profile
2015-01-29 01:25:26 +01:00
Dmitriy Zaporozhets
a46fe875c6
Feature: atom feed for user activity
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-04 21:49:19 +02:00
Dmitriy Zaporozhets
0fdce4a52b
Refactor some search scopes to prevent wierd behaviour and PG::Error issues
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-05 20:37:35 +03:00
Dmitriy Zaporozhets
7984e5b1ef
Show events from all projects on user page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-03 18:09:51 +03:00
Dmitriy Zaporozhets
e9de569458
Fix tests for user page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-02 13:43:07 +03:00
Dmitriy Zaporozhets
72b295259e
Show only personal projects on profile page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-05-30 18:22:59 +03:00
Jason Hollingsworth
2f69213e3f
Allow access to groups with public projects.
...
Fixed Group avatars to only display when user has read
permissions to at least one project in the group.
2014-02-20 09:26:38 -06:00
Ciro Santillli
91571c078d
User pages are visible to users without login
...
... if the user is authorized to at least one public project.
2014-02-11 15:45:30 +01:00
skv
a3f645ef51
Remove deprecated finders
2014-01-19 23:39:56 +04:00