rails_admin 2.3.1 → 3.0.0.beta

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rails_admin might be problematic. Click here for more details.

Files changed (329) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -11
  3. data/README.md +37 -31
  4. data/Rakefile +2 -2
  5. data/app/assets/javascripts/rails_admin.js +21 -0
  6. data/app/assets/stylesheets/rails_admin/custom/mixins.scss +1 -1
  7. data/app/assets/stylesheets/rails_admin/custom/variables.scss +1 -1
  8. data/app/assets/stylesheets/rails_admin.scss.erb +76 -0
  9. data/app/controllers/rails_admin/application_controller.rb +4 -3
  10. data/app/controllers/rails_admin/main_controller.rb +43 -24
  11. data/app/helpers/rails_admin/application_helper.rb +69 -52
  12. data/app/helpers/rails_admin/form_builder.rb +5 -4
  13. data/app/helpers/rails_admin/main_helper.rb +27 -43
  14. data/app/views/kaminari/ra-twitter-bootstrap/_gap.html.erb +5 -0
  15. data/app/views/kaminari/ra-twitter-bootstrap/_next_page.html.erb +9 -0
  16. data/app/views/kaminari/ra-twitter-bootstrap/_page.html.erb +9 -0
  17. data/app/views/kaminari/ra-twitter-bootstrap/_paginator.html.erb +13 -0
  18. data/app/views/kaminari/ra-twitter-bootstrap/_prev_page.html.erb +9 -0
  19. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_next_page.html.erb +9 -0
  20. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_paginator.html.erb +6 -0
  21. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_prev_page.html.erb +9 -0
  22. data/app/views/layouts/rails_admin/_head.html.erb +17 -0
  23. data/app/views/layouts/rails_admin/_navigation.html.erb +21 -0
  24. data/app/views/layouts/rails_admin/_secondary_navigation.html.erb +24 -0
  25. data/app/views/layouts/rails_admin/_sidebar_navigation.html.erb +9 -0
  26. data/app/views/layouts/rails_admin/application.html.erb +27 -0
  27. data/app/views/layouts/rails_admin/modal.js.erb +7 -0
  28. data/app/views/layouts/rails_admin/pjax.html.erb +20 -0
  29. data/app/views/rails_admin/main/_dashboard_history.html.erb +45 -0
  30. data/app/views/rails_admin/main/_delete_notice.html.erb +35 -0
  31. data/app/views/rails_admin/main/_form_action_text.html.erb +7 -0
  32. data/app/views/rails_admin/main/_form_boolean.html.erb +16 -0
  33. data/app/views/rails_admin/main/{_form_ck_editor.html.haml → _form_ck_editor.html.erb} +3 -3
  34. data/app/views/rails_admin/main/_form_code_mirror.html.erb +9 -0
  35. data/app/views/rails_admin/main/_form_colorpicker.html.erb +1 -0
  36. data/app/views/rails_admin/main/_form_datetime.html.erb +9 -0
  37. data/app/views/rails_admin/main/_form_enumeration.html.erb +21 -0
  38. data/app/views/rails_admin/main/_form_field.html.erb +1 -0
  39. data/app/views/rails_admin/main/_form_file_upload.html.erb +17 -0
  40. data/app/views/rails_admin/main/{_form_filtering_multiselect.html.haml → _form_filtering_multiselect.html.erb} +11 -11
  41. data/app/views/rails_admin/main/{_form_filtering_select.html.haml → _form_filtering_select.html.erb} +13 -12
  42. data/app/views/rails_admin/main/_form_froala.html.erb +8 -0
  43. data/app/views/rails_admin/main/_form_multiple_file_upload.html.erb +20 -0
  44. data/app/views/rails_admin/main/_form_nested_many.html.erb +21 -0
  45. data/app/views/rails_admin/main/_form_nested_one.html.erb +21 -0
  46. data/app/views/rails_admin/main/_form_polymorphic_association.html.erb +27 -0
  47. data/app/views/rails_admin/main/_form_simple_mde.html.erb +8 -0
  48. data/app/views/rails_admin/main/_form_text.html.erb +1 -0
  49. data/app/views/rails_admin/main/_form_wysihtml5.html.erb +8 -0
  50. data/app/views/rails_admin/main/_submit_buttons.html.erb +25 -0
  51. data/app/views/rails_admin/main/bulk_delete.html.erb +19 -0
  52. data/app/views/rails_admin/main/dashboard.html.erb +64 -0
  53. data/app/views/rails_admin/main/delete.html.erb +21 -0
  54. data/app/views/rails_admin/main/edit.html.erb +3 -0
  55. data/app/views/rails_admin/main/export.html.erb +146 -0
  56. data/app/views/rails_admin/main/history.html.erb +78 -0
  57. data/app/views/rails_admin/main/index.html.erb +193 -0
  58. data/app/views/rails_admin/main/new.html.erb +3 -0
  59. data/app/views/rails_admin/main/show.html.erb +28 -0
  60. data/config/initializers/active_record_extensions.rb +3 -1
  61. data/config/initializers/mongoid_extensions.rb +1 -1
  62. data/config/locales/rails_admin.en.yml +5 -1
  63. data/lib/generators/rails_admin/install_generator.rb +51 -3
  64. data/lib/generators/rails_admin/templates/environment.js +6 -0
  65. data/lib/generators/rails_admin/templates/initializer.erb +2 -1
  66. data/lib/generators/rails_admin/templates/rails_admin.js.erb +2 -0
  67. data/lib/generators/rails_admin/templates/rails_admin.scss +1 -0
  68. data/lib/generators/rails_admin/templates/webpack.config.js +32 -0
  69. data/lib/rails_admin/abstract_model.rb +24 -10
  70. data/lib/rails_admin/adapters/active_record/association.rb +20 -1
  71. data/lib/rails_admin/adapters/active_record/object_extension.rb +29 -0
  72. data/lib/rails_admin/adapters/active_record/property.rb +1 -1
  73. data/lib/rails_admin/adapters/active_record.rb +19 -21
  74. data/lib/rails_admin/adapters/mongoid/association.rb +38 -9
  75. data/lib/rails_admin/adapters/mongoid/bson.rb +4 -5
  76. data/lib/rails_admin/adapters/mongoid/extension.rb +3 -1
  77. data/lib/rails_admin/adapters/mongoid/object_extension.rb +32 -0
  78. data/lib/rails_admin/adapters/mongoid/property.rb +2 -2
  79. data/lib/rails_admin/adapters/mongoid.rb +25 -19
  80. data/lib/rails_admin/config/actions/base.rb +7 -2
  81. data/lib/rails_admin/config/actions/bulk_delete.rb +2 -2
  82. data/lib/rails_admin/config/actions/dashboard.rb +4 -3
  83. data/lib/rails_admin/config/actions/delete.rb +5 -9
  84. data/lib/rails_admin/config/actions/edit.rb +7 -7
  85. data/lib/rails_admin/config/actions/export.rb +2 -2
  86. data/lib/rails_admin/config/actions/history_index.rb +2 -2
  87. data/lib/rails_admin/config/actions/history_show.rb +2 -2
  88. data/lib/rails_admin/config/actions/index.rb +5 -7
  89. data/lib/rails_admin/config/actions/new.rb +9 -9
  90. data/lib/rails_admin/config/actions/show.rb +1 -1
  91. data/lib/rails_admin/config/actions/show_in_app.rb +6 -2
  92. data/lib/rails_admin/config/actions.rb +4 -4
  93. data/lib/rails_admin/config/configurable.rb +2 -2
  94. data/lib/rails_admin/config/fields/association.rb +15 -12
  95. data/lib/rails_admin/config/fields/base.rb +44 -24
  96. data/lib/rails_admin/config/fields/factories/active_storage.rb +1 -0
  97. data/lib/rails_admin/config/fields/factories/association.rb +6 -8
  98. data/lib/rails_admin/config/fields/factories/carrierwave.rb +2 -1
  99. data/lib/rails_admin/config/fields/factories/devise.rb +2 -1
  100. data/lib/rails_admin/config/fields/factories/dragonfly.rb +2 -1
  101. data/lib/rails_admin/config/fields/factories/paperclip.rb +2 -1
  102. data/lib/rails_admin/config/fields/factories/shrine.rb +1 -1
  103. data/lib/rails_admin/config/fields/group.rb +1 -2
  104. data/lib/rails_admin/config/fields/types/active_record_enum.rb +2 -0
  105. data/lib/rails_admin/config/fields/types/active_storage.rb +9 -7
  106. data/lib/rails_admin/config/fields/types/all.rb +1 -0
  107. data/lib/rails_admin/config/fields/types/belongs_to_association.rb +4 -12
  108. data/lib/rails_admin/config/fields/types/boolean.rb +32 -8
  109. data/lib/rails_admin/config/fields/types/carrierwave.rb +1 -0
  110. data/lib/rails_admin/config/fields/types/citext.rb +13 -0
  111. data/lib/rails_admin/config/fields/types/color.rb +6 -2
  112. data/lib/rails_admin/config/fields/types/date.rb +5 -8
  113. data/lib/rails_admin/config/fields/types/datetime.rb +18 -21
  114. data/lib/rails_admin/config/fields/types/decimal.rb +9 -2
  115. data/lib/rails_admin/config/fields/types/dragonfly.rb +3 -1
  116. data/lib/rails_admin/config/fields/types/enum.rb +1 -1
  117. data/lib/rails_admin/config/fields/types/file_upload.rb +4 -3
  118. data/lib/rails_admin/config/fields/types/float.rb +9 -2
  119. data/lib/rails_admin/config/fields/types/has_many_association.rb +1 -5
  120. data/lib/rails_admin/config/fields/types/has_one_association.rb +1 -13
  121. data/lib/rails_admin/config/fields/types/integer.rb +2 -6
  122. data/lib/rails_admin/config/fields/types/multiple_active_storage.rb +8 -6
  123. data/lib/rails_admin/config/fields/types/multiple_carrierwave.rb +1 -0
  124. data/lib/rails_admin/config/fields/types/multiple_file_upload.rb +4 -3
  125. data/lib/rails_admin/config/fields/types/numeric.rb +18 -0
  126. data/lib/rails_admin/config/fields/types/polymorphic_association.rb +3 -2
  127. data/lib/rails_admin/config/fields/types/string.rb +1 -1
  128. data/lib/rails_admin/config/fields/types/time.rb +1 -4
  129. data/lib/rails_admin/config/fields/types/timestamp.rb +0 -4
  130. data/lib/rails_admin/config/fields/types.rb +1 -1
  131. data/lib/rails_admin/config/fields.rb +3 -1
  132. data/lib/rails_admin/config/has_fields.rb +5 -6
  133. data/lib/rails_admin/config/hideable.rb +1 -1
  134. data/lib/rails_admin/config/inspectable.rb +1 -3
  135. data/lib/rails_admin/config/model.rb +10 -10
  136. data/lib/rails_admin/config/sections/base.rb +2 -3
  137. data/lib/rails_admin/config/sections/list.rb +4 -15
  138. data/lib/rails_admin/config/sections.rb +1 -1
  139. data/lib/rails_admin/config.rb +73 -38
  140. data/lib/rails_admin/engine.rb +36 -23
  141. data/lib/rails_admin/extension.rb +6 -14
  142. data/lib/rails_admin/extensions/cancancan/authorization_adapter.rb +4 -2
  143. data/lib/rails_admin/extensions/paper_trail/auditing_adapter.rb +12 -7
  144. data/lib/rails_admin/extensions/pundit/authorization_adapter.rb +6 -7
  145. data/lib/rails_admin/support/csv_converter.rb +12 -13
  146. data/lib/rails_admin/support/datetime.rb +40 -74
  147. data/lib/rails_admin/support/esmodule_preprocessor.rb +32 -0
  148. data/lib/rails_admin/support/hash_helper.rb +6 -5
  149. data/lib/rails_admin/version.rb +8 -4
  150. data/lib/rails_admin.rb +1 -4
  151. data/lib/tasks/rails_admin.rake +3 -3
  152. data/package.json +28 -0
  153. data/src/rails_admin/base.js +21 -0
  154. data/src/rails_admin/filter-box.js +405 -0
  155. data/src/rails_admin/filtering-multiselect.js +394 -0
  156. data/src/rails_admin/filtering-select.js +302 -0
  157. data/src/rails_admin/i18n.js +19 -0
  158. data/src/rails_admin/nested-form-hooks.js +100 -0
  159. data/src/rails_admin/remote-form.js +190 -0
  160. data/src/rails_admin/sidescroll.js +20 -0
  161. data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/theming.scss +93 -34
  162. data/src/rails_admin/styles/base.scss +64 -0
  163. data/src/rails_admin/styles/filtering-multiselect.scss +53 -0
  164. data/src/rails_admin/styles/filtering-select.scss +70 -0
  165. data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/cerulean/theming.scss +23 -21
  166. data/src/rails_admin/styles/themes/cerulean/variables.scss +830 -0
  167. data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/default/mixins.scss +1 -1
  168. data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/default/variables.scss +1 -1
  169. data/src/rails_admin/styles/widgets.scss +35 -0
  170. data/src/rails_admin/ui.js +172 -0
  171. data/src/rails_admin/vendor/jquery.pjax.js +899 -0
  172. data/src/rails_admin/vendor/jquery_nested_form.js +122 -0
  173. data/src/rails_admin/widgets.js +512 -0
  174. data/vendor/assets/fonts/rails_admin/fa-solid-900.eot +0 -0
  175. data/vendor/assets/fonts/rails_admin/fa-solid-900.svg +5034 -0
  176. data/vendor/assets/fonts/rails_admin/fa-solid-900.ttf +0 -0
  177. data/vendor/assets/fonts/rails_admin/fa-solid-900.woff +0 -0
  178. data/vendor/assets/fonts/rails_admin/fa-solid-900.woff2 +0 -0
  179. data/vendor/assets/javascripts/rails_admin/jquery-ui/data.js +41 -0
  180. data/vendor/assets/javascripts/rails_admin/jquery-ui/effect.js +1637 -0
  181. data/vendor/assets/javascripts/rails_admin/jquery-ui/ie.js +17 -0
  182. data/vendor/assets/javascripts/rails_admin/jquery-ui/keycode.js +47 -0
  183. data/vendor/assets/javascripts/rails_admin/jquery-ui/position.js +500 -0
  184. data/vendor/assets/javascripts/rails_admin/jquery-ui/safe-active-element.js +42 -0
  185. data/vendor/assets/javascripts/rails_admin/jquery-ui/scroll-parent.js +47 -0
  186. data/vendor/assets/javascripts/rails_admin/jquery-ui/unique-id.js +51 -0
  187. data/vendor/assets/javascripts/rails_admin/jquery-ui/version.js +17 -0
  188. data/vendor/assets/javascripts/rails_admin/jquery-ui/widget.js +735 -0
  189. data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/autocomplete.js +689 -0
  190. data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/menu.js +680 -0
  191. data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/mouse.js +230 -0
  192. data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/sortable.js +1561 -0
  193. data/vendor/assets/javascripts/rails_admin/jquery3.js +10872 -0
  194. data/vendor/assets/stylesheets/rails_admin/font-awesome.scss +4476 -2216
  195. metadata +118 -263
  196. data/app/assets/images/rails_admin/aristo/images/bg_fallback.png +0 -0
  197. data/app/assets/images/rails_admin/aristo/images/icon_sprite.png +0 -0
  198. data/app/assets/images/rails_admin/aristo/images/progress_bar.gif +0 -0
  199. data/app/assets/images/rails_admin/aristo/images/slider_handles.png +0 -0
  200. data/app/assets/images/rails_admin/aristo/images/ui-icons_222222_256x240.png +0 -0
  201. data/app/assets/images/rails_admin/aristo/images/ui-icons_454545_256x240.png +0 -0
  202. data/app/assets/images/rails_admin/bullet_black.png +0 -0
  203. data/app/assets/images/rails_admin/bullet_white.png +0 -0
  204. data/app/assets/images/rails_admin/calendar.png +0 -0
  205. data/app/assets/images/rails_admin/clock.png +0 -0
  206. data/app/assets/images/rails_admin/logo.png +0 -0
  207. data/app/assets/images/rails_admin/magnifier.png +0 -0
  208. data/app/assets/images/rails_admin/multiselect/icon_sprite.png +0 -0
  209. data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-n-dark.png +0 -0
  210. data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-n-light.png +0 -0
  211. data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-s-dark.png +0 -0
  212. data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-s-light.png +0 -0
  213. data/app/assets/javascripts/rails_admin/jquery-ui.js.erb +0 -8
  214. data/app/assets/javascripts/rails_admin/jquery.migrate.js +0 -3
  215. data/app/assets/javascripts/rails_admin/ra.filter-box.js +0 -253
  216. data/app/assets/javascripts/rails_admin/ra.filtering-multiselect.js +0 -331
  217. data/app/assets/javascripts/rails_admin/ra.filtering-select.js +0 -294
  218. data/app/assets/javascripts/rails_admin/ra.i18n.js +0 -28
  219. data/app/assets/javascripts/rails_admin/ra.nested-form-hooks.js +0 -59
  220. data/app/assets/javascripts/rails_admin/ra.remote-form.js +0 -155
  221. data/app/assets/javascripts/rails_admin/ra.sidescroll.js +0 -31
  222. data/app/assets/javascripts/rails_admin/ra.widgets.js +0 -379
  223. data/app/assets/javascripts/rails_admin/rails_admin.js +0 -21
  224. data/app/assets/javascripts/rails_admin/ui.js +0 -135
  225. data/app/assets/stylesheets/rails_admin/aristo/images/bg_fallback.png +0 -0
  226. data/app/assets/stylesheets/rails_admin/aristo/images/icon_sprite.png +0 -0
  227. data/app/assets/stylesheets/rails_admin/aristo/images/progress_bar.gif +0 -0
  228. data/app/assets/stylesheets/rails_admin/aristo/images/slider_handles.png +0 -0
  229. data/app/assets/stylesheets/rails_admin/aristo/images/ui-icons_222222_256x240.png +0 -0
  230. data/app/assets/stylesheets/rails_admin/aristo/images/ui-icons_454545_256x240.png +0 -0
  231. data/app/assets/stylesheets/rails_admin/aristo/jquery-ui-1.8.7.custom.scss +0 -733
  232. data/app/assets/stylesheets/rails_admin/base/font-awesome-4-compability.scss +0 -153
  233. data/app/assets/stylesheets/rails_admin/ra.filtering-multiselect.scss +0 -88
  234. data/app/assets/stylesheets/rails_admin/ra.sidescroll.scss +0 -29
  235. data/app/assets/stylesheets/rails_admin/ra.widgets.scss +0 -17
  236. data/app/assets/stylesheets/rails_admin/rails_admin.scss.erb +0 -110
  237. data/app/assets/stylesheets/rails_admin/themes/cerulean/variables.scss +0 -857
  238. data/app/views/kaminari/ra-twitter-bootstrap/_gap.html.haml +0 -2
  239. data/app/views/kaminari/ra-twitter-bootstrap/_next_page.html.haml +0 -4
  240. data/app/views/kaminari/ra-twitter-bootstrap/_page.html.haml +0 -4
  241. data/app/views/kaminari/ra-twitter-bootstrap/_paginator.html.haml +0 -9
  242. data/app/views/kaminari/ra-twitter-bootstrap/_prev_page.html.haml +0 -4
  243. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_next_page.html.haml +0 -4
  244. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_paginator.html.haml +0 -4
  245. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_prev_page.html.haml +0 -4
  246. data/app/views/layouts/rails_admin/_head.html.haml +0 -7
  247. data/app/views/layouts/rails_admin/_navigation.html.haml +0 -12
  248. data/app/views/layouts/rails_admin/_secondary_navigation.html.haml +0 -10
  249. data/app/views/layouts/rails_admin/_sidebar_navigation.html.haml +0 -3
  250. data/app/views/layouts/rails_admin/application.html.haml +0 -16
  251. data/app/views/layouts/rails_admin/pjax.html.haml +0 -12
  252. data/app/views/rails_admin/main/_dashboard_history.html.haml +0 -21
  253. data/app/views/rails_admin/main/_delete_notice.html.haml +0 -24
  254. data/app/views/rails_admin/main/_form_action_text.html.haml +0 -7
  255. data/app/views/rails_admin/main/_form_boolean.html.haml +0 -3
  256. data/app/views/rails_admin/main/_form_code_mirror.html.haml +0 -9
  257. data/app/views/rails_admin/main/_form_colorpicker.html.haml +0 -1
  258. data/app/views/rails_admin/main/_form_datetime.html.haml +0 -5
  259. data/app/views/rails_admin/main/_form_enumeration.html.haml +0 -19
  260. data/app/views/rails_admin/main/_form_field.html.haml +0 -1
  261. data/app/views/rails_admin/main/_form_file_upload.html.haml +0 -17
  262. data/app/views/rails_admin/main/_form_froala.html.haml +0 -8
  263. data/app/views/rails_admin/main/_form_multiple_file_upload.html.haml +0 -16
  264. data/app/views/rails_admin/main/_form_nested_many.html.haml +0 -15
  265. data/app/views/rails_admin/main/_form_nested_one.html.haml +0 -17
  266. data/app/views/rails_admin/main/_form_polymorphic_association.html.haml +0 -26
  267. data/app/views/rails_admin/main/_form_simple_mde.haml +0 -8
  268. data/app/views/rails_admin/main/_form_text.html.haml +0 -1
  269. data/app/views/rails_admin/main/_form_wysihtml5.html.haml +0 -8
  270. data/app/views/rails_admin/main/_submit_buttons.html.haml +0 -16
  271. data/app/views/rails_admin/main/bulk_delete.html.haml +0 -11
  272. data/app/views/rails_admin/main/dashboard.html.haml +0 -34
  273. data/app/views/rails_admin/main/delete.html.haml +0 -18
  274. data/app/views/rails_admin/main/edit.html.haml +0 -2
  275. data/app/views/rails_admin/main/export.html.haml +0 -92
  276. data/app/views/rails_admin/main/history.html.haml +0 -51
  277. data/app/views/rails_admin/main/index.html.haml +0 -126
  278. data/app/views/rails_admin/main/new.html.haml +0 -2
  279. data/app/views/rails_admin/main/show.html.haml +0 -15
  280. data/config/initializers/haml.rb +0 -5
  281. data/lib/rails_admin/adapters/active_record/abstract_object.rb +0 -38
  282. data/lib/rails_admin/adapters/active_record.rb.bak +0 -348
  283. data/lib/rails_admin/adapters/mongoid/abstract_object.rb +0 -42
  284. data/lib/rails_admin/bootstrap-sass/compass_functions.rb +0 -28
  285. data/lib/rails_admin/bootstrap-sass/sass_functions.rb +0 -16
  286. data/lib/rails_admin/bootstrap-sass.rb +0 -49
  287. data/lib/rails_admin/config/lazy_model.rb +0 -68
  288. data/lib/rails_admin/extensions/history/auditing_adapter.rb +0 -37
  289. data/lib/rails_admin/extensions/history/history.rb +0 -44
  290. data/lib/rails_admin/extensions/history.rb +0 -3
  291. data/lib/rails_admin/support/i18n.rb +0 -43
  292. data/vendor/assets/fonts/rails_admin/FontAwesome.otf +0 -0
  293. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.eot +0 -0
  294. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.svg +0 -2671
  295. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.ttf +0 -0
  296. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.woff +0 -0
  297. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.woff2 +0 -0
  298. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_background.png +0 -0
  299. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hex.png +0 -0
  300. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_b.png +0 -0
  301. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_h.png +0 -0
  302. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_s.png +0 -0
  303. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_indic.gif +0 -0
  304. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_overlay.png +0 -0
  305. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_b.png +0 -0
  306. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_g.png +0 -0
  307. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_r.png +0 -0
  308. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_select.gif +0 -0
  309. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_submit.png +0 -0
  310. data/vendor/assets/images/rails_admin/colorpicker/custom_background.png +0 -0
  311. data/vendor/assets/images/rails_admin/colorpicker/custom_hex.png +0 -0
  312. data/vendor/assets/images/rails_admin/colorpicker/custom_hsb_b.png +0 -0
  313. data/vendor/assets/images/rails_admin/colorpicker/custom_hsb_h.png +0 -0
  314. data/vendor/assets/images/rails_admin/colorpicker/custom_hsb_s.png +0 -0
  315. data/vendor/assets/images/rails_admin/colorpicker/custom_indic.gif +0 -0
  316. data/vendor/assets/images/rails_admin/colorpicker/custom_rgb_b.png +0 -0
  317. data/vendor/assets/images/rails_admin/colorpicker/custom_rgb_g.png +0 -0
  318. data/vendor/assets/images/rails_admin/colorpicker/custom_rgb_r.png +0 -0
  319. data/vendor/assets/images/rails_admin/colorpicker/custom_submit.png +0 -0
  320. data/vendor/assets/images/rails_admin/colorpicker/select.png +0 -0
  321. data/vendor/assets/images/rails_admin/colorpicker/select2.png +0 -0
  322. data/vendor/assets/images/rails_admin/colorpicker/slider.png +0 -0
  323. data/vendor/assets/javascripts/rails_admin/jquery.colorpicker.js +0 -484
  324. data/vendor/assets/stylesheets/rails_admin/jquery.colorpicker.scss +0 -182
  325. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/README.txt +0 -0
  326. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/mixins.scss +0 -0
  327. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/variables.scss +0 -0
  328. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/cerulean/mixins.scss +0 -0
  329. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/default/theming.scss +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 3.0.0.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Michaels-Ober
