typus 3.1.0.rc8 → 3.1.0.rc9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. data/.gitmodules +1 -1
  2. data/app/controllers/admin/resources_controller.rb +29 -13
  3. data/app/helpers/admin/resources/data_types/datetime_helper.rb +2 -0
  4. data/app/helpers/admin/resources/data_types/dragonfly_helper.rb +1 -2
  5. data/app/helpers/admin/resources/data_types/float_helper.rb +0 -1
  6. data/app/helpers/admin/resources/data_types/paperclip_helper.rb +11 -13
  7. data/app/helpers/admin/resources/data_types/string_helper.rb +2 -0
  8. data/app/helpers/admin/resources/filters_helper.rb +14 -16
  9. data/app/helpers/admin/resources/relationships_helper.rb +1 -5
  10. data/app/helpers/admin/resources_helper.rb +1 -1
  11. data/app/mailers/admin/mailer.rb +1 -2
  12. data/app/themes/default/assets/javascripts/typus.js +8 -0
  13. data/app/{assets → themes/default/assets}/javascripts/typus/application.js +0 -1
  14. data/app/{assets → themes/default/assets}/javascripts/typus/jquery.application.js +0 -0
  15. data/app/{assets → themes/default/assets}/stylesheets/typus.css +2 -1
  16. data/app/{assets → themes/default/assets}/stylesheets/typus/application.css +0 -0
  17. data/app/{assets → themes/default/assets}/stylesheets/typus/pagination.css +0 -0
  18. data/app/{assets → themes/default/assets}/stylesheets/typus/reset.css +0 -0
  19. data/app/{assets → themes/default/assets}/stylesheets/typus/screen.css +0 -0
  20. data/app/{views → themes/default/views}/admin/account/forgot_password.html.erb +0 -0
  21. data/app/{views → themes/default/views}/admin/account/new.html.erb +0 -0
  22. data/app/{views → themes/default/views}/admin/base/user_guide.html.erb +0 -0
  23. data/app/{views → themes/default/views}/admin/dashboard/_applications.html.erb +0 -0
  24. data/app/{views → themes/default/views}/admin/dashboard/_sidebar.html.erb +0 -0
  25. data/app/{views → themes/default/views}/admin/dashboard/show.html.erb +0 -0
  26. data/app/{views → themes/default/views}/admin/dashboard/styles.html.erb +0 -0
  27. data/app/{views → themes/default/views}/admin/mailer/reset_password_link.text.erb +0 -0
  28. data/app/{views → themes/default/views}/admin/resources/_edit.html.erb +0 -0
  29. data/app/{views → themes/default/views}/admin/resources/_form.html.erb +0 -0
  30. data/app/{views → themes/default/views}/admin/resources/_index.html.erb +0 -0
  31. data/app/{views → themes/default/views}/admin/resources/_new.html.erb +0 -0
  32. data/app/{views → themes/default/views}/admin/resources/_show.html.erb +0 -0
  33. data/app/{views → themes/default/views}/admin/resources/edit.html.erb +0 -0
  34. data/app/{views → themes/default/views}/admin/resources/index.html.erb +0 -0
  35. data/app/{views → themes/default/views}/admin/resources/new.html.erb +0 -0
  36. data/app/{views → themes/default/views}/admin/resources/show.html.erb +0 -0
  37. data/app/{views → themes/default/views}/admin/session/new.html.erb +0 -0
  38. data/app/{views → themes/default/views}/admin/shared/_head.html.erb +0 -0
  39. data/app/{views → themes/default/views}/admin/templates/_belongs_to.html.erb +0 -0
  40. data/app/{views → themes/default/views}/admin/templates/_belongs_to_with_autocomplete.html.erb +1 -1
  41. data/app/{views → themes/default/views}/admin/templates/_boolean.html.erb +0 -0
  42. data/app/{views → themes/default/views}/admin/templates/_date.html.erb +0 -0
  43. data/app/{views → themes/default/views}/admin/templates/_datetime.html.erb +0 -0
  44. data/app/{views → themes/default/views}/admin/templates/_dragonfly.html.erb +0 -0
  45. data/app/{views → themes/default/views}/admin/templates/_dragonfly_preview.html.erb +0 -0
  46. data/app/{views → themes/default/views}/admin/templates/_has_n.html.erb +0 -0
  47. data/app/{views → themes/default/views}/admin/templates/_has_one.html.erb +0 -0
  48. data/app/{views → themes/default/views}/admin/templates/_paperclip.html.erb +0 -0
  49. data/app/{views → themes/default/views}/admin/templates/_paperclip_preview.html.erb +0 -0
  50. data/app/{views → themes/default/views}/admin/templates/_password.html.erb +0 -0
  51. data/app/{views → themes/default/views}/admin/templates/_profile_sidebar.html.erb +0 -0
  52. data/app/{views → themes/default/views}/admin/templates/_selector.html.erb +0 -0
  53. data/app/{views → themes/default/views}/admin/templates/_string.html.erb +0 -0
  54. data/app/{views → themes/default/views}/admin/templates/_string_with_preview.html.erb +0 -0
  55. data/app/{views → themes/default/views}/admin/templates/_text.html.erb +0 -0
  56. data/app/{views → themes/default/views}/admin/templates/_text_with_ckeditor.html.erb +1 -1
  57. data/app/{views → themes/default/views}/admin/templates/_text_with_ckeditor_and_assets.html.erb +1 -1
  58. data/app/{views → themes/default/views}/admin/templates/_time.html.erb +0 -0
  59. data/app/{views → themes/default/views}/admin/templates/_tree.html.erb +0 -0
  60. data/app/{views → themes/default/views}/helpers/admin/base/_apps.html.erb +0 -0
  61. data/app/{views → themes/default/views}/helpers/admin/base/_flash_message.html.erb +0 -0
  62. data/app/{views → themes/default/views}/helpers/admin/base/_header.html.erb +0 -0
  63. data/app/{views → themes/default/views}/helpers/admin/base/_login_info.html.erb +0 -0
  64. data/app/{views → themes/default/views}/helpers/admin/dashboard/_resources.html.erb +0 -0
  65. data/app/{views → themes/default/views}/helpers/admin/resources/_actions.html.erb +0 -0
  66. data/app/{views → themes/default/views}/helpers/admin/resources/_errors.html.erb +0 -0
  67. data/app/{views → themes/default/views}/helpers/admin/resources/_filters.html.erb +0 -0
  68. data/app/{views → themes/default/views}/helpers/admin/resources/_search.html.erb +0 -0
  69. data/app/{views → themes/default/views}/helpers/admin/resources/_sidebar.html.erb +0 -0
  70. data/app/{views → themes/default/views}/helpers/admin/resources/_table.html.erb +0 -0
  71. data/app/{views → themes/default/views}/layouts/admin/base.html.erb +0 -0
  72. data/app/{views → themes/default/views}/layouts/admin/headless.html.erb +0 -0
  73. data/app/{views → themes/default/views}/layouts/admin/session.html.erb +0 -0
  74. data/config/locales/typus.pt-PT.models.yml +17 -0
  75. data/config/locales/typus.pt-PT.yml +83 -0
  76. data/lib/typus.rb +3 -2
  77. data/lib/typus/controller/associations.rb +1 -1
  78. data/lib/typus/controller/format.rb +1 -1
  79. data/lib/typus/engine.rb +2 -1
  80. data/lib/typus/orm/base.rb +1 -1
  81. data/lib/typus/version.rb +1 -1
  82. data/typus.gemspec +1 -1
  83. data/{app → vendor}/assets/images/blank.gif +0 -0
  84. data/{app → vendor}/assets/images/fancy_close.png +0 -0
  85. data/{app → vendor}/assets/images/fancy_loading.png +0 -0
  86. data/{app → vendor}/assets/images/fancy_nav_left.png +0 -0
  87. data/{app → vendor}/assets/images/fancy_nav_right.png +0 -0
  88. data/{app → vendor}/assets/images/fancy_shadow_e.png +0 -0
  89. data/{app → vendor}/assets/images/fancy_shadow_n.png +0 -0
  90. data/{app → vendor}/assets/images/fancy_shadow_ne.png +0 -0
  91. data/{app → vendor}/assets/images/fancy_shadow_nw.png +0 -0
  92. data/{app → vendor}/assets/images/fancy_shadow_s.png +0 -0
  93. data/{app → vendor}/assets/images/fancy_shadow_se.png +0 -0
  94. data/{app → vendor}/assets/images/fancy_shadow_sw.png +0 -0
  95. data/{app → vendor}/assets/images/fancy_shadow_w.png +0 -0
  96. data/{app → vendor}/assets/images/fancy_title_left.png +0 -0
  97. data/{app → vendor}/assets/images/fancy_title_main.png +0 -0
  98. data/{app → vendor}/assets/images/fancy_title_over.png +0 -0
  99. data/{app → vendor}/assets/images/fancy_title_right.png +0 -0
  100. data/{app → vendor}/assets/images/fancybox-x.png +0 -0
  101. data/{app → vendor}/assets/images/fancybox-y.png +0 -0
  102. data/{app → vendor}/assets/images/fancybox.png +0 -0
  103. data/{app/assets/vendor/jquery.fancybox-1.3.4/fancybox → vendor/assets/javascripts}/jquery.fancybox-1.3.4.pack.js +0 -0
  104. data/{app/assets/javascripts/typus → vendor/assets/javascripts}/jquery.rails.autocomplete.js +0 -0
  105. data/{app/assets/javascripts/typus → vendor/assets/javascripts}/jquery.searchField.js +0 -0
  106. data/{app/assets/vendor/jquery-tokeninput/js → vendor/assets/javascripts}/jquery.tokeninput.js +0 -0
  107. data/{app/assets/vendor/jquery.fancybox-1.3.4/fancybox → vendor/assets/stylesheets}/jquery.fancybox-1.3.4.css +0 -0
  108. data/{app/assets/vendor/jquery-tokeninput/css → vendor/assets/stylesheets}/token-input.css +0 -0
  109. metadata +175 -219
  110. data/app/assets/javascripts/typus.js +0 -7
  111. data/app/assets/vendor/jquery-tokeninput/css/token-input-facebook.css +0 -122
  112. data/app/assets/vendor/jquery-tokeninput/css/token-input-mac.css +0 -204
  113. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  114. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  115. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  116. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  117. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  118. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  119. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  120. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  121. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  122. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  123. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  124. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  125. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  126. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  127. data/app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/jquery-ui-1.8.12.custom.css +0 -578
  128. data/app/assets/vendor/jquery-ui-1.8.12.custom/index.html +0 -367
  129. data/app/assets/vendor/jquery-ui-1.8.12.custom/js/jquery-ui-1.8.12.custom.min.js +0 -783
  130. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/blank.gif +0 -0
  131. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_close.png +0 -0
  132. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_loading.png +0 -0
  133. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_nav_left.png +0 -0
  134. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_nav_right.png +0 -0
  135. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_e.png +0 -0
  136. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_n.png +0 -0
  137. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_ne.png +0 -0
  138. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_nw.png +0 -0
  139. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_s.png +0 -0
  140. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_se.png +0 -0
  141. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_sw.png +0 -0
  142. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_w.png +0 -0
  143. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_left.png +0 -0
  144. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_main.png +0 -0
  145. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_over.png +0 -0
  146. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_right.png +0 -0
  147. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox-x.png +0 -0
  148. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox-y.png +0 -0
  149. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox.png +0 -0
  150. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.easing-1.3.pack.js +0 -72
  151. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.js +0 -1156
  152. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.mousewheel-3.0.4.pack.js +0 -14
