Browse Source

Merge branch 'develop'

version-14
Pratik Vyas 10 years ago
parent
commit
5b61a53917
7 changed files with 10 additions and 7 deletions
  1. +1
    -1
      frappe/__version__.py
  2. +1
    -1
      frappe/hooks.py
  3. +1
    -0
      frappe/public/js/frappe/form/control.js
  4. +1
    -1
      frappe/templates/pages/style_settings.css
  5. +4
    -2
      frappe/website/doctype/web_page/web_page.json
  6. +1
    -1
      frappe/website/website_generator.py
  7. +1
    -1
      setup.py

+ 1
- 1
frappe/__version__.py View File

@@ -1 +1 @@
__version__ = "4.6.1"
__version__ = "4.7.0"

+ 1
- 1
frappe/hooks.py View File

@@ -3,7 +3,7 @@ app_title = "Frappe Framework"
app_publisher = "Web Notes Technologies Pvt. Ltd." app_publisher = "Web Notes Technologies Pvt. Ltd."
app_description = "Full Stack Web Application Framework in Python" app_description = "Full Stack Web Application Framework in Python"
app_icon = "assets/frappe/images/frappe.svg" app_icon = "assets/frappe/images/frappe.svg"
app_version = "4.6.1"
app_version = "4.7.0"
app_color = "#3498db" app_color = "#3498db"
app_email = "support@frappe.io" app_email = "support@frappe.io"




+ 1
- 0
frappe/public/js/frappe/form/control.js View File

@@ -440,6 +440,7 @@ frappe.ui.form.ControlDate = frappe.ui.form.ControlData.extend({
if(!dateutil.validate(value)) { if(!dateutil.validate(value)) {
msgprint (__("Date must be in format: {0}", [sys_defaults.date_format || "yyyy-mm-dd"])); msgprint (__("Date must be in format: {0}", [sys_defaults.date_format || "yyyy-mm-dd"]));
callback(""); callback("");
return;
} }
return callback(value); return callback(value);
} }


+ 1
- 1
frappe/templates/pages/style_settings.css View File

@@ -5,7 +5,7 @@


body { body {
{% if doc.background_image %} {% if doc.background_image %}
background: url("../{{ doc.background_image }}") repeat;
background: url("{{ doc.background_image }}") repeat;
{% elif doc.background_color %} {% elif doc.background_color %}
background-color: #{{ doc.background_color }}; background-color: #{{ doc.background_color }};
background-image: none; background-image: none;


+ 4
- 2
frappe/website/doctype/web_page/web_page.json View File

@@ -1,5 +1,5 @@
{ {
"creation": "2013-03-28 10:35:30",
"creation": "2013-03-28 10:35:30",
"description": "Page to show on the website\n", "description": "Page to show on the website\n",
"docstatus": 0, "docstatus": 0,
"doctype": "DocType", "doctype": "DocType",
@@ -25,6 +25,7 @@
"fieldtype": "Data", "fieldtype": "Data",
"in_list_view": 1, "in_list_view": 1,
"label": "Page Name", "label": "Page Name",
"no_copy": 1,
"permlevel": 0, "permlevel": 0,
"read_only": 0 "read_only": 0
}, },
@@ -40,6 +41,7 @@
"fieldtype": "Read Only", "fieldtype": "Read Only",
"hidden": 1, "hidden": 1,
"label": "Parent Website Route", "label": "Parent Website Route",
"no_copy": 1,
"options": "", "options": "",
"permlevel": 0 "permlevel": 0
}, },
@@ -171,7 +173,7 @@
"icon": "icon-file-alt", "icon": "icon-file-alt",
"idx": 1, "idx": 1,
"max_attachments": 20, "max_attachments": 20,
"modified": "2014-08-19 02:19:05.426465",
"modified": "2014-11-28 15:00:09.806213",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Website", "module": "Website",
"name": "Web Page", "name": "Web Page",


+ 1
- 1
frappe/website/website_generator.py View File

@@ -98,7 +98,7 @@ class WebsiteGenerator(Document):


if old_routes: if old_routes:
for old_route in old_routes: for old_route in old_routes:
clear_cache(old_route)
clear_cache(make_route(old_route))


frappe.db.sql("""update `tab{0}` set frappe.db.sql("""update `tab{0}` set
parent_website_route = replace(parent_website_route, %s, %s), parent_website_route = replace(parent_website_route, %s, %s),


+ 1
- 1
setup.py View File

@@ -1,7 +1,7 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
import os import os


version = "4.6.1"
version = "4.7.0"


with open("requirements.txt", "r") as f: with open("requirements.txt", "r") as f:
install_requires = f.readlines() install_requires = f.readlines()


Loading…
Cancel
Save