Commit graph

1661 commits

Author SHA1 Message Date
Prssanna Desai
6bf7ce6501
Merge pull request #10124 from Thunderbottom/blog-sanitize
fix: sanitize blog category before rendering
2020-05-01 13:38:01 +05:30
Suraj Shetty
6efce72a3a fix(backup): Use fallback dbport if no port is set for a site 2020-04-28 09:21:48 +05:30
Chinmay D. Pai
b5a5365bfe
chore: add missing return value
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-04-27 23:07:36 +05:30
Chinmay D. Pai
c8550120e4
chore: return if no string_type is found
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-04-27 23:06:19 +05:30
mergify[bot]
3c6da9e429
Merge pull request #10097 from fumin/patch-5
fix: backups on mariadb listening on other ports
2020-04-27 11:05:19 +00:00
Fumin
580fa4a144
fix: backups on mariadb listening on other ports
Previously, databases not listening on the default 3306 port are not being backup, due to port information not passed to mysqldump.
2020-04-26 04:59:21 +08:00
Faris Ansari
42586041c1 fix: Remove unnecessary error handling 2020-04-25 20:50:57 +05:30
Faris Ansari
c676174908 fix: Unused variable name 2020-04-25 20:50:43 +05:30
Faris Ansari
dbf180f368 fix: Handle empty image 2020-04-25 15:48:05 +05:30
Faris Ansari
e8e64012e6 tests: Fix exporter tests 2020-04-25 15:22:35 +05:30
Faris Ansari
280e7d982e feat: Blur-up images before loading 2020-04-25 14:48:43 +05:30
Faris Ansari
77281c6207 fix: tests 2020-04-25 00:43:31 +05:30
Faris Ansari
caa068932c Merge branch 'develop' of https://github.com/frappe/frappe into page-builder-tailwind 2020-04-24 23:48:29 +05:30
mergify[bot]
20083c743e
Merge pull request #10065 from Thunderbottom/site-based-logging
feat: Separate frappe log by site
2020-04-23 08:00:41 +00:00
Chinmay D. Pai
1bd5c916ce
chore: separate frappe log by site
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-04-22 16:23:02 +05:30
Chinmay D. Pai
96c5162c7e
fix: compare and sort release list to get latest release
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-04-22 14:18:38 +05:30
Faris Ansari
e572a3733b fix: Use frappe.throw instead of raise 2020-04-21 21:31:08 +05:30
Chinmay D. Pai
1dfa8ccbc4
feat: add name validation to data fieldtype
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-04-21 15:49:55 +05:30
prssanna
89e0a9804b fix: add missing fullstop in system update message 2020-04-19 22:13:10 +05:30
Faris Ansari
5ea86c6454 fix: Use Web Page Block for Navbar and Footer
- Add more Web Templates
2020-04-19 16:19:02 +05:30
Faris Ansari
2431767fdf feat: Page Builder based on Tailwind
- Website Theme based on: Bootstrap 4, Tailwind
- Web Page: Page Builder
- Web Template: Create templates for web pages
- Added some common Web Templates
- Components: Standard components directly usable in Jinja
- Purge Tailwind Classes in Production
- PostCSS Config to support tailwind
2020-04-18 15:02:56 +05:30
Gavin D'souza
4fa3522c3b Merge branch 'develop' into misc-fix-1 2020-04-17 13:40:49 +05:30
Chinmay Pai
6d8540fbe2
Merge pull request #9849 from saurabh6790/scheduler_based_server_scripts 2020-04-17 11:09:22 +05:30
mergify[bot]
104381abfe
Merge pull request #9969 from Mangesh-Khairnar/increase-password-limit
fix: increase the length of the password
2020-04-16 10:30:50 +00:00
Mangesh-Khairnar
feba8878d9 fix: increase the length of the password to maximum possible under current structure 2020-04-16 14:26:55 +05:30
Rushabh Mehta
e323441c15 feat: Add Web View to compose webpages with components 2020-04-15 23:12:57 +05:30
Shivam Mishra
7651df7bed Merge branch 'develop' of github.com:frappe/frappe into field-strip-html 2020-04-13 14:04:22 +05:30
Suraj Shetty
e26064436b chore: Do not print traceback in console
- Instead print class of error and the site name
2020-04-12 15:05:28 +05:30
Gavin D'souza
5cc11910ad fix: return Job object on frappe.enqueue_doc 2020-04-10 13:34:38 +05:30
Suraj Shetty
ad95fbf519 fix: Handle invalid date parsing 2020-04-10 10:17:01 +05:30
Felipe Orellana
4479405872
fix: hooks.py boilerplate escape chars
Creating new app currently breaks due to comments in hooks.py do not properly escape sample configuration on webform hooks.
2020-04-05 21:27:32 -04:00
Saurabh
6624f3a1af enhancement: provision to scheduled server scripts execution 2020-04-03 18:13:27 +05:30
mergify[bot]
9a7f55c68a
Merge pull request #9799 from Thunderbottom/global-search-sqli
fix: avoid sqli inside global web search
2020-04-03 07:14:54 +00:00
Suraj Shetty
ac464f2b99
Merge branch 'develop' into redis_wrapper_error 2020-04-01 23:10:07 +05:30
gavin
0177c03139
Merge pull request #9784 from gavindsouza/data-options
feat: Validate Data options and Data values
2020-04-01 14:00:48 +05:30
prssanna
8f3209c5e9 fix: fix HTMLParser import in unescape_html 2020-04-01 12:04:10 +05:30
marty
256428572f resolve error redis_wrapper 2020-03-31 12:54:30 +00:00
Chinmay D. Pai
10e939d012
chore: update global_search and add test
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-30 10:46:00 +05:30
Suraj Shetty
0a65266c1e
Merge branch 'develop' into data-options 2020-03-30 10:44:25 +05:30
Suraj Shetty
6dd5d3174e
Merge branch 'develop' into dev-webform-custom-js-css 2020-03-30 10:07:12 +05:30
Chinmay D. Pai
063def052e
chore: remove trailing closing bracket
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-27 18:54:18 +05:30
Chinmay D. Pai
708248baf9
fix: avoid sqli inside global web search
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-27 16:04:11 +05:30
prssanna
523f0a1f57 fix: strip html from fetched fields server side if required 2020-03-27 15:32:11 +05:30
Gavin D'souza
2c5bc5abcf fix: remove type annotations 2020-03-25 17:22:12 +05:30
Gavin D'souza
f7111e20be fix: Improper ValidationError string
returning empty string if parseaddr returns None shows " is not a valid Email Address"