@@ -142,7 +142,7 @@ module Typus
142
142
 
143
143
  # Lists modules of an application.
144
144
  def application(name)
145
- Typus::Configuration.config.map { |i| i.first if i.last["application"] == name }.compact.uniq.sort
145
+ Typus::Configuration.config.map { |i| i.first if i.last["application"] == name }.compact.uniq
146
146
  end
147
147
 
148
148
  # Lists models from the configuration file.
@@ -180,7 +180,8 @@ module Typus
180
180
  "Français" => "fr",
181
181
  "Magyar" => "hu",
182
182
  "Italiano" => "It",
183
- "Portuguese" => "pt-BR",
183
+ "Portuguese" => "pt-PT",
184
+ "Brazilian Portuguese" => "pt-BR",
184
185
  "Russian" => "ru",
185
186
  "中文" => "zh-CN" }
186
187
  end
@@ -60,7 +60,7 @@ module Typus
60
60
  if worked
61
61
  notice = Typus::I18n.t("%{model} successfully updated.", :model => item_class.model_name.human)
62
62
  else
63
- alert = item.error.full_messages
63
+ alert = item.errors.full_messages
64
64
  end
65
65
 
66
66
  redirect_to :back, :notice => notice, :alert => alert
@@ -28,7 +28,7 @@ module Typus
28
28
 
