leoajr
a9b8fe8197
docs: incorrect argname in docs for get_list #16384
há 3 anos
Shariq Ansari
eadf6acab9
Merge branch 'develop' into customize-form-highlighted-rows-fix
há 3 anos
Suraj Shetty
76ee35f865
Merge pull request #16219 from hrwX/camera_upload
há 3 anos
mergify[bot]
00defb746e
Merge pull request #16376 from nabinhait/assignment-fix
fix: Show assignments based on allocated todo only
há 3 anos
gavin
3b3b895bdd
Merge pull request #16379 from gavindsouza/start-transaction-log-settings
fix(test): start transaction explicitly before savepoint
há 3 anos
Raffael Meyer
f80a16ed14
feat: add translated search doctypes to hooks ( #16197 )
In `search.py` it was hardcoded that **DocType** and **Role** get translated before matching against the search text. This way, a user can type in his local language and still see correct results.
This feature is useful for other DocTypes as well. The criterion would be: there is a small, fairly static number of records, so that the performance impact of translating all names first is not too bad.
This PR adds a hook `translated_search_doctypes` that determines which DocType names get translated before search.
I also added **Country** to `translated_search_doctypes` for frappe. The link to **Country** is frequently used in **Address**, but until now there was no way to use it in the local language. There are ~70% less Countries than DocTypes (including ERPNext), so the performance should be fine.
ERPNext could, for example, add the **Gender** DocType to this hook. As there are very few genders, translating them is fast and improves the UX.
Docs: https://frappeframework.com/docs/v13/user/en/python-api/hooks/edit?wiki_page_patch=b4d7c8d6fc
há 3 anos
Gavin D'souza
93a36092fd
fix(test): start transaction explicitly before savepoint
há 3 anos
mergify[bot]
64efc6bd88
Merge pull request #16042 from saxenabhishek/aks-feat-parse_app_name
feat: app name parsing
há 3 anos
mergify[bot]
70bbcccba7
Merge pull request #16118 from shadrak98/log-settings
fix: clean up logs job was broken
há 3 anos
mergify[bot]
87e640c660
Merge pull request #16147 from shadrak98/customize-form-chore
fix: remove custom-fields too on reset-to-default
há 3 anos
Shariq Ansari
d83bdfe119
fix: Custom field highlight goes away when change grid page
há 3 anos
Gavin D'souza
22fc955e65
fix: Tabs > Spaces
há 3 anos
Carlos Ríos
e8fdca8698
feat(logger): implement `stream_only` to use StreamHandler instead of RotatingFileHandler ( #16274 )
* feat: implement valued parameter 'stream_only' in 'get_logger()' in order to stream logs into stderr instead rotating log files.
Co-authored-by: gavin <gavin18d@gmail.com>
há 3 anos
gavin
a7f1639e65
Merge branch 'develop' into log-settings
há 3 anos
Gavin D'souza
b79d55c5d3
refactor(minor): clear_outbox
* Use pluck API instead of building dict and then accesing keys
* Styled query
* Added type hints
há 3 anos
Nabin Hait
762aeb32f0
fix: Show assignments based on allocated todo only
há 3 anos
Gavin D'souza
300227ba71
fix(set_single_value): Make value parameter optional
Similar to set_value for accepting multiple columns ot be updated for
the same Table through a Dict as the second positional arg
Misc: Added type hints
há 3 anos
Gavin D'souza
85c7057ae4
fix(activity_log): Remove unused import from namespace
há 3 anos
Gavin D'souza
ee355b9cd6
test(log_settings): test_delete_logs
* Refactored TestCase to test "correctly"
* Got rid of earlier flaky logic
* Dropped unwanted tests
há 3 anos
shadrak gurupnor
01978ffe73
fix: remove customizations which is not system_generated
há 3 anos
Suraj Shetty
cd8bd4ccf0
Merge pull request #16278 from surajshetty3416/is-system-generated-customization
há 3 anos
Suraj Shetty
25072fafbe
Merge pull request #16372 from surajshetty3416/fix-calendar
há 3 anos
Suraj Shetty
6b6514c796
fix: Use calendar name as it is
Do not convert route to title case since calendar names are case sensitive, and it breaks for calendar names which are all CAPs
há 3 anos
barredterra
118d928628
refactor: use frappe.model.has_value to determine if field is empty
há 3 anos
Raffael Meyer
ead843cf28
Merge branch 'develop' into camera_upload
há 3 anos
saxenabhishek
1507751a01
test: test_app_name_parser
há 3 anos
saxenabhishek
f8c4098585
docs: docstings and refs
há 3 anos
saxenabhishek
c53e6d822d
feat: parse app name from tags and urls
há 3 anos
gavin
dbff1de9ac
Merge pull request #16337 from alyf-de/dont-assign-variable-to-itself
refactor: don't assign variable to itself
há 3 anos
mergify[bot]
aa42efe1de
Merge pull request #16363 from alyf-de/fullargspec
refactor: call getfullargspec only once
há 3 anos
mergify[bot]
5e6955ba30
Merge pull request #16358 from shariquerik/attach-on-submitted-doc-fix
fix: Attach not working on submitted doc
há 3 anos
Shariq Ansari
d30f9e1d78
fix: wait until attach is cleared before saving
há 3 anos
Shariq Ansari
2d77379c13
Merge branch 'develop' into attach-on-submitted-doc-fix
há 3 anos
mergify[bot]
a4f0344aaf
Merge pull request #16361 from alyf-de/fix-exists-pop
fix: copy dict before popping keys
há 3 anos
mergify[bot]
d4175f673d
Merge pull request #16362 from alyf-de/delete_doc_if_exists
perf: exists is already checked in delete_doc
há 3 anos
Suraj Shetty
6de9d13569
Merge pull request #16364 from surajshetty3416/auto-hide-page-head
há 3 anos
Suraj Shetty
7a9536332e
feat: Hide page head while scrolling down
- To create more reading area in the form
há 3 anos
barredterra
8cf2bf8953
refactor: call getfullargspec only once
há 3 anos
barredterra
179c9f117c
perf: exists is already called in delete_doc
há 3 anos
barredterra
44a7c0dd93
fix: copy dict before popping keys
há 3 anos
barredterra
512c622487
test: make sure `exists` doesn't eat the doctype key
há 3 anos
mergify[bot]
6dfd279863
Merge pull request #16336 from hrwX/fix_parse_email_test
chore: prefix test for parse_email
há 3 anos
Suraj Shetty
a1664330a7
Merge pull request #16344 from frappe/mergify/bp/develop/pr-16239
há 3 anos
Shariq Ansari
5c6c9bb5c4
fix: resolved conflicts in database.py
há 3 anos
Shariq Ansari
d97c7e7caf
fix: resolved conflicts in permissions.py
há 3 anos
Gavin D'souza
1c8d2fd536
fix: Sort keys for illegal JSON
há 3 anos
Raffael Meyer
12f69fb399
fix: allow falsy values
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
há 3 anos
Shariq Ansari
aa0d10fe0e
fix: First set in model then save attachment
há 3 anos
mergify[bot]
367e3fdb4e
Merge pull request #16357 from tirkarthi/fix-assert-1
test: Use assertEqual instead of assertEquals for Python 3.11 compatibility.
há 3 anos
Komal-Saraf0609
df62607c43
test: Corrected the selector
há 3 anos