merge of sync handler and sync_file_db - first cut

This commit is contained in:
Anand Doshi
2012-03-27 19:31:38 +05:30
parent 3107096890
commit a30fbd004e
274 changed files with 16760 additions and 17015 deletions

View File

@@ -3,103 +3,103 @@
# These values are common in all dictionaries
{
'creation': '2012-01-27 10:13:16',
'creation': '2012-03-27 14:36:47',
'docstatus': 0,
'modified': '2012-01-27 11:36:44',
'modified_by': 'Administrator',
'owner': 'Administrator'
'modified': '2012-03-27 14:36:47',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'_last_update': '1327641155',
'_last_update': u'1327641155',
'allow_attach': 1,
'colour': 'White:FFF',
'colour': u'White:FFF',
'doctype': 'DocType',
'issingle': 1,
'max_attachments': 10,
'module': 'Website',
'module': u'Website',
'name': '__common__',
'section_style': 'Simple',
'section_style': u'Simple',
'show_in_menu': 0,
'version': 4
},
# These values are common for all DocField
{
'doctype': 'DocField',
'doctype': u'DocField',
'name': '__common__',
'parent': 'About Us Settings',
'parentfield': 'fields',
'parenttype': 'DocType',
'parent': u'About Us Settings',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'create': 1,
'doctype': 'DocPerm',
'doctype': u'DocPerm',
'name': '__common__',
'parent': 'About Us Settings',
'parentfield': 'permissions',
'parenttype': 'DocType',
'parent': u'About Us Settings',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'role': 'Website Manager',
'role': u'Website Manager',
'write': 1
},
# DocType, About Us Settings
{
'doctype': 'DocType',
'name': 'About Us Settings'
'name': u'About Us Settings'
},
# DocPerm
{
'doctype': 'DocPerm'
'doctype': u'DocPerm'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'headline',
'fieldtype': 'Data',
'label': 'Headline'
'doctype': u'DocField',
'fieldname': u'headline',
'fieldtype': u'Data',
'label': u'Headline'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'main_section',
'fieldtype': 'Code',
'label': 'Main Section'
'doctype': u'DocField',
'fieldname': u'main_section',
'fieldtype': u'Code',
'label': u'Main Section'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'team',
'fieldtype': 'Table',
'label': 'Team',
'options': 'About Us Team'
'doctype': u'DocField',
'fieldname': u'team',
'fieldtype': u'Table',
'label': u'Team',
'options': u'About Us Team'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'side_section',
'fieldtype': 'Code',
'label': 'Side Section'
'doctype': u'DocField',
'fieldname': u'side_section',
'fieldtype': u'Code',
'label': u'Side Section'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'file_list',
'fieldtype': 'Text',
'doctype': u'DocField',
'fieldname': u'file_list',
'fieldtype': u'Text',
'hidden': 1,
'label': 'File List',
'label': u'File List',
'no_copy': 1,
'print_hide': 1
}

View File

@@ -3,72 +3,72 @@
# These values are common in all dictionaries
{
'creation': '2012-01-27 10:14:18',
'creation': '2012-03-27 14:36:47',
'docstatus': 0,
'modified': '2012-01-27 11:54:18',
'modified_by': 'Administrator',
'owner': 'Administrator'
'modified': '2012-03-27 14:36:47',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'colour': 'White:FFF',
'colour': u'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': 'Website',
'module': u'Website',
'name': '__common__',
'section_style': 'Simple',
'section_style': u'Simple',
'show_in_menu': 0,
'version': 5
},
# These values are common for all DocField
{
'doctype': 'DocField',
'doctype': u'DocField',
'name': '__common__',
'parent': 'About Us Team',
'parentfield': 'fields',
'parenttype': 'DocType',
'parent': u'About Us Team',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# DocType, About Us Team
{
'doctype': 'DocType',
'name': 'About Us Team'
'name': u'About Us Team'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'person_name',
'fieldtype': 'Data',
'label': 'Person Name'
'doctype': u'DocField',
'fieldname': u'person_name',
'fieldtype': u'Data',
'label': u'Person Name'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'designation',
'fieldtype': 'Data',
'label': 'Designation'
'doctype': u'DocField',
'fieldname': u'designation',
'fieldtype': u'Data',
'label': u'Designation'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'image',
'fieldtype': 'Select',
'label': 'Image',
'options': 'attach_files:'
'doctype': u'DocField',
'fieldname': u'image',
'fieldtype': u'Select',
'label': u'Image',
'options': u'attach_files:'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'bio',
'fieldtype': 'Text',
'label': 'Bio (markdown)',
'width': '300px'
'doctype': u'DocField',
'fieldname': u'bio',
'fieldtype': u'Text',
'label': u'Bio (markdown)',
'width': u'300px'
}
]

