wallaby 5.0.1 → 5.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -3
- data/app/assets/images/wallaby/404.png +0 -0
- data/app/assets/images/wallaby/422.png +0 -0
- data/app/assets/images/wallaby/500.png +0 -0
- data/app/assets/javascripts/wallaby/application.js +1 -15
- data/app/assets/javascripts/wallaby/auto_select.js +77 -0
- data/app/assets/javascripts/wallaby/base.js +17 -0
- data/app/assets/javascripts/wallaby/setup.js.erb +60 -0
- data/app/assets/stylesheets/wallaby/application.scss +1 -51
- data/app/assets/stylesheets/wallaby/base/_layout.scss +257 -9
- data/app/assets/stylesheets/wallaby/base/_layout_desktop.scss +53 -0
- data/app/assets/stylesheets/wallaby/base/_mixins.scss +119 -0
- data/app/assets/stylesheets/wallaby/base/_override.scss +10 -0
- data/app/assets/stylesheets/wallaby/base/_vars.scss +72 -2
- data/app/assets/stylesheets/wallaby/base.scss +27 -0
- data/app/assets/stylesheets/wallaby/components/_auto_select.scss +119 -0
- data/app/assets/stylesheets/wallaby/components/_auto_select_desktop.scss +7 -0
- data/app/assets/stylesheets/wallaby/components/_color_square.scss +8 -0
- data/app/assets/stylesheets/wallaby/components/_filters.scss +14 -0
- data/app/assets/stylesheets/wallaby/components/_links.scss +25 -0
- data/app/assets/stylesheets/wallaby/components/_pagination.scss +35 -91
- data/app/assets/stylesheets/wallaby/components/_query.scss +101 -0
- data/app/assets/stylesheets/wallaby/components/_text.scss +6 -6
- data/app/assets/stylesheets/wallaby/pages/_error.scss +108 -0
- data/app/assets/stylesheets/wallaby/pages/_form.scss +40 -0
- data/app/assets/stylesheets/wallaby/pages/_index.scss +193 -0
- data/app/assets/stylesheets/wallaby/pages/_index_desktop.scss +22 -0
- data/app/assets/stylesheets/wallaby/pages/_show.scss +21 -0
- data/app/controllers/wallaby/abstract_resources_controller.rb +334 -0
- data/app/controllers/wallaby/application_controller.rb +45 -15
- data/app/controllers/wallaby/base_controller.rb +30 -0
- data/app/controllers/wallaby/resources_controller.rb +2 -131
- data/app/controllers/wallaby/secure_controller.rb +38 -24
- data/app/routes/wallaby/resources_router.rb +40 -43
- data/app/security/ability.rb +4 -28
- data/app/views/layouts/wallaby/application.html.erb +11 -6
- data/app/views/layouts/wallaby/error.html.erb +26 -4
- data/app/views/wallaby/error.html.erb +11 -0
- data/app/views/wallaby/error.json.jbuilder +8 -0
- data/app/views/wallaby/{shared → resources}/_flash_messages.html.erb +0 -0
- data/app/views/wallaby/resources/_footer.html.erb +1 -0
- data/app/views/wallaby/resources/_form.html.erb +2 -2
- data/app/views/wallaby/resources/_header.html.erb +38 -0
- data/app/views/wallaby/resources/_imodal.html.erb +13 -0
- data/app/views/wallaby/resources/_index_actions.html.erb +4 -1
- data/app/views/wallaby/resources/_index_filters.html.erb +23 -0
- data/app/views/wallaby/resources/_index_pagination.html.erb +63 -0
- data/app/views/wallaby/resources/_index_query.html.erb +23 -0
- data/app/views/wallaby/resources/_logo.html.erb +1 -0
- data/app/views/wallaby/resources/_navs.html.erb +9 -0
- data/app/views/wallaby/resources/_resource_actions.html.erb +3 -3
- data/app/views/wallaby/resources/{shared/_resource_nav.html.erb → _resource_navs.html.erb} +6 -6
- data/app/views/wallaby/resources/_title.html.erb +1 -0
- data/app/views/wallaby/resources/_user_menu.html.erb +5 -0
- data/app/views/wallaby/resources/bad_request.json.jbuilder +7 -0
- data/app/views/wallaby/resources/edit.html.erb +16 -12
- data/app/views/wallaby/resources/form/_belongs_to.html.erb +63 -12
- data/app/views/wallaby/resources/form/_bigint.html.erb +10 -1
- data/app/views/wallaby/resources/form/_bigserial.html.erb +18 -0
- data/app/views/wallaby/resources/form/_binary.html.erb +11 -2
- data/app/views/wallaby/resources/form/_bit.html.erb +10 -1
- data/app/views/wallaby/resources/form/_bit_varying.html.erb +10 -1
- data/app/views/wallaby/resources/form/_blob.html.erb +21 -0
- data/app/views/wallaby/resources/form/_boolean.html.erb +9 -0
- data/app/views/wallaby/resources/form/_box.html.erb +21 -0
- data/app/views/wallaby/resources/form/_cidr.html.erb +13 -1
- data/app/views/wallaby/resources/form/_circle.html.erb +21 -0
- data/app/views/wallaby/resources/form/_citext.html.erb +11 -2
- data/app/views/wallaby/resources/form/_color.html.erb +11 -2
- data/app/views/wallaby/resources/form/_date.html.erb +12 -3
- data/app/views/wallaby/resources/form/_daterange.html.erb +14 -5
- data/app/views/wallaby/resources/form/_datetime.html.erb +12 -3
- data/app/views/wallaby/resources/form/_decimal.html.erb +10 -1
- data/app/views/wallaby/resources/form/_dropdown.html.erb +18 -0
- data/app/views/wallaby/resources/form/_email.html.erb +9 -0
- data/app/views/wallaby/resources/form/_file.html.erb +21 -0
- data/app/views/wallaby/resources/form/_float.html.erb +10 -1
- data/app/views/wallaby/resources/form/_has_and_belongs_to_many.html.erb +53 -7
- data/app/views/wallaby/resources/form/_has_many.html.erb +52 -7
- data/app/views/wallaby/resources/form/_has_one.html.erb +10 -2
- data/app/views/wallaby/resources/form/_hstore.html.erb +12 -5
- data/app/views/wallaby/resources/form/_inet.html.erb +13 -1
- data/app/views/wallaby/resources/form/_int4range.html.erb +11 -2
- data/app/views/wallaby/resources/form/_int8range.html.erb +11 -2
- data/app/views/wallaby/resources/form/_integer.html.erb +10 -1
- data/app/views/wallaby/resources/form/_json.html.erb +13 -6
- data/app/views/wallaby/resources/form/_jsonb.html.erb +13 -6
- data/app/views/wallaby/resources/form/_line.html.erb +21 -0
- data/app/views/wallaby/resources/form/_longblob.html.erb +21 -0
- data/app/views/wallaby/resources/form/_longtext.html.erb +30 -0
- data/app/views/wallaby/resources/form/_lseg.html.erb +21 -0
- data/app/views/wallaby/resources/form/_ltree.html.erb +17 -1
- data/app/views/wallaby/resources/form/_macaddr.html.erb +13 -1
- data/app/views/wallaby/resources/form/_markdown.html.erb +29 -0
- data/app/views/wallaby/resources/form/_mediumblob.html.erb +21 -0
- data/app/views/wallaby/resources/form/_mediumtext.html.erb +30 -0
- data/app/views/wallaby/resources/form/_money.html.erb +10 -1
- data/app/views/wallaby/resources/form/_numrange.html.erb +11 -2
- data/app/views/wallaby/resources/form/_password.html.erb +14 -1
- data/app/views/wallaby/resources/form/_path.html.erb +17 -0
- data/app/views/wallaby/resources/form/_point.html.erb +11 -2
- data/app/views/wallaby/resources/form/_polygon.html.erb +17 -0
- data/app/views/wallaby/resources/form/_serial.html.erb +18 -0
- data/app/views/wallaby/resources/form/_sti.html.erb +18 -0
- data/app/views/wallaby/resources/form/_string.html.erb +14 -1
- data/app/views/wallaby/resources/form/_text.html.erb +11 -2
- data/app/views/wallaby/resources/form/_time.html.erb +12 -3
- data/app/views/wallaby/resources/form/_tinyblob.html.erb +21 -0
- data/app/views/wallaby/resources/form/_tinytext.html.erb +30 -0
- data/app/views/wallaby/resources/form/_tsrange.html.erb +14 -5
- data/app/views/wallaby/resources/form/_tstzrange.html.erb +14 -5
- data/app/views/wallaby/resources/form/_tsvector.html.erb +9 -0
- data/app/views/wallaby/resources/form/_unsigned_bigint.html.erb +18 -0
- data/app/views/wallaby/resources/form/_unsigned_decimal.html.erb +18 -0
- data/app/views/wallaby/resources/form/_unsigned_float.html.erb +18 -0
- data/app/views/wallaby/resources/form/_unsigned_integer.html.erb +18 -0
- data/app/views/wallaby/resources/form/_uuid.html.erb +10 -1
- data/app/views/wallaby/resources/form/_xml.html.erb +11 -5
- data/app/views/wallaby/resources/form.json.jbuilder +5 -0
- data/app/views/wallaby/{core → resources}/home.html.erb +1 -1
- data/app/views/wallaby/resources/index/_belongs_to.html.erb +5 -1
- data/app/views/wallaby/resources/index/_bigint.html.erb +4 -0
- data/app/views/wallaby/resources/index/_bigserial.html.erb +5 -0
- data/app/views/wallaby/resources/index/_binary.html.erb +5 -1
- data/app/views/wallaby/resources/index/_bit.html.erb +4 -0
- data/app/views/wallaby/resources/index/_bit_varying.html.erb +4 -0
- data/app/views/wallaby/resources/index/_blob.html.erb +5 -0
- data/app/views/wallaby/resources/index/_boolean.html.erb +5 -1
- data/app/views/wallaby/resources/index/_box.html.erb +16 -0
- data/app/views/wallaby/resources/index/_cidr.html.erb +5 -1
- data/app/views/wallaby/resources/index/_circle.html.erb +16 -0
- data/app/views/wallaby/resources/index/_citext.html.erb +5 -1
- data/app/views/wallaby/resources/index/_color.html.erb +6 -1
- data/app/views/wallaby/resources/index/_date.html.erb +4 -0
- data/app/views/wallaby/resources/index/_daterange.html.erb +5 -1
- data/app/views/wallaby/resources/index/_datetime.html.erb +5 -1
- data/app/views/wallaby/resources/index/_decimal.html.erb +4 -0
- data/app/views/wallaby/resources/index/_email.html.erb +4 -0
- data/app/views/wallaby/resources/index/_float.html.erb +4 -0
- data/app/views/wallaby/resources/index/_has_and_belongs_to_many.html.erb +6 -2
- data/app/views/wallaby/resources/index/_has_many.html.erb +6 -2
- data/app/views/wallaby/resources/index/_has_one.html.erb +5 -1
- data/app/views/wallaby/resources/index/_hstore.html.erb +6 -2
- data/app/views/wallaby/resources/index/_inet.html.erb +5 -1
- data/app/views/wallaby/resources/index/_int4range.html.erb +4 -0
- data/app/views/wallaby/resources/index/_int8range.html.erb +4 -0
- data/app/views/wallaby/resources/index/_integer.html.erb +4 -0
- data/app/views/wallaby/resources/index/_json.html.erb +5 -2
- data/app/views/wallaby/resources/index/_jsonb.html.erb +5 -2
- data/app/views/wallaby/resources/index/_line.html.erb +16 -0
- data/app/views/wallaby/resources/index/_longblob.html.erb +5 -0
- data/app/views/wallaby/resources/index/_longtext.html.erb +16 -0
- data/app/views/wallaby/resources/index/_lseg.html.erb +16 -0
- data/app/views/wallaby/resources/index/_ltree.html.erb +5 -1
- data/app/views/wallaby/resources/index/_macaddr.html.erb +4 -0
- data/app/views/wallaby/resources/index/_mediumblob.html.erb +5 -0
- data/app/views/wallaby/resources/index/_mediumtext.html.erb +16 -0
- data/app/views/wallaby/resources/index/_money.html.erb +4 -0
- data/app/views/wallaby/resources/index/_numrange.html.erb +4 -0
- data/app/views/wallaby/resources/index/_password.html.erb +9 -0
- data/app/views/wallaby/resources/index/_path.html.erb +16 -0
- data/app/views/wallaby/resources/index/_point.html.erb +4 -0
- data/app/views/wallaby/resources/index/_polygon.html.erb +16 -0
- data/app/views/wallaby/resources/index/_raw.html.erb +9 -0
- data/app/views/wallaby/resources/index/_serial.html.erb +5 -0
- data/app/views/wallaby/resources/index/_sti.html.erb +16 -0
- data/app/views/wallaby/resources/index/_string.html.erb +5 -1
- data/app/views/wallaby/resources/index/_text.html.erb +5 -1
- data/app/views/wallaby/resources/index/_time.html.erb +4 -0
- data/app/views/wallaby/resources/index/_tinyblob.html.erb +5 -0
- data/app/views/wallaby/resources/index/_tinytext.html.erb +16 -0
- data/app/views/wallaby/resources/index/_tsrange.html.erb +5 -1
- data/app/views/wallaby/resources/index/_tstzrange.html.erb +5 -1
- data/app/views/wallaby/resources/index/_tsvector.html.erb +5 -1
- data/app/views/wallaby/resources/index/_unsigned_bigint.html.erb +5 -0
- data/app/views/wallaby/resources/index/_unsigned_decimal.html.erb +5 -0
- data/app/views/wallaby/resources/index/_unsigned_float.html.erb +5 -0
- data/app/views/wallaby/resources/index/_unsigned_integer.html.erb +5 -0
- data/app/views/wallaby/resources/index/_uuid.html.erb +5 -1
- data/app/views/wallaby/resources/index/_xml.html.erb +5 -1
- data/app/views/wallaby/resources/index.csv.erb +26 -0
- data/app/views/wallaby/resources/index.html.erb +47 -59
- data/app/views/wallaby/resources/index.json.jbuilder +5 -0
- data/app/views/wallaby/resources/new.html.erb +12 -11
- data/app/views/wallaby/resources/show/_belongs_to.html.erb +5 -1
- data/app/views/wallaby/resources/show/_bigint.html.erb +4 -0
- data/app/views/wallaby/resources/show/_bigserial.html.erb +5 -0
- data/app/views/wallaby/resources/show/_binary.html.erb +5 -1
- data/app/views/wallaby/resources/show/_bit.html.erb +4 -0
- data/app/views/wallaby/resources/show/_bit_varying.html.erb +4 -0
- data/app/views/wallaby/resources/show/_blob.html.erb +5 -0
- data/app/views/wallaby/resources/show/_boolean.html.erb +5 -1
- data/app/views/wallaby/resources/show/_box.html.erb +9 -0
- data/app/views/wallaby/resources/show/_cidr.html.erb +5 -1
- data/app/views/wallaby/resources/show/_circle.html.erb +9 -0
- data/app/views/wallaby/resources/show/_citext.html.erb +4 -0
- data/app/views/wallaby/resources/show/_color.html.erb +6 -1
- data/app/views/wallaby/resources/show/_date.html.erb +4 -0
- data/app/views/wallaby/resources/show/_daterange.html.erb +4 -0
- data/app/views/wallaby/resources/show/_datetime.html.erb +4 -0
- data/app/views/wallaby/resources/show/_decimal.html.erb +4 -0
- data/app/views/wallaby/resources/show/_email.html.erb +4 -0
- data/app/views/wallaby/resources/show/_float.html.erb +4 -0
- data/app/views/wallaby/resources/show/_has_and_belongs_to_many.html.erb +6 -2
- data/app/views/wallaby/resources/show/_has_many.html.erb +6 -2
- data/app/views/wallaby/resources/show/_has_one.html.erb +5 -1
- data/app/views/wallaby/resources/show/_hstore.html.erb +4 -0
- data/app/views/wallaby/resources/show/_image.html.erb +9 -0
- data/app/views/wallaby/resources/show/_inet.html.erb +5 -1
- data/app/views/wallaby/resources/show/_int4range.html.erb +4 -0
- data/app/views/wallaby/resources/show/_int8range.html.erb +4 -0
- data/app/views/wallaby/resources/show/_integer.html.erb +4 -0
- data/app/views/wallaby/resources/show/_json.html.erb +4 -0
- data/app/views/wallaby/resources/show/_jsonb.html.erb +4 -0
- data/app/views/wallaby/resources/show/_line.html.erb +9 -0
- data/app/views/wallaby/resources/show/_longblob.html.erb +5 -0
- data/app/views/wallaby/resources/show/_longtext.html.erb +5 -0
- data/app/views/wallaby/resources/show/_lseg.html.erb +9 -0
- data/app/views/wallaby/resources/show/_ltree.html.erb +4 -0
- data/app/views/wallaby/resources/show/_macaddr.html.erb +4 -0
- data/app/views/wallaby/resources/show/_mediumblob.html.erb +5 -0
- data/app/views/wallaby/resources/show/_mediumtext.html.erb +5 -0
- data/app/views/wallaby/resources/show/_money.html.erb +4 -0
- data/app/views/wallaby/resources/show/_numrange.html.erb +4 -0
- data/app/views/wallaby/resources/show/_password.html.erb +9 -0
- data/app/views/wallaby/resources/show/_path.html.erb +9 -0
- data/app/views/wallaby/resources/show/_point.html.erb +4 -0
- data/app/views/wallaby/resources/show/_polygon.html.erb +9 -0
- data/app/views/wallaby/resources/show/_raw.html.erb +9 -0
- data/app/views/wallaby/resources/show/_serial.html.erb +5 -0
- data/app/views/wallaby/resources/show/_sti.html.erb +5 -0
- data/app/views/wallaby/resources/show/_string.html.erb +4 -0
- data/app/views/wallaby/resources/show/_text.html.erb +4 -0
- data/app/views/wallaby/resources/show/_time.html.erb +4 -0
- data/app/views/wallaby/resources/show/_tinyblob.html.erb +5 -0
- data/app/views/wallaby/resources/show/_tinytext.html.erb +5 -0
- data/app/views/wallaby/resources/show/_tsrange.html.erb +4 -0
- data/app/views/wallaby/resources/show/_tstzrange.html.erb +4 -0
- data/app/views/wallaby/resources/show/_tsvector.html.erb +4 -0
- data/app/views/wallaby/resources/show/_unsigned_bigint.html.erb +5 -0
- data/app/views/wallaby/resources/show/_unsigned_decimal.html.erb +5 -0
- data/app/views/wallaby/resources/show/_unsigned_float.html.erb +5 -0
- data/app/views/wallaby/resources/show/_unsigned_integer.html.erb +5 -0
- data/app/views/wallaby/resources/show/_uuid.html.erb +4 -0
- data/app/views/wallaby/resources/show/_xml.html.erb +4 -0
- data/app/views/wallaby/resources/show.html.erb +14 -24
- data/app/views/wallaby/resources/show.json.jbuilder +5 -0
- data/config/brakeman.ignore +26 -0
- data/config/locales/wallaby.en.yml +91 -0
- data/config/massa.yml +45 -0
- data/config/rails_best_practices.yml +42 -0
- data/config/routes.rb +29 -23
- data/lib/adaptors/wallaby/active_record/model_decorator/fields_builder/association_builder.rb +39 -0
- data/lib/adaptors/wallaby/active_record/model_decorator/fields_builder/polymorphic_builder.rb +44 -0
- data/lib/adaptors/wallaby/active_record/model_decorator/fields_builder/sti_builder.rb +42 -0
- data/lib/adaptors/wallaby/active_record/model_decorator/fields_builder.rb +41 -94
- data/lib/adaptors/wallaby/active_record/model_decorator/title_field_finder.rb +24 -14
- data/lib/adaptors/wallaby/active_record/model_decorator.rb +118 -64
- data/lib/adaptors/wallaby/active_record/model_finder.rb +44 -15
- data/lib/adaptors/wallaby/active_record/model_pagination_provider.rb +30 -0
- data/lib/adaptors/wallaby/active_record/model_service_provider/normalizer.rb +42 -0
- data/lib/adaptors/wallaby/active_record/model_service_provider/permitter.rb +64 -0
- data/lib/adaptors/wallaby/active_record/model_service_provider/querier/transformer.rb +70 -0
- data/lib/adaptors/wallaby/active_record/model_service_provider/querier.rb +102 -0
- data/lib/adaptors/wallaby/active_record/model_service_provider/validator.rb +29 -0
- data/lib/adaptors/wallaby/active_record/model_service_provider.rb +137 -0
- data/lib/adaptors/wallaby/active_record.rb +4 -1
- data/lib/decorators/wallaby/abstract_resource_decorator.rb +74 -0
- data/lib/decorators/wallaby/resource_decorator.rb +5 -76
- data/lib/errors/wallaby/model_not_found.rb +5 -1
- data/lib/errors/wallaby/not_found.rb +4 -0
- data/lib/errors/wallaby/resource_not_found.rb +5 -1
- data/lib/forms/wallaby/form_builder.rb +42 -19
- data/lib/helpers/wallaby/application_helper.rb +34 -24
- data/lib/helpers/wallaby/base_helper.rb +52 -0
- data/lib/helpers/wallaby/form_helper.rb +40 -16
- data/lib/helpers/wallaby/index_helper.rb +59 -0
- data/lib/helpers/wallaby/links_helper.rb +150 -81
- data/lib/helpers/wallaby/resources_helper.rb +41 -46
- data/lib/helpers/wallaby/secure_helper.rb +36 -19
- data/lib/helpers/wallaby/styling_helper.rb +53 -44
- data/lib/interfaces/wallaby/mode.rb +19 -12
- data/lib/interfaces/wallaby/model_decorator.rb +176 -50
- data/lib/interfaces/wallaby/model_finder.rb +7 -3
- data/lib/interfaces/wallaby/model_pagination_provider.rb +104 -0
- data/lib/interfaces/wallaby/model_service_provider.rb +71 -0
- data/lib/paginators/wallaby/abstract_resource_paginator.rb +23 -0
- data/lib/paginators/wallaby/resource_paginator.rb +6 -0
- data/lib/parsers/wallaby/parser.rb +32 -0
- data/lib/responders/wallaby/abstract_responder.rb +68 -0
- data/lib/responders/wallaby/resources_responder.rb +6 -0
- data/lib/servicers/wallaby/abstract_model_servicer.rb +48 -0
- data/lib/servicers/wallaby/model_servicer.rb +5 -0
- data/lib/services/wallaby/link_options_normalizer.rb +16 -0
- data/lib/services/wallaby/lookup_context_wrapper.rb +23 -30
- data/lib/services/wallaby/map/mode_mapper.rb +19 -0
- data/lib/services/wallaby/map/model_class_collector.rb +41 -0
- data/lib/services/wallaby/map/model_class_mapper.rb +24 -0
- data/lib/services/wallaby/map.rb +76 -39
- data/lib/services/wallaby/partial_renderer.rb +60 -0
- data/lib/services/wallaby/prefixes_builder.rb +54 -0
- data/lib/services/wallaby/sorting/hash_builder.rb +16 -0
- data/lib/services/wallaby/sorting/link_builder.rb +45 -0
- data/lib/services/wallaby/sorting/next_builder.rb +54 -0
- data/lib/services/wallaby/url_for.rb +36 -0
- data/lib/tree/wallaby/node.rb +17 -0
- data/lib/utils/wallaby/utils.rb +67 -22
- data/lib/wallaby/configuration/features.rb +12 -0
- data/lib/wallaby/configuration/metadata.rb +12 -0
- data/lib/wallaby/configuration/models.rb +27 -12
- data/lib/wallaby/configuration/pagination.rb +12 -0
- data/lib/wallaby/configuration/security.rb +55 -24
- data/lib/wallaby/configuration.rb +38 -19
- data/lib/wallaby/engine.rb +84 -39
- data/lib/wallaby/version.rb +1 -1
- data/lib/wallaby.rb +22 -3
- metadata +200 -55
- data/app/assets/javascripts/wallaby/form.js +0 -8
- data/app/assets/stylesheets/wallaby/base/_functions.scss +0 -0
- data/app/assets/stylesheets/wallaby/base/_normalize.scss +0 -0
- data/app/assets/stylesheets/wallaby/base/_reset.scss +0 -0
- data/app/assets/stylesheets/wallaby/components/_forms.scss +0 -53
- data/app/assets/stylesheets/wallaby/components/_nav.scss +0 -19
- data/app/assets/stylesheets/wallaby/components/_tables.scss +0 -78
- data/app/assets/stylesheets/wallaby/form.scss +0 -11
- data/app/controllers/wallaby/core_controller.rb +0 -28
- data/app/views/layouts/wallaby/_footer.html.erb +0 -2
- data/app/views/layouts/wallaby/_header.html.erb +0 -57
- data/app/views/layouts/wallaby/_navs.html.erb +0 -1
- data/app/views/wallaby/errors/access_denied.html.erb +0 -1
- data/app/views/wallaby/errors/not_authenticated.html.erb +0 -1
- data/app/views/wallaby/errors/not_found.html.erb +0 -6
- data/app/views/wallaby/errors/unprocessable_entity.erb +0 -1
- data/config/locales/en.yml +0 -29
- data/lib/adaptors/wallaby/active_record/model_operator/normalizer.rb +0 -44
- data/lib/adaptors/wallaby/active_record/model_operator/permitter.rb +0 -50
- data/lib/adaptors/wallaby/active_record/model_operator/querier.rb +0 -47
- data/lib/adaptors/wallaby/active_record/model_operator/validator.rb +0 -16
- data/lib/adaptors/wallaby/active_record/model_operator.rb +0 -82
- data/lib/errors/wallaby/deprecated.rb +0 -4
- data/lib/errors/wallaby/operation_not_found.rb +0 -4
- data/lib/handlers/wallaby/cached_compiled_erb.rb +0 -14
- data/lib/helpers/wallaby/core_helper.rb +0 -50
- data/lib/helpers/wallaby/paginatable_helper.rb +0 -9
- data/lib/helpers/wallaby/sorting_helper.rb +0 -43
- data/lib/interfaces/wallaby/model_operator.rb +0 -31
- data/lib/services/wallaby/decorator_finder.rb +0 -16
- data/lib/services/wallaby/model_servicer.rb +0 -38
- data/lib/services/wallaby/servicer_finder.rb +0 -5
metadata
CHANGED
@@ -1,45 +1,45 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wallaby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tianwen Chen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: bootstrap-sass
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: bootstrap3-datetimepicker-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: cancancan
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: codemirror-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: font-awesome-sass
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: jbuilder
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -95,7 +95,7 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: jquery-minicolors-rails
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: jquery-rails
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
@@ -123,7 +123,7 @@ dependencies:
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: kaminari
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - ">="
|
@@ -137,7 +137,7 @@ dependencies:
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: momentjs-rails
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - ">="
|
@@ -151,7 +151,7 @@ dependencies:
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
154
|
+
name: parslet
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
@@ -165,7 +165,21 @@ dependencies:
|
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
168
|
+
name: rails
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '5.0'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '5.0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: responders
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
170
184
|
requirements:
|
171
185
|
- - ">="
|
@@ -179,7 +193,7 @@ dependencies:
|
|
179
193
|
- !ruby/object:Gem::Version
|
180
194
|
version: '0'
|
181
195
|
- !ruby/object:Gem::Dependency
|
182
|
-
name: rails
|
196
|
+
name: sass-rails
|
183
197
|
requirement: !ruby/object:Gem::Requirement
|
184
198
|
requirements:
|
185
199
|
- - ">="
|
@@ -206,6 +220,20 @@ dependencies:
|
|
206
220
|
- - ">="
|
207
221
|
- !ruby/object:Gem::Version
|
208
222
|
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: twitter-typeahead-rails
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :runtime
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
209
237
|
description: Rails way database admin interface
|
210
238
|
email:
|
211
239
|
- me@tian.im
|
@@ -215,56 +243,83 @@ extra_rdoc_files: []
|
|
215
243
|
files:
|
216
244
|
- MIT-LICENSE
|
217
245
|
- Rakefile
|
246
|
+
- app/assets/images/wallaby/404.png
|
247
|
+
- app/assets/images/wallaby/422.png
|
248
|
+
- app/assets/images/wallaby/500.png
|
218
249
|
- app/assets/javascripts/wallaby/application.js
|
219
|
-
- app/assets/javascripts/wallaby/
|
250
|
+
- app/assets/javascripts/wallaby/auto_select.js
|
251
|
+
- app/assets/javascripts/wallaby/base.js
|
252
|
+
- app/assets/javascripts/wallaby/setup.js.erb
|
220
253
|
- app/assets/stylesheets/wallaby/application.scss
|
221
|
-
- app/assets/stylesheets/wallaby/base
|
254
|
+
- app/assets/stylesheets/wallaby/base.scss
|
222
255
|
- app/assets/stylesheets/wallaby/base/_layout.scss
|
256
|
+
- app/assets/stylesheets/wallaby/base/_layout_desktop.scss
|
223
257
|
- app/assets/stylesheets/wallaby/base/_mixins.scss
|
224
|
-
- app/assets/stylesheets/wallaby/base/
|
225
|
-
- app/assets/stylesheets/wallaby/base/_reset.scss
|
258
|
+
- app/assets/stylesheets/wallaby/base/_override.scss
|
226
259
|
- app/assets/stylesheets/wallaby/base/_vars.scss
|
227
|
-
- app/assets/stylesheets/wallaby/components/
|
228
|
-
- app/assets/stylesheets/wallaby/components/
|
260
|
+
- app/assets/stylesheets/wallaby/components/_auto_select.scss
|
261
|
+
- app/assets/stylesheets/wallaby/components/_auto_select_desktop.scss
|
262
|
+
- app/assets/stylesheets/wallaby/components/_color_square.scss
|
263
|
+
- app/assets/stylesheets/wallaby/components/_filters.scss
|
264
|
+
- app/assets/stylesheets/wallaby/components/_links.scss
|
229
265
|
- app/assets/stylesheets/wallaby/components/_pagination.scss
|
230
|
-
- app/assets/stylesheets/wallaby/components/
|
266
|
+
- app/assets/stylesheets/wallaby/components/_query.scss
|
231
267
|
- app/assets/stylesheets/wallaby/components/_text.scss
|
232
|
-
- app/assets/stylesheets/wallaby/
|
268
|
+
- app/assets/stylesheets/wallaby/pages/_error.scss
|
269
|
+
- app/assets/stylesheets/wallaby/pages/_form.scss
|
270
|
+
- app/assets/stylesheets/wallaby/pages/_index.scss
|
271
|
+
- app/assets/stylesheets/wallaby/pages/_index_desktop.scss
|
272
|
+
- app/assets/stylesheets/wallaby/pages/_show.scss
|
233
273
|
- app/assets/stylesheets/wallaby/summernote.scss.erb
|
274
|
+
- app/controllers/wallaby/abstract_resources_controller.rb
|
234
275
|
- app/controllers/wallaby/application_controller.rb
|
235
|
-
- app/controllers/wallaby/
|
276
|
+
- app/controllers/wallaby/base_controller.rb
|
236
277
|
- app/controllers/wallaby/resources_controller.rb
|
237
278
|
- app/controllers/wallaby/secure_controller.rb
|
238
279
|
- app/routes/wallaby/resources_router.rb
|
239
280
|
- app/security/ability.rb
|
240
|
-
- app/views/layouts/wallaby/_footer.html.erb
|
241
|
-
- app/views/layouts/wallaby/_header.html.erb
|
242
|
-
- app/views/layouts/wallaby/_navs.html.erb
|
243
281
|
- app/views/layouts/wallaby/application.html.erb
|
244
282
|
- app/views/layouts/wallaby/error.html.erb
|
245
|
-
- app/views/wallaby/
|
246
|
-
- app/views/wallaby/
|
247
|
-
- app/views/wallaby/
|
248
|
-
- app/views/wallaby/
|
249
|
-
- app/views/wallaby/errors/unprocessable_entity.erb
|
283
|
+
- app/views/wallaby/error.html.erb
|
284
|
+
- app/views/wallaby/error.json.jbuilder
|
285
|
+
- app/views/wallaby/resources/_flash_messages.html.erb
|
286
|
+
- app/views/wallaby/resources/_footer.html.erb
|
250
287
|
- app/views/wallaby/resources/_form.html.erb
|
288
|
+
- app/views/wallaby/resources/_header.html.erb
|
289
|
+
- app/views/wallaby/resources/_imodal.html.erb
|
251
290
|
- app/views/wallaby/resources/_index_actions.html.erb
|
291
|
+
- app/views/wallaby/resources/_index_filters.html.erb
|
292
|
+
- app/views/wallaby/resources/_index_pagination.html.erb
|
293
|
+
- app/views/wallaby/resources/_index_query.html.erb
|
294
|
+
- app/views/wallaby/resources/_logo.html.erb
|
295
|
+
- app/views/wallaby/resources/_navs.html.erb
|
252
296
|
- app/views/wallaby/resources/_resource_actions.html.erb
|
297
|
+
- app/views/wallaby/resources/_resource_navs.html.erb
|
298
|
+
- app/views/wallaby/resources/_title.html.erb
|
299
|
+
- app/views/wallaby/resources/_user_menu.html.erb
|
300
|
+
- app/views/wallaby/resources/bad_request.json.jbuilder
|
253
301
|
- app/views/wallaby/resources/edit.html.erb
|
302
|
+
- app/views/wallaby/resources/form.json.jbuilder
|
254
303
|
- app/views/wallaby/resources/form/_belongs_to.html.erb
|
255
304
|
- app/views/wallaby/resources/form/_bigint.html.erb
|
305
|
+
- app/views/wallaby/resources/form/_bigserial.html.erb
|
256
306
|
- app/views/wallaby/resources/form/_binary.html.erb
|
257
307
|
- app/views/wallaby/resources/form/_bit.html.erb
|
258
308
|
- app/views/wallaby/resources/form/_bit_varying.html.erb
|
309
|
+
- app/views/wallaby/resources/form/_blob.html.erb
|
259
310
|
- app/views/wallaby/resources/form/_boolean.html.erb
|
311
|
+
- app/views/wallaby/resources/form/_box.html.erb
|
260
312
|
- app/views/wallaby/resources/form/_cidr.html.erb
|
313
|
+
- app/views/wallaby/resources/form/_circle.html.erb
|
261
314
|
- app/views/wallaby/resources/form/_citext.html.erb
|
262
315
|
- app/views/wallaby/resources/form/_color.html.erb
|
263
316
|
- app/views/wallaby/resources/form/_date.html.erb
|
264
317
|
- app/views/wallaby/resources/form/_daterange.html.erb
|
265
318
|
- app/views/wallaby/resources/form/_datetime.html.erb
|
266
319
|
- app/views/wallaby/resources/form/_decimal.html.erb
|
320
|
+
- app/views/wallaby/resources/form/_dropdown.html.erb
|
267
321
|
- app/views/wallaby/resources/form/_email.html.erb
|
322
|
+
- app/views/wallaby/resources/form/_file.html.erb
|
268
323
|
- app/views/wallaby/resources/form/_float.html.erb
|
269
324
|
- app/views/wallaby/resources/form/_has_and_belongs_to_many.html.erb
|
270
325
|
- app/views/wallaby/resources/form/_has_many.html.erb
|
@@ -276,28 +331,52 @@ files:
|
|
276
331
|
- app/views/wallaby/resources/form/_integer.html.erb
|
277
332
|
- app/views/wallaby/resources/form/_json.html.erb
|
278
333
|
- app/views/wallaby/resources/form/_jsonb.html.erb
|
334
|
+
- app/views/wallaby/resources/form/_line.html.erb
|
335
|
+
- app/views/wallaby/resources/form/_longblob.html.erb
|
336
|
+
- app/views/wallaby/resources/form/_longtext.html.erb
|
337
|
+
- app/views/wallaby/resources/form/_lseg.html.erb
|
279
338
|
- app/views/wallaby/resources/form/_ltree.html.erb
|
280
339
|
- app/views/wallaby/resources/form/_macaddr.html.erb
|
340
|
+
- app/views/wallaby/resources/form/_markdown.html.erb
|
341
|
+
- app/views/wallaby/resources/form/_mediumblob.html.erb
|
342
|
+
- app/views/wallaby/resources/form/_mediumtext.html.erb
|
281
343
|
- app/views/wallaby/resources/form/_money.html.erb
|
282
344
|
- app/views/wallaby/resources/form/_numrange.html.erb
|
283
345
|
- app/views/wallaby/resources/form/_password.html.erb
|
346
|
+
- app/views/wallaby/resources/form/_path.html.erb
|
284
347
|
- app/views/wallaby/resources/form/_point.html.erb
|
348
|
+
- app/views/wallaby/resources/form/_polygon.html.erb
|
349
|
+
- app/views/wallaby/resources/form/_serial.html.erb
|
350
|
+
- app/views/wallaby/resources/form/_sti.html.erb
|
285
351
|
- app/views/wallaby/resources/form/_string.html.erb
|
286
352
|
- app/views/wallaby/resources/form/_text.html.erb
|
287
353
|
- app/views/wallaby/resources/form/_time.html.erb
|
354
|
+
- app/views/wallaby/resources/form/_tinyblob.html.erb
|
355
|
+
- app/views/wallaby/resources/form/_tinytext.html.erb
|
288
356
|
- app/views/wallaby/resources/form/_tsrange.html.erb
|
289
357
|
- app/views/wallaby/resources/form/_tstzrange.html.erb
|
290
358
|
- app/views/wallaby/resources/form/_tsvector.html.erb
|
359
|
+
- app/views/wallaby/resources/form/_unsigned_bigint.html.erb
|
360
|
+
- app/views/wallaby/resources/form/_unsigned_decimal.html.erb
|
361
|
+
- app/views/wallaby/resources/form/_unsigned_float.html.erb
|
362
|
+
- app/views/wallaby/resources/form/_unsigned_integer.html.erb
|
291
363
|
- app/views/wallaby/resources/form/_uuid.html.erb
|
292
364
|
- app/views/wallaby/resources/form/_xml.html.erb
|
365
|
+
- app/views/wallaby/resources/home.html.erb
|
366
|
+
- app/views/wallaby/resources/index.csv.erb
|
293
367
|
- app/views/wallaby/resources/index.html.erb
|
368
|
+
- app/views/wallaby/resources/index.json.jbuilder
|
294
369
|
- app/views/wallaby/resources/index/_belongs_to.html.erb
|
295
370
|
- app/views/wallaby/resources/index/_bigint.html.erb
|
371
|
+
- app/views/wallaby/resources/index/_bigserial.html.erb
|
296
372
|
- app/views/wallaby/resources/index/_binary.html.erb
|
297
373
|
- app/views/wallaby/resources/index/_bit.html.erb
|
298
374
|
- app/views/wallaby/resources/index/_bit_varying.html.erb
|
375
|
+
- app/views/wallaby/resources/index/_blob.html.erb
|
299
376
|
- app/views/wallaby/resources/index/_boolean.html.erb
|
377
|
+
- app/views/wallaby/resources/index/_box.html.erb
|
300
378
|
- app/views/wallaby/resources/index/_cidr.html.erb
|
379
|
+
- app/views/wallaby/resources/index/_circle.html.erb
|
301
380
|
- app/views/wallaby/resources/index/_citext.html.erb
|
302
381
|
- app/views/wallaby/resources/index/_color.html.erb
|
303
382
|
- app/views/wallaby/resources/index/_date.html.erb
|
@@ -316,29 +395,51 @@ files:
|
|
316
395
|
- app/views/wallaby/resources/index/_integer.html.erb
|
317
396
|
- app/views/wallaby/resources/index/_json.html.erb
|
318
397
|
- app/views/wallaby/resources/index/_jsonb.html.erb
|
398
|
+
- app/views/wallaby/resources/index/_line.html.erb
|
399
|
+
- app/views/wallaby/resources/index/_longblob.html.erb
|
400
|
+
- app/views/wallaby/resources/index/_longtext.html.erb
|
401
|
+
- app/views/wallaby/resources/index/_lseg.html.erb
|
319
402
|
- app/views/wallaby/resources/index/_ltree.html.erb
|
320
403
|
- app/views/wallaby/resources/index/_macaddr.html.erb
|
404
|
+
- app/views/wallaby/resources/index/_mediumblob.html.erb
|
405
|
+
- app/views/wallaby/resources/index/_mediumtext.html.erb
|
321
406
|
- app/views/wallaby/resources/index/_money.html.erb
|
322
407
|
- app/views/wallaby/resources/index/_numrange.html.erb
|
408
|
+
- app/views/wallaby/resources/index/_password.html.erb
|
409
|
+
- app/views/wallaby/resources/index/_path.html.erb
|
323
410
|
- app/views/wallaby/resources/index/_point.html.erb
|
411
|
+
- app/views/wallaby/resources/index/_polygon.html.erb
|
412
|
+
- app/views/wallaby/resources/index/_raw.html.erb
|
413
|
+
- app/views/wallaby/resources/index/_serial.html.erb
|
414
|
+
- app/views/wallaby/resources/index/_sti.html.erb
|
324
415
|
- app/views/wallaby/resources/index/_string.html.erb
|
325
416
|
- app/views/wallaby/resources/index/_text.html.erb
|
326
417
|
- app/views/wallaby/resources/index/_time.html.erb
|
418
|
+
- app/views/wallaby/resources/index/_tinyblob.html.erb
|
419
|
+
- app/views/wallaby/resources/index/_tinytext.html.erb
|
327
420
|
- app/views/wallaby/resources/index/_tsrange.html.erb
|
328
421
|
- app/views/wallaby/resources/index/_tstzrange.html.erb
|
329
422
|
- app/views/wallaby/resources/index/_tsvector.html.erb
|
423
|
+
- app/views/wallaby/resources/index/_unsigned_bigint.html.erb
|
424
|
+
- app/views/wallaby/resources/index/_unsigned_decimal.html.erb
|
425
|
+
- app/views/wallaby/resources/index/_unsigned_float.html.erb
|
426
|
+
- app/views/wallaby/resources/index/_unsigned_integer.html.erb
|
330
427
|
- app/views/wallaby/resources/index/_uuid.html.erb
|
331
428
|
- app/views/wallaby/resources/index/_xml.html.erb
|
332
429
|
- app/views/wallaby/resources/new.html.erb
|
333
|
-
- app/views/wallaby/resources/shared/_resource_nav.html.erb
|
334
430
|
- app/views/wallaby/resources/show.html.erb
|
431
|
+
- app/views/wallaby/resources/show.json.jbuilder
|
335
432
|
- app/views/wallaby/resources/show/_belongs_to.html.erb
|
336
433
|
- app/views/wallaby/resources/show/_bigint.html.erb
|
434
|
+
- app/views/wallaby/resources/show/_bigserial.html.erb
|
337
435
|
- app/views/wallaby/resources/show/_binary.html.erb
|
338
436
|
- app/views/wallaby/resources/show/_bit.html.erb
|
339
437
|
- app/views/wallaby/resources/show/_bit_varying.html.erb
|
438
|
+
- app/views/wallaby/resources/show/_blob.html.erb
|
340
439
|
- app/views/wallaby/resources/show/_boolean.html.erb
|
440
|
+
- app/views/wallaby/resources/show/_box.html.erb
|
341
441
|
- app/views/wallaby/resources/show/_cidr.html.erb
|
442
|
+
- app/views/wallaby/resources/show/_circle.html.erb
|
342
443
|
- app/views/wallaby/resources/show/_citext.html.erb
|
343
444
|
- app/views/wallaby/resources/show/_color.html.erb
|
344
445
|
- app/views/wallaby/resources/show/_date.html.erb
|
@@ -351,72 +452,115 @@ files:
|
|
351
452
|
- app/views/wallaby/resources/show/_has_many.html.erb
|
352
453
|
- app/views/wallaby/resources/show/_has_one.html.erb
|
353
454
|
- app/views/wallaby/resources/show/_hstore.html.erb
|
455
|
+
- app/views/wallaby/resources/show/_image.html.erb
|
354
456
|
- app/views/wallaby/resources/show/_inet.html.erb
|
355
457
|
- app/views/wallaby/resources/show/_int4range.html.erb
|
356
458
|
- app/views/wallaby/resources/show/_int8range.html.erb
|
357
459
|
- app/views/wallaby/resources/show/_integer.html.erb
|
358
460
|
- app/views/wallaby/resources/show/_json.html.erb
|
359
461
|
- app/views/wallaby/resources/show/_jsonb.html.erb
|
462
|
+
- app/views/wallaby/resources/show/_line.html.erb
|
463
|
+
- app/views/wallaby/resources/show/_longblob.html.erb
|
464
|
+
- app/views/wallaby/resources/show/_longtext.html.erb
|
465
|
+
- app/views/wallaby/resources/show/_lseg.html.erb
|
360
466
|
- app/views/wallaby/resources/show/_ltree.html.erb
|
361
467
|
- app/views/wallaby/resources/show/_macaddr.html.erb
|
468
|
+
- app/views/wallaby/resources/show/_mediumblob.html.erb
|
469
|
+
- app/views/wallaby/resources/show/_mediumtext.html.erb
|
362
470
|
- app/views/wallaby/resources/show/_money.html.erb
|
363
471
|
- app/views/wallaby/resources/show/_numrange.html.erb
|
472
|
+
- app/views/wallaby/resources/show/_password.html.erb
|
473
|
+
- app/views/wallaby/resources/show/_path.html.erb
|
364
474
|
- app/views/wallaby/resources/show/_point.html.erb
|
475
|
+
- app/views/wallaby/resources/show/_polygon.html.erb
|
476
|
+
- app/views/wallaby/resources/show/_raw.html.erb
|
477
|
+
- app/views/wallaby/resources/show/_serial.html.erb
|
478
|
+
- app/views/wallaby/resources/show/_sti.html.erb
|
365
479
|
- app/views/wallaby/resources/show/_string.html.erb
|
366
480
|
- app/views/wallaby/resources/show/_text.html.erb
|
367
481
|
- app/views/wallaby/resources/show/_time.html.erb
|
482
|
+
- app/views/wallaby/resources/show/_tinyblob.html.erb
|
483
|
+
- app/views/wallaby/resources/show/_tinytext.html.erb
|
368
484
|
- app/views/wallaby/resources/show/_tsrange.html.erb
|
369
485
|
- app/views/wallaby/resources/show/_tstzrange.html.erb
|
370
486
|
- app/views/wallaby/resources/show/_tsvector.html.erb
|
487
|
+
- app/views/wallaby/resources/show/_unsigned_bigint.html.erb
|
488
|
+
- app/views/wallaby/resources/show/_unsigned_decimal.html.erb
|
489
|
+
- app/views/wallaby/resources/show/_unsigned_float.html.erb
|
490
|
+
- app/views/wallaby/resources/show/_unsigned_integer.html.erb
|
371
491
|
- app/views/wallaby/resources/show/_uuid.html.erb
|
372
492
|
- app/views/wallaby/resources/show/_xml.html.erb
|
373
|
-
-
|
374
|
-
- config/locales/en.yml
|
493
|
+
- config/brakeman.ignore
|
494
|
+
- config/locales/wallaby.en.yml
|
495
|
+
- config/massa.yml
|
496
|
+
- config/rails_best_practices.yml
|
375
497
|
- config/routes.rb
|
376
498
|
- lib/adaptors/wallaby/active_record.rb
|
377
499
|
- lib/adaptors/wallaby/active_record/model_decorator.rb
|
378
500
|
- lib/adaptors/wallaby/active_record/model_decorator/fields_builder.rb
|
501
|
+
- lib/adaptors/wallaby/active_record/model_decorator/fields_builder/association_builder.rb
|
502
|
+
- lib/adaptors/wallaby/active_record/model_decorator/fields_builder/polymorphic_builder.rb
|
503
|
+
- lib/adaptors/wallaby/active_record/model_decorator/fields_builder/sti_builder.rb
|
379
504
|
- lib/adaptors/wallaby/active_record/model_decorator/title_field_finder.rb
|
380
505
|
- lib/adaptors/wallaby/active_record/model_finder.rb
|
381
|
-
- lib/adaptors/wallaby/active_record/
|
382
|
-
- lib/adaptors/wallaby/active_record/
|
383
|
-
- lib/adaptors/wallaby/active_record/
|
384
|
-
- lib/adaptors/wallaby/active_record/
|
385
|
-
- lib/adaptors/wallaby/active_record/
|
506
|
+
- lib/adaptors/wallaby/active_record/model_pagination_provider.rb
|
507
|
+
- lib/adaptors/wallaby/active_record/model_service_provider.rb
|
508
|
+
- lib/adaptors/wallaby/active_record/model_service_provider/normalizer.rb
|
509
|
+
- lib/adaptors/wallaby/active_record/model_service_provider/permitter.rb
|
510
|
+
- lib/adaptors/wallaby/active_record/model_service_provider/querier.rb
|
511
|
+
- lib/adaptors/wallaby/active_record/model_service_provider/querier/transformer.rb
|
512
|
+
- lib/adaptors/wallaby/active_record/model_service_provider/validator.rb
|
513
|
+
- lib/decorators/wallaby/abstract_resource_decorator.rb
|
386
514
|
- lib/decorators/wallaby/resource_decorator.rb
|
387
|
-
- lib/errors/wallaby/deprecated.rb
|
388
515
|
- lib/errors/wallaby/general_error.rb
|
389
516
|
- lib/errors/wallaby/invalid_error.rb
|
390
517
|
- lib/errors/wallaby/model_not_found.rb
|
391
518
|
- lib/errors/wallaby/not_authenticated.rb
|
519
|
+
- lib/errors/wallaby/not_found.rb
|
392
520
|
- lib/errors/wallaby/not_implemented.rb
|
393
|
-
- lib/errors/wallaby/operation_not_found.rb
|
394
521
|
- lib/errors/wallaby/resource_not_found.rb
|
395
522
|
- lib/forms/wallaby/form_builder.rb
|
396
|
-
- lib/handlers/wallaby/cached_compiled_erb.rb
|
397
523
|
- lib/helpers/wallaby/application_helper.rb
|
398
|
-
- lib/helpers/wallaby/
|
524
|
+
- lib/helpers/wallaby/base_helper.rb
|
399
525
|
- lib/helpers/wallaby/form_helper.rb
|
526
|
+
- lib/helpers/wallaby/index_helper.rb
|
400
527
|
- lib/helpers/wallaby/links_helper.rb
|
401
|
-
- lib/helpers/wallaby/paginatable_helper.rb
|
402
528
|
- lib/helpers/wallaby/resources_helper.rb
|
403
529
|
- lib/helpers/wallaby/secure_helper.rb
|
404
|
-
- lib/helpers/wallaby/sorting_helper.rb
|
405
530
|
- lib/helpers/wallaby/styling_helper.rb
|
406
531
|
- lib/interfaces/wallaby/mode.rb
|
407
532
|
- lib/interfaces/wallaby/model_decorator.rb
|
408
533
|
- lib/interfaces/wallaby/model_finder.rb
|
409
|
-
- lib/interfaces/wallaby/
|
410
|
-
- lib/
|
534
|
+
- lib/interfaces/wallaby/model_pagination_provider.rb
|
535
|
+
- lib/interfaces/wallaby/model_service_provider.rb
|
536
|
+
- lib/paginators/wallaby/abstract_resource_paginator.rb
|
537
|
+
- lib/paginators/wallaby/resource_paginator.rb
|
538
|
+
- lib/parsers/wallaby/parser.rb
|
539
|
+
- lib/responders/wallaby/abstract_responder.rb
|
540
|
+
- lib/responders/wallaby/resources_responder.rb
|
541
|
+
- lib/servicers/wallaby/abstract_model_servicer.rb
|
542
|
+
- lib/servicers/wallaby/model_servicer.rb
|
543
|
+
- lib/services/wallaby/link_options_normalizer.rb
|
411
544
|
- lib/services/wallaby/lookup_context_wrapper.rb
|
412
545
|
- lib/services/wallaby/map.rb
|
413
|
-
- lib/services/wallaby/
|
414
|
-
- lib/services/wallaby/
|
546
|
+
- lib/services/wallaby/map/mode_mapper.rb
|
547
|
+
- lib/services/wallaby/map/model_class_collector.rb
|
548
|
+
- lib/services/wallaby/map/model_class_mapper.rb
|
549
|
+
- lib/services/wallaby/partial_renderer.rb
|
550
|
+
- lib/services/wallaby/prefixes_builder.rb
|
551
|
+
- lib/services/wallaby/sorting/hash_builder.rb
|
552
|
+
- lib/services/wallaby/sorting/link_builder.rb
|
553
|
+
- lib/services/wallaby/sorting/next_builder.rb
|
554
|
+
- lib/services/wallaby/url_for.rb
|
415
555
|
- lib/tasks/wallaby_tasks.rake
|
556
|
+
- lib/tree/wallaby/node.rb
|
416
557
|
- lib/utils/wallaby/utils.rb
|
417
558
|
- lib/wallaby.rb
|
418
559
|
- lib/wallaby/configuration.rb
|
560
|
+
- lib/wallaby/configuration/features.rb
|
561
|
+
- lib/wallaby/configuration/metadata.rb
|
419
562
|
- lib/wallaby/configuration/models.rb
|
563
|
+
- lib/wallaby/configuration/pagination.rb
|
420
564
|
- lib/wallaby/configuration/security.rb
|
421
565
|
- lib/wallaby/engine.rb
|
422
566
|
- lib/wallaby/version.rb
|
@@ -440,8 +584,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
440
584
|
version: '0'
|
441
585
|
requirements: []
|
442
586
|
rubyforge_project:
|
443
|
-
rubygems_version: 2.6.
|
587
|
+
rubygems_version: 2.6.14
|
444
588
|
signing_key:
|
445
589
|
specification_version: 4
|
446
590
|
summary: Rails way database admin interface
|
447
591
|
test_files: []
|
592
|
+
has_rdoc:
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,53 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Forms
|
3
|
-
// --------------------------------------------------
|
4
|
-
.search-form {
|
5
|
-
position: relative;
|
6
|
-
border-bottom: 1px solid $hr-border;
|
7
|
-
margin-top: -15px;
|
8
|
-
margin-left: -15px;
|
9
|
-
margin-right: -15px;
|
10
|
-
margin-bottom: 10px;
|
11
|
-
box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
|
12
|
-
|
13
|
-
.right {
|
14
|
-
position: absolute;
|
15
|
-
z-index: 10;
|
16
|
-
right: 15px;
|
17
|
-
top: 50%;
|
18
|
-
margin-top: -17px;
|
19
|
-
}
|
20
|
-
|
21
|
-
form {
|
22
|
-
padding: 15px 97px 15px 40px;
|
23
|
-
&:before {
|
24
|
-
position: absolute;
|
25
|
-
@extend .glyphicon, .glyphicon-search:before;
|
26
|
-
z-index: 10;
|
27
|
-
left: 15px;
|
28
|
-
top: 50%;
|
29
|
-
margin-top: -9px;
|
30
|
-
font-size: $font-size-large;
|
31
|
-
color: $gray-lighter;
|
32
|
-
}
|
33
|
-
input {
|
34
|
-
font-size: $font-size-large;
|
35
|
-
width: 100%;
|
36
|
-
border: none;
|
37
|
-
&:focus {
|
38
|
-
outline: unset;
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
42
|
-
&.focus {
|
43
|
-
form:before {
|
44
|
-
color: $btn-primary-bg;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
&.sort {
|
49
|
-
form {
|
50
|
-
padding-right: 197px;
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|