Commit graph

36425 commits

Author SHA1 Message Date
Suraj Shetty
8efb100222
Merge pull request #15831 from marination/moment-missing-in-datetime-web 2022-02-03 12:22:24 +05:30
Suraj Shetty
6163ebf1eb
Merge pull request #15851 from wojosc/patch-4 2022-02-03 12:02:42 +05:30
Wolfram Schmidt
ac3de2cb81
Update de.csv
missing translation added
2022-02-03 07:28:34 +01:00
marination
ab5f45a96f chore: Add moment to bundle instead of injection via script tag
- Wherever moment is imported in html, use dependent bundle to import it instead for consistency
- Remove moment import from `base.html` since it uses `frappe-web.bundle.js` anyway
2022-02-03 11:31:18 +05:30
marination
3f6eb5d99d fix: Load moment and bind to window from new file
- Introduce new file in `/lib` to import moment and bind to window
- Use new lib file to load moment in web bundle and libs bundle (desk)

Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2022-02-02 20:43:01 +05:30
mergify[bot]
7f5aa9d841
Merge pull request #15842 from resilient-tech/fix-checkbox-color
fix: primary color for checkbox and radio
2022-02-02 15:08:28 +00:00
mergify[bot]
3da7a5c1ff
Merge pull request #15679 from alyf-de/translate-report-export
feat: translate column names in export of report
2022-02-02 11:35:58 +00:00
mergify[bot]
36b105b014
Merge pull request #15839 from resilient-tech/fix-progress-bar-color
fix: primary color for progress bar
2022-02-02 11:23:50 +00:00
Pruthvi Patel
eb6d7d2ea7 fix: dynamic colors for checkbox and radio 2022-02-02 15:47:34 +05:30
Pruthvi Patel
c467708fbc fix: dynamic progress-bar color 2022-02-02 14:57:28 +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
marination
dfffb25704 fix: Import moment in datetime js for web portal
- moment is imported via libs.bundle.js which is used in desk views
- frappe's web bundle does not contain moment due to which, `undefined moment` breaks loading other js assets
- for some odd reason, importing moment in the web bundle does not work, so this is a temporary fix for that
2022-02-02 10:16:31 +05:30
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