typus 3.0.11.rc5 → 3.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitmodules +3 -0
- data/app/views/admin/templates/_text_with_ckeditor.html.erb +13 -0
- data/lib/typus/version.rb +1 -1
- metadata +20 -272
- data/test/fixtures/rails_app/.gitignore +0 -4
- data/test/fixtures/rails_app/Capfile +0 -6
- data/test/fixtures/rails_app/README +0 -256
- data/test/fixtures/rails_app/Rakefile +0 -7
- data/test/fixtures/rails_app/app/controllers/admin/animals_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/articles_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/assets_controller.rb +0 -51
- data/test/fixtures/rails_app/app/controllers/admin/birds_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/cases_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/categories_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/comments_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/dogs_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/entries_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/hits_controller.rb +0 -37
- data/test/fixtures/rails_app/app/controllers/admin/image_holders_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/invoices_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/orders_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/pages_controller.rb +0 -7
- data/test/fixtures/rails_app/app/controllers/admin/posts_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/project_collaborators_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/projects_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/status_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/typus_users_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/users_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin/views_controller.rb +0 -8
- data/test/fixtures/rails_app/app/controllers/admin/watch_dog_controller.rb +0 -2
- data/test/fixtures/rails_app/app/controllers/admin_user.rb +0 -3
- data/test/fixtures/rails_app/app/controllers/application_controller.rb +0 -3
- data/test/fixtures/rails_app/app/helpers/application_helper.rb +0 -2
- data/test/fixtures/rails_app/app/helpers/form_helper.rb +0 -3
- data/test/fixtures/rails_app/app/models/animal.rb +0 -21
- data/test/fixtures/rails_app/app/models/article.rb +0 -10
- data/test/fixtures/rails_app/app/models/asset.rb +0 -45
- data/test/fixtures/rails_app/app/models/bird.rb +0 -2
- data/test/fixtures/rails_app/app/models/case.rb +0 -2
- data/test/fixtures/rails_app/app/models/category.rb +0 -31
- data/test/fixtures/rails_app/app/models/comment.rb +0 -17
- data/test/fixtures/rails_app/app/models/delayed/task.rb +0 -5
- data/test/fixtures/rails_app/app/models/dog.rb +0 -2
- data/test/fixtures/rails_app/app/models/entry.rb +0 -23
- data/test/fixtures/rails_app/app/models/hit.rb +0 -27
- data/test/fixtures/rails_app/app/models/image_holder.rb +0 -21
- data/test/fixtures/rails_app/app/models/invoice.rb +0 -10
- data/test/fixtures/rails_app/app/models/order.rb +0 -9
- data/test/fixtures/rails_app/app/models/page.rb +0 -24
- data/test/fixtures/rails_app/app/models/post.rb +0 -32
- data/test/fixtures/rails_app/app/models/project.rb +0 -17
- data/test/fixtures/rails_app/app/models/project_collaborator.rb +0 -16
- data/test/fixtures/rails_app/app/models/site.rb +0 -16
- data/test/fixtures/rails_app/app/models/typus_user.rb +0 -22
- data/test/fixtures/rails_app/app/models/user.rb +0 -10
- data/test/fixtures/rails_app/app/models/view.rb +0 -19
- data/test/fixtures/rails_app/app/views/admin/assets/_index.html.erb +0 -3
- data/test/fixtures/rails_app/app/views/admin/cases/_index.html.erb +0 -3
- data/test/fixtures/rails_app/app/views/admin/categories/_index.html.erb +0 -3
- data/test/fixtures/rails_app/app/views/admin/dashboard/_sidebar.html.erb +0 -11
- data/test/fixtures/rails_app/app/views/admin/entries/_index.html.erb +0 -3
- data/test/fixtures/rails_app/app/views/admin/hits/_edit.html.erb +0 -7
- data/test/fixtures/rails_app/app/views/admin/hits/_index.html.erb +0 -3
- data/test/fixtures/rails_app/app/views/admin/hits/index.html.erb +0 -28
- data/test/fixtures/rails_app/app/views/admin/pages/_index.html.erb +0 -3
- data/test/fixtures/rails_app/app/views/admin/posts/_edit.html.erb +0 -1
- data/test/fixtures/rails_app/app/views/admin/posts/_index.html.erb +0 -5
- data/test/fixtures/rails_app/app/views/admin/posts/_new.html.erb +0 -1
- data/test/fixtures/rails_app/app/views/admin/posts/_show.html.erb +0 -1
- data/test/fixtures/rails_app/app/views/admin/resources/_sidebar.html.erb +0 -1
- data/test/fixtures/rails_app/app/views/admin/status/index.html.erb +0 -9
- data/test/fixtures/rails_app/app/views/admin/templates/_datepicker.html.erb +0 -1
- data/test/fixtures/rails_app/app/views/admin/watch_dog/index.html.erb +0 -9
- data/test/fixtures/rails_app/config.ru +0 -4
- data/test/fixtures/rails_app/config/application.rb +0 -44
- data/test/fixtures/rails_app/config/boot.rb +0 -6
- data/test/fixtures/rails_app/config/database.yml +0 -34
- data/test/fixtures/rails_app/config/deploy.rb +0 -32
- data/test/fixtures/rails_app/config/environment.rb +0 -5
- data/test/fixtures/rails_app/config/environments/development.rb +0 -32
- data/test/fixtures/rails_app/config/environments/production.rb +0 -54
- data/test/fixtures/rails_app/config/environments/test.rb +0 -40
- data/test/fixtures/rails_app/config/initializers/backtrace_silencers.rb +0 -7
- data/test/fixtures/rails_app/config/initializers/dragonfly.rb +0 -1
- data/test/fixtures/rails_app/config/initializers/inflections.rb +0 -12
- data/test/fixtures/rails_app/config/initializers/mime_types.rb +0 -5
- data/test/fixtures/rails_app/config/initializers/secret_token.rb +0 -7
- data/test/fixtures/rails_app/config/initializers/session_store.rb +0 -8
- data/test/fixtures/rails_app/config/initializers/typus.rb +0 -5
- data/test/fixtures/rails_app/config/initializers/typus_resources.rb +0 -27
- data/test/fixtures/rails_app/config/locales/en.yml +0 -5
- data/test/fixtures/rails_app/config/mongoid.yml +0 -20
- data/test/fixtures/rails_app/config/routes.rb +0 -61
- data/test/fixtures/rails_app/config/typus/README +0 -68
- data/test/fixtures/rails_app/config/typus/crud_basic.yml +0 -10
- data/test/fixtures/rails_app/config/typus/crud_basic_roles.yml +0 -2
- data/test/fixtures/rails_app/config/typus/crud_extended.yml +0 -66
- data/test/fixtures/rails_app/config/typus/crud_extended_roles.yml +0 -18
- data/test/fixtures/rails_app/config/typus/has_many.yml +0 -0
- data/test/fixtures/rails_app/config/typus/has_many_roles.yml +0 -0
- data/test/fixtures/rails_app/config/typus/has_many_through.yml +0 -23
- data/test/fixtures/rails_app/config/typus/has_many_through_roles.yml +0 -4
- data/test/fixtures/rails_app/config/typus/has_one.yml +0 -12
- data/test/fixtures/rails_app/config/typus/has_one_roles.yml +0 -3
- data/test/fixtures/rails_app/config/typus/mongo_db.yml +0 -4
- data/test/fixtures/rails_app/config/typus/mongo_db_roles.yml +0 -2
- data/test/fixtures/rails_app/config/typus/polymorphic.yml +0 -17
- data/test/fixtures/rails_app/config/typus/polymorphic_roles.yml +0 -5
- data/test/fixtures/rails_app/config/typus/resource_roles.yml +0 -7
- data/test/fixtures/rails_app/config/typus/sti.yml +0 -5
- data/test/fixtures/rails_app/config/typus/sti_roles.yml +0 -2
- data/test/fixtures/rails_app/config/typus/typus.yml +0 -13
- data/test/fixtures/rails_app/config/typus/typus_roles.yml +0 -2
- data/test/fixtures/rails_app/config/typus/unknown.yml +0 -3
- data/test/fixtures/rails_app/config/typus/unknown_roles.yml +0 -5
- data/test/fixtures/rails_app/db/.gitkeep +0 -0
- data/test/fixtures/rails_app/db/schema.rb +0 -200
- data/test/fixtures/rails_app/db/seeds.rb +0 -54
- data/test/fixtures/rails_app/db/seeds/assets/000.jpg +0 -0
- data/test/fixtures/rails_app/db/seeds/assets/001.jpg +0 -0
- data/test/fixtures/rails_app/db/seeds/assets/002.jpg +0 -0
- data/test/fixtures/rails_app/db/seeds/assets/003.jpg +0 -0
- data/test/fixtures/rails_app/db/seeds/assets/004.jpg +0 -0
- data/test/fixtures/rails_app/public/404.html +0 -26
- data/test/fixtures/rails_app/public/422.html +0 -26
- data/test/fixtures/rails_app/public/500.html +0 -26
- data/test/fixtures/rails_app/public/favicon.ico +0 -0
- data/test/fixtures/rails_app/public/images/rails.png +0 -0
- data/test/fixtures/rails_app/public/robots.txt +0 -5
- data/test/fixtures/rails_app/public/stylesheets/.gitkeep +0 -0
- data/test/fixtures/rails_app/script/rails +0 -6
@@ -1,54 +0,0 @@
|
|
1
|
-
RailsApp::Application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb
|
3
|
-
|
4
|
-
# The production environment is meant for finished, "live" apps.
|
5
|
-
# Code is not reloaded between requests
|
6
|
-
config.cache_classes = true
|
7
|
-
|
8
|
-
# Full error reports are disabled and caching is turned on
|
9
|
-
config.consider_all_requests_local = false
|
10
|
-
config.action_controller.perform_caching = true
|
11
|
-
|
12
|
-
# Specifies the header that your server uses for sending files
|
13
|
-
config.action_dispatch.x_sendfile_header = "X-Sendfile"
|
14
|
-
|
15
|
-
# For nginx:
|
16
|
-
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
|
17
|
-
|
18
|
-
# If you have no front-end server that supports something like X-Sendfile,
|
19
|
-
# just comment this out and Rails will serve the files
|
20
|
-
|
21
|
-
# See everything in the log (default is :info)
|
22
|
-
# config.log_level = :debug
|
23
|
-
|
24
|
-
# Use a different logger for distributed setups
|
25
|
-
# config.logger = SyslogLogger.new
|
26
|
-
|
27
|
-
# Use a different cache store in production
|
28
|
-
# config.cache_store = :mem_cache_store
|
29
|
-
|
30
|
-
# Disable Rails's static asset server
|
31
|
-
# In production, Apache or nginx will already do this
|
32
|
-
config.serve_static_assets = true
|
33
|
-
|
34
|
-
# Enable serving of images, stylesheets, and javascripts from an asset server
|
35
|
-
# config.action_controller.asset_host = "http://assets.example.com"
|
36
|
-
|
37
|
-
# Disable delivery errors, bad email addresses will be ignored
|
38
|
-
# config.action_mailer.raise_delivery_errors = false
|
39
|
-
|
40
|
-
# Enable threaded mode
|
41
|
-
# config.threadsafe!
|
42
|
-
|
43
|
-
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
44
|
-
# the I18n.default_locale when a translation can not be found)
|
45
|
-
config.i18n.fallbacks = true
|
46
|
-
|
47
|
-
# Send deprecation notices to registered listeners
|
48
|
-
config.active_support.deprecation = :notify
|
49
|
-
end
|
50
|
-
|
51
|
-
Typus.setup do |config|
|
52
|
-
config.config_folder = Rails.root.join("config/typus")
|
53
|
-
config.authentication = :none
|
54
|
-
end
|
@@ -1,40 +0,0 @@
|
|
1
|
-
RailsApp::Application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb
|
3
|
-
|
4
|
-
# The test environment is used exclusively to run your application's
|
5
|
-
# test suite. You never need to work with it otherwise. Remember that
|
6
|
-
# your test database is "scratch space" for the test suite and is wiped
|
7
|
-
# and recreated between test runs. Don't rely on the data there!
|
8
|
-
config.cache_classes = true
|
9
|
-
|
10
|
-
# Log error messages when you accidentally call methods on nil.
|
11
|
-
config.whiny_nils = true
|
12
|
-
|
13
|
-
# Show full error reports and disable caching
|
14
|
-
config.consider_all_requests_local = true
|
15
|
-
config.action_controller.perform_caching = false
|
16
|
-
|
17
|
-
# Raise exceptions instead of rendering exception templates
|
18
|
-
config.action_dispatch.show_exceptions = false
|
19
|
-
|
20
|
-
# Disable request forgery protection in test environment
|
21
|
-
config.action_controller.allow_forgery_protection = false
|
22
|
-
|
23
|
-
# Tell Action Mailer not to deliver emails to the real world.
|
24
|
-
# The :test delivery method accumulates sent emails in the
|
25
|
-
# ActionMailer::Base.deliveries array.
|
26
|
-
config.action_mailer.delivery_method = :test
|
27
|
-
|
28
|
-
# Use SQL instead of Active Record's schema dumper when creating the test database.
|
29
|
-
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
30
|
-
# like if you have constraints or database-specific column types
|
31
|
-
# config.active_record.schema_format = :sql
|
32
|
-
|
33
|
-
# Print deprecation notices to the stderr
|
34
|
-
config.active_support.deprecation = :stderr
|
35
|
-
end
|
36
|
-
|
37
|
-
Typus.setup do |config|
|
38
|
-
config.config_folder = Rails.root.join("config/typus")
|
39
|
-
config.authentication = :session
|
40
|
-
end
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
-
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
-
|
6
|
-
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
-
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -1 +0,0 @@
|
|
1
|
-
require 'dragonfly/rails/images'
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Add new inflection rules using the following format
|
4
|
-
# (all these examples are active by default):
|
5
|
-
|
6
|
-
ActiveSupport::Inflector.inflections do |inflect|
|
7
|
-
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
-
# inflect.singular /^(ox)en/i, '\1'
|
9
|
-
# inflect.irregular 'person', 'people'
|
10
|
-
# inflect.uncountable %w( fish sheep )
|
11
|
-
inflect.irregular('sucursal_bancaria', 'sucursales_bancarias')
|
12
|
-
end
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Your secret key for verifying the integrity of signed cookies.
|
4
|
-
# If you change this key, all old signed cookies will become invalid!
|
5
|
-
# Make sure the secret is at least 30 characters and all random,
|
6
|
-
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
-
RailsApp::Application.config.secret_token = '970b608da8f1c03b34154c532d19adffc691780bf0bb6665f6d066684f760f978246b1c6823614649b428723f6a8bd1983d45a5fa18ec7a54266710eb572cbc2'
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
RailsApp::Application.config.session_store :cookie_store, :key => '_rails_app_session'
|
4
|
-
|
5
|
-
# Use the database for sessions instead of the cookie-based default,
|
6
|
-
# which shouldn't be used to store highly confidential information
|
7
|
-
# (create the session table with "rails generate session_migration")
|
8
|
-
# RailsApp::Application.config.session_store :active_record_store
|
@@ -1,27 +0,0 @@
|
|
1
|
-
Typus::Resources.setup do |config|
|
2
|
-
|
3
|
-
# Defines default_action_on_item.
|
4
|
-
# config.default_action_on_item = "edit"
|
5
|
-
|
6
|
-
# Defines end_year.
|
7
|
-
# config.end_year = nil
|
8
|
-
|
9
|
-
# Defines form_rows.
|
10
|
-
# config.form_rows = 15
|
11
|
-
|
12
|
-
# Defines action_after_save.
|
13
|
-
# config.action_after_save = "edit"
|
14
|
-
|
15
|
-
# Defines minute_step.
|
16
|
-
# config.minute_step = 5
|
17
|
-
|
18
|
-
# Defines only_user_items.
|
19
|
-
# config.only_user_items = false
|
20
|
-
|
21
|
-
# Defines per_page.
|
22
|
-
# config.per_page = 15
|
23
|
-
|
24
|
-
# Defines start_year.
|
25
|
-
# config.start_year = nil
|
26
|
-
|
27
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
defaults: &defaults
|
2
|
-
host: localhost
|
3
|
-
# slaves:
|
4
|
-
# - host: slave1.local
|
5
|
-
# port: 27018
|
6
|
-
# - host: slave2.local
|
7
|
-
# port: 27019
|
8
|
-
|
9
|
-
development:
|
10
|
-
<<: *defaults
|
11
|
-
database: rails_app_development
|
12
|
-
|
13
|
-
test:
|
14
|
-
<<: *defaults
|
15
|
-
database: rails_app_test
|
16
|
-
|
17
|
-
# set these environment variables on your prod server
|
18
|
-
production:
|
19
|
-
<<: *defaults
|
20
|
-
database: rails_app_production
|
@@ -1,61 +0,0 @@
|
|
1
|
-
RailsApp::Application.routes.draw do
|
2
|
-
|
3
|
-
match "/" => redirect("/admin")
|
4
|
-
|
5
|
-
# The priority is based upon order of creation:
|
6
|
-
# first created -> highest priority.
|
7
|
-
|
8
|
-
# Sample of regular route:
|
9
|
-
# match 'products/:id' => 'catalog#view'
|
10
|
-
# Keep in mind you can assign values other than :controller and :action
|
11
|
-
|
12
|
-
# Sample of named route:
|
13
|
-
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
14
|
-
# This route can be invoked with purchase_url(:id => product.id)
|
15
|
-
|
16
|
-
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
17
|
-
# resources :products
|
18
|
-
|
19
|
-
# Sample resource route with options:
|
20
|
-
# resources :products do
|
21
|
-
# member do
|
22
|
-
# get 'short'
|
23
|
-
# post 'toggle'
|
24
|
-
# end
|
25
|
-
#
|
26
|
-
# collection do
|
27
|
-
# get 'sold'
|
28
|
-
# end
|
29
|
-
# end
|
30
|
-
|
31
|
-
# Sample resource route with sub-resources:
|
32
|
-
# resources :products do
|
33
|
-
# resources :comments, :sales
|
34
|
-
# resource :seller
|
35
|
-
# end
|
36
|
-
|
37
|
-
# Sample resource route with more complex sub-resources
|
38
|
-
# resources :products do
|
39
|
-
# resources :comments
|
40
|
-
# resources :sales do
|
41
|
-
# get 'recent', :on => :collection
|
42
|
-
# end
|
43
|
-
# end
|
44
|
-
|
45
|
-
# Sample resource route within a namespace:
|
46
|
-
# namespace :admin do
|
47
|
-
# # Directs /admin/products/* to Admin::ProductsController
|
48
|
-
# # (app/controllers/admin/products_controller.rb)
|
49
|
-
# resources :products
|
50
|
-
# end
|
51
|
-
|
52
|
-
# You can have the root of your site routed with "root"
|
53
|
-
# just remember to delete public/index.html.
|
54
|
-
# root :to => "welcome#index"
|
55
|
-
|
56
|
-
# See how all your routes lay out with "rake routes"
|
57
|
-
|
58
|
-
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
59
|
-
# Note: This route will make all actions in every controller accessible via GET requests.
|
60
|
-
# match ':controller(/:action(/:id(.:format)))'
|
61
|
-
end
|
@@ -1,68 +0,0 @@
|
|
1
|
-
# Models
|
2
|
-
|
3
|
-
This is an example of a **Typus** enabled model with all available options.
|
4
|
-
You can use this example to customize your YAML files which only have set the
|
5
|
-
most common settings.
|
6
|
-
|
7
|
-
Post:
|
8
|
-
fields:
|
9
|
-
default: id, title, category_id, created_at, is_published?
|
10
|
-
list: id, title, category_id, created_at, is_published?
|
11
|
-
form: title, body, is_published?, created_at
|
12
|
-
show: title, category, is_published?
|
13
|
-
relationship: title, status
|
14
|
-
options:
|
15
|
-
auto_generated:
|
16
|
-
booleans:
|
17
|
-
is_published: ["Yes, it is", "No, it isn't"]
|
18
|
-
date_formats:
|
19
|
-
created_at: post_long
|
20
|
-
selectors:
|
21
|
-
read_only:
|
22
|
-
filter_by_date_range: valid_until
|
23
|
-
templates:
|
24
|
-
body: rich_text
|
25
|
-
actions:
|
26
|
-
index: cleanup
|
27
|
-
edit: send_as_newsletter
|
28
|
-
show: rebuild
|
29
|
-
export: csv, xml
|
30
|
-
order_by: created_at
|
31
|
-
relationships:
|
32
|
-
filters: is_published?, created_at, category_id
|
33
|
-
search: title, body
|
34
|
-
application: Application
|
35
|
-
description: Some text to describe the model
|
36
|
-
options:
|
37
|
-
action_after_save: index
|
38
|
-
default_action_on_item: show
|
39
|
-
end_year: 2015
|
40
|
-
form_rows: 25
|
41
|
-
minute_step: 15
|
42
|
-
nil: 'nil'
|
43
|
-
only_user_items: true
|
44
|
-
per_page: 5
|
45
|
-
start_year: 1990
|
46
|
-
|
47
|
-
Note: To define namespace models use :: as a separator. (i.e. Delayed::Job)
|
48
|
-
|
49
|
-
# Roles
|
50
|
-
|
51
|
-
In this file you can configure the actions available for each of your models
|
52
|
-
on the application. You can also use the 'all' shortcut to allow the user the
|
53
|
-
access to all actions.
|
54
|
-
|
55
|
-
admin:
|
56
|
-
Post: create, read, update, delete
|
57
|
-
Category: create, read, update, delete
|
58
|
-
TypusUser: all
|
59
|
-
|
60
|
-
editor:
|
61
|
-
Post: create, read, update
|
62
|
-
Category: read, update
|
63
|
-
|
64
|
-
You can also define `resources` which are not related to a model, for example
|
65
|
-
to control `Redis`.
|
66
|
-
|
67
|
-
admin:
|
68
|
-
Redis: index, flush_all
|
@@ -1,66 +0,0 @@
|
|
1
|
-
Asset:
|
2
|
-
fields:
|
3
|
-
default: caption, dragonfly, dragonfly_required
|
4
|
-
special: caption, dragonfly, dragonfly_required, original_file_name
|
5
|
-
form: caption, dragonfly, dragonfly_required, paperclip, paperclip_required, original_file_name
|
6
|
-
new: dragonfly, dragonfly_required, paperclip, paperclip_required
|
7
|
-
application: CRUD Extended
|
8
|
-
|
9
|
-
Category:
|
10
|
-
fields:
|
11
|
-
default: name, position
|
12
|
-
form: name, permalink, position
|
13
|
-
order_by: position
|
14
|
-
application: CRUD Extended
|
15
|
-
|
16
|
-
Comment:
|
17
|
-
fields:
|
18
|
-
list: email, post, post_id, spam, post.title
|
19
|
-
form: name, email, body, post
|
20
|
-
csv: email, post_id
|
21
|
-
relationship: name, email, spam
|
22
|
-
options:
|
23
|
-
booleans:
|
24
|
-
spam: ["Yes, it's spam", "No, it's not spam"]
|
25
|
-
filters: post
|
26
|
-
search: email, body, posts.title
|
27
|
-
application: CRUD Extended
|
28
|
-
|
29
|
-
Page:
|
30
|
-
fields:
|
31
|
-
list: title
|
32
|
-
form: title, body
|
33
|
-
actions:
|
34
|
-
index: rebuild_all
|
35
|
-
edit: rebuild
|
36
|
-
options:
|
37
|
-
form_rows: 25
|
38
|
-
sortable: false
|
39
|
-
application: CRUD Extended
|
40
|
-
|
41
|
-
Post:
|
42
|
-
fields:
|
43
|
-
default: title, body, created_at, status, published_at
|
44
|
-
list: title, created_at, status
|
45
|
-
form: title, body, created_at, status, published_at
|
46
|
-
relationship: title, created_at
|
47
|
-
csv: title, status
|
48
|
-
xml: title, status
|
49
|
-
show: title, body, status, published, created_at
|
50
|
-
options:
|
51
|
-
selectors: status
|
52
|
-
read_only: permalink
|
53
|
-
auto_generated: created_at
|
54
|
-
date_formats:
|
55
|
-
created_at: short
|
56
|
-
templates:
|
57
|
-
published_at: datepicker
|
58
|
-
relationships: categories, comments, views
|
59
|
-
actions:
|
60
|
-
index: cleanup
|
61
|
-
edit: send_as_newsletter, preview
|
62
|
-
filters: published, status, created_at
|
63
|
-
search: title
|
64
|
-
order_by: title, -created_at
|
65
|
-
export: csv, xml
|
66
|
-
application: CRUD Extended
|
@@ -1,18 +0,0 @@
|
|
1
|
-
admin:
|
2
|
-
Asset: create, read, update, delete
|
3
|
-
Category: create, read, update, delete
|
4
|
-
Comment: create, read, update, delete
|
5
|
-
Order:
|
6
|
-
Page: create, read, update, delete, rebuild, rebuild_all
|
7
|
-
Post: create, read, update, delete
|
8
|
-
|
9
|
-
editor:
|
10
|
-
Category: create, read, update
|
11
|
-
Comment: read, update, delete
|
12
|
-
Post: create, read, update
|
13
|
-
TypusUser: read, update
|
14
|
-
|
15
|
-
designer:
|
16
|
-
Category: read, update
|
17
|
-
Comment: read
|
18
|
-
Post: read, update
|
File without changes
|