Browse Source

Merge branch 'develop'

version-14
Nabin Hait 9 years ago
parent
commit
346bdce263
12 changed files with 12 additions and 13 deletions
  1. +1
    -1
      frappe/__init__.py
  2. +1
    -1
      frappe/data/app_listing/paypal_integration.json
  3. +1
    -1
      frappe/data/app_listing/razorpay_integration.json
  4. BIN
      frappe/docs/assets/query-report-out.png
  5. BIN
      frappe/docs/assets/query-report.png
  6. +1
    -1
      frappe/docs/license.html
  7. +3
    -1
      frappe/public/js/frappe/misc/common.js
  8. +0
    -3
      frappe/public/js/frappe/misc/utils.js
  9. +2
    -2
      frappe/public/js/frappe/ui/charts.js
  10. +1
    -1
      frappe/public/js/frappe/ui/dialog.js
  11. +1
    -1
      frappe/public/js/frappe/ui/toolbar/about.js
  12. +1
    -1
      license.txt

+ 1
- 1
frappe/__init__.py View File

@@ -13,7 +13,7 @@ import os, sys, importlib, inspect, json
from .exceptions import * from .exceptions import *
from .utils.jinja import get_jenv, get_template, render_template from .utils.jinja import get_jenv, get_template, render_template


__version__ = "7.0.23"
__version__ = "7.0.24"


local = Local() local = Local()




+ 1
- 1
frappe/data/app_listing/paypal_integration.json View File

@@ -7,7 +7,7 @@
"app_publisher": "Frappe", "app_publisher": "Frappe",
"app_email": "hello@frappe.io", "app_email": "hello@frappe.io",
"repo_url": "https://github.com/frappe/paypal_integration.git", "repo_url": "https://github.com/frappe/paypal_integration.git",
"app_title": "Paypal Integation",
"app_title": "Paypal Integration",
"app_version": "1.0.0", "app_version": "1.0.0",
"app_category": "Integrations", "app_category": "Integrations",
"featured": 1 "featured": 1


+ 1
- 1
frappe/data/app_listing/razorpay_integration.json View File

@@ -7,7 +7,7 @@
"app_publisher": "Frappe", "app_publisher": "Frappe",
"app_email": "hello@frappe.io", "app_email": "hello@frappe.io",
"repo_url": "https://github.com/frappe/razorpay_integration.git", "repo_url": "https://github.com/frappe/razorpay_integration.git",
"app_title": "Razorpay Integation",
"app_title": "Razorpay Integration",
"app_version": "1.0.0", "app_version": "1.0.0",
"app_category": "Integrations", "app_category": "Integrations",
"featured": 1 "featured": 1


BIN
frappe/docs/assets/query-report-out.png View File

Before After
Width: 1178  |  Height: 620  |  Size: 144 KiB

BIN
frappe/docs/assets/query-report.png View File

Before After
Width: 1195  |  Height: 547  |  Size: 94 KiB

+ 1
- 1
frappe/docs/license.html View File

@@ -4,7 +4,7 @@


<p>The MIT License (MIT)</p> <p>The MIT License (MIT)</p>


<p>Copyright (c) 2015 Frappe Technologies Pvt. Ltd.</p>
<p>Copyright (c) 2016 Frappe Technologies Pvt. Ltd.</p>


<p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p> <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>




+ 3
- 1
frappe/public/js/frappe/misc/common.js View File

@@ -237,5 +237,7 @@ frappe.palette = [
['#428B46', 1] ['#428B46', 1]
] ]



frappe.is_mobile = function() {
return $(document).width() < 768;
}



+ 0
- 3
frappe/public/js/frappe/misc/utils.js View File

@@ -32,9 +32,6 @@ frappe.utils = {
} }
return true; return true;
}, },
is_mobile: function() {
return frappe.utils.is_xs();
},
is_xs: function() { is_xs: function() {
return $(document).width() < 768; return $(document).width() < 768;
}, },


+ 2
- 2
frappe/public/js/frappe/ui/charts.js View File

@@ -6,8 +6,8 @@ frappe.ui.Chart = Class.extend({
$.extend(this.opts, opts); $.extend(this.opts, opts);
this.show_chart(false); this.show_chart(false);


if(this.opts.data && ((this.opts.data.columns && this.opts.data.columns.length > 1)
|| (this.opts.data.rows && this.opts.data.rows.length > 1))) {
if(this.opts.data && ((this.opts.data.columns && this.opts.data.columns.length >= 1)
|| (this.opts.data.rows && this.opts.data.rows.length >= 1))) {
this.chart = this.render_chart(); this.chart = this.render_chart();
this.show_chart(true); this.show_chart(true);
} }


+ 1
- 1
frappe/public/js/frappe/ui/dialog.js View File

@@ -54,7 +54,7 @@ frappe.ui.Dialog = frappe.ui.FieldGroup.extend({
}) })
.on("shown.bs.modal", function() { .on("shown.bs.modal", function() {
// focus on first input // focus on first input
if(frappe.utils.is_mobile()) {
if(frappe.is_mobile()) {
$("#body_div").toggle(false); $("#body_div").toggle(false);
me.body_hidden = true; me.body_hidden = true;
} }


+ 1
- 1
frappe/public/js/frappe/ui/toolbar/about.js View File

@@ -13,7 +13,7 @@ frappe.ui.misc.about = function() {
<h4>Installed Apps</h4>\ <h4>Installed Apps</h4>\
<div id='about-app-versions'>Loading versions...</div>\ <div id='about-app-versions'>Loading versions...</div>\
<hr>\ <hr>\
<p class='text-muted'>&copy; 2015 Frappe Technologies Pvt. Ltd and contributors </p> \
<p class='text-muted'>&copy; 2016 Frappe Technologies Pvt. Ltd and contributors </p> \
</div>", frappe.app)); </div>", frappe.app));


frappe.ui.misc.about_dialog = d; frappe.ui.misc.about_dialog = d;


+ 1
- 1
license.txt View File

@@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)


Copyright (c) 2015 Frappe Technologies Pvt. Ltd.
Copyright (c) 2016 Frappe Technologies Pvt. Ltd.


Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:




Loading…
Cancel
Save