card 1.98.3 → 1.99.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (364) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/config/locales/de.yml +7 -7
  4. data/config/locales/en.yml +7 -7
  5. data/config/locales/es.yml +7 -7
  6. data/db/migrate_core_cards/20150610180019_add_recaptcha_key_and_admin_info_cards.rb +3 -3
  7. data/db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb +1 -1
  8. data/db/migrate_core_cards/20160804112510_reorganize_scripts.rb +1 -1
  9. data/db/migrate_core_cards/20160908154210_add_trash_card.rb +1 -1
  10. data/db/migrate_core_cards/20180508210903_add_json_type.rb +3 -3
  11. data/db/migrate_core_cards/20180712042655_head_rule.rb +1 -1
  12. data/db/migrate_core_cards/{20180905061536_migrate_layouts.rb → 20180905061537_migrate_layouts.rb} +12 -1
  13. data/db/migrate_core_cards/20190204195039_add_rule_card.rb +3 -0
  14. data/db/migrate_core_cards/20190320091257_upgrade_recaptcha_to_v3.rb +5 -6
  15. data/db/migrate_core_cards/20190417142612_reorganize_scripts_2.rb +3 -3
  16. data/db/migrate_core_cards/20190502130029_add_shark_and_help_desk_role.rb +4 -5
  17. data/db/migrate_core_cards/20190618110446_add_dropdown_divider.rb +1 -1
  18. data/db/migrate_core_cards/20190710090209_homepage_tweaks.rb +17 -0
  19. data/db/migrate_core_cards/20190820155833_update_cardtype_type_structure.rb +7 -0
  20. data/db/migrate_core_cards/20190822093633_move_help_text_to_code.rb +38 -0
  21. data/db/migrate_core_cards/20190823220018_cleanup_for_decko_1_0.rb +21 -0
  22. data/db/migrate_core_cards/20190826132738_add_more_guides.rb +7 -0
  23. data/db/migrate_core_cards/20190829093961_cardtype_grouping.rb +16 -0
  24. data/db/migrate_core_cards/20190829205148_remove_add_help.rb +14 -0
  25. data/db/migrate_core_cards/20190830131820_setting_settings_aside.rb +17 -0
  26. data/db/migrate_core_cards/20190902161223_add_style_media.rb +7 -0
  27. data/db/migrate_core_cards/20190902193208_input_type.rb +22 -0
  28. data/db/migrate_core_cards/20190904174403_token_upgrade.rb +14 -0
  29. data/db/migrate_core_cards/20190909104250_add_cardtype_input_types.rb +10 -0
  30. data/db/migrate_core_cards/20190918200115_ensure_description_card.rb +13 -0
  31. data/db/migrate_core_cards/data/cards.yml +12 -8
  32. data/db/migrate_core_cards/data/cards/Xaccount +22 -0
  33. data/db/migrate_core_cards/data/cards/Xgetting_started +5 -5
  34. data/db/migrate_core_cards/data/cards/{Xgetting_started-link → Xgetting_started_link} +0 -0
  35. data/db/migrate_core_cards/data/cards/Xmain_menu +1 -1
  36. data/db/migrate_core_cards/data/cards/Xstructure-Xright-Xguide +12 -0
  37. data/db/migrate_core_cards/data/cards/administrator-dashboard +5 -0
  38. data/db/migrate_core_cards/data/cards/cardtype-Xtype-Xguide +24 -0
  39. data/db/migrate_core_cards/data/cards/cardtype-Xtype-Xstructure +3 -3
  40. data/db/migrate_core_cards/data/cards/shark-dashboard +2 -2
  41. data/db/migrate_core_cards/data/mailer/password_reset_email.html +6 -3
  42. data/db/migrate_core_cards/data/mailer/password_reset_email.txt +1 -1
  43. data/db/migrate_core_cards/data/mailer/verification_email.html +5 -2
  44. data/db/migrate_core_cards/data/mailer/verification_email.txt +2 -1
  45. data/db/seed/README.md +1 -1
  46. data/db/seed/new/card_actions.yml +2118 -2534
  47. data/db/seed/new/card_acts.yml +2 -2
  48. data/db/seed/new/card_references.yml +2326 -2466
  49. data/db/seed/new/cards.yml +2654 -3713
  50. data/db/seed/new/schema_migrations_core_cards.yml +77 -39
  51. data/db/seed/test/fixtures/card_actions.yml +3225 -3681
  52. data/db/seed/test/fixtures/card_acts.yml +503 -509
  53. data/db/seed/test/fixtures/card_changes.yml +66 -66
  54. data/db/seed/test/fixtures/card_references.yml +3135 -3275
  55. data/db/seed/test/fixtures/cards.yml +4187 -5516
  56. data/db/seed/test/fixtures/schema_migrations_core_cards.yml +77 -39
  57. data/db/{seed/test/seed.rb → test_seed.rb} +13 -11
  58. data/lib/card/auth.rb +1 -0
  59. data/lib/card/auth/current.rb +25 -27
  60. data/lib/card/auth/setup.rb +13 -12
  61. data/lib/card/auth/token.rb +38 -0
  62. data/lib/card/content.rb +34 -7
  63. data/lib/card/content/clean.rb +2 -1
  64. data/lib/card/content/truncate.rb +2 -0
  65. data/lib/card/env/success.rb +1 -14
  66. data/lib/card/error.rb +1 -0
  67. data/lib/card/format/content.rb +2 -2
  68. data/lib/card/format/error.rb +1 -1
  69. data/lib/card/format/nest.rb +1 -1
  70. data/lib/card/format/nesting.rb +2 -2
  71. data/lib/card/format/nesting/mode.rb +15 -15
  72. data/lib/card/mod/loader.rb +5 -0
  73. data/lib/card/model/save_helper.rb +2 -0
  74. data/lib/card/query.rb +1 -0
  75. data/lib/card/query/card_query/reference_attributes.rb +4 -2
  76. data/lib/card/seed_consts.rb +1 -1
  77. data/lib/card/set/format/abstract_format.rb +3 -5
  78. data/lib/card/set/format/abstract_format/view_opts.rb +1 -1
  79. data/lib/card/set/required_field.rb +8 -3
  80. data/lib/card/set_pattern.rb +10 -0
  81. data/lib/card/view/cache/stub.rb +3 -20
  82. data/lib/card/view/options.rb +4 -3
  83. data/lib/card/view/options/voo_api.rb +1 -1
  84. data/lib/cardio.rb +7 -1
  85. data/mod/Modfile +1 -0
  86. data/mod/account/set/abstract/account_field.rb +15 -0
  87. data/mod/account/set/abstract/accounted.rb +15 -0
  88. data/mod/account/set/all/account.rb +0 -4
  89. data/mod/account/set/right/account.rb +23 -151
  90. data/mod/account/set/right/account/events.rb +98 -0
  91. data/mod/account/set/right/account/views.rb +65 -0
  92. data/mod/account/set/right/api_key.rb +48 -0
  93. data/mod/account/set/right/email.rb +2 -2
  94. data/mod/account/set/right/password.rb +6 -9
  95. data/mod/account/set/right/salt.rb +5 -1
  96. data/mod/account/set/right/status.rb +10 -1
  97. data/mod/account/set/self/signin.rb +3 -3
  98. data/mod/account/set/type/role.rb +4 -0
  99. data/mod/account/set/type/signup.rb +31 -158
  100. data/mod/account/{template → set}/type/signup/core.haml +0 -0
  101. data/mod/account/set/type/signup/views.rb +93 -0
  102. data/mod/account/set/type/user.rb +16 -27
  103. data/mod/account/set/type/user/setup_help.haml +10 -0
  104. data/mod/account/spec/set/all/account_spec.rb +84 -98
  105. data/mod/account/spec/set/right/account_spec.rb +40 -33
  106. data/mod/account/spec/set/self/signin_spec.rb +2 -2
  107. data/mod/account/spec/set/type/signup_spec.rb +40 -78
  108. data/mod/ace_editor/db/migrate_core_cards/{20160805112548_delete_ace_help_card.rb → 20180805112548_delete_ace_help_card.rb} +1 -1
  109. data/mod/admin/set/self/debugger.rb +3 -0
  110. data/mod/admin/set/self/trash.rb +1 -1
  111. data/mod/basic_formats/set/all/all_css.rb +1 -1
  112. data/mod/basic_formats/set/all/all_csv.rb +1 -1
  113. data/mod/basic_formats/set/all/base.rb +19 -60
  114. data/mod/basic_formats/set/self/head.rb +1 -1
  115. data/mod/basic_types/set/type/html.rb +7 -3
  116. data/mod/basic_types/set/type/json.rb +1 -1
  117. data/mod/basic_types/set/type/plain_text.rb +1 -1
  118. data/mod/{standard → basic_types}/spec/set/type/html_spec.rb +6 -6
  119. data/mod/basic_types/spec/set/type/plain_text_spec.rb +7 -2
  120. data/mod/bootstrap/db/migrate_core_cards/20170719163733_update_bootswatch_themes_to_4_beta.rb +3 -3
  121. data/mod/bootstrap/db/migrate_core_cards/20180423160231_migrate_customized_bootstrap_skin.rb +2 -2
  122. data/mod/bootstrap/db/migrate_core_cards/20180423170283_add_type_bootswatch_skin.rb +1 -1
  123. data/mod/bootstrap/db/migrate_core_cards/lib/skin.rb +1 -1
  124. data/mod/bootstrap/lib/javascript/script_load_select2.js.coffee +26 -18
  125. data/mod/bootstrap/lib/stylesheets/style_bootstrap_cards.scss +18 -3
  126. data/mod/bootstrap/set/abstract/bootswatch_theme/html_views.rb +1 -1
  127. data/mod/bootstrap/set/all/bootstrap/helper.rb +9 -4
  128. data/mod/bootstrap/set/type/customized_bootswatch_skin.rb +1 -1
  129. data/mod/bootstrap/set/type_plus_right/customized_bootswatch_skin/colors.rb +1 -1
  130. data/mod/bootstrap/set/type_plus_right/customized_bootswatch_skin/colors/{editor.haml → input.haml} +0 -0
  131. data/mod/bootstrap/spec/set/all/bootstrap/form_spec.rb +2 -2
  132. data/mod/carrierwave/set/self/favicon.rb +5 -0
  133. data/mod/carrierwave/set/self/new_file.rb +1 -1
  134. data/mod/carrierwave/set/self/new_image.rb +1 -1
  135. data/mod/carrierwave/set/type/file.rb +1 -1
  136. data/mod/carrierwave/set/type/image.rb +2 -2
  137. data/mod/carrierwave/set/type/image/html_views.rb +0 -35
  138. data/mod/carrierwave/spec/set/type/image_spec.rb +1 -1
  139. data/mod/core/chunk/link.rb +4 -2
  140. data/mod/core/chunk/view_stub.rb +5 -4
  141. data/mod/core/set/abstract/code_file.rb +1 -1
  142. data/mod/core/set/all/codename.rb +2 -1
  143. data/mod/core/set/all/content.rb +59 -0
  144. data/mod/core/set/all/event_conditions.rb +17 -2
  145. data/mod/core/set/all/location_history.rb +1 -1
  146. data/mod/core/set/all/name.rb +1 -1
  147. data/mod/core/set/all/permissions.rb +6 -36
  148. data/mod/core/set/all/references.rb +9 -2
  149. data/mod/core/set/all/rules.rb +0 -5
  150. data/mod/core/set_pattern/03_type.rb +4 -0
  151. data/mod/core/set_pattern/07_right.rb +4 -0
  152. data/mod/core/set_pattern/08_type_plus_right.rb +4 -0
  153. data/mod/core/set_pattern/09_self.rb +4 -0
  154. data/mod/core/spec/chunk/link_spec.rb +6 -0
  155. data/mod/core/spec/chunk/nest_spec.rb +2 -2
  156. data/mod/core/spec/set/all/permissions_spec.rb +0 -10
  157. data/mod/core/spec/set/all/rules_spec.rb +6 -16
  158. data/mod/date/set/self/datepicker.rb +6 -0
  159. data/mod/date/set/type/date.rb +1 -1
  160. data/mod/date/spec/set/type/date_spec.rb +1 -1
  161. data/mod/edit/set/all/bridge/account_section.rb +16 -0
  162. data/mod/edit/set/all/bridge/bridge_pills.rb +47 -0
  163. data/mod/edit/set/all/bridge/related_section.rb +34 -0
  164. data/mod/edit/set/all/bridge/tab_views.rb +9 -40
  165. data/mod/edit/set/all/bridge/tab_visibility.rb +2 -2
  166. data/mod/edit/set/all/edit_content.rb +3 -3
  167. data/mod/edit/set/all/edit_inline.rb +15 -4
  168. data/mod/edit/set/all/edit_name.rb +5 -7
  169. data/mod/edit/set/all/edit_type.rb +25 -23
  170. data/mod/edit/set/all/editing.rb +5 -1
  171. data/mod/edit/set/all/editor.rb +28 -15
  172. data/mod/edit/set/all/form.rb +38 -17
  173. data/mod/edit/set/all/form_buttons.rb +11 -2
  174. data/mod/edit/set/all/formgroup.rb +5 -5
  175. data/mod/edit/set/all/nest_editor.rb +20 -4
  176. data/mod/edit/set/all/nest_editor/_help.haml +7 -0
  177. data/mod/edit/set/all/nest_editor/nest_editor.haml +3 -2
  178. data/mod/edit/set/all/new.rb +40 -23
  179. data/mod/edit/set/all/overlay_guide.haml +7 -0
  180. data/mod/edit/set/all/overlay_guide.rb +9 -0
  181. data/mod/edit/set/all/template_nest.rb +42 -0
  182. data/mod/edit/set/type/list.rb +15 -0
  183. data/mod/edit/set/type/plain_text.rb +13 -0
  184. data/mod/edit/set/type/pointer.rb +11 -0
  185. data/mod/edit/spec/set/all/bridge/tab_views_spec.rb +1 -1
  186. data/mod/email/set/all/email_html.rb +2 -2
  187. data/mod/email/set/all/email_text.rb +2 -2
  188. data/mod/follow/lib/card/follower_stash.rb +1 -1
  189. data/mod/follow/set/all/follow/followed_by.rb +1 -1
  190. data/mod/follow/set/all/notify/base_views.rb +3 -3
  191. data/mod/follow/set/right/following.rb +1 -1
  192. data/mod/follow/set/self/follow_defaults.rb +1 -1
  193. data/mod/follow/set/type/cardtype.rb +6 -0
  194. data/mod/follow/set/type_plus_right/user/follow.rb +1 -1
  195. data/mod/history/lib/card/act/act_renderer.rb +1 -1
  196. data/mod/history/lib/card/action.rb +2 -1
  197. data/mod/history/set/all/history_bridge.rb +0 -1
  198. data/mod/item/set/all/bar.rb +15 -7
  199. data/mod/machines/file/all_script_machine_output/file.js +38245 -69
  200. data/mod/machines/file/all_style_machine_output/file.css +4 -4
  201. data/mod/machines/file/script_html5shiv_printshiv_machine_output/file.js +1 -1
  202. data/mod/machines/lib/javascript/decko/bridge.js.coffee +4 -0
  203. data/mod/machines/lib/javascript/decko/card_menu.js.coffee +11 -0
  204. data/mod/machines/lib/javascript/decko/name_editor.js.coffee +1 -1
  205. data/mod/machines/lib/javascript/decko/nest_editor.js.coffee +3 -1
  206. data/mod/machines/lib/javascript/decko/nest_editor_name.js.coffee +29 -6
  207. data/mod/machines/lib/javascript/decko/overlay.js.coffee +3 -2
  208. data/mod/machines/lib/javascript/decko/slot.js.coffee +12 -2
  209. data/mod/machines/lib/stylesheets/style_cards.scss +43 -53
  210. data/mod/machines/lib/stylesheets/style_jquery_ui_smoothness.css +13 -13
  211. data/mod/machines/set/abstract/script.rb +1 -1
  212. data/mod/machines/set/type/css.rb +1 -1
  213. data/mod/media/lib/stylesheets/style_image_box.scss +79 -0
  214. data/mod/{utility → media}/set/abstract/media.rb +0 -0
  215. data/mod/{utility → media}/set/abstract/media/media_snippet.haml +0 -0
  216. data/mod/media/set/self/style_media.rb +6 -0
  217. data/mod/media/set/type/image.rb +38 -0
  218. data/mod/{utility → media}/spec/set/abstract/media_spec.rb +0 -0
  219. data/mod/navbar/set/right/enabled_roles.rb +1 -1
  220. data/mod/pointer/lib/javascript/script_pointer_config.js.coffee +13 -0
  221. data/mod/pointer/lib/javascript/script_pointer_list_editor.js.coffee +7 -2
  222. data/mod/pointer/set/abstract/02_pointer/html_views.rb +15 -6
  223. data/mod/pointer/set/abstract/02_pointer/html_views/checkbox_input.haml +1 -2
  224. data/mod/pointer/set/abstract/02_pointer/html_views/list_input.haml +1 -2
  225. data/mod/pointer/set/abstract/02_pointer/html_views/list_item.haml +2 -0
  226. data/mod/pointer/set/abstract/02_pointer/html_views/radio_input.haml +1 -2
  227. data/mod/pointer/set/abstract/02_pointer/options_api.rb +6 -13
  228. data/mod/pointer/set/right/{options.rb → content_options.rb} +0 -0
  229. data/mod/pointer/set/type/link_list.rb +23 -6
  230. data/mod/pointer/set/type/link_list/link_list_input.haml +24 -0
  231. data/mod/pointer/set/type/mirrored_list.rb +1 -1
  232. data/mod/pointer/spec/set/abstract/pointer/html_views_spec.rb +20 -18
  233. data/mod/pointer/spec/set/abstract/pointer/options_api_spec.rb +2 -1
  234. data/mod/pointer/spec/set/self/input_options_spec.rb +1 -1
  235. data/mod/rules/set/right/self.rb +3 -0
  236. data/mod/rules/set/rule/bar_view.rb +88 -0
  237. data/mod/rules/set/rule/bridge_rules_editor.rb +5 -10
  238. data/mod/rules/set/rule/editor.rb +40 -113
  239. data/mod/rules/set/rule/html_views.rb +13 -0
  240. data/mod/rules/set/rule/quick_editor.rb +39 -0
  241. data/mod/rules/set/rule/{editor → quick_editor}/quick_edit.haml +0 -0
  242. data/mod/rules/set/rule/{editor → quick_editor}/set_info.haml +1 -1
  243. data/mod/rules/set/rule/rule_form/buttons.rb +3 -1
  244. data/mod/rules/set/rule/rule_form/form_elements.rb +2 -2
  245. data/mod/rules/set/rule/rule_form/rule_set_radio.rb +3 -6
  246. data/mod/rules/set/rule/rule_form/set_selection.rb +3 -10
  247. data/mod/rules/set/rule/rules.rb +10 -1
  248. data/mod/rules/set/type/set.rb +37 -20
  249. data/mod/rules/set/type/set/html_views.rb +17 -35
  250. data/mod/rules/set/type/set/html_views/group_panel.haml +1 -1
  251. data/mod/rules/set/type/set/html_views/rule_lists.rb +42 -0
  252. data/mod/rules/set/type/set/html_views/template.rb +1 -32
  253. data/mod/rules/set/type/set/rules_filter.rb +24 -10
  254. data/mod/rules/set/type/set/setting_lists.rb +17 -24
  255. data/mod/rules/spec/set/rule/bar_view_spec.rb +15 -0
  256. data/mod/rules/spec/set/rule/editor_spec.rb +15 -1
  257. data/mod/rules/spec/set/type/set/html_views_spec.rb +0 -13
  258. data/mod/rules/spec/set/type/set/setting_lists_spec.rb +17 -0
  259. data/mod/rules/spec/set/type/set_spec.rb +3 -8
  260. data/mod/search/set/abstract/03_filter/form_helper.rb +9 -7
  261. data/mod/search/set/abstract/search/views.rb +2 -2
  262. data/mod/search/set/right/children.rb +4 -0
  263. data/mod/search/set/right/created.rb +3 -0
  264. data/mod/search/set/right/edited.rb +3 -0
  265. data/mod/search/set/right/editors.rb +3 -0
  266. data/mod/search/set/right/follow.rb +3 -0
  267. data/mod/search/set/right/linked_to_by.rb +3 -0
  268. data/mod/search/set/right/links_to.rb +3 -0
  269. data/mod/search/set/right/mates.rb +3 -0
  270. data/mod/search/set/right/nested_by.rb +3 -0
  271. data/mod/search/set/right/nests.rb +3 -0
  272. data/mod/search/set/right/referred_to_by.rb +3 -0
  273. data/mod/search/set/right/refers_to.rb +3 -0
  274. data/mod/search/set/self/search.rb +1 -1
  275. data/mod/search/set/type/search_type.rb +6 -5
  276. data/mod/settings/lib/card/setting.rb +17 -4
  277. data/mod/settings/set/abstract/permission.rb +6 -2
  278. data/mod/settings/set/all/supports_content_options.rb +7 -0
  279. data/mod/settings/set/right/content_option_view.rb +10 -0
  280. data/mod/settings/set/right/content_options.rb +18 -0
  281. data/mod/settings/set/right/default.rb +18 -2
  282. data/mod/settings/set/right/help.rb +2 -1
  283. data/mod/settings/set/right/input_type.rb +35 -0
  284. data/mod/settings/set/right/script.rb +6 -0
  285. data/mod/settings/set/right/structure.rb +7 -1
  286. data/mod/settings/set/right/style.rb +2 -2
  287. data/mod/settings/set/right/style/{editor.haml → input.haml} +0 -0
  288. data/mod/settings/set/self/autoname.rb +3 -1
  289. data/mod/settings/set/self/captcha.rb +4 -1
  290. data/mod/settings/set/self/content_option_view.rb +10 -0
  291. data/mod/settings/set/self/content_options.rb +10 -0
  292. data/mod/settings/set/self/create.rb +2 -1
  293. data/mod/settings/set/self/default.rb +1 -1
  294. data/mod/settings/set/self/delete.rb +2 -1
  295. data/mod/settings/set/self/guide.rb +1 -1
  296. data/mod/settings/set/self/head.rb +3 -1
  297. data/mod/settings/set/self/help.rb +3 -1
  298. data/mod/settings/set/self/input_type.rb +13 -0
  299. data/mod/settings/set/self/layout.rb +3 -1
  300. data/mod/settings/set/self/on_create.rb +2 -1
  301. data/mod/settings/set/self/on_delete.rb +2 -1
  302. data/mod/settings/set/self/on_update.rb +2 -1
  303. data/mod/settings/set/self/read.rb +2 -1
  304. data/mod/settings/set/self/structure.rb +3 -1
  305. data/mod/settings/set/self/style.rb +3 -1
  306. data/mod/settings/set/self/table_of_contents.rb +4 -1
  307. data/mod/settings/set/self/thanks.rb +3 -1
  308. data/mod/settings/set/self/update.rb +2 -1
  309. data/mod/settings/set/type/setting.rb +15 -37
  310. data/mod/settings/spec/set/right/comment_spec.rb +0 -27
  311. data/mod/settings/spec/set/right/create_spec.rb +1 -1
  312. data/mod/settings/spec/set/right/structure_spec.rb +13 -10
  313. data/mod/settings/spec/set/type/setting_spec.rb +1 -8
  314. data/mod/solid_cache/set/right/solid_cache.rb +3 -3
  315. data/mod/standard/set/all/comment.rb +1 -1
  316. data/mod/standard/set/all/error.rb +2 -2
  317. data/mod/standard/set/all/path.rb +7 -7
  318. data/mod/standard/set/all/rich_html/content.rb +41 -11
  319. data/mod/standard/set/all/rich_html/error.rb +14 -22
  320. data/mod/standard/set/all/rich_html/html_views/guide.rb +1 -1
  321. data/mod/standard/set/all/rich_html/html_views/help.rb +19 -7
  322. data/mod/standard/set/all/rich_html/html_views/info.rb +1 -1
  323. data/mod/standard/set/all/rich_html/menu.rb +50 -2
  324. data/mod/standard/set/all/rich_html/overlay.rb +23 -1
  325. data/mod/standard/set/all/rich_html/title.rb +3 -3
  326. data/mod/standard/set/right/discussion.rb +8 -2
  327. data/mod/standard/set/right/head.rb +4 -0
  328. data/mod/standard/set/right/type_plus_right.rb +4 -0
  329. data/mod/standard/set/self/cardtype.rb +42 -0
  330. data/mod/standard/set/self/sidebar.rb +5 -0
  331. data/mod/standard/set/type/basic.rb +1 -1
  332. data/mod/standard/set/type/cardtype.rb +25 -11
  333. data/mod/standard/set/type/number.rb +1 -1
  334. data/mod/standard/set/type/phrase.rb +1 -1
  335. data/mod/standard/set/type/toggle.rb +9 -1
  336. data/mod/standard/set/type/uri.rb +1 -1
  337. data/mod/standard/spec/set/all/error_spec.rb +1 -1
  338. data/mod/standard/spec/set/type/cardtype_spec.rb +4 -3
  339. data/mod/standard/spec/set/type/number_spec.rb +1 -1
  340. data/mod/standard/spec/set/type/phrase_spec.rb +1 -1
  341. data/mod/standard/spec/set/type/toggle_spec.rb +3 -4
  342. data/mod/standard/spec/set/type/uri_spec.rb +1 -1
  343. data/mod/tinymce_editor/set/self/tiny_mce.rb +7 -0
  344. metadata +116 -52
  345. data/db/migrate_core_cards/20190710090207_homepage_tweaks.rb +0 -12
  346. data/db/migrate_core_cards/data/cards/eagle-description +0 -1
  347. data/mod/account/set/right/token.rb +0 -55
  348. data/mod/account/spec/set/right/token_spec.rb +0 -23
  349. data/mod/bootstrap/set/abstract/bootswatch_theme/thumbnail.haml +0 -10
  350. data/mod/rules/set/rule/table.rb +0 -27
  351. data/mod/rules/set/rule/table_row.rb +0 -63
  352. data/mod/rules/set/type/set/html_views/nest_rules.rb +0 -14
  353. data/mod/rules/set/type/set/html_views/rules_bridge.rb +0 -21
  354. data/mod/rules/set/type/set/html_views/rules_table.haml +0 -11
  355. data/mod/rules/set/type/set/html_views/template/template_editor.haml +0 -6
  356. data/mod/rules/spec/set/rule/table_row_spec.rb +0 -9
  357. data/mod/rules/spec/set/rule/table_spec.rb +0 -15
  358. data/mod/settings/set/right/add_help.rb +0 -1
  359. data/mod/settings/set/self/accountable.rb +0 -3
  360. data/mod/settings/set/self/add_help.rb +0 -2
  361. data/mod/settings/set/self/input.rb +0 -3
  362. data/mod/settings/set/self/options.rb +0 -4
  363. data/mod/settings/set/self/options_label.rb +0 -4
  364. data/mod/settings/spec/set/right/add_help_spec.rb +0 -5
