Commit graph

36414 commits

Author SHA1 Message Date
Gavin D'souza
d18f4e717f fix(test): Use standard test site for cli invokations 2022-02-03 16:58:59 +05:30
Gavin D'souza
74c56c2e63 test: Add test (+ suite) for site migration 2022-02-03 16:58:29 +05:30
Gavin D'souza
891d1fbd86 refactor: Site Migration 2022-02-02 17:44:49 +05:30
Gavin D'souza
001075f88a fix: Use lru_cache instead of cache
* Mainly because it was introduced in PY39
* Making this change beacuse I'd like to evict cold caches too
2022-02-02 13:03:38 +05:30
Mohammad Hasnain Mohsin Rajan
3674117192
Merge pull request #14079 from hasnain2808/user-permission-for-restricting-nested-struct
fix: user permission for restricting nested struct
2022-02-02 12:34:16 +05:30
Ankush Menat
5c17f9ad79
Merge pull request #15661 from gavindsouza/thumbnail-for-images
fix: Thumbnail for external images (from URL)
2022-02-02 12:21:06 +05:30
mergify[bot]
819202f5da
Merge pull request #15560 from gavindsouza/set_value-refactor
refactor: frappe.db.set_value
2022-02-02 06:41:58 +00:00
Ankush Menat
300031aa36 revert "refactor: get_docinfo without side effects"
This reverts commit 79f5a6b640.
2022-02-01 19:39:02 +05:30
mergify[bot]
e43cf12941
Merge pull request #15821 from ankush/missing_email
fix: communication missing from form timeline
2022-02-01 08:30:04 +00:00
Faris Ansari
8018923365
Merge pull request #15784 from netchampfaris/fix-request-args-transformation
fix!: remove unnecessary array transformation in request args
2022-02-01 13:48:47 +05:30
Faris Ansari
7ef9a2554c test: web request with array values as params 2022-02-01 13:16:16 +05:30
Ankush Menat
3af8debbad test: docinfo 2022-02-01 11:58:38 +05:30
Ankush Menat
79f5a6b640 refactor: get_docinfo without side effects 2022-02-01 11:18:35 +05:30
Ankush Menat
2f239dbe4f fix: communication missing from form timeline 2022-02-01 10:16:24 +05:30
Ankush Menat
da8c07d8fa
test: commented out lines in patches.txt (#15818) 2022-01-31 22:00:24 +05:30
mergify[bot]
1a05f4f9a4
Merge pull request #15805 from ruchamahabal/user-type-tests
test(User Type): add select perm doctypes
2022-01-31 15:44:34 +00:00
Saqib Ansari
bd8ac90286
fix(ux): show report button on too many writes error (#15614)
* feat: log errors on too many writes to ease debugging

* fix(ux): extract and show which app/file/function caused too many writes

* fix: postgres error checking assumes exception is postgres exception

* fix: better default for skipping frames

Typically stack is like: some_app -> your_function -> this function. So last 2 frames need to be skipped.

* fix: postgres error checking assumes exception is postgres exception

* fix: better default for skipping frames

Typically stack is like: some_app -> your_function -> this function. So last 2 frames need to be skipped.

* refactor: show Report button instead of logging

* revert: unnecessary new functionality

* test: assert exact exception

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-01-31 18:57:32 +05:30
mergify[bot]
f804640e85
Merge pull request #15792 from netchampfaris/pfbb-fixes
fix: New Print Format Builder fixes
2022-01-31 09:23:59 +00:00
Wolfram Schmidt
fadb07393b
chore: Update de.csv (#15802)
added missing translation in DocType User
2022-01-31 14:33:59 +05:30
Rucha Mahabal
38393c56df test(User Type): add select perm doctypes 2022-01-31 13:37:38 +05:30
Gavin D'souza
229e259bd2 fix: Format timedelta object accurately 2022-01-31 11:56:09 +05:30
Gavin D'souza
885c86bedb Merge branch 'develop' of github.com:frappe/frappe into set_value-refactor 2022-01-31 11:53:59 +05:30
Gavin D'souza
adc745a72c fix: Avoid TypeError when guess_extension returns None 2022-01-31 11:43:24 +05:30
Gavin D'souza
8d9b46527f chore: Remove dead imports 2022-01-31 11:29:32 +05:30
Gavin D'souza
c56b5a4899 Merge branch 'develop' of github.com:frappe/frappe into thumbnail-for-images 2022-01-31 11:26:31 +05:30
Rushabh Mehta
4962fb8fd0
Merge pull request #15786 from phot0n/drop-post-post-comment-doctypes
refactor!: remove post and post comment doctypes
2022-01-31 09:34:35 +05:30
mergify[bot]
386903388a
Merge pull request #15799 from hrwX/add_attach_in_fetch
feat: add Attach Image in add_fetch
2022-01-31 03:35:44 +00:00
hrwx
5e2bfbd04f feat: add Attach Image in add_fetch 2022-01-30 21:44:59 +00:00
mergify[bot]
7d5465b2e3
Merge pull request #15771 from OneiricIT/OneiricIT-webform-signaturefield
feat: signature field in webform
2022-01-30 07:27:58 +00:00
mergify[bot]
10bfad7dc1
Merge pull request #15768 from alyf-de/msgprint-title
fix: translate title in msgprint
2022-01-30 07:26:57 +00:00
Ankush Menat
eda052529b
fix: calling non-exisitng unescape method on HTML2Text (#15796)
test: xlsxutils
2022-01-30 12:17:02 +05:30
Faris Ansari
7223f749dc fix: child table columns overflow 2022-01-29 12:21:01 +05:30
Faris Ansari
e198217d13 fix: Show Reset Changes only when there are changes 2022-01-29 12:20:45 +05:30
hrwx
ede9755649 fix: show sidebar in nav for md and sm screen size 2022-01-28 17:11:48 +01:00
phot0n
6baae86787 fix: patch for removing post and post comment doctypes 2022-01-28 21:07:18 +05:30
phot0n
e716a55932 refactor(minor): move frequently_visited_links from (now deleted) post to route_history 2022-01-28 20:55:24 +05:30
phot0n
17f8a70003 chore: remove post and post comment doctypes 2022-01-28 20:28:42 +05:30
Faris Ansari
b632cc558b fix: remove unnecessary array transformation in request args
`key: ['value', 'value2']` is turned into `key: 'value'` for no reason
2022-01-28 18:47:57 +05:30
Gavin D'souza
5b6ceb5543 Merge branch 'develop' of github.com:frappe/frappe into set_value-refactor 2022-01-28 18:39:12 +05:30
Gavin D'souza
1811f464a9 Merge branch 'set_value-refactor' into set_value-refactor 2022-01-28 18:38:46 +05:30
Gavin D'souza
e080eab06b style: Sort imports 2022-01-28 18:38:13 +05:30
Gavin D'souza
4990a59c48 test: Added unit tests for format_timedelta, parse_timedelta,
json_handler
2022-01-28 18:35:27 +05:30
Gavin D'souza
8037866dc1 fix: Handle parsing and formatting timedeltas
* Added utils parse_timedelta, format_timedelta
* Added to json_handler for de-serializing timedelta objects
2022-01-28 18:33:03 +05:30
Gavin D'souza
9091b2a037 feat(minor): Case option in run-tests for specifying TestCase 2022-01-28 18:31:35 +05:30
mergify[bot]
74964e04da
Merge pull request #15763 from gavindsouza/misc-fixes-6
fix!: Misc fixes
2022-01-28 10:17:13 +00:00
mergify[bot]
68034a4feb
Merge pull request #15777 from surajshetty3416/chat-removal-patch
fix: Add patch to remove chat related doctypes
2022-01-28 09:14:02 +00:00
Suraj Shetty
6f5feb05fa fix: Add patch to remove chat related doctypes 2022-01-28 14:24:26 +05:30
Oneiric
4e5c748fb8
feat: siganture field in webform 2022-01-28 10:42:11 +11:00
barredterra
20d9a78628 test: compare message instead of entire dict 2022-01-27 20:04:55 +01:00
barredterra
90b5664758 fix: translate title in msgprint 2022-01-27 19:23:24 +01:00