Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

961 folder creation #1012

Merged
merged 37 commits into from
Dec 6, 2014
Merged

961 folder creation #1012

merged 37 commits into from
Dec 6, 2014

Conversation

eugenk
Copy link
Member

@eugenk eugenk commented Aug 19, 2014

fixes #961

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) when pulling 197bfb8 on 961-folder_creation into 1fb37a9 on staging.

def persisted?
false
end

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/EmptyLinesAroundBody: Extra empty line detected at body end.

@@ -0,0 +1,35 @@
class RepositoryDirectoriesController < InheritedResources::Base

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/FileName: Use snake_case for source file names.

protected

def resource
@repository_directory ||= RepositoryDirectory.new(params.merge(user: current_user))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/LineLength: Line is too long. [87/80]

target_filename
else
temp_file.original_filename
end

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint/EndAlignment: end at 118, 4 is not aligned with if at 114, 15

The 'Create subdirectory' button now adds a line to the file browser
containing a form. When this form is sent, an XHR is sent. If the
directory could be created, the form is replaced by a link. Otherwise
an error message is shown.

The user can show as many forms as he wants.
This was originally bringit code that showed information on the last
commit of each file in the file browser.

This was deactivated (but not entirely deleted) because of serious
performance issues on big repositories.
@SGraef
Copy link
Member

SGraef commented Dec 6, 2014

👍

eugenk added a commit that referenced this pull request Dec 6, 2014
@eugenk eugenk merged commit 5f21456 into staging Dec 6, 2014
@eugenk eugenk deleted the 961-folder_creation branch December 6, 2014 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

creation of folders through the file browser GUI
4 participants