@@ -12,7 +12,7 @@ format :html do
12
12
  end
13
13
 
14
14
  def table_of_contents content
15
- return if nest_mode == :closed || !content.present?
15
+ return if nest_mode == :compact || !content.present?
16
16
 
17
17
  min = card.rule(:table_of_contents).to_i
18
18
  return unless min && min > 0
@@ -4,18 +4,24 @@ def wql_content
4
4
  { type_id: id, sort: :name }
5
5
  end
6
6
 
7
+ def related_sets with_self=false
8
+ sets = []
9
+ sets << ["#{name}+*type", Card::Set::Type.label(name)] if known?
10
+ sets + super
11
+ end
12
+
7
13
  format :html do
8
- view :type do
14
+ view :type, unknown: true do
9
15
  link_args = { class: "cardtype" }
10
16
  add_class link_args, "no-edit" if card.cards_of_type_exist?
11
17
  link_to_card card.type_card, nil, link_args
12
18
  end
13
19
 
14
- def type_formgroup
20
+ def type_formgroup args={}
15
21
  if card.cards_of_type_exist?
16
22
  wrap_with :div, tr(:cards_exist, cardname: safe_name)
17
23
  else
18
- super()
24
+ super
19
25
  end
20
26
  end
21
27
 
@@ -24,13 +30,13 @@ format :html do
24
30
  end
