rmails 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +20 -0
- data/Gemfile +24 -0
- data/Gemfile.lock +167 -0
- data/LICENSE.txt +20 -0
- data/README.markdown +9 -0
- data/Rakefile +31 -0
- data/Rakefile1 +9 -0
- data/Vagrantfile +51 -0
- data/app/assets/images/arrow_bottom.gif +0 -0
- data/app/assets/images/arrow_right.gif +0 -0
- data/app/assets/images/at-sign.png +0 -0
- data/app/assets/images/checkerboard.gif +0 -0
- data/app/assets/images/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/glyphicons-halflings.png +0 -0
- data/app/assets/images/icon_draft.gif +0 -0
- data/app/assets/images/icon_layout.gif +0 -0
- data/app/assets/images/icon_move.gif +0 -0
- data/app/assets/images/icon_regular.gif +0 -0
- data/app/assets/images/icon_snippet.gif +0 -0
- data/app/assets/images/nav_arrow.png +0 -0
- data/app/assets/images/x.png +0 -0
- data/app/assets/javascripts/application.coffee.erb +27 -0
- data/app/assets/javascripts/canjs/can.construct.proxy.js +60 -0
- data/app/assets/javascripts/canjs/can.construct.super.js +44 -0
- data/app/assets/javascripts/canjs/can.control.plugin.js +245 -0
- data/app/assets/javascripts/canjs/can.control.view.js +88 -0
- data/app/assets/javascripts/canjs/can.dojo.js +3669 -0
- data/app/assets/javascripts/canjs/can.dojo.min.js +66 -0
- data/app/assets/javascripts/canjs/can.fixture.js +1020 -0
- data/app/assets/javascripts/canjs/can.jquery.js +2995 -0
- data/app/assets/javascripts/canjs/can.jquery.min.js +52 -0
- data/app/assets/javascripts/canjs/can.mootools.js +3462 -0
- data/app/assets/javascripts/canjs/can.mootools.min.js +63 -0
- data/app/assets/javascripts/canjs/can.observe.attributes.js +293 -0
- data/app/assets/javascripts/canjs/can.observe.backup.js +368 -0
- data/app/assets/javascripts/canjs/can.observe.delegate.js +359 -0
- data/app/assets/javascripts/canjs/can.observe.setter.js +58 -0
- data/app/assets/javascripts/canjs/can.observe.validations.js +374 -0
- data/app/assets/javascripts/canjs/can.view.modifiers.js +292 -0
- data/app/assets/javascripts/canjs/can.yui.js +3530 -0
- data/app/assets/javascripts/canjs/can.yui.min.js +65 -0
- data/app/assets/javascripts/canjs/can.zepto.js +3426 -0
- data/app/assets/javascripts/canjs/can.zepto.min.js +62 -0
- data/app/assets/javascripts/controls/admins.coffee.erb +105 -0
- data/app/assets/javascripts/controls/aliases.coffee.erb +91 -0
- data/app/assets/javascripts/controls/domains.coffee.erb +115 -0
- data/app/assets/javascripts/controls/settings.coffee.erb +47 -0
- data/app/assets/javascripts/controls/users.coffee.erb +94 -0
- data/app/assets/javascripts/lib/facebox.js +311 -0
- data/app/assets/javascripts/lib/html5.js +2 -0
- data/app/assets/javascripts/lib/jquery.js +9301 -0
- data/app/assets/javascripts/lib/jquery_formparams.js +108 -0
- data/app/assets/javascripts/lib/jquery_input_hint.js +20 -0
- data/app/assets/javascripts/lib/jquery_paginate.js +120 -0
- data/app/assets/javascripts/lib/jquery_ui_custom.js +6 -0
- data/app/assets/javascripts/lib/json2.js +487 -0
- data/app/assets/javascripts/lib/utils.coffee.erb +48 -0
- data/app/assets/javascripts/models/admin.coffee.erb +42 -0
- data/app/assets/javascripts/models/alias.coffee.erb +28 -0
- data/app/assets/javascripts/models/domain.coffee.erb +39 -0
- data/app/assets/javascripts/models/property.coffee.erb +18 -0
- data/app/assets/javascripts/models/user.coffee.erb +29 -0
- data/app/assets/stylesheets/application.sass +156 -0
- data/app/assets/stylesheets/base.css.sass +243 -0
- data/app/assets/stylesheets/facebox.css +80 -0
- data/app/assets/stylesheets/lib/bootstrap.css +9 -0
- data/app/assets/stylesheets/twitter/bootstrap-responsive.scss +1 -0
- data/app/assets/stylesheets/twitter/bootstrap.scss +63 -0
- data/app/assets/stylesheets/twitter/bootstrap/_accordion.scss +34 -0
- data/app/assets/stylesheets/twitter/bootstrap/_alerts.scss +79 -0
- data/app/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +24 -0
- data/app/assets/stylesheets/twitter/bootstrap/_button-groups.scss +229 -0
- data/app/assets/stylesheets/twitter/bootstrap/_buttons.scss +228 -0
- data/app/assets/stylesheets/twitter/bootstrap/_carousel.scss +158 -0
- data/app/assets/stylesheets/twitter/bootstrap/_close.scss +32 -0
- data/app/assets/stylesheets/twitter/bootstrap/_code.scss +61 -0
- data/app/assets/stylesheets/twitter/bootstrap/_component-animations.scss +22 -0
- data/app/assets/stylesheets/twitter/bootstrap/_dropdowns.scss +237 -0
- data/app/assets/stylesheets/twitter/bootstrap/_forms.scss +689 -0
- data/app/assets/stylesheets/twitter/bootstrap/_grid.scss +21 -0
- data/app/assets/stylesheets/twitter/bootstrap/_hero-unit.scss +25 -0
- data/app/assets/stylesheets/twitter/bootstrap/_labels-badges.scss +83 -0
- data/app/assets/stylesheets/twitter/bootstrap/_layouts.scss +16 -0
- data/app/assets/stylesheets/twitter/bootstrap/_media.scss +55 -0
- data/app/assets/stylesheets/twitter/bootstrap/_mixins.scss +690 -0
- data/app/assets/stylesheets/twitter/bootstrap/_modals.scss +95 -0
- data/app/assets/stylesheets/twitter/bootstrap/_navbar.scss +497 -0
- data/app/assets/stylesheets/twitter/bootstrap/_navs.scss +409 -0
- data/app/assets/stylesheets/twitter/bootstrap/_pager.scss +43 -0
- data/app/assets/stylesheets/twitter/bootstrap/_pagination.scss +123 -0
- data/app/assets/stylesheets/twitter/bootstrap/_popovers.scss +133 -0
- data/app/assets/stylesheets/twitter/bootstrap/_progress-bars.scss +122 -0
- data/app/assets/stylesheets/twitter/bootstrap/_reset.scss +216 -0
- data/app/assets/stylesheets/twitter/bootstrap/_responsive-1200px-min.scss +28 -0
- data/app/assets/stylesheets/twitter/bootstrap/_responsive-767px-max.scss +193 -0
- data/app/assets/stylesheets/twitter/bootstrap/_responsive-768px-979px.scss +19 -0
- data/app/assets/stylesheets/twitter/bootstrap/_responsive-navbar.scss +189 -0
- data/app/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +74 -0
- data/app/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +53 -0
- data/app/assets/stylesheets/twitter/bootstrap/_sprites.scss +197 -0
- data/app/assets/stylesheets/twitter/bootstrap/_tables.scss +235 -0
- data/app/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +53 -0
- data/app/assets/stylesheets/twitter/bootstrap/_tooltip.scss +70 -0
- data/app/assets/stylesheets/twitter/bootstrap/_type.scss +247 -0
- data/app/assets/stylesheets/twitter/bootstrap/_utilities.scss +45 -0
- data/app/assets/stylesheets/twitter/bootstrap/_variables.scss +301 -0
- data/app/assets/stylesheets/twitter/bootstrap/_wells.scss +29 -0
- data/app/assets/stylesheets/twitter/bootstrap/responsive.scss +48 -0
- data/app/controllers/admin_users_controller.rb +62 -0
- data/app/controllers/aliases_controller.rb +35 -0
- data/app/controllers/application_controller.rb +20 -0
- data/app/controllers/domains_controller.rb +48 -0
- data/app/controllers/server_controller.rb +28 -0
- data/app/controllers/users_controller.rb +35 -0
- data/app/helpers/admin_users_helper.rb +11 -0
- data/app/helpers/application_helper.rb +2 -0
- data/app/helpers/domains_helper.rb +25 -0
- data/app/helpers/server_helper.rb +30 -0
- data/app/mailers/.gitkeep +0 -0
- data/app/models/.gitkeep +0 -0
- data/app/models/admin_user.rb +54 -0
- data/app/models/certificate_manager.rb +46 -0
- data/app/models/property.rb +103 -0
- data/app/models/property/awstats.rb +15 -0
- data/app/models/property/dovecot.rb +61 -0
- data/app/models/property/dspam.rb +45 -0
- data/app/models/property/nginx.rb +47 -0
- data/app/models/property/postfix.rb +64 -0
- data/app/models/property_value_validator.rb +41 -0
- data/app/models/system_manager.rb +88 -0
- data/app/models/virtual_alias.rb +13 -0
- data/app/models/virtual_domain.rb +15 -0
- data/app/models/virtual_user.rb +51 -0
- data/app/views/admin_users/_form.html.haml +21 -0
- data/app/views/admin_users/first.html.haml +12 -0
- data/app/views/admin_users/index.html.haml +61 -0
- data/app/views/aliases/_form.html.haml +11 -0
- data/app/views/aliases/_list.html.haml +0 -0
- data/app/views/devise/confirmations/new.html.haml +9 -0
- data/app/views/devise/mailer/confirmation_instructions.html.haml +4 -0
- data/app/views/devise/mailer/reset_password_instructions.html.haml +6 -0
- data/app/views/devise/mailer/unlock_instructions.html.haml +5 -0
- data/app/views/devise/passwords/edit.html.haml +14 -0
- data/app/views/devise/passwords/new.html.haml +12 -0
- data/app/views/devise/registrations/edit.html.haml +18 -0
- data/app/views/devise/registrations/new.html.haml +10 -0
- data/app/views/devise/sessions/new.html.haml +16 -0
- data/app/views/devise/shared/_links.haml +17 -0
- data/app/views/devise/unlocks/new.html.haml +11 -0
- data/app/views/domains/_fields.html.haml +0 -0
- data/app/views/domains/_form.html.haml +7 -0
- data/app/views/domains/index.html.haml +133 -0
- data/app/views/domains/show.html.haml +1 -0
- data/app/views/layouts/_nav.html.haml +3 -0
- data/app/views/layouts/application.html.haml +29 -0
- data/app/views/server/_certificates.html.haml +10 -0
- data/app/views/server/_dovecot.html.haml +27 -0
- data/app/views/server/_dspam.html.haml +9 -0
- data/app/views/server/_postfix_info.html.haml +5 -0
- data/app/views/server/_postfix_test.html.haml +5 -0
- data/app/views/server/_status.html.haml +11 -0
- data/app/views/server/index.html.haml +36 -0
- data/app/views/users/_form.html.haml +11 -0
- data/app/views/users/_list.html.haml +0 -0
- data/bin/rmails +43 -0
- data/config.ru +4 -0
- data/config/application.rb +62 -0
- data/config/boot.rb +6 -0
- data/config/environment.rb +5 -0
- data/config/environments/development.rb +37 -0
- data/config/environments/production.rb +67 -0
- data/config/environments/test.rb +37 -0
- data/config/initializers/backtrace_silencers.rb +7 -0
- data/config/initializers/devise.rb +240 -0
- data/config/initializers/devise_encryptable.rb +37 -0
- data/config/initializers/devise_models.rb +86 -0
- data/config/initializers/inflections.rb +15 -0
- data/config/initializers/mime_types.rb +5 -0
- data/config/initializers/secret_token.rb +7 -0
- data/config/initializers/session_store.rb +8 -0
- data/config/initializers/simple_form.rb +142 -0
- data/config/initializers/simple_form_bootstrap.rb +45 -0
- data/config/initializers/wrap_parameters.rb +14 -0
- data/config/locales/cz.yml +45 -0
- data/config/locales/devise.cz.yml +47 -0
- data/config/locales/devise.en.yml +60 -0
- data/config/locales/en.yml +5 -0
- data/config/locales/server/cz.yml +14 -0
- data/config/locales/server/en.yml +7 -0
- data/config/locales/server/help/dovecot/cz.yml +21 -0
- data/config/locales/server/help/dovecot/en.yml +18 -0
- data/config/locales/server/help/dspam/cz.yml +10 -0
- data/config/locales/server/help/dspam/en.yml +4 -0
- data/config/locales/server/key/dovecot/cz.yml +23 -0
- data/config/locales/server/key/dovecot/en.yml +20 -0
- data/config/locales/server/key/dspam/cz.yml +10 -0
- data/config/locales/server/key/dspam/en.yml +4 -0
- data/config/locales/simple_form.en.yml +26 -0
- data/config/locales/views/admin_users/cz.yml +25 -0
- data/config/locales/views/admin_users/en.yml +5 -0
- data/config/locales/views/aliases/cz.yml +17 -0
- data/config/locales/views/aliases/en.yml +1 -0
- data/config/locales/views/devise/cz.yml +26 -0
- data/config/locales/views/devise/en.yml +13 -0
- data/config/locales/views/domains/cz.yml +15 -0
- data/config/locales/views/domains/en.yml +15 -0
- data/config/locales/views/server/cz.yml +19 -0
- data/config/locales/views/server/en.yml +3 -0
- data/config/locales/views/users/cz.yml +18 -0
- data/config/locales/views/users/en.yml +1 -0
- data/config/routes.rb +80 -0
- data/db/migrate/20121112201233_virtual_domain.rb +11 -0
- data/db/migrate/20121112201247_virtual_alias.rb +10 -0
- data/db/migrate/20121112201341_virtual_user.rb +34 -0
- data/db/migrate/20121112201359_create_admin_user.rb +30 -0
- data/db/migrate/20121112201411_server_configuration.rb +13 -0
- data/db/migrate/20130304083938_join_domains_users.rb +12 -0
- data/db/migrate/20130311214040_create_versions.rb +18 -0
- data/db/seeds.rb +45 -0
- data/lib/devise-encryptable.rb +1 -0
- data/lib/rmails.rb +5 -0
- data/lib/rmails/installer.rb +37 -0
- data/lib/rmails/version.rb +3 -0
- data/lib/tasks/.gitkeep +0 -0
- data/lib/templates/haml/scaffold/_form.html.haml +10 -0
- data/locals +0 -0
- data/log/.gitkeep +0 -0
- data/public/404.html +26 -0
- data/public/422.html +26 -0
- data/public/500.html +25 -0
- data/public/favicon.ico +0 -0
- data/public/fonts/London.eot +0 -0
- data/public/fonts/London.otf +0 -0
- data/public/fonts/London.woff +0 -0
- data/public/fonts/LondonBold.otf +0 -0
- data/public/robots.txt +5 -0
- data/rmails.gemspec +35 -0
- data/script/prepflog.pl +576 -0
- data/script/rails +6 -0
- data/system/config/automateit_env.rb +16 -0
- data/system/config/fields.yml +48 -0
- data/system/config/tags.yml +39 -0
- data/system/dist/README_AutomateIt_dist.txt +20 -0
- data/system/dist/amavis/spamassassin.cf.erb +85 -0
- data/system/dist/amavis/user.erb +33 -0
- data/system/dist/awstats/awstats.mail.conf.erb +41 -0
- data/system/dist/awstats/prepflog.pl +576 -0
- data/system/dist/dovecot/dovecot-sql.conf.ext.erb +14 -0
- data/system/dist/dovecot/dovecot.conf.erb +297 -0
- data/system/dist/dovecot/old_dovecot.conf.erb +63 -0
- data/system/dist/dspam/conf.erb +96 -0
- data/system/dist/dspam/pgsql.conf +33 -0
- data/system/dist/nginx/awstats.erb +17 -0
- data/system/dist/nginx/rmails.erb +40 -0
- data/system/dist/postfix/email2email.cf.erb +5 -0
- data/system/dist/postfix/main.cf.erb +118 -0
- data/system/dist/postfix/master.cf.erb +74 -0
- data/system/dist/postfix/sasl.conf.erb +3 -0
- data/system/dist/postfix/sender_login_maps.cf.erb +5 -0
- data/system/dist/postfix/virtual_alias_maps.cf.erb +5 -0
- data/system/dist/postfix/virtual_mailbox_domains.cf.erb +5 -0
- data/system/dist/postfix/virtual_mailbox_maps.cf.erb +5 -0
- data/system/dist/postgresql/postgresql.conf.erb +54 -0
- data/system/dist/rmails/Gemfile.1 +8 -0
- data/system/dist/rmails/Gemfile.2 +24 -0
- data/system/dist/rmails/database.yml.erb +15 -0
- data/system/dist/sudoers +37 -0
- data/system/lib/README_AutomateIt_lib.txt +22 -0
- data/system/lib/dkim_key.rb +9 -0
- data/system/lib/smtpd_key.rb +39 -0
- data/system/lib/ssl.rb +23 -0
- data/system/recipes/01_prepare_server.rb +84 -0
- data/system/recipes/02_setup_database.rb +65 -0
- data/system/recipes/03_setup_postfix.rb +124 -0
- data/system/recipes/04_setup_dovecot.rb +78 -0
- data/system/recipes/05_setup_nginx.rb +29 -0
- data/system/recipes/06_setup_dspam.rb +24 -0
- data/system/recipes/07_setup_amavis.rb +16 -0
- data/system/recipes/08_setup_spamassassin.rb +22 -0
- data/system/recipes/09_setup_awstats.rb +49 -0
- data/system/recipes/XX_start_services.rb +5 -0
- data/test/fixtures/.gitkeep +0 -0
- data/test/functional/.gitkeep +0 -0
- data/test/functional/aliases_controller_test.rb +7 -0
- data/test/functional/domains_controller_test.rb +7 -0
- data/test/functional/users_controller_test.rb +7 -0
- data/test/integration/.gitkeep +0 -0
- data/test/performance/browsing_test.rb +12 -0
- data/test/test_helper.rb +13 -0
- data/test/unit/.gitkeep +0 -0
- data/test/unit/helpers/aliases_helper_test.rb +4 -0
- data/test/unit/helpers/domains_helper_test.rb +4 -0
- data/test/unit/helpers/users_helper_test.rb +4 -0
- data/vendor/assets/javascripts/.gitkeep +0 -0
- data/vendor/assets/javascripts/canjs/can.construct.proxy.js +60 -0
- data/vendor/assets/javascripts/canjs/can.construct.super.js +44 -0
- data/vendor/assets/javascripts/canjs/can.control.plugin.js +245 -0
- data/vendor/assets/javascripts/canjs/can.control.view.js +88 -0
- data/vendor/assets/javascripts/canjs/can.dojo.js +3669 -0
- data/vendor/assets/javascripts/canjs/can.dojo.min.js +66 -0
- data/vendor/assets/javascripts/canjs/can.fixture.js +1020 -0
- data/vendor/assets/javascripts/canjs/can.jquery.js +2995 -0
- data/vendor/assets/javascripts/canjs/can.jquery.min.js +52 -0
- data/vendor/assets/javascripts/canjs/can.mootools.js +3462 -0
- data/vendor/assets/javascripts/canjs/can.mootools.min.js +63 -0
- data/vendor/assets/javascripts/canjs/can.observe.attributes.js +293 -0
- data/vendor/assets/javascripts/canjs/can.observe.backup.js +368 -0
- data/vendor/assets/javascripts/canjs/can.observe.delegate.js +359 -0
- data/vendor/assets/javascripts/canjs/can.observe.setter.js +58 -0
- data/vendor/assets/javascripts/canjs/can.observe.validations.js +374 -0
- data/vendor/assets/javascripts/canjs/can.view.modifiers.js +292 -0
- data/vendor/assets/javascripts/canjs/can.yui.js +3530 -0
- data/vendor/assets/javascripts/canjs/can.yui.min.js +65 -0
- data/vendor/assets/javascripts/canjs/can.zepto.js +3426 -0
- data/vendor/assets/javascripts/canjs/can.zepto.min.js +62 -0
- data/vendor/assets/javascripts/twitter/bootstrap-affix.js +104 -0
- data/vendor/assets/javascripts/twitter/bootstrap-alert.js +90 -0
- data/vendor/assets/javascripts/twitter/bootstrap-button.js +96 -0
- data/vendor/assets/javascripts/twitter/bootstrap-carousel.js +176 -0
- data/vendor/assets/javascripts/twitter/bootstrap-collapse.js +158 -0
- data/vendor/assets/javascripts/twitter/bootstrap-dropdown.js +150 -0
- data/vendor/assets/javascripts/twitter/bootstrap-modal.js +239 -0
- data/vendor/assets/javascripts/twitter/bootstrap-popover.js +103 -0
- data/vendor/assets/javascripts/twitter/bootstrap-scrollspy.js +151 -0
- data/vendor/assets/javascripts/twitter/bootstrap-tab.js +135 -0
- data/vendor/assets/javascripts/twitter/bootstrap-tooltip.js +275 -0
- data/vendor/assets/javascripts/twitter/bootstrap-transition.js +60 -0
- data/vendor/assets/javascripts/twitter/bootstrap-typeahead.js +300 -0
- data/vendor/assets/javascripts/twitter/my/bootstrap-typeahead.js +311 -0
- data/vendor/assets/stylesheets/.gitkeep +0 -0
- metadata +470 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Use this setup block to configure all options available in SimpleForm.
|
|
2
|
+
SimpleForm.setup do |config|
|
|
3
|
+
config.wrappers :bootstrap, :tag => 'div', :class => 'control-group', :error_class => 'error' do |b|
|
|
4
|
+
b.use :html5
|
|
5
|
+
b.use :placeholder
|
|
6
|
+
b.use :label
|
|
7
|
+
b.wrapper :tag => 'div', :class => 'controls' do |ba|
|
|
8
|
+
ba.use :input
|
|
9
|
+
ba.use :error, :wrap_with => { :tag => 'span', :class => 'help-inline' }
|
|
10
|
+
ba.use :hint, :wrap_with => { :tag => 'p', :class => 'help-block' }
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
config.wrappers :prepend, :tag => 'div', :class => "control-group", :error_class => 'error' do |b|
|
|
15
|
+
b.use :html5
|
|
16
|
+
b.use :placeholder
|
|
17
|
+
b.use :label
|
|
18
|
+
b.wrapper :tag => 'div', :class => 'controls' do |input|
|
|
19
|
+
input.wrapper :tag => 'div', :class => 'input-prepend' do |prepend|
|
|
20
|
+
prepend.use :input
|
|
21
|
+
end
|
|
22
|
+
input.use :hint, :wrap_with => { :tag => 'span', :class => 'help-block' }
|
|
23
|
+
input.use :error, :wrap_with => { :tag => 'span', :class => 'help-inline' }
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
config.wrappers :append, :tag => 'div', :class => "control-group", :error_class => 'error' do |b|
|
|
28
|
+
b.use :html5
|
|
29
|
+
b.use :placeholder
|
|
30
|
+
b.use :label
|
|
31
|
+
b.wrapper :tag => 'div', :class => 'controls' do |input|
|
|
32
|
+
input.wrapper :tag => 'div', :class => 'input-append' do |append|
|
|
33
|
+
append.use :input
|
|
34
|
+
end
|
|
35
|
+
input.use :hint, :wrap_with => { :tag => 'span', :class => 'help-block' }
|
|
36
|
+
input.use :error, :wrap_with => { :tag => 'span', :class => 'help-inline' }
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# Wrappers for forms and inputs using the Twitter Bootstrap toolkit.
|
|
41
|
+
# Check the Bootstrap docs (http://twitter.github.com/bootstrap)
|
|
42
|
+
# to learn about the different styles for forms and inputs,
|
|
43
|
+
# buttons and other elements.
|
|
44
|
+
config.default_wrapper = :bootstrap
|
|
45
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
#
|
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
|
4
|
+
# is enabled by default.
|
|
5
|
+
|
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
|
8
|
+
wrap_parameters :format => [:json]
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Disable root element in JSON by default.
|
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
|
13
|
+
self.include_root_in_json = false
|
|
14
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
cz:
|
|
2
|
+
navigation:
|
|
3
|
+
domains: Domény
|
|
4
|
+
server_settings: Nastavení systému
|
|
5
|
+
admins: Správci systému
|
|
6
|
+
statistics: Statistiky
|
|
7
|
+
help: Nápověda
|
|
8
|
+
update: Změnit
|
|
9
|
+
loggedin: "Přihlášen:"
|
|
10
|
+
logout: Odhlásit
|
|
11
|
+
alert:
|
|
12
|
+
domain: Doména nemá vyplněné jméno.
|
|
13
|
+
|
|
14
|
+
activerecord:
|
|
15
|
+
attributes:
|
|
16
|
+
admin_user:
|
|
17
|
+
email: E-mail
|
|
18
|
+
name: Jméno
|
|
19
|
+
password: Heslo
|
|
20
|
+
password_confirmation: Potvrzení hesla
|
|
21
|
+
remember_me: Pamatovat si mne
|
|
22
|
+
virtual_domain:
|
|
23
|
+
name: Název domény
|
|
24
|
+
virtual_user:
|
|
25
|
+
name: Jméno
|
|
26
|
+
email: Email
|
|
27
|
+
password: Heslo
|
|
28
|
+
password_confirmation: Potvrzení hesla
|
|
29
|
+
remember_me: Pamatovat si mne
|
|
30
|
+
virtual_alias:
|
|
31
|
+
source: Co
|
|
32
|
+
destination: Kam
|
|
33
|
+
property:
|
|
34
|
+
key: Klíč
|
|
35
|
+
value: Hodnota
|
|
36
|
+
|
|
37
|
+
errors:
|
|
38
|
+
messages:
|
|
39
|
+
record_invalid: Uvedená data nejsou v pořádku.
|
|
40
|
+
models:
|
|
41
|
+
virtual_domain:
|
|
42
|
+
attributes:
|
|
43
|
+
name:
|
|
44
|
+
blank: Název domény musí být vyplněn.
|
|
45
|
+
invalid: "Název domény má špatný formát. Správně např.: example.com"
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
cz:
|
|
2
|
+
errors:
|
|
3
|
+
messages:
|
|
4
|
+
not_found: "nenalezen"
|
|
5
|
+
already_confirmed: "byl již potvrzen, prosím, zkuste se přihlásit"
|
|
6
|
+
not_locked: "nebyl uzamčen"
|
|
7
|
+
not_saved:
|
|
8
|
+
one: "%{resource} nebyl uložen kvůli chybě:"
|
|
9
|
+
other: "%{resource} nebyl uložen kvůli %{count} chybám:"
|
|
10
|
+
|
|
11
|
+
devise:
|
|
12
|
+
failure:
|
|
13
|
+
unauthenticated: 'Musíte se zaregistrovat nebo přihlásit, pak můžete pokračovat.'
|
|
14
|
+
unconfirmed: 'Musíte potvrdit svůj účet, pak můžete pokračovat.'
|
|
15
|
+
locked: 'Váš účet je uzamčen.'
|
|
16
|
+
invalid: 'Neplatná identita nebo heslo.'
|
|
17
|
+
invalid_token: 'Neplatný ověřovací symbol.'
|
|
18
|
+
timeout: 'Vaše relace vypršela, přihlašte se prosím znovu, pak můžete pokračovat.'
|
|
19
|
+
inactive: 'Váš účet ještě nebyl aktivován.'
|
|
20
|
+
already_authenticated: 'Přihlášení již proběhlo.'
|
|
21
|
+
sessions:
|
|
22
|
+
signed_in: 'Přihlášení úspěšné.'
|
|
23
|
+
signed_out: 'Odhlášení úspěšné.'
|
|
24
|
+
passwords:
|
|
25
|
+
send_instructions: 'Za okamžik obdržíte email s instrukcemi k nastavení nového hesla.'
|
|
26
|
+
updated: 'Vaše heslo bylo úspěšně změněno. Nyní jste přihlášen(a).'
|
|
27
|
+
confirmations:
|
|
28
|
+
send_instructions: 'Za okamžik obdržíte email s instrukcemi k potvrzení vašeho účtu.'
|
|
29
|
+
confirmed: 'Váš účet byl úspěšně potvrzen. Nyní jste přihlášen(a).'
|
|
30
|
+
registrations:
|
|
31
|
+
signed_up: 'Vítejte! Registrace byla úspěšná.'
|
|
32
|
+
inactive_signed_up: 'Registrace byla úspěšná. Nicméně, nemůžete se přihlásit, protože: "%{reason}".'
|
|
33
|
+
updated: 'Váš účet byl úspěšně aktualizován.'
|
|
34
|
+
destroyed: 'Nashle! Váš účet byl úspěšně zrušen. Doufáme, že se brzy opět uvidíme.'
|
|
35
|
+
unlocks:
|
|
36
|
+
send_instructions: 'Za okamžik obdržíte email s instrukcemi, jak odemknout svůj účet.'
|
|
37
|
+
unlocked: 'Váš účet byl úspěšně odemknut. Nyní jste přihlášen(a).'
|
|
38
|
+
omniauth_callbacks:
|
|
39
|
+
success: 'Úspěšná autorizace z účtu %{kind}.'
|
|
40
|
+
failure: 'Není možné autorizovat z %{kind}, protože: "%{reason}".'
|
|
41
|
+
mailer:
|
|
42
|
+
confirmation_instructions:
|
|
43
|
+
subject: 'Potvrzovací instrukce'
|
|
44
|
+
reset_password_instructions:
|
|
45
|
+
subject: 'Instrukce k nastavení nového hesla'
|
|
46
|
+
unlock_instructions:
|
|
47
|
+
subject: 'Instrukce k odemknutí účtu'
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
|
|
2
|
+
|
|
3
|
+
en:
|
|
4
|
+
errors:
|
|
5
|
+
messages:
|
|
6
|
+
expired: "has expired, please request a new one"
|
|
7
|
+
not_found: "not found"
|
|
8
|
+
already_confirmed: "was already confirmed, please try signing in"
|
|
9
|
+
not_locked: "was not locked"
|
|
10
|
+
not_saved:
|
|
11
|
+
one: "1 error prohibited this %{resource} from being saved:"
|
|
12
|
+
other: "%{count} errors prohibited this %{resource} from being saved:"
|
|
13
|
+
confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
|
|
14
|
+
|
|
15
|
+
devise:
|
|
16
|
+
failure:
|
|
17
|
+
already_authenticated: 'You are already signed in.'
|
|
18
|
+
unauthenticated: 'You need to sign in or sign up before continuing.'
|
|
19
|
+
unconfirmed: 'You have to confirm your account before continuing.'
|
|
20
|
+
locked: 'Your account is locked.'
|
|
21
|
+
not_found_in_database: 'Invalid email or password.'
|
|
22
|
+
invalid: 'Invalid email or password.'
|
|
23
|
+
invalid_token: 'Invalid authentication token.'
|
|
24
|
+
timeout: 'Your session expired, please sign in again to continue.'
|
|
25
|
+
inactive: 'Your account was not activated yet.'
|
|
26
|
+
sessions:
|
|
27
|
+
signed_in: 'Signed in successfully.'
|
|
28
|
+
signed_out: 'Signed out successfully.'
|
|
29
|
+
passwords:
|
|
30
|
+
send_instructions: 'You will receive an email with instructions about how to reset your password in a few minutes.'
|
|
31
|
+
updated: 'Your password was changed successfully. You are now signed in.'
|
|
32
|
+
updated_not_active: 'Your password was changed successfully.'
|
|
33
|
+
send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
|
|
34
|
+
no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
|
|
35
|
+
confirmations:
|
|
36
|
+
send_instructions: 'You will receive an email with instructions about how to confirm your account in a few minutes.'
|
|
37
|
+
send_paranoid_instructions: 'If your email address exists in our database, you will receive an email with instructions about how to confirm your account in a few minutes.'
|
|
38
|
+
confirmed: 'Your account was successfully confirmed. You are now signed in.'
|
|
39
|
+
registrations:
|
|
40
|
+
signed_up: 'Welcome! You have signed up successfully.'
|
|
41
|
+
signed_up_but_unconfirmed: 'A message with a confirmation link has been sent to your email address. Please open the link to activate your account.'
|
|
42
|
+
signed_up_but_inactive: 'You have signed up successfully. However, we could not sign you in because your account is not yet activated.'
|
|
43
|
+
signed_up_but_locked: 'You have signed up successfully. However, we could not sign you in because your account is locked.'
|
|
44
|
+
updated: 'You updated your account successfully.'
|
|
45
|
+
update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and click on the confirm link to finalize confirming your new email address."
|
|
46
|
+
destroyed: 'Bye! Your account was successfully cancelled. We hope to see you again soon.'
|
|
47
|
+
unlocks:
|
|
48
|
+
send_instructions: 'You will receive an email with instructions about how to unlock your account in a few minutes.'
|
|
49
|
+
unlocked: 'Your account has been unlocked successfully. Please sign in to continue.'
|
|
50
|
+
send_paranoid_instructions: 'If your account exists, you will receive an email with instructions about how to unlock it in a few minutes.'
|
|
51
|
+
omniauth_callbacks:
|
|
52
|
+
success: 'Successfully authenticated from %{kind} account.'
|
|
53
|
+
failure: 'Could not authenticate you from %{kind} because "%{reason}".'
|
|
54
|
+
mailer:
|
|
55
|
+
confirmation_instructions:
|
|
56
|
+
subject: 'Confirmation instructions'
|
|
57
|
+
reset_password_instructions:
|
|
58
|
+
subject: 'Reset password instructions'
|
|
59
|
+
unlock_instructions:
|
|
60
|
+
subject: 'Unlock Instructions'
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
cz:
|
|
2
|
+
server:
|
|
3
|
+
help:
|
|
4
|
+
disable_plaintext_auth: Disable LOGIN command and all other plaintext authentications unless SSL/TLS is used (LOGINDISABLED capability).
|
|
5
|
+
auth_username_chars: List of allowed characters in username. If the user-given username contains a character not listed in here, the login automatically fails. If you want to allow all characters, set this value to empty.
|
|
6
|
+
auth_worker_max_count: Maximum number of dovecot-auth worker processes. They're used to execute blocking passdb and userdb queries (eg. MySQL and PAM). They're automatically created and destroyed as needed.
|
|
7
|
+
auth_mechanisms: Space separated list of wanted authentication mechanisms (plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi otp skey gss-spnego).
|
|
8
|
+
auth_verbose: Log unsuccessful authentication attempts and the reasons why they failed.
|
|
9
|
+
mail_cache_min_mail_count: The minimum number of mails in a mailbox before updates are done to cache file. This allows optimizing Dovecot's behavior to do less disk writes at the cost of more disk reads.
|
|
10
|
+
|
|
11
|
+
postmaster_address: Address to use when sending rejection mails.
|
|
12
|
+
|
|
13
|
+
quota_full_tempfail: If user is over quota, return with temporary failure instead of bouncing the mail.
|
|
14
|
+
|
|
15
|
+
rejection_subject: Subject- header to use for rejection mails.
|
|
16
|
+
rejection_reason: Human readable error message for rejection mails.
|
|
17
|
+
rejection_variables: "%n = CRLF, %r = reason, %s = original subject, %t = recipient"
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
en:
|
|
2
|
+
server:
|
|
3
|
+
help:
|
|
4
|
+
disable_plaintext_auth: Disable LOGIN command and all other plaintext authentications unless SSL/TLS is used (LOGINDISABLED capability).
|
|
5
|
+
auth_username_chars: List of allowed characters in username. If the user-given username contains a character not listed in here, the login automatically fails. If you want to allow all characters, set this value to empty.
|
|
6
|
+
auth_worker_max_count: Maximum number of dovecot-auth worker processes. They're used to execute blocking passdb and userdb queries (eg. MySQL and PAM). They're automatically created and destroyed as needed.
|
|
7
|
+
auth_mechanisms: Space separated list of wanted authentication mechanisms (plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi otp skey gss-spnego).
|
|
8
|
+
auth_verbose: Log unsuccessful authentication attempts and the reasons why they failed.
|
|
9
|
+
mail_cache_min_mail_count: The minimum number of mails in a mailbox before updates are done to cache file. This allows optimizing Dovecot's behavior to do less disk writes at the cost of more disk reads.
|
|
10
|
+
|
|
11
|
+
postmaster_address: Address to use when sending rejection mails.
|
|
12
|
+
|
|
13
|
+
quota_full_tempfail: If user is over quota, return with temporary failure instead of bouncing the mail.
|
|
14
|
+
|
|
15
|
+
rejection_subject: Subject- header to use for rejection mails.
|
|
16
|
+
rejection_reason: Human readable error message for rejection mails.
|
|
17
|
+
rejection_variables: "%n = CRLF, %r = reason, %s = original subject, %t = recipient"
|
|
18
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
cz:
|
|
2
|
+
server:
|
|
3
|
+
key:
|
|
4
|
+
disable_plaintext_auth: Zakázat autentizaci bez šifrování
|
|
5
|
+
auth_username_chars: Povolené znaky v uživatelově jméně
|
|
6
|
+
auth_worker_max_count: Maximální počet přihlašovacích procesů
|
|
7
|
+
auth_verbose: Podrobnější logování autentizace
|
|
8
|
+
mail_cache_min_mail_count: Min. počet e-mailů před aktualizací cache
|
|
9
|
+
imap_login__listener__port: IMAP port
|
|
10
|
+
imaps_login__listener__port: IMAPs port
|
|
11
|
+
pop3_login_listener_port: POP3 port
|
|
12
|
+
pop3s_login__listener__port: POP3s port
|
|
13
|
+
imap__process_limit: Max. počet připojených IMAP klientů
|
|
14
|
+
pop3__process_limit: Max. počet připojených POP3 klientů
|
|
15
|
+
quota_full_tempfail: Způsob upozornění na plnou schránku
|
|
16
|
+
rejection_subject: Předmět odmítnutí
|
|
17
|
+
rejection_reason: Důvod odmítnutí
|
|
18
|
+
storage_size: Velikost schránky
|
|
19
|
+
storage_trash: Velikost koše
|
|
20
|
+
storage_spam: Velikost složky SPAM
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
en:
|
|
2
|
+
server:
|
|
3
|
+
key:
|
|
4
|
+
disable_plaintext_auth:
|
|
5
|
+
auth_username_chars:
|
|
6
|
+
auth_worker_max_count:
|
|
7
|
+
auth_verbose:
|
|
8
|
+
mail_cache_min_mail_count:
|
|
9
|
+
imap_login__listener__port:
|
|
10
|
+
imaps_login__listener__port:
|
|
11
|
+
pop3_login_listener_port:
|
|
12
|
+
pop3s_login__listener__port:
|
|
13
|
+
imap__process_limit:
|
|
14
|
+
pop3__process_limit:
|
|
15
|
+
quota_full_tempfail:
|
|
16
|
+
rejection_subject:
|
|
17
|
+
rejection_reason:
|
|
18
|
+
storage_size:
|
|
19
|
+
storage_trash:
|
|
20
|
+
storage_spam:
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
en:
|
|
2
|
+
simple_form:
|
|
3
|
+
"yes": 'Yes'
|
|
4
|
+
"no": 'No'
|
|
5
|
+
required:
|
|
6
|
+
text: 'required'
|
|
7
|
+
mark: '*'
|
|
8
|
+
# You can uncomment the line below if you need to overwrite the whole required html.
|
|
9
|
+
# When using html, text and mark won't be used.
|
|
10
|
+
# html: '<abbr title="required">*</abbr>'
|
|
11
|
+
error_notification:
|
|
12
|
+
default_message: "Please review the problems below:"
|
|
13
|
+
# Labels and hints examples
|
|
14
|
+
# labels:
|
|
15
|
+
# defaults:
|
|
16
|
+
# password: 'Password'
|
|
17
|
+
# user:
|
|
18
|
+
# new:
|
|
19
|
+
# email: 'E-mail to sign in.'
|
|
20
|
+
# edit:
|
|
21
|
+
# email: 'E-mail.'
|
|
22
|
+
# hints:
|
|
23
|
+
# defaults:
|
|
24
|
+
# username: 'User name to sign in.'
|
|
25
|
+
# password: 'No special characters, please.'
|
|
26
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
cz:
|
|
2
|
+
admin_users:
|
|
3
|
+
index:
|
|
4
|
+
title: Správci systému
|
|
5
|
+
create: Přidat správce
|
|
6
|
+
reset: Storno
|
|
7
|
+
manage: Zobrazit
|
|
8
|
+
nomanage: Skrýt
|
|
9
|
+
infos: Informace
|
|
10
|
+
domains: Domény, které spravuje
|
|
11
|
+
form:
|
|
12
|
+
name: Jméno
|
|
13
|
+
email: E-mail
|
|
14
|
+
super: Supersprávce
|
|
15
|
+
create: Uložit
|
|
16
|
+
reset: Storno
|
|
17
|
+
|
|
18
|
+
first:
|
|
19
|
+
first_admin_user: Vytvoření prvního správce
|
|
20
|
+
name: Jméno
|
|
21
|
+
email: E-mail
|
|
22
|
+
pass: Heslo
|
|
23
|
+
passs: Heslo podruhé
|
|
24
|
+
create: Vytvořit
|
|
25
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
cz:
|
|
2
|
+
aliases:
|
|
3
|
+
index:
|
|
4
|
+
title: Přesměrování
|
|
5
|
+
title_new: Vytvořit nové přesměrování
|
|
6
|
+
title_edit: Upravit přesměrování
|
|
7
|
+
edit: Upravit
|
|
8
|
+
delete: Odstranit
|
|
9
|
+
create: Přidat přesměrování
|
|
10
|
+
confirm: Opravdu chcete odstranit toto přesměrování?
|
|
11
|
+
form:
|
|
12
|
+
source: Co
|
|
13
|
+
destination: Kam
|
|
14
|
+
create: Vytvořit
|
|
15
|
+
reset: Storno
|
|
16
|
+
source_hint: Jméno schránky nebo *
|
|
17
|
+
dest_hint: Celé e-mailové adresy, každá na vlastní řádek
|