29
29
  options = { :conditions => @conditions, :batch_size => 1000 }
30
30
 
31
- ::CSV.open(filename, 'w', :col_sep => ';') do |csv|
31
+ ::CSV.open(filename, 'w') do |csv|
32
32
  csv << fields.keys
33
33
  @resource.find_in_batches(options) do |records|
34
34
  records.each do |record|
@@ -1,7 +1,8 @@
1
1
  module Admin
2
2
  class Engine < Rails::Engine
3
3
 
4
- # isolate_namespace Admin
4
+ paths["app/assets"] << "app/themes/default/assets"
5
+ paths["app/views"] << "app/themes/default/views"
5
6
 
6
7
  end
7
8
  end
@@ -81,7 +81,7 @@ module Typus
81
81
 
82
82
  def typus_order_by
83
83
  typus_defaults_for(:order_by).map do |field|
84
- field.include?('-') ? "#{table_name}.#{field.delete('-')} DESC" : "#{table_name}.#{field} ASC"
84
+ field.include?('-') ? "#{field.delete('-')} DESC" : "#{field} ASC"
85
85
  end.join(', ')
86
86
  end
87
87
 
@@ -1,3 +1,3 @@
1
1
  module Typus
2
- VERSION = "3.1.0.rc8"
2
+ VERSION = "3.1.0.rc9"
3
3
  end