View File

@@ -3,9 +3,9 @@
# These values are common in all dictionaries
{
'creation': '2012-01-27 12:24:03',
'creation': '2012-03-27 14:36:47',
'docstatus': 0,
'modified': '2012-02-07 13:55:17',
'modified': '2012-03-27 14:36:47',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
@@ -35,12 +35,15 @@
# These values are common for all DocPerm
{
'create': 1,
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Blog',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1
'permlevel': 0,
'read': 1,
'write': 1
},
# DocType, Blog
@@ -51,27 +54,14 @@
# DocPerm
{
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Website Manager',
'write': 1
},
# DocPerm
{
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Blogger',
'write': 1
'role': u'Website Manager'
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'All'
'role': u'Blogger'
},
# DocField

View File

@@ -3,20 +3,20 @@
# These values are common in all dictionaries
{
'creation': '2012-01-27 17:18:33',
'creation': '2012-03-27 14:36:47',
'docstatus': 0,
'modified': '2012-01-27 17:18:33',
'modified_by': 'Administrator',
'owner': 'Administrator'
'modified': '2012-03-27 14:36:47',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'colour': 'White:FFF',
'colour': u'White:FFF',
'doctype': 'DocType',
'module': 'Website',
'module': u'Website',
'name': '__common__',
'section_style': 'Simple',
'section_style': u'Simple',
'show_in_menu': 0,
'version': 1
},
@@ -24,6 +24,6 @@
# DocType, Blog Subscriber
{
'doctype': 'DocType',
'name': 'Blog Subscriber'
'name': u'Blog Subscriber'
}
]

View File

@@ -3,45 +3,45 @@
# These values are common in all dictionaries
{
'creation': '2012-01-25 16:01:33',
'creation': '2012-03-27 14:36:47',
'docstatus': 0,
'modified': '2012-01-25 16:01:33',
'modified_by': 'Administrator',
'owner': 'Administrator'
'modified': '2012-03-27 14:36:47',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'colour': 'White:FFF',
'colour': u'White:FFF',
'doctype': 'DocType',
'document_type': 'Other',
'document_type': u'Other',
'issingle': 1,
'module': 'Website',
'module': u'Website',
'name': '__common__',
'section_style': 'Simple',
'section_style': u'Simple',
'show_in_menu': 0,
'version': 1
},
# These values are common for all DocField
{
'colour': 'White:FFF',
'doctype': 'DocField',
'colour': u'White:FFF',
'doctype': u'DocField',
'name': '__common__',
'parent': 'Contact Us Settings',
'parentfield': 'fields',
'parenttype': 'DocType',
'parent': u'Contact Us Settings',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'create': 1,
'doctype': 'DocPerm',
'doctype': u'DocPerm',
'name': '__common__',
'parent': 'Contact Us Settings',
'parentfield': 'permissions',
'parenttype': 'DocType',
'parent': u'Contact Us Settings',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'write': 1
@@ -50,51 +50,51 @@
# DocType, Contact Us Settings
{
'doctype': 'DocType',
'name': 'Contact Us Settings'
'name': u'Contact Us Settings'
},
# DocPerm
{
'doctype': 'DocPerm',
'role': 'Website Manager'
'doctype': u'DocPerm',
'role': u'Website Manager'
},
# DocPerm
{
'doctype': 'DocPerm',
'role': 'System Manager'
'doctype': u'DocPerm',
'role': u'System Manager'
},
# DocField
{
'default': 'Contact Us',
'doctype': 'DocField',
'fieldname': 'headline',
'fieldtype': 'Data',
'label': 'Headline'
'default': u'Contact Us',
'doctype': u'DocField',
'fieldname': u'headline',
'fieldtype': u'Data',
'label': u'Headline'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'send_email_notification',
'fieldtype': 'Check',
'label': 'Send Email Notification'
'doctype': u'DocField',
'fieldname': u'send_email_notification',
'fieldtype': u'Check',
'label': u'Send Email Notification'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'main_section',
'fieldtype': 'Code',
'label': 'Main Section'
'doctype': u'DocField',
'fieldname': u'main_section',
'fieldtype': u'Code',
'label': u'Main Section'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'side_section',
'fieldtype': 'Code',
'label': 'Side Section'
'doctype': u'DocField',
'fieldname': u'side_section',
'fieldtype': u'Code',
'label': u'Side Section'
}
]

