Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

195 righe
11 KiB

  1. execute:frappe.db.sql("""update `tabPatch Log` set patch=replace(patch, '.4_0.', '.v4_0.')""") #2014-05-12
  2. frappe.patches.v5_0.convert_to_barracuda_and_utf8mb4
  3. execute:frappe.utils.global_search.setup_global_search_table()
  4. frappe.patches.v8_0.update_global_search_table
  5. frappe.patches.v7_0.update_auth
  6. frappe.patches.v7_1.rename_scheduler_log_to_error_log
  7. frappe.patches.v6_1.rename_file_data
  8. frappe.patches.v7_0.re_route #2016-06-27
  9. frappe.patches.v7_2.remove_in_filter
  10. execute:frappe.reload_doc('core', 'doctype', 'doctype', force=True) #2017-03-09
  11. frappe.patches.v8_0.drop_in_dialog
  12. execute:frappe.reload_doc('core', 'doctype', 'docfield', force=True) #2017-03-03
  13. execute:frappe.reload_doc('core', 'doctype', 'docperm') #2017-03-03
  14. frappe.patches.v8_0.drop_is_custom_from_docperm
  15. frappe.patches.v8_0.update_records_in_global_search #11-05-2017
  16. frappe.patches.v8_0.update_published_in_global_search
  17. execute:frappe.reload_doc('core', 'doctype', 'custom_docperm')
  18. execute:frappe.reload_doc('core', 'doctype', 'deleted_document')
  19. execute:frappe.reload_doc('core', 'doctype', 'version') #2017-04-01
  20. frappe.patches.v8_0.rename_page_role_to_has_role #2017-03-16
  21. frappe.patches.v7_2.setup_custom_perms #2017-01-19
  22. frappe.patches.v8_0.set_user_permission_for_page_and_report #2017-03-20
  23. execute:frappe.reload_doc('core', 'doctype', 'role') #2017-05-23
  24. execute:frappe.reload_doc('core', 'doctype', 'user')
  25. execute:frappe.reload_doc('custom', 'doctype', 'custom_field') #2015-10-19
  26. execute:frappe.reload_doc('core', 'doctype', 'page') #2013-13-26
  27. execute:frappe.reload_doc('core', 'doctype', 'report') #2014-06-03
  28. execute:frappe.reload_doc('core', 'doctype', 'translation') #2016-03-03
  29. execute:frappe.reload_doc('email', 'doctype', 'email_alert') #2014-07-15
  30. execute:frappe.reload_doc('desk', 'doctype', 'todo') #2014-12-31-1
  31. execute:frappe.reload_doc('custom', 'doctype', 'property_setter') #2014-12-31-1
  32. execute:frappe.reload_doc('core', 'doctype', 'patch_log') #2016-10-31
  33. execute:frappe.reload_doctype("File") # 2015-10-19
  34. execute:frappe.reload_doc('core', 'doctype', 'error_snapshot')
  35. execute:frappe.clear_cache()
  36. frappe.patches.v7_1.rename_scheduler_log_to_error_log
  37. frappe.patches.v7_1.sync_language_doctype
  38. frappe.patches.v7_0.rename_bulk_email_to_email_queue
  39. frappe.patches.v7_1.rename_chinese_language_codes
  40. execute:frappe.db.sql("alter table `tabSessions` modify `user` varchar(255), engine=InnoDB")
  41. execute:frappe.db.sql("delete from `tabDocField` where parent='0'")
  42. frappe.patches.v4_0.change_varchar_length
  43. frappe.patches.v6_4.reduce_varchar_length
  44. frappe.patches.v5_2.change_checks_to_not_null
  45. frappe.patches.v6_9.int_float_not_null #2015-11-25
  46. frappe.patches.v5_0.v4_to_v5
  47. frappe.patches.v5_0.remove_shopping_cart_app
  48. frappe.patches.v4_0.webnotes_to_frappe
  49. execute:frappe.permissions.reset_perms("Module Def")
  50. execute:import frappe.installer;frappe.installer.make_site_dirs() #2014-02-19
  51. frappe.patches.v4_0.rename_profile_to_user
  52. frappe.patches.v4_0.deprecate_control_panel
  53. frappe.patches.v4_0.remove_old_parent
  54. frappe.patches.v4_0.rename_sitemap_to_route
  55. frappe.patches.v4_0.website_sitemap_hierarchy
  56. frappe.patches.v4_0.remove_index_sitemap
  57. frappe.patches.v4_0.set_website_route_idx
  58. frappe.patches.v4_0.add_delete_permission
  59. frappe.patches.v4_0.set_todo_checked_as_closed
  60. frappe.patches.v4_0.private_backups
  61. frappe.patches.v4_0.set_module_in_report
  62. frappe.patches.v4_0.update_datetime
  63. frappe.patches.v4_0.file_manager_hooks
  64. execute:frappe.get_doc("User", "Guest").save()
  65. frappe.patches.v4_0.update_custom_field_insert_after
  66. frappe.patches.v4_0.deprecate_link_selects
  67. frappe.patches.v4_0.set_user_gravatar
  68. frappe.patches.v4_0.set_user_permissions
  69. frappe.patches.v4_0.create_custom_field_for_owner_match
  70. frappe.patches.v4_0.enable_scheduler_in_system_settings
  71. execute:frappe.db.sql("update tabReport set apply_user_permissions=1") #2014-06-03
  72. frappe.patches.v4_0.replace_deprecated_timezones
  73. execute:import frappe.website.render; frappe.website.render.clear_cache("login"); #2014-06-10
  74. frappe.patches.v4_0.fix_attach_field_file_url
  75. execute:frappe.permissions.reset_perms("User") #2015-03-24
  76. execute:frappe.db.sql("""delete from `tabUserRole` where ifnull(parentfield, '')='' or ifnull(`role`, '')=''""") #2014-08-18
  77. frappe.patches.v4_0.remove_user_owner_custom_field
  78. execute:frappe.delete_doc("DocType", "Website Template")
  79. execute:frappe.db.sql("""update `tabProperty Setter` set property_type='Text' where property in ('options', 'default')""") #2014-06-20
  80. frappe.patches.v4_1.enable_outgoing_email_settings
  81. execute:frappe.db.sql("""update `tabSingles` set `value`=`doctype` where `field`='name'""") #2014-07-04
  82. frappe.patches.v4_1.enable_print_as_pdf #2014-06-17
  83. execute:frappe.db.sql("""update `tabDocPerm` set email=1 where parent='User' and permlevel=0 and `role`='All' and `read`=1 and apply_user_permissions=1""") #2014-07-15
  84. execute:frappe.db.sql("""update `tabPrint Format` set print_format_type='Client' where ifnull(print_format_type, '')=''""") #2014-07-28
  85. frappe.patches.v4_1.file_manager_fix
  86. frappe.patches.v4_2.print_with_letterhead
  87. execute:frappe.delete_doc("DocType", "Control Panel", force=1)
  88. execute:frappe.reload_doc('website', 'doctype', 'web_form') #2014-09-04
  89. execute:frappe.reload_doc('website', 'doctype', 'web_form_field') #2014-09-04
  90. frappe.patches.v4_2.refactor_website_routing
  91. frappe.patches.v4_2.set_assign_in_doc
  92. frappe.patches.v4_3.remove_allow_on_submit_customization
  93. frappe.patches.v5_0.rename_table_fieldnames
  94. frappe.patches.v5_0.communication_parent
  95. frappe.patches.v5_0.clear_website_group_and_notifications
  96. execute:frappe.db.sql("""update tabComment set comment = substr(comment, 6, locate(":", comment)-6) where comment_type in ("Assigned", "Assignment Completed")""")
  97. execute:frappe.db.sql("update `tabComment` set comment_type='Comment' where comment_doctype='Blog Post' and ifnull(comment_type, '')=''")
  98. frappe.patches.v5_0.update_shared
  99. execute:frappe.reload_doc("core", "doctype", "docshare") #2015-07-21
  100. frappe.patches.v6_19.comment_feed_communication
  101. frappe.patches.v6_16.star_to_like
  102. frappe.patches.v5_0.bookmarks_to_stars
  103. frappe.patches.v5_0.style_settings_to_website_theme
  104. frappe.patches.v5_0.rename_ref_type_fieldnames
  105. frappe.patches.v5_0.fix_email_alert
  106. frappe.patches.v5_0.fix_null_date_datetime
  107. frappe.patches.v5_0.force_sync_website
  108. execute:frappe.delete_doc("DocType", "Tag")
  109. execute:frappe.db.sql("delete from `tabProperty Setter` where `property` in ('idx', '_idx')")
  110. frappe.patches.v5_0.move_scheduler_last_event_to_system_settings
  111. execute:frappe.db.sql("update tabUser set new_password='' where ifnull(new_password, '')!=''")
  112. frappe.patches.v5_0.fix_text_editor_file_urls
  113. frappe.patches.v5_0.modify_session
  114. frappe.patches.v5_0.expire_old_scheduler_logs
  115. execute:frappe.permissions.reset_perms("DocType")
  116. execute:frappe.db.sql("delete from `tabProperty Setter` where `property` = 'idx'")
  117. frappe.patches.v6_0.communication_status_and_permission
  118. frappe.patches.v6_0.make_task_log_folder
  119. frappe.patches.v6_0.document_type_rename
  120. frappe.patches.v6_0.fix_ghana_currency
  121. frappe.patches.v6_2.ignore_user_permissions_if_missing
  122. execute:frappe.db.sql("delete from tabSessions where user is null")
  123. frappe.patches.v6_2.rename_backup_manager
  124. execute:frappe.delete_doc("DocType", "Backup Manager")
  125. execute:frappe.db.sql("""update `tabCommunication` set parenttype=null, parent=null, parentfield=null""") #2015-10-22
  126. execute:frappe.permissions.reset_perms("Web Page")
  127. frappe.patches.v6_6.user_last_active
  128. frappe.patches.v6_6.fix_file_url
  129. frappe.patches.v6_11.rename_field_in_email_account
  130. frappe.patches.v7_0.create_private_file_folder
  131. frappe.patches.v6_15.remove_property_setter_for_previous_field #2015-12-29
  132. frappe.patches.v6_15.set_username
  133. execute:frappe.permissions.reset_perms("Error Snapshot")
  134. frappe.patches.v6_16.feed_doc_owner
  135. frappe.patches.v6_21.print_settings_repeat_header_footer
  136. frappe.patches.v6_24.set_language_as_code
  137. frappe.patches.v6_20x.update_insert_after
  138. finally:frappe.patches.v6_24.sync_desktop_icons
  139. frappe.patches.v6_20x.set_allow_draft_for_print
  140. frappe.patches.v6_20x.remove_roles_from_website_user
  141. frappe.patches.v7_0.set_user_fullname
  142. frappe.patches.v7_0.desktop_icons_hidden_by_admin_as_blocked
  143. frappe.patches.v7_0.add_communication_in_doc
  144. frappe.patches.v7_0.update_send_after_in_bulk_email
  145. execute:frappe.db.sql('''delete from `tabSingles` where doctype="Email Settings"''') # 2016-06-13
  146. execute:frappe.db.sql("delete from `tabWeb Page` where ifnull(template_path, '')!=''")
  147. frappe.patches.v7_0.rename_newsletter_list_to_email_group
  148. frappe.patches.v7_0.replace_upgrade_link_limit
  149. frappe.patches.v7_0.set_email_group
  150. frappe.patches.v7_1.setup_integration_services #2016-10-27
  151. frappe.patches.v7_1.rename_chinese_language_codes
  152. execute:frappe.core.doctype.language.language.update_language_names() # 2017-04-12
  153. execute:frappe.db.set_value("Print Settings", "Print Settings", "add_draft_heading", 1)
  154. frappe.patches.v7_0.cleanup_list_settings
  155. execute:frappe.db.set_default('language', '')
  156. frappe.patches.v7_1.refactor_integration_broker
  157. frappe.patches.v7_1.set_backup_limit
  158. frappe.patches.v7_2.set_doctype_engine
  159. frappe.patches.v7_2.merge_knowledge_base
  160. frappe.patches.v7_0.update_report_builder_json
  161. frappe.patches.v7_2.set_in_standard_filter_property #1
  162. frappe.patches.v8_0.drop_unwanted_indexes
  163. execute:frappe.db.sql("update tabCommunication set communication_date = creation where time(communication_date) = 0")
  164. frappe.patches.v7_2.fix_email_queue_recipient
  165. frappe.patches.v7_2.update_feedback_request # 2017-02-27
  166. execute:frappe.rename_doc('Country', 'Macedonia, Republic of', 'Macedonia', ignore_if_exists=True)
  167. execute:frappe.rename_doc('Country', 'Iran, Islamic Republic of', 'Iran', ignore_if_exists=True)
  168. execute:frappe.rename_doc('Country', 'Tanzania, United Republic of', 'Tanzania', ignore_if_exists=True)
  169. execute:frappe.rename_doc('Country', 'Syrian Arab Republic', 'Syria', ignore_if_exists=True)
  170. frappe.patches.v8_0.rename_listsettings_to_usersettings
  171. frappe.patches.v7_2.update_communications
  172. frappe.patches.v8_0.deprecate_integration_broker
  173. frappe.patches.v8_0.setup_email_inbox #2017-03-29
  174. frappe.patches.v8_0.newsletter_childtable_migrate
  175. execute:frappe.db.sql("delete from `tabDesktop Icon` where module_name='Communication'")
  176. execute:frappe.db.sql("update `tabDesktop Icon` set type='list' where _doctype='Communication'")
  177. frappe.patches.v8_0.fix_non_english_desktop_icons # 2017-04-12
  178. frappe.patches.v8_0.set_doctype_values_in_custom_role
  179. frappe.patches.v8_0.install_new_build_system_requirements
  180. frappe.patches.v8_0.set_currency_field_precision # 2017-05-09
  181. frappe.patches.v8_0.rename_print_to_printing
  182. frappe.patches.v7_1.disabled_print_settings_for_custom_print_format
  183. frappe.patches.v8_0.update_desktop_icons
  184. frappe.patches.v8_0.update_gender_and_salutation
  185. execute:frappe.db.sql('update tabReport set module="Desk" where name="ToDo"')
  186. frappe.patches.v8_1.enable_allow_error_traceback_in_system_settings
  187. frappe.patches.v8_1.update_format_options_in_auto_email_report
  188. frappe.patches.v8_1.delete_custom_docperm_if_doctype_not_exists
  189. frappe.patches.v8_5.delete_email_group_member_with_invalid_emails
  190. frappe.patches.v8_x.update_user_permission
  191. frappe.patches.v8_5.patch_event_colors
  192. frappe.patches.v8_7.update_email_queue_status