@@ -29,5 +29,5 @@ Gem::Specification.new do |s|
29
29
 
30
30
  s.add_dependency "jquery-rails"
31
31
  s.add_dependency "kaminari"
32
- s.add_dependency "rails", "~> 3.1.0.rc3"
32
+ s.add_dependency "rails", "~> 3.1.0.rc4"
33
33
  end
File without changes
metadata CHANGED
@@ -1,115 +1,113 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: typus
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.1.0.rc9
4
5
  prerelease: 6
5
- version: 3.1.0.rc8
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Francesc Esplugas
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-06-16 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-06-25 00:00:00.000000000 +02:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
16
  name: dragonfly
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &2162532220 !ruby/object:Gem::Requirement
19
18
  none: false
20
- requirements:
19
+ requirements:
21
20
  - - ~>
22
- - !ruby/object:Gem::Version
23
- version: "0.9"
21
+ - !ruby/object:Gem::Version
22
+ version: '0.9'
24
23
  type: :development
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: jquery-rails
28
24
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: *2162532220
26
+ - !ruby/object:Gem::Dependency
27
+ name: jquery-rails
28
+ requirement: &2162531540 !ruby/object:Gem::Requirement
30
29
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: "0"
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
35
34
  type: :development
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: paperclip
39
35
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
36
+ version_requirements: *2162531540
37
+ - !ruby/object:Gem::Dependency
38
+ name: paperclip
39
+ requirement: &2162530800 !ruby/object:Gem::Requirement
41
40
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: "0"
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
46
45
  type: :development
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: rack-cache
50
46
  prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
47
+ version_requirements: *2162530800
48
+ - !ruby/object:Gem::Dependency
49
+ name: rack-cache
50
+ requirement: &2162529540 !ruby/object:Gem::Requirement
52
51
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: "0"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
57
56
  type: :development
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
60
- name: rails-trash
61
57
  prerelease: false
62
- requirement: &id005 !ruby/object:Gem::Requirement
58
+ version_requirements: *2162529540
59
+ - !ruby/object:Gem::Dependency
60
+ name: rails-trash
61
+ requirement: &2162527320 !ruby/object:Gem::Requirement
63
62
  none: false
64
- requirements:
63
+ requirements:
65
64
  - - ~>
66
- - !ruby/object:Gem::Version
65
+ - !ruby/object:Gem::Version
67
66
  version: 1.1.1
68
67
  type: :development
69
- version_requirements: *id005
70
- - !ruby/object:Gem::Dependency
71
- name: jquery-rails
72
68
  prerelease: false
73
- requirement: &id006 !ruby/object:Gem::Requirement
69
+ version_requirements: *2162527320
70
+ - !ruby/object:Gem::Dependency
71
+ name: jquery-rails
72
+ requirement: &2162526640 !ruby/object:Gem::Requirement
74
73
  none: false
75
- requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- version: "0"
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
79
78
  type: :runtime
80
- version_requirements: *id006
81
- - !ruby/object:Gem::Dependency
82
- name: kaminari
83
79
  prerelease: false
