Himanshu
dffe396f1c
Merge branch 'develop' into merge_translated_doctypes
2022-08-08 16:21:02 +01:00
Ankush Menat
b263d7a724
fix: ignore forms without docs in realtime events
2022-08-08 19:30:08 +05:30
Ankush Menat
679e846707
fix: dont pass doc to tooltip formatter on reportview
...
This just doesn't exist. Also filtering doc by value makes no sense,
it's bound to be incorrect or misleading.
2022-08-08 19:30:08 +05:30
Suraj Shetty
60b0f0d3aa
Merge pull request #17753 from frappe/remove-emoji-from-doctype
2022-08-08 17:51:21 +05:30
Suraj Shetty
6ef41e03e3
revert: Remove emoji from doctype
...
Use colored text instead
2022-08-08 17:10:34 +05:30
Himanshu
ad48f93b7b
Merge branch 'develop' into merge_translated_doctypes
2022-08-08 10:41:35 +01:00
gavin
90c5d4ca5b
chore: Update CODEOWNERS
...
[skip ci]
2022-08-08 13:25:59 +05:30
Ankush Menat
887d22cb1f
chore: rengerate yarn.lock ( #17747 )
...
yarn lock wasn't updated correctly in last package.json update which
causes failure during update
[skip ci]
2022-08-07 18:55:38 +05:30
Shariq Ansari
0ce7f44d45
fix: Webform Misc Fix ( #17642 )
2022-08-07 15:24:50 +05:30
hrwx
476b628a4e
chore: revert changes to github workflow template
2022-08-06 10:52:59 +01:00
hrwx
db2e898397
chore: linter fixes
2022-08-06 10:52:59 +01:00
Himanshu
1b09db8d9b
Merge branch 'develop' into merge_translated_doctypes
2022-08-06 10:45:05 +01:00
Ernesto Ruiz
2101a2d576
chore: typo in comment on keyboard.js ( #17742 )
2022-08-06 13:06:42 +05:30
hrwx
b01929405d
refactor: translatable doctypes
2022-08-05 21:38:10 +01:00
gavin
5385276547
Merge pull request #16748 from gavindsouza/refactor-oauth-tests
...
refactor: Oauth20 tests
2022-08-05 16:09:27 +05:30
gavin
2735d1c558
Merge branch 'develop' into refactor-oauth-tests
2022-08-05 15:37:41 +05:30
Gavin D'souza
e7a16135e0
fix: Setup test_client for each test
2022-08-05 15:12:52 +05:30
Gavin D'souza
7b149d4273
fix: Allow setting kwarg site for make_request test util
2022-08-05 13:54:58 +05:30
Gavin D'souza
b00ae8043f
test: Set sid as client cookie instead of oauth payload
2022-08-05 12:25:04 +05:30
Sagar Vora
f9bfbfec98
perf: reduce DB calls made in get_fetch_values ( #17671 )
...
* perf: reduce DB calls made in `get_fetch_values`
* fix: ensure return value is same as before
* test: add test for `frappe.model.utils.get_fetch_values`
2022-08-05 11:52:37 +05:30
Gavin D'souza
832fbb6c85
chore: Remove dead imports
2022-08-05 11:39:39 +05:30
Gavin D'souza
65273ee828
Merge branch 'develop' of github.com:frappe/frappe into refactor-oauth-tests
2022-08-05 11:38:55 +05:30
Gavin D'souza
060498c3e4
test: Pass sid to requests to maintain a session
2022-08-05 10:41:13 +05:30
vishdha
9a50c30586
fix: add_user_permission with applicale_for arg set not updating in user permission
2022-08-05 00:27:38 +02:00
Ankush Menat
f6210e7c38
Merge pull request #17697 from ankush/ast_translate
...
feat: use babel to extract translation sources
2022-08-04 15:53:42 +05:30
Ankush Menat
7452ac5d37
chore: correct default arg for extract_javascript
...
Tuples need extra comma to make sure it's not treated as string.
[skip ci]
Co-authored-by: Sagar Vora <sagar@resilient.tech>
2022-08-04 15:52:32 +05:30
Ankush Menat
16fdff8231
chore: remove pointless template strings
2022-08-04 15:33:03 +05:30
Ankush Menat
ec8f20c097
fix: send all messages on boot instead of scanning
...
close https://github.com/frappe/frappe/issues/17684
2022-08-04 15:33:03 +05:30
Ankush Menat
2d7fc1825f
refactor: simplify get_messages_from_file
2022-08-04 15:33:03 +05:30
Ankush Menat
da872a0edf
feat: modified parser for frappe JS translate syntax
2022-08-04 15:33:02 +05:30
Ankush Menat
cd53466b6a
feat: JS extractor and custom JS parser
2022-08-04 15:19:56 +05:30
Ankush Menat
1425842ef0
refactor: extract python translations using babel
...
RIP my cool handwritten AST code :'(
Few things to note:
1. Publicly documented APIs, they don't support capturing kwargs.
2. We can't use documented "lower level" APIs, we need to go _even lower_.
2022-08-04 15:19:55 +05:30
Ankush Menat
ea836a824a
feat: use AST to extract translation sources
2022-08-04 15:19:55 +05:30
Ankush Menat
0cb4da1195
fix: ignore built assets in translation
2022-08-04 15:19:55 +05:30
Ankush Menat
7c80d1e0ab
Merge pull request #17495 from ankush/format_js
...
style: auto-format JS files
2022-08-04 15:19:13 +05:30
Ankush Menat
7c051875b2
chore: ignore js format commit
2022-08-04 14:52:09 +05:30
Ankush Menat
40f27f908a
style: format JS files with prettier
2022-08-04 14:51:01 +05:30
Ankush Menat
015937a03a
test: fix anticipiated test failures
2022-08-04 14:50:24 +05:30
Ankush Menat
7c1b96bc62
style: autoformat JS files
2022-08-04 14:50:24 +05:30
Ankush Menat
a1eaefefda
refactor: simplfiy translate pattern
...
\s already includes \n
2022-08-04 14:50:24 +05:30
Gavin D'souza
2933a06e80
Merge branch 'develop' of github.com:frappe/frappe into refactor-oauth-tests
2022-08-03 16:37:38 +05:30
Ankush Menat
2746ac6aea
Merge pull request #17719 from gavindsouza/trim-fat
...
chore: Minified DocType JSON notation from old verbose notation
2022-08-03 14:05:46 +05:30
Ankush Menat
bdeb032fba
refactor: use separate config key for encryption ( #17720 )
2022-08-03 13:52:02 +05:30
gavin
e4fcf563d2
Merge pull request #17682 from resilient-tech/refactor-only-for
...
refactor: improve `frappe.only_for`
2022-08-03 12:54:32 +05:30
Gavin D'souza
8def87331f
chore: Add minification to blame ignore
2022-08-03 12:26:38 +05:30
Gavin D'souza
85e3ee9403
chore: Minified DocType JSON notation from old verbose notation
2022-08-03 12:22:03 +05:30
Gavin D'souza
2ae50f911a
chore: Minimize OAuth Client DocType
2022-08-03 12:01:36 +05:30
Gavin D'souza
750618ca7c
fix: Re-raise original exception from tenacity's retry
2022-08-03 12:01:12 +05:30
Gavin D'souza
f7d5cb504a
test(oauth-client): Generate new client for each test
2022-08-03 12:00:09 +05:30
Ritwik Puri
9b620bb648
fix: set /app as redirect for pageview home button ( #17715 )
2022-08-03 11:53:10 +05:30