@@ -12,82 +12,22 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2024-07-11 00:00:00.000000000 Z
15
+ date: 2021-12-20 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
- name: builder
19
- requirement: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - "~>"
22
- - !ruby/object:Gem::Version
23
- version: '3.1'
24
- type: :runtime
25
- prerelease: false
26
- version_requirements: !ruby/object:Gem::Requirement
27
- requirements:
28
- - - "~>"
29
- - !ruby/object:Gem::Version
30
- version: '3.1'
31
- - !ruby/object:Gem::Dependency
32
- name: haml
33
- requirement: !ruby/object:Gem::Requirement
34
- requirements:
35
- - - ">="
36
- - !ruby/object:Gem::Version
37
- version: '4.0'
38
- - - "<"
39
- - !ruby/object:Gem::Version
40
- version: '6'
41
- type: :runtime
42
- prerelease: false
43
- version_requirements: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '4.0'
48
- - - "<"
49
- - !ruby/object:Gem::Version
50
- version: '6'
51
- - !ruby/object:Gem::Dependency
52
- name: jquery-rails
53
- requirement: !ruby/object:Gem::Requirement
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- version: '3.0'
58
- - - "<"
59
- - !ruby/object:Gem::Version
60
- version: '5'
61
- type: :runtime
62
- prerelease: false
63
- version_requirements: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: '3.0'
68
- - - "<"
69
- - !ruby/object:Gem::Version
70
- version: '5'
71
- - !ruby/object:Gem::Dependency
72
- name: jquery-ui-rails
18
+ name: activemodel-serializers-xml
73
19
  requirement: !ruby/object:Gem::Requirement
