Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change default comments editor, fix mini xss & etc.
  • Loading branch information
fuzegit committed Aug 9, 2023
1 parent 1dbc3e6 commit ddf7ac3
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 25 deletions.
9 changes: 5 additions & 4 deletions install/languages/en/sql/base.sql
Expand Up @@ -382,7 +382,7 @@ INSERT INTO `{#}controllers` (`id`, `title`, `name`, `is_enabled`, `options`, `a
(1, 'Control Panel', 'admin', 1, '---\ndashboard_order:\n stat: 0\n activity: 1\n news: 2\n sysinfo: 3\n resources: 4\n users_online: 5\n', 'InstantCMS Team', 'https://instantcms.ru', '2.0', 0),
(2, 'Content', 'content', 1, NULL, 'InstantCMS Team', 'https://instantcms.ru', '2.0', 0),
(3, 'User Profiles', 'users', 1, '---\nis_ds_online: 1\nis_ds_rating: 1\nis_ds_popular: 1\nis_filter: 1\nis_auth_only: null\nis_status: 1\nis_wall: 1\nis_themes_on: 1\nmax_tabs: 6\nis_friends_on: 1\nis_karma: 1\nis_karma_comments: 1\nkarma_time: 30\nrestricted_slugs: |\n *admin*\r\n *moder*\nlimit: 15\nlist_allowed: [ ]\nshow_user_groups: 1\nshow_reg_data: 1\nshow_last_visit: 1\nprofile_max_friends_count: 10\nseo_keys:\nseo_desc:\ntag_title:\ntag_desc:\ntag_h1:\n', 'InstantCMS Team', 'https://instantcms.ru', '2.0', 1),
(4, 'Comments', 'comments', 1, '---\ndisable_icms_comments: null\nis_guests: 1\nguest_ip_delay: 1\nrestricted_ips:\ndim_negative: 1\nupdate_user_rating: 1\nlimit: 20\nseo_keys:\nseo_desc:\nis_guests_moderate: 1\nrestricted_emails:\nrestricted_names:\nlimit_nesting: 5\nshow_author_email: 1\neditor: redactor\neditor_presets: null\nshow_list:\n - 0\n', 'InstantCMS Team', 'https://instantcms.ru', '2.0', 1),
(4, 'Comments', 'comments', 1, '---\ndisable_icms_comments: null\nis_guests: 1\nguest_ip_delay: 1\nrestricted_ips: \"\"\ndim_negative: 1\nupdate_user_rating: 1\nlimit: 20\nseo_keys: \"\"\nseo_desc: \"\"\nis_guests_moderate: 1\nrestricted_emails: \"\"\nrestricted_names: \"\"\nlimit_nesting: 5\nshow_author_email: 1\neditor: \"4\"\neditor_presets: null\nshow_list:\n - \"0\"\n', 'InstantCMS Team', 'https://instantcms.ru', '2.0', 1),
(5, 'Private messages', 'messages', 1, '---\nlimit: 10\ngroups_allowed: [ ]\neditor: 2\neditor_presets: null\ntime_delete_old: 0\nrealtime_mode: ajax\nrefresh_time: 15\nsocket_host:\nsocket_port: 3000\nuse_queue: null\nis_enable_pm: 1\n', 'InstantCMS Team', 'https://instantcms.ru/', '2.0', 1),
(6, 'Authorization & Registration', 'auth', 1, '---\nis_reg_enabled: 1\nreg_reason: >\n We apologize, but,\n we do not accept\n new users at the moment\nis_reg_invites: null\nreg_captcha: null\nverify_email: null\nverify_exp: 48\nauth_captcha: null\nrestricted_emails: |\n *@shitmail.me\r\n *@mailspeed.ru\r\n *@temp-mail.ru\r\n *@guerrillamail.com\r\n *@12minutemail.com\r\n *@mytempemail.com\r\n *@spamobox.com\r\n *@disposableinbox.com\r\n *@filzmail.com\r\n *@freemail.ms\r\n *@anonymbox.com\r\n *@lroid.com\r\n *@yopmail.com\r\n *@TempEmail.net\r\n *@spambog.com\r\n *@mailforspam.com\r\n *@spam.su\r\n *@no-spam.ws\r\n *@mailinator.com\r\n *@spamavert.com\r\n *@trashcanmail.com\nrestricted_names: |\n admin*\r\n moderator\nrestricted_ips:\nis_invites: 1\nis_invites_strict: 1\ninvites_period: 7\ninvites_qty: 3\ninvites_min_karma: 0\ninvites_min_rating: 0\ninvites_min_days: 0\nreg_auto_auth: 1\nfirst_auth_redirect: profileedit\nauth_redirect: none\ndef_groups:\n - 3\nis_site_only_auth_users: null\nguests_allow_controllers:\n - auth\n - geo\nseo_keys:\nseo_desc:\n', 'InstantCMS Team', 'https://instantcms.ru', '2.0', 1),
(7, 'Activity Feed', 'activity', 1, '---\ntypes:\n - 10\n - 11\n - 17\n - 16\n - 14\n - 13\n - 18\n - 7\n - 19\n - 12\n - 8\n', 'InstantCMS Team', 'https://instantcms.ru', '2.0', 1),
Expand Down Expand Up @@ -418,7 +418,7 @@ CREATE TABLE `{#}con_albums` (
`date_pub` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_last_modified` timestamp NULL DEFAULT NULL,
`date_pub_end` timestamp NULL DEFAULT NULL,
`is_pub` tinyint(1) DEFAULT '1',
`is_pub` tinyint(1) NOT NULL DEFAULT '1',
`hits_count` int(11) DEFAULT '0',
`user_id` int(11) unsigned DEFAULT NULL,
`parent_id` int(11) unsigned DEFAULT NULL,
Expand Down Expand Up @@ -573,7 +573,7 @@ CREATE TABLE `{#}con_pages` (
`date_pub` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_last_modified` timestamp NULL DEFAULT NULL,
`date_pub_end` timestamp NULL DEFAULT NULL,
`is_pub` tinyint(1) DEFAULT '1',
`is_pub` tinyint(1) NOT NULL DEFAULT '1',
`hits_count` int(11) DEFAULT '0',
`user_id` int(11) unsigned DEFAULT NULL,
`parent_id` int(11) unsigned DEFAULT NULL,
Expand Down Expand Up @@ -1951,4 +1951,5 @@ CREATE TABLE `{#}wysiwygs_presets` (
INSERT INTO `{#}wysiwygs_presets` (`id`, `wysiwyg_name`, `options`, `title`) VALUES
(1, 'markitup', '{\"buttons\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"7\",\"14\"],\"skin\":\"simple\"}', 'Photos'),
(2, 'redactor', '{\"plugins\":[\"smiles\"],\"buttons\":[\"bold\",\"italic\",\"deleted\",\"unorderedlist\",\"image\",\"video\",\"link\"],\"convertVideoLinks\":1,\"convertDivs\":null,\"toolbarFixedBox\":null,\"autoresize\":null,\"pastePlainText\":1,\"removeEmptyTags\":1,\"linkNofollow\":1,\"minHeight\":\"58\",\"placeholder\":\"\\u0412\\u0432\\u0435\\u0434\\u0438\\u0442\\u0435 \\u0441\\u043e\\u043e\\u0431\\u0449\\u0435\\u043d\\u0438\\u0435\"}', 'Editor for private messages'),
(3, 'tinymce', '{\"toolbar\":\"formatselect codesample blockquote | bold italic underline strikethrough numlist bullist | image link unlink media table hr emoticons spoiler-add | fullscreen\",\"quickbars_selection_toolbar\":\"bold italic underline | quicklink h2 h3 blockquote\",\"quickbars_insert_toolbar\":\"quickimage quicktable\",\"plugins\":[\"autoresize\",\"paste\"],\"skin\":\"icms\",\"forced_root_block\":\"p\",\"block_formats\":[\"p\",\"h2\",\"h3\",\"h4\",\"h5\"],\"toolbar_drawer\":\"\",\"image_caption\":null,\"image_title\":1,\"image_description\":null,\"image_dimensions\":null,\"image_advtab\":null,\"statusbar\":null,\"paste_as_text\":1,\"min_height\":350,\"max_height\":900,\"images_preset\":\"big\",\"allow_mime_types\":{\"3\":null,\"4\":null,\"5\":null,\"6\":null}}', 'By default');
(3, 'tinymce', '{\"toolbar\":\"formatselect codesample blockquote | bold italic underline strikethrough numlist bullist | image link unlink media table hr emoticons spoiler-add | fullscreen\",\"quickbars_selection_toolbar\":\"bold italic underline | quicklink h2 h3 blockquote\",\"quickbars_insert_toolbar\":\"quickimage quicktable\",\"plugins\":[\"autoresize\",\"paste\"],\"skin\":\"icms\",\"forced_root_block\":\"p\",\"block_formats\":[\"p\",\"h2\",\"h3\",\"h4\",\"h5\"],\"toolbar_drawer\":\"\",\"image_caption\":null,\"image_title\":1,\"image_description\":null,\"image_dimensions\":null,\"image_advtab\":null,\"statusbar\":null,\"paste_as_text\":1,\"min_height\":350,\"max_height\":900,\"images_preset\":\"big\",\"allow_mime_types\":{\"3\":null,\"4\":null,\"5\":null,\"6\":null}}', 'By default'),
(4, 'tinymce', '{\"toolbar\":\"bold italic underline strikethrough | numlist bullist blockquote | link image media spoiler-add | emoticons\",\"quickbars_selection_toolbar\":\"bold italic underline | quicklink blockquote\",\"quickbars_insert_toolbar\":\"quickimage\",\"plugins\":[\"autoresize\"],\"skin\":\"icms\",\"forced_root_block\":\"p\",\"block_formats\":[\"p\"],\"toolbar_drawer\":\"\",\"image_caption\":null,\"image_title\":null,\"image_description\":null,\"image_dimensions\":null,\"image_advtab\":null,\"statusbar\":null,\"paste_as_text\":1,\"min_height\":350,\"max_height\":700,\"images_preset\":\"big\",\"allow_mime_types\":{\"3\":null,\"4\":null,\"5\":null,\"6\":null}}', 'For comments');
6 changes: 3 additions & 3 deletions install/languages/en/sql/base_demo_content_default.sql
Expand Up @@ -74,7 +74,7 @@ CREATE TABLE `{#}con_articles` (
`date_pub` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_last_modified` timestamp NULL DEFAULT NULL,
`date_pub_end` timestamp NULL DEFAULT NULL,
`is_pub` tinyint(1) DEFAULT '1',
`is_pub` tinyint(1) NOT NULL DEFAULT '1',
`hits_count` int(11) DEFAULT '0',
`user_id` int(11) unsigned DEFAULT NULL,
`parent_id` int(11) unsigned DEFAULT NULL,
Expand Down Expand Up @@ -258,7 +258,7 @@ CREATE TABLE `{#}con_news` (
`date_pub` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_last_modified` timestamp NULL DEFAULT NULL,
`date_pub_end` timestamp NULL DEFAULT NULL,
`is_pub` tinyint(1) DEFAULT '1',
`is_pub` tinyint(1) NOT NULL DEFAULT '1',
`hits_count` int(11) DEFAULT '0',
`user_id` int(11) unsigned DEFAULT NULL,
`parent_id` int(11) unsigned DEFAULT NULL,
Expand Down Expand Up @@ -449,7 +449,7 @@ CREATE TABLE `{#}con_posts` (
`date_pub` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_last_modified` timestamp NULL DEFAULT NULL,
`date_pub_end` timestamp NULL DEFAULT NULL,
`is_pub` tinyint(1) DEFAULT '1',
`is_pub` tinyint(1) NOT NULL DEFAULT '1',
`hits_count` int(11) DEFAULT '0',
`user_id` int(11) unsigned DEFAULT NULL,
`parent_id` int(11) unsigned DEFAULT NULL,
Expand Down
6 changes: 3 additions & 3 deletions install/languages/en/sql/base_demo_content_modern.sql
Expand Up @@ -128,7 +128,7 @@ CREATE TABLE `{#}con_articles` (
`date_pub` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_last_modified` timestamp NULL DEFAULT NULL,
`date_pub_end` timestamp NULL DEFAULT NULL,
`is_pub` tinyint(1) DEFAULT '1',
`is_pub` tinyint(1) NOT NULL DEFAULT '1',
`hits_count` int(11) DEFAULT '0',
`user_id` int(11) unsigned DEFAULT NULL,
`parent_id` int(11) unsigned DEFAULT NULL,
Expand Down Expand Up @@ -312,7 +312,7 @@ CREATE TABLE `{#}con_news` (
`date_pub` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_last_modified` timestamp NULL DEFAULT NULL,
`date_pub_end` timestamp NULL DEFAULT NULL,
`is_pub` tinyint(1) DEFAULT '1',
`is_pub` tinyint(1) NOT NULL DEFAULT '1',
`hits_count` int(11) DEFAULT '0',
`user_id` int(11) unsigned DEFAULT NULL,
`parent_id` int(11) unsigned DEFAULT NULL,
Expand Down Expand Up @@ -505,7 +505,7 @@ CREATE TABLE `{#}con_posts` (
`date_pub` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_last_modified` timestamp NULL DEFAULT NULL,
`date_pub_end` timestamp NULL DEFAULT NULL,
`is_pub` tinyint(1) DEFAULT '1',
`is_pub` tinyint(1) NOT NULL DEFAULT '1',
`hits_count` int(11) DEFAULT '0',
`user_id` int(11) unsigned DEFAULT NULL,
`parent_id` int(11) unsigned DEFAULT NULL,
Expand Down
9 changes: 5 additions & 4 deletions install/languages/ru/sql/base.sql
Expand Up @@ -382,7 +382,7 @@ INSERT INTO `{#}controllers` (`id`, `title`, `name`, `is_enabled`, `options`, `a
(1, 'Панель управления', 'admin', 1, '---\ndashboard_order:\n stat: 0\n activity: 1\n news: 2\n sysinfo: 3\n resources: 4\n users_online: 5\n', 'InstantCMS Team', 'https://instantcms.ru', '2.0', 0),
(2, 'Контент', 'content', 1, NULL, 'InstantCMS Team', 'https://instantcms.ru', '2.0', 0),
(3, 'Профили пользователей', 'users', 1, '---\nis_ds_online: 1\nis_ds_rating: 1\nis_ds_popular: 1\nis_filter: 1\nis_auth_only: null\nis_status: 1\nis_wall: 1\nis_themes_on: 1\nmax_tabs: 6\nis_friends_on: 1\nis_karma: 1\nis_karma_comments: 1\nkarma_time: 30\nrestricted_slugs: |\n *admin*\r\n *moder*\nlimit: 15\nlist_allowed: [ ]\nshow_user_groups: 1\nshow_reg_data: 1\nshow_last_visit: 1\nprofile_max_friends_count: 10\nseo_keys:\nseo_desc:\ntag_title:\ntag_desc:\ntag_h1:\n', 'InstantCMS Team', 'https://instantcms.ru', '2.0', 1),
(4, 'Комментарии', 'comments', 1, '---\ndisable_icms_comments: null\nis_guests: 1\nguest_ip_delay: 1\nrestricted_ips:\ndim_negative: 1\nupdate_user_rating: 1\nlimit: 20\nseo_keys:\nseo_desc:\nis_guests_moderate: 1\nrestricted_emails:\nrestricted_names:\nlimit_nesting: 5\nshow_author_email: 1\neditor: redactor\neditor_presets: null\nshow_list:\n - 0\n', 'InstantCMS Team', 'https://instantcms.ru', '2.0', 1),
(4, 'Комментарии', 'comments', 1, '---\ndisable_icms_comments: null\nis_guests: 1\nguest_ip_delay: 1\nrestricted_ips: \"\"\ndim_negative: 1\nupdate_user_rating: 1\nlimit: 20\nseo_keys: \"\"\nseo_desc: \"\"\nis_guests_moderate: 1\nrestricted_emails: \"\"\nrestricted_names: \"\"\nlimit_nesting: 5\nshow_author_email: 1\neditor: \"4\"\neditor_presets: null\nshow_list:\n - \"0\"\n', 'InstantCMS Team', 'https://instantcms.ru', '2.0', 1),
(5, 'Личные сообщения', 'messages', 1, '---\nlimit: 10\ngroups_allowed: [ ]\neditor: 2\neditor_presets: null\ntime_delete_old: 0\nrealtime_mode: ajax\nrefresh_time: 15\nsocket_host:\nsocket_port: 3000\nuse_queue: null\nis_enable_pm: 1\n', 'InstantCMS Team', 'https://instantcms.ru/', '2.0', 1),
(6, 'Авторизация и регистрация', 'auth', 1, '---\nis_reg_enabled: 1\nreg_reason: >\n К сожалению, нам пока\n не нужны новые\n пользователи\nis_reg_invites: null\nreg_captcha: null\nverify_email: null\nverify_exp: 48\nauth_captcha: null\nrestricted_emails: |\n *@shitmail.me\r\n *@mailspeed.ru\r\n *@temp-mail.ru\r\n *@guerrillamail.com\r\n *@12minutemail.com\r\n *@mytempemail.com\r\n *@spamobox.com\r\n *@disposableinbox.com\r\n *@filzmail.com\r\n *@freemail.ms\r\n *@anonymbox.com\r\n *@lroid.com\r\n *@yopmail.com\r\n *@TempEmail.net\r\n *@spambog.com\r\n *@mailforspam.com\r\n *@spam.su\r\n *@no-spam.ws\r\n *@mailinator.com\r\n *@spamavert.com\r\n *@trashcanmail.com\nrestricted_names: |\n admin*\r\n админ*\r\n модератор\r\n moderator\nrestricted_ips:\nis_invites: 1\nis_invites_strict: 1\ninvites_period: 7\ninvites_qty: 3\ninvites_min_karma: 0\ninvites_min_rating: 0\ninvites_min_days: 0\nreg_auto_auth: 1\nfirst_auth_redirect: profileedit\nauth_redirect: none\ndef_groups:\n - 3\nis_site_only_auth_users: null\nguests_allow_controllers:\n - auth\n - geo\nseo_keys:\nseo_desc:\n', 'InstantCMS Team', 'https://instantcms.ru', '2.0', 1),
(7, 'Лента активности', 'activity', 1, '---\ntypes:\n - 10\n - 11\n - 17\n - 16\n - 14\n - 13\n - 18\n - 7\n - 19\n - 12\n - 8\n', 'InstantCMS Team', 'https://instantcms.ru', '2.0', 1),
Expand Down Expand Up @@ -418,7 +418,7 @@ CREATE TABLE `{#}con_albums` (
`date_pub` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_last_modified` timestamp NULL DEFAULT NULL,
`date_pub_end` timestamp NULL DEFAULT NULL,
`is_pub` tinyint(1) DEFAULT '1',
`is_pub` tinyint(1) NOT NULL DEFAULT '1',
`hits_count` int(11) DEFAULT '0',
`user_id` int(11) unsigned DEFAULT NULL,
`parent_id` int(11) unsigned DEFAULT NULL,
Expand Down Expand Up @@ -573,7 +573,7 @@ CREATE TABLE `{#}con_pages` (
`date_pub` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_last_modified` timestamp NULL DEFAULT NULL,
`date_pub_end` timestamp NULL DEFAULT NULL,
`is_pub` tinyint(1) DEFAULT '1',
`is_pub` tinyint(1) NOT NULL DEFAULT '1',
`hits_count` int(11) DEFAULT '0',
`user_id` int(11) unsigned DEFAULT NULL,
`parent_id` int(11) unsigned DEFAULT NULL,
Expand Down Expand Up @@ -1950,4 +1950,5 @@ CREATE TABLE `{#}wysiwygs_presets` (
INSERT INTO `{#}wysiwygs_presets` (`id`, `wysiwyg_name`, `options`, `title`) VALUES
(1, 'markitup', '{\"buttons\":[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"7\",\"14\"],\"skin\":\"simple\"}', 'Фотографии'),
(2, 'redactor', '{\"plugins\":[\"smiles\"],\"buttons\":[\"bold\",\"italic\",\"deleted\",\"unorderedlist\",\"image\",\"video\",\"link\"],\"convertVideoLinks\":1,\"convertDivs\":null,\"toolbarFixedBox\":null,\"autoresize\":null,\"pastePlainText\":1,\"removeEmptyTags\":1,\"linkNofollow\":1,\"minHeight\":\"58\",\"placeholder\":\"\\u0412\\u0432\\u0435\\u0434\\u0438\\u0442\\u0435 \\u0441\\u043e\\u043e\\u0431\\u0449\\u0435\\u043d\\u0438\\u0435\"}', 'Редактор для личных сообщений'),
(3, 'tinymce', '{\"toolbar\":\"formatselect codesample blockquote | bold italic underline strikethrough numlist bullist | image link unlink media table hr emoticons spoiler-add | fullscreen\",\"quickbars_selection_toolbar\":\"bold italic underline | quicklink h2 h3 blockquote\",\"quickbars_insert_toolbar\":\"quickimage quicktable\",\"plugins\":[\"autoresize\",\"paste\"],\"skin\":\"icms\",\"forced_root_block\":\"p\",\"block_formats\":[\"p\",\"h2\",\"h3\",\"h4\",\"h5\"],\"toolbar_drawer\":\"\",\"image_caption\":null,\"image_title\":1,\"image_description\":null,\"image_dimensions\":null,\"image_advtab\":null,\"statusbar\":null,\"paste_as_text\":1,\"min_height\":350,\"max_height\":900,\"images_preset\":\"big\",\"allow_mime_types\":{\"3\":null,\"4\":null,\"5\":null,\"6\":null}}', 'По умолчанию');
(3, 'tinymce', '{\"toolbar\":\"formatselect codesample blockquote | bold italic underline strikethrough numlist bullist | image link unlink media table hr emoticons spoiler-add | fullscreen\",\"quickbars_selection_toolbar\":\"bold italic underline | quicklink h2 h3 blockquote\",\"quickbars_insert_toolbar\":\"quickimage quicktable\",\"plugins\":[\"autoresize\",\"paste\"],\"skin\":\"icms\",\"forced_root_block\":\"p\",\"block_formats\":[\"p\",\"h2\",\"h3\",\"h4\",\"h5\"],\"toolbar_drawer\":\"\",\"image_caption\":null,\"image_title\":1,\"image_description\":null,\"image_dimensions\":null,\"image_advtab\":null,\"statusbar\":null,\"paste_as_text\":1,\"min_height\":350,\"max_height\":900,\"images_preset\":\"big\",\"allow_mime_types\":{\"3\":null,\"4\":null,\"5\":null,\"6\":null}}', 'По умолчанию'),
(4, 'tinymce', '{\"toolbar\":\"bold italic underline strikethrough | numlist bullist blockquote | link image media spoiler-add | emoticons\",\"quickbars_selection_toolbar\":\"bold italic underline | quicklink blockquote\",\"quickbars_insert_toolbar\":\"quickimage\",\"plugins\":[\"autoresize\"],\"skin\":\"icms\",\"forced_root_block\":\"p\",\"block_formats\":[\"p\"],\"toolbar_drawer\":\"\",\"image_caption\":null,\"image_title\":null,\"image_description\":null,\"image_dimensions\":null,\"image_advtab\":null,\"statusbar\":null,\"paste_as_text\":1,\"min_height\":350,\"max_height\":700,\"images_preset\":\"big\",\"allow_mime_types\":{\"3\":null,\"4\":null,\"5\":null,\"6\":null}}', 'Для комментариев');
8 changes: 4 additions & 4 deletions install/languages/ru/sql/base_demo_content_default.sql
Expand Up @@ -80,7 +80,7 @@ CREATE TABLE `{#}con_articles` (
`date_pub` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_last_modified` timestamp NULL DEFAULT NULL,
`date_pub_end` timestamp NULL DEFAULT NULL,
`is_pub` tinyint(1) DEFAULT '1',
`is_pub` tinyint(1) NOT NULL DEFAULT '1',
`hits_count` int(11) DEFAULT '0',
`user_id` int(11) unsigned DEFAULT NULL,
`parent_id` int(11) unsigned DEFAULT NULL,
Expand Down Expand Up @@ -264,7 +264,7 @@ CREATE TABLE `{#}con_board` (
`date_pub` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_last_modified` timestamp NULL DEFAULT NULL,
`date_pub_end` timestamp NULL DEFAULT NULL,
`is_pub` tinyint(1) DEFAULT '1',
`is_pub` tinyint(1) NOT NULL DEFAULT '1',
`hits_count` int(11) DEFAULT '0',
`user_id` int(11) unsigned DEFAULT NULL,
`parent_id` int(11) unsigned DEFAULT NULL,
Expand Down Expand Up @@ -557,7 +557,7 @@ CREATE TABLE `{#}con_news` (
`date_pub` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_last_modified` timestamp NULL DEFAULT NULL,
`date_pub_end` timestamp NULL DEFAULT NULL,
`is_pub` tinyint(1) DEFAULT '1',
`is_pub` tinyint(1) NOT NULL DEFAULT '1',
`hits_count` int(11) DEFAULT '0',
`user_id` int(11) unsigned DEFAULT NULL,
`parent_id` int(11) unsigned DEFAULT NULL,
Expand Down Expand Up @@ -750,7 +750,7 @@ CREATE TABLE `{#}con_posts` (
`date_pub` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_last_modified` timestamp NULL DEFAULT NULL,
`date_pub_end` timestamp NULL DEFAULT NULL,
`is_pub` tinyint(1) DEFAULT '1',
`is_pub` tinyint(1) NOT NULL DEFAULT '1',
`hits_count` int(11) DEFAULT '0',
`user_id` int(11) unsigned DEFAULT NULL,
`parent_id` int(11) unsigned DEFAULT NULL,
Expand Down

0 comments on commit ddf7ac3

Please sign in to comment.