eg: if 'email@' is passed as value, email.utils.parseaddr will return a
(None, None) tuple
2020-03-25 16:28:37 +05:30
Gavin D'souza
c199a3555b chore: remove deprecated validate_email_add function 2020-03-25 15:59:01 +05:30
Gavin D'souza
d199d8027a feat: added server validations for phone and email
for fieldtype "Data" and options set to "Email" or "Phone", updating
    documents will trigger data validations for email and phone numbers will be made
2020-03-25 15:29:24 +05:30
dependabot[bot]
bdb77ba521
chore(deps): bump bleach from 2.1.4 to 3.1.2 (#9779)
* chore(deps): bump bleach from 2.1.4 to 3.1.2

Bumps [bleach](https://github.com/mozilla/bleach) from 2.1.4 to 3.1.2.
- [Release notes](https://github.com/mozilla/bleach/releases)
- [Changelog](https://github.com/mozilla/bleach/blob/master/CHANGES)
- [Commits](https://github.com/mozilla/bleach/compare/v2.1.4...v3.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

* chore: use html.parser instead of html5lib

bleach no longer ships html5lib as a requirement and instead has
included it in the system. we can switch to using html.parser instead;
which is not an external dependency unlike html5lib.

source: https://github.com/mozilla/bleach/blob/master/CHANGES#L206

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>

* chore: use html5lib from bleach

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>

* chore: import html5lib from bleach._vendor

fixes issue where bs4 is unable to find html5lib in the tree:

bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: bleach._vendor.html5lib. Do you need to install a parser library?

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>

* chore: just give up and install html5lib as a dependency

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-25 00:20:57 +05:30
Alirio Castro
23d3f0e63b
feat: Indicate orientation for PDF file (#9660)
Same as other attributes, we could indicate default orientation by indicating in the .print-format css class without hardcoding, which is useful for cloud users.

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-03-16 17:31:28 +05:30
Suraj Shetty
e947b9ed84
Merge branch 'develop' into dev-webform-custom-js-css 2020-03-12 19:54:46 +05:30