74
20
  requirements:
75
21
  - - ">="
76
22
  - !ruby/object:Gem::Version
77
- version: '5.0'
78
- - - "<"
79
- - !ruby/object:Gem::Version
80
- version: '7'
23
+ version: '1.0'
81
24
  type: :runtime
82
25
  prerelease: false
83
26
  version_requirements: !ruby/object:Gem::Requirement
84
27
  requirements:
85
28
  - - ">="
86
29
  - !ruby/object:Gem::Version
87
- version: '5.0'
88
- - - "<"
89
- - !ruby/object:Gem::Version
90
- version: '7'
30
+ version: '1.0'
91
31
  - !ruby/object:Gem::Dependency
92
32
  name: kaminari
93
33
  requirement: !ruby/object:Gem::Requirement
@@ -142,68 +82,20 @@ dependencies:
142
82
  requirements:
143
83
  - - ">="
144
84
  - !ruby/object:Gem::Version
145
- version: '5.0'
146
- - - "<"
147
- - !ruby/object:Gem::Version
148
- version: '7'
149
- type: :runtime
150
- prerelease: false
151
- version_requirements: !ruby/object:Gem::Requirement
152
- requirements:
153
- - - ">="
154
- - !ruby/object:Gem::Version
155
- version: '5.0'
156
- - - "<"
157
- - !ruby/object:Gem::Version
158
- version: '7'
159
- - !ruby/object:Gem::Dependency
160
- name: remotipart
161
- requirement: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - "~>"
164
- - !ruby/object:Gem::Version
165
- version: '1.3'
166
- type: :runtime
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- requirements:
170
- - - "~>"
171
- - !ruby/object:Gem::Version
172
- version: '1.3'
173
- - !ruby/object:Gem::Dependency
174
- name: sassc-rails
175
- requirement: !ruby/object:Gem::Requirement
176
- requirements:
177
- - - ">="
178
- - !ruby/object:Gem::Version
179
- version: '1.3'
85
+ version: '6.0'
180
86
  - - "<"