View File

@@ -3,9 +3,9 @@
# These values are common in all dictionaries
{
'creation': '2012-02-17 15:53:22',
'creation': '2012-03-27 14:36:47',
'docstatus': 0,
'modified': '2012-02-22 18:32:46',
'modified': '2012-03-27 14:36:47',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
@@ -38,13 +38,17 @@
# These values are common for all DocPerm
{
'amend': 0,
'create': 1,
'doctype': u'DocPerm',
'name': '__common__',
'parent': u'Product',
'parentfield': u'permissions',
'parenttype': u'DocType',
'permlevel': 0,
'read': 1,
'role': u'Website Manager'
'submit': 0,
'write': 1
},
# DocType, Product
@@ -55,16 +59,23 @@
# DocPerm
{
'create': 1,
'cancel': 0,
'doctype': u'DocPerm',
'permlevel': 0,
'write': 1
'role': u'Sales Manager'
},
# DocPerm
{
'cancel': 0,
'doctype': u'DocPerm',
'permlevel': 1
'role': u'Sales User'
},
# DocPerm
{
'cancel': 1,
'doctype': u'DocPerm',
'role': u'Website Manager'
},
# DocField
@@ -124,6 +135,7 @@
# DocField
{
'doctype': u'DocField',
'fieldname': u'column_break0',
'fieldtype': u'Column Break',
'permlevel': 0
},
@@ -166,6 +178,7 @@
# DocField
{
'doctype': u'DocField',
'fieldname': u'section_break0',
'fieldtype': u'Section Break',
'permlevel': 0
},
@@ -185,6 +198,7 @@
# DocField
{
'doctype': u'DocField',
'fieldname': u'section_break1',
'fieldtype': u'Section Break',
'permlevel': 0
},
@@ -249,4 +263,4 @@
'permlevel': 0,
'print_hide': 1
}
]
]

View File

@@ -3,55 +3,55 @@
# These values are common in all dictionaries
{
'creation': '2012-01-30 12:17:12',
'creation': '2012-03-27 14:36:48',
'docstatus': 0,
'modified': '2012-01-30 12:17:12',
'modified_by': 'Administrator',
'owner': 'Administrator'
'modified': '2012-03-27 14:36:48',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'colour': 'White:FFF',
'colour': u'White:FFF',
'doctype': 'DocType',
'istable': 1,
'module': 'Website',
'module': u'Website',
'name': '__common__',
'section_style': 'Simple',
'section_style': u'Simple',
'show_in_menu': 0,
'version': 1
},
# These values are common for all DocField
{
'doctype': 'DocField',
'doctype': u'DocField',
'name': '__common__',
'parent': 'Product Group',
'parentfield': 'fields',
'parenttype': 'DocType',
'parent': u'Product Group',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# DocType, Product Group
{
'doctype': 'DocType',
'name': 'Product Group'
'name': u'Product Group'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'item_group',
'fieldtype': 'Link',
'label': 'Item Group',
'options': 'Item Group'
'doctype': u'DocField',
'fieldname': u'item_group',
'fieldtype': u'Link',
'label': u'Item Group',
'options': u'Item Group'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'label',
'fieldtype': 'Data',
'label': 'Label'
'doctype': u'DocField',
'fieldname': u'label',
'fieldtype': u'Data',
'label': u'Label'
}
]

View File