25
31
 
26
32
  view :add_button do
27
- add_link "btn btn-outline-secondary"
33
+ add_link "btn btn-secondary"
28
34
  end
29
35
 
30
36
  def add_link css_class=nil
31
37
  voo.title ||= tr(:add_card, cardname: safe_name)
32
38
  title = _render_title
33
- link_to title, path: _render_add_path, class: css_class
39
+ link_to title, modal_link_opts(class: css_class, path: _render_add_path)
34
40
  end
35
41
 
36
42
  view :add_url do
@@ -47,7 +53,7 @@ format :html do
47
53
  path_args[key] = value
48
54
  end
49
55
  end
50
- path path_args.merge(action: :new, mark: card.name)
56
+ path path_args.merge(action: :type, mark: card.name, view: :new_in_modal)
51
57
  end
52
58
 
53
59
  # don't cache because it depends on update permission for another card
@@ -59,14 +65,15 @@ format :html do
59
65
  Card.fetch(card, :type, :structure, new: {}).ok? :update
60
66
  end
61
67
 
62
- view :configure_button, cache: :never, perms: ->(fmt) { fmt.can_configure? } do
63
- configure_link "btn btn-outline-secondary"
68
+ view :configure_button, cache: :never, denial: :blank,
69
+ perms: ->(fmt) { fmt.can_configure? } do
70
+ configure_link "btn btn-secondary"
64
71
  end