181
87
  - !ruby/object:Gem::Version
182
- version: '3'
88
+ version: '8'
183
89
  type: :runtime
184
90
  prerelease: false
185
91
  version_requirements: !ruby/object:Gem::Requirement
186
92
  requirements:
187
93
  - - ">="
188
94
  - !ruby/object:Gem::Version
189
- version: '1.3'
95
+ version: '6.0'
190
96
  - - "<"
191
97
  - !ruby/object:Gem::Version
192
- version: '3'
193
- - !ruby/object:Gem::Dependency
194
- name: activemodel-serializers-xml
195
- requirement: !ruby/object:Gem::Requirement
196
- requirements:
197
- - - ">="
198
- - !ruby/object:Gem::Version
199
- version: '1.0'
200
- type: :runtime
201
- prerelease: false
202
- version_requirements: !ruby/object:Gem::Requirement
203
- requirements:
204
- - - ">="
205
- - !ruby/object:Gem::Version
206
- version: '1.0'
98
+ version: '8'
207
99
  - !ruby/object:Gem::Dependency
208
100
  name: bundler
209
101
  requirement: !ruby/object:Gem::Requirement
@@ -232,135 +124,86 @@ files:
232
124
  - LICENSE.md
233
125
  - README.md
234
126
  - Rakefile
235
- - app/assets/images/rails_admin/aristo/images/bg_fallback.png
236
- - app/assets/images/rails_admin/aristo/images/icon_sprite.png
237
- - app/assets/images/rails_admin/aristo/images/progress_bar.gif
238
- - app/assets/images/rails_admin/aristo/images/slider_handles.png
239
- - app/assets/images/rails_admin/aristo/images/ui-icons_222222_256x240.png
240
- - app/assets/images/rails_admin/aristo/images/ui-icons_454545_256x240.png
241
- - app/assets/images/rails_admin/bullet_black.png
242
- - app/assets/images/rails_admin/bullet_white.png
243
- - app/assets/images/rails_admin/calendar.png
244
- - app/assets/images/rails_admin/clock.png
245
- - app/assets/images/rails_admin/logo.png
246
- - app/assets/images/rails_admin/magnifier.png
247
- - app/assets/images/rails_admin/multiselect/icon_sprite.png
248
- - app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-n-dark.png
249
- - app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-n-light.png
250
- - app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-s-dark.png
251
- - app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-s-light.png
127
+ - app/assets/javascripts/rails_admin.js
252
128
  - app/assets/javascripts/rails_admin/custom/ui.js
