fat_free_crm 0.11.4 → 0.12.0
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.
Potentially problematic release.
This version of fat_free_crm might be problematic. Click here for more details.
- checksums.yaml +15 -0
- data/.gitignore +2 -1
- data/.travis.yml +10 -17
- data/CHANGELOG +57 -4
- data/CONTRIBUTORS +6 -4
- data/Gemfile +24 -21
- data/Gemfile.lock +142 -111
- data/Guardfile +11 -31
- data/MIT-LICENSE +21 -0
- data/README.md +30 -39
- data/app/assets/javascripts/admin/fields.js.coffee +5 -18
- data/app/assets/javascripts/application.js.erb +3 -14
- data/app/assets/javascripts/crm.js +3 -15
- data/app/assets/javascripts/crm_chosen.js.coffee +21 -4
- data/app/assets/javascripts/crm_classes.js +3 -15
- data/app/assets/javascripts/crm_fields.js +3 -15
- data/app/assets/javascripts/crm_loginout.js +3 -15
- data/app/assets/javascripts/crm_textarea_autocomplete.js +3 -15
- data/app/assets/javascripts/datepicker.js.coffee +5 -0
- data/app/assets/javascripts/format_buttons.js.coffee +5 -0
- data/app/assets/javascripts/groups.js.coffee +5 -0
- data/app/assets/javascripts/jquery-noconflict.js +3 -15
- data/app/assets/javascripts/lists.js.coffee +6 -0
- data/app/assets/javascripts/search.js.coffee +5 -0
- data/app/assets/stylesheets/admin/fields.css.scss +10 -0
- data/app/assets/stylesheets/advanced_search.css.scss +5 -0
- data/app/assets/stylesheets/application.css.erb +3 -14
- data/app/assets/stylesheets/base.scss +3 -15
- data/app/assets/stylesheets/common.scss +3 -15
- data/app/assets/stylesheets/ffcrm_chosen.scss +5 -0
- data/app/assets/stylesheets/fields.scss +5 -0
- data/app/assets/stylesheets/format_buttons.css.scss +5 -0
- data/app/assets/stylesheets/groups.css.scss +5 -0
- data/app/assets/stylesheets/header.scss +3 -15
- data/app/assets/stylesheets/index_headers.css.scss +5 -0
- data/app/assets/stylesheets/lists.css.scss +5 -0
- data/app/assets/stylesheets/print.css.scss +3 -15
- data/app/assets/stylesheets/rails.scss +4 -16
- data/app/assets/stylesheets/safari.scss +3 -15
- data/app/assets/stylesheets/textarea_autocomplete.scss +5 -0
- data/app/controllers/admin/application_controller.rb +3 -15
- data/app/controllers/admin/field_groups_controller.rb +3 -15
- data/app/controllers/admin/fields_controller.rb +3 -15
- data/app/controllers/admin/groups_controller.rb +3 -15
- data/app/controllers/admin/plugins_controller.rb +3 -15
- data/app/controllers/admin/settings_controller.rb +3 -15
- data/app/controllers/admin/tags_controller.rb +3 -15
- data/app/controllers/admin/users_controller.rb +3 -15
- data/app/controllers/application_controller.rb +3 -15
- data/app/controllers/authentications_controller.rb +3 -15
- data/app/controllers/comments_controller.rb +6 -16
- data/app/controllers/emails_controller.rb +3 -15
- data/app/controllers/entities/accounts_controller.rb +4 -15
- data/app/controllers/entities/campaigns_controller.rb +4 -15
- data/app/controllers/entities/contacts_controller.rb +4 -15
- data/app/controllers/entities/leads_controller.rb +4 -15
- data/app/controllers/entities/opportunities_controller.rb +6 -16
- data/app/controllers/entities_controller.rb +3 -15
- data/app/controllers/home_controller.rb +3 -15
- data/app/controllers/lists_controller.rb +3 -15
- data/app/controllers/passwords_controller.rb +3 -15
- data/app/controllers/tasks_controller.rb +5 -16
- data/app/controllers/users_controller.rb +3 -15
- data/app/helpers/accounts_helper.rb +7 -17
- data/app/helpers/addresses_helper.rb +3 -15
- data/app/helpers/admin/application_helper.rb +3 -15
- data/app/helpers/admin/field_groups_helper.rb +3 -15
- data/app/helpers/admin/fields_helper.rb +3 -15
- data/app/helpers/admin/plugins_helper.rb +3 -15
- data/app/helpers/admin/settings_helper.rb +3 -15
- data/app/helpers/admin/tags_helper.rb +3 -15
- data/app/helpers/admin/users_helper.rb +3 -15
- data/app/helpers/application_helper.rb +12 -18
- data/app/helpers/authentications_helper.rb +3 -15
- data/app/helpers/campaigns_helper.rb +3 -15
- data/app/helpers/comments_helper.rb +3 -15
- data/app/helpers/contacts_helper.rb +3 -15
- data/app/helpers/emails_helper.rb +3 -15
- data/app/helpers/fields_helper.rb +3 -15
- data/app/helpers/groups_helper.rb +5 -0
- data/app/helpers/home_helper.rb +3 -15
- data/app/helpers/leads_helper.rb +3 -15
- data/app/helpers/lists_helper.rb +3 -15
- data/app/helpers/opportunities_helper.rb +3 -15
- data/app/helpers/passwords_helper.rb +3 -15
- data/app/helpers/tags_helper.rb +3 -15
- data/app/helpers/tasks_helper.rb +3 -15
- data/app/helpers/users_helper.rb +3 -15
- data/app/helpers/versions_helper.rb +3 -15
- data/app/inputs/{datepair_input.rb → date_pair_input.rb} +10 -21
- data/app/inputs/date_time_input.rb +13 -15
- data/app/inputs/datetime_pair_input.rb +26 -0
- data/app/inputs/text_input.rb +5 -15
- data/app/mailers/dropbox_mailer.rb +3 -15
- data/app/mailers/subscription_mailer.rb +9 -16
- data/app/mailers/user_mailer.rb +3 -15
- data/app/models/entities/account.rb +7 -17
- data/app/models/entities/account_contact.rb +6 -17
- data/app/models/entities/account_opportunity.rb +5 -15
- data/app/models/entities/campaign.rb +5 -15
- data/app/models/entities/contact.rb +15 -25
- data/app/models/entities/contact_opportunity.rb +5 -15
- data/app/models/entities/lead.rb +6 -16
- data/app/models/entities/opportunity.rb +6 -16
- data/app/models/fields/core_field.rb +5 -16
- data/app/models/fields/custom_field.rb +6 -16
- data/app/models/fields/custom_field_date_pair.rb +6 -21
- data/app/models/fields/custom_field_datetime_pair.rb +5 -19
- data/app/models/fields/custom_field_pair.rb +6 -16
- data/app/models/fields/field.rb +6 -17
- data/app/models/fields/field_group.rb +7 -17
- data/app/models/list.rb +4 -15
- data/app/models/observers/entity_observer.rb +5 -0
- data/app/models/observers/lead_observer.rb +3 -15
- data/app/models/observers/opportunity_observer.rb +3 -15
- data/app/models/observers/task_observer.rb +3 -15
- data/app/models/polymorphic/address.rb +5 -16
- data/app/models/polymorphic/avatar.rb +5 -16
- data/app/models/polymorphic/comment.rb +5 -15
- data/app/models/polymorphic/email.rb +5 -15
- data/app/models/polymorphic/tag.rb +6 -16
- data/app/models/polymorphic/tagging.rb +4 -15
- data/app/models/polymorphic/task.rb +6 -16
- data/app/models/setting.rb +5 -23
- data/app/models/users/ability.rb +9 -2
- data/app/models/users/authentication.rb +5 -16
- data/app/models/users/group.rb +7 -0
- data/app/models/users/permission.rb +5 -16
- data/app/models/users/preference.rb +4 -15
- data/app/models/users/user.rb +10 -19
- data/app/views/admin/fields/index.html.haml +2 -0
- data/app/views/comments/_edit.html.haml +0 -1
- data/app/views/comments/_new.html.haml +0 -1
- data/app/views/contacts/_contacts.html.haml +1 -1
- data/app/views/contacts/_sidebar_show.html.haml +19 -0
- data/app/views/contacts/_top_section.html.haml +3 -2
- data/app/views/entities/_search.html.haml +4 -3
- data/app/views/entities/contacts.js.rjs +1 -1
- data/app/views/entities/leads.js.rjs +1 -1
- data/app/views/entities/opportunities.js.rjs +1 -1
- data/app/views/fields/_edit_custom_field_group.html.haml +1 -1
- data/app/views/home/_task.html.haml +3 -1
- data/app/views/layouts/_footer.html.haml +1 -1
- data/app/views/leads/_leads.html.haml +1 -1
- data/app/views/leads/_sidebar_show.html.haml +7 -0
- data/app/views/leads/_top_section.html.haml +3 -2
- data/app/views/lists/_sidebar.html.haml +5 -5
- data/app/views/opportunities/_opportunities.html.haml +1 -1
- data/app/views/versions/_versions.html.haml +1 -1
- data/config/application.rb +11 -3
- data/config/boot.rb +5 -1
- data/config/deploy.example.rb +5 -0
- data/config/environment.rb +5 -0
- data/config/environments/development.rb +5 -0
- data/config/environments/production.rb +5 -0
- data/config/environments/staging.rb +5 -0
- data/config/environments/test.rb +6 -1
- data/config/initializers/action_mailer.rb +5 -0
- data/config/initializers/authlogic.rb +5 -0
- data/config/initializers/constants.rb +5 -0
- data/config/initializers/gravatar.rb +5 -0
- data/config/initializers/locale.rb +3 -15
- data/config/initializers/mime_types.rb +5 -0
- data/config/initializers/paginate_arrays.rb +5 -0
- data/config/initializers/paper_trail.rb +5 -0
- data/config/initializers/ransack.rb +6 -1
- data/config/initializers/relative_url_root.rb +3 -15
- data/config/initializers/sass.rb +5 -0
- data/config/initializers/secret_token.rb +6 -1
- data/config/initializers/simple_form.rb +5 -0
- data/config/initializers/views.rb +5 -0
- data/config/locales/de_fat_free_crm.yml +125 -7
- data/config/locales/en-US_fat_free_crm.yml +7 -2
- data/config/locales/th.rb +5 -0
- data/config/routes.rb +5 -0
- data/config/settings.default.yml +10 -18
- data/config/unicorn.rb +5 -0
- data/fat_free_crm.gemspec +6 -4
- data/lib/development_tasks/gem.rake +3 -15
- data/lib/development_tasks/license.rake +12 -32
- data/lib/development_tasks/rdoc.rake +3 -15
- data/lib/development_tasks/rspec.rake +3 -15
- data/lib/fat_free_crm.rb +6 -16
- data/lib/fat_free_crm/callback.rb +3 -15
- data/lib/fat_free_crm/comment_extensions.rb +5 -0
- data/lib/fat_free_crm/core_ext.rb +3 -15
- data/lib/fat_free_crm/core_ext/nil.rb +3 -15
- data/lib/fat_free_crm/core_ext/string.rb +3 -15
- data/lib/fat_free_crm/custom_fields.rb +12 -0
- data/lib/fat_free_crm/engine.rb +3 -15
- data/lib/fat_free_crm/errors.rb +3 -15
- data/lib/fat_free_crm/exceptions.rb +3 -15
- data/lib/fat_free_crm/export_csv.rb +35 -0
- data/lib/fat_free_crm/exportable.rb +3 -15
- data/lib/fat_free_crm/fields.rb +5 -17
- data/lib/fat_free_crm/gem_dependencies.rb +3 -15
- data/lib/fat_free_crm/gem_ext.rb +3 -15
- data/lib/fat_free_crm/gem_ext/action_controller/base.rb +3 -15
- data/lib/fat_free_crm/gem_ext/active_model/serializers/xml/serializer/attribute.rb +3 -15
- data/lib/fat_free_crm/gem_ext/active_record/schema_dumper.rb +3 -15
- data/lib/fat_free_crm/gem_ext/active_support/buffered_logger.rb +3 -15
- data/lib/fat_free_crm/gem_ext/authlogic/session/cookies.rb +3 -15
- data/lib/fat_free_crm/gem_ext/rails/engine.rb +3 -15
- data/lib/fat_free_crm/gem_ext/rails/text_helper.rb +3 -15
- data/lib/fat_free_crm/gem_ext/rake/task.rb +3 -15
- data/lib/fat_free_crm/gem_ext/simple_form/action_view_extensions/form_helper.rb +3 -15
- data/lib/fat_free_crm/i18n.rb +3 -15
- data/lib/fat_free_crm/load_settings.rb +20 -0
- data/lib/fat_free_crm/mail_processor/base.rb +20 -18
- data/lib/fat_free_crm/mail_processor/comment_replies.rb +3 -15
- data/lib/fat_free_crm/mail_processor/dropbox.rb +4 -16
- data/lib/fat_free_crm/permissions.rb +3 -15
- data/lib/fat_free_crm/plugin.rb +3 -15
- data/lib/fat_free_crm/plugin_dependencies.rb +3 -15
- data/lib/fat_free_crm/renderers.rb +6 -25
- data/lib/fat_free_crm/sortable.rb +3 -15
- data/lib/fat_free_crm/tabs.rb +3 -15
- data/lib/fat_free_crm/version.rb +5 -17
- data/lib/fat_free_crm/view_factory.rb +3 -15
- data/lib/missing_translation_detector.rb +50 -0
- data/lib/tasks/db/migrate.rake +3 -15
- data/lib/tasks/db/schema.rake +3 -15
- data/lib/tasks/ffcrm/comment_replies.rake +3 -15
- data/lib/tasks/ffcrm/config.rake +28 -16
- data/lib/tasks/ffcrm/demo.rake +3 -15
- data/lib/tasks/ffcrm/dropbox.rake +3 -15
- data/lib/tasks/ffcrm/missing_translations.rake +33 -0
- data/lib/tasks/ffcrm/settings.rake +3 -15
- data/lib/tasks/ffcrm/setup.rake +15 -24
- data/lib/tasks/ffcrm/update_data.rake +3 -15
- data/spec/controllers/admin/groups_controller_spec.rb +5 -0
- data/spec/controllers/admin/users_controller_spec.rb +5 -0
- data/spec/controllers/applications_controller_spec.rb +5 -0
- data/spec/controllers/authentications_controller_spec.rb +5 -0
- data/spec/controllers/comments_controller_spec.rb +5 -0
- data/spec/controllers/emails_controller_spec.rb +5 -0
- data/spec/controllers/entities/accounts_controller_spec.rb +5 -0
- data/spec/controllers/entities/campaigns_controller_spec.rb +5 -0
- data/spec/controllers/entities/contacts_controller_spec.rb +5 -0
- data/spec/controllers/entities/leads_controller_spec.rb +5 -0
- data/spec/controllers/entities/opportunities_controller_spec.rb +5 -0
- data/spec/controllers/entities_controller_spec.rb +5 -0
- data/spec/controllers/home_controller_spec.rb +5 -0
- data/spec/controllers/lists_controller_spec.rb +5 -0
- data/spec/controllers/passwords_controller_spec.rb +5 -0
- data/spec/controllers/tasks_controller_spec.rb +7 -6
- data/spec/controllers/users_controller_spec.rb +5 -0
- data/spec/factories/account_factories.rb +5 -0
- data/spec/factories/campaign_factories.rb +6 -1
- data/spec/factories/contact_factories.rb +6 -1
- data/spec/factories/field_factories.rb +6 -1
- data/spec/factories/lead_factories.rb +6 -1
- data/spec/factories/list_factories.rb +6 -1
- data/spec/factories/opportunity_factories.rb +16 -5
- data/spec/factories/sequences.rb +7 -1
- data/spec/factories/setting_factories.rb +6 -1
- data/spec/factories/shared_factories.rb +5 -0
- data/spec/factories/subscription_factories.rb +5 -0
- data/spec/factories/tag_factories.rb +6 -1
- data/spec/factories/task_factories.rb +6 -1
- data/spec/factories/user_factories.rb +5 -0
- data/spec/features/acceptance_helper.rb +9 -0
- data/spec/{acceptance → features}/accounts_spec.rb +14 -9
- data/spec/{acceptance → features}/admin/groups_spec.rb +5 -0
- data/spec/{acceptance → features}/admin/users_spec.rb +9 -4
- data/spec/{acceptance → features}/campaigns_spec.rb +14 -16
- data/spec/{acceptance → features}/contacts_spec.rb +13 -16
- data/spec/{acceptance → features}/dashboard_spec.rb +5 -0
- data/spec/{acceptance → features}/leads_spec.rb +11 -12
- data/spec/{acceptance → features}/opportunities_overview_spec.rb +5 -0
- data/spec/{acceptance → features}/opportunities_spec.rb +14 -16
- data/spec/features/support/browser.rb +18 -0
- data/spec/{acceptance → features}/support/headless.rb +5 -3
- data/spec/{acceptance → features}/support/helpers.rb +6 -1
- data/spec/features/support/maintain_sessions.rb +10 -0
- data/spec/{acceptance → features}/support/paths.rb +9 -4
- data/spec/{acceptance → features}/support/selector_helpers.rb +6 -1
- data/spec/{acceptance → features}/tasks_spec.rb +7 -5
- data/spec/helpers/accounts_helper_spec.rb +5 -0
- data/spec/helpers/admin/field_groups_helper_spec.rb +5 -0
- data/spec/helpers/admin/plugins_helper_spec.rb +5 -0
- data/spec/helpers/admin/settings_helper_spec.rb +5 -0
- data/spec/helpers/admin/users_helper_spec.rb +5 -0
- data/spec/helpers/application_helper_spec.rb +5 -0
- data/spec/helpers/authentications_helper_spec.rb +5 -0
- data/spec/helpers/campaigns_helper_spec.rb +5 -0
- data/spec/helpers/comments_helper_spec.rb +5 -0
- data/spec/helpers/contacts_helper_spec.rb +5 -0
- data/spec/helpers/emails_helper_spec.rb +5 -0
- data/spec/helpers/fields_helper_spec.rb +5 -0
- data/spec/helpers/groups_helper_spec.rb +6 -1
- data/spec/helpers/home_helper_spec.rb +5 -0
- data/spec/helpers/leads_helper_spec.rb +5 -0
- data/spec/helpers/lists_helper_spec.rb +6 -1
- data/spec/helpers/opportunities_helper_spec.rb +5 -0
- data/spec/helpers/passwords_helper_spec.rb +5 -0
- data/spec/helpers/tasks_helper_spec.rb +5 -0
- data/spec/helpers/users_helper_spec.rb +5 -0
- data/spec/lib/comment_extensions_spec.rb +5 -0
- data/spec/lib/core_ext/string_spec.rb +5 -0
- data/spec/lib/errors_spec.rb +5 -0
- data/spec/lib/fields_spec.rb +5 -0
- data/spec/lib/mail_processor/base_spec.rb +5 -0
- data/spec/lib/mail_processor/comment_replies_spec.rb +5 -0
- data/spec/lib/mail_processor/dropbox_spec.rb +5 -0
- data/spec/lib/mail_processor/sample_emails/dropbox.rb +5 -0
- data/spec/lib/permissions_spec.rb +5 -0
- data/spec/lib/view_factory_spec.rb +5 -0
- data/spec/mailers/subscription_mailer_spec.rb +19 -1
- data/spec/mailers/user_mailer_spec.rb +6 -1
- data/spec/models/entities/account_contact_spec.rb +5 -0
- data/spec/models/entities/account_opportunity_spec.rb +5 -0
- data/spec/models/entities/account_spec.rb +6 -1
- data/spec/models/entities/campaign_spec.rb +5 -0
- data/spec/models/entities/contact_opportunity_spec.rb +5 -0
- data/spec/models/entities/contact_spec.rb +5 -0
- data/spec/models/entities/lead_spec.rb +5 -0
- data/spec/models/entities/opportunity_spec.rb +15 -2
- data/spec/models/fields/custom_field_date_pair_spec.rb +3 -15
- data/spec/models/fields/custom_field_pair_spec.rb +3 -15
- data/spec/models/fields/custom_field_spec.rb +5 -0
- data/spec/models/fields/field_group_spec.rb +5 -0
- data/spec/models/fields/field_spec.rb +5 -0
- data/spec/models/list_spec.rb +5 -0
- data/spec/models/observers/entity_observer_spec.rb +5 -0
- data/spec/models/polymorphic/address_spec.rb +5 -0
- data/spec/models/polymorphic/avatar_spec.rb +5 -0
- data/spec/models/polymorphic/comment_spec.rb +5 -0
- data/spec/models/polymorphic/email_spec.rb +5 -0
- data/spec/models/polymorphic/task_spec.rb +5 -0
- data/spec/models/polymorphic/version_spec.rb +26 -22
- data/spec/models/setting_spec.rb +5 -0
- data/spec/models/users/authentication_spec.rb +5 -0
- data/spec/models/users/group_spec.rb +6 -1
- data/spec/models/users/permission_spec.rb +5 -0
- data/spec/models/users/preference_spec.rb +5 -0
- data/spec/models/users/user_spec.rb +6 -1
- data/spec/routing/accounts_routing_spec.rb +5 -0
- data/spec/routing/admin/users_routing_spec.rb +5 -0
- data/spec/routing/campaigns_routing_spec.rb +5 -0
- data/spec/routing/comments_routing_spec.rb +5 -0
- data/spec/routing/contacts_routing_spec.rb +5 -0
- data/spec/routing/emails_routing_spec.rb +5 -0
- data/spec/routing/leads_routing_spec.rb +5 -0
- data/spec/routing/opportunities_routing_spec.rb +5 -0
- data/spec/routing/tasks_routing_spec.rb +5 -0
- data/spec/routing/users_routing_spec.rb +5 -0
- data/spec/shared/controllers.rb +8 -3
- data/spec/shared/models.rb +110 -105
- data/spec/spec_helper.rb +40 -22
- data/spec/support/assert_select.rb +5 -0
- data/spec/support/auth_macros.rb +5 -0
- data/spec/support/macros.rb +5 -0
- data/spec/support/mail_processor_mocks.rb +5 -0
- data/spec/support/rjs_support.rb +6 -1
- data/spec/support/uploaded_file.rb +5 -0
- data/spec/views/accounts/_edit.haml_spec.rb +5 -0
- data/spec/views/accounts/_new.haml_spec.rb +5 -0
- data/spec/views/accounts/create.rjs_spec.rb +5 -0
- data/spec/views/accounts/destroy.rjs_spec.rb +5 -0
- data/spec/views/accounts/edit.rjs_spec.rb +5 -0
- data/spec/views/accounts/index.haml_spec.rb +5 -0
- data/spec/views/accounts/index.rjs_spec.rb +5 -0
- data/spec/views/accounts/new.rjs_spec.rb +5 -0
- data/spec/views/accounts/show.haml_spec.rb +5 -0
- data/spec/views/accounts/update.rjs_spec.rb +5 -0
- data/spec/views/admin/users/_create.haml_spec.rb +5 -0
- data/spec/views/admin/users/create.rjs_spec.rb +5 -0
- data/spec/views/admin/users/destroy.rjs_spec.rb +5 -0
- data/spec/views/admin/users/edit.rjs_spec.rb +5 -0
- data/spec/views/admin/users/index.haml_spec.rb +5 -0
- data/spec/views/admin/users/index.rjs_spec.rb +5 -0
- data/spec/views/admin/users/new.rjs_spec.rb +5 -0
- data/spec/views/admin/users/reactivate.rjs_spec.rb +5 -0
- data/spec/views/admin/users/show.haml_spec.rb +5 -0
- data/spec/views/admin/users/suspend.rjs_spec.rb +5 -0
- data/spec/views/admin/users/update.rjs_spec.rb +5 -0
- data/spec/views/application/auto_complete.haml_spec.rb +5 -0
- data/spec/views/authentications/new.haml_spec.rb +5 -0
- data/spec/views/campaigns/_edit.haml_spec.rb +8 -2
- data/spec/views/campaigns/_new.haml_spec.rb +5 -0
- data/spec/views/campaigns/create.rjs_spec.rb +5 -0
- data/spec/views/campaigns/destroy.rjs_spec.rb +5 -0
- data/spec/views/campaigns/edit.rjs_spec.rb +5 -0
- data/spec/views/campaigns/index.haml_spec.rb +5 -0
- data/spec/views/campaigns/index.rjs_spec.rb +5 -0
- data/spec/views/campaigns/new.rjs_spec.rb +5 -0
- data/spec/views/campaigns/show.haml_spec.rb +5 -0
- data/spec/views/campaigns/update.rjs_spec.rb +5 -0
- data/spec/views/comments/new.rjs_spec.rb +5 -0
- data/spec/views/contacts/_edit.haml_spec.rb +5 -0
- data/spec/views/contacts/_new.haml_spec.rb +5 -0
- data/spec/views/contacts/create.rjs_spec.rb +5 -0
- data/spec/views/contacts/destroy.rjs_spec.rb +5 -0
- data/spec/views/contacts/edit.rjs_spec.rb +5 -0
- data/spec/views/contacts/index.haml_spec.rb +5 -0
- data/spec/views/contacts/index.rjs_spec.rb +5 -0
- data/spec/views/contacts/new.rjs_spec.rb +5 -0
- data/spec/views/contacts/show.haml_spec.rb +5 -0
- data/spec/views/contacts/update.rjs_spec.rb +5 -0
- data/spec/views/home/index.haml_spec.rb +5 -0
- data/spec/views/home/index.rjs_spec.rb +5 -0
- data/spec/views/home/options.rjs_spec.rb +5 -0
- data/spec/views/leads/_convert.haml_spec.rb +5 -0
- data/spec/views/leads/_edit.haml_spec.rb +5 -0
- data/spec/views/leads/_new.haml_spec.rb +5 -0
- data/spec/views/leads/_sidebar_show.haml_spec.rb +5 -0
- data/spec/views/leads/convert.rjs_spec.rb +5 -0
- data/spec/views/leads/create.rjs_spec.rb +5 -0
- data/spec/views/leads/destroy.rjs_spec.rb +5 -0
- data/spec/views/leads/edit.rjs_spec.rb +5 -0
- data/spec/views/leads/index.haml_spec.rb +5 -0
- data/spec/views/leads/index.rjs_spec.rb +5 -0
- data/spec/views/leads/new.rjs_spec.rb +5 -0
- data/spec/views/leads/promote.rjs_spec.rb +5 -0
- data/spec/views/leads/reject.rjs_spec.rb +5 -0
- data/spec/views/leads/show.haml_spec.rb +5 -0
- data/spec/views/leads/update.rjs_spec.rb +5 -0
- data/spec/views/opportunities/_edit.haml_spec.rb +5 -0
- data/spec/views/opportunities/_new.haml_spec.rb +5 -0
- data/spec/views/opportunities/create.rjs_spec.rb +5 -0
- data/spec/views/opportunities/destroy.rjs_spec.rb +5 -0
- data/spec/views/opportunities/edit.rjs_spec.rb +5 -0
- data/spec/views/opportunities/index.haml_spec.rb +5 -0
- data/spec/views/opportunities/index.rjs_spec.rb +5 -0
- data/spec/views/opportunities/new.rjs_spec.rb +5 -0
- data/spec/views/opportunities/show.haml_spec.rb +5 -0
- data/spec/views/opportunities/update.rjs_spec.rb +5 -0
- data/spec/views/tasks/_edit.haml_spec.rb +5 -0
- data/spec/views/tasks/complete.rjs_spec.rb +5 -0
- data/spec/views/tasks/create.rjs_spec.rb +5 -0
- data/spec/views/tasks/destroy.rjs_spec.rb +5 -0
- data/spec/views/tasks/edit.rjs_spec.rb +5 -0
- data/spec/views/tasks/index.haml_spec.rb +5 -0
- data/spec/views/tasks/new.rjs_spec.rb +5 -0
- data/spec/views/tasks/update.rjs_spec.rb +5 -0
- data/spec/views/users/avatar.rjs_spec.rb +5 -0
- data/spec/views/users/change_password.rjs_spec.rb +5 -0
- data/spec/views/users/edit.rjs_spec.rb +5 -0
- data/spec/views/users/password.rjs_spec.rb +5 -0
- data/spec/views/users/update.rjs_spec.rb +5 -0
- data/spec/views/users/upload_avatar.rjs_spec.rb +5 -0
- metadata +45 -101
- data/LICENSE +0 -620
- data/app/inputs/datetimepair_input.rb +0 -37
- data/config/initializers/custom_fields.rb +0 -21
- data/lib/fat_free_crm/core_ext/array.rb +0 -75
- data/lib/fat_free_crm/syck_yaml.rb +0 -21
- data/spec/acceptance/acceptance_helper.rb +0 -8
- data/spec/acceptance/support/browser.rb +0 -13
- data/spec/acceptance/support/maintain_sessions.rb +0 -5
@@ -1,3 +1,3 @@
|
|
1
|
-
leads = entity.leads.paginate(:page => params[:page], :per_page => 20)
|
1
|
+
leads = entity.leads.order('updated_at DESC').paginate(:page => params[:page], :per_page => 20)
|
2
2
|
page['leads'].replace_html :partial => 'leads/lead', :collection => leads
|
3
3
|
page['leads_pagination'].replace_html will_paginate(leads, :container => false, :params => {:action => :leads})
|
@@ -1,3 +1,3 @@
|
|
1
|
-
opportunities = entity.opportunities.paginate(:page => params[:page], :per_page => 20)
|
1
|
+
opportunities = entity.opportunities.order('updated_at DESC').paginate(:page => params[:page], :per_page => 20)
|
2
2
|
page['opportunities'].replace_html :partial => 'opportunities/opportunity', :collection => opportunities
|
3
3
|
page['opportunities_pagination'].replace_html will_paginate(opportunities, :container => false, :params => {:action => :opportunities})
|
@@ -2,7 +2,7 @@
|
|
2
2
|
= hook(:custom_field_top_section, self, :f => f) do
|
3
3
|
-# produce inputs for custom fields that do not belong to a particular field group
|
4
4
|
-# i.e. they belong to the 'custom_fields' group
|
5
|
-
- f.object.field_groups.select{|
|
5
|
+
- f.object.field_groups.select{|fg| fg.name == 'custom_fields'}.each do |field_group|
|
6
6
|
- if field_group.fields.present?
|
7
7
|
- field_groups[field_group.tag.name.downcase] = "#{field_group.key}_container" if field_group.tag
|
8
8
|
= render :partial => 'fields/group', :locals => {:f => f, :field_group => field_group}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#footer
|
2
2
|
Powered by #{link_to "Fat Free CRM", "http://www.fatfreecrm.com", :"data-popup" => true }
|
3
|
-
v#{FatFreeCRM::VERSION::STRING} © 2008-#{Date.today.year} by Michael Dvorkin
|
3
|
+
v#{FatFreeCRM::VERSION::STRING} © 2008-#{Date.today.year} by Michael Dvorkin and contributors.
|
4
4
|
\|
|
5
5
|
= image_tag "iconset_attribution.png"
|
6
6
|
Icons from the
|
@@ -1,6 +1,6 @@
|
|
1
1
|
= section(object, :leads)
|
2
2
|
.list#leads
|
3
|
-
- leads = object.leads.paginate(:page => 1, :per_page => 20)
|
3
|
+
- leads = object.leads.order('updated_at desc').paginate(:page => 1, :per_page => 20)
|
4
4
|
= render :partial => "leads/lead", :collection => object.leads.paginate(:page => 1, :per_page => 20)
|
5
5
|
|
6
6
|
= will_paginate leads, :id => 'leads_pagination', :params => {:action => :leads}
|
@@ -44,6 +44,13 @@
|
|
44
44
|
- else
|
45
45
|
#{t :n_a}
|
46
46
|
%tt #{t :campaign}:
|
47
|
+
%li
|
48
|
+
%dt
|
49
|
+
- if @lead.contact
|
50
|
+
= link_to(truncate(@lead.contact.name, :length => 16), @lead.contact, :title => @lead.contact.name)
|
51
|
+
- else
|
52
|
+
#{t :n_a}
|
53
|
+
%tt #{t :contact}:
|
47
54
|
|
48
55
|
- unless @lead.background_info.blank?
|
49
56
|
.caption #{t :background_info}
|
@@ -1,13 +1,14 @@
|
|
1
|
+
|
1
2
|
= hook(:lead_top_section, self, :f => f) do
|
2
3
|
.section
|
3
4
|
%table
|
4
5
|
%tr
|
5
6
|
%td
|
6
|
-
.label.top.req #{t :first_name}:
|
7
|
+
.label.top{ :class => "#{Setting.require_first_names ? 'req' : nil}" } #{t :first_name}:
|
7
8
|
= f.text_field :first_name
|
8
9
|
%td= spacer
|
9
10
|
%td
|
10
|
-
.label.top{ :class => "#{Setting.require_last_names ? 'req' :
|
11
|
+
.label.top{ :class => "#{Setting.require_last_names ? 'req' : nil}" } #{t :last_name}:
|
11
12
|
= f.text_field :last_name
|
12
13
|
%tr
|
13
14
|
%td
|
@@ -16,10 +16,10 @@
|
|
16
16
|
|
17
17
|
.save_list{ hidden }
|
18
18
|
= simple_form_for(@list, :html => one_submit_only(:list), :remote => true) do |f|
|
19
|
-
= f.text_field :name
|
19
|
+
= f.text_field :name, :size => 25
|
20
20
|
= image_tag("/assets/info_tiny.png", :title => t(:list_name_info), :class => "input_info")
|
21
21
|
= f.hidden_field :url
|
22
|
-
%
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
%div
|
23
|
+
= f.submit(t(:save), :id => "save_list", :style => "vertical-align: bottom;")
|
24
|
+
#{t :or}
|
25
|
+
= link_to(t(:cancel), '#', :class => "hide_lists_save_form")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
= section(object, :opportunities)
|
2
2
|
.list#opportunities
|
3
|
-
- opportunities = object.opportunities.paginate(:page => 1, :per_page => 20)
|
3
|
+
- opportunities = object.opportunities.order('updated_at desc').paginate(:page => 1, :per_page => 20)
|
4
4
|
= render :partial => "opportunities/opportunity", :collection => opportunities
|
5
5
|
|
6
6
|
= will_paginate opportunities, :id => 'opportunities_pagination', :params => {:action => :opportunities}
|
@@ -5,7 +5,7 @@
|
|
5
5
|
%div
|
6
6
|
%div{ hidden_if(collapsed) }
|
7
7
|
.list
|
8
|
-
- versions = Version.history(object).paginate(:page => 1, :per_page =>
|
8
|
+
- versions = Version.history(object).paginate(:page => 1, :per_page => 20)
|
9
9
|
= render :partial => "versions/version", :collection => versions
|
10
10
|
|
11
11
|
= will_paginate versions, :id => 'versions_pagination', :params => {:action => :versions}
|
data/config/application.rb
CHANGED
@@ -1,7 +1,15 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
require File.expand_path('../boot', __FILE__)
|
2
7
|
|
8
|
+
require 'rubygems'
|
9
|
+
require 'yaml'
|
10
|
+
YAML::ENGINE.yamler = 'syck'
|
11
|
+
|
3
12
|
require 'rails/all'
|
4
|
-
require 'fat_free_crm/syck_yaml'
|
5
13
|
|
6
14
|
if defined?(Bundler)
|
7
15
|
# If you precompile assets before deploying to production, use this line
|
@@ -20,9 +28,9 @@ module FatFreeCRM
|
|
20
28
|
# -- all .rb files in that directory are automatically loaded.
|
21
29
|
|
22
30
|
# Models are organized in sub-directories
|
23
|
-
config.autoload_paths += Dir[Rails.root.join("app/models/**")] +
|
31
|
+
config.autoload_paths += Dir[Rails.root.join("app/models/**")] +
|
24
32
|
Dir[Rails.root.join("app/controllers/entities")]
|
25
|
-
|
33
|
+
|
26
34
|
# Prevent Field class from being reloading more than once as this clears registered customfields
|
27
35
|
config.autoload_once_paths += [File.expand_path("../app/models/fields/field.rb", __FILE__)]
|
28
36
|
|
data/config/boot.rb
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
-
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
2
6
|
|
3
7
|
# Set up gems listed in the Gemfile.
|
4
8
|
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
data/config/deploy.example.rb
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
$:.unshift File.expand_path('./lib', ENV['rvm_path'])
|
2
7
|
|
3
8
|
require 'rvm/capistrano'
|
data/config/environment.rb
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
# Load the rails application
|
2
7
|
require File.expand_path('../application', __FILE__)
|
3
8
|
|
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
if defined?(FatFreeCRM::Application)
|
2
7
|
FatFreeCRM::Application.configure do
|
3
8
|
# Settings specified here will take precedence over those in config/application.rb
|
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
if defined?(FatFreeCRM::Application)
|
2
7
|
FatFreeCRM::Application.configure do
|
3
8
|
# Settings specified here will take precedence over those in config/application.rb
|
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
if defined?(FatFreeCRM::Application)
|
2
7
|
require FatFreeCRM.root.join('config', 'environments', 'production')
|
3
8
|
FatFreeCRM::Application.configure do
|
data/config/environments/test.rb
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
if defined?(FatFreeCRM::Application)
|
2
7
|
FatFreeCRM::Application.configure do
|
3
8
|
# Settings specified here will take precedence over those in config/application.rb
|
@@ -48,4 +53,4 @@ if defined?(FatFreeCRM::Application)
|
|
48
53
|
require 'ap'
|
49
54
|
rescue LoadError
|
50
55
|
end
|
51
|
-
end
|
56
|
+
end
|
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
#
|
2
7
|
# Configure ActionMailer unless running tests
|
3
8
|
# ActionMailer is setup in test mode later on
|
@@ -1 +1,6 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
require 'authlogic'
|
@@ -1 +1,6 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
ENTITIES = %w(Account Campaign Contact Lead Opportunity).freeze
|
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
GravatarImageTag.configure do |config|
|
2
7
|
config.default_image = :mm # Set this to use your own default gravatar image rather then serving up Gravatar's default image [ 'http://example.com/images/default_gravitar.jpg', :identicon, :monsterid, :wavatar, 404 ].
|
3
8
|
config.filetype = nil # Set this if you require a specific image file format ['gif', 'jpg' or 'png']. Gravatar's default is png
|
@@ -1,20 +1,8 @@
|
|
1
|
-
#
|
2
|
-
# Copyright (C) 2008-2011 by Michael Dvorkin
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
3
2
|
#
|
4
|
-
#
|
5
|
-
#
|
6
|
-
# the Free Software Foundation, either version 3 of the License, or
|
7
|
-
# (at your option) any later version.
|
8
|
-
#
|
9
|
-
# This program is distributed in the hope that it will be useful,
|
10
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
-
# GNU Affero General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU Affero General Public License
|
15
|
-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
16
5
|
#------------------------------------------------------------------------------
|
17
|
-
|
18
6
|
# Set default locale from Settings
|
19
7
|
|
20
8
|
I18n.default_locale = Setting.locale
|
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
# Be sure to restart your server when you modify this file.
|
2
7
|
|
3
8
|
# Add new mime types for use in respond_to blocks:
|
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
# From https://github.com/mislav/will_paginate/wiki/Backwards-incompatibility
|
2
7
|
#
|
3
8
|
# The Array#paginate method still exists, too, but is not loaded by default.
|
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
require 'paper_trail'
|
2
7
|
|
3
8
|
Version.const_set :ASSETS, %w(all tasks campaigns leads accounts contacts opportunities comments emails)
|
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
Ransack.configure do |config|
|
2
7
|
config.default_predicates = {
|
3
8
|
:compounds => true,
|
@@ -12,4 +17,4 @@ Ransack.configure do |config|
|
|
12
17
|
:type => 'POST',
|
13
18
|
:key => 'auto_complete_query'
|
14
19
|
}
|
15
|
-
end
|
20
|
+
end
|
@@ -1,20 +1,8 @@
|
|
1
|
-
#
|
2
|
-
# Copyright (C) 2008-2011 by Michael Dvorkin
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
3
2
|
#
|
4
|
-
#
|
5
|
-
#
|
6
|
-
# the Free Software Foundation, either version 3 of the License, or
|
7
|
-
# (at your option) any later version.
|
8
|
-
#
|
9
|
-
# This program is distributed in the hope that it will be useful,
|
10
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
-
# GNU Affero General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU Affero General Public License
|
15
|
-
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
16
5
|
#------------------------------------------------------------------------------
|
17
|
-
|
18
6
|
# Set relative url root for assets
|
19
7
|
|
20
8
|
if Setting.base_url.present?
|
data/config/initializers/sass.rb
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
require 'sass/plugin'
|
2
7
|
|
3
8
|
Sass::Plugin.options.merge!(
|
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
# Be sure to restart your server when you modify this file.
|
2
7
|
|
3
8
|
# Your secret key for verifying the integrity of signed cookies.
|
@@ -10,4 +15,4 @@
|
|
10
15
|
|
11
16
|
if defined?(FatFreeCRM::Application)
|
12
17
|
FatFreeCRM::Application.config.secret_token = '51aa366864a80316a85cff0d3762347f4ae3d029d548bef034d56e82b1a2ffac5353ee6719d9b64e4354e2a0b1a901679f46a851c360a2ea377188e4b196b6b6'
|
13
|
-
end
|
18
|
+
end
|
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
require 'simple_form'
|
2
7
|
|
3
8
|
# Use this setup block to configure all options available in SimpleForm.
|
@@ -1,3 +1,8 @@
|
|
1
|
+
# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
|
2
|
+
#
|
3
|
+
# Fat Free CRM is freely distributable under the terms of MIT license.
|
4
|
+
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
5
|
+
#------------------------------------------------------------------------------
|
1
6
|
|
2
7
|
# Register the views that FatFreeCRM provides
|
3
8
|
#------------------------------------------------------------------------------
|
@@ -17,7 +17,7 @@ de:
|
|
17
17
|
presentation: "Präsentation"
|
18
18
|
activities: "Aktivitäten"
|
19
19
|
fax: "Fax"
|
20
|
-
account: "
|
20
|
+
account: "Firma"
|
21
21
|
all_events_past_participle: "Aktivitäten"
|
22
22
|
facebook: "Facebook"
|
23
23
|
one_month: "Ein Monat"
|
@@ -48,10 +48,13 @@ de:
|
|
48
48
|
conversion_number: "%{value} Konversion"
|
49
49
|
yes_button: "Ja"
|
50
50
|
version:
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
51
|
+
create: "%{item} erstellt von %{by}"
|
52
|
+
update: "%{item} geändert von %{by}"
|
53
|
+
destroy: "%{item} gelöscht von %{by}"
|
54
|
+
set_html: "%{attr} auf %{to} geändert"
|
55
|
+
unset_html: "%{attr} nicht definiert"
|
56
|
+
change_html: "%{attr} wurde von %{from} zu %{to} geändert"
|
57
|
+
anonymous: "anonym"
|
55
58
|
password_reset_instruction: "Anleitung zum Zurücksetzen des Passwortes"
|
56
59
|
new: "Neu"
|
57
60
|
select_existing: "wähle Vorhandene aus"
|
@@ -275,6 +278,22 @@ de:
|
|
275
278
|
share_opportunity: "^Bitte geben Sie die Benutzer an, mit denen Sie an dieser Chance arbeiten."
|
276
279
|
name:
|
277
280
|
missing_opportunity_name: "^Bitte geben Sie die Bezeichnung der Chance an."
|
281
|
+
custom_field:
|
282
|
+
required: "^%{field} muss vorhanden sein."
|
283
|
+
maxlength: "^%{field} ist zu lang."
|
284
|
+
endbeforestart: "^%{field} kann nicht enden bevor es beginnt."
|
285
|
+
|
286
|
+
attribute_options:
|
287
|
+
opportunity:
|
288
|
+
stage:
|
289
|
+
prospecting: "Untersuchen"
|
290
|
+
analysis: "Analyse"
|
291
|
+
presentation: "Präsentation"
|
292
|
+
proposal: "Angebot"
|
293
|
+
negotiation: "Verhandlung"
|
294
|
+
final_review: "Finale Überprüfung"
|
295
|
+
won: "Geschlossen/Gewonnen"
|
296
|
+
lost: "Geschlossen/Verloren"
|
278
297
|
feel_free: "Seien Sie so frei und"
|
279
298
|
one_hour: "Eine Stunde"
|
280
299
|
change_password: "Passwort ändern"
|
@@ -354,6 +373,7 @@ de:
|
|
354
373
|
online: "Online Marketing"
|
355
374
|
collapsed: "Ausgeblendet"
|
356
375
|
advanced_search: "Erweiterte Suche"
|
376
|
+
basic_search: "Einfache Suche"
|
357
377
|
msg_password_updated: "Passwort wurde erfolgreich geändert."
|
358
378
|
admin_tab_settings: "Settings"
|
359
379
|
current_password: "Aktuelles Passwort"
|
@@ -690,5 +710,103 @@ de:
|
|
690
710
|
no_task_records: "Sie haben keine Aufgaben"
|
691
711
|
no_opportunity_records: "Sie haben keine Chancen"
|
692
712
|
no_account_records: "Sie haben keine Firmen"
|
693
|
-
target_revenue: Target revenue
|
694
|
-
target_conversion: Ziel Konversion
|
713
|
+
target_revenue: "Target revenue"
|
714
|
+
target_conversion: "Ziel Konversion"
|
715
|
+
account_with_title_department: "%{title}, %{department} bei %{account}"
|
716
|
+
account_with_title: "%{title} bei %{account}"
|
717
|
+
lead_statuses: "Anfragen Status"
|
718
|
+
account_categories: "Firmen Kategorien"
|
719
|
+
opportunity_stages: "Chancen Abschnitte"
|
720
|
+
search_results_count:
|
721
|
+
one: "Suche ergab %{count} Treffer."
|
722
|
+
other: "Suche ergab %{count} Treffer."
|
723
|
+
entities_per_page: "%{entity} pro Seite:"
|
724
|
+
tab_team: "Team"
|
725
|
+
admin_tab_groups: "Gruppen"
|
726
|
+
contacts_index_long: "Langes Format"
|
727
|
+
contacts_index_brief: "Kurzes Format"
|
728
|
+
contacts_index_full: "Ganzes Format"
|
729
|
+
opportunities_index_normal: "Normales Format"
|
730
|
+
accounts_index_normal: "Normales Format"
|
731
|
+
leads_index_normal: "Normales Format"
|
732
|
+
campaigns_index_normal: "Normales Format"
|
733
|
+
account_id: "Firma"
|
734
|
+
campaign_statuses: "Kampagne Status"
|
735
|
+
unassigned: "Nicht zugeordnet"
|
736
|
+
general_info: "Allgemeine Informationen"
|
737
|
+
show_general_info_small: "Zeige allgemeine Informationen zu diesem Kontakt"
|
738
|
+
show_extra_info_small: "Zeige zusätzliche Informationen zu diesem Kontakt"
|
739
|
+
tag_details: "%{tag} Einzelheiten"
|
740
|
+
show_tag_info_small: "Zeige %{tag} Informationen zu diesem Kontakt."
|
741
|
+
shared_with_everyone: "Mit jedem teilen"
|
742
|
+
title: "Titel"
|
743
|
+
subscriptions: "Beitreten"
|
744
|
+
show_status_info_small: "Zeige Status Informationen zu dieser Anfrage."
|
745
|
+
show_contact_info_small: "Zeige Kontakt Informationen zu dieser Anfrage."
|
746
|
+
closes_on: "Geschlossen am"
|
747
|
+
unassigned_opportunities: "Nicht zugeteilte Chancen"
|
748
|
+
no_opportunities_found: "Es gibt derzeit keine abgelaufenen Chancen"
|
749
|
+
tag_list: "Tags"
|
750
|
+
action_create_comment: "- "%{comment}""
|
751
|
+
not_showing_hidden_entities: "%{count} versteckte %{entity} werden nicht angezeigt."
|
752
|
+
comment_intro: "Sie können Kommentare später hinzufügen."
|
753
|
+
create_group: "Erstelle Gruppe"
|
754
|
+
save_group: "Speichere Gruppe"
|
755
|
+
group_members: "Teilnehmer"
|
756
|
+
groups: "Gruppen"
|
757
|
+
groups_small: "Gruppen"
|
758
|
+
group_small: "Gruppe"
|
759
|
+
confirm_group_delete: "Wollen Sie wirklich diese Gruppe löschen? Sie wird noch von %{count} Einheiten referenziert."
|
760
|
+
group_memberships: "Gruppen Zugehörigkeit"
|
761
|
+
account_contact_id: "Firmen id"
|
762
|
+
account_contact_name: "Firmen Name"
|
763
|
+
user_id: "Benutzer id"
|
764
|
+
created_at: "Erstellt am"
|
765
|
+
updated_at: "Geändert am"
|
766
|
+
to_perm: "Link"
|
767
|
+
admin_fields_info2: "Es wird empfohlen den Server neu zu starten, nachdem kundenspezifische Felder hinzugefügt oder entfernt wurden."
|
768
|
+
|
769
|
+
field_types:
|
770
|
+
string:
|
771
|
+
title: "Kurze Antwort"
|
772
|
+
text:
|
773
|
+
title: "Lange Antwort"
|
774
|
+
select:
|
775
|
+
title: "Auswahlliste"
|
776
|
+
multiselect:
|
777
|
+
title: "Mehrfachauswahlliste"
|
778
|
+
radio:
|
779
|
+
title: "Radio Buttons"
|
780
|
+
boolean:
|
781
|
+
title: "Checkbox"
|
782
|
+
check_boxes:
|
783
|
+
title: "Checkbox Liste"
|
784
|
+
date:
|
785
|
+
title: "Datum"
|
786
|
+
date_pair:
|
787
|
+
title: "Datum Paar"
|
788
|
+
datetime:
|
789
|
+
title: "Datum & Zeit"
|
790
|
+
datetime_pair:
|
791
|
+
title: "Datum & Zeit Paar"
|
792
|
+
email:
|
793
|
+
title: "Email Adresse"
|
794
|
+
url:
|
795
|
+
title: "URL"
|
796
|
+
tel:
|
797
|
+
title: "Telefonnummer"
|
798
|
+
decimal:
|
799
|
+
title: "Nummer (Dezimal)"
|
800
|
+
integer:
|
801
|
+
title: "Nummer (Ganzzahl)"
|
802
|
+
float:
|
803
|
+
title: "Nummer (Gleitzahl)"
|
804
|
+
|
805
|
+
pair:
|
806
|
+
start: "Start"
|
807
|
+
end: "Ende"
|
808
|
+
from_to: "Von %{from} bis %{to}"
|
809
|
+
from_only: "Von %{from}"
|
810
|
+
to_only: "Bis %{to}"
|
811
|
+
|
812
|
+
contact_summary: "Kontakt-Zusammenfassung"
|