@@ -3,9 +3,9 @@
# These values are common in all dictionaries
{
'creation': '2012-01-30 12:15:00',
'creation': '2012-03-27 14:36:48',
'docstatus': 0,
'modified': '2012-02-14 14:29:41',
'modified': '2012-03-27 14:36:48',
'modified_by': u'Administrator',
'owner': u'Administrator'
},

View File

@@ -3,9 +3,9 @@
# These values are common in all dictionaries
{
'creation': '2012-02-01 16:16:47',
'creation': '2012-03-27 14:36:48',
'docstatus': 0,
'modified': '2012-02-06 12:24:29',
'modified': '2012-03-27 14:36:48',
'modified_by': u'Administrator',
'owner': u'Administrator'
},

View File

@@ -3,9 +3,9 @@
# These values are common in all dictionaries
{
'creation': '2012-02-02 09:57:25',
'creation': '2012-03-27 14:36:48',
'docstatus': 0,
'modified': '2012-03-21 10:53:38',
'modified': '2012-03-27 14:36:48',
'modified_by': u'Administrator',
'owner': u'Administrator'
},

View File

@@ -3,9 +3,9 @@
# These values are common in all dictionaries
{
'creation': '2012-01-24 10:24:19',
'creation': '2012-03-27 14:36:48',
'docstatus': 0,
'modified': '2012-02-07 10:35:19',
'modified': '2012-03-27 14:36:48',
'modified_by': u'Administrator',
'owner': u'Administrator'
},

View File