253
- - app/assets/javascripts/rails_admin/jquery-ui.js.erb
254
- - app/assets/javascripts/rails_admin/jquery.migrate.js
255
- - app/assets/javascripts/rails_admin/ra.filter-box.js
256
- - app/assets/javascripts/rails_admin/ra.filtering-multiselect.js
257
- - app/assets/javascripts/rails_admin/ra.filtering-select.js
258
- - app/assets/javascripts/rails_admin/ra.i18n.js
259
- - app/assets/javascripts/rails_admin/ra.nested-form-hooks.js
260
- - app/assets/javascripts/rails_admin/ra.remote-form.js
261
- - app/assets/javascripts/rails_admin/ra.sidescroll.js
262
- - app/assets/javascripts/rails_admin/ra.widgets.js
263
- - app/assets/javascripts/rails_admin/rails_admin.js
264
- - app/assets/javascripts/rails_admin/ui.js
265
- - app/assets/stylesheets/rails_admin/aristo/images/bg_fallback.png
266
- - app/assets/stylesheets/rails_admin/aristo/images/icon_sprite.png
267
- - app/assets/stylesheets/rails_admin/aristo/images/progress_bar.gif
268
- - app/assets/stylesheets/rails_admin/aristo/images/slider_handles.png
269
- - app/assets/stylesheets/rails_admin/aristo/images/ui-icons_222222_256x240.png
270
- - app/assets/stylesheets/rails_admin/aristo/images/ui-icons_454545_256x240.png
271
- - app/assets/stylesheets/rails_admin/aristo/jquery-ui-1.8.7.custom.scss
272
- - app/assets/stylesheets/rails_admin/base/README.txt
273
- - app/assets/stylesheets/rails_admin/base/font-awesome-4-compability.scss
274
- - app/assets/stylesheets/rails_admin/base/mixins.scss
275
- - app/assets/stylesheets/rails_admin/base/theming.scss
276
- - app/assets/stylesheets/rails_admin/base/variables.scss
129
+ - app/assets/stylesheets/rails_admin.scss.erb
277
130
  - app/assets/stylesheets/rails_admin/custom/mixins.scss
278
131
  - app/assets/stylesheets/rails_admin/custom/theming.scss
279
132
  - app/assets/stylesheets/rails_admin/custom/variables.scss
280
- - app/assets/stylesheets/rails_admin/ra.filtering-multiselect.scss
281
- - app/assets/stylesheets/rails_admin/ra.sidescroll.scss
282
- - app/assets/stylesheets/rails_admin/ra.widgets.scss
283
- - app/assets/stylesheets/rails_admin/rails_admin.scss.erb
284
- - app/assets/stylesheets/rails_admin/themes/cerulean/mixins.scss
285
- - app/assets/stylesheets/rails_admin/themes/cerulean/theming.scss
286
- - app/assets/stylesheets/rails_admin/themes/cerulean/variables.scss
287
- - app/assets/stylesheets/rails_admin/themes/default/mixins.scss
288
- - app/assets/stylesheets/rails_admin/themes/default/theming.scss
289
- - app/assets/stylesheets/rails_admin/themes/default/variables.scss
290
133
  - app/controllers/rails_admin/application_controller.rb
291
134
  - app/controllers/rails_admin/main_controller.rb
292
135
  - app/helpers/rails_admin/application_helper.rb
293
136
  - app/helpers/rails_admin/form_builder.rb
294
137
  - app/helpers/rails_admin/main_helper.rb
295
- - app/views/kaminari/ra-twitter-bootstrap/_gap.html.haml
296
- - app/views/kaminari/ra-twitter-bootstrap/_next_page.html.haml
297
- - app/views/kaminari/ra-twitter-bootstrap/_page.html.haml
298
- - app/views/kaminari/ra-twitter-bootstrap/_paginator.html.haml
299
- - app/views/kaminari/ra-twitter-bootstrap/_prev_page.html.haml
300
- - app/views/kaminari/ra-twitter-bootstrap/without_count/_next_page.html.haml
301
- - app/views/kaminari/ra-twitter-bootstrap/without_count/_paginator.html.haml
302
- - app/views/kaminari/ra-twitter-bootstrap/without_count/_prev_page.html.haml
303
- - app/views/layouts/rails_admin/_head.html.haml
304
- - app/views/layouts/rails_admin/_navigation.html.haml
305
- - app/views/layouts/rails_admin/_secondary_navigation.html.haml
306
- - app/views/layouts/rails_admin/_sidebar_navigation.html.haml
307
- - app/views/layouts/rails_admin/application.html.haml
308
- - app/views/layouts/rails_admin/pjax.html.haml
309
- - app/views/rails_admin/main/_dashboard_history.html.haml
310
- - app/views/rails_admin/main/_delete_notice.html.haml
311
- - app/views/rails_admin/main/_form_action_text.html.haml
312
- - app/views/rails_admin/main/_form_boolean.html.haml
313
- - app/views/rails_admin/main/_form_ck_editor.html.haml
314
- - app/views/rails_admin/main/_form_code_mirror.html.haml
315
- - app/views/rails_admin/main/_form_colorpicker.html.haml
316
- - app/views/rails_admin/main/_form_datetime.html.haml
317
- - app/views/rails_admin/main/_form_enumeration.html.haml
318
- - app/views/rails_admin/main/_form_field.html.haml
319
- - app/views/rails_admin/main/_form_file_upload.html.haml
320
- - app/views/rails_admin/main/_form_filtering_multiselect.html.haml
321
- - app/views/rails_admin/main/_form_filtering_select.html.haml
322
- - app/views/rails_admin/main/_form_froala.html.haml
323
- - app/views/rails_admin/main/_form_multiple_file_upload.html.haml
324
- - app/views/rails_admin/main/_form_nested_many.html.haml
325
- - app/views/rails_admin/main/_form_nested_one.html.haml
326
- - app/views/rails_admin/main/_form_polymorphic_association.html.haml
327
- - app/views/rails_admin/main/_form_simple_mde.haml
328
- - app/views/rails_admin/main/_form_text.html.haml
329
- - app/views/rails_admin/main/_form_wysihtml5.html.haml
330
- - app/views/rails_admin/main/_submit_buttons.html.haml
331
- - app/views/rails_admin/main/bulk_delete.html.haml
332
- - app/views/rails_admin/main/dashboard.html.haml
333
- - app/views/rails_admin/main/delete.html.haml
334
- - app/views/rails_admin/main/edit.html.haml
335
- - app/views/rails_admin/main/export.html.haml
336
- - app/views/rails_admin/main/history.html.haml
337
- - app/views/rails_admin/main/index.html.haml
338
- - app/views/rails_admin/main/new.html.haml
339
- - app/views/rails_admin/main/show.html.haml
138
+ - app/views/kaminari/ra-twitter-bootstrap/_gap.html.erb
139
+ - app/views/kaminari/ra-twitter-bootstrap/_next_page.html.erb
140
+ - app/views/kaminari/ra-twitter-bootstrap/_page.html.erb
141
+ - app/views/kaminari/ra-twitter-bootstrap/_paginator.html.erb
142
+ - app/views/kaminari/ra-twitter-bootstrap/_prev_page.html.erb
143
+ - app/views/kaminari/ra-twitter-bootstrap/without_count/_next_page.html.erb
144
+ - app/views/kaminari/ra-twitter-bootstrap/without_count/_paginator.html.erb
145
+ - app/views/kaminari/ra-twitter-bootstrap/without_count/_prev_page.html.erb
146
+ - app/views/layouts/rails_admin/_head.html.erb
147
+ - app/views/layouts/rails_admin/_navigation.html.erb
148
+ - app/views/layouts/rails_admin/_secondary_navigation.html.erb
149
+ - app/views/layouts/rails_admin/_sidebar_navigation.html.erb
150
+ - app/views/layouts/rails_admin/application.html.erb
151
+ - app/views/layouts/rails_admin/modal.js.erb
152
+ - app/views/layouts/rails_admin/pjax.html.erb
153
+ - app/views/rails_admin/main/_dashboard_history.html.erb
154
+ - app/views/rails_admin/main/_delete_notice.html.erb
155
+ - app/views/rails_admin/main/_form_action_text.html.erb
156
+ - app/views/rails_admin/main/_form_boolean.html.erb
157
+ - app/views/rails_admin/main/_form_ck_editor.html.erb
158
+ - app/views/rails_admin/main/_form_code_mirror.html.erb
159
+ - app/views/rails_admin/main/_form_colorpicker.html.erb
160
+ - app/views/rails_admin/main/_form_datetime.html.erb
161
+ - app/views/rails_admin/main/_form_enumeration.html.erb
162
+ - app/views/rails_admin/main/_form_field.html.erb
163
+ - app/views/rails_admin/main/_form_file_upload.html.erb
164
+ - app/views/rails_admin/main/_form_filtering_multiselect.html.erb
165
+ - app/views/rails_admin/main/_form_filtering_select.html.erb
166
+ - app/views/rails_admin/main/_form_froala.html.erb
167
+ - app/views/rails_admin/main/_form_multiple_file_upload.html.erb
168
+ - app/views/rails_admin/main/_form_nested_many.html.erb
169
+ - app/views/rails_admin/main/_form_nested_one.html.erb
170
+ - app/views/rails_admin/main/_form_polymorphic_association.html.erb
171
+ - app/views/rails_admin/main/_form_simple_mde.html.erb
172
+ - app/views/rails_admin/main/_form_text.html.erb
173
+ - app/views/rails_admin/main/_form_wysihtml5.html.erb
174
+ - app/views/rails_admin/main/_submit_buttons.html.erb
175
+ - app/views/rails_admin/main/bulk_delete.html.erb
176
+ - app/views/rails_admin/main/dashboard.html.erb
177
+ - app/views/rails_admin/main/delete.html.erb
178
+ - app/views/rails_admin/main/edit.html.erb
179
+ - app/views/rails_admin/main/export.html.erb
180
+ - app/views/rails_admin/main/history.html.erb
181
+ - app/views/rails_admin/main/index.html.erb
182
+ - app/views/rails_admin/main/new.html.erb
183
+ - app/views/rails_admin/main/show.html.erb
340
184
  - config/initializers/active_record_extensions.rb