84
- requirement: &id007 !ruby/object:Gem::Requirement
80
+ version_requirements: *2162526640
81
+ - !ruby/object:Gem::Dependency
82
+ name: kaminari
83
+ requirement: &2162525700 !ruby/object:Gem::Requirement
85
84
  none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: "0"
85
+ requirements:
86
+ - - ! '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
90
89
  type: :runtime
91
- version_requirements: *id007
92
- - !ruby/object:Gem::Dependency
93
- name: rails
94
90
  prerelease: false
95
- requirement: &id008 !ruby/object:Gem::Requirement
91
+ version_requirements: *2162525700
92
+ - !ruby/object:Gem::Dependency
93
+ name: rails
94
+ requirement: &2162524720 !ruby/object:Gem::Requirement
96
95
  none: false
97
- requirements:
96
+ requirements:
98
97
  - - ~>
99
- - !ruby/object:Gem::Version
100
- version: 3.1.0.rc3
98
+ - !ruby/object:Gem::Version
99
+ version: 3.1.0.rc4
101
100
  type: :runtime
102
- version_requirements: *id008
103
- description: Ruby on Rails Admin Panel (Engine) to allow trusted users edit structured content.
104
- email:
101
+ prerelease: false
102
+ version_requirements: *2162524720
103
+ description: Ruby on Rails Admin Panel (Engine) to allow trusted users edit structured
104
+ content.
105
+ email:
105
106
  - core@typuscms.com
106
107
  executables: []
107
-
108
108
  extensions: []
109
-
110
109
  extra_rdoc_files: []
111
-
112
- files:
110
+ files:
113
111
  - .gitignore
114
112
  - .gitmodules
115
113
  - .yardopts
@@ -117,82 +115,6 @@ files:
117
115
  - MIT-LICENSE
118
116
  - README.md
119
117
  - Rakefile
120
- - app/assets/images/blank.gif
121
- - app/assets/images/fancy_close.png
122
- - app/assets/images/fancy_loading.png
123
- - app/assets/images/fancy_nav_left.png
124
- - app/assets/images/fancy_nav_right.png
125
- - app/assets/images/fancy_shadow_e.png
126
- - app/assets/images/fancy_shadow_n.png
127
- - app/assets/images/fancy_shadow_ne.png
128
- - app/assets/images/fancy_shadow_nw.png
129
- - app/assets/images/fancy_shadow_s.png
130
- - app/assets/images/fancy_shadow_se.png
131
- - app/assets/images/fancy_shadow_sw.png
132
- - app/assets/images/fancy_shadow_w.png
133
- - app/assets/images/fancy_title_left.png
134
- - app/assets/images/fancy_title_main.png
135
- - app/assets/images/fancy_title_over.png
136
- - app/assets/images/fancy_title_right.png
137
- - app/assets/images/fancybox-x.png
138
- - app/assets/images/fancybox-y.png
139
- - app/assets/images/fancybox.png
140
- - app/assets/javascripts/typus.js
141
- - app/assets/javascripts/typus/application.js
142
- - app/assets/javascripts/typus/jquery.application.js
143
- - app/assets/javascripts/typus/jquery.rails.autocomplete.js
144
- - app/assets/javascripts/typus/jquery.searchField.js
145
- - app/assets/stylesheets/typus.css
146
- - app/assets/stylesheets/typus/application.css
147
- - app/assets/stylesheets/typus/pagination.css
148
- - app/assets/stylesheets/typus/reset.css
149
- - app/assets/stylesheets/typus/screen.css
150
- - app/assets/vendor/jquery-tokeninput/css/token-input-facebook.css
151
- - app/assets/vendor/jquery-tokeninput/css/token-input-mac.css
152
- - app/assets/vendor/jquery-tokeninput/css/token-input.css
153
- - app/assets/vendor/jquery-tokeninput/js/jquery.tokeninput.js
154
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
155
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
156
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
157
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
158
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
159
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
160
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
161
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
162
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
163
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_222222_256x240.png
164
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_228ef1_256x240.png
165
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
166
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
167
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ffffff_256x240.png
168
- - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/jquery-ui-1.8.12.custom.css
169
- - app/assets/vendor/jquery-ui-1.8.12.custom/index.html
170
- - app/assets/vendor/jquery-ui-1.8.12.custom/js/jquery-ui-1.8.12.custom.min.js
171
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/blank.gif
172
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_close.png
173
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_loading.png
174
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_nav_left.png
175
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_nav_right.png
176
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_e.png
177
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_n.png
178
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_ne.png
179
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_nw.png
180
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_s.png
181
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_se.png
182
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_sw.png
183
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_w.png
184
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_left.png
185
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_main.png
186
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_over.png
187
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_right.png
188
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox-x.png
189
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox-y.png
190
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox.png
191
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.easing-1.3.pack.js
192
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.css
193
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.js
194
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.pack.js
195
- - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.mousewheel-3.0.4.pack.js
196
118
  - app/controllers/admin/account_controller.rb