65
72
 
66
73
  def configure_link css_class=nil
67
74
  return "" unless Card.fetch(card, :type, :structure, new: {}).ok? :update
68
75
 
69
- voo.title ||= tr(:configure_card, cardname: safe_name)
76
+ voo.title ||= tr(:configure_card, cardname: safe_name.pluralize)
70
77
  title = _render_title
71
78
  link_to_card card, title, path: { view: :bridge, bridge: { tab: :rules_tab },
72
79
  set: Card::Name[safe_name, :type] },
@@ -84,12 +91,19 @@ def create_ok?
84
91
  Card.new(type_id: id).ok? :create
85
92
  end
86
93
 
94
+ def was_cardtype?
95
+ type_id_before_act == CardtypeID
96
+ end
97
+
87
98
  event :check_for_cards_of_type, after: :validate_delete do
88
99
  errors.add :cardtype, tr(:cards_exist, cardname: name) if cards_of_type_exist?
89
100
  end
90
101
 
91
- event :check_for_cards_of_type_when_type_changed, :validate, changing: :type do
92
- errors.add :cardtype, tr(:error_cant_alter, name: name) if cards_of_type_exist?
102
+ event :check_for_cards_of_type_when_type_changed,
103
+ :validate, changing: :type, when: :was_cardtype? do
104
+ if cards_of_type_exist?
105
+ errors.add :cardtype, tr(:error_cant_alter, name: name_before_act)
106
+ end
93
107
  end
94
108
 
95
109
  event :validate_cardtype_name, :validate, on: :save, changed: :name do
@@ -1,6 +1,6 @@
1
1
 
2
2
  format :html do
3
- def editor
3
+ def input_type
4
4
  :text_field
5
5
  end
6
6
  end
@@ -1,5 +1,5 @@
1
1
  format :html do
2
- def editor
2
+ def input_type
3
3
  :text_field
4
4
  end
5
5
  end
@@ -12,7 +12,7 @@ view :core do
12
12
  end
13
13
 
14
14
  format :html do
15
- view :editor do
15
+ view :input do
16
16
  toggle
17
17
  end
18
18
 
@@ -27,4 +27,12 @@ format :html do
27
27
  def toggle_label
28
28
  label :content, card.name.tag
29
29
  end
30
+
31
+ def one_line_content
32
+ short_content
33
+ end
34
+
35
+ def short_content
36
+ render_core
37
+ end
30
38
  end
@@ -9,7 +9,7 @@ format do
9
9
  end
10
10
 
11
11
  format :html do
12
- def editor
12
+ def input_type
13
13
  :text_field
14
14
  end
15
15
  end
@@ -1,7 +1,7 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
 
3
3
  describe Card::Set::All::Error do
4
- describe "missing view" do
4
+ describe "unknown view" do
5
5
  it "prompts to add" do
6
6
  expect(render_content("{{+cardipoo|open}}")).to match(/fa-plus-square.*cardipoo/)
7
7
  end
@@ -4,15 +4,16 @@ RSpec.describe Card::Set::Type::Cardtype do
4
4
  describe "view: add_button" do