341
- - config/initializers/haml.rb
342
185
  - config/initializers/mongoid_extensions.rb
343
186
  - config/locales/rails_admin.en.yml
344
187
  - config/routes.rb
345
188
  - lib/generators/rails_admin/install_generator.rb
189
+ - lib/generators/rails_admin/templates/environment.js
346
190
  - lib/generators/rails_admin/templates/initializer.erb
191
+ - lib/generators/rails_admin/templates/rails_admin.js.erb
192
+ - lib/generators/rails_admin/templates/rails_admin.scss
193
+ - lib/generators/rails_admin/templates/webpack.config.js
347
194
  - lib/generators/rails_admin/utils.rb
348
195
  - lib/rails_admin.rb
349
196
  - lib/rails_admin/abstract_model.rb
350
197
  - lib/rails_admin/adapters/active_record.rb
351
- - lib/rails_admin/adapters/active_record.rb.bak
352
- - lib/rails_admin/adapters/active_record/abstract_object.rb
353
198
  - lib/rails_admin/adapters/active_record/association.rb
199
+ - lib/rails_admin/adapters/active_record/object_extension.rb
354
200
  - lib/rails_admin/adapters/active_record/property.rb
355
201
  - lib/rails_admin/adapters/mongoid.rb
356
- - lib/rails_admin/adapters/mongoid/abstract_object.rb
357
202
  - lib/rails_admin/adapters/mongoid/association.rb
358
203
  - lib/rails_admin/adapters/mongoid/bson.rb
359
204
  - lib/rails_admin/adapters/mongoid/extension.rb
205
+ - lib/rails_admin/adapters/mongoid/object_extension.rb
360
206
  - lib/rails_admin/adapters/mongoid/property.rb
361
- - lib/rails_admin/bootstrap-sass.rb
362
- - lib/rails_admin/bootstrap-sass/compass_functions.rb
363
- - lib/rails_admin/bootstrap-sass/sass_functions.rb
364
207
  - lib/rails_admin/config.rb
365
208
  - lib/rails_admin/config/actions.rb
366
209
  - lib/rails_admin/config/actions/base.rb
@@ -399,6 +242,7 @@ files:
399
242
  - lib/rails_admin/config/fields/types/boolean.rb
400
243
  - lib/rails_admin/config/fields/types/bson_object_id.rb
401
244
  - lib/rails_admin/config/fields/types/carrierwave.rb
245
+ - lib/rails_admin/config/fields/types/citext.rb
402
246
  - lib/rails_admin/config/fields/types/ck_editor.rb
403
247
  - lib/rails_admin/config/fields/types/code_mirror.rb
404
248
  - lib/rails_admin/config/fields/types/color.rb
@@ -420,6 +264,7 @@ files:
420
264
  - lib/rails_admin/config/fields/types/multiple_active_storage.rb
421
265
  - lib/rails_admin/config/fields/types/multiple_carrierwave.rb
422
266
  - lib/rails_admin/config/fields/types/multiple_file_upload.rb
267
+ - lib/rails_admin/config/fields/types/numeric.rb
423
268
  - lib/rails_admin/config/fields/types/paperclip.rb
424
269
  - lib/rails_admin/config/fields/types/password.rb
425
270
  - lib/rails_admin/config/fields/types/polymorphic_association.rb
@@ -439,7 +284,6 @@ files:
439
284
  - lib/rails_admin/config/has_groups.rb
440
285
  - lib/rails_admin/config/hideable.rb
441
286
  - lib/rails_admin/config/inspectable.rb
442
- - lib/rails_admin/config/lazy_model.rb
443
287
  - lib/rails_admin/config/model.rb
444
288
  - lib/rails_admin/config/proxyable.rb
445
289
  - lib/rails_admin/config/proxyable/proxy.rb
@@ -458,52 +302,50 @@ files:
458
302
  - lib/rails_admin/extensions/cancancan.rb
459
303
  - lib/rails_admin/extensions/cancancan/authorization_adapter.rb
460
304
  - lib/rails_admin/extensions/controller_extension.rb
461
- - lib/rails_admin/extensions/history.rb
462
- - lib/rails_admin/extensions/history/auditing_adapter.rb
463
- - lib/rails_admin/extensions/history/history.rb
464
305
  - lib/rails_admin/extensions/paper_trail.rb
465
306
  - lib/rails_admin/extensions/paper_trail/auditing_adapter.rb
466
307
  - lib/rails_admin/extensions/pundit.rb
467
308
  - lib/rails_admin/extensions/pundit/authorization_adapter.rb
468
309
  - lib/rails_admin/support/csv_converter.rb
469
310
  - lib/rails_admin/support/datetime.rb
311
+ - lib/rails_admin/support/esmodule_preprocessor.rb
470
312
  - lib/rails_admin/support/hash_helper.rb
471
- - lib/rails_admin/support/i18n.rb
472
313
  - lib/rails_admin/version.rb
473
314
  - lib/tasks/rails_admin.rake