197
119
  - app/controllers/admin/base_controller.rb
198
120
  - app/controllers/admin/dashboard_controller.rb
@@ -225,60 +147,68 @@ files:
225
147
  - app/helpers/admin/resources/table_helper.rb
226
148
  - app/helpers/admin/resources_helper.rb
227
149
  - app/mailers/admin/mailer.rb
228
- - app/views/admin/account/forgot_password.html.erb
229
- - app/views/admin/account/new.html.erb
230
- - app/views/admin/base/user_guide.html.erb
231
- - app/views/admin/dashboard/_applications.html.erb
232
- - app/views/admin/dashboard/_sidebar.html.erb
233
- - app/views/admin/dashboard/show.html.erb
234
- - app/views/admin/dashboard/styles.html.erb
235
- - app/views/admin/mailer/reset_password_link.text.erb
236
- - app/views/admin/resources/_edit.html.erb
237
- - app/views/admin/resources/_form.html.erb
238
- - app/views/admin/resources/_index.html.erb
239
- - app/views/admin/resources/_new.html.erb
240
- - app/views/admin/resources/_show.html.erb
241
- - app/views/admin/resources/edit.html.erb
242
- - app/views/admin/resources/index.html.erb
243
- - app/views/admin/resources/new.html.erb
244
- - app/views/admin/resources/show.html.erb
245
- - app/views/admin/session/new.html.erb
246
- - app/views/admin/shared/_head.html.erb
247
- - app/views/admin/templates/_belongs_to.html.erb
248
- - app/views/admin/templates/_belongs_to_with_autocomplete.html.erb
249
- - app/views/admin/templates/_boolean.html.erb
250
- - app/views/admin/templates/_date.html.erb
251
- - app/views/admin/templates/_datetime.html.erb
252
- - app/views/admin/templates/_dragonfly.html.erb
253
- - app/views/admin/templates/_dragonfly_preview.html.erb
254
- - app/views/admin/templates/_has_n.html.erb
255
- - app/views/admin/templates/_has_one.html.erb
256
- - app/views/admin/templates/_paperclip.html.erb
257
- - app/views/admin/templates/_paperclip_preview.html.erb
258
- - app/views/admin/templates/_password.html.erb
259
- - app/views/admin/templates/_profile_sidebar.html.erb
260
- - app/views/admin/templates/_selector.html.erb
261
- - app/views/admin/templates/_string.html.erb
262
- - app/views/admin/templates/_string_with_preview.html.erb
263
- - app/views/admin/templates/_text.html.erb
264
- - app/views/admin/templates/_text_with_ckeditor.html.erb
265
- - app/views/admin/templates/_text_with_ckeditor_and_assets.html.erb
266
- - app/views/admin/templates/_time.html.erb
267
- - app/views/admin/templates/_tree.html.erb
268
- - app/views/helpers/admin/base/_apps.html.erb
269
- - app/views/helpers/admin/base/_flash_message.html.erb
270
- - app/views/helpers/admin/base/_header.html.erb
271
- - app/views/helpers/admin/base/_login_info.html.erb
272
- - app/views/helpers/admin/dashboard/_resources.html.erb
273
- - app/views/helpers/admin/resources/_actions.html.erb
274
- - app/views/helpers/admin/resources/_errors.html.erb
275
- - app/views/helpers/admin/resources/_filters.html.erb
276
- - app/views/helpers/admin/resources/_search.html.erb
277
- - app/views/helpers/admin/resources/_sidebar.html.erb
278
- - app/views/helpers/admin/resources/_table.html.erb
279
- - app/views/layouts/admin/base.html.erb
280
- - app/views/layouts/admin/headless.html.erb
281
- - app/views/layouts/admin/session.html.erb
150
+ - app/themes/default/assets/javascripts/typus.js
151
+ - app/themes/default/assets/javascripts/typus/application.js
152
+ - app/themes/default/assets/javascripts/typus/jquery.application.js
153
+ - app/themes/default/assets/stylesheets/typus.css
154
+ - app/themes/default/assets/stylesheets/typus/application.css
155
+ - app/themes/default/assets/stylesheets/typus/pagination.css
156
+ - app/themes/default/assets/stylesheets/typus/reset.css
157
+ - app/themes/default/assets/stylesheets/typus/screen.css
158
+ - app/themes/default/views/admin/account/forgot_password.html.erb
159
+ - app/themes/default/views/admin/account/new.html.erb
160
+ - app/themes/default/views/admin/base/user_guide.html.erb
161
+ - app/themes/default/views/admin/dashboard/_applications.html.erb
162
+ - app/themes/default/views/admin/dashboard/_sidebar.html.erb
163
+ - app/themes/default/views/admin/dashboard/show.html.erb
164
+ - app/themes/default/views/admin/dashboard/styles.html.erb
165
+ - app/themes/default/views/admin/mailer/reset_password_link.text.erb
166
+ - app/themes/default/views/admin/resources/_edit.html.erb
167
+ - app/themes/default/views/admin/resources/_form.html.erb
168
+ - app/themes/default/views/admin/resources/_index.html.erb
169
+ - app/themes/default/views/admin/resources/_new.html.erb
170
+ - app/themes/default/views/admin/resources/_show.html.erb
171
+ - app/themes/default/views/admin/resources/edit.html.erb
172
+ - app/themes/default/views/admin/resources/index.html.erb
173
+ - app/themes/default/views/admin/resources/new.html.erb
174
+ - app/themes/default/views/admin/resources/show.html.erb
175
+ - app/themes/default/views/admin/session/new.html.erb
176
+ - app/themes/default/views/admin/shared/_head.html.erb
177
+ - app/themes/default/views/admin/templates/_belongs_to.html.erb
178
+ - app/themes/default/views/admin/templates/_belongs_to_with_autocomplete.html.erb
179
+ - app/themes/default/views/admin/templates/_boolean.html.erb
180
+ - app/themes/default/views/admin/templates/_date.html.erb
181
+ - app/themes/default/views/admin/templates/_datetime.html.erb
182
+ - app/themes/default/views/admin/templates/_dragonfly.html.erb
183
+ - app/themes/default/views/admin/templates/_dragonfly_preview.html.erb
184
+ - app/themes/default/views/admin/templates/_has_n.html.erb
185
+ - app/themes/default/views/admin/templates/_has_one.html.erb
186
+ - app/themes/default/views/admin/templates/_paperclip.html.erb
187
+ - app/themes/default/views/admin/templates/_paperclip_preview.html.erb
188
+ - app/themes/default/views/admin/templates/_password.html.erb
189
+ - app/themes/default/views/admin/templates/_profile_sidebar.html.erb
190
+ - app/themes/default/views/admin/templates/_selector.html.erb
191
+ - app/themes/default/views/admin/templates/_string.html.erb
192
+ - app/themes/default/views/admin/templates/_string_with_preview.html.erb
193
+ - app/themes/default/views/admin/templates/_text.html.erb
194
+ - app/themes/default/views/admin/templates/_text_with_ckeditor.html.erb
195
+ - app/themes/default/views/admin/templates/_text_with_ckeditor_and_assets.html.erb
196
+ - app/themes/default/views/admin/templates/_time.html.erb
197
+ - app/themes/default/views/admin/templates/_tree.html.erb
198
+ - app/themes/default/views/helpers/admin/base/_apps.html.erb
199
+ - app/themes/default/views/helpers/admin/base/_flash_message.html.erb
200
+ - app/themes/default/views/helpers/admin/base/_header.html.erb
201
+ - app/themes/default/views/helpers/admin/base/_login_info.html.erb
202
+ - app/themes/default/views/helpers/admin/dashboard/_resources.html.erb
203
+ - app/themes/default/views/helpers/admin/resources/_actions.html.erb
204
+ - app/themes/default/views/helpers/admin/resources/_errors.html.erb
205
+ - app/themes/default/views/helpers/admin/resources/_filters.html.erb
206
+ - app/themes/default/views/helpers/admin/resources/_search.html.erb
207
+ - app/themes/default/views/helpers/admin/resources/_sidebar.html.erb
208
+ - app/themes/default/views/helpers/admin/resources/_table.html.erb
209
+ - app/themes/default/views/layouts/admin/base.html.erb
210
+ - app/themes/default/views/layouts/admin/headless.html.erb
211
+ - app/themes/default/views/layouts/admin/session.html.erb
282
212
  - config/locales/typus.ca.models.yml
