card 1.104.2 → 1.105.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -6
- data/VERSION +1 -1
- data/config/environments/development.rb +1 -1
- data/config/environments/test.rb +1 -0
- data/config/initializers/01_core_extensions/object.rb +10 -0
- data/config/initializers/01_core_extensions/string.rb +9 -0
- data/config/initializers/core_extensions.rb +1 -0
- data/db/migrate/{20160122153608_new_indeces.rb → 20160122153608_new_indices.rb} +2 -2
- data/db/migrate/{20200805200729_add_unique_pair_indeces.rb → 20200805200729_add_unique_pair_indices.rb} +1 -1
- data/db/migrate/20221031182227_remove_referee_key_requirement.rb +11 -0
- data/db/migrate_core_cards/20130920291703_update_stylesheets.rb +1 -9
- data/db/migrate_core_cards/20140307231621_user_data_to_cards.rb +1 -38
- data/db/migrate_core_cards/20161103154836_update_keys.rb +1 -1
- data/db/migrate_core_cards/20180905061537_migrate_layouts.rb +1 -1
- data/db/migrate_core_cards/20190125125150_add_script_rules_card.rb +1 -1
- data/db/migrate_core_cards/20190320091257_upgrade_recaptcha_to_v3.rb +1 -1
- data/db/migrate_core_cards/20190502130029_add_shark_and_help_desk_role.rb +2 -20
- data/db/migrate_core_cards/20190528131330_enabled_roles.rb +0 -3
- data/db/migrate_core_cards/20190625153616_pointer_overhaul.rb +0 -2
- data/db/migrate_core_cards/20190718140126_add_guides.rb +1 -1
- data/db/migrate_core_cards/20190822093633_move_help_text_to_code.rb +1 -1
- data/db/migrate_core_cards/20190829205148_remove_add_help.rb +1 -1
- data/db/migrate_core_cards/20190902193208_input_type.rb +1 -1
- data/db/migrate_core_cards/20190909104250_add_cardtype_input_types.rb +2 -2
- data/db/schema.rb +2 -2
- data/db/seeds.rb +14 -1
- data/db/version.txt +1 -1
- data/lib/card/auth/current.rb +4 -2
- data/lib/card/auth/permissions.rb +1 -1
- data/lib/card/auth/setup.rb +1 -1
- data/lib/card/auth/token.rb +1 -1
- data/lib/card/cache/persistent.rb +4 -1
- data/lib/card/codename.rb +2 -6
- data/lib/card/content/all.rb +2 -2
- data/lib/card/content/clean.rb +1 -1
- data/lib/card/content/parser.rb +0 -2
- data/lib/card/content.rb +1 -8
- data/lib/card/director/all.rb +67 -0
- data/lib/card/director/card_class.rb +158 -2
- data/lib/card/director/{act_direction.rb → class_methods.rb} +13 -3
- data/lib/card/director/phases.rb +7 -4
- data/lib/card/director/run.rb +51 -50
- data/lib/card/director/stages.rb +18 -16
- data/lib/card/director/store.rb +1 -1
- data/lib/card/director.rb +6 -7
- data/lib/card/env/location.rb +1 -1
- data/lib/card/env/serializable.rb +2 -0
- data/lib/card/env/serialization.rb +2 -3
- data/lib/card/env.rb +2 -2
- data/lib/card/error.rb +9 -5
- data/lib/card/format/error.rb +6 -12
- data/lib/card/format/nest.rb +1 -1
- data/lib/card/format/wrapper.rb +1 -1
- data/lib/card/format.rb +4 -0
- data/lib/card/model/save_helper/save_arguments.rb +0 -44
- data/lib/card/model/save_helper/save_helper_helper.rb +0 -37
- data/lib/card/model/save_helper.rb +0 -82
- data/lib/card/name/all.rb +1 -4
- data/lib/card/name/card_class.rb +0 -2
- data/lib/card/name/name_variants.rb +4 -0
- data/lib/card/name.rb +0 -5
- data/lib/card/query/abstract_query/query_helper.rb +3 -5
- data/lib/card/query/abstract_query/tie.rb +1 -1
- data/lib/card/query/abstract_query.rb +36 -17
- data/lib/card/query/card_class.rb +36 -0
- data/lib/card/query/card_query/custom.rb +12 -0
- data/lib/card/query/card_query/interpretation.rb +1 -0
- data/lib/card/query/card_query/normalization.rb +11 -3
- data/lib/card/query/card_query/reference_attributes.rb +3 -2
- data/lib/card/query/card_query/sorting.rb +5 -4
- data/lib/card/query/card_query.rb +1 -0
- data/lib/card/query/sql_statement/order.rb +12 -10
- data/lib/card/query/sql_statement/where.rb +2 -2
- data/lib/card/query.rb +5 -1
- data/lib/card/reference/all.rb +10 -10
- data/lib/card/set/advanced_api.rb +1 -1
- data/lib/card/set/event/all.rb +9 -1
- data/lib/card/set/event/delayed_event.rb +4 -2
- data/lib/card/set/event/options.rb +1 -1
- data/lib/card/set/event/skip_and_trigger.rb +34 -10
- data/lib/card/set/format/abstract_format/haml_views.rb +3 -3
- data/lib/card/set/format/abstract_format.rb +1 -1
- data/lib/card/set/format/haml_paths.rb +5 -21
- data/lib/card/set/inheritance.rb +4 -4
- data/lib/card/set/pattern/all.rb +1 -1
- data/lib/card/set/pattern/base.rb +1 -1
- data/lib/card/set/pattern/class_methods.rb +4 -4
- data/lib/card/set/trait.rb +1 -1
- data/lib/card/set/type.rb +0 -41
- data/lib/card/setting.rb +0 -1
- data/lib/card/subcards/all.rb +6 -8
- data/lib/card/subcards/args.rb +9 -9
- data/lib/card/view/cache/cache_action.rb +1 -1
- data/lib/card/view/options/visibility.rb +4 -0
- data/lib/card/view/options.rb +1 -0
- data/lib/card/view/permission.rb +12 -4
- data/lib/card/view.rb +4 -0
- data/lib/card.rb +18 -27
- data/lib/cardio/cli.rb +3 -1
- data/lib/cardio/command/application.rb +5 -0
- data/lib/cardio/{commands/command.rb → command/command_base.rb} +2 -2
- data/lib/cardio/{commands → command}/custom.rb +16 -13
- data/lib/cardio/{commands → command}/rake_command/parser.rb +3 -3
- data/lib/cardio/{commands → command}/rake_command.rb +4 -4
- data/lib/cardio/{commands → command}/rspec_command/parser.rb +2 -2
- data/lib/cardio/{commands → command}/rspec_command.rb +7 -9
- data/lib/cardio/command.rb +129 -0
- data/lib/cardio/commands.rb +17 -116
- data/lib/cardio/generators/deck_generator_loader.rb +1 -0
- data/lib/cardio/generators.rb +2 -2
- data/lib/cardio/migration.rb +3 -53
- data/lib/cardio/mod/class_methods.rb +26 -22
- data/lib/cardio/mod/dirs.rb +29 -22
- data/lib/cardio/mod/eat/edibles.rb +22 -15
- data/lib/cardio/mod/eat.rb +18 -14
- data/lib/cardio/mod/load_strategy/set_tmp_files.rb +1 -1
- data/lib/cardio/mod/load_strategy.rb +12 -2
- data/lib/cardio/mod/modfile_api.rb +18 -18
- data/lib/cardio/mod/{poop.rb → sow.rb} +10 -18
- data/lib/cardio/mod.rb +21 -30
- data/lib/cardio/railtie.rb +19 -56
- data/lib/cardio/schema.rb +2 -1
- data/lib/cardio/script_loader.rb +3 -1
- data/lib/cardio/seed.rb +101 -8
- data/lib/cardio/utils.rb +39 -1
- data/lib/generators/deck/deck_generator.rb +5 -2
- data/lib/generators/deck/templates/config/puma.rb +1 -1
- data/lib/generators/deck/templates/script/decko_rspec +1 -1
- data/lib/generators/deck/templates/simplecov.rb.erb +10 -8
- data/lib/generators/mod/USAGE +1 -1
- data/lib/generators/set/USAGE +2 -2
- data/mod/core/data/fixtures/real/card_actions.yml +78 -0
- data/{db/seed/new → mod/core/data/fixtures/real}/card_acts.yml +2 -2
- data/{db/seed/new → mod/core/data/fixtures/real}/card_changes.yml +0 -0
- data/mod/core/data/fixtures/real/card_references.yml +8 -0
- data/mod/core/data/fixtures/real/cards.yml +135 -0
- data/{db/seed/new → mod/core/data/fixtures/real}/schema_migrations.yml +0 -0
- data/{db/seed/new → mod/core/data/fixtures/real}/schema_migrations_core_cards.yml +0 -0
- data/{db/seed/new → mod/core/data/fixtures/real}/schema_migrations_deck.yml +0 -0
- data/{db/seed/new → mod/core/data/fixtures/real}/schema_migrations_deck_cards.yml +0 -0
- data/mod/core/data/real.yml +79 -0
- data/mod/core/data/test/cardtype.yml +38 -0
- data/mod/core/data/test/sample.yml +50 -0
- data/mod/core/data/test/user.yml +41 -0
- data/mod/core/data/test.yml +79 -28
- data/mod/core/lib/tasks/card/assets.rake +17 -0
- data/{lib → mod/core/lib}/tasks/card/create.rake +0 -0
- data/{lib → mod/core/lib}/tasks/card/migrate.rake +4 -0
- data/{lib → mod/core/lib}/tasks/card/mod.rake +4 -3
- data/mod/core/lib/tasks/card/seed.rake +58 -0
- data/mod/core/lib/tasks/card.rake +115 -0
- data/mod/core/locales/de.yml +4 -0
- data/mod/core/locales/en.yml +13 -0
- data/mod/core/set/all/admin.rb +14 -0
- data/mod/core/set/all/codename.rb +4 -0
- data/mod/core/set/all/content.rb +8 -4
- data/mod/core/set/all/{abort.rb → result.rb} +11 -15
- data/mod/core/set/all/states.rb +15 -1
- data/mod/core/set/all/trash.rb +25 -73
- data/mod/core/set/all/type.rb +2 -2
- data/mod/core/set/all/utils.rb +3 -87
- data/mod/core/set/right/autoname.rb +2 -0
- data/mod/core/set/self/admin/warning_alert.haml +3 -0
- data/mod/core/set/self/admin.rb +173 -0
- data/mod/core/set/type/cardtype.rb +2 -0
- data/mod/core/set_pattern/02_all_plus.rb +1 -1
- data/mod/core/set_pattern/05_rstar.rb +1 -1
- data/mod/core/set_pattern/06_rule.rb +1 -1
- data/mod/core/set_pattern/07_right.rb +1 -1
- data/mod/core/set_pattern/08_type_plus_right.rb +1 -1
- data/mod/core/spec/set/all/assign_attributes_spec.rb +3 -3
- data/mod/core/spec/set/all/autoname_spec.rb +25 -0
- data/mod/core/spec/set/all/codename_spec.rb +1 -1
- data/mod/core/spec/set/all/name_events_spec.rb +43 -66
- data/mod/core/spec/set/all/trash_spec.rb +149 -68
- data/mod/{admin → core}/spec/set/self/admin_spec.rb +25 -22
- data/mod/core/spec/set/self/trash_spec.rb +5 -0
- metadata +88 -251
- data/db/migrate_core_cards/20130411211600_delete_old_related_tab_cards.rb +0 -18
- data/db/migrate_core_cards/20130419215612_import_help_text.rb +0 -13
- data/db/migrate_core_cards/20130823192433_add_style_cards.rb +0 -100
- data/db/migrate_core_cards/20130910183318_move_styles_to_content.rb +0 -11
- data/db/migrate_core_cards/20130927191728_account_events.rb +0 -20
- data/db/migrate_core_cards/20131016172445_common_css_patch.rb +0 -9
- data/db/migrate_core_cards/20140110193325_reset_account_request_type.rb +0 -8
- data/db/migrate_core_cards/20140512155840_add_script_cards.rb +0 -86
- data/db/migrate_core_cards/20140629222005_add_email_cards.rb +0 -132
- data/db/migrate_core_cards/20140725180118_config_card_updates.rb +0 -9
- data/db/migrate_core_cards/20141111083921_delete_machine_output.rb +0 -7
- data/db/migrate_core_cards/20141115034214_config_descriptions_etc.rb +0 -14
- data/db/migrate_core_cards/20141119001955_make_symlinks_relative.rb +0 -15
- data/db/migrate_core_cards/20141120120605_fix_notification_html_message.rb +0 -10
- data/db/migrate_core_cards/20141216155251_add_more_following_cards.rb +0 -26
- data/db/migrate_core_cards/20141230204340_uri_codename.rb +0 -13
- data/db/migrate_core_cards/20150202143810_import_bootstrap_layout.rb +0 -76
- data/db/migrate_core_cards/20150317162412_bootstrap_themes.rb +0 -41
- data/db/migrate_core_cards/20150326205655_bootswatch_themes.rb +0 -36
- data/db/migrate_core_cards/20150331135745_new_card_menu.rb +0 -8
- data/db/migrate_core_cards/20150501010515_responsive_sidebar.rb +0 -11
- data/db/migrate_core_cards/20150508212032_menu_compatibility.rb +0 -24
- data/db/migrate_core_cards/20150528084659_add_session_cardtype.rb +0 -18
- data/db/migrate_core_cards/20150601133433_add_recent_setting_session_card.rb +0 -18
- data/db/migrate_core_cards/20150610171702_add_debugger_session_card.rb +0 -12
- data/db/migrate_core_cards/20150610180019_add_recaptcha_key_and_admin_info_cards.rb +0 -58
- data/db/migrate_core_cards/20150627205133_fix_script_bootstrap_card_type.rb +0 -7
- data/db/migrate_core_cards/20150702130543_remove_edit_toolbar_pinned.rb +0 -9
- data/db/migrate_core_cards/20150708224756_add_list_cards.rb +0 -29
- data/db/migrate_core_cards/20150903130006_attachment_upload_cards.rb +0 -15
- data/db/migrate_core_cards/20150910085603_remove_performance_log_card.rb +0 -10
- data/db/migrate_core_cards/20151120180631_add_token_expiration.rb +0 -7
- data/db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb +0 -10
- data/db/migrate_core_cards/20160804112510_reorganize_scripts.rb +0 -27
- data/db/migrate_core_cards/20160908154210_add_trash_card.rb +0 -7
- data/db/migrate_core_cards/20161102202156_tweak_recaptcha_setting_cards.rb +0 -17
- data/db/migrate_core_cards/20170209132834_email_test_context.rb +0 -49
- data/db/migrate_core_cards/20170314175313_add_notification_event_card.rb +0 -20
- data/db/migrate_core_cards/20170515101262_add_advanced_edit_cards.rb +0 -20
- data/db/migrate_core_cards/20170608083819_add_full_width_layout_card.rb +0 -23
- data/db/migrate_core_cards/20170608200649_add_input_options_codename.rb +0 -8
- data/db/migrate_core_cards/20180423120222_add_mod_styles_card.rb +0 -20
- data/db/migrate_core_cards/20180508210903_add_json_type.rb +0 -10
- data/db/migrate_core_cards/20180515175726_add_codenames.rb +0 -8
- data/db/migrate_core_cards/20180712042655_head_rule.rb +0 -13
- data/db/migrate_core_cards/20181120200937_update_layout.rb +0 -7
- data/db/migrate_core_cards/20190204195039_add_rule_card.rb +0 -10
- data/db/migrate_core_cards/20190321085735_wagn_to_decko_logo.rb +0 -11
- data/db/migrate_core_cards/20190417142612_reorganize_scripts_2.rb +0 -17
- data/db/migrate_core_cards/20190424100531_update_credit_image.rb +0 -76
- data/db/migrate_core_cards/20190424101004_add_read_anyone_rules.rb +0 -13
- data/db/migrate_core_cards/20190503122739_update_pristine_data.rb +0 -18
- data/db/migrate_core_cards/20190605133556_tweak_config_cards.rb +0 -10
- data/db/migrate_core_cards/20190618110446_add_dropdown_divider.rb +0 -8
- data/db/migrate_core_cards/20190621143156_add_role_assign_permissions.rb +0 -9
- data/db/migrate_core_cards/20190710090209_homepage_tweaks.rb +0 -13
- data/db/migrate_core_cards/20190820155833_update_cardtype_type_structure.rb +0 -7
- data/db/migrate_core_cards/20190823220018_cleanup_for_decko_1_0.rb +0 -19
- data/db/migrate_core_cards/20190826132738_add_more_guides.rb +0 -7
- data/db/migrate_core_cards/20190829093961_cardtype_grouping.rb +0 -16
- data/db/migrate_core_cards/20190830131820_setting_settings_aside.rb +0 -17
- data/db/migrate_core_cards/20190902161223_add_style_media.rb +0 -7
- data/db/migrate_core_cards/20190918200115_ensure_description_card.rb +0 -13
- data/db/migrate_core_cards/20191008201046_fixture_fix.rb +0 -11
- data/db/migrate_core_cards/20191028135243_add_link_editor_to_tiny_mce_config.rb +0 -9
- data/db/migrate_core_cards/20191118145629_codename_fixes.rb +0 -5
- data/db/migrate_core_cards/20200821231558_add_nest_list_type.rb +0 -9
- data/db/migrate_core_cards/data/1.11_help_text.json +0 -410
- data/db/migrate_core_cards/data/1.12_stylesheets/classic_cards.scss +0 -104
- data/db/migrate_core_cards/data/1.12_stylesheets/common.scss +0 -228
- data/db/migrate_core_cards/data/1.12_stylesheets/right_sidebar.scss +0 -27
- data/db/migrate_core_cards/data/1.12_stylesheets/traditional.scss +0 -143
- data/db/migrate_core_cards/data/1.13_config_text.json +0 -32
- data/db/migrate_core_cards/data/1.14_config_descriptions_etc.json +0 -77
- data/db/migrate_core_cards/data/bootstrap_layout.json +0 -96
- data/db/migrate_core_cards/data/cards/Xaccount +0 -22
- data/db/migrate_core_cards/data/cards/Xaccount_setting-Xright-Xstructure +0 -12
- data/db/migrate_core_cards/data/cards/Xall-Xlayout +0 -1
- data/db/migrate_core_cards/data/cards/Xcredit +0 -2
- data/db/migrate_core_cards/data/cards/Xfooter +0 -3
- data/db/migrate_core_cards/data/cards/Xgetting_started +0 -31
- data/db/migrate_core_cards/data/cards/Xgetting_started-shark +0 -66
- data/db/migrate_core_cards/data/cards/Xgetting_started_link +0 -6
- data/db/migrate_core_cards/data/cards/Xheader +0 -19
- data/db/migrate_core_cards/data/cards/Xhome +0 -1
- data/db/migrate_core_cards/data/cards/Xlogo +0 -1
- data/db/migrate_core_cards/data/cards/Xmain_menu +0 -2
- data/db/migrate_core_cards/data/cards/Xrecaptcha_setting-Xself-Xstructure +0 -1
- data/db/migrate_core_cards/data/cards/Xsidebar +0 -7
- data/db/migrate_core_cards/data/cards/Xstructure-Xright-Xguide +0 -12
- data/db/migrate_core_cards/data/cards/Xtitle +0 -1
- data/db/migrate_core_cards/data/cards/administrator-dashboard +0 -23
- data/db/migrate_core_cards/data/cards/administrator-description +0 -1
- data/db/migrate_core_cards/data/cards/anyone_signed_in-dashboard +0 -0
- data/db/migrate_core_cards/data/cards/cardtype-Xtype-Xguide +0 -24
- data/db/migrate_core_cards/data/cards/cardtype-Xtype-Xstructure +0 -3
- data/db/migrate_core_cards/data/cards/default_layout +0 -6
- data/db/migrate_core_cards/data/cards/full_width_layout +0 -5
- data/db/migrate_core_cards/data/cards/help_desk-dashboard +0 -7
- data/db/migrate_core_cards/data/cards/help_desk-description +0 -1
- data/db/migrate_core_cards/data/cards/home +0 -2
- data/db/migrate_core_cards/data/cards/home-Xself-Xlayout +0 -1
- data/db/migrate_core_cards/data/cards/home-original +0 -22
- data/db/migrate_core_cards/data/cards/home_layout +0 -6
- data/db/migrate_core_cards/data/cards/left_sidebar_layout +0 -6
- data/db/migrate_core_cards/data/cards/menu +0 -1
- data/db/migrate_core_cards/data/cards/right_thin_sidebar_layout +0 -8
- data/db/migrate_core_cards/data/cards/role-Xtype-Xstructure +0 -2
- data/db/migrate_core_cards/data/cards/shark-dashboard +0 -19
- data/db/migrate_core_cards/data/cards/shark-description +0 -1
- data/db/migrate_core_cards/data/cards/shark_menu +0 -2
- data/db/migrate_core_cards/data/cards.yml +0 -138
- data/db/migrate_core_cards/data/decko_logo.svg +0 -1
- data/db/migrate_core_cards/data/mailer/follower_notification_email.html +0 -9
- data/db/migrate_core_cards/data/mailer/follower_notification_email.txt +0 -11
- data/db/migrate_core_cards/data/mailer/mail_config.json +0 -22
- data/db/migrate_core_cards/data/mailer/password_reset_email.html +0 -13
- data/db/migrate_core_cards/data/mailer/password_reset_email.txt +0 -11
- data/db/migrate_core_cards/data/mailer/signup_alert_email.html +0 -7
- data/db/migrate_core_cards/data/mailer/signup_alert_email.txt +0 -5
- data/db/migrate_core_cards/data/mailer/verification_email.html +0 -12
- data/db/migrate_core_cards/data/mailer/verification_email.txt +0 -9
- data/db/migrate_core_cards/data/skin_images.json +0 -91
- data/db/migrate_core_cards/data/themes/bootstrap_default/_bootswatch.scss +0 -0
- data/db/migrate_core_cards/data/themes/bootstrap_default/_variables.scss +0 -867
- data/db/migrate_core_cards/data/themes/cerulean/_bootswatch.scss +0 -125
- data/db/migrate_core_cards/data/themes/cerulean/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/cosmo/_bootswatch.scss +0 -237
- data/db/migrate_core_cards/data/themes/cosmo/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/cyborg/_bootswatch.scss +0 -210
- data/db/migrate_core_cards/data/themes/cyborg/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/darkly/_bootswatch.scss +0 -330
- data/db/migrate_core_cards/data/themes/darkly/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/flatly/_bootswatch.scss +0 -313
- data/db/migrate_core_cards/data/themes/flatly/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/journal/_bootswatch.scss +0 -120
- data/db/migrate_core_cards/data/themes/journal/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/lumen/_bootswatch.scss +0 -496
- data/db/migrate_core_cards/data/themes/lumen/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/paper/_bootswatch.scss +0 -607
- data/db/migrate_core_cards/data/themes/paper/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/readable/_bootswatch.scss +0 -174
- data/db/migrate_core_cards/data/themes/readable/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/sandstone/_bootswatch.scss +0 -194
- data/db/migrate_core_cards/data/themes/sandstone/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/simplex/_bootswatch.scss +0 -142
- data/db/migrate_core_cards/data/themes/simplex/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/slate/_bootswatch.scss +0 -417
- data/db/migrate_core_cards/data/themes/slate/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/spacelab/_bootswatch.scss +0 -137
- data/db/migrate_core_cards/data/themes/spacelab/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/superhero/_bootswatch.scss +0 -332
- data/db/migrate_core_cards/data/themes/superhero/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/united/_bootswatch.scss +0 -42
- data/db/migrate_core_cards/data/themes/united/_variables.scss +0 -861
- data/db/migrate_core_cards/data/themes/yeti/_bootswatch.scss +0 -437
- data/db/migrate_core_cards/data/themes/yeti/_variables.scss +0 -861
- data/db/seed/README.md +0 -2
- data/db/seed/new/card_actions.yml +0 -5913
- data/db/seed/new/card_references.yml +0 -6532
- data/db/seed/new/cards.yml +0 -14595
- data/db/seed/test/fixtures/card_actions.yml +0 -8153
- data/db/seed/test/fixtures/card_acts.yml +0 -1039
- data/db/seed/test/fixtures/card_changes.yml +0 -230
- data/db/seed/test/fixtures/card_references.yml +0 -8471
- data/db/seed/test/fixtures/cards.yml +0 -20171
- data/db/seed/test/fixtures/file1.txt +0 -1
- data/db/seed/test/fixtures/file2.txt +0 -1
- data/db/seed/test/fixtures/mao2.jpg +0 -0
- data/db/seed/test/fixtures/rails.gif +0 -0
- data/db/seed/test/fixtures/schema_migrations.yml +0 -67
- data/db/seed/test/fixtures/schema_migrations_core_cards.yml +0 -347
- data/db/seed/test/fixtures/schema_migrations_deck.yml +0 -1
- data/db/seed/test/fixtures/schema_migrations_deck_cards.yml +0 -5
- data/db/test_seed.rb +0 -322
- data/lib/card/content/truncate.rb +0 -67
- data/lib/card/director/card_methods.rb +0 -45
- data/lib/card/file_card_creator/abstract_file_card/migration_file.rb +0 -50
- data/lib/card/file_card_creator/abstract_file_card/ruby_file.rb +0 -30
- data/lib/card/file_card_creator/abstract_file_card/source_file.rb +0 -36
- data/lib/card/file_card_creator/abstract_file_card.rb +0 -44
- data/lib/card/file_card_creator/haml_card.rb +0 -42
- data/lib/card/file_card_creator/output_helper.rb +0 -53
- data/lib/card/file_card_creator/script_card.rb +0 -35
- data/lib/card/file_card_creator/style_card.rb +0 -25
- data/lib/card/file_card_creator.rb +0 -25
- data/lib/card/name/fields_and_traits.rb +0 -42
- data/lib/cardio/commands/application.rb +0 -10
- data/lib/cardio/migration/import/import_data/card_attributes.rb +0 -64
- data/lib/cardio/migration/import/import_data/card_content.rb +0 -30
- data/lib/cardio/migration/import/import_data.rb +0 -119
- data/lib/cardio/migration/import/merger.rb +0 -46
- data/lib/cardio/migration/import.rb +0 -125
- data/lib/tasks/card.rake +0 -65
- data/mod/admin/locales/de.yml +0 -4
- data/mod/admin/locales/en.yml +0 -4
- data/mod/admin/set/all/admin.rb +0 -16
- data/mod/admin/set/self/admin.rb +0 -144
- data/mod/admin/set/self/admin_info.rb +0 -40
- data/mod/admin/set/self/debugger.rb +0 -3
- data/mod/admin/spec/set/self/admin_info_spec.rb +0 -9
- data/mod/core/data/production.yml +0 -7
- data/mod/core/set/all/collection.rb +0 -53
- data/mod/core/spec/set/all/collection_spec.rb +0 -170
- data/mod/core/spec/set/all/utils_spec.rb +0 -5
- data/mod/standard/data/files/favicon/image-icon.png +0 -0
- data/mod/standard/data/files/favicon/image-large.png +0 -0
- data/mod/standard/data/files/favicon/image-medium.png +0 -0
- data/mod/standard/data/files/favicon/image-original.png +0 -0
- data/mod/standard/data/files/favicon/image-small.png +0 -0
- data/mod/standard/data/files/logo/image-original.svg +0 -1
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.105.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-01-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: cardname
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.15.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.
|
28
|
+
version: 0.15.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rake
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -68,6 +68,34 @@ dependencies:
|
|
68
68
|
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0.8'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: timecop
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0.9'
|
78
|
+
type: :runtime
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - "~>"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0.9'
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: zeitwerk
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - "!="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: 2.5.0
|
92
|
+
type: :runtime
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - "!="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 2.5.0
|
71
99
|
- !ruby/object:Gem::Dependency
|
72
100
|
name: haml
|
73
101
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,6 +152,20 @@ dependencies:
|
|
124
152
|
- - "~>"
|
125
153
|
- !ruby/object:Gem::Version
|
126
154
|
version: '2.4'
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: sass
|
157
|
+
requirement: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - "~>"
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: 3.7.4
|
162
|
+
type: :runtime
|
163
|
+
prerelease: false
|
164
|
+
version_requirements: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - "~>"
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: 3.7.4
|
127
169
|
- !ruby/object:Gem::Dependency
|
128
170
|
name: coffee-script
|
129
171
|
requirement: !ruby/object:Gem::Requirement
|
@@ -222,20 +264,6 @@ dependencies:
|
|
222
264
|
- - "~>"
|
223
265
|
- !ruby/object:Gem::Version
|
224
266
|
version: '1.1'
|
225
|
-
- !ruby/object:Gem::Dependency
|
226
|
-
name: zeitwerk
|
227
|
-
requirement: !ruby/object:Gem::Requirement
|
228
|
-
requirements:
|
229
|
-
- - "!="
|
230
|
-
- !ruby/object:Gem::Version
|
231
|
-
version: 2.5.0
|
232
|
-
type: :runtime
|
233
|
-
prerelease: false
|
234
|
-
version_requirements: !ruby/object:Gem::Requirement
|
235
|
-
requirements:
|
236
|
-
- - "!="
|
237
|
-
- !ruby/object:Gem::Version
|
238
|
-
version: 2.5.0
|
239
267
|
- !ruby/object:Gem::Dependency
|
240
268
|
name: activerecord
|
241
269
|
requirement: !ruby/object:Gem::Requirement
|
@@ -360,6 +388,7 @@ files:
|
|
360
388
|
- config/initializers/01_core_extensions/module.rb
|
361
389
|
- config/initializers/01_core_extensions/object.rb
|
362
390
|
- config/initializers/01_core_extensions/persistent_identifiers.rb
|
391
|
+
- config/initializers/01_core_extensions/string.rb
|
363
392
|
- config/initializers/02_patches/active_job.rb
|
364
393
|
- config/initializers/02_patches/active_record.rb
|
365
394
|
- config/initializers/02_patches/active_support.rb
|
@@ -392,7 +421,7 @@ files:
|
|
392
421
|
- db/migrate/20141216053032_better_index_names.rb
|
393
422
|
- db/migrate/20150724210803_add_comment_to_actions.rb
|
394
423
|
- db/migrate/20151105225559_more_space_for_db_content.rb
|
395
|
-
- db/migrate/
|
424
|
+
- db/migrate/20160122153608_new_indices.rb
|
396
425
|
- db/migrate/20170908114442_create_delayed_jobs.rb
|
397
426
|
- db/migrate/20170908114452_increase_text_size_for_delayed_jobs.rb
|
398
427
|
- db/migrate/20180514152037_add_card_virtuals_table.rb
|
@@ -400,223 +429,43 @@ files:
|
|
400
429
|
- db/migrate/20190131223248_add_codename_index.rb
|
401
430
|
- db/migrate/20190929202325_rename_present_in_reference_table.rb
|
402
431
|
- db/migrate/20200718051236_compound_names_do_not_store_name_and_key.rb
|
403
|
-
- db/migrate/
|
432
|
+
- db/migrate/20200805200729_add_unique_pair_indices.rb
|
404
433
|
- db/migrate/20211128040849_virtuals_updated_at.rb
|
434
|
+
- db/migrate/20221031182227_remove_referee_key_requirement.rb
|
405
435
|
- db/migrate_core_cards/20120611203506_rails_inflection_updates.rb
|
406
436
|
- db/migrate_core_cards/20130411191151_renaming_for_menu.rb
|
407
|
-
- db/migrate_core_cards/20130411211600_delete_old_related_tab_cards.rb
|
408
|
-
- db/migrate_core_cards/20130419215612_import_help_text.rb
|
409
|
-
- db/migrate_core_cards/20130823192433_add_style_cards.rb
|
410
|
-
- db/migrate_core_cards/20130910183318_move_styles_to_content.rb
|
411
437
|
- db/migrate_core_cards/20130920214038_jsonize_tinymce.rb
|
412
438
|
- db/migrate_core_cards/20130920291703_update_stylesheets.rb
|
413
|
-
- db/migrate_core_cards/20130927191728_account_events.rb
|
414
|
-
- db/migrate_core_cards/20131016172445_common_css_patch.rb
|
415
|
-
- db/migrate_core_cards/20140110193325_reset_account_request_type.rb
|
416
439
|
- db/migrate_core_cards/20140307231621_user_data_to_cards.rb
|
417
440
|
- db/migrate_core_cards/20140317035504_account_requests_to_signups.rb
|
418
|
-
- db/migrate_core_cards/20140512155840_add_script_cards.rb
|
419
|
-
- db/migrate_core_cards/20140629222005_add_email_cards.rb
|
420
|
-
- db/migrate_core_cards/20140725180118_config_card_updates.rb
|
421
|
-
- db/migrate_core_cards/20141111083921_delete_machine_output.rb
|
422
|
-
- db/migrate_core_cards/20141115034214_config_descriptions_etc.rb
|
423
|
-
- db/migrate_core_cards/20141119001955_make_symlinks_relative.rb
|
424
|
-
- db/migrate_core_cards/20141120120605_fix_notification_html_message.rb
|
425
441
|
- db/migrate_core_cards/20141204061304_watchers_to_following.rb
|
426
442
|
- db/migrate_core_cards/20141208132416_partial_reference_type.rb
|
427
|
-
- db/migrate_core_cards/20141216155251_add_more_following_cards.rb
|
428
|
-
- db/migrate_core_cards/20141230204340_uri_codename.rb
|
429
|
-
- db/migrate_core_cards/20150202143810_import_bootstrap_layout.rb
|
430
443
|
- db/migrate_core_cards/20150220134731_following_to_follow_rule.rb
|
431
|
-
- db/migrate_core_cards/20150317162412_bootstrap_themes.rb
|
432
|
-
- db/migrate_core_cards/20150326205655_bootswatch_themes.rb
|
433
|
-
- db/migrate_core_cards/20150331135745_new_card_menu.rb
|
434
444
|
- db/migrate_core_cards/20150429090551_search_card_context.rb
|
435
|
-
- db/migrate_core_cards/20150501010515_responsive_sidebar.rb
|
436
|
-
- db/migrate_core_cards/20150508212032_menu_compatibility.rb
|
437
445
|
- db/migrate_core_cards/20150510031118_fix_skin_codenames.rb
|
438
|
-
- db/migrate_core_cards/20150528084659_add_session_cardtype.rb
|
439
|
-
- db/migrate_core_cards/20150601133433_add_recent_setting_session_card.rb
|
440
|
-
- db/migrate_core_cards/20150610171702_add_debugger_session_card.rb
|
441
|
-
- db/migrate_core_cards/20150610180019_add_recaptcha_key_and_admin_info_cards.rb
|
442
|
-
- db/migrate_core_cards/20150627205133_fix_script_bootstrap_card_type.rb
|
443
|
-
- db/migrate_core_cards/20150702130543_remove_edit_toolbar_pinned.rb
|
444
|
-
- db/migrate_core_cards/20150708224756_add_list_cards.rb
|
445
446
|
- db/migrate_core_cards/20150724123438_update_file_and_image_cards.rb
|
446
447
|
- db/migrate_core_cards/20150807205221_create_references_for_search_cards.rb
|
447
448
|
- db/migrate_core_cards/20150824135418_update_file_history.rb
|
448
|
-
- db/migrate_core_cards/20150903130006_attachment_upload_cards.rb
|
449
|
-
- db/migrate_core_cards/20150910085603_remove_performance_log_card.rb
|
450
|
-
- db/migrate_core_cards/20151120180631_add_token_expiration.rb
|
451
|
-
- db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
|
452
|
-
- db/migrate_core_cards/20160804112510_reorganize_scripts.rb
|
453
449
|
- db/migrate_core_cards/20160811115836_rename_stats_to_admin.rb
|
454
|
-
- db/migrate_core_cards/20160908154210_add_trash_card.rb
|
455
450
|
- db/migrate_core_cards/20160914132636_fix_mod_files.rb
|
456
|
-
- db/migrate_core_cards/20161102202156_tweak_recaptcha_setting_cards.rb
|
457
451
|
- db/migrate_core_cards/20161103154836_update_keys.rb
|
458
|
-
- db/migrate_core_cards/20170209132834_email_test_context.rb
|
459
|
-
- db/migrate_core_cards/20170314175313_add_notification_event_card.rb
|
460
|
-
- db/migrate_core_cards/20170515101262_add_advanced_edit_cards.rb
|
461
|
-
- db/migrate_core_cards/20170608083819_add_full_width_layout_card.rb
|
462
|
-
- db/migrate_core_cards/20170608200649_add_input_options_codename.rb
|
463
452
|
- db/migrate_core_cards/20170830210517_correct_signup_success_message.rb
|
464
|
-
- db/migrate_core_cards/20180423120222_add_mod_styles_card.rb
|
465
|
-
- db/migrate_core_cards/20180508210903_add_json_type.rb
|
466
|
-
- db/migrate_core_cards/20180515175726_add_codenames.rb
|
467
|
-
- db/migrate_core_cards/20180712042655_head_rule.rb
|
468
453
|
- db/migrate_core_cards/20180905061537_migrate_layouts.rb
|
469
|
-
- db/migrate_core_cards/20181120200937_update_layout.rb
|
470
454
|
- db/migrate_core_cards/20190125125150_add_script_rules_card.rb
|
471
|
-
- db/migrate_core_cards/20190204195039_add_rule_card.rb
|
472
455
|
- db/migrate_core_cards/20190320091257_upgrade_recaptcha_to_v3.rb
|
473
|
-
- db/migrate_core_cards/20190321085735_wagn_to_decko_logo.rb
|
474
456
|
- db/migrate_core_cards/20190322095534_remove_toolbar_cards.rb
|
475
|
-
- db/migrate_core_cards/20190417142612_reorganize_scripts_2.rb
|
476
|
-
- db/migrate_core_cards/20190424100531_update_credit_image.rb
|
477
|
-
- db/migrate_core_cards/20190424101004_add_read_anyone_rules.rb
|
478
457
|
- db/migrate_core_cards/20190502130029_add_shark_and_help_desk_role.rb
|
479
|
-
- db/migrate_core_cards/20190503122739_update_pristine_data.rb
|
480
458
|
- db/migrate_core_cards/20190528131330_enabled_roles.rb
|
481
|
-
- db/migrate_core_cards/20190605133556_tweak_config_cards.rb
|
482
|
-
- db/migrate_core_cards/20190618110446_add_dropdown_divider.rb
|
483
|
-
- db/migrate_core_cards/20190621143156_add_role_assign_permissions.rb
|
484
459
|
- db/migrate_core_cards/20190625153616_pointer_overhaul.rb
|
485
|
-
- db/migrate_core_cards/20190710090209_homepage_tweaks.rb
|
486
460
|
- db/migrate_core_cards/20190718140126_add_guides.rb
|
487
|
-
- db/migrate_core_cards/20190820155833_update_cardtype_type_structure.rb
|
488
461
|
- db/migrate_core_cards/20190822093633_move_help_text_to_code.rb
|
489
|
-
- db/migrate_core_cards/20190823220018_cleanup_for_decko_1_0.rb
|
490
|
-
- db/migrate_core_cards/20190826132738_add_more_guides.rb
|
491
|
-
- db/migrate_core_cards/20190829093961_cardtype_grouping.rb
|
492
462
|
- db/migrate_core_cards/20190829205148_remove_add_help.rb
|
493
|
-
- db/migrate_core_cards/20190830131820_setting_settings_aside.rb
|
494
|
-
- db/migrate_core_cards/20190902161223_add_style_media.rb
|
495
463
|
- db/migrate_core_cards/20190902193208_input_type.rb
|
496
464
|
- db/migrate_core_cards/20190904174403_token_upgrade.rb
|
497
465
|
- db/migrate_core_cards/20190909104250_add_cardtype_input_types.rb
|
498
|
-
- db/migrate_core_cards/20190918200115_ensure_description_card.rb
|
499
|
-
- db/migrate_core_cards/20191008201046_fixture_fix.rb
|
500
|
-
- db/migrate_core_cards/20191028135243_add_link_editor_to_tiny_mce_config.rb
|
501
466
|
- db/migrate_core_cards/20191115160748_history_cleanup.rb
|
502
|
-
- db/migrate_core_cards/20191118145629_codename_fixes.rb
|
503
|
-
- db/migrate_core_cards/20200821231558_add_nest_list_type.rb
|
504
|
-
- db/migrate_core_cards/data/1.11_help_text.json
|
505
|
-
- db/migrate_core_cards/data/1.12_stylesheets/classic_cards.scss
|
506
|
-
- db/migrate_core_cards/data/1.12_stylesheets/common.scss
|
507
|
-
- db/migrate_core_cards/data/1.12_stylesheets/right_sidebar.scss
|
508
|
-
- db/migrate_core_cards/data/1.12_stylesheets/traditional.scss
|
509
|
-
- db/migrate_core_cards/data/1.13_config_text.json
|
510
|
-
- db/migrate_core_cards/data/1.14_config_descriptions_etc.json
|
511
|
-
- db/migrate_core_cards/data/bootstrap_layout.json
|
512
|
-
- db/migrate_core_cards/data/cards.yml
|
513
|
-
- db/migrate_core_cards/data/cards/Xaccount
|
514
|
-
- db/migrate_core_cards/data/cards/Xaccount_setting-Xright-Xstructure
|
515
|
-
- db/migrate_core_cards/data/cards/Xall-Xlayout
|
516
|
-
- db/migrate_core_cards/data/cards/Xcredit
|
517
|
-
- db/migrate_core_cards/data/cards/Xfooter
|
518
|
-
- db/migrate_core_cards/data/cards/Xgetting_started
|
519
|
-
- db/migrate_core_cards/data/cards/Xgetting_started-shark
|
520
|
-
- db/migrate_core_cards/data/cards/Xgetting_started_link
|
521
|
-
- db/migrate_core_cards/data/cards/Xheader
|
522
|
-
- db/migrate_core_cards/data/cards/Xhome
|
523
|
-
- db/migrate_core_cards/data/cards/Xlogo
|
524
|
-
- db/migrate_core_cards/data/cards/Xmain_menu
|
525
|
-
- db/migrate_core_cards/data/cards/Xrecaptcha_setting-Xself-Xstructure
|
526
|
-
- db/migrate_core_cards/data/cards/Xsidebar
|
527
|
-
- db/migrate_core_cards/data/cards/Xstructure-Xright-Xguide
|
528
|
-
- db/migrate_core_cards/data/cards/Xtitle
|
529
|
-
- db/migrate_core_cards/data/cards/administrator-dashboard
|
530
|
-
- db/migrate_core_cards/data/cards/administrator-description
|
531
|
-
- db/migrate_core_cards/data/cards/anyone_signed_in-dashboard
|
532
|
-
- db/migrate_core_cards/data/cards/cardtype-Xtype-Xguide
|
533
|
-
- db/migrate_core_cards/data/cards/cardtype-Xtype-Xstructure
|
534
|
-
- db/migrate_core_cards/data/cards/default_layout
|
535
|
-
- db/migrate_core_cards/data/cards/full_width_layout
|
536
|
-
- db/migrate_core_cards/data/cards/help_desk-dashboard
|
537
|
-
- db/migrate_core_cards/data/cards/help_desk-description
|
538
|
-
- db/migrate_core_cards/data/cards/home
|
539
|
-
- db/migrate_core_cards/data/cards/home-Xself-Xlayout
|
540
|
-
- db/migrate_core_cards/data/cards/home-original
|
541
|
-
- db/migrate_core_cards/data/cards/home_layout
|
542
|
-
- db/migrate_core_cards/data/cards/left_sidebar_layout
|
543
|
-
- db/migrate_core_cards/data/cards/menu
|
544
|
-
- db/migrate_core_cards/data/cards/right_thin_sidebar_layout
|
545
|
-
- db/migrate_core_cards/data/cards/role-Xtype-Xstructure
|
546
|
-
- db/migrate_core_cards/data/cards/shark-dashboard
|
547
|
-
- db/migrate_core_cards/data/cards/shark-description
|
548
|
-
- db/migrate_core_cards/data/cards/shark_menu
|
549
|
-
- db/migrate_core_cards/data/decko_logo.svg
|
550
|
-
- db/migrate_core_cards/data/mailer/follower_notification_email.html
|
551
|
-
- db/migrate_core_cards/data/mailer/follower_notification_email.txt
|
552
|
-
- db/migrate_core_cards/data/mailer/mail_config.json
|
553
|
-
- db/migrate_core_cards/data/mailer/password_reset_email.html
|
554
|
-
- db/migrate_core_cards/data/mailer/password_reset_email.txt
|
555
|
-
- db/migrate_core_cards/data/mailer/signup_alert_email.html
|
556
|
-
- db/migrate_core_cards/data/mailer/signup_alert_email.txt
|
557
|
-
- db/migrate_core_cards/data/mailer/verification_email.html
|
558
|
-
- db/migrate_core_cards/data/mailer/verification_email.txt
|
559
|
-
- db/migrate_core_cards/data/skin_images.json
|
560
|
-
- db/migrate_core_cards/data/themes/bootstrap_default/_bootswatch.scss
|
561
|
-
- db/migrate_core_cards/data/themes/bootstrap_default/_variables.scss
|
562
|
-
- db/migrate_core_cards/data/themes/cerulean/_bootswatch.scss
|
563
|
-
- db/migrate_core_cards/data/themes/cerulean/_variables.scss
|
564
|
-
- db/migrate_core_cards/data/themes/cosmo/_bootswatch.scss
|
565
|
-
- db/migrate_core_cards/data/themes/cosmo/_variables.scss
|
566
|
-
- db/migrate_core_cards/data/themes/cyborg/_bootswatch.scss
|
567
|
-
- db/migrate_core_cards/data/themes/cyborg/_variables.scss
|
568
|
-
- db/migrate_core_cards/data/themes/darkly/_bootswatch.scss
|
569
|
-
- db/migrate_core_cards/data/themes/darkly/_variables.scss
|
570
|
-
- db/migrate_core_cards/data/themes/flatly/_bootswatch.scss
|
571
|
-
- db/migrate_core_cards/data/themes/flatly/_variables.scss
|
572
|
-
- db/migrate_core_cards/data/themes/journal/_bootswatch.scss
|
573
|
-
- db/migrate_core_cards/data/themes/journal/_variables.scss
|
574
|
-
- db/migrate_core_cards/data/themes/lumen/_bootswatch.scss
|
575
|
-
- db/migrate_core_cards/data/themes/lumen/_variables.scss
|
576
|
-
- db/migrate_core_cards/data/themes/paper/_bootswatch.scss
|
577
|
-
- db/migrate_core_cards/data/themes/paper/_variables.scss
|
578
|
-
- db/migrate_core_cards/data/themes/readable/_bootswatch.scss
|
579
|
-
- db/migrate_core_cards/data/themes/readable/_variables.scss
|
580
|
-
- db/migrate_core_cards/data/themes/sandstone/_bootswatch.scss
|
581
|
-
- db/migrate_core_cards/data/themes/sandstone/_variables.scss
|
582
|
-
- db/migrate_core_cards/data/themes/simplex/_bootswatch.scss
|
583
|
-
- db/migrate_core_cards/data/themes/simplex/_variables.scss
|
584
|
-
- db/migrate_core_cards/data/themes/slate/_bootswatch.scss
|
585
|
-
- db/migrate_core_cards/data/themes/slate/_variables.scss
|
586
|
-
- db/migrate_core_cards/data/themes/spacelab/_bootswatch.scss
|
587
|
-
- db/migrate_core_cards/data/themes/spacelab/_variables.scss
|
588
|
-
- db/migrate_core_cards/data/themes/superhero/_bootswatch.scss
|
589
|
-
- db/migrate_core_cards/data/themes/superhero/_variables.scss
|
590
|
-
- db/migrate_core_cards/data/themes/united/_bootswatch.scss
|
591
|
-
- db/migrate_core_cards/data/themes/united/_variables.scss
|
592
|
-
- db/migrate_core_cards/data/themes/yeti/_bootswatch.scss
|
593
|
-
- db/migrate_core_cards/data/themes/yeti/_variables.scss
|
594
467
|
- db/schema.rb
|
595
|
-
- db/seed/README.md
|
596
|
-
- db/seed/new/card_actions.yml
|
597
|
-
- db/seed/new/card_acts.yml
|
598
|
-
- db/seed/new/card_changes.yml
|
599
|
-
- db/seed/new/card_references.yml
|
600
|
-
- db/seed/new/cards.yml
|
601
|
-
- db/seed/new/schema_migrations.yml
|
602
|
-
- db/seed/new/schema_migrations_core_cards.yml
|
603
|
-
- db/seed/new/schema_migrations_deck.yml
|
604
|
-
- db/seed/new/schema_migrations_deck_cards.yml
|
605
|
-
- db/seed/test/fixtures/card_actions.yml
|
606
|
-
- db/seed/test/fixtures/card_acts.yml
|
607
|
-
- db/seed/test/fixtures/card_changes.yml
|
608
|
-
- db/seed/test/fixtures/card_references.yml
|
609
|
-
- db/seed/test/fixtures/cards.yml
|
610
|
-
- db/seed/test/fixtures/file1.txt
|
611
|
-
- db/seed/test/fixtures/file2.txt
|
612
|
-
- db/seed/test/fixtures/mao2.jpg
|
613
|
-
- db/seed/test/fixtures/rails.gif
|
614
|
-
- db/seed/test/fixtures/schema_migrations.yml
|
615
|
-
- db/seed/test/fixtures/schema_migrations_core_cards.yml
|
616
|
-
- db/seed/test/fixtures/schema_migrations_deck.yml
|
617
|
-
- db/seed/test/fixtures/schema_migrations_deck_cards.yml
|
618
468
|
- db/seeds.rb
|
619
|
-
- db/test_seed.rb
|
620
469
|
- db/version.txt
|
621
470
|
- db/version_core_cards.txt
|
622
471
|
- lib/card.rb
|
@@ -645,12 +494,10 @@ files:
|
|
645
494
|
- lib/card/content/diff/result.rb
|
646
495
|
- lib/card/content/diff/summary.rb
|
647
496
|
- lib/card/content/parser.rb
|
648
|
-
- lib/card/content/truncate.rb
|
649
497
|
- lib/card/director.rb
|
650
|
-
- lib/card/director/act_direction.rb
|
651
498
|
- lib/card/director/all.rb
|
652
499
|
- lib/card/director/card_class.rb
|
653
|
-
- lib/card/director/
|
500
|
+
- lib/card/director/class_methods.rb
|
654
501
|
- lib/card/director/event_delay.rb
|
655
502
|
- lib/card/director/phases.rb
|
656
503
|
- lib/card/director/run.rb
|
@@ -675,15 +522,6 @@ files:
|
|
675
522
|
- lib/card/fetch/results.rb
|
676
523
|
- lib/card/fetch/retrieve.rb
|
677
524
|
- lib/card/fetch/store.rb
|
678
|
-
- lib/card/file_card_creator.rb
|
679
|
-
- lib/card/file_card_creator/abstract_file_card.rb
|
680
|
-
- lib/card/file_card_creator/abstract_file_card/migration_file.rb
|
681
|
-
- lib/card/file_card_creator/abstract_file_card/ruby_file.rb
|
682
|
-
- lib/card/file_card_creator/abstract_file_card/source_file.rb
|
683
|
-
- lib/card/file_card_creator/haml_card.rb
|
684
|
-
- lib/card/file_card_creator/output_helper.rb
|
685
|
-
- lib/card/file_card_creator/script_card.rb
|
686
|
-
- lib/card/file_card_creator/style_card.rb
|
687
525
|
- lib/card/format.rb
|
688
526
|
- lib/card/format/card_action_view.rb
|
689
527
|
- lib/card/format/content.rb
|
@@ -710,7 +548,6 @@ files:
|
|
710
548
|
- lib/card/name/all/descendants.rb
|
711
549
|
- lib/card/name/all/parts.rb
|
712
550
|
- lib/card/name/card_class.rb
|
713
|
-
- lib/card/name/fields_and_traits.rb
|
714
551
|
- lib/card/name/name_variants.rb
|
715
552
|
- lib/card/query.rb
|
716
553
|
- lib/card/query/abstract_query.rb
|
@@ -718,8 +555,10 @@ files:
|
|
718
555
|
- lib/card/query/abstract_query/tie.rb
|
719
556
|
- lib/card/query/act_query.rb
|
720
557
|
- lib/card/query/action_query.rb
|
558
|
+
- lib/card/query/card_class.rb
|
721
559
|
- lib/card/query/card_query.rb
|
722
560
|
- lib/card/query/card_query/conjunctions.rb
|
561
|
+
- lib/card/query/card_query/custom.rb
|
723
562
|
- lib/card/query/card_query/found_by.rb
|
724
563
|
- lib/card/query/card_query/interpretation.rb
|
725
564
|
- lib/card/query/card_query/match_attributes.rb
|
@@ -794,14 +633,15 @@ files:
|
|
794
633
|
- lib/cardio/all.rb
|
795
634
|
- lib/cardio/application.rb
|
796
635
|
- lib/cardio/cli.rb
|
636
|
+
- lib/cardio/command.rb
|
637
|
+
- lib/cardio/command/application.rb
|
638
|
+
- lib/cardio/command/command_base.rb
|
639
|
+
- lib/cardio/command/custom.rb
|
640
|
+
- lib/cardio/command/rake_command.rb
|
641
|
+
- lib/cardio/command/rake_command/parser.rb
|
642
|
+
- lib/cardio/command/rspec_command.rb
|
643
|
+
- lib/cardio/command/rspec_command/parser.rb
|
797
644
|
- lib/cardio/commands.rb
|
798
|
-
- lib/cardio/commands/application.rb
|
799
|
-
- lib/cardio/commands/command.rb
|
800
|
-
- lib/cardio/commands/custom.rb
|
801
|
-
- lib/cardio/commands/rake_command.rb
|
802
|
-
- lib/cardio/commands/rake_command/parser.rb
|
803
|
-
- lib/cardio/commands/rspec_command.rb
|
804
|
-
- lib/cardio/commands/rspec_command/parser.rb
|
805
645
|
- lib/cardio/delaying.rb
|
806
646
|
- lib/cardio/generators.rb
|
807
647
|
- lib/cardio/generators/base.rb
|
@@ -814,11 +654,6 @@ files:
|
|
814
654
|
- lib/cardio/migration/core.rb
|
815
655
|
- lib/cardio/migration/deck.rb
|
816
656
|
- lib/cardio/migration/deck_structure.rb
|
817
|
-
- lib/cardio/migration/import.rb
|
818
|
-
- lib/cardio/migration/import/import_data.rb
|
819
|
-
- lib/cardio/migration/import/import_data/card_attributes.rb
|
820
|
-
- lib/cardio/migration/import/import_data/card_content.rb
|
821
|
-
- lib/cardio/migration/import/merger.rb
|
822
657
|
- lib/cardio/mod.rb
|
823
658
|
- lib/cardio/mod/class_methods.rb
|
824
659
|
- lib/cardio/mod/dirs.rb
|
@@ -837,7 +672,7 @@ files:
|
|
837
672
|
- lib/cardio/mod/modfile_api.rb
|
838
673
|
- lib/cardio/mod/modfile_loader.rb
|
839
674
|
- lib/cardio/mod/module_template.rb
|
840
|
-
- lib/cardio/mod/
|
675
|
+
- lib/cardio/mod/sow.rb
|
841
676
|
- lib/cardio/railtie.rb
|
842
677
|
- lib/cardio/record.rb
|
843
678
|
- lib/cardio/schema.rb
|
@@ -896,38 +731,46 @@ files:
|
|
896
731
|
- lib/generators/set/set_generator.rb
|
897
732
|
- lib/generators/set/templates/set_spec_template.erb
|
898
733
|
- lib/generators/set/templates/set_template.erb
|
899
|
-
-
|
900
|
-
-
|
901
|
-
-
|
902
|
-
-
|
903
|
-
- mod/
|
904
|
-
- mod/
|
905
|
-
- mod/
|
906
|
-
- mod/
|
907
|
-
- mod/
|
908
|
-
- mod/
|
909
|
-
- mod/admin/spec/set/self/admin_info_spec.rb
|
910
|
-
- mod/admin/spec/set/self/admin_spec.rb
|
911
|
-
- mod/core/data/production.yml
|
734
|
+
- mod/core/data/fixtures/real/card_actions.yml
|
735
|
+
- mod/core/data/fixtures/real/card_acts.yml
|
736
|
+
- mod/core/data/fixtures/real/card_changes.yml
|
737
|
+
- mod/core/data/fixtures/real/card_references.yml
|
738
|
+
- mod/core/data/fixtures/real/cards.yml
|
739
|
+
- mod/core/data/fixtures/real/schema_migrations.yml
|
740
|
+
- mod/core/data/fixtures/real/schema_migrations_core_cards.yml
|
741
|
+
- mod/core/data/fixtures/real/schema_migrations_deck.yml
|
742
|
+
- mod/core/data/fixtures/real/schema_migrations_deck_cards.yml
|
743
|
+
- mod/core/data/real.yml
|
912
744
|
- mod/core/data/test.yml
|
745
|
+
- mod/core/data/test/cardtype.yml
|
746
|
+
- mod/core/data/test/sample.yml
|
747
|
+
- mod/core/data/test/user.yml
|
748
|
+
- mod/core/lib/tasks/card.rake
|
749
|
+
- mod/core/lib/tasks/card/assets.rake
|
750
|
+
- mod/core/lib/tasks/card/create.rake
|
751
|
+
- mod/core/lib/tasks/card/migrate.rake
|
752
|
+
- mod/core/lib/tasks/card/mod.rake
|
753
|
+
- mod/core/lib/tasks/card/seed.rake
|
913
754
|
- mod/core/locales/de.yml
|
914
755
|
- mod/core/locales/en.yml
|
915
|
-
- mod/core/set/all/
|
756
|
+
- mod/core/set/all/admin.rb
|
916
757
|
- mod/core/set/all/assign_attributes.rb
|
917
758
|
- mod/core/set/all/autoname.rb
|
918
759
|
- mod/core/set/all/codename.rb
|
919
|
-
- mod/core/set/all/collection.rb
|
920
760
|
- mod/core/set/all/content.rb
|
921
761
|
- mod/core/set/all/debug.rb
|
922
762
|
- mod/core/set/all/initialize.rb
|
923
763
|
- mod/core/set/all/name_events.rb
|
924
764
|
- mod/core/set/all/reference_events.rb
|
765
|
+
- mod/core/set/all/result.rb
|
925
766
|
- mod/core/set/all/states.rb
|
926
767
|
- mod/core/set/all/subcards.rb
|
927
768
|
- mod/core/set/all/trash.rb
|
928
769
|
- mod/core/set/all/type.rb
|
929
770
|
- mod/core/set/all/utils.rb
|
930
771
|
- mod/core/set/right/autoname.rb
|
772
|
+
- mod/core/set/self/admin.rb
|
773
|
+
- mod/core/set/self/admin/warning_alert.haml
|
931
774
|
- mod/core/set/self/autoname.rb
|
932
775
|
- mod/core/set/self/trash.rb
|
933
776
|
- mod/core/set/self/version.rb
|
@@ -942,23 +785,17 @@ files:
|
|
942
785
|
- mod/core/set_pattern/08_type_plus_right.rb
|
943
786
|
- mod/core/set_pattern/09_self.rb
|
944
787
|
- mod/core/spec/set/all/assign_attributes_spec.rb
|
788
|
+
- mod/core/spec/set/all/autoname_spec.rb
|
945
789
|
- mod/core/spec/set/all/codename_spec.rb
|
946
|
-
- mod/core/spec/set/all/collection_spec.rb
|
947
790
|
- mod/core/spec/set/all/initialize_spec.rb
|
948
791
|
- mod/core/spec/set/all/name_events_spec.rb
|
949
792
|
- mod/core/spec/set/all/states_spec.rb
|
950
793
|
- mod/core/spec/set/all/trash_spec.rb
|
951
794
|
- mod/core/spec/set/all/type_spec.rb
|
952
|
-
- mod/core/spec/set/
|
795
|
+
- mod/core/spec/set/self/admin_spec.rb
|
953
796
|
- mod/core/spec/set/self/trash_spec.rb
|
954
797
|
- mod/core/spec/set/self/version_spec.rb
|
955
798
|
- mod/core/spec/set/type/cardtype_spec.rb
|
956
|
-
- mod/standard/data/files/favicon/image-icon.png
|
957
|
-
- mod/standard/data/files/favicon/image-large.png
|
958
|
-
- mod/standard/data/files/favicon/image-medium.png
|
959
|
-
- mod/standard/data/files/favicon/image-original.png
|
960
|
-
- mod/standard/data/files/favicon/image-small.png
|
961
|
-
- mod/standard/data/files/logo/image-original.svg
|
962
799
|
homepage: https://decko.org
|
963
800
|
licenses:
|
964
801
|
- GPL-3.0
|
@@ -983,7 +820,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
983
820
|
- !ruby/object:Gem::Version
|
984
821
|
version: '0'
|
985
822
|
requirements: []
|
986
|
-
rubygems_version: 3.
|
823
|
+
rubygems_version: 3.3.11
|
987
824
|
signing_key:
|
988
825
|
specification_version: 4
|
989
826
|
summary: a simple engine for emergent data structures
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# -*- encoding : utf-8 -*-
|
2
|
-
|
3
|
-
class DeleteOldRelatedTabCards < Cardio::Migration::Core
|
4
|
-
def up
|
5
|
-
[
|
6
|
-
"*related",
|
7
|
-
"*incoming",
|
8
|
-
"*outgoing",
|
9
|
-
"*community",
|
10
|
-
"*plusses",
|
11
|
-
"watcher instructions for related tab"
|
12
|
-
].each do |name|
|
13
|
-
c = Card[name]
|
14
|
-
c.codename = nil
|
15
|
-
c.delete!
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# -*- encoding : utf-8 -*-
|
2
|
-
|
3
|
-
class ImportHelpText < Cardio::Migration::Core
|
4
|
-
def up
|
5
|
-
dir = data_path "1.11_help_text.json"
|
6
|
-
data = JSON.parse(File.read(dir))
|
7
|
-
data.each do |atom|
|
8
|
-
c = atom["card"]
|
9
|
-
Card.merge c["name"], { type: c["type"], content: atom["views"][0]["parts"] },
|
10
|
-
pristine: true
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
@@ -1,100 +0,0 @@
|
|
1
|
-
# -*- encoding : utf-8 -*-
|
2
|
-
|
3
|
-
class AddStyleCards < Cardio::Migration::Core
|
4
|
-
def up
|
5
|
-
# TAKE "CSS" CODENAME FROM OLD *CSS CARD
|
6
|
-
old_css = Card[:css]
|
7
|
-
old_css.update codename: nil
|
8
|
-
# old *css card no longer needs this codename
|
9
|
-
|
10
|
-
# CREATE CSS AND SCSS TYPES
|
11
|
-
# following avoids name conflicts (create statements do not).
|
12
|
-
# need better api to support this?
|
13
|
-
css_attributes = { codename: :css, type_id: Card::CardtypeID }
|
14
|
-
new_css = Card.fetch "CSS", new: css_attributes
|
15
|
-
new_css.update(css_attributes) unless new_css.new_card?
|
16
|
-
new_css.save!
|
17
|
-
|
18
|
-
old_css.update type_id: new_css.id
|
19
|
-
|
20
|
-
Card.create! name: "SCSS", codename: :scss, type_id: Card::CardtypeID
|
21
|
-
|
22
|
-
skin_attributes = { codename: :skin, type_id: Card::CardtypeID }
|
23
|
-
skin_card = Card.fetch "Skin", new: skin_attributes
|
24
|
-
skin_card.update(skin_attributes) unless skin_card.new_card?
|
25
|
-
skin_card.save!
|
26
|
-
|
27
|
-
# PERMISSIONS FOR CSS AND SCSS TYPES
|
28
|
-
|
29
|
-
%w[CSS SCSS Skin].each do |type|
|
30
|
-
%i[create update delete].each do |action|
|
31
|
-
Card.create! name: "#{type}+#{Card[:type].name}+#{Card[action].name}",
|
32
|
-
content: "[[#{Card[:administrator].name}]]"
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
Card.create! name: "*style",
|
37
|
-
codename: :style,
|
38
|
-
type_id: Card::SettingID
|
39
|
-
style_set = "*style+#{Card[:right].name}"
|
40
|
-
Card.create! name: "#{style_set}+#{Card[:default].name}",
|
41
|
-
type_id: Card::PointerID
|
42
|
-
Card.create! name: "#{style_set}+#{Card[:read].name}",
|
43
|
-
content: "[[#{Card[:anyone].name}]]"
|
44
|
-
Card.create! name: "#{style_set}+#{Card[:options].name}",
|
45
|
-
content: %({"type":"Skin"}), type: Card::SearchTypeID
|
46
|
-
Card.create! name: "#{style_set}+#{Card[:input].name}",
|
47
|
-
content: "select"
|
48
|
-
Card.create! name: "#{style_set}+#{Card[:help].name}",
|
49
|
-
content: "Skin (collection of stylesheets) for card's page." \
|
50
|
-
"[[https://decko.org/skins|more]]"
|
51
|
-
|
52
|
-
# IMPORT STYLESHEETS
|
53
|
-
|
54
|
-
simple_styles = []
|
55
|
-
classic_styles = []
|
56
|
-
%w[
|
57
|
-
jquery-ui-smoothness.css functional.scss standard.scss right_sidebar.scss
|
58
|
-
common.scss classic_cards.scss traditional.scss
|
59
|
-
].each_with_index do |sheet, index|
|
60
|
-
name, type = sheet.split "."
|
61
|
-
name.tr! "_", " "
|
62
|
-
index < 5 ? simple_styles << name : classic_styles << name
|
63
|
-
Card.create! name: "style: #{name}", type: type,
|
64
|
-
codename: "style_#{name.to_name.key}"
|
65
|
-
end
|
66
|
-
|
67
|
-
# CREATE SKINS
|
68
|
-
|
69
|
-
Card.create! name: "simple skin", type: "Skin",
|
70
|
-
content: simple_styles.map { |s| "[[style: #{s}]]" } * "\n"
|
71
|
-
classic_items = classic_styles.map { |s| "[[style: #{s}]]" }.join "\n"
|
72
|
-
Card.create! name: "classic skin", type: "Skin",
|
73
|
-
content: "[[simple skin]]\n#{classic_items}"
|
74
|
-
|
75
|
-
# CREATE DEFAULT STYLE RULE
|
76
|
-
# (this auto-generates cached file)
|
77
|
-
|
78
|
-
default_skin =
|
79
|
-
if old_css.db_content =~ /\S/
|
80
|
-
name = "customized classic skin"
|
81
|
-
Card.create! name: name, type: "Skin",
|
82
|
-
content: "[[classic skin]]\n[[*css]]"
|
83
|
-
name
|
84
|
-
else
|
85
|
-
old_css.delete!
|
86
|
-
"classic skin"
|
87
|
-
end
|
88
|
-
|
89
|
-
Card::Cache.reset_all
|
90
|
-
begin
|
91
|
-
Card.create! name: "#{Card[:all].name}+*style",
|
92
|
-
content: "[[#{default_skin}]]"
|
93
|
-
rescue StandardError
|
94
|
-
if default_skin =~ /customized/
|
95
|
-
all_style = Card["#{Card[:all].name}+*style"]
|
96
|
-
all_style.update content: "[[classic skin]]"
|
97
|
-
end
|
98
|
-
end
|
99
|
-
end
|
100
|
-
end
|