474
- - vendor/assets/fonts/rails_admin/FontAwesome.otf
475
- - vendor/assets/fonts/rails_admin/fontawesome-webfont.eot
476
- - vendor/assets/fonts/rails_admin/fontawesome-webfont.svg
477
- - vendor/assets/fonts/rails_admin/fontawesome-webfont.ttf
478
- - vendor/assets/fonts/rails_admin/fontawesome-webfont.woff
479
- - vendor/assets/fonts/rails_admin/fontawesome-webfont.woff2
315
+ - package.json
316
+ - src/rails_admin/base.js
317
+ - src/rails_admin/filter-box.js
318
+ - src/rails_admin/filtering-multiselect.js
319
+ - src/rails_admin/filtering-select.js
320
+ - src/rails_admin/i18n.js
321
+ - src/rails_admin/nested-form-hooks.js
322
+ - src/rails_admin/remote-form.js
323
+ - src/rails_admin/sidescroll.js
324
+ - src/rails_admin/styles/base.scss
325
+ - src/rails_admin/styles/base/README.txt
326
+ - src/rails_admin/styles/base/mixins.scss
327
+ - src/rails_admin/styles/base/theming.scss
328
+ - src/rails_admin/styles/base/variables.scss
329
+ - src/rails_admin/styles/filtering-multiselect.scss
330
+ - src/rails_admin/styles/filtering-select.scss
331
+ - src/rails_admin/styles/themes/cerulean/mixins.scss
332
+ - src/rails_admin/styles/themes/cerulean/theming.scss
333
+ - src/rails_admin/styles/themes/cerulean/variables.scss
334
+ - src/rails_admin/styles/themes/default/mixins.scss
335
+ - src/rails_admin/styles/themes/default/theming.scss
336
+ - src/rails_admin/styles/themes/default/variables.scss
337
+ - src/rails_admin/styles/widgets.scss
338
+ - src/rails_admin/ui.js
339
+ - src/rails_admin/vendor/jquery.pjax.js
340
+ - src/rails_admin/vendor/jquery_nested_form.js
341
+ - src/rails_admin/widgets.js
342
+ - vendor/assets/fonts/rails_admin/fa-solid-900.eot
343
+ - vendor/assets/fonts/rails_admin/fa-solid-900.svg
344
+ - vendor/assets/fonts/rails_admin/fa-solid-900.ttf
345
+ - vendor/assets/fonts/rails_admin/fa-solid-900.woff
346
+ - vendor/assets/fonts/rails_admin/fa-solid-900.woff2
480
347
  - vendor/assets/images/rails_admin/bootstrap/glyphicons-halflings-white.png
481
348
  - vendor/assets/images/rails_admin/bootstrap/glyphicons-halflings.png
482
- - vendor/assets/images/rails_admin/colorpicker/colorpicker_background.png
483
- - vendor/assets/images/rails_admin/colorpicker/colorpicker_hex.png
484
- - vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_b.png
485
- - vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_h.png
486
- - vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_s.png
487
- - vendor/assets/images/rails_admin/colorpicker/colorpicker_indic.gif
488
- - vendor/assets/images/rails_admin/colorpicker/colorpicker_overlay.png
489
- - vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_b.png
490
- - vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_g.png
491
- - vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_r.png
492
- - vendor/assets/images/rails_admin/colorpicker/colorpicker_select.gif
493
- - vendor/assets/images/rails_admin/colorpicker/colorpicker_submit.png
494
- - vendor/assets/images/rails_admin/colorpicker/custom_background.png
495
- - vendor/assets/images/rails_admin/colorpicker/custom_hex.png
496
- - vendor/assets/images/rails_admin/colorpicker/custom_hsb_b.png
497
- - vendor/assets/images/rails_admin/colorpicker/custom_hsb_h.png
498
- - vendor/assets/images/rails_admin/colorpicker/custom_hsb_s.png
499
- - vendor/assets/images/rails_admin/colorpicker/custom_indic.gif
500
- - vendor/assets/images/rails_admin/colorpicker/custom_rgb_b.png
501
- - vendor/assets/images/rails_admin/colorpicker/custom_rgb_g.png
502
- - vendor/assets/images/rails_admin/colorpicker/custom_rgb_r.png
503
- - vendor/assets/images/rails_admin/colorpicker/custom_submit.png
504
- - vendor/assets/images/rails_admin/colorpicker/select.png
505
- - vendor/assets/images/rails_admin/colorpicker/select2.png
506
- - vendor/assets/images/rails_admin/colorpicker/slider.png
507
349
  - vendor/assets/javascripts/rails_admin/bootstrap-datetimepicker.js
508
350
  - vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-affix.js
509
351
  - vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-alert.js
@@ -519,8 +361,22 @@ files:
519
361
  - vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-transition.js
520
362
  - vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-typeahead.js
521
363
  - vendor/assets/javascripts/rails_admin/bootstrap/bootstrap.js
522
- - vendor/assets/javascripts/rails_admin/jquery.colorpicker.js
364
+ - vendor/assets/javascripts/rails_admin/jquery-ui/data.js
365
+ - vendor/assets/javascripts/rails_admin/jquery-ui/effect.js
366
+ - vendor/assets/javascripts/rails_admin/jquery-ui/ie.js
367
+ - vendor/assets/javascripts/rails_admin/jquery-ui/keycode.js
368
+ - vendor/assets/javascripts/rails_admin/jquery-ui/position.js
369
+ - vendor/assets/javascripts/rails_admin/jquery-ui/safe-active-element.js
370
+ - vendor/assets/javascripts/rails_admin/jquery-ui/scroll-parent.js
371
+ - vendor/assets/javascripts/rails_admin/jquery-ui/unique-id.js
372
+ - vendor/assets/javascripts/rails_admin/jquery-ui/version.js
373
+ - vendor/assets/javascripts/rails_admin/jquery-ui/widget.js
374
+ - vendor/assets/javascripts/rails_admin/jquery-ui/widgets/autocomplete.js
375
+ - vendor/assets/javascripts/rails_admin/jquery-ui/widgets/menu.js
376
+ - vendor/assets/javascripts/rails_admin/jquery-ui/widgets/mouse.js
377
+ - vendor/assets/javascripts/rails_admin/jquery-ui/widgets/sortable.js
523
378
  - vendor/assets/javascripts/rails_admin/jquery.pjax.js
379
+ - vendor/assets/javascripts/rails_admin/jquery3.js
524
380
  - vendor/assets/javascripts/rails_admin/moment-with-locales.js
525
381
  - vendor/assets/stylesheets/rails_admin/_bootstrap-datetimepicker.scss
526
382
  - vendor/assets/stylesheets/rails_admin/bootstrap-datetimepicker-build.scss
@@ -595,8 +451,7 @@ files:
595
451
  - vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_text-overflow.scss
596
452
  - vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_vendor-prefixes.scss
597
453
  - vendor/assets/stylesheets/rails_admin/font-awesome.scss
598
- - vendor/assets/stylesheets/rails_admin/jquery.colorpicker.scss
599
- homepage: https://github.com/sferik/rails_admin
454
+ homepage: https://github.com/railsadminteam/rails_admin
600
455
  licenses:
601
456
  - MIT
602
457
  metadata: {}
@@ -608,14 +463,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
608
463
  requirements:
609
464
  - - ">="
610
465
  - !ruby/object:Gem::Version
611
- version: 2.2.2
466
+ version: 2.5.0
612
467
  required_rubygems_version: !ruby/object:Gem::Requirement
613
468
  requirements:
614
- - - ">="
469
+ - - ">"
615
470
  - !ruby/object:Gem::Version
616
- version: 1.8.11
471
+ version: 1.3.1
617
472
  requirements: []
618
- rubygems_version: 3.4.10
473
+ rubygems_version: 3.2.22
619
474
  signing_key:
620
475
  specification_version: 4
621
476
  summary: Admin for Rails
