Commit graph

27819 commits

Author SHA1 Message Date
Abhishek Balam
9d060f9653 fix: cstr import added 2020-12-04 17:01:55 +05:30
Saurabh
9219db4c2a fix: validate email id before passing to formataddr 2020-10-16 14:12:31 +05:30
Snyk bot
b720726207
chore: Update passlib to fix security issue (#11664)
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-PASSLIB-569603

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-10-08 09:59:20 +05:30
Prssanna Desai
9546b58183
fix(Query Report): set df options for custom column (#11612) 2020-10-08 09:57:05 +05:30
mergify[bot]
194ac4420e
Merge pull request #11658 from marination/db-query
fix: Provision for 'distinct' keyword in prepare_args
2020-10-07 11:26:27 +00:00
marination
22b013364e fix: Test for 'distinct' keyword 2020-10-07 16:04:29 +05:30
marination
d39216b273 fix: Select only last 3 args 2020-10-07 15:46:39 +05:30
Gavin D'souza
25e8d8f8cc fix(restore): Add option help 2020-10-07 13:31:30 +05:30
Michelle Alva
00ee7f27b0
fix: Allow creation of Energy Point Log (#11651)
* fix: Enable in_create for Energy Point Log

* fix: enable in_create

* fix: remove in_create
2020-10-06 16:16:08 +00:00
mergify[bot]
30eb9f15b1
Merge pull request #11652 from adityahase/fix-pluck
fix(db_query): Allow plucking a field without having to add it to the fields list
2020-10-06 13:20:22 +00:00
Aditya Hase
e6c16f3184
fix(db_query): Allow plucking a field without having to add it to the fields list
e.g.

frappe.get_all("ToDo", pluck="owner")

Didn't work before, instead

frappe.get_all("ToDo", fields=["owner"], pluck="owner")

was needed
2020-10-06 18:32:43 +05:30
Aditya Hase
fa2c320c49
test(db_query): Test for pluck syntax 2020-10-06 18:27:19 +05:30
mergify[bot]
ed69130c9c
Merge pull request #11646 from netchampfaris/context-enhancments
fix: Website context enhancements
2020-10-06 11:41:20 +00:00
Faris Ansari
2f11272308
Merge pull request #11649 from netchampfaris/web-template-empty-value-fix
fix(web-template): handle None values
2020-10-06 15:49:10 +05:30
Faris Ansari
566cceb397 fix(web-template): handle None values 2020-10-06 15:48:30 +05:30
mergify[bot]
c2f780e26e
Merge pull request #11647 from deepeshgarg007/test_fix
fix: Ignore hash collision count limit in tests
2020-10-06 07:47:05 +00:00
Deepesh Garg
7b404a835b fix: Ignore hash collosion count limit in tests 2020-10-06 12:55:09 +05:30
mergify[bot]
d9ea359c02
Merge pull request #11639 from scmmishra/fix-patch-reload
fix: web template field doctype not reloaded
2020-10-06 06:07:21 +00:00
Faris Ansari
2d1592f244 fix: Apply context from hooks at the end
Applying context from hooks at the end ensures that any context values
that are set from hooks are not overridden by the framework.
2020-10-05 19:46:35 +05:30
Faris Ansari
b9123593d8 fix: Set default twitter:card value to summary 2020-10-05 19:44:13 +05:30
Faris Ansari
f9ae45441c fix: Better metatags fallback
- Set metatag title from context.title
2020-10-05 19:43:22 +05:30
mergify[bot]
ba2440bbc4
Merge pull request #11395 from gavindsouza/compress-files
feat: Compress private and public files during backup
2020-10-05 09:05:09 +00:00
Gavin D'souza
dc21722935 Merge branch 'develop' of github.com:frappe/frappe into compress-files 2020-10-05 14:08:48 +05:30
Gavin D'souza
076ba11111 fix: Update documentation helper 2020-10-05 14:06:58 +05:30
Gavin D'souza
efaed4b953 Merge branch 'develop' of github.com:frappe/frappe into compress-files 2020-10-05 13:37:46 +05:30
Shivam Mishra
0af4b18b0a chore: add comment to rerun patch 2020-10-05 12:38:32 +05:30
Shivam Mishra
47b920506a fix: web tempalte field doctype not reloaded 2020-10-05 12:33:56 +05:30
Prssanna Desai
82fa78c946
Merge pull request #11638 from frappe/mergify/bp/develop/pr-11633
fix(Query Report): typo in method name (bp #11633)
2020-10-05 12:22:01 +05:30
prssanna
5176dfdde3 fix: typo in method name
(cherry picked from commit 04b10e8126c205c45272b29e9909e73a17162d9d)
2020-10-05 11:07:26 +05:30
mergify[bot]
b652382834
Merge pull request #11608 from kevingdc/fix/prepared-report-error
fix: Prepared report's data encoding issue
2020-10-05 04:12:48 +00:00
mergify[bot]
7c65a3741d
Merge pull request #11634 from surajshetty3416/fix-notification-value-update
fix(notification): Set integer value if fieldtype is one of numeric_fieldtypes
2020-10-04 16:53:14 +00:00
Suraj Shetty
ac38866d6d fix(notification): Set integer value if fieldtype is one of numeric_fieldtypes 2020-10-04 22:00:13 +05:30
mergify[bot]
ab496a50dc
Merge pull request #11629 from abhishekbalam/get_untranslated_fix_v13
fix(Translation): Change file open write mode in get-untranslated command
2020-10-03 16:50:36 +00:00
Abhishek Balam
e32cbaf44a fix: change file open write mode to match write function input string mode 2020-10-03 12:56:05 +05:30
gavin
012c637c30
chore: Replace existing Docs required check (#11618) 2020-10-02 16:58:45 +05:30
Frappe PR Bot
e47522a99b
chore: Update translations (#11624)
Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-10-02 13:40:26 +05:30
Shivam Mishra
c7dce0bf54
fix: footer link targets (#11613) 2020-10-02 11:47:21 +05:30
mergify[bot]
c9de5bc468
Merge pull request #11622 from frappe/snyk-fix-8acc01ea85c8009e6377c725958a8e26
fix(Snyk): Security upgrade urllib3 from 1.25.8 to 1.25.9
2020-10-02 04:33:25 +00:00
snyk-bot
cb23996c8e
fix: requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-1014645
2020-10-01 22:55:15 +00:00
mergify[bot]
75c15633f7
Merge pull request #11617 from sunhoww/patch-1
fix: show unique users during viewing/typing notify
2020-10-01 04:07:59 +00:00
Sun Howwrongbum
31dee5d7d4
fix: send unique users during notify 2020-10-01 02:00:18 +05:30
Kevin Chan
e34d0f1751 fix: Decode content before calling json.loads()
This commit fixes an issue that happens when trying to open
**Prepared Reports**. The issue happens because the content isn't
decoded in a format readable by the `json.loads()` function. This was
fixed by decoding the content to *utf-8*.
2020-09-30 16:28:59 +08:00
Kevin Chan
03cc804208 style: Format with black 2020-09-30 16:27:52 +08:00
mergify[bot]
985bf3042e
Merge pull request #11593 from josephalbaph/patch-4
fix: Added Columns correctly exported in Excel
2020-09-30 07:16:59 +00:00
Faris Ansari
e97ce0f4fe
Merge pull request #11584 from netchampfaris/website-enh 2020-09-30 12:25:49 +05:30
mergify[bot]
9b0887c27d
Merge pull request #11604 from abhishekbalam/s3_email_issue
fix(Offsite Backup Utils): S3 success email sent even when checkbox not selected
2020-09-30 06:48:32 +00:00
mergify[bot]
f75f80581f
Merge pull request #11602 from gavindsouza/rm-dead-code-migrate
fix: Remove dead option "rebuild-website" in migrate
2020-09-30 06:09:55 +00:00
mergify[bot]
f077999a03
Merge pull request #11603 from abhishekbalam/autofocus_in_login
fix(Login): Autofocus on first field in Login/Forgot/Signup form
2020-09-30 06:07:26 +00:00
Abhishek Balam
414c15302e fix: use frappe.db.get_single_value instead of get_value 2020-09-30 11:36:31 +05:30
Abhishek Balam
cba0050db8 fix: s3 sucess email sent even when checkbox not selected 2020-09-30 03:52:21 +05:30