Index: branches/5.2.x/admin_templates/topics/review_edit.tpl
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/admin_templates/topics/review_edit.tpl (.../review_edit.tpl) (revision 13839)
+++ branches/5.2.x/admin_templates/topics/review_edit.tpl (.../review_edit.tpl) (revision 14088)
@@ -42,17 +42,17 @@
Index: branches/5.2.x/admin_templates/topics/images_edit.tpl
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/admin_templates/topics/images_edit.tpl (.../images_edit.tpl) (revision 13839)
+++ branches/5.2.x/admin_templates/topics/images_edit.tpl (.../images_edit.tpl) (revision 14088)
@@ -31,22 +31,22 @@
Index: branches/5.2.x/admin_templates/topics/topics_images.tpl
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/admin_templates/topics/topics_images.tpl (.../topics_images.tpl) (revision 13839)
+++ branches/5.2.x/admin_templates/topics/topics_images.tpl (.../topics_images.tpl) (revision 14088)
@@ -99,7 +99,7 @@
-
+
Index: branches/5.2.x/admin_templates/topics/relations_edit.tpl
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/admin_templates/topics/relations_edit.tpl (.../relations_edit.tpl) (revision 13839)
+++ branches/5.2.x/admin_templates/topics/relations_edit.tpl (.../relations_edit.tpl) (revision 14088)
@@ -31,17 +31,17 @@
Index: branches/5.2.x/units/poll_comments/poll_comments_config.php
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/units/poll_comments/poll_comments_config.php (.../poll_comments_config.php) (revision 13839)
+++ branches/5.2.x/units/poll_comments/poll_comments_config.php (.../poll_comments_config.php) (revision 14088)
@@ -1,6 +1,6 @@
Array(USER_ROOT => 'root', USER_GUEST => 'Guest'),
'left_sql' => 'SELECT %s FROM '.TABLE_PREFIX.'PortalUser WHERE `%s` = \'%s\'',
'left_key_field' => 'PortalUserId', 'left_title_field' => 'Login',
- 'required' => 1, 'not_null' => 1, 'default' => USER_GUEST),
+ 'required' => 1, 'default' => NULL),
'GuestName' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''),
'GuestEmail' => Array('type' => 'string', 'max_len' => 255, 'formatter'=>'kFormatter', 'regexp'=>'/^(' . REGEX_EMAIL_USER . '@' . REGEX_EMAIL_DOMAIN . ')$/i', 'sample_value' => 'email@domain.com', 'not_null' => '1', 'default' => '', 'error_msgs' => Array('invalid_format'=>'!la_invalid_email!', 'unique'=>'!lu_email_already_exist!'),'required' => 0 ),
'CommentBody' => Array ('type' => 'string', 'formatter' => 'kFormatter', 'using_fck' => 1, 'default' => NULL, 'required' => 1),
Index: branches/5.2.x/admin_templates/topics/topics_categories.tpl
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/admin_templates/topics/topics_categories.tpl (.../topics_categories.tpl) (revision 13839)
+++ branches/5.2.x/admin_templates/topics/topics_categories.tpl (.../topics_categories.tpl) (revision 14088)
@@ -73,7 +73,7 @@
-
+
Index: branches/5.2.x/units/posts/posts_config.php
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/units/posts/posts_config.php (.../posts_config.php) (revision 13839)
+++ branches/5.2.x/units/posts/posts_config.php (.../posts_config.php) (revision 14088)
@@ -1,6 +1,6 @@
Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'default' => 0),
'DisableSmileys' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'default' => 0),
'ShowSignatures' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, 'default' => 1),
-
+ 'UserName' => Array ('type' => 'string', 'default' => ''),
// for avatar image
'AltName' => Array('type' => 'string', 'default' => ''),
'SameImages' => Array('type' => 'string', 'default' => ''),
Index: branches/5.2.x/install/upgrades.php
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/install/upgrades.php (.../upgrades.php) (revision 13839)
+++ branches/5.2.x/install/upgrades.php (.../upgrades.php) (revision 14088)
@@ -1,6 +1,6 @@
Array ('Core' => '5.1.0-B2'),
'5.1.0-RC1' => Array ('Core' => '5.1.0-RC1'),
'5.1.0' => Array ('Core' => '5.1.0'),
+ '5.1.1-B1' => Array ('Core' => '5.1.1-B1'),
+ '5.1.1-B2' => Array ('Core' => '5.1.1-B2'),
+ '5.1.1-RC1' => Array ('Core' => '5.1.1-RC1'),
+ '5.1.1' => Array ('Core' => '5.1.1'),
);
}
Index: branches/5.2.x/install/install_schema.sql
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/install/install_schema.sql (.../install_schema.sql) (revision 13839)
+++ branches/5.2.x/install/install_schema.sql (.../install_schema.sql) (revision 14088)
@@ -34,8 +34,8 @@
EditorsPick tinyint(4) NOT NULL DEFAULT '0',
`Status` tinyint(4) unsigned NOT NULL DEFAULT '2',
Priority int(11) NOT NULL DEFAULT '0',
- OwnerId int(11) NOT NULL DEFAULT '-1',
- ModifiedById int(11) NOT NULL DEFAULT '0',
+ OwnerId int(11) DEFAULT NULL,
+ ModifiedById int(11) DEFAULT NULL,
ResourceId int(11) DEFAULT NULL,
TopicType int(11) NOT NULL DEFAULT '1',
CreatedOn int(11) DEFAULT NULL,
@@ -167,7 +167,7 @@
CommentId int(11) NOT NULL AUTO_INCREMENT,
PollId int(11) NOT NULL DEFAULT '0',
AnswerId int(11) DEFAULT NULL,
- CreatedById int(11) NOT NULL DEFAULT '-2',
+ CreatedById int(11) DEFAULT NULL,
GuestName varchar(255) NOT NULL DEFAULT '',
GuestEmail varchar(255) NOT NULL DEFAULT '',
CommentBody text,
Index: branches/5.2.x/admin_templates/topics/topics_relations.tpl
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/admin_templates/topics/topics_relations.tpl (.../topics_relations.tpl) (revision 13839)
+++ branches/5.2.x/admin_templates/topics/topics_relations.tpl (.../topics_relations.tpl) (revision 14088)
@@ -92,7 +92,7 @@
-
+
Index: branches/5.2.x/units/topics/topics_config.php
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/units/topics/topics_config.php (.../topics_config.php) (revision 13839)
+++ branches/5.2.x/units/topics/topics_config.php (.../topics_config.php) (revision 14088)
@@ -1,6 +1,6 @@
Array (
- 'Groups' => Array (
- Array ('mode' => 'AND', 'filters' => Array ('show_active', 'show_pending', 'show_disabled'), 'type' => WHERE_FILTER),
- Array ('mode' => 'AND', 'filters' => Array ('show_new'), 'type' => HAVING_FILTER),
- Array ('mode' => 'AND', 'filters' => Array ('show_hot'), 'type' => HAVING_FILTER),
- Array ('mode' => 'AND', 'filters' => Array ('show_pop'), 'type' => HAVING_FILTER),
- Array ('mode' => 'AND', 'filters' => Array ('show_pick'), 'type' => WHERE_FILTER),
- ),
- 'Filters' => Array (
- 'show_active' => Array ('label' => 'la_Active', 'on_sql' => '', 'off_sql' => '%1$s.Status != 1' ),
- 'show_pending' => Array ('label' => 'la_Pending', 'on_sql' => '', 'off_sql' => '%1$s.Status != 2' ),
- 'show_disabled' => Array ('label' => 'la_Disabled', 'on_sql' => '', 'off_sql' => '%1$s.Status != 0' ),
- 's1' => Array (),
- 'show_new' => Array ('label' => 'la_Text_New', 'on_sql' => '', 'off_sql' => '`IsNew` != 1' ),
- 'show_hot' => Array ('label' => 'la_Text_Hot', 'on_sql' => '', 'off_sql' => '`IsHot` != 1' ),
- 'show_pop' => Array ('label' => 'la_Text_Pop', 'on_sql' => '', 'off_sql' => '`IsPop` != 1' ),
- 'show_pick' => Array ('label' => 'la_prompt_EditorsPick', 'on_sql' => '', 'off_sql' => '%1$s.`EditorsPick` != 1' ),
- )
- ),
+ 'Groups' => Array (
+ Array ('mode' => 'AND', 'filters' => Array ('show_new'), 'type' => HAVING_FILTER),
+ Array ('mode' => 'AND', 'filters' => Array ('show_hot'), 'type' => HAVING_FILTER),
+ Array ('mode' => 'AND', 'filters' => Array ('show_pop'), 'type' => HAVING_FILTER),
+ Array ('mode' => 'AND', 'filters' => Array ('show_pick'), 'type' => WHERE_FILTER),
+ ),
+ 'Filters' => Array (
+ 'show_new' => Array ('label' => 'la_Text_New', 'on_sql' => '', 'off_sql' => '`IsNew` != 1' ),
+ 'show_hot' => Array ('label' => 'la_Text_Hot', 'on_sql' => '', 'off_sql' => '`IsHot` != 1' ),
+ 'show_pop' => Array ('label' => 'la_Text_Pop', 'on_sql' => '', 'off_sql' => '`IsPop` != 1' ),
+ 'show_pick' => Array ('label' => 'la_prompt_EditorsPick', 'on_sql' => '', 'off_sql' => '%1$s.`EditorsPick` != 1' ),
+ ),
+ ),
'CatalogSelectorName' => 'topiclist',
@@ -395,7 +390,7 @@
'left_key_field' => 'PortalUserId',
'left_title_field' => 'Login',
'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'),
- 'required' => 1, 'not_null' => 1, 'default' => USER_ROOT,
+ 'required' => 1, 'default' => NULL,
),
'ModifiedById' => Array (
'type' => 'int',
@@ -406,7 +401,7 @@
'left_key_field' => 'PortalUserId',
'left_title_field' => 'Login',
'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'),
- 'required' => 1, 'not_null' => 1, 'default' => USER_ROOT,
+ 'default' => NULL,
),
'ResourceId' => Array ('type' => 'int', 'default' => null),
'TopicType' => Array (
@@ -467,8 +462,11 @@
'options' => Array (),
'default' => 0,
),
- 'Filename' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''),
+ 'Filename' => Array ('type' => 'string', 'default' => ''),
+ 'CategoryFilename' => Array ('type' => 'string', 'default' => ''),
+ 'PrimaryCat' => Array ('type' => 'int', 'default' => 0),
'CachedNavbar' => Array ('type' => 'string', 'default' => ''),
+ 'ParentPath' => Array ('type' => 'string', 'default' => ''),
'LastPoster' => Array ('type' => 'string', 'default' => ''),
'LastPosterId' => Array ('type' => 'int', 'default' => USER_GUEST),
Index: branches/5.2.x/units/private_messages/private_messages_config.php
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/units/private_messages/private_messages_config.php (.../private_messages_config.php) (revision 13839)
+++ branches/5.2.x/units/private_messages/private_messages_config.php (.../private_messages_config.php) (revision 14088)
@@ -1,6 +1,6 @@
Array (
'FromName' => Array ('type' => 'string', 'default' => ''),
+ 'FromFullName' => Array ('type' => 'string', 'default' => ''),
'ToName' => Array ('type' => 'string', 'default' => ''),
+ 'ToFullName' => Array ('type' => 'string', 'default' => ''),
'Subject' => Array ('type' => 'string', 'default' => ''),
'Body' => Array ('type' => 'string', 'required' => 1, 'default' => ''),
'Options' => Array ('type' => 'string', 'default' => 0),
Index: branches/5.2.x/units/poll_answers/poll_answers_config.php
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/units/poll_answers/poll_answers_config.php (.../poll_answers_config.php) (revision 13839)
+++ branches/5.2.x/units/poll_answers/poll_answers_config.php (.../poll_answers_config.php) (revision 14088)
@@ -1,6 +1,6 @@
true,
'AutoClone' => true,
- 'StatusField' => Array('Status'),
+ 'TitleField' => 'Answer',
+ 'StatusField' => Array ('Status'),
// key - special, value - list select sql
'ListSQLs' => Array (
Index: branches/5.2.x/admin_templates/topics/topics_reviews.tpl
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/admin_templates/topics/topics_reviews.tpl (.../topics_reviews.tpl) (revision 13839)
+++ branches/5.2.x/admin_templates/topics/topics_reviews.tpl (.../topics_reviews.tpl) (revision 14088)
@@ -106,7 +106,7 @@
-
+
Index: branches/5.2.x/install/english.lang
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/install/english.lang (.../english.lang) (revision 13839)
+++ branches/5.2.x/install/english.lang (.../english.lang) (revision 14088)
@@ -109,6 +109,7 @@
VG9waWNz
TmV3IFBvbGw=
TmV3IFRvcGlj
+
TmV3IEFuc3dlcg==
UG9sbCBBbnN3ZXJz
VXNlciBDb21tZW50cw==
UG9sbHM=
Index: branches/5.2.x/admin_templates/topics/topics_edit.tpl
===================================================================
diff -u -r13839 -r14088
--- branches/5.2.x/admin_templates/topics/topics_edit.tpl (.../topics_edit.tpl) (revision 13839)
+++ branches/5.2.x/admin_templates/topics/topics_edit.tpl (.../topics_edit.tpl) (revision 14088)
@@ -58,34 +58,34 @@