Binary file
@@ -1,8 +0,0 @@
1
- <% require_asset "jquery-ui/effect" %>
2
- <% if Jquery::Ui::Rails::JQUERY_UI_VERSION >= '1.12' %>
3
- <% require_asset "jquery-ui/widgets/sortable" %>
4
- <% require_asset "jquery-ui/widgets/autocomplete" %>
5
- <% else %>
6
- <% require_asset "jquery-ui/sortable" %>
7
- <% require_asset "jquery-ui/autocomplete" %>
8
- <% end %>
@@ -1,3 +0,0 @@
1
- /*! jQuery Migrate v3.3.3-pre | (c) OpenJS Foundation and other contributors | jquery.org/license */
2
- "undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],i=1;i<=3;i++){if(+o[i]<+n[i])return 1;if(+n[i]<+o[i])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.3.3-pre",n.console&&n.console.log&&(s&&e("3.0.0")||n.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var r={};function u(e){var t=n.console;s.migrateDeduplicateWarnings&&r[e]||(r[e]=!0,s.migrateWarnings.push(e),t&&t.warn&&!s.migrateMute&&(t.warn("JQMIGRATE: "+e),s.migrateTrace&&t.trace&&t.trace()))}function t(e,t,r,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n),r},set:function(e){u(n),r=e}})}function o(e,t,r,n){e[t]=function(){return u(n),r.apply(this,arguments)}}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){r={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("jQuery is not compatible with Quirks Mode");var i,a,c,d={},l=s.fn.init,p=s.find,f=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,y=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,m=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;for(i in s.fn.init=function(e){var t=Array.prototype.slice.call(arguments);return"string"==typeof e&&"#"===e&&(u("jQuery( '#' ) is not a valid selector"),t[0]=[]),l.apply(this,t)},s.fn.init.prototype=s.fn,s.find=function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&f.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(y,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("Attribute selector with '#' was not fixed: "+r[0])}}return p.apply(this,r)},p)Object.prototype.hasOwnProperty.call(p,i)&&(s.find[i]=p[i]);o(s.fn,"size",function(){return this.length},"jQuery.fn.size() is deprecated and removed; use the .length property"),o(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"jQuery.parseJSON is deprecated; use JSON.parse"),o(s,"holdReady",s.holdReady,"jQuery.holdReady is deprecated"),o(s,"unique",s.uniqueSort,"jQuery.unique is deprecated; use jQuery.uniqueSort"),t(s.expr,"filters",s.expr.pseudos,"jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),t(s.expr,":",s.expr.pseudos,"jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&o(s,"trim",function(e){return null==e?"":(e+"").replace(m,"")},"jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(o(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"jQuery.nodeName is deprecated"),o(s,"isArray",Array.isArray,"jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(o(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){d["[object "+t+"]"]=t.toLowerCase()}),o(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[Object.prototype.toString.call(e)]||"object":typeof e},"jQuery.type is deprecated"),o(s,"isFunction",function(e){return"function"==typeof e},"jQuery.isFunction() is deprecated"),o(s,"isWindow",function(e){return null!=e&&e===e.window},"jQuery.isWindow() is deprecated")),s.ajax&&(a=s.ajax,c=/(=)\?(?=&|$)|\?\?/,s.ajax=function(){var e=a.apply(this,arguments);return e.promise&&(o(e,"success",e.done,"jQXHR.success is deprecated and removed"),o(e,"error",e.fail,"jQXHR.error is deprecated and removed"),o(e,"complete",e.always,"jQXHR.complete is deprecated and removed")),e},e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(c.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&c.test(e.data))&&u("JSON-to-JSONP auto-promotion is deprecated")}));var g=s.fn.removeAttr,h=s.fn.toggleClass,v=/\S+/g;function j(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}s.fn.removeAttr=function(e){var r=this;return s.each(e.match(v),function(e,t){s.expr.match.bool.test(t)&&(u("jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),g.apply(this,arguments)};var Q,b=!(s.fn.toggleClass=function(t){return void 0!==t&&"boolean"!=typeof t?h.apply(this,arguments):(u("jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))}),w=/^[a-z]/,x=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return b=!0,e=r.apply(this,arguments),b=!1,e})}),s.swap=function(e,t,r,n){var o,i,a={};for(i in b||u("jQuery.swap() is undocumented and deprecated"),t)a[i]=e.style[i],e.style[i]=t[i];for(i in o=r.apply(e,n||[]),t)e.style[i]=a[i];return o},e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("JQMIGRATE: jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),s.cssNumber||(s.cssNumber={}),Q=s.fn.css,s.fn.css=function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=j(e),n=r,w.test(n)&&x.test(n[0].toUpperCase()+n.slice(1))||s.cssNumber[r]||u('Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))};var A,k,S,M,N=s.data;s.data=function(e,t,r){var n,o,i;if(t&&"object"==typeof t&&2===arguments.length){for(i in n=s.hasData(e)&&N.call(this,e),o={},t)i!==j(i)?(u("jQuery.data() always sets/gets camelCased names: "+i),n[i]=t[i]):o[i]=t[i];return N.call(this,e,o),t}return t&&"string"==typeof t&&t!==j(t)&&(n=s.hasData(e)&&N.call(this,e))&&t in n?(u("jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):N.apply(this,arguments)},s.fx&&(S=s.Tween.prototype.run,M=function(e){return e},s.Tween.prototype.run=function(){1<s.easing[this.easing].length&&(u("'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=M),S.apply(this,arguments)},A=s.fx.interval||13,k="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u(k),A},set:function(e){u(k),A=e}}));var R=s.fn.load,H=s.event.add,C=s.event.fix;s.event.props=[],s.event.fixHooks={},t(s.event.props,"concat",s.event.props.concat,"jQuery.event.props.concat() is deprecated and removed"),s.event.fix=function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=C.call(this,e),n&&n.filter?n.filter(t,e):t},s.event.add=function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("jQuery(window).on('load'...) called after load event occurred"),H.apply(this,arguments)},s.each(["load","unload","error"],function(e,t){s.fn[t]=function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?R.apply(this,e):(u("jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))}}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){s.fn[r]=function(e,t){return u("jQuery.fn."+r+"() event shorthand is deprecated"),0<arguments.length?this.on(r,null,e,t):this.trigger(r)}}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("'ready' event is deprecated")}},s.fn.extend({bind:function(e,t,r){return u("jQuery.fn.bind() is deprecated"),this.on(e,null,t,r)},unbind:function(e,t){return u("jQuery.fn.unbind() is deprecated"),this.off(e,null,t)},delegate:function(e,t,r,n){return u("jQuery.fn.delegate() is deprecated"),this.on(t,e,r,n)},undelegate:function(e,t,r){return u("jQuery.fn.undelegate() is deprecated"),1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},hover:function(e,t){return u("jQuery.fn.hover() is deprecated"),this.on("mouseenter",e).on("mouseleave",t||e)}});function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}function P(e){var t=e.replace(O,"<$1></$2>");t!==e&&T(e)!==T(t)&&u("HTML tags must be properly nested and closed: "+e)}var O=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,q=s.htmlPrefilter;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.htmlPrefilter=function(e){return P(e),e.replace(O,"<$1></$2>")}},s.htmlPrefilter=function(e){return P(e),q(e)};var D,_=s.fn.offset;s.fn.offset=function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?_.apply(this,arguments):(u("jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},s.ajax&&(D=s.param,s.param=function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)});var E,F,J=s.fn.andSelf||s.fn.addBack;return s.fn.andSelf=function(){return u("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),J.apply(this,arguments)},s.Deferred&&(E=s.Deferred,F=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],s.Deferred=function(e){var i=E(),a=i.promise();return i.pipe=a.pipe=function(){var o=arguments;return u("deferred.pipe() is deprecated"),s.Deferred(function(n){s.each(F,function(e,t){var r="function"==typeof o[e]&&o[e];i[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===a?n.promise():this,r?[e]:arguments)})}),o=null}).promise()},e&&e.call(i,i),i},s.Deferred.exceptionHook=E.exceptionHook),s});
3
- //# sourceMappingURL=jquery-migrate.min.map