5
5
  it "creates link with correct path" do
6
6
  expect(render_content("{{RichText|add_button}}"))
7
- .to have_tag('a[href="/new/RichText"]', text: "Add RichText")
7
+ .to have_tag('a[href="/type/RichText?view=new_in_modal"]', text: "Add RichText")
8
8
  end
9
9
  it "handles title argument" do
10
10
  expect(render_content("{{RichText|add_button;title: custom link text}}"))
11
- .to have_tag('a[href="/new/RichText"]', text: "custom link text")
11
+ .to have_tag('a[href="/type/RichText?view=new_in_modal"]',
12
+ text: "custom link text")
12
13
  end
13
14
  it "handles params" do
14
15
  expect(render_content("{{RichText|add_button;params:_project=_self}}"))
15
- .to have_tag('a[href="/new/RichText?_project=Tempo+Rary+2"]')
16
+ .to have_tag('a[href="/type/RichText?_project=Tempo+Rary+2&view=new_in_modal"]')
16
17
  end
17
18
  end
18
19
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  describe Card::Set::Type::Number do
4
4
  it "has special editor" do
5
- assert_view_select render_editor("Number"), 'input[type="text"]'
5
+ assert_view_select render_input("Number"), 'input[type="text"]'
6
6
  end
7
7
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  describe Card::Set::Type::Phrase do
4
4
  it "has special editor" do
5
- assert_view_select render_editor("Phrase"),
5
+ assert_view_select render_input("Phrase"),
6
6
  'input[type="text"][class~="d0-card-content"]'
7
7
  end
8
8
  end
@@ -1,14 +1,13 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
 
3
- describe Card::Set::Type::Toggle do
3
+ RSpec.describe Card::Set::Type::Toggle do
4
4
  it "has special editor" do
5
- assert_view_select render_editor("Toggle"), 'input[type="checkbox"]'
5
+ assert_view_select render_input("Toggle"), 'input[type="checkbox"]'
6
6
  end
7
7
 
8
8
  it "has yes/no as processed content" do
9
9
  expect(render_view(:core, type: "Toggle", content: "0")).to eq("no")
10
- expect(render_view(:closed_content, type: "Toggle", content: "1"))
11
- .to eq("yes")
10
+ expect(render_view(:core, type: "Toggle", content: "1")).to eq("yes")
12
11
  end
13
12
 
14
13
  describe "view :labeled_editor" do
@@ -2,7 +2,7 @@
2
2
 
3
3
  describe Card::Set::Type::Uri do
4
4
  it "has special editor" do
5
- assert_view_select render_editor("Uri"),
5
+ assert_view_select render_input("Uri"),
6
6
  'input[type="text"][class~="d0-card-content"]'
7
7
  end
8
8
 
