card 1.101.5 → 1.101.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/VERSION +1 -1
- data/config/locales/en.yml +1 -0
- data/db/migrate/20200805200729_add_unique_pair_indeces.rb +35 -1
- data/db/migrate_core_cards/20190829093961_cardtype_grouping.rb +7 -7
- data/db/test_seed.rb +2 -2
- data/lib/card/content/diff/result.rb +0 -125
- data/lib/card/content/diff/summary.rb +136 -0
- data/lib/card/mailer.rb +15 -12
- data/lib/card/query/act_query.rb +2 -2
- data/lib/card/query/action_query.rb +1 -1
- data/lib/card/query/card_query/conjunctions.rb +1 -1
- data/lib/card/query/card_query/reference_attributes.rb +1 -1
- data/lib/card/query/card_query/relational_attributes.rb +2 -2
- data/lib/card/set/advanced_api.rb +1 -2
- data/lib/card/set/event.rb +8 -4
- data/lib/cardio/mod.rb +1 -1
- data/mod/core/set/all/content.rb +0 -69
- data/mod/core/set/all/debug.rb +7 -10
- data/mod/core/set/all/initialize.rb +4 -0
- data/mod/core/set/all/trash.rb +4 -0
- data/mod/{admin → core}/set/self/trash.rb +0 -0
- data/mod/core/set/self/version.rb +0 -4
- data/mod/{admin → core}/spec/set/self/trash_spec.rb +0 -0
- data/tmpsets/set/mod001-admin/self/admin.rb +6 -3
- data/tmpsets/set/mod001-admin/self/admin_info.rb +3 -8
- data/tmpsets/set/mod002-core/all/abort.rb +8 -8
- data/tmpsets/set/mod002-core/all/assign_attributes.rb +12 -28
- data/tmpsets/set/mod002-core/all/autoname.rb +26 -0
- data/tmpsets/set/mod002-core/all/codename.rb +3 -2
- data/tmpsets/set/mod002-core/all/collection.rb +4 -6
- data/tmpsets/set/mod002-core/all/content.rb +55 -99
- data/tmpsets/set/mod002-core/all/contextual_content.rb +2 -4
- data/tmpsets/set/mod002-core/all/debug.rb +8 -10
- data/tmpsets/set/mod002-core/all/initialize.rb +13 -9
- data/tmpsets/set/mod002-core/all/name_events.rb +78 -58
- data/tmpsets/set/mod002-core/all/reference_events.rb +78 -0
- data/tmpsets/set/mod002-core/all/states.rb +4 -4
- data/tmpsets/set/mod002-core/all/subcards.rb +1 -101
- data/tmpsets/set/mod002-core/all/trash.rb +20 -14
- data/tmpsets/set/mod002-core/all/type.rb +11 -11
- data/tmpsets/set/mod002-core/all/utils.rb +4 -1
- data/tmpsets/set/mod002-core/right/autoname.rb +12 -0
- data/tmpsets/set/{mod003-settings → mod002-core}/self/autoname.rb +2 -2
- data/tmpsets/set/{mod001-admin → mod002-core}/self/trash.rb +5 -4
- data/tmpsets/set/mod002-core/self/version.rb +0 -4
- data/tmpsets/set/mod002-core/type/cardtype.rb +37 -0
- data/tmpsets/set/{mod005-card-mod-email → mod004-card-mod-email}/abstract/email_field.rb +1 -2
- data/tmpsets/set/{mod005-card-mod-email → mod004-card-mod-email}/abstract/test_context.rb +1 -0
- data/tmpsets/set/{mod005-card-mod-email → mod004-card-mod-email}/all/email_html.rb +0 -0
- data/tmpsets/set/{mod005-card-mod-email → mod004-card-mod-email}/all/email_text.rb +0 -1
- data/tmpsets/set/{mod005-card-mod-email → mod004-card-mod-email}/right/bcc.rb +0 -0
- data/tmpsets/set/{mod005-card-mod-email → mod004-card-mod-email}/right/cc.rb +0 -0
- data/tmpsets/set/{mod005-card-mod-email → mod004-card-mod-email}/right/from.rb +0 -0
- data/tmpsets/set/{mod005-card-mod-email → mod004-card-mod-email}/right/html_message.rb +1 -0
- data/tmpsets/set/{mod005-card-mod-email → mod004-card-mod-email}/right/subject.rb +0 -0
- data/tmpsets/set/{mod005-card-mod-email → mod004-card-mod-email}/right/text_message.rb +0 -0
- data/tmpsets/set/{mod005-card-mod-email → mod004-card-mod-email}/right/to.rb +0 -0
- data/tmpsets/set/{mod005-card-mod-email → mod004-card-mod-email}/type/email_template.rb +4 -3
- data/tmpsets/set/{mod005-card-mod-email → mod004-card-mod-email}/type/email_template/email_config.rb +3 -1
- data/tmpsets/set/{mod006-card-mod-collection → mod005-card-mod-collection}/abstract/items.rb +5 -1
- data/tmpsets/set/{mod006-card-mod-collection → mod005-card-mod-collection}/abstract/paging.rb +1 -0
- data/tmpsets/set/{mod006-card-mod-collection → mod005-card-mod-collection}/abstract/paging/paging_links.rb +1 -0
- data/tmpsets/set/{mod006-card-mod-collection → mod005-card-mod-collection}/abstract/paging/paging_views.rb +1 -0
- data/tmpsets/set/{mod006-card-mod-collection → mod005-card-mod-collection}/all/extended.rb +2 -1
- data/tmpsets/set/{mod006-card-mod-collection → mod005-card-mod-collection}/all/item.rb +7 -1
- data/tmpsets/set/{mod007-card-mod-content → mod006-card-mod-content}/abstract/code_file.rb +0 -1
- data/tmpsets/set/{mod007-card-mod-content → mod006-card-mod-content}/abstract/haml_file.rb +0 -1
- data/tmpsets/set/{mod007-card-mod-content → mod006-card-mod-content}/abstract/lock.rb +1 -0
- data/tmpsets/set/{mod007-card-mod-content → mod006-card-mod-content}/abstract/templated_nests.rb +0 -0
- data/tmpsets/set/{mod007-card-mod-content → mod006-card-mod-content}/abstract/vendor_code_file.rb +0 -0
- data/tmpsets/set/{mod007-card-mod-content → mod006-card-mod-content}/all/chunk.rb +8 -8
- data/tmpsets/set/{mod007-card-mod-content → mod006-card-mod-content}/all/templating.rb +1 -1
- data/tmpsets/set/{mod007-card-mod-content → mod006-card-mod-content}/right/default.rb +0 -0
- data/tmpsets/set/{mod007-card-mod-content → mod006-card-mod-content}/right/structure.rb +5 -1
- data/tmpsets/set/{mod007-card-mod-content → mod006-card-mod-content}/self/default.rb +0 -0
- data/tmpsets/set/{mod007-card-mod-content → mod006-card-mod-content}/self/structure.rb +0 -0
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/active_card.rb +1 -2
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/base.rb +3 -1
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/css.rb +0 -1
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/csv.rb +2 -1
- data/tmpsets/set/mod007-card-mod-format/all/demo.rb +45 -0
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/error.rb +12 -19
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/export.rb +2 -0
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/file.rb +0 -0
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/frame.rb +6 -10
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/haml.rb +0 -0
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/head.rb +5 -1
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/header.rb +0 -0
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/html_content.rb +2 -1
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/html_error.rb +25 -10
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/html_show.rb +0 -0
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/html_title.rb +0 -0
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/html_wrapper.rb +13 -8
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/js.rb +0 -1
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/json.rb +1 -2
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/links.rb +5 -4
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/menu.rb +1 -1
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/path.rb +1 -0
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/rich_html.rb +12 -0
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/rss.rb +3 -2
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/all/text.rb +0 -1
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/self/home.rb +0 -0
- data/tmpsets/set/mod007-card-mod-format/type/cardtype.rb +98 -0
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/type/html.rb +0 -0
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/type/json.rb +1 -1
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/type/number.rb +4 -2
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/type/phrase.rb +0 -0
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/type/plain_text.rb +0 -0
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/type/toggle.rb +2 -2
- data/tmpsets/set/{mod008-card-mod-format → mod007-card-mod-format}/type/uri.rb +0 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/abstract/01_pointer.rb +0 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/abstract/01_pointer/events.rb +0 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/abstract/01_pointer/html_views.rb +1 -2
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/abstract/01_pointer/html_views/filter.rb +1 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/abstract/01_pointer/options_api.rb +0 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/abstract/01_pointer/other_views.rb +1 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/abstract/code_pointer.rb +0 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/abstract/id_pointer.rb +1 -1
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/all/supports_content_options.rb +0 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/right/content_option_view.rb +0 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/right/content_options.rb +0 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/self/content_option_view.rb +0 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/self/content_options.rb +0 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/self/input_options.rb +1 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/type/link_list.rb +0 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/type/list.rb +0 -0
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/type/nest_list.rb +1 -1
- data/tmpsets/set/{mod009-card-mod-list → mod008-card-mod-list}/type/pointer.rb +0 -0
- data/tmpsets/set/{mod010-card-mod-permissions → mod009-card-mod-permissions}/abstract/permission.rb +3 -2
- data/tmpsets/set/{mod010-card-mod-permissions → mod009-card-mod-permissions}/all/permissions.rb +11 -7
- data/tmpsets/set/{mod010-card-mod-permissions → mod009-card-mod-permissions}/all/update_read_rules.rb +2 -3
- data/tmpsets/set/{mod010-card-mod-permissions → mod009-card-mod-permissions}/right/create.rb +0 -0
- data/tmpsets/set/{mod010-card-mod-permissions → mod009-card-mod-permissions}/right/delete.rb +0 -0
- data/tmpsets/set/{mod010-card-mod-permissions → mod009-card-mod-permissions}/right/read.rb +3 -5
- data/tmpsets/set/{mod010-card-mod-permissions → mod009-card-mod-permissions}/right/update.rb +0 -0
- data/tmpsets/set/{mod010-card-mod-permissions → mod009-card-mod-permissions}/self/create.rb +0 -0
- data/tmpsets/set/{mod010-card-mod-permissions → mod009-card-mod-permissions}/self/delete.rb +0 -0
- data/tmpsets/set/{mod010-card-mod-permissions → mod009-card-mod-permissions}/self/read.rb +0 -0
- data/tmpsets/set/{mod010-card-mod-permissions → mod009-card-mod-permissions}/self/update.rb +0 -0
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/abstract/account_field.rb +5 -0
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/abstract/accountable.rb +5 -1
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/all/account.rb +16 -7
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/right/account.rb +3 -8
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/right/account/events.rb +2 -2
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/right/account/views.rb +0 -0
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/right/email.rb +5 -4
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/right/password.rb +4 -3
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/right/roles.rb +2 -2
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/right/salt.rb +1 -1
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/right/status.rb +1 -1
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/self/signin.rb +37 -50
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/type/role.rb +0 -0
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/type/signup.rb +0 -0
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/type/signup/views.rb +7 -2
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/type/user.rb +1 -1
- data/tmpsets/set/{mod011-card-mod-account → mod010-card-mod-account}/type_plus_right/user/email.rb +0 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/bridge.rb +3 -3
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/bridge/bridge_pills.rb +0 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/bridge/follow_section.rb +0 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/bridge/related_section.rb +2 -2
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/bridge/tab_views.rb +0 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/bridge/tab_visibility.rb +10 -5
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/edit_content.rb +0 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/edit_inline.rb +0 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/edit_name.rb +18 -20
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/edit_type.rb +52 -33
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/editing.rb +0 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/editor.rb +3 -5
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/form.rb +14 -11
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/form_buttons.rb +11 -2
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/form_elements.rb +1 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/formgroup.rb +0 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/new.rb +2 -2
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/overlay_guide.rb +0 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/all/template_nest.rb +0 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/right/input_type.rb +0 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/self/input_type.rb +0 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/type/list.rb +0 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/type/plain_text.rb +0 -0
- data/tmpsets/set/{mod012-card-mod-edit → mod011-card-mod-edit}/type/pointer.rb +0 -0
- data/tmpsets/set/{mod013-card-mod-history → mod012-card-mod-history}/all/history.rb +2 -1
- data/tmpsets/set/{mod013-card-mod-history → mod012-card-mod-history}/all/history/act_listing.rb +9 -6
- data/tmpsets/set/{mod013-card-mod-history → mod012-card-mod-history}/all/history/actions.rb +8 -4
- data/tmpsets/set/{mod013-card-mod-history → mod012-card-mod-history}/all/history/acts.rb +0 -0
- data/tmpsets/set/{mod013-card-mod-history → mod012-card-mod-history}/all/history/events.rb +3 -3
- data/tmpsets/set/{mod013-card-mod-history → mod012-card-mod-history}/all/history/last.rb +0 -0
- data/tmpsets/set/{mod013-card-mod-history → mod012-card-mod-history}/all/history/revision.rb +0 -0
- data/tmpsets/set/{mod013-card-mod-history → mod012-card-mod-history}/all/history/selected.rb +3 -3
- data/tmpsets/set/{mod013-card-mod-history → mod012-card-mod-history}/all/history/views.rb +31 -0
- data/tmpsets/set/{mod013-card-mod-history → mod012-card-mod-history}/all/history_bridge.rb +31 -17
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/abstract/attachment.rb +36 -13
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/abstract/attachment/cloud.rb +5 -1
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/abstract/attachment/coded.rb +7 -2
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/abstract/attachment/local.rb +4 -1
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/abstract/attachment/paths.rb +1 -0
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/abstract/attachment/storage_type.rb +33 -32
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/abstract/attachment/upload_cache.rb +4 -0
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/abstract/attachment/web.rb +0 -0
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/all/file_utils.rb +0 -0
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/self/admin.rb +0 -0
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/self/favicon.rb +1 -0
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/self/new_file.rb +0 -0
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/self/new_image.rb +0 -0
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/type/file.rb +27 -10
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/type/image.rb +7 -4
- data/tmpsets/set/{mod014-card-mod-carrierwave → mod013-card-mod-carrierwave}/type/image/html_views.rb +13 -3
- data/tmpsets/set/{mod015-card-mod-virtual → mod014-card-mod-virtual}/abstract/virtual_cache.rb +0 -0
- data/tmpsets/set/{mod016-card-mod-machines → mod015-card-mod-machines}/abstract/machine.rb +2 -2
- data/tmpsets/set/{mod016-card-mod-machines → mod015-card-mod-machines}/abstract/machine/output_cache.rb +0 -0
- data/tmpsets/set/{mod016-card-mod-machines → mod015-card-mod-machines}/abstract/machine/output_update.rb +7 -0
- data/tmpsets/set/{mod016-card-mod-machines → mod015-card-mod-machines}/abstract/machine_input.rb +1 -0
- data/tmpsets/set/{mod016-card-mod-machines → mod015-card-mod-machines}/all/reset_machines.rb +0 -0
- data/tmpsets/set/{mod016-card-mod-machines → mod015-card-mod-machines}/right/machine_cache.rb +0 -0
- data/tmpsets/set/{mod016-card-mod-machines → mod015-card-mod-machines}/right/machine_input.rb +0 -0
- data/tmpsets/set/{mod016-card-mod-machines → mod015-card-mod-machines}/right/machine_output.rb +0 -0
- data/tmpsets/set/{mod017-card-mod-script → mod016-card-mod-script}/abstract/script.rb +1 -1
- data/tmpsets/set/{mod017-card-mod-script → mod016-card-mod-script}/right/script.rb +0 -0
- data/tmpsets/set/{mod017-card-mod-script → mod016-card-mod-script}/self/01_script_libraries.rb +0 -0
- data/tmpsets/set/{mod017-card-mod-script → mod016-card-mod-script}/self/script.rb +0 -0
- data/tmpsets/set/{mod017-card-mod-script → mod016-card-mod-script}/self/script_decko.rb +0 -0
- data/tmpsets/set/{mod017-card-mod-script → mod016-card-mod-script}/self/script_editors.rb +0 -0
- data/tmpsets/set/{mod017-card-mod-script → mod016-card-mod-script}/self/script_html5shiv_printshiv.rb +0 -0
- data/tmpsets/set/{mod017-card-mod-script → mod016-card-mod-script}/self/script_jquery.rb +0 -0
- data/tmpsets/set/{mod017-card-mod-script → mod016-card-mod-script}/self/script_jquery_helper.rb +0 -0
- data/tmpsets/set/{mod017-card-mod-script → mod016-card-mod-script}/self/script_mods.rb +0 -0
- data/tmpsets/set/{mod017-card-mod-script → mod016-card-mod-script}/self/script_pointer_config.rb +0 -0
- data/tmpsets/set/{mod017-card-mod-script → mod016-card-mod-script}/type/coffee_script.rb +1 -1
- data/tmpsets/set/{mod017-card-mod-script → mod016-card-mod-script}/type/java_script.rb +0 -0
- data/tmpsets/set/{mod018-card-mod-ace_editor → mod017-card-mod-ace_editor}/all/ace_editor.rb +0 -1
- data/tmpsets/set/{mod018-card-mod-ace_editor → mod017-card-mod-ace_editor}/self/ace.rb +0 -0
- data/tmpsets/set/{mod018-card-mod-ace_editor → mod017-card-mod-ace_editor}/self/script_ace.rb +0 -0
- data/tmpsets/set/{mod018-card-mod-ace_editor → mod017-card-mod-ace_editor}/self/script_ace_config.rb +0 -0
- data/tmpsets/set/mod018-card-mod-alias/all/alias.rb +30 -0
- data/tmpsets/set/mod018-card-mod-alias/all_plus/alias.rb +31 -0
- data/tmpsets/set/mod018-card-mod-alias/type/alias.rb +42 -0
- data/tmpsets/set/mod019-card-mod-api_key/right/account.rb +18 -0
- data/tmpsets/set/mod019-card-mod-api_key/right/api_key.rb +103 -0
- data/tmpsets/set/{mod019-card-mod-style → mod020-card-mod-style}/abstract/skin_box.rb +2 -0
- data/tmpsets/set/{mod019-card-mod-style → mod020-card-mod-style}/right/style.rb +0 -0
- data/tmpsets/set/{mod019-card-mod-style → mod020-card-mod-style}/self/style.rb +0 -0
- data/tmpsets/set/{mod019-card-mod-style → mod020-card-mod-style}/self/style_bootstrap_compatible.rb +0 -0
- data/tmpsets/set/{mod019-card-mod-style → mod020-card-mod-style}/self/style_cards.rb +0 -0
- data/tmpsets/set/{mod019-card-mod-style → mod020-card-mod-style}/self/style_jquery_ui_smoothness.rb +0 -0
- data/tmpsets/set/{mod019-card-mod-style → mod020-card-mod-style}/self/style_libraries.rb +0 -0
- data/tmpsets/set/{mod019-card-mod-style → mod020-card-mod-style}/self/style_mods.rb +0 -0
- data/tmpsets/set/{mod019-card-mod-style → mod020-card-mod-style}/type/css.rb +5 -4
- data/tmpsets/set/{mod019-card-mod-style → mod020-card-mod-style}/type/scss.rb +1 -1
- data/tmpsets/set/{mod019-card-mod-style → mod020-card-mod-style}/type/skin.rb +0 -0
- data/tmpsets/set/{mod020-card-mod-bar_and_box → mod021-card-mod-bar_and_box}/abstract/media.rb +0 -0
- data/tmpsets/set/{mod020-card-mod-bar_and_box → mod021-card-mod-bar_and_box}/all/bar.rb +1 -1
- data/tmpsets/set/{mod020-card-mod-bar_and_box → mod021-card-mod-bar_and_box}/all/box.rb +0 -0
- data/tmpsets/set/{mod020-card-mod-bar_and_box → mod021-card-mod-bar_and_box}/self/style_media.rb +0 -0
- data/tmpsets/set/{mod020-card-mod-bar_and_box → mod021-card-mod-bar_and_box}/type/image.rb +1 -1
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/abstract/bootstrap_code_file.rb +0 -1
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/abstract/bootswatch_theme.rb +1 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/abstract/bootswatch_theme/html_views.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/abstract/bs_badge.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/all/bootstrap/accordion.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/all/bootstrap/dropdown.rb +13 -15
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/all/bootstrap/form.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/all/bootstrap/helper.rb +23 -12
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/all/bootstrap/icon.rb +16 -11
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/all/bootstrap/navbar.rb +8 -28
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/all/bootstrap/table.rb +9 -7
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/all/bootstrap/tabs.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/all/bootstrap/wrapper.rb +2 -3
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/all/rich_bootstrap.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/self/bootstrap_core.rb +7 -6
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/self/bootstrap_functions.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/self/font_awesome.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/self/material_icons.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/self/script_bootstrap.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/self/script_load_select2.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/self/script_select2.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/self/smartmenu_css.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/self/smartmenu_js.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/self/style_bootstrap_cards.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/self/style_bootstrap_colorpicker.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/self/style_select2.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/self/style_select2_bootstrap.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/type/bootswatch_skin.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/type/customized_bootswatch_skin.rb +11 -7
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/type/customized_bootswatch_skin/html_views.rb +0 -0
- data/tmpsets/set/{mod021-card-mod-bootstrap → mod022-card-mod-bootstrap}/type_plus_right/customized_bootswatch_skin/colors.rb +3 -2
- data/tmpsets/set/{mod022-card-mod-comment → mod023-card-mod-comment}/all/comment.rb +4 -1
- data/tmpsets/set/{mod022-card-mod-comment → mod023-card-mod-comment}/right/comment.rb +0 -0
- data/tmpsets/set/{mod022-card-mod-comment → mod023-card-mod-comment}/right/discussion.rb +0 -0
- data/tmpsets/set/{mod023-card-mod-date → mod024-card-mod-date}/all/calendar.rb +0 -0
- data/tmpsets/set/{mod023-card-mod-date → mod024-card-mod-date}/right/when_created.rb +1 -0
- data/tmpsets/set/{mod023-card-mod-date → mod024-card-mod-date}/right/when_last_edited.rb +1 -0
- data/tmpsets/set/{mod023-card-mod-date → mod024-card-mod-date}/self/datepicker.rb +1 -1
- data/tmpsets/set/{mod023-card-mod-date → mod024-card-mod-date}/self/now.rb +0 -1
- data/tmpsets/set/{mod023-card-mod-date → mod024-card-mod-date}/self/script_datepicker.rb +0 -0
- data/tmpsets/set/{mod023-card-mod-date → mod024-card-mod-date}/self/script_datepicker_config.rb +0 -0
- data/tmpsets/set/{mod023-card-mod-date → mod024-card-mod-date}/self/style_datepicker.rb +0 -0
- data/tmpsets/set/{mod023-card-mod-date → mod024-card-mod-date}/type/date.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/abstract/follow_option.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/all/follow.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/all/follow/follow_link.rb +3 -2
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/all/follow/follow_link_views.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/all/follow/followed_by.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/all/follow/follower_ids.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/all/follow/start_follow_link.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/all/follow/stop_follow_link.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/all/notify.rb +1 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/all/notify/base_views.rb +1 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/all/notify/html_views.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/right/account.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/right/follow.rb +1 -1
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/right/follow_fields.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/right/followers.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/right/following.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/self/always.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/self/created.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/self/edited.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/self/follow.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/self/follow_defaults.rb +5 -4
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/self/follow_fields.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/self/never.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/type/cardtype.rb +1 -1
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/type/notification_template.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/type/set.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/type/user.rb +0 -0
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/type_plus_right/user/follow.rb +3 -2
- data/tmpsets/set/{mod025-card-mod-follow → mod026-card-mod-follow}/type_plus_right/user/follow/follow_editor_helper.rb +0 -0
- data/tmpsets/set/{mod026-card-mod-google_analytics → mod027-card-mod-google_analytics}/all/google_analytics.rb +0 -0
- data/tmpsets/set/{mod027-card-mod-help → mod028-card-mod-help}/all/guide.rb +0 -0
- data/tmpsets/set/{mod027-card-mod-help → mod028-card-mod-help}/all/help.rb +0 -0
- data/tmpsets/set/{mod027-card-mod-help → mod028-card-mod-help}/right/guide.rb +0 -0
- data/tmpsets/set/{mod027-card-mod-help → mod028-card-mod-help}/right/help.rb +1 -1
- data/tmpsets/set/{mod027-card-mod-help → mod028-card-mod-help}/self/guide.rb +0 -0
- data/tmpsets/set/{mod027-card-mod-help → mod028-card-mod-help}/self/help.rb +0 -0
- data/tmpsets/set/{mod028-card-mod-integrate → mod029-card-mod-integrate}/all/observer.rb +0 -0
- data/tmpsets/set/{mod028-card-mod-integrate → mod029-card-mod-integrate}/self/on_create.rb +0 -0
- data/tmpsets/set/{mod028-card-mod-integrate → mod029-card-mod-integrate}/self/on_delete.rb +0 -0
- data/tmpsets/set/{mod028-card-mod-integrate → mod029-card-mod-integrate}/self/on_update.rb +0 -0
- data/tmpsets/set/{mod028-card-mod-integrate → mod029-card-mod-integrate}/self/thanks.rb +0 -0
- data/tmpsets/set/{mod029-card-mod-session → mod030-card-mod-session}/all/location_history.rb +0 -0
- data/tmpsets/set/{mod029-card-mod-session → mod030-card-mod-session}/type/session.rb +0 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/abstract/account_dropdown.rb +2 -4
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/abstract/pointer/html_views.rb +0 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/all/alert.rb +0 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/all/layouts.rb +0 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/all/modal.rb +1 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/all/navbar_links.rb +0 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/all/overlay.rb +7 -10
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/all/process_layout.rb +31 -29
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/all/tabs.rb +1 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/right/enabled_roles.rb +0 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/right/head.rb +0 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/self/account_links.rb +6 -7
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/self/alerts.rb +0 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/self/dropdown_divider.rb +0 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/self/foot.rb +0 -1
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/self/head.rb +1 -1
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/self/layout.rb +0 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/self/navbox.rb +0 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/self/sidebar.rb +0 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/type/html.rb +0 -0
- data/tmpsets/set/{mod030-card-mod-layout → mod031-card-mod-layout}/type/layout_type.rb +0 -0
- data/tmpsets/set/{mod031-card-mod-legacy → mod032-card-mod-legacy}/abstract/table_of_contents.rb +9 -6
- data/tmpsets/set/{mod031-card-mod-legacy → mod032-card-mod-legacy}/self/csv_structure.rb +0 -0
- data/tmpsets/set/{mod031-card-mod-legacy → mod032-card-mod-legacy}/self/default_html_view.rb +0 -0
- data/tmpsets/set/{mod031-card-mod-legacy → mod032-card-mod-legacy}/self/table_of_contents.rb +0 -0
- data/tmpsets/set/{mod031-card-mod-legacy → mod032-card-mod-legacy}/type/basic.rb +0 -0
- data/tmpsets/set/{mod032-card-mod-markdown → mod033-card-mod-markdown}/type/markdown.rb +0 -0
- data/tmpsets/set/{mod033-card-mod-prosemirror_editor → mod034-card-mod-prosemirror_editor}/all/prosemirror_editor.rb +0 -1
- data/tmpsets/set/{mod033-card-mod-prosemirror_editor → mod034-card-mod-prosemirror_editor}/self/script_prosemirror.rb +0 -0
- data/tmpsets/set/{mod033-card-mod-prosemirror_editor → mod034-card-mod-prosemirror_editor}/self/script_prosemirror_config.rb +0 -0
- data/tmpsets/set/{mod033-card-mod-prosemirror_editor → mod034-card-mod-prosemirror_editor}/self/style_prosemirror.rb +0 -0
- data/tmpsets/set/{mod034-card-mod-recaptcha → mod035-card-mod-recaptcha}/all/recaptcha.rb +6 -6
- data/tmpsets/set/{mod034-card-mod-recaptcha → mod035-card-mod-recaptcha}/self/admin_info.rb +6 -11
- data/tmpsets/set/{mod011-card-mod-account → mod035-card-mod-recaptcha}/self/captcha.rb +2 -2
- data/tmpsets/set/{mod034-card-mod-recaptcha → mod035-card-mod-recaptcha}/self/recaptcha_proxy.rb +0 -0
- data/tmpsets/set/{mod034-card-mod-recaptcha → mod035-card-mod-recaptcha}/self/recaptcha_secret_key.rb +0 -0
- data/tmpsets/set/{mod034-card-mod-recaptcha → mod035-card-mod-recaptcha}/self/recaptcha_settings.rb +9 -22
- data/tmpsets/set/{mod034-card-mod-recaptcha → mod035-card-mod-recaptcha}/self/recaptcha_site_key.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/abstract/00_filter_helper.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/abstract/02_search_params.rb +1 -3
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/abstract/03_filter.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/abstract/03_filter/filter_form.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/abstract/03_filter/form_helper.rb +1 -1
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/abstract/03_filter/query_construction.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/abstract/04_right_filter_form.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/abstract/05_search.rb +4 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/abstract/05_search/views.rb +3 -5
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/abstract/06_cql_search.rb +2 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/abstract/filterable.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/abstract/filterable_bar.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/right/children.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/right/created.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/right/edited.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/right/editors.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/right/follow.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/right/linked_to_by.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/right/links_to.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/right/mates.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/right/nested_by.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/right/nests.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/right/referred_to_by.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/right/refers_to.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/self/recent.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/self/search.rb +3 -1
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/type/cardtype.rb +0 -0
- data/tmpsets/set/{mod035-card-mod-search → mod036-card-mod-search}/type/search_type.rb +1 -0
- data/tmpsets/set/mod037-card-mod-rules/all/related_sets.rb +34 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/right/self.rb +0 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/right/type_plus_right.rb +0 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/rstar/rule_user.rb +2 -3
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/rule/bar_view.rb +0 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/rule/bridge_rules_editor.rb +0 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/rule/editor.rb +1 -1
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/rule/html_views.rb +0 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/rule/quick_editor.rb +0 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/rule/rule_form.rb +2 -3
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/rule/rule_form/buttons.rb +1 -2
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/rule/rule_form/form_elements.rb +2 -2
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/rule/rule_form/rule_set_radio.rb +1 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/rule/rule_form/set_selection.rb +0 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/rule/rules.rb +5 -5
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/self/cardtype.rb +0 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/self/recent_settings.rb +0 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/self/script_rules.rb +0 -0
- data/tmpsets/set/mod037-card-mod-rules/type/cardtype.rb +14 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/type/set.rb +1 -1
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/type/set/html_views.rb +0 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/type/set/html_views/rule_lists.rb +0 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/type/set/html_views/template.rb +0 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/type/set/rules_filter.rb +0 -0
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/type/set/setting_lists.rb +1 -1
- data/tmpsets/set/{mod036-card-mod-rules → mod037-card-mod-rules}/type/setting.rb +5 -7
- data/tmpsets/set/{mod037-card-mod-tinymce_editor → mod038-card-mod-tinymce_editor}/all/reference_editor.rb +18 -6
- data/tmpsets/set/{mod037-card-mod-tinymce_editor → mod038-card-mod-tinymce_editor}/all/reference_editor/link_editor.rb +0 -0
- data/tmpsets/set/{mod037-card-mod-tinymce_editor → mod038-card-mod-tinymce_editor}/all/reference_editor/link_editor/link_parser.rb +0 -0
- data/tmpsets/set/{mod037-card-mod-tinymce_editor → mod038-card-mod-tinymce_editor}/all/reference_editor/nest_editor.rb +1 -2
- data/tmpsets/set/{mod037-card-mod-tinymce_editor → mod038-card-mod-tinymce_editor}/all/reference_editor/nest_image.rb +0 -2
- data/tmpsets/set/{mod037-card-mod-tinymce_editor → mod038-card-mod-tinymce_editor}/all/tinymce_editor.rb +0 -1
- data/tmpsets/set/{mod037-card-mod-tinymce_editor → mod038-card-mod-tinymce_editor}/self/script_tinymce.rb +0 -0
- data/tmpsets/set/{mod037-card-mod-tinymce_editor → mod038-card-mod-tinymce_editor}/self/script_tinymce_config.rb +0 -0
- data/tmpsets/set/{mod037-card-mod-tinymce_editor → mod038-card-mod-tinymce_editor}/self/tiny_mce.rb +2 -2
- data/tmpsets/set/{mod039-card-mod-monkey → mod040-card-mod-monkey}/all/event_viz.rb +3 -3
- data/tmpsets/set/{mod039-card-mod-monkey → mod040-card-mod-monkey}/all/view_viz.rb +2 -0
- data/tmpsets/set/{mod039-card-mod-monkey → mod040-card-mod-monkey}/right/debug.rb +2 -3
- data/tmpsets/set_pattern/100-all.rb +0 -1
- data/tmpsets/set_pattern/101-all_plus.rb +0 -1
- data/tmpsets/set_pattern/102-type.rb +0 -1
- data/tmpsets/set_pattern/103-star.rb +0 -1
- data/tmpsets/set_pattern/104-rstar.rb +0 -1
- data/tmpsets/set_pattern/105-rule.rb +1 -2
- data/tmpsets/set_pattern/106-right.rb +0 -1
- data/tmpsets/set_pattern/107-type_plus_right.rb +0 -1
- data/tmpsets/set_pattern/108-self.rb +0 -1
- metadata +410 -412
- data/mod/core/set/all/contextual_content.rb +0 -26
- data/tmpsets/set/mod002-core/all/actify.rb +0 -77
- data/tmpsets/set/mod002-core/all/cache.rb +0 -118
- data/tmpsets/set/mod002-core/all/event_conditions.rb +0 -181
- data/tmpsets/set/mod002-core/all/fetch.rb +0 -131
- data/tmpsets/set/mod002-core/all/fetch_helper.rb +0 -44
- data/tmpsets/set/mod002-core/all/i18n.rb +0 -20
- data/tmpsets/set/mod002-core/all/name.rb +0 -238
- data/tmpsets/set/mod002-core/all/pattern.rb +0 -63
- data/tmpsets/set/mod002-core/all/references.rb +0 -200
- data/tmpsets/set/mod002-core/all/rename.rb +0 -42
- data/tmpsets/set/mod002-core/all/rules.rb +0 -90
- data/tmpsets/set/mod003-settings/right/autoname.rb +0 -12
- data/tmpsets/set/mod004-standard/all/rich_html/html_views/info.rb +0 -93
- data/tmpsets/set/mod004-standard/type/cardtype.rb +0 -128
- data/tmpsets/set/mod011-card-mod-account/right/api_key.rb +0 -57
@@ -0,0 +1,78 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
class Card; module Set; class All
|
3
|
+
# Set: All cards (ReferenceEvents)
|
4
|
+
#
|
5
|
+
# test for updating referer content
|
6
|
+
module ReferenceEvents;
|
7
|
+
extend Card::Set
|
8
|
+
def self.source_location; "/Users/ethan/dev/decko/gem/card/mod/core/set/all/reference_events.rb"; end
|
9
|
+
event :prepare_referer_update, :validate, on: :update, changed: :name do
|
10
|
+
self.update_referers = ![nil, false, "false"].member?(update_referers)
|
11
|
+
end
|
12
|
+
|
13
|
+
# on rename, update names in cards that refer to self by name (as directed)
|
14
|
+
event :update_referer_content, :finalize, on: :update, when: :update_referers do
|
15
|
+
referers.each do |card|
|
16
|
+
next if card.structure
|
17
|
+
|
18
|
+
card.skip_event! :validate_renaming, :check_permissions
|
19
|
+
card.content = card.replace_references name_before_act, name
|
20
|
+
attach_subcard card
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
# on rename, when NOT updating referer content, update references to ensure
|
25
|
+
# that partial references are correctly tracked
|
26
|
+
# eg. A links to X+Y. if X+Y is renamed and we're not updating the link in A,
|
27
|
+
# then we need to be sure that A has a partial reference
|
28
|
+
event :update_referer_references_out, :finalize,
|
29
|
+
changed: :name, on: :update, when: :not_update_referers do
|
30
|
+
referers.map(&:update_references_out)
|
31
|
+
end
|
32
|
+
|
33
|
+
# when name changes, update references to card
|
34
|
+
event :refresh_references_in, :finalize, changed: :name, on: :save do
|
35
|
+
Reference.unmap_referees id if action == :update && !update_referers
|
36
|
+
Reference.map_referees key, id
|
37
|
+
end
|
38
|
+
|
39
|
+
# when content changes, update references to other cards
|
40
|
+
event :refresh_references_out, :finalize, on: :save, changed: :content do
|
41
|
+
update_references_out
|
42
|
+
end
|
43
|
+
|
44
|
+
# clean up reference table when card is deleted
|
45
|
+
event :clear_references, :finalize, on: :delete do
|
46
|
+
delete_references_out
|
47
|
+
Reference.unmap_referees id
|
48
|
+
end
|
49
|
+
|
50
|
+
# replace references in card content
|
51
|
+
def replace_references old_name, new_name
|
52
|
+
cont = content_object
|
53
|
+
cont.find_chunks(:Reference).each do |chunk|
|
54
|
+
next unless replace_reference chunk, old_name, new_name
|
55
|
+
end
|
56
|
+
cont.to_s
|
57
|
+
end
|
58
|
+
|
59
|
+
protected
|
60
|
+
|
61
|
+
def not_update_referers
|
62
|
+
!update_referers
|
63
|
+
end
|
64
|
+
|
65
|
+
private
|
66
|
+
|
67
|
+
def replace_reference chunk, old_name, new_name
|
68
|
+
return unless (old = chunk.referee_name) && (new = old.swap old_name, new_name)
|
69
|
+
|
70
|
+
chunk.referee_name = chunk.replace_reference old_name, new_name
|
71
|
+
update_reference old.key, new.key
|
72
|
+
end
|
73
|
+
|
74
|
+
def update_reference old_key, new_key
|
75
|
+
Reference.where(referee_key: old_key).update_all referee_key: new_key
|
76
|
+
end
|
77
|
+
end;end;end;end;
|
78
|
+
# ~~ generated from /Users/ethan/dev/decko/gem/card/mod/core/set/all/reference_events.rb ~~
|
@@ -24,8 +24,8 @@ module ClassMethods
|
|
24
24
|
def real? mark
|
25
25
|
quick_fetch(mark).present?
|
26
26
|
end
|
27
|
-
|
28
|
-
|
27
|
+
alias_method :exist?, :real?
|
28
|
+
alias_method :exists?, :real?
|
29
29
|
|
30
30
|
def known? mark
|
31
31
|
fetch(mark).present?
|
@@ -78,8 +78,8 @@ def new?
|
|
78
78
|
new_record? || # not yet in db (from ActiveRecord)
|
79
79
|
!@from_trash.nil? # in process of restoration from trash
|
80
80
|
end
|
81
|
-
|
82
|
-
|
81
|
+
alias_method :new_card?, :new?
|
82
|
+
alias_method :unreal?, :new?
|
83
83
|
|
84
84
|
# has not been edited directly by human users. bleep blorp.
|
85
85
|
def pristine?
|
@@ -5,110 +5,10 @@ class Card; module Set; class All
|
|
5
5
|
module Subcards;
|
6
6
|
extend Card::Set
|
7
7
|
def self.source_location; "/Users/ethan/dev/decko/gem/card/mod/core/set/all/subcards.rb"; end
|
8
|
-
def field tag, opts={}
|
9
|
-
Card.fetch name.field(tag), opts
|
10
|
-
end
|
11
|
-
|
12
|
-
def subcard card_name
|
13
|
-
subcards.card card_name
|
14
|
-
end
|
15
|
-
|
16
|
-
def subfield field_name
|
17
|
-
subcards.field field_name
|
18
|
-
end
|
19
|
-
|
20
|
-
def field? tag
|
21
|
-
field(tag) || subfield(tag)
|
22
|
-
end
|
23
|
-
|
24
|
-
def subcards
|
25
|
-
@subcards ||= Card::Subcards.new self
|
26
|
-
end
|
27
|
-
|
28
|
-
def subcards?
|
29
|
-
subcards.present?
|
30
|
-
end
|
31
|
-
|
32
|
-
def expire_subcards
|
33
|
-
subcards.clear
|
34
|
-
end
|
35
|
-
|
36
|
-
# phase_method :attach_subcard, before: :store do |name_or_card, args=nil|
|
37
|
-
# TODO: handle differently in different stages
|
38
|
-
def add_subcard name_or_card, args={}
|
39
|
-
subcards.add name_or_card, args
|
40
|
-
end
|
41
|
-
alias_method :attach_subcard, :add_subcard
|
42
|
-
|
43
|
-
def add_subcard! name_or_card, args={}
|
44
|
-
subcard = subcards.add name_or_card, args
|
45
|
-
subcard.director.reset_stage
|
46
|
-
subcard
|
47
|
-
end
|
48
|
-
alias_method :attach_subcard!, :add_subcard!
|
49
|
-
|
50
|
-
# phase_method :attach_subfield, before: :approve do |name_or_card, args=nil|
|
51
|
-
def attach_subfield name_or_card, args={}
|
52
|
-
subcards.add_field name_or_card, args
|
53
|
-
end
|
54
|
-
alias_method :add_subfield, :attach_subfield
|
55
|
-
|
56
|
-
def attach_subfield! name_or_card, args={}
|
57
|
-
subcard = subcards.add_field name_or_card, args
|
58
|
-
subcard.director.reset_stage
|
59
|
-
subcard
|
60
|
-
end
|
61
|
-
|
62
|
-
def detach_subcard name_or_card
|
63
|
-
subcards.remove name_or_card
|
64
|
-
end
|
65
|
-
alias_method :remove_subcard, :detach_subcard
|
66
|
-
|
67
|
-
def detach_subfield name_or_card
|
68
|
-
subcards.remove_field name_or_card
|
69
|
-
end
|
70
|
-
alias_method :remove_subfield, :detach_subfield
|
71
|
-
|
72
|
-
def clear_subcards
|
73
|
-
subcards.clear
|
74
|
-
end
|
75
|
-
|
76
|
-
# ensures subfield is present
|
77
|
-
# does NOT override subfield content if already present
|
78
|
-
def ensure_subfield field_name, args={}
|
79
|
-
if subfield_present? field_name
|
80
|
-
subfield field_name
|
81
|
-
else
|
82
|
-
add_subfield field_name, args
|
83
|
-
end
|
84
|
-
end
|
85
|
-
|
86
|
-
def subfield_present? field_name
|
87
|
-
subfield(field_name)&.content&.present?
|
88
|
-
end
|
89
|
-
|
90
|
-
def deep_clear_subcards
|
91
|
-
subcards.deep_clear
|
92
|
-
end
|
93
|
-
|
94
|
-
def handle_subcard_errors
|
95
|
-
subcards.each do |subcard|
|
96
|
-
subcard.errors.each do |error|
|
97
|
-
subcard_error subcard, error
|
98
|
-
end
|
99
|
-
subcard.errors.clear
|
100
|
-
end
|
101
|
-
end
|
102
|
-
|
103
|
-
def subcard_error subcard, error
|
104
|
-
msg = error.message
|
105
|
-
msg = "#{error.attribute} #{msg}" unless %i[content abort].member? error.attribute
|
106
|
-
errors.add subcard.name.from(name), msg
|
107
|
-
end
|
108
|
-
|
109
8
|
event :reject_empty_subcards, :prepare_to_validate do
|
110
9
|
subcards.each_with_key do |subcard, key|
|
111
10
|
next unless subcard.new? && subcard.unfilled?
|
11
|
+
|
112
12
|
remove_subcard(key)
|
113
13
|
director.subdirectors.delete(subcard)
|
114
14
|
end
|
@@ -36,15 +36,17 @@ module ClassMethods
|
|
36
36
|
# TODO: handle cloud files
|
37
37
|
return unless dir
|
38
38
|
|
39
|
-
|
40
|
-
|
41
|
-
file_ids.each do |file_id|
|
42
|
-
next unless trashed_card_ids.member?(file_id)
|
43
|
-
raise Card::Error, tr(:exception_almost_deleted) if Card.exists?(file_id)
|
44
|
-
::FileUtils.rm_rf "#{dir}/#{file_id}", secure: true
|
39
|
+
(all_trashed_card_ids & all_file_ids).each do |file_id|
|
40
|
+
delete_files_with_id file_id
|
45
41
|
end
|
46
42
|
end
|
47
43
|
|
44
|
+
def delete_files_with_id file_id
|
45
|
+
raise Card::Error, t(:core_exception_almost_deleted) if Card.exists?(file_id)
|
46
|
+
|
47
|
+
::FileUtils.rm_rf "#{dir}/#{file_id}", secure: true
|
48
|
+
end
|
49
|
+
|
48
50
|
def all_file_ids
|
49
51
|
dir = Card.paths["files"].existent.first
|
50
52
|
Dir.entries(dir)[2..-1].map(&:to_i)
|
@@ -57,6 +59,10 @@ module ClassMethods
|
|
57
59
|
end
|
58
60
|
end
|
59
61
|
|
62
|
+
# def trash?
|
63
|
+
# trash
|
64
|
+
# end
|
65
|
+
|
60
66
|
def delete args={}
|
61
67
|
add_to_trash args do |delete_args|
|
62
68
|
update delete_args
|
@@ -71,6 +77,7 @@ end
|
|
71
77
|
|
72
78
|
def add_to_trash args
|
73
79
|
return if new_card?
|
80
|
+
|
74
81
|
yield args.merge trash: true
|
75
82
|
end
|
76
83
|
|
@@ -83,6 +90,7 @@ end
|
|
83
90
|
def pull_from_trash!
|
84
91
|
return unless (id = Card::Lexicon.id key) # name is already known
|
85
92
|
return unless (trashed_card = Card.where(id: id).take)&.trash
|
93
|
+
|
86
94
|
# confirm name is actually in trash
|
87
95
|
|
88
96
|
db_attributes["id"] = trashed_card.db_attributes["id"]
|
@@ -98,28 +106,26 @@ end
|
|
98
106
|
|
99
107
|
event :validate_delete, :validate, on: :delete do
|
100
108
|
unless codename.blank?
|
101
|
-
errors.add :delete,
|
109
|
+
errors.add :delete, t(:core_error_system_card, name: name, codename: codename)
|
102
110
|
end
|
103
111
|
|
104
112
|
undeletable_all_rules_tags =
|
105
113
|
%w[default style layout create read update delete]
|
106
114
|
# FIXME: HACK! should be configured in the rule
|
107
115
|
|
108
|
-
if
|
116
|
+
if compound? && left&.codename == :all &&
|
109
117
|
undeletable_all_rules_tags.member?(right.codename.to_s)
|
110
|
-
errors.add :delete,
|
118
|
+
errors.add :delete, t(:core_error_indestructible, name: name)
|
111
119
|
end
|
112
120
|
|
113
|
-
errors.add :delete,
|
121
|
+
errors.add :delete, t(:core_error_user_edits, name: name) if account && has_edits?
|
114
122
|
end
|
115
123
|
|
116
124
|
event :validate_delete_children, after: :validate_delete, on: :delete do
|
117
125
|
return if errors.any?
|
118
|
-
each_child do |child|
|
119
|
-
next unless child
|
120
|
-
# prevents errors in cases where a child is deleted prior to this point
|
121
|
-
# and thus is not returned by the fetch in #children
|
122
126
|
|
127
|
+
each_child do |child|
|
128
|
+
child.include_set_modules
|
123
129
|
delete_as_subcard child
|
124
130
|
# next if child.valid?
|
125
131
|
# child.errors.each do |field, message|
|
@@ -5,7 +5,6 @@ class Card; module Set; class All
|
|
5
5
|
module Type;
|
6
6
|
extend Card::Set
|
7
7
|
def self.source_location; "/Users/ethan/dev/decko/gem/card/mod/core/set/all/type.rb"; end
|
8
|
-
|
9
8
|
module ClassMethods
|
10
9
|
def default_type_id
|
11
10
|
@@default_type_id ||= Card[:all].fetch(:default, skip_modules: true).type_id
|
@@ -14,6 +13,7 @@ end
|
|
14
13
|
|
15
14
|
def type_card
|
16
15
|
return if type_id.nil?
|
16
|
+
|
17
17
|
Card.quick_fetch type_id.to_i
|
18
18
|
end
|
19
19
|
|
@@ -36,7 +36,7 @@ def type_cardname
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def type= type_name
|
39
|
-
self.type_id =
|
39
|
+
self.type_id = type_name.card_id
|
40
40
|
end
|
41
41
|
|
42
42
|
def type_id= card_or_id
|
@@ -45,25 +45,25 @@ end
|
|
45
45
|
|
46
46
|
def type_id_from_template
|
47
47
|
return unless name && (t = template)
|
48
|
+
|
48
49
|
reset_patterns # still necessary even with new template handling?
|
49
50
|
self.type_id = t.type_id
|
50
51
|
end
|
51
52
|
|
52
53
|
event :validate_type_change, :validate, on: :update, changed: :type_id do
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
end
|
54
|
+
return unless (c = dup) && c.action == :create && !c.valid?
|
55
|
+
|
56
|
+
errors.add :type, t(:core_error_cant_change_errors,
|
57
|
+
name: name,
|
58
|
+
type_id: type_id,
|
59
|
+
error_messages: c.errors.full_messages)
|
60
60
|
end
|
61
61
|
|
62
62
|
event :validate_type, :validate, changed: :type_id, on: :save do
|
63
|
-
errors.add :type,
|
63
|
+
errors.add :type, t(:core_error_no_such_type) unless type_name
|
64
64
|
|
65
65
|
if (rt = structure) && rt.assigns_type? && type_id != rt.type_id
|
66
|
-
errors.add :type,
|
66
|
+
errors.add :type, t(:core_error_hard_templated, name: name, type_name: rt.type_name)
|
67
67
|
end
|
68
68
|
end
|
69
69
|
end;end;end;end;
|
@@ -48,7 +48,7 @@ module ClassMethods
|
|
48
48
|
|
49
49
|
def resolve_file_attributes! attribs
|
50
50
|
%i[image file].each do |attach|
|
51
|
-
next unless attribs[attach]
|
51
|
+
next unless attribs[attach].is_a?(String)
|
52
52
|
|
53
53
|
attribs[attach] = ::File.open(attribs[attach])
|
54
54
|
end
|
@@ -94,7 +94,10 @@ def mod_root modname
|
|
94
94
|
end
|
95
95
|
end
|
96
96
|
|
97
|
+
delegate :t, to: Cardio
|
98
|
+
|
97
99
|
module Format; module_parent.send :register_set_format, Card::Format, self; extend Card::Set::AbstractFormat
|
100
|
+
delegate :t, to: Cardio
|
98
101
|
delegate :measure, to: :card
|
99
102
|
end
|
100
103
|
end;end;end;end;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
class Card; module Set; class Right
|
3
|
+
# Set: All "+Autoname" cards
|
4
|
+
#
|
5
|
+
module Autoname;
|
6
|
+
extend Card::Set
|
7
|
+
def self.source_location; "/Users/ethan/dev/decko/gem/card/mod/core/set/right/autoname.rb"; end
|
8
|
+
def history?
|
9
|
+
false
|
10
|
+
end
|
11
|
+
end;end;end;end;
|
12
|
+
# ~~ generated from /Users/ethan/dev/decko/gem/card/mod/core/set/right/autoname.rb ~~
|
@@ -4,9 +4,9 @@ class Card; module Set; class Self
|
|
4
4
|
#
|
5
5
|
module Autoname;
|
6
6
|
extend Card::Set
|
7
|
-
def self.source_location; "/Users/ethan/dev/decko/gem/card/mod/
|
7
|
+
def self.source_location; "/Users/ethan/dev/decko/gem/card/mod/core/set/self/autoname.rb"; end
|
8
8
|
setting_opts group: :templating, position: 4,
|
9
9
|
help_text: "Autogenerate name for new cards by incrementing this value. "\
|
10
10
|
"[[http://decko.org/autonaming|more]]"
|
11
11
|
end;end;end;end;
|
12
|
-
# ~~ generated from /Users/ethan/dev/decko/gem/card/mod/
|
12
|
+
# ~~ generated from /Users/ethan/dev/decko/gem/card/mod/core/set/self/autoname.rb ~~
|
@@ -4,7 +4,7 @@ class Card; module Set; class Self
|
|
4
4
|
#
|
5
5
|
module Trash;
|
6
6
|
extend Card::Set
|
7
|
-
def self.source_location; "/Users/ethan/dev/decko/gem/card/mod/
|
7
|
+
def self.source_location; "/Users/ethan/dev/decko/gem/card/mod/core/set/self/trash.rb"; end
|
8
8
|
module HtmlFormat; module_parent.send :register_set_format, Card::Format::HtmlFormat, self; extend Card::Set::AbstractFormat
|
9
9
|
view :core do
|
10
10
|
rows = trashed_cards.map { |tc| trash_table_row(tc) }
|
@@ -31,6 +31,7 @@ module HtmlFormat; module_parent.send :register_set_format, Card::Format::HtmlFo
|
|
31
31
|
def restored
|
32
32
|
return unless (res_id = Env.params[:restore]) &&
|
33
33
|
(res_card = Card[res_id.to_i])
|
34
|
+
|
34
35
|
alert :success, true do
|
35
36
|
wrap_with(:h5, "restored") + subformat(res_card).render_bar
|
36
37
|
end
|
@@ -42,7 +43,7 @@ module HtmlFormat; module_parent.send :register_set_format, Card::Format::HtmlFo
|
|
42
43
|
button_link("empty trash",
|
43
44
|
btn_type: :default,
|
44
45
|
path: { mark: :admin, action: :update, task: :empty_trash,
|
45
|
-
success: {
|
46
|
+
success: { mark: "~#{card.id}" } },
|
46
47
|
"data-confirm" => "Are you sure you want to delete "\
|
47
48
|
"all cards in the trash?")
|
48
49
|
)
|
@@ -65,8 +66,8 @@ module HtmlFormat; module_parent.send :register_set_format, Card::Format::HtmlFo
|
|
65
66
|
action: :update,
|
66
67
|
restore: trashed_card.id,
|
67
68
|
action_ids: [before_delete],
|
68
|
-
success: {
|
69
|
+
success: { mark: "~#{card.id}" } }
|
69
70
|
end
|
70
71
|
end
|
71
72
|
end;end;end;end;
|
72
|
-
# ~~ generated from /Users/ethan/dev/decko/gem/card/mod/
|
73
|
+
# ~~ generated from /Users/ethan/dev/decko/gem/card/mod/core/set/self/trash.rb ~~
|
@@ -3,11 +3,9 @@ class Card; module Set; class Self
|
|
3
3
|
# Set: The card "Version"
|
4
4
|
#
|
5
5
|
# -*- encoding : utf-8 -*-
|
6
|
-
|
7
6
|
module Version;
|
8
7
|
extend Card::Set
|
9
8
|
def self.source_location; "/Users/ethan/dev/decko/gem/card/mod/core/set/self/version.rb"; end
|
10
|
-
# require "card/version"
|
11
9
|
|
12
10
|
def ok_to_read
|
13
11
|
true
|
@@ -16,7 +14,5 @@ end
|
|
16
14
|
def content
|
17
15
|
Card::Version.release
|
18
16
|
end
|
19
|
-
|
20
|
-
# view :core, :raw
|
21
17
|
end;end;end;end;
|
22
18
|
# ~~ generated from /Users/ethan/dev/decko/gem/card/mod/core/set/self/version.rb ~~
|