Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: redmine-git-hosting/redmine_git_hosting
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.2.1
Choose a base ref
...
head repository: redmine-git-hosting/redmine_git_hosting
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.2.x
Choose a head ref

Commits on Jul 24, 2016

  1. Fix repo url in Gitolite hooks

    root committed Jul 24, 2016
    Copy the full SHA
    1382c77 View commit details

Commits on Aug 15, 2016

  1. Fix #576

    root committed Aug 15, 2016
    Copy the full SHA
    b0e25c5 View commit details
  2. Fix #551

    root committed Aug 15, 2016
    Copy the full SHA
    a2d6242 View commit details

Commits on Oct 3, 2016

  1. added sub-uri fix by amelentjev (#472)

    Phiber2000 authored and Nicolas Rodriguez committed Oct 3, 2016
    Copy the full SHA
    441f787 View commit details

Commits on Oct 5, 2016

  1. Mount grack under http_server_subdir

    * config/routes.rb: Use “RedmineGitHosting::Config.http_server_subdir”
      with a fallback on “/”.
    baby-gnu committed Oct 5, 2016
    Copy the full SHA
    7354de3 View commit details

Commits on Nov 24, 2016

  1. “Remove user ID from Gitolite identifier” requires a restart

    Add a note to the admin.
    baby-gnu committed Nov 24, 2016
    Copy the full SHA
    90de5f9 View commit details

Commits on Dec 30, 2016

  1. Fix nil data case

    root committed Dec 30, 2016
    Copy the full SHA
    2d592f5 View commit details
  2. Copy the full SHA
    a111ac8 View commit details
  3. Ignore local settings file

    root committed Dec 30, 2016
    Copy the full SHA
    af0d817 View commit details
  4. Add support for 'one user' mode (fix #526)

    root committed Dec 30, 2016
    Copy the full SHA
    aa52075 View commit details
  5. Fix wrong Repository Git objects count

    root committed Dec 30, 2016
    Copy the full SHA
    40afe03 View commit details
  6. Add Spanish translation

    rogerpueyo authored and root committed Dec 30, 2016
    Copy the full SHA
    f015e52 View commit details
  7. added missing mandatory param for partial repositories/download_revision

    Mario Kehl authored and root committed Dec 30, 2016
    Copy the full SHA
    b436a02 View commit details
  8. Merge pull request #636 from eole/strip-id-require-restart

    “Remove user ID from Gitolite identifier” requires a restart
    n-rodriguez authored Dec 30, 2016
    Copy the full SHA
    91ea8ca View commit details
  9. Merge pull request #621 from eole/fix/mount-grack-under-http_server_s…

    …ubdir
    
    Mount grack under http_server_subdir
    n-rodriguez authored Dec 30, 2016
    Copy the full SHA
    71a9b8e View commit details
  10. Add Russian translation

    root committed Dec 30, 2016
    Copy the full SHA
    9b581ae View commit details
  11. Add Russian translations (1.2 specific)

    root committed Dec 30, 2016
    Copy the full SHA
    e9b489e View commit details
  12. Rename redmine_git_hosting:restore_defaults task to redmine_git_hosti…

    …ng:update_settings
    
    Add deprecation warning
    root committed Dec 30, 2016
    Copy the full SHA
    509f18b View commit details
  13. Typo

    root committed Dec 30, 2016
    Copy the full SHA
    487b2a0 View commit details

Commits on Dec 31, 2016

  1. Copy the full SHA
    05798f8 View commit details
  2. Copy the full SHA
    8475816 View commit details
  3. Copy the full SHA
    5888b52 View commit details
  4. Avoid use of rescue

    root committed Dec 31, 2016
    Copy the full SHA
    a0447e9 View commit details
  5. Actully this is useless

    root committed Dec 31, 2016
    Copy the full SHA
    d105e23 View commit details
  6. Remove source from Gemfile

    root committed Dec 31, 2016
    Copy the full SHA
    96f4062 View commit details
  7. Chomp command output

    root committed Dec 31, 2016
    Copy the full SHA
    11ab753 View commit details
  8. Bump to version 1.2.2

    root committed Dec 31, 2016
    Copy the full SHA
    a59d011 View commit details
  9. Typo

    root committed Dec 31, 2016
    Copy the full SHA
    220e082 View commit details

Commits on Jan 2, 2017

  1. Fix #601

    root committed Jan 2, 2017
    6
    Copy the full SHA
    08878c4 View commit details

Commits on Mar 15, 2017

  1. fixed typo while rendering partial repositories/download_revision

    Mario Kehl authored and Nicolas Rodriguez committed Mar 15, 2017
    Copy the full SHA
    140edb2 View commit details
  2. Fixed installation of Gitolite3 hooks via moving .chomp into RedmineG…

    …itHosting::Commands.sudo_gitolite_query_rc so that gitolite_local_code_dir also chomped
    
    (it was generating path like this "/var/lib/git/local\n/hooks/common/post-receive")
    bearded authored and Nicolas Rodriguez committed Mar 15, 2017
    Copy the full SHA
    348d924 View commit details

Commits on Mar 25, 2017

  1. Fix compatibility with Redmine 3.3

    This fixes the following error:
    
    ```
    $ bundle install
    Your Gemfile lists the gem redcarpet (~> 3.3.2) more than once.
    You should probably keep only one of them.
    While it's not a problem now, it could cause errors if you change the version of one of them later.
    
    [!] There was an error parsing `Gemfile`:
    [!] There was an error parsing `Gemfile`: You cannot specify the same gem twice with different version requirements.
    You specified: rdoc (~> 4.3) and rdoc (>= 0). Bundler cannot continue.
    
     #  from /srv/redmine/redmine-3.3/plugins/redmine_git_hosting/Gemfile:31
     #  -------------------------------------------
     #  gem 'asciidoctor'
     >  gem 'rdoc'
     #
     #  -------------------------------------------
    . Bundler cannot continue.
    
     #  from /srv/redmine/redmine-3.3/Gemfile:118
     #  -------------------------------------------
     #  Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file|
     >    eval_gemfile file
     #  end
     #  -------------------------------------------
    ```
    mnencia authored Mar 25, 2017
    Copy the full SHA
    eef20ee View commit details

Commits on Mar 27, 2017

  1. Merge pull request #663 from mnencia/patch-1

    Fix compatibility with Redmine 3.3
    n-rodriguez authored Mar 27, 2017
    Copy the full SHA
    bd40324 View commit details

Commits on Mar 28, 2017

  1. Add logs for well installed Gitolite hooks

    Nicolas Rodriguez committed Mar 28, 2017
    Copy the full SHA
    e3e2f93 View commit details
  2. Catch Errno::ENOENT exceptions when installing custom hooks

    Nicolas Rodriguez committed Mar 28, 2017
    Copy the full SHA
    d461a42 View commit details
  3. Check if hook's permissions has changed

    Nicolas Rodriguez committed Mar 28, 2017
    Copy the full SHA
    ff2c20c View commit details
  4. Improve custom Gitolite hook loading

    Nicolas Rodriguez committed Mar 28, 2017
    Copy the full SHA
    60716ac View commit details
  5. Fix author url in sub-uri

    Nicolas Rodriguez committed Mar 28, 2017
    Copy the full SHA
    f5de135 View commit details

Commits on Jul 17, 2017

  1. Copy the full SHA
    4626d4b View commit details
  2. Bump to version 1.2.3

    Nicolas Rodriguez committed Jul 17, 2017
    Copy the full SHA
    c1e0cc5 View commit details

Commits on Sep 30, 2017

  1. Add Japanese translation

    guenbakku authored and n-rodriguez committed Sep 30, 2017
    Copy the full SHA
    b126393 View commit details
  2. Fix #691

    Brian Streng authored and n-rodriguez committed Sep 30, 2017
    Copy the full SHA
    d262195 View commit details
  3. Fix #684

    n-rodriguez committed Sep 30, 2017
    Copy the full SHA
    7a3f6aa View commit details

Commits on Dec 4, 2017

  1. Copy the full SHA
    f4bdbce View commit details

Commits on May 20, 2019

  1. Merge pull request #701 from cydvd/v1.2.x

    Remove redcarpet duplicated gem
    n-rodriguez authored May 20, 2019
    Copy the full SHA
    7abb2c5 View commit details
Showing with 2,163 additions and 120 deletions.
  1. +2 −0 .gitignore
  2. +33 −0 CHANGELOG.md
  3. +1 −3 Gemfile
  4. +1 −1 README.md
  5. +1 −1 app/controllers/repository_git_config_keys_controller.rb
  6. +3 −10 app/forms/plugin_settings_validation/storage_config.rb
  7. +1 −1 app/helpers/repository_git_config_keys_helper.rb
  8. +1 −1 app/models/concerns/gitolitable/validations.rb
  9. +2 −1 app/views/archived_repositories/show.html.erb
  10. +4 −1 app/views/settings/redmine_git_hosting/_gitolite_config_file.html.haml
  11. +0 −20 app/views/settings/redmine_git_hosting/_gitolite_config_storage.html.haml
  12. +24 −0 app/views/settings/redmine_git_hosting/_gitolite_config_test.html.haml
  13. +24 −0 config/locales/es.yml
  14. +12 −0 config/locales/forms/move_repository/es.yml
  15. +12 −0 config/locales/forms/move_repository/ja.yml
  16. +12 −0 config/locales/forms/move_repository/ru.yml
  17. +24 −0 config/locales/ja.yml
  18. +51 −0 config/locales/models/gitolite_public_key/es.yml
  19. +51 −0 config/locales/models/gitolite_public_key/ja.yml
  20. +51 −0 config/locales/models/gitolite_public_key/ru.yml
  21. +11 −0 config/locales/models/project/es.yml
  22. +11 −0 config/locales/models/project/ja.yml
  23. +11 −0 config/locales/models/project/ru.yml
  24. +45 −0 config/locales/models/repository_deployment_credential/es.yml
  25. +45 −0 config/locales/models/repository_deployment_credential/ja.yml
  26. +45 −0 config/locales/models/repository_deployment_credential/ru.yml
  27. +34 −0 config/locales/models/repository_git_config_key/es.yml
  28. +34 −0 config/locales/models/repository_git_config_key/ja.yml
  29. +34 −0 config/locales/models/repository_git_config_key/ru.yml
  30. +40 −0 config/locales/models/repository_git_notification/ja.yml
  31. +40 −0 config/locales/models/repository_git_notification/ru.yml
  32. +55 −0 config/locales/models/repository_mirror/es.yml
  33. +55 −0 config/locales/models/repository_mirror/ja.yml
  34. +55 −0 config/locales/models/repository_mirror/ru.yml
  35. +28 −0 config/locales/models/repository_post_receive_url/es.yml
  36. +28 −0 config/locales/models/repository_post_receive_url/ja.yml
  37. +28 −0 config/locales/models/repository_post_receive_url/ru.yml
  38. +21 −0 config/locales/models/repository_protected_branche/es.yml
  39. +21 −0 config/locales/models/repository_protected_branche/ja.yml
  40. +21 −0 config/locales/models/repository_protected_branche/ru.yml
  41. +102 −0 config/locales/models/repository_xitolite/es.yml
  42. +100 −0 config/locales/models/repository_xitolite/ja.yml
  43. +100 −0 config/locales/models/repository_xitolite/ru.yml
  44. +30 −0 config/locales/permissions/es.yml
  45. +32 −0 config/locales/permissions/ja.yml
  46. +32 −0 config/locales/permissions/ru.yml
  47. +24 −0 config/locales/ru.yml
  48. +4 −4 config/locales/settings/en.yml
  49. +193 −0 config/locales/settings/es.yml
  50. +4 −4 config/locales/settings/fr.yml
  51. +192 −0 config/locales/settings/ja.yml
  52. +193 −0 config/locales/settings/ru.yml
  53. +6 −3 config/routes.rb
  54. +1 −1 contrib/hooks/post-receive/lib/git_hosting_config.rb
  55. +38 −0 custom_hooks.rb.example
  56. +2 −2 init.rb
  57. +0 −2 lib/default_settings.yml
  58. +2 −1 lib/grack/server.rb
  59. +7 −36 lib/load_gitolite_hooks.rb
  60. +9 −1 lib/redmine/scm/adapters/xitolite_adapter.rb
  61. +1 −1 lib/redmine_git_hosting.rb
  62. +7 −3 lib/redmine_git_hosting/commands/git.rb
  63. +17 −1 lib/redmine_git_hosting/commands/gitolite.rb
  64. +19 −1 lib/redmine_git_hosting/commands/sudo.rb
  65. +5 −0 lib/redmine_git_hosting/config/base.rb
  66. +9 −8 lib/redmine_git_hosting/config/gitolite_base.rb
  67. +1 −1 lib/redmine_git_hosting/config/gitolite_config_tests.rb
  68. +2 −2 lib/redmine_git_hosting/config/gitolite_hooks.rb
  69. +12 −0 lib/redmine_git_hosting/config/redmine_config.rb
  70. +2 −1 lib/redmine_git_hosting/gitolite_accessor.rb
  71. +12 −2 lib/redmine_git_hosting/gitolite_hook.rb
  72. +1 −1 lib/redmine_git_hosting/hooks/add_public_keys_link.rb
  73. +13 −2 lib/redmine_git_hosting/redmine_plugin_loader.rb
  74. +19 −4 lib/tasks/redmine_git_hosting.rake
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.*.swp
Gemfile.lock
settings.yml
/tmp
/rdoc
/coverage
/junit
custom_hooks.rb
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
## CHANGELOG

### 1.2.3 - 2017-07-17

* Merge [#640](https://github.com/jbox-web/redmine_git_hosting/pull/640) ([Views] Fix typo while rendering partial repositories/download_revision)
* Merge [#646](https://github.com/jbox-web/redmine_git_hosting/pull/646) (Fix compatibility with Redmine 3.3)
* Merge [#663](https://github.com/jbox-web/redmine_git_hosting/pull/663) ([Core] Fix installation of Gitolite3 hooks)
* Improve custom Gitolite hook loading (see `custom_hooks.rb.example` at the root of the project)
* Fix plugin icon with Redmine 3.4.x
* Fix author url in sub-uri mode
* Check if hook's permissions has changed
* Catch Errno::ENOENT exceptions when installing custom hooks
* Add logs for well installed Gitolite hooks

### 1.2.2 - 2016-12-31

* Fix [#472](https://github.com/jbox-web/redmine_git_hosting/issues/472) ([Views] 404 on the "My public keys" link in the user panel)
* Fix [#526](https://github.com/jbox-web/redmine_git_hosting/issues/526) ([Core] Plugin breaks if gitolite user == redmine user)
* Fix [#551](https://github.com/jbox-web/redmine_git_hosting/issues/551) ([Core] Make Sidekiq truly optional)
* Fix [#576](https://github.com/jbox-web/redmine_git_hosting/issues/576) ([Models] Can't add Git Config Key)
* Fix [#630](https://github.com/jbox-web/redmine_git_hosting/issues/630) ([Core] Use "gitolite query-rc" to get Gitolite variables)
* Fix [#632](https://github.com/jbox-web/redmine_git_hosting/issues/632) ([Core] Mirroring does not work on git push)
* Merge [#581](https://github.com/jbox-web/redmine_git_hosting/pull/581) (Fix [#472](https://github.com/jbox-web/redmine_git_hosting/issues/472) by amelentjev)
* Merge [#621](https://github.com/jbox-web/redmine_git_hosting/pull/621) ([Routes] Mount grack under http_server_subdir)
* Merge [#624](https://github.com/jbox-web/redmine_git_hosting/pull/624) ([Translations] Add Spanish translation)
* Merge [#634](https://github.com/jbox-web/redmine_git_hosting/pull/634) ([Views] Added missing mandatory param for partial repositories/download_revision)
* Merge [#636](https://github.com/jbox-web/redmine_git_hosting/pull/636) ([Doc] "Remove user ID from Gitolite identifier" requires a restart)
* Fix repo url in Gitolite hooks
* Fix nil data case when loading custom settings from empty file
* Allow to load plugin settings from a file in Redmine root (should ease deployment and upgrades)
* Fix wrong Repository Git objects count
* Add Russian translation
* Rename `redmine_git_hosting:restore_defaults` task to `redmine_git_hosting:update_settings`
* Add Rake task `redmine_git_hosting:dump_settings` to dump plugin settings in console

### 1.2.1 - 2016-07-25

* Fix [#524](https://github.com/jbox-web/redmine_git_hosting/issues/524) ([DB] Index too long)
4 changes: 1 addition & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
source 'https://rubygems.org'

# Gitolite Admin repository management
gem 'gitolite-rugged', git: 'https://github.com/jbox-web/gitolite-rugged.git', tag: '1.2.0'

## Redmine 3.x
## Ruby/Rack Git Smart-HTTP Server Handler (use our own repository because Redmine uses Rails 4.2 and Rack 1.6)
gem 'gitlab-grack', git: 'https://github.com/jbox-web/grack.git', require: 'grack', branch: 'fix_rails4'
gem 'redcarpet', '~> 3.3.2'

## Redmine 2.x
## Ruby/Rack Git Smart-HTTP Server Handler (use our own repository because Redmine still uses Rails 3 and Rack 1.4)
@@ -30,6 +27,7 @@ gem 'org-ruby'
gem 'creole'
# gem 'wikicloth'
gem 'asciidoctor'
gem 'rdoc', "~> 4.3"

# Rack parser for Hrack
gem 'rack-parser', require: 'rack/parser'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ This plugin allows straightforward management of Gitolite within Redmine.

You can follow announcements [here](http://redmine-git-hosting.io/blog/) or take a look at the [roadmap](http://redmine-git-hosting.io/about/roadmap/).

**[Latest stable version : 1.2.1](http://redmine-git-hosting.io/releases-notes/release-1.2.1.html)**
**[Latest stable version : 1.2.3](http://redmine-git-hosting.io/releases-notes/release-1.2.3.html)**

## Installation

2 changes: 1 addition & 1 deletion app/controllers/repository_git_config_keys_controller.rb
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ def destroy

def key_type
case params[:repository_git_config_key][:type]
when 'RepositoryGitConfigKey::Config'
when 'RepositoryGitConfigKey::GitConfig'
:git_config_keys
when 'RepositoryGitConfigKey::Option'
:git_option_keys
13 changes: 3 additions & 10 deletions app/forms/plugin_settings_validation/storage_config.rb
Original file line number Diff line number Diff line change
@@ -2,30 +2,23 @@ module PluginSettingsValidation
module StorageConfig
extend ActiveSupport::Concern

PATHS_TO_VALIDATE = [:gitolite_global_storage_dir, :gitolite_redmine_storage_dir, :gitolite_recycle_bin_dir, :gitolite_local_code_dir]
PATHS_TO_VALIDATE = [:gitolite_global_storage_dir, :gitolite_redmine_storage_dir, :gitolite_recycle_bin_dir]

included do
# Gitolite Storage Config
add_accessor :gitolite_global_storage_dir,
:gitolite_redmine_storage_dir,
:gitolite_recycle_bin_dir,
:gitolite_local_code_dir,
:gitolite_lib_dir
:gitolite_recycle_bin_dir

before_validation do
self.gitolite_global_storage_dir = strip_value(gitolite_global_storage_dir)
self.gitolite_redmine_storage_dir = strip_value(gitolite_redmine_storage_dir)
self.gitolite_recycle_bin_dir = strip_value(gitolite_recycle_bin_dir)
self.gitolite_local_code_dir = strip_value(gitolite_local_code_dir)
self.gitolite_lib_dir = strip_value(gitolite_lib_dir)
end

validates_presence_of :gitolite_global_storage_dir, :gitolite_recycle_bin_dir, :gitolite_lib_dir
validates_presence_of :gitolite_local_code_dir, if: Proc.new { RedmineGitHosting::Config.gitolite_version == 3 }
validates_presence_of :gitolite_global_storage_dir, :gitolite_recycle_bin_dir

validates_each PATHS_TO_VALIDATE do |record, attr, value|
# *gitolite_local_code_dir* is only available with Gitolite 3
next if attr == :gitolite_local_code_dir && RedmineGitHosting::Config.gitolite_version != 3
record.errors.add(attr, 'must be relative') if value.starts_with?('/')
end
end
2 changes: 1 addition & 1 deletion app/helpers/repository_git_config_keys_helper.rb
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ module RepositoryGitConfigKeysHelper

def git_config_key_options
[
[l(:label_git_key_type_config), 'RepositoryGitConfigKey::Config'],
[l(:label_git_key_type_config), 'RepositoryGitConfigKey::GitConfig'],
[l(:label_git_key_type_option), 'RepositoryGitConfigKey::Option']
]
end
2 changes: 1 addition & 1 deletion app/models/concerns/gitolitable/validations.rb
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ def empty_in_gitolite?


def git_objects_count
RedmineGitHosting::Commands.sudo_git_objects_count(gitolite_repository_path)
RedmineGitHosting::Commands.sudo_git_objects_count(File.join(gitolite_repository_path, 'objects'))
end


3 changes: 2 additions & 1 deletion app/views/archived_repositories/show.html.erb
Original file line number Diff line number Diff line change
@@ -60,7 +60,8 @@
<% end %>
</ul>

<%= render :partial => 'repositories/download_revision' %>
<%= render :partial => 'repositories/download_revision',
:locals => { :repository => @repository } %>
<% end %>

<% content_for :header_tags do %>
Original file line number Diff line number Diff line change
@@ -25,7 +25,10 @@
= bootstrap_switch_tag do
= hidden_field_tag 'settings[gitolite_identifier_strip_user_id]', "#{disable_button}"
= check_box_tag 'settings[gitolite_identifier_strip_user_id]', gitolite_identifier_strip_user_id, gitolite_identifier_strip_user_id, { disabled: disable_button }

%br
%em
= surround '(', ')' do
= l(:label_gitolite_identifier_strip_user_id_desc)
%br

.git_hosting_access_box
Original file line number Diff line number Diff line change
@@ -2,8 +2,6 @@
- gitolite_global_storage_dir = RedmineGitHosting::Config.get_setting(:gitolite_global_storage_dir)
- gitolite_redmine_storage_dir = RedmineGitHosting::Config.get_setting(:gitolite_redmine_storage_dir)
- gitolite_recycle_bin_dir = RedmineGitHosting::Config.get_setting(:gitolite_recycle_bin_dir)
- gitolite_local_code_dir = RedmineGitHosting::Config.get_setting(:gitolite_local_code_dir)
- gitolite_lib_dir = RedmineGitHosting::Config.get_setting(:gitolite_lib_dir)

%h3= l(:label_gitolite_storage_config)

@@ -30,21 +28,3 @@
%em
= surround '(', ')' do
= l(:label_gitolite_redmine_storage_dir_desc)

- if RedmineGitHosting::Config.gitolite_version == 3
%p
%label= l(:label_gitolite_local_code_dir)
= text_field_tag 'settings[gitolite_local_code_dir]', gitolite_local_code_dir, size: 60
%br
%em
= surround '(', ')' do
= l(:label_gitolite_local_code_dir_desc) + ','
= link_to 'Gitolite non-core programs', 'http://gitolite.com/gitolite/non-core.html#localcode', target: 'blank'

%p
%label= l(:label_gitolite_lib_dir)
= text_field_tag 'settings[gitolite_lib_dir]', gitolite_lib_dir, size: 60
%br
%em
= surround '(', ')' do
= l(:label_gitolite_lib_dir_desc)
Original file line number Diff line number Diff line change
@@ -20,6 +20,30 @@
%td= l(:label_sudo_redmine_to_gitolite_user)
%td= image_tag (RedmineGitHosting::Config.can_redmine_sudo_to_gitolite_user? ? 'true.png' : 'exclamation.png')

%tr
%td= l(:label_gitolite_bin_dir)
%td
- if RedmineGitHosting::Config.gitolite_bin_dir
%span{ class: 'label label-success' }= RedmineGitHosting::Config.gitolite_bin_dir
- else
= image_tag('exclamation.png')

%tr
%td= l(:label_gitolite_lib_dir)
%td
- if RedmineGitHosting::Config.gitolite_lib_dir
%span{ class: 'label label-success' }= RedmineGitHosting::Config.gitolite_lib_dir
- else
= image_tag('exclamation.png')

%tr
%td= l(:label_gitolite_local_code_dir)
%td
- if RedmineGitHosting::Config.gitolite_local_code_dir
%span{ class: 'label label-success' }= RedmineGitHosting::Config.gitolite_local_code_dir
- else
= image_tag('exclamation.png')

- gitolite_checks = RedmineGitHosting::Config.check_hooks_install!

%tr
24 changes: 24 additions & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
es:

redmine_git_hosting: Redmine Git Hosting

########### MISCELANOUS ###########
label_enabled: Activado
label_disabled: Desactivado
label_true: Cierto
label_false: Falso
label_backup_in_progress: Guardando...
label_delete_in_progress: Borrando...
label_url: URL
label_mode: Modo
label_hour: Hora
button_ok: Aceptar
button_clone: Clonar

label_monday: Lunes
label_tuesday: Martes
label_wednesday: Miércoles
label_thursday: Jueves
label_friday: Viernes
label_saturday: Sábado
label_sunday: Domingo
12 changes: 12 additions & 0 deletions config/locales/forms/move_repository/es.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
es:
label_move_repository: "Mover repositorio : '%{repo_name}'"

activemodel:
errors:
models:
move_repository_form:
attributes:
base:
identifier_empty: No es posible mover un repositorio con el identificador vacío
identifier_taken: El identificador del repositorio ya está siendo usado por el proyecto nuevo
wrong_target_project: El proyecto de destino es idéntico al proyecto de origen
12 changes: 12 additions & 0 deletions config/locales/forms/move_repository/ja.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ja:
label_move_repository: "リポジトリを移動する:'%{repo_name}'"

activemodel:
errors:
models:
move_repository_form:
attributes:
base:
identifier_empty: 空タイトルのリポジトリは移動できません
identifier_taken: 指定したリポジトリのタイトルは既に他のプロジェクトに使用されています
wrong_target_project: 移動先と移動元のプロジェクトは同じです
12 changes: 12 additions & 0 deletions config/locales/forms/move_repository/ru.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ru:
label_move_repository: "Перемещение репозитория: '%{repo_name}'"

activemodel:
errors:
models:
move_repository_form:
attributes:
base:
identifier_empty: Не возможно переместить репозиторий с пустым идентификатором
identifier_taken: Идентификатор репозитория уже используется новым проектом
wrong_target_project: Целевой проект совпадает с исходным
24 changes: 24 additions & 0 deletions config/locales/ja.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
ja:

redmine_git_hosting: Redmine Git Hosting

########### MISCELANOUS ###########
label_enabled: 有効
label_disabled: 無効
label_true: True
label_false: False
label_backup_in_progress: 保存中...
label_delete_in_progress: 削除中...
label_url: URL
label_mode: モード
label_hour:
button_ok: OK
button_clone: クローン

label_monday: 月曜日
label_tuesday: 火曜日
label_wednesday: 水曜日
label_thursday: 木曜日
label_friday: 金曜日
label_saturday: 土曜日
label_sunday: 日曜日
51 changes: 51 additions & 0 deletions config/locales/models/gitolite_public_key/es.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
es:

########### SSH KEYS ###########

# User SSH keys (notices)
notice_public_key_created: La clave pública <strong>%{title}</strong> se ha creado correctamente.
notice_public_key_updated: La clave pública <strong>%{title}</strong> se ha actualizado correctamente.
notice_public_key_deleted: La clave pública <strong>%{title}</strong> se ha borrado correctamente.

# User SSH keys (fields)
field_key: esta clave

# User SSH keys (labels)
label_my_public_keys: Mis claves públicas
label_public_keys: Claves públicas
label_public_key: Clave pública
label_public_key_edit: Editar una clave pública existente
label_current_public_keys: Claves públicas actuales
label_current_user_keys: Claves de usuario actuales
label_current_deploy_keys: Claves de despliegue actuales
label_no_public_keys: No se ha definido ninguna clave pública
label_public_key_new: Introducir una nueva clave pública
label_identifier_can_be_arbitrary: Identificador
label_identifier_can_be_arbitrary_desc: (Puede ser cualquier cadena de texto con significado)
label_key_type: Tipo de clave pública
label_user_key: Clave de usuario
label_deploy_key: Clave de despliegue
label_cut_and_paste: Corte y pegue el fichero .pub entero.
label_identifier_cannot_be_changed: Identificador<br/><em>(no puede cambiarse)</em>
label_key_cannot_be_changed_please_create_new_key: 'No es posible modificar la clave. Sin embargo, puede borrarla y crear una nueva.'

# User SSH keys (confirmation)
text_gitolite_key_destroy_confirmation: "¿Seguro que quiere destruir esta clave: %{title}?"

# User SSH keys (errors)
error_public_key_create_failed: Ha fallado la creación de la clave pública.
error_public_key_update_failed: Ha fallado la actualización de la clave pública.


activerecord:
errors:
models:

gitolite_public_key:
attributes:
key:
corrupted: parece estar corrompida.
taken_by_you: 'ya se está utilizando por usted como "%{name}".'
taken_by_other: 'ya se está utilizando por el usuario "%{login}" como "%{name}".'
taken_by_someone: ya se está utilizando. Pertenece a otro usuario (pregunte al administrador acerca de los detalles).
taken_by_gitolite_admin: ya se está utilizando como la clave de administrador de Gitolite.
Loading