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,26 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>We're sorry, but something went wrong (500)</title>
|
5
|
-
<style type="text/css">
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
-
div.dialog {
|
8
|
-
width: 25em;
|
9
|
-
padding: 0 4em;
|
10
|
-
margin: 4em auto 0 auto;
|
11
|
-
border: 1px solid #ccc;
|
12
|
-
border-right-color: #999;
|
13
|
-
border-bottom-color: #999;
|
14
|
-
}
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<!-- This file lives in public/500.html -->
|
21
|
-
<div class="dialog">
|
22
|
-
<h1>We're sorry, but something went wrong.</h1>
|
23
|
-
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
-
</div>
|
25
|
-
</body>
|
26
|
-
</html>
|
File without changes
|
Binary file
|
File without changes
|
@@ -1,6 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
-
|
4
|
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
-
require File.expand_path('../../config/boot', __FILE__)
|
6
|
-
require 'rails/commands'
|