@@ -3,139 +3,139 @@
# These values are common in all dictionaries
{
'creation': '2012-01-31 15:18:49',
'creation': '2012-03-27 14:36:48',
'docstatus': 0,
'modified': '2012-02-02 13:15:36',
'modified_by': 'Administrator',
'owner': 'Administrator'
'modified': '2012-03-27 14:36:48',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
# These values are common for all DocType
{
'_last_update': '1328093379',
'_last_update': u'1328093379',
'allow_attach': 1,
'colour': 'White:FFF',
'description': 'A custom page is a simple page with the layout - headline, main section, side section\n\nEditing:\n\n- Editing is in [markdown format](http://daringfireball.net/projects/markdown/syntax)\n- You can also add images and embed html code\n\nAccessing the page:\n\n- The page can be accessed as #![page-name] after the main url\n\nIdeal for pages like FAQ, Terms, Help etc.\n\n',
'colour': u'White:FFF',
'description': u'A custom page is a simple page with the layout - headline, main section, side section\n\nEditing:\n\n- Editing is in [markdown format](http://daringfireball.net/projects/markdown/syntax)\n- You can also add images and embed html code\n\nAccessing the page:\n\n- The page can be accessed as #![page-name] after the main url\n\nIdeal for pages like FAQ, Terms, Help etc.\n\n',
'doctype': 'DocType',
'max_attachments': 5,
'module': 'Website',
'module': u'Website',
'name': '__common__',
'section_style': 'Simple',
'section_style': u'Simple',
'show_in_menu': 0,
'version': 6
},
# These values are common for all DocField
{
'doctype': 'DocField',
'doctype': u'DocField',
'name': '__common__',
'parent': 'Web Page',
'parentfield': 'fields',
'parenttype': 'DocType',
'parent': u'Web Page',
'parentfield': u'fields',
'parenttype': u'DocType',
'permlevel': 0
},
# These values are common for all DocPerm
{
'doctype': 'DocPerm',
'doctype': u'DocPerm',
'name': '__common__',
'parent': 'Web Page',
'parentfield': 'permissions',
'parenttype': 'DocType',
'parent': u'Web Page',
'parentfield': u'permissions',
'parenttype': u'DocType',
'read': 1,
'role': 'Website Manager'
'role': u'Website Manager'
},
# DocType, Web Page
{
'doctype': 'DocType',
'name': 'Web Page'
'name': u'Web Page'
},
# DocPerm
{
'create': 1,
'doctype': 'DocPerm',
'doctype': u'DocPerm',
'permlevel': 0,
'write': 1
},
# DocPerm
{
'doctype': 'DocPerm',
'doctype': u'DocPerm',
'permlevel': 1
},
# DocField
{
'colour': 'White:FFF',
'description': 'Title / headline of your page',
'doctype': 'DocField',
'fieldname': 'title',
'fieldtype': 'Data',
'label': 'Title',
'colour': u'White:FFF',
'description': u'Title / headline of your page',
'doctype': u'DocField',
'fieldname': u'title',
'fieldtype': u'Data',
'label': u'Title',
'reqd': 1
},
# DocField
{
'colour': 'White:FFF',
'description': 'Section that will span 2 columns, formatted as markdown. If no head, leave blank. If you are displaying a banner, it must be 860px',
'doctype': 'DocField',
'fieldname': 'head_section',
'fieldtype': 'Text',
'label': 'Head Section'
'colour': u'White:FFF',
'description': u'Section that will span 2 columns, formatted as markdown. If no head, leave blank. If you are displaying a banner, it must be 860px',
'doctype': u'DocField',
'fieldname': u'head_section',
'fieldtype': u'Text',
'label': u'Head Section'
},
# DocField
{
'colour': 'White:FFF',
'description': 'Content in markdown format that appears on the main side of your page',
'doctype': 'DocField',
'fieldname': 'main_section',
'fieldtype': 'Code',
'label': 'Main Section'
'colour': u'White:FFF',
'description': u'Content in markdown format that appears on the main side of your page',
'doctype': u'DocField',
'fieldname': u'main_section',
'fieldtype': u'Code',
'label': u'Main Section'
},
# DocField
{
'colour': 'White:FFF',
'description': 'Content in markdown format that appears on the right side',
'doctype': 'DocField',
'fieldname': 'side_section',
'fieldtype': 'Code',
'label': 'Side Section'
'colour': u'White:FFF',
'description': u'Content in markdown format that appears on the right side',
'doctype': u'DocField',
'fieldname': u'side_section',
'fieldtype': u'Code',
'label': u'Side Section'
},
# DocField
{
'colour': 'White:FFF',
'description': 'Link for next page appears at the bottom of the page',
'doctype': 'DocField',
'fieldname': 'next_page',
'fieldtype': 'Link',
'label': 'Next Page',
'options': 'Page'
'colour': u'White:FFF',
'description': u'Link for next page appears at the bottom of the page',
'doctype': u'DocField',
'fieldname': u'next_page',
'fieldtype': u'Link',
'label': u'Next Page',
'options': u'Page'
},
# DocField
{
'colour': 'White:FFF',
'description': 'Related pages appear on the right side of the link and are linked both ways.',
'doctype': 'DocField',
'fieldname': 'related_pages',
'fieldtype': 'Table',
'label': 'Related Pages',
'options': 'Related Page'
'colour': u'White:FFF',
'description': u'Related pages appear on the right side of the link and are linked both ways.',
'doctype': u'DocField',
'fieldname': u'related_pages',
'fieldtype': u'Table',
'label': u'Related Pages',
'options': u'Related Page'
},
# DocField
{
'doctype': 'DocField',
'fieldname': 'file_list',
'fieldtype': 'Text',
'doctype': u'DocField',
'fieldname': u'file_list',
'fieldtype': u'Text',
'hidden': 1,
'label': 'File List',
'label': u'File List',
'no_copy': 1,
'print_hide': 1
}

View File

@@ -3,9 +3,9 @@
# These values are common in all dictionaries
{
'creation': '2012-02-02 13:19:50',
'creation': '2012-03-27 14:36:48',
'docstatus': 0,
'modified': '2012-02-14 16:13:59',
'modified': '2012-03-27 14:36:48',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
@@ -79,6 +79,7 @@
# DocField
{
'doctype': u'DocField',
'fieldname': u'top_bar',
'fieldtype': u'Section Break',
'label': u'Top Bar',
'permlevel': 0
@@ -132,6 +133,7 @@
# DocField
{
'doctype': u'DocField',
'fieldname': u'footer',
'fieldtype': u'Section Break',
'label': u'Footer',
'permlevel': 0
@@ -180,6 +182,7 @@
# DocField
{
'doctype': u'DocField',
'fieldname': u'domains',
'fieldtype': u'Section Break',
'label': u'Domains',
'permlevel': 0
@@ -210,6 +213,7 @@
# DocField
{
'doctype': u'DocField',
'fieldname': u'analytics',
'fieldtype': u'Section Break',
'label': u'Analytics',
'permlevel': 0