283
213
  - config/locales/typus.ca.yml
284
214
  - config/locales/typus.de.models.yml
@@ -297,6 +227,8 @@ files:
297
227
  - config/locales/typus.locale.yml.template
298
228
  - config/locales/typus.pt-BR.models.yml
299
229
  - config/locales/typus.pt-BR.yml
230
+ - config/locales/typus.pt-PT.models.yml
231
+ - config/locales/typus.pt-PT.yml
300
232
  - config/locales/typus.ru.models.yml
301
233
  - config/locales/typus.ru.yml
302
234
  - config/locales/typus.zh-CN.models.yml
@@ -363,32 +295,56 @@ files:
363
295
  - lib/typus/resources.rb
364
296
  - lib/typus/version.rb
365
297
  - typus.gemspec
298
+ - vendor/assets/images/blank.gif
299
+ - vendor/assets/images/fancy_close.png
300
+ - vendor/assets/images/fancy_loading.png
301
+ - vendor/assets/images/fancy_nav_left.png
302
+ - vendor/assets/images/fancy_nav_right.png
303
+ - vendor/assets/images/fancy_shadow_e.png
304
+ - vendor/assets/images/fancy_shadow_n.png
305
+ - vendor/assets/images/fancy_shadow_ne.png
306
+ - vendor/assets/images/fancy_shadow_nw.png
307
+ - vendor/assets/images/fancy_shadow_s.png
308
+ - vendor/assets/images/fancy_shadow_se.png
309
+ - vendor/assets/images/fancy_shadow_sw.png
310
+ - vendor/assets/images/fancy_shadow_w.png
311
+ - vendor/assets/images/fancy_title_left.png
312
+ - vendor/assets/images/fancy_title_main.png
313
+ - vendor/assets/images/fancy_title_over.png
314
+ - vendor/assets/images/fancy_title_right.png
315
+ - vendor/assets/images/fancybox-x.png
316
+ - vendor/assets/images/fancybox-y.png
317
+ - vendor/assets/images/fancybox.png
318
+ - vendor/assets/javascripts/jquery.fancybox-1.3.4.pack.js
319
+ - vendor/assets/javascripts/jquery.rails.autocomplete.js
320
+ - vendor/assets/javascripts/jquery.searchField.js
321
+ - vendor/assets/javascripts/jquery.tokeninput.js
322
+ - vendor/assets/stylesheets/jquery.fancybox-1.3.4.css
323
+ - vendor/assets/stylesheets/token-input.css
324
+ has_rdoc: true
366
325
  homepage: http://core.typuscms.com/
