Commit graph

24 commits

Author SHA1 Message Date
Annabel Dunstone Gray
c6cd31edec Change activity view wording 2017-03-07 12:18:28 -06:00
Annabel Dunstone Gray
1565d7f6e6 Remove readme-only project view preference 2017-03-06 14:49:59 -06:00
Dmitriy Zaporozhets
b3971d0f21
Change default project view for user from readme to files view
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-03-03 10:24:06 +02:00
Annabel Dunstone Gray
4b7f0b327c Remove all gitlab theme related code 2017-02-15 13:31:18 -06:00
Robert Speicher
5db56efe42 Enable Style/RedundantException cop and correct offense 2017-02-10 17:40:38 -05:00
tiagonbotelho
f0ed5fea81 adds fix for security issue when annonymous user does not have access to repository we now display the activity feed instead of the readme 2016-11-17 12:42:21 +00:00
tiagonbotelho
062c9a08c4 change empty project view to annonymous user from activity to empty partial 2016-11-11 22:57:23 +00:00
tiagonbotelho
0527ea0992 adds guard clause for readme model method and initializes a new view with proper stylesheets 2016-11-11 22:17:56 +00:00
Felipe Artur
da07c2e4d3 Add visibility level to project repository 2016-10-17 18:12:18 -02:00
Elias Werberich
c3a98d8fcc Implementing 'Groups View' and 'TODOs View' as options for dashboard preferences.
Fixes #14585.
2016-03-24 19:59:54 +01:00
Douwe Maan
6f0856535e Remove redundant helper method. 2015-10-17 19:16:04 +02:00
Douwe Maan
70240f433c Merge branch 'master' into cristianbica/gitlab-ce-user-project-view-files 2015-10-17 18:20:04 +02:00
Peter Göbel
291e1fa930 improved code style and layout option naming 2015-10-05 18:09:05 +02:00
Peter Göbel
e2c5d08e7e added user preference to change layout width 2015-10-05 17:22:47 +02:00
Cristian Bica
c528043439 Allow users to select the Files view as default project view 2015-10-01 17:05:20 +03:00
Stan Hu
0383afc66a Add user preference to view project activity and starred project activity as default dashboard
Closes #2662
2015-09-26 08:46:05 -07:00
Robert Speicher
7a81dc65d9 Re-add user_color_scheme helper
Update PreferencesHelper specs
2015-08-26 11:33:44 -07:00
Robert Speicher
2c3e42e4a4 Remove user_color_scheme_class
Instead of rendering this value server-side, we use Javascript and Gon
to apply the user's color scheme (or the default) to any syntax
highlighted code blocks.

This will make it easier to cache these blocks in the future because
they're no longer state-dependent.
2015-08-25 15:32:38 -07:00
Robert Speicher
4344b8d2d4 Add Gitlab::ColorSchemes module
Very similar to Gitlab::Theme, this contains all of the definitions for
our syntax highlighting schemes.
2015-08-25 15:32:38 -07:00
Dmitriy Zaporozhets
5f34759ecb
Allow user to specify content he wants to see on project page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-13 18:24:15 +02:00
Robert Speicher
d2894a39e5 Refactor dashboard_choices 2015-06-13 17:59:13 -04:00
Robert Speicher
fb5271ddf1 Make the dashboard choice text match the text in the sidebar 2015-06-13 17:59:12 -04:00
Robert Speicher
1eb9a02f21 Add a form field to customize the dashboard preference 2015-06-13 17:59:11 -04:00
Robert Speicher
8112f7550b Add PreferencesHelper module
Consolidates the helpers related to user preferences.

Renames `app_theme` to `user_application_theme` to better explain what
it is.
2015-06-13 17:58:16 -04:00