@@ -0,0 +1,7 @@
1
+ def raw_help_text
2
+ <<-TEXT
3
+ Configure [[http://tinymce.com|TinyMCE]], Decko's default
4
+ [[http://en.wikipedia.org/wiki/Wysiwyg|wysiwyg]] editor.
5
+ [[http://decko.org/TinyMCE|more]]
6
+ TEXT
7
+ end
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.98.3
4
+ version: 1.99.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-09-08 00:00:00.000000000 Z
14
+ date: 2019-10-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: cardname
@@ -19,14 +19,14 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.8.3
22
+ version: 0.9.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.8.3
29
+ version: 0.9.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: haml
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -266,61 +266,75 @@ dependencies:
266
266
  - !ruby/object:Gem::Version
267
267
  version: 5.11.2
268
268
  - !ruby/object:Gem::Dependency
269
- name: rake
269
+ name: activerecord-import
270
270
  requirement: !ruby/object:Gem::Requirement
271
271
  requirements:
272
- - - "<="
272
+ - - "~>"
273
273
  - !ruby/object:Gem::Version
274
- version: 12.3.0
274
+ version: '1.0'
275
275
  type: :runtime
276
276
  prerelease: false
277
277
  version_requirements: !ruby/object:Gem::Requirement
278
278
  requirements:
279
- - - "<="
279
+ - - "~>"
280
280
  - !ruby/object:Gem::Version
281
- version: 12.3.0
281
+ version: '1.0'
282
282
  - !ruby/object:Gem::Dependency
283
- name: rails
283
+ name: card-mod-markdown
284
284
  requirement: !ruby/object:Gem::Requirement
285
285
  requirements:
286
286
  - - "~>"
287
287
  - !ruby/object:Gem::Version
288
- version: 5.2.2.1
288
+ version: '0.4'
289
289
  type: :runtime
290
290
  prerelease: false
291
291
  version_requirements: !ruby/object:Gem::Requirement
292
292
  requirements:
293
293
  - - "~>"
294
294
  - !ruby/object:Gem::Version
295
- version: 5.2.2.1
295
+ version: '0.4'
296
296
  - !ruby/object:Gem::Dependency
297
- name: activerecord-import
297
+ name: msgpack
298
298
  requirement: !ruby/object:Gem::Requirement
299
299
  requirements:
300
300
  - - "~>"
301
301
  - !ruby/object:Gem::Version
302
- version: '1.0'
302
+ version: '1.3'
303
303
  type: :runtime
304
304
  prerelease: false
305
305
  version_requirements: !ruby/object:Gem::Requirement
306
306
  requirements:
307
307
  - - "~>"
308
308
  - !ruby/object:Gem::Version
309
- version: '1.0'
309
+ version: '1.3'
310
310
  - !ruby/object:Gem::Dependency
311
- name: card-mod-markdown
311
+ name: rake
312
+ requirement: !ruby/object:Gem::Requirement
313
+ requirements:
314
+ - - "<="
315
+ - !ruby/object:Gem::Version
316
+ version: 12.3.0
317
+ type: :runtime
318
+ prerelease: false
319
+ version_requirements: !ruby/object:Gem::Requirement
320
+ requirements:
321
+ - - "<="
322
+ - !ruby/object:Gem::Version
323
+ version: 12.3.0
324
+ - !ruby/object:Gem::Dependency
325
+ name: rails
312
326
  requirement: !ruby/object:Gem::Requirement
313
327
  requirements:
314
328
  - - "~>"
315
329
  - !ruby/object:Gem::Version
316
- version: '0.3'
330
+ version: 5.2.2.1
317
331
  type: :runtime
318
332
  prerelease: false
319
333
  version_requirements: !ruby/object:Gem::Requirement
320
334
  requirements:
321
335
  - - "~>"
322
336
  - !ruby/object:Gem::Version
323
- version: '0.3'
337
+ version: 5.2.2.1
324
338
  description: Cards are wiki-inspired data atoms."Carditects" use links, nests, types,
325
339
  patterned names, queries, views, events, and rules to create rich structures.
326
340
  email:
@@ -447,7 +461,7 @@ files:
447
461
  - db/migrate_core_cards/20180508210903_add_json_type.rb
448
462
  - db/migrate_core_cards/20180515175726_add_codenames.rb
449
463
  - db/migrate_core_cards/20180712042655_head_rule.rb
450
- - db/migrate_core_cards/20180905061536_migrate_layouts.rb
464
+ - db/migrate_core_cards/20180905061537_migrate_layouts.rb
451
465
  - db/migrate_core_cards/20181120200937_update_layout.rb
452
466
  - db/migrate_core_cards/20190125125150_add_script_rules_card.rb
453
467
  - db/migrate_core_cards/20190204195039_add_rule_card.rb
@@ -464,8 +478,20 @@ files:
464
478
  - db/migrate_core_cards/20190618110446_add_dropdown_divider.rb
465
479
  - db/migrate_core_cards/20190621143156_add_role_assign_permissions.rb
466
480
  - db/migrate_core_cards/20190625153616_pointer_overhaul.rb
467
- - db/migrate_core_cards/20190710090207_homepage_tweaks.rb
481
+ - db/migrate_core_cards/20190710090209_homepage_tweaks.rb
468
482
  - db/migrate_core_cards/20190718140126_add_guides.rb
483
+ - db/migrate_core_cards/20190820155833_update_cardtype_type_structure.rb
484
+ - db/migrate_core_cards/20190822093633_move_help_text_to_code.rb
485
+ - db/migrate_core_cards/20190823220018_cleanup_for_decko_1_0.rb
486
+ - db/migrate_core_cards/20190826132738_add_more_guides.rb
487
+ - db/migrate_core_cards/20190829093961_cardtype_grouping.rb
488
+ - db/migrate_core_cards/20190829205148_remove_add_help.rb
489
+ - db/migrate_core_cards/20190830131820_setting_settings_aside.rb
490
+ - db/migrate_core_cards/20190902161223_add_style_media.rb
491
+ - db/migrate_core_cards/20190902193208_input_type.rb
492
+ - db/migrate_core_cards/20190904174403_token_upgrade.rb
493
+ - db/migrate_core_cards/20190909104250_add_cardtype_input_types.rb
494
+ - db/migrate_core_cards/20190918200115_ensure_description_card.rb
469
495
  - db/migrate_core_cards/data/1.11_help_text.json
470
496
  - db/migrate_core_cards/data/1.12_stylesheets/classic_cards.scss
471
497
  - db/migrate_core_cards/data/1.12_stylesheets/common.scss
@@ -475,26 +501,28 @@ files:
475
501
  - db/migrate_core_cards/data/1.14_config_descriptions_etc.json
476
502
  - db/migrate_core_cards/data/bootstrap_layout.json
477
503
  - db/migrate_core_cards/data/cards.yml
504
+ - db/migrate_core_cards/data/cards/Xaccount
478
505
  - db/migrate_core_cards/data/cards/Xaccount_setting-Xright-Xstructure
479
506
  - db/migrate_core_cards/data/cards/Xall-Xlayout
480
507
  - db/migrate_core_cards/data/cards/Xcredit
481
508
  - db/migrate_core_cards/data/cards/Xfooter
482
509
  - db/migrate_core_cards/data/cards/Xgetting_started
483
- - db/migrate_core_cards/data/cards/Xgetting_started-link
484
510
  - db/migrate_core_cards/data/cards/Xgetting_started-shark
511
+ - db/migrate_core_cards/data/cards/Xgetting_started_link
485
512
  - db/migrate_core_cards/data/cards/Xheader
486
513
  - db/migrate_core_cards/data/cards/Xhome
487
514
  - db/migrate_core_cards/data/cards/Xlogo
488
515
  - db/migrate_core_cards/data/cards/Xmain_menu
489
516
  - db/migrate_core_cards/data/cards/Xrecaptcha_setting-Xself-Xstructure
490
517
  - db/migrate_core_cards/data/cards/Xsidebar
518
+ - db/migrate_core_cards/data/cards/Xstructure-Xright-Xguide
491
519
  - db/migrate_core_cards/data/cards/Xtitle
492
520
  - db/migrate_core_cards/data/cards/administrator-dashboard
493
521
  - db/migrate_core_cards/data/cards/administrator-description
494
522
  - db/migrate_core_cards/data/cards/anyone_signed_in-dashboard
523
+ - db/migrate_core_cards/data/cards/cardtype-Xtype-Xguide
495
524
  - db/migrate_core_cards/data/cards/cardtype-Xtype-Xstructure
496
525
  - db/migrate_core_cards/data/cards/default_layout
497
- - db/migrate_core_cards/data/cards/eagle-description
498
526
  - db/migrate_core_cards/data/cards/full_width_layout
499
527
  - db/migrate_core_cards/data/cards/help_desk-dashboard
500
528
  - db/migrate_core_cards/data/cards/help_desk-description
@@ -574,8 +602,8 @@ files:
574
602
  - db/seed/test/fixtures/rails.gif
575
603
  - db/seed/test/fixtures/schema_migrations.yml
576
604
  - db/seed/test/fixtures/schema_migrations_core_cards.yml
577
- - db/seed/test/seed.rb
578
605
  - db/seeds.rb
606
+ - db/test_seed.rb
579
607
  - db/version.txt
580
608
  - db/version_core_cards.txt
581
609
  - lib/application_job.rb
@@ -592,6 +620,7 @@ files:
592
620
  - lib/card/auth/permissions.rb
593
621
  - lib/card/auth/proxy.rb
594
622
  - lib/card/auth/setup.rb
623
+ - lib/card/auth/token.rb
595
624
  - lib/card/cache.rb
596
625
  - lib/card/cache/persistent.rb
597
626
  - lib/card/cache/prepopulate.rb
@@ -750,18 +779,25 @@ files:
750
779
  - lib/generators/card/template/templates/haml_template.erb
751
780
  - mod/Modfile
752
781
  - mod/account/README.md
782
+ - mod/account/set/abstract/account_field.rb
783
+ - mod/account/set/abstract/accounted.rb
753
784
  - mod/account/set/all/account.rb
754
785
  - mod/account/set/right/account.rb
786
+ - mod/account/set/right/account/events.rb
787
+ - mod/account/set/right/account/views.rb
788
+ - mod/account/set/right/api_key.rb
755
789
  - mod/account/set/right/email.rb
756
790
  - mod/account/set/right/password.rb
757
791
  - mod/account/set/right/roles.rb
758
792
  - mod/account/set/right/salt.rb
759
793
  - mod/account/set/right/status.rb
760
- - mod/account/set/right/token.rb
761
794
  - mod/account/set/self/signin.rb
762
795
  - mod/account/set/type/role.rb
763
796
  - mod/account/set/type/signup.rb
797
+ - mod/account/set/type/signup/core.haml
798
+ - mod/account/set/type/signup/views.rb
764
799
  - mod/account/set/type/user.rb
800
+ - mod/account/set/type/user/setup_help.haml
765
801
  - mod/account/set/type_plus_right/user/email.rb
766
802
  - mod/account/spec/set/all/account_spec.rb
767
803
  - mod/account/spec/set/right/account_spec.rb
@@ -770,13 +806,11 @@ files:
770
806
  - mod/account/spec/set/right/roles_spec.rb
771
807
  - mod/account/spec/set/right/salt_spec.rb
772
808
  - mod/account/spec/set/right/status_spec.rb
773
- - mod/account/spec/set/right/token_spec.rb
774
809
  - mod/account/spec/set/self/signin_spec.rb
775
810
  - mod/account/spec/set/type/signup_spec.rb
776
811
  - mod/account/spec/set/type/user_spec.rb
777
- - mod/account/template/type/signup/core.haml
778
812
  - mod/ace_editor/db/migrate_core_cards/20160804112538_add_ace_cards.rb
779
- - mod/ace_editor/db/migrate_core_cards/20160805112548_delete_ace_help_card.rb
813
+ - mod/ace_editor/db/migrate_core_cards/20180805112548_delete_ace_help_card.rb
780
814
  - mod/ace_editor/lib/javascript/script_ace.js
781
815
  - mod/ace_editor/lib/javascript/script_ace_config.js.coffee
782
816
  - mod/ace_editor/public/assets/ace/ext-beautify.js
@@ -1153,6 +1187,7 @@ files:
1153
1187
  - mod/ace_editor/set/self/script_ace_config.rb
1154
1188
  - mod/admin/set/self/admin.rb
1155
1189
  - mod/admin/set/self/admin_info.rb
1190
+ - mod/admin/set/self/debugger.rb
1156
1191
  - mod/admin/set/self/recaptcha_proxy.rb
1157
1192
  - mod/admin/set/self/recaptcha_secret_key.rb
1158
1193
  - mod/admin/set/self/recaptcha_settings.rb
@@ -1193,6 +1228,7 @@ files:
1193
1228
  - mod/basic_types/set/type/html.rb
1194
1229
  - mod/basic_types/set/type/json.rb
1195
1230
  - mod/basic_types/set/type/plain_text.rb
1231
+ - mod/basic_types/spec/set/type/html_spec.rb
1196
1232
  - mod/basic_types/spec/set/type/json_spec.rb
1197
1233
  - mod/basic_types/spec/set/type/plain_text_spec.rb
1198
1234
  - mod/bootstrap/db/migrate_core_cards/20170719163733_update_bootswatch_themes_to_4_beta.rb
@@ -1373,7 +1409,6 @@ files:
1373
1409
  - mod/bootstrap/set/abstract/bootstrap_code_file.rb
1374
1410
  - mod/bootstrap/set/abstract/bootswatch_theme.rb
1375
1411
  - mod/bootstrap/set/abstract/bootswatch_theme/html_views.rb
1376
- - mod/bootstrap/set/abstract/bootswatch_theme/thumbnail.haml
1377
1412
  - mod/bootstrap/set/all/bootstrap/accordion.rb
1378
1413
  - mod/bootstrap/set/all/bootstrap/dropdown.rb
1379
1414
  - mod/bootstrap/set/all/bootstrap/form.rb
@@ -1404,7 +1439,7 @@ files:
1404
1439
  - mod/bootstrap/set/type_plus_right/customized_bootswatch_skin/colors.rb
1405
1440
  - mod/bootstrap/set/type_plus_right/customized_bootswatch_skin/colors/_colorpicker.haml
1406
1441
  - mod/bootstrap/set/type_plus_right/customized_bootswatch_skin/colors/core.haml
1407
- - mod/bootstrap/set/type_plus_right/customized_bootswatch_skin/colors/editor.haml
1442
+ - mod/bootstrap/set/type_plus_right/customized_bootswatch_skin/colors/input.haml
1408
1443
  - mod/bootstrap/spec/set/all/bootstrap/bootstrap_builder_spec.rb
1409
1444
  - mod/bootstrap/spec/set/all/bootstrap/bootstrap_spec.rb
1410
1445
  - mod/bootstrap/spec/set/all/bootstrap/carousel_spec.rb
@@ -4196,6 +4231,7 @@ files:
4196
4231
  - mod/date/lib/javascript/script_datepicker_config.js.coffee
4197
4232
  - mod/date/lib/stylesheets/tempusdominus.scss
4198
4233
  - mod/date/set/all/calendar.rb
4234
+ - mod/date/set/self/datepicker.rb
4199
4235
  - mod/date/set/self/script_datepicker.rb
4200
4236
  - mod/date/set/self/script_datepicker_config.rb
4201
4237
  - mod/date/set/self/style_datepicker.rb
@@ -4895,8 +4931,11 @@ files:
4895
4931
  - mod/developer/spec/set/all/view_viz_spec.rb
4896
4932
  - mod/developer/spec/set/right/debug_spec.rb
4897
4933
  - mod/edit/set/all/bridge.rb
4934
+ - mod/edit/set/all/bridge/account_section.rb
4898
4935
  - mod/edit/set/all/bridge/bridge.haml
4936
+ - mod/edit/set/all/bridge/bridge_pills.rb
4899
4937
  - mod/edit/set/all/bridge/follow_section.rb
4938
+ - mod/edit/set/all/bridge/related_section.rb
4900
4939
  - mod/edit/set/all/bridge/tab_views.rb
4901
4940
  - mod/edit/set/all/bridge/tab_visibility.rb
4902
4941
  - mod/edit/set/all/edit_content.rb
@@ -4910,6 +4949,7 @@ files:
4910
4949
  - mod/edit/set/all/form_elements.rb
4911
4950
  - mod/edit/set/all/formgroup.rb
4912
4951
  - mod/edit/set/all/nest_editor.rb
4952
+ - mod/edit/set/all/nest_editor/_help.haml
4913
4953
  - mod/edit/set/all/nest_editor/_options.haml
4914
4954
  - mod/edit/set/all/nest_editor/_options_select.haml
4915
4955
  - mod/edit/set/all/nest_editor/_options_select_row.haml
@@ -4917,6 +4957,12 @@ files:
4917
4957
  - mod/edit/set/all/nest_editor/nest_parser.rb
4918
4958
  - mod/edit/set/all/nest_image.rb
4919
4959
  - mod/edit/set/all/new.rb
4960
+ - mod/edit/set/all/overlay_guide.haml
4961
+ - mod/edit/set/all/overlay_guide.rb
4962
+ - mod/edit/set/all/template_nest.rb
4963
+ - mod/edit/set/type/list.rb
4964
+ - mod/edit/set/type/plain_text.rb
4965
+ - mod/edit/set/type/pointer.rb
4920
4966
  - mod/edit/spec/set/all/bridge/tab_views_spec.rb
4921
4967
  - mod/edit/spec/set/all/bridge_spec.rb
4922
4968
  - mod/edit/spec/set/all/editing_spec.rb
@@ -5175,6 +5221,12 @@ files:
5175
5221
  - mod/machines/vendor/jquery_rails/vendor/assets/javascripts/jquery3.min.js
5176
5222
  - mod/machines/vendor/jquery_rails/vendor/assets/javascripts/jquery3.min.map
5177
5223
  - mod/machines/vendor/jquery_rails/vendor/assets/javascripts/jquery_ujs.js
5224
+ - mod/media/lib/stylesheets/style_image_box.scss
5225
+ - mod/media/set/abstract/media.rb
5226
+ - mod/media/set/abstract/media/media_snippet.haml
5227
+ - mod/media/set/self/style_media.rb
5228
+ - mod/media/set/type/image.rb
5229
+ - mod/media/spec/set/abstract/media_spec.rb
5178
5230
  - mod/navbar/set/abstract/account_dropdown.rb
5179
5231
  - mod/navbar/set/abstract/pointer/html_views.rb
5180
5232
  - mod/navbar/set/all/navbar_links.rb
@@ -5209,7 +5261,7 @@ files:
5209
5261
  - mod/pointer/set/abstract/02_pointer/options_api.rb
5210
5262
  - mod/pointer/set/abstract/02_pointer/other_views.rb
5211
5263
  - mod/pointer/set/abstract/code_pointer.rb
5212
- - mod/pointer/set/right/options.rb
5264
+ - mod/pointer/set/right/content_options.rb
5213
5265
  - mod/pointer/set/self/input_options.rb
5214
5266
  - mod/pointer/set/self/script_editors.rb
5215
5267
  - mod/pointer/set/self/script_libraries.rb
@@ -5218,6 +5270,7 @@ files:
5218
5270
  - mod/pointer/set/self/style_libraries.rb
5219
5271
  - mod/pointer/set/self/style_mods.rb
5220
5272
  - mod/pointer/set/type/link_list.rb
5273
+ - mod/pointer/set/type/link_list/link_list_input.haml
5221
5274
  - mod/pointer/set/type/list.rb
5222
5275
  - mod/pointer/set/type/mirror_list.rb
5223
5276
  - mod/pointer/set/type/mirrored_list.rb
@@ -5243,11 +5296,15 @@ files:
5243
5296
  - mod/prosemirror_editor/set/self/style_prosemirror.rb
5244
5297
  - mod/recaptcha/set/all/recaptcha.rb
5245
5298
  - mod/rules/lib/javascript/script_rules.js.coffee
5299
+ - mod/rules/set/right/self.rb
5246
5300
  - mod/rules/set/rstar/rule_user.rb
5301
+ - mod/rules/set/rule/bar_view.rb
5247
5302
  - mod/rules/set/rule/bridge_rules_editor.rb
5248
5303
  - mod/rules/set/rule/editor.rb
5249
- - mod/rules/set/rule/editor/quick_edit.haml
5250
- - mod/rules/set/rule/editor/set_info.haml
5304
+ - mod/rules/set/rule/html_views.rb
5305
+ - mod/rules/set/rule/quick_editor.rb
5306
+ - mod/rules/set/rule/quick_editor/quick_edit.haml
5307
+ - mod/rules/set/rule/quick_editor/set_info.haml
5251
5308
  - mod/rules/set/rule/rule_form.rb
5252
5309
  - mod/rules/set/rule/rule_form/buttons.rb
5253
5310
  - mod/rules/set/rule/rule_form/form_elements.rb
@@ -5255,23 +5312,18 @@ files:
5255
5312
  - mod/rules/set/rule/rule_form/rule_set_radio.rb
5256
5313
  - mod/rules/set/rule/rule_form/set_selection.rb
5257
5314
  - mod/rules/set/rule/rules.rb
5258
- - mod/rules/set/rule/table.rb
5259
- - mod/rules/set/rule/table_row.rb
5260
5315
  - mod/rules/set/self/script_rules.rb
5261
5316
  - mod/rules/set/type/set.rb
5262
5317
  - mod/rules/set/type/set/html_views.rb
5263
5318
  - mod/rules/set/type/set/html_views/group_panel.haml
5264
- - mod/rules/set/type/set/html_views/nest_rules.rb
5265
- - mod/rules/set/type/set/html_views/rules_bridge.rb
5266
- - mod/rules/set/type/set/html_views/rules_table.haml
5319
+ - mod/rules/set/type/set/html_views/rule_lists.rb
5267
5320
  - mod/rules/set/type/set/html_views/template.rb
5268
- - mod/rules/set/type/set/html_views/template/template_editor.haml
5269
5321
  - mod/rules/set/type/set/rules_filter.rb
5270
5322
  - mod/rules/set/type/set/setting_lists.rb
5323
+ - mod/rules/spec/set/rule/bar_view_spec.rb
5271
5324
  - mod/rules/spec/set/rule/editor_spec.rb
5272
- - mod/rules/spec/set/rule/table_row_spec.rb
5273
- - mod/rules/spec/set/rule/table_spec.rb
5274
5325
  - mod/rules/spec/set/type/set/html_views_spec.rb
5326
+ - mod/rules/spec/set/type/set/setting_lists_spec.rb
5275
5327
  - mod/rules/spec/set/type/set_spec.rb
5276
5328
  - mod/search/lib/card/filter_query.rb
5277
5329
  - mod/search/set/abstract/00_filter_helper.rb
@@ -5288,6 +5340,18 @@ files:
5288
5340
  - mod/search/set/abstract/search.rb
5289
5341
  - mod/search/set/abstract/search/views.rb
5290
5342
  - mod/search/set/abstract/wql_search.rb
5343
+ - mod/search/set/right/children.rb
5344
+ - mod/search/set/right/created.rb
5345
+ - mod/search/set/right/edited.rb
5346
+ - mod/search/set/right/editors.rb
5347
+ - mod/search/set/right/follow.rb
5348
+ - mod/search/set/right/linked_to_by.rb
5349
+ - mod/search/set/right/links_to.rb
5350
+ - mod/search/set/right/mates.rb
5351
+ - mod/search/set/right/nested_by.rb
5352
+ - mod/search/set/right/nests.rb
5353
+ - mod/search/set/right/referred_to_by.rb
5354
+ - mod/search/set/right/refers_to.rb
5291
5355
  - mod/search/set/self/recent.rb
5292
5356
  - mod/search/set/self/search.rb
5293
5357
  - mod/search/set/type/search_type.rb
@@ -5300,24 +5364,27 @@ files:
5300
5364
  - mod/settings/lib/card/setting.rb
5301
5365
  - mod/settings/set/abstract/permission.rb
5302
5366
  - mod/settings/set/abstract/templated_nests.rb
5303
- - mod/settings/set/right/add_help.rb
5367
+ - mod/settings/set/all/supports_content_options.rb
5304
5368
  - mod/settings/set/right/autoname.rb
5305
5369
  - mod/settings/set/right/comment.rb
5370
+ - mod/settings/set/right/content_option_view.rb
5371
+ - mod/settings/set/right/content_options.rb
5306
5372
  - mod/settings/set/right/create.rb
5307
5373
  - mod/settings/set/right/default.rb
5308
5374
  - mod/settings/set/right/delete.rb
5309
5375
  - mod/settings/set/right/guide.rb
5310
5376
  - mod/settings/set/right/help.rb
5377
+ - mod/settings/set/right/input_type.rb
5311
5378
  - mod/settings/set/right/read.rb
5312
5379
  - mod/settings/set/right/script.rb
5313
5380
  - mod/settings/set/right/structure.rb
5314
5381
  - mod/settings/set/right/style.rb
5315
- - mod/settings/set/right/style/editor.haml
5382
+ - mod/settings/set/right/style/input.haml
5316
5383
  - mod/settings/set/right/update.rb
5317
- - mod/settings/set/self/accountable.rb
5318
- - mod/settings/set/self/add_help.rb
5319
5384
  - mod/settings/set/self/autoname.rb
5320
5385
  - mod/settings/set/self/captcha.rb
5386
+ - mod/settings/set/self/content_option_view.rb
5387
+ - mod/settings/set/self/content_options.rb
5321
5388
  - mod/settings/set/self/create.rb
5322
5389
  - mod/settings/set/self/csv_structure.rb
5323
5390
  - mod/settings/set/self/default.rb
@@ -5327,13 +5394,11 @@ files:
5327
5394
  - mod/settings/set/self/guide.rb
5328
5395
  - mod/settings/set/self/head.rb
5329
5396
  - mod/settings/set/self/help.rb
5330
- - mod/settings/set/self/input.rb
5397
+ - mod/settings/set/self/input_type.rb
5331
5398
  - mod/settings/set/self/layout.rb
5332
5399
  - mod/settings/set/self/on_create.rb
5333
5400
  - mod/settings/set/self/on_delete.rb
5334
5401
  - mod/settings/set/self/on_update.rb
5335
- - mod/settings/set/self/options.rb
5336
- - mod/settings/set/self/options_label.rb
5337
5402
  - mod/settings/set/self/read.rb
5338
5403
  - mod/settings/set/self/recent_settings.rb
5339
5404
  - mod/settings/set/self/script.rb
@@ -5343,7 +5408,6 @@ files:
5343
5408
  - mod/settings/set/self/thanks.rb
5344
5409
  - mod/settings/set/self/update.rb
5345
5410
  - mod/settings/set/type/setting.rb
5346
- - mod/settings/spec/set/right/add_help_spec.rb
5347
5411
  - mod/settings/spec/set/right/comment_spec.rb
5348
5412
  - mod/settings/spec/set/right/create_spec.rb
5349
5413
  - mod/settings/spec/set/right/default_spec.rb
@@ -5402,13 +5466,16 @@ files:
5402
5466
  - mod/standard/set/all/rich_html/wrapper.rb
5403
5467
  - mod/standard/set/right/discussion.rb
5404
5468
  - mod/standard/set/right/head.rb
5469
+ - mod/standard/set/right/type_plus_right.rb
5405
5470
  - mod/standard/set/right/when_created.rb
5406
5471
  - mod/standard/set/right/when_last_edited.rb
5407
5472
  - mod/standard/set/self/alerts.rb
5473
+ - mod/standard/set/self/cardtype.rb
5408
5474
  - mod/standard/set/self/codenames.rb
5409
5475
  - mod/standard/set/self/foot.rb
5410
5476
  - mod/standard/set/self/home.rb
5411
5477
  - mod/standard/set/self/now.rb
5478
+ - mod/standard/set/self/sidebar.rb
5412
5479
  - mod/standard/set/type/basic.rb
5413
5480
  - mod/standard/set/type/cardtype.rb
5414
5481
  - mod/standard/set/type/layout_type.rb
@@ -5449,7 +5516,6 @@ files:
5449
5516
  - mod/standard/spec/set/type/cardtype_spec.rb
5450
5517
  - mod/standard/spec/set/type/email_template/email_config_spec.rb
5451
5518
  - mod/standard/spec/set/type/email_template_spec.rb
5452
- - mod/standard/spec/set/type/html_spec.rb
5453
5519
  - mod/standard/spec/set/type/layout_type_spec.rb
5454
5520
  - mod/standard/spec/set/type/number_spec.rb
5455
5521
  - mod/standard/spec/set/type/phrase_spec.rb
@@ -5531,6 +5597,7 @@ files:
5531
5597
  - mod/tinymce_editor/set/abstract/tinymce_editor.rb
5532
5598
  - mod/tinymce_editor/set/self/script_tinymce.rb
5533
5599
  - mod/tinymce_editor/set/self/script_tinymce_config.rb
5600
+ - mod/tinymce_editor/set/self/tiny_mce.rb
5534
5601
  - mod/twitter/Gemfile
5535
5602
  - mod/twitter/db/migrate_core_cards/20170305112346_add_twitter_cards.rb
5536
5603
  - mod/twitter/set/type/twitter_template.rb
@@ -5540,11 +5607,8 @@ files:
5540
5607
  - mod/utility/set/abstract/bs_badge/tab_badge.haml
5541
5608
  - mod/utility/set/abstract/filterable.rb
5542
5609
  - mod/utility/set/abstract/filterable_bar.rb
5543
- - mod/utility/set/abstract/media.rb
5544
- - mod/utility/set/abstract/media/media_snippet.haml
5545
5610
  - mod/utility/set/abstract/utility.rb
5546
5611
  - mod/utility/spec/set/abstract/bs_badge_spec.rb
5547
- - mod/utility/spec/set/abstract/media_spec.rb
5548
5612
  - mod/utility/spec/set/abstract/utility_spec.rb
5549
5613
  - mod/virtual/lib/card/virtual.rb
5550
5614
  - mod/virtual/set/abstract/virtual_cache.rb