367
326
  licenses: []
368
-
369
327
  post_install_message:
370
328
  rdoc_options: []
371
-
372
- require_paths:
329
+ require_paths:
373
330
  - lib
374
- required_ruby_version: !ruby/object:Gem::Requirement
331
+ required_ruby_version: !ruby/object:Gem::Requirement
375
332
  none: false
376
- requirements:
377
- - - ">="
378
- - !ruby/object:Gem::Version
379
- version: "0"
380
- required_rubygems_version: !ruby/object:Gem::Requirement
333
+ requirements:
334
+ - - ! '>='
335
+ - !ruby/object:Gem::Version
336
+ version: '0'
337
+ required_rubygems_version: !ruby/object:Gem::Requirement
381
338
  none: false
382
- requirements:
383
- - - ">"
384
- - !ruby/object:Gem::Version
339
+ requirements:
340
+ - - ! '>'
341
+ - !ruby/object:Gem::Version
385
342
  version: 1.3.1
386
343
  requirements: []
387
-
388
344
  rubyforge_project: typus
389
- rubygems_version: 1.8.5
345
+ rubygems_version: 1.6.2
390
346
  signing_key:
391
347
  specification_version: 3
392
- summary: Effortless backend interface for Ruby on Rails applications. (Admin scaffold generator)
348
+ summary: Effortless backend interface for Ruby on Rails applications. (Admin scaffold
349
+ generator)
393
350
  test_files: []
394
-