Douwe Maan
70a3c165a9
Allow custom label to be set for authentication providers.
2015-07-23 15:20:12 +02:00
Stan Hu
f4f216db67
Only enable HSTS header for HTTPS and port 443
...
Closes https://github.com/gitlabhq/gitlabhq/issues/9449
2015-07-12 21:37:10 -07:00
Robert Speicher
335749d754
Ensure `@sort` is set by set_filters_params
...
Closes #1750
2015-07-08 18:17:13 -04:00
Daniel Gerhardt
bee3979a4a
Fix redirection to home page URL for unauthorized users
...
Redirection to the home page URL was broken by changing the target for
`root_url` from `DashboardController` to `RootController` in
94d3c1433d . This regression was introduced
in the 7.12.0 release.
Fixes #1916 .
2015-07-03 00:22:20 +02:00
Stan Hu
07efb17e10
Fix 403 Access Denied error messages when accessing Labels section in a project that has MRs disabled but issues enabled
...
Closes #1813
2015-06-18 03:15:05 -07:00
Alex Lossent
60225a067d
Allow to configure a URL to show after sign out
2015-05-29 18:20:15 +02:00
Douwe Maan
45e4727f97
Set milestone on new issue when creating issue from index with milestone filter active.
2015-05-27 14:22:11 +02:00
Robert Speicher
e512f770cd
Fix Devise parameter sanitizer for otp_attempt
2015-05-09 17:31:40 -04:00
Dmitriy Zaporozhets
de9e1c3bad
Turn 2-factor authentication into 2 steps process. Disabled 2fa UI for ldap users since it is not supported
2015-05-09 17:31:10 -04:00
Dmitriy Zaporozhets
e097812f57
Merge pull request #9234 from dsander/group-milestones-by-title
...
Group milestones by title in the dashboard and all other issue views
2015-05-03 14:29:31 +03:00
Douwe Maan
92fd3ccee0
Add helpers for header title and sidebar, and move setting those from controllers to layouts.
2015-05-01 10:39:16 +02:00
Dominik Sander
8d17e79d1d
Removed unused ApplicationController#set_filter_values method
...
The instance variables assigned in `set_filter_values` are not used by
anything anymore.
2015-05-01 00:18:40 +02:00
Robert Speicher
aa9435cddb
Remove duplicate settings for default_url_options
...
Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2269
2015-04-25 19:46:04 -04:00
Dmitriy Zaporozhets
d4fb062d97
Merge branch 'sign-out-to-sign-in' into 'master'
...
Redirect to sign in page after signing out.
Addresses internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2125 .
See merge request !541
2015-04-23 12:38:11 +00: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
Douwe Maan
80657c818c
Redirect to sign in page after signing out.
2015-04-18 12:06:50 +02:00
Douwe Maan
36b54fc04f
Don't crash when project repository doesn't exist.
2015-04-14 23:26:53 +02:00
Douwe Maan
0ece6bd828
Use `\A` and `\z` in regexes instead of `^` and `$`.
2015-04-10 18:31:07 +02:00
Stan Hu
dfd256f29e
Support configurable attachment size via Application Settings
...
Fix bug where error messages from Dropzone would not be displayed on the issues page
Closes #1258
2015-04-02 00:04:08 -07:00
Stan Hu
8173ef976f
Set Application controller default URL options to ensure all url_for calls are consistent
...
Closes #1249
2015-03-25 12:27:10 -07:00
Dmitriy Zaporozhets
f0cbbd70bb
Use same constant for amount of items per page
2015-03-12 15:37:00 -07:00
Dmitriy Zaporozhets
6de4e4a622
Include route helper shortcut in controller
2015-02-26 09:34:20 -08:00
Douwe Maan
448817c4de
Load public key in initializer.
2015-02-24 15:07:24 +01:00
Vinnie Okada
76aad9b76e
Upgrade to Rails 4.1.9
...
Make the following changes to deal with new behavior in Rails 4.1.2:
* Use nested resources to avoid slashes in arguments to path helpers.
2015-02-14 11:09:23 -07:00
Dmitriy Zaporozhets
bbca6a0abd
Refactor sorting in project
2015-02-05 19:15:05 -08:00
Marin Jankovski
537cd66d7e
Add gitlab internal issue tracker service.
2015-01-28 09:28:17 -08:00
Steven Burgart
5c80160218
Fix various typos
...
signe-in -> signed-in
go_to_gihub_for_permissions -> go_to_github_for_permissions
descendand -> descendant
behavour -> behaviour
recepient_email -> recipient_email
generate_fingerpint -> generate_fingerprint
dependes -> depends
Cant't -> Can't
wisit -> visit
notifcation -> notification
sufficent_scope -> sufficient_scope?
levet -> level
2015-01-18 10:29:37 -05:00
Dmitriy Zaporozhets
f2eb234c06
Fix passign args to original authenticate_user!
2015-01-16 18:12:15 -08:00
Dmitriy Zaporozhets
41d7be3ce1
Allow to specify home page for non logged-in users
2015-01-16 16:01:15 -08:00
Dmitriy Zaporozhets
57a65ede77
Improve application settings and write tests
2015-01-08 09:53:35 -08:00
Dmitriy Zaporozhets
465f186954
Show assigned issues/mr be default on dashboard
...
This was default before but now it fixed with providing assignee_id
parameter making url shareble and dont reset when other filters users.
Also this commit removes old methods that are not used any more.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-26 18:33:53 +02:00
Dmitriy Zaporozhets
97d7c06f78
Fix scroll problems and disable authorized_only filter
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-24 12:56:03 +02:00
Dmitriy Zaporozhets
7b792af872
Improvements to issues/mr filters:
...
* use filter_params variable when set filter values
* fix project issues spinach tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-24 11:39:03 +02:00
Dmitriy Zaporozhets
016981c009
Refactor issuable list pages
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-24 11:04:33 +02:00
Dmitriy Zaporozhets
47634e392f
Refactor issues and merge requests lists
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-23 18:49:39 +02:00
Dmitriy Zaporozhets
beabf5db8c
Merge pull request #8091 from cirosantilli/factor-ability-abilities
...
Factor abilities methods
2014-10-28 12:09:55 +02:00
Dmitriy Zaporozhets
1657750a6a
Merge pull request #8028 from cirosantilli/rm-dev-tools
...
Remove unused dev_tools helper.
2014-10-21 11:55:36 +03:00
Dmitriy Zaporozhets
8ad9a75f88
Merge pull request #8030 from cirosantilli/factor-authorize
...
Factor authorize_push! and authorize_code_access!
2014-10-21 11:43:12 +03:00
Ciro Santilli
9e1b97ad99
Use @project on controllers, don't call method
...
Also memoize the method to ensure that other methods in
ApplicationController that rely on it can call it efficiently.
2014-10-19 23:36:23 +02:00
Ciro Santilli
b66a152735
Factor abilities methods
...
in app controller, user model and services.
2014-10-19 11:12:39 +02:00
Ciro Santilli
4d0d5e79ba
Factor authorize_push! and authorize_code_access!
...
with existing method_missing. Pattern already used extensively,
so let's be consistent and use it everywhere.
2014-10-13 21:31:49 +02:00
Ciro Santilli
c278520f9b
Remove unused dev_tools helper.
2014-10-13 21:21:58 +02:00
Dmitriy Zaporozhets
f815115de6
Protect from forgery with exception
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-10-06 16:18:25 +03:00
Ciro Santilli
2e9f5de868
Add parenthesis to function def with arguments.
2014-10-03 09:18:46 +02:00
Jacob Vosmaer
669682686e
Move LDAP timeout code to Gitlab::LDAP::Access
2014-08-06 18:03:01 +02:00
Marin Jankovski
07b9d80604
Use devise stored_location to redirect after signing for both public and private pages.
2014-07-11 19:53:10 +02:00
Marin Jankovski
55efb2d9f2
Revert "Merge branch 'redirect_after_login' into 'master'"
...
This reverts commit 5aaa35656e , reversing
changes made to 5b8c176767 .
2014-07-11 19:53:10 +02:00
Marin Jankovski
60cc1d8e92
Override strong params for sign up.
2014-07-10 19:31:05 +02:00
Marin Jankovski
108be8a666
Update to accomodate devise deprecations and backward incompatible changes.
2014-07-10 13:56:35 +02:00
Marin Jankovski
1e3fce1a82
Check for the correct param for token.
2014-07-10 13:10:37 +02:00