- 11 Jul, 2016 4 commits
-
-
Connor Shea authored
-
connorshea authored
This is probably a horrible way of fixing this issue, but it does work. I can’t find much information on linking this deeply with Rails routes. Resolves #14872.
-
DJ Mountney authored
This allows us to drop our disable email config override
-
Sean McGivern authored
-
- 08 Jul, 2016 1 commit
-
-
Sean McGivern authored
When rendering a list of diff files, skip those where the diff is over 10 KB and provide an endpoint to render individually instead.
-
- 05 Jul, 2016 1 commit
-
-
Timothy Andrew authored
1. Allow entering any branch name for a protected branch. - Either pick from a list of options, or enter it manually - You can enter wildcards. 2. Display branches matching a protected branch. - Add a `ProtectedBranches#show` page that displays the branches matching the given protected branch, or a message if there are no matches. - On the `index` page, display the last commit for an exact match, or the number of matching branches for a wildcard match. - Add an `iid` column to `protected_branches` - this is what we use for the `show` page URL. - On the off chance that this feature is unnecessary, this commit encapsulates it neatly, so it can be removed without affecting anything else. 3. Remove the "Last Commit" column from the list of protected branches. - There's no way to pull these for wildcard protected branches, so it's best left for the `show` page. - Rename the `@branches` instance variable to `@protected_branches` - Minor styling changes with the "Unprotect" button - floated right like the "Revoke" button for personal access tokens 4. Paginate the list of protected branches. 5. Move the instructions to the left side of the page.
-
- 04 Jul, 2016 1 commit
-
-
Paco Guzman authored
-
- 01 Jul, 2016 2 commits
-
-
Grzegorz Bizon authored
-
Paco Guzman authored
-
- 30 Jun, 2016 5 commits
-
-
Connor Shea authored
quiet_assets has been seemingly abandoned, and now sprockets-rails has the feature built-in! From this PR: https://github.com/rails/sprockets-rails/pull/355
-
Eric K Idema authored
This stands as an alternative to using OAuth to access a user's Github repositories. This is setup in such a way that it can be used without OAuth configuration. From a UI perspective, the how to import modal has been replaced by a full page, which includes a form for posting a personal access token back to the Import::GithubController. If the user has logged in via GitHub, skip the Personal Access Token and go directly to Github for an access token via OAuth.
-
DJ Mountney authored
This allows us to control the trusted proxies while deployed in a private network. Normally Rack::Request will trust all private IPs as trusted proxies, which can caue problems if your users are connection on you network via private IP ranges. Normally in a rails app this is handled by action_dispatch request, but rack_attack is specifically using the Rack::Request object instead.
-
Alejandro Rodríguez authored
-
Alejandro Rodríguez authored
-
- 29 Jun, 2016 5 commits
-
-
Connor Shea authored
-
Josh Frye authored
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-
Josh Frye authored
-
- 24 Jun, 2016 4 commits
-
-
Stan Hu authored
Closes #19132 [ci skip]
-
DJ Mountney authored
There was nothing additional in the full checks that we want to run (email, custom)
-
DJ Mountney authored
The email check used in the Heath Check doesn't properly make use of enough of the SMTP config options to be able to properly test the STMP connection, and as a result could cause a failure. In order to fix it we have overwritten the email_configured? method in the health check so that it does not check email status during the standard health check.
-
Yorick Peterse authored
This commit changes the way certain documents are rendered (currently only Notes) and how documents are redacted. Previously both rendering and redacting would run on a per document basis. The result of this was that for every document we'd have to run countless queries just to figure out if we could display a set of links or not. This commit changes things around so that redacting Markdown documents is no longer tied into the html-pipeline Gem. This in turn allows it to redact multiple documents in a single pass, thus reducing the number of queries needed. In turn rendering issue/merge request notes has been adjusted to take advantage of this new setup. Instead of rendering Markdown somewhere deep down in a view the Markdown is rendered and redacted in the controller (taking the current user and all that into account). This has been done in such a way that the "markdown()" helper method can still be used on its own. This particular commit also paves the way for caching rendered HTML on object level. Right now there's an accessor method Note#note_html which is used for setting/getting the rendered HTML. Once we cache HTML on row level we can simply change this field to be a column and call a "save" whenever needed and we're pretty much done.
-
- 23 Jun, 2016 2 commits
-
-
Connor Shea authored
-
Connor Shea authored
-
- 22 Jun, 2016 1 commit
-
-
connorshea authored
Hamlit is a library that's faster than Haml while implementing most of its features: https://github.com/k0kubun/hamlit Not sure if this breaks anything, but as far as I can tell most things work the same. No obvious regressions that I've been able to find.
-
- 21 Jun, 2016 1 commit
-
-
James Lopez authored
-
- 20 Jun, 2016 1 commit
-
-
Rémy Coutable authored
By eager-loading the Mail gem in the Sidekiq initializer. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 18 Jun, 2016 1 commit
-
-
Phil Hughes authored
-
- 17 Jun, 2016 5 commits
-
-
Phil Hughes authored
Re-structured controller spec Renamed issuable param to issuable_id
-
James Lopez authored
-
Lin Jen-Shin authored
-
Phil Hughes authored
Based on feedback from !4502
-
Felipe Artur authored
-
- 16 Jun, 2016 3 commits
-
-
James Lopez authored
This reverts commit 13e37a3e.
-
Sean McGivern authored
-
James Lopez authored
-
- 15 Jun, 2016 2 commits
-
-
James Lopez authored
-
James Lopez authored
-
- 14 Jun, 2016 1 commit
-
-
James Lopez authored
-