barredterra
2e4dd1ba77
refactor: setup_backup_tables
2024-02-12 18:16:47 +01:00
Sagar Vora
70867b47a4
Merge pull request #24872 from sagarvora/tz-tz
2024-02-12 16:59:01 +05:30
Sagar Vora
2704e94395
fix: add default timezone for Tanzania
2024-02-12 16:45:49 +05:30
Ankush Menat
4350f94616
refactor: add_column ( #24867 )
...
- Skip cache which can be invalid
- Do check at db level
2024-02-12 07:45:18 +00:00
Ankush Menat
7b197f1a2b
Merge pull request #24862 from ankush/workflow_action_faster
...
perf: faster workflow action processing
2024-02-12 12:51:47 +05:30
Ankush Menat
8c5aaeb437
test: avoid fiddling with workflow action columns
2024-02-12 12:38:05 +05:30
Ankush Menat
140a01e2cf
perf: cache permission results
...
For each transition, we end up redoing perm check. Nothing has really changed there though.
2024-02-12 11:32:38 +05:30
Ankush Menat
b0a4425230
perf: process workflow email receipients from background
2024-02-12 11:20:17 +05:30
Ankush Menat
8344bce09a
refactor: remove needless coupling of return values
2024-02-12 11:14:57 +05:30
Ankush Menat
16fa5ec9bd
fix: enqueue_after_commit instead of instantly
2024-02-12 10:51:11 +05:30
Ankush Menat
d0de5da21e
Merge pull request #24857 from ankush/refactor_password_reset
...
refactor: Reset password flow
2024-02-11 20:56:13 +05:30
Rehan Ansari
b8e1979864
chore: typo in frappeclient.py ( #24854 )
2024-02-11 11:06:30 +00:00
Ankush Menat
78264a7f16
fix(UX): usability of reset password page
...
- password managers use paste, added that event to trigger our code
- if no password policy then skip. Way too much needless business logic in HTML here.
2024-02-11 16:30:32 +05:30
Ankush Menat
38565a80e3
test: redo reset password tests
2024-02-11 14:30:50 +05:30
Ankush Menat
4c925e0325
refactor: Reset password flow
...
- Hash one time reset tokens instead of storing them as is
- Up the perm level
- Use better source of randomness for generating token
- minor code cleanup here and there
2024-02-11 14:25:26 +05:30
Ankush Menat
74071c1231
chore: remove default UI tours
...
Experiment 🤷
2024-02-11 14:25:26 +05:30
Ankush Menat
17ebc5ee4d
chore: disable flaky UI test ( #24847 )
2024-02-10 18:08:40 +05:30
tonspar
c12b753648
fix: make_request - prevents an error during response parsing if the response body is empty. ( #24613 )
...
* Update utils.py
Sometimes the returned response body is empty. This change prevents the error during frappe response parsing. For example DELETE request returns no content.
* Revert "Update utils.py"
This reverts commit edbfb6960a175da142e9114d8096e5f09665da1b.
* fix: Avoid parsing empty responses in make_request
---------
Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-02-10 08:50:22 +00:00
XRP Systems
b70e0e8071
fix: Added Mongolian language ( #24803 )
2024-02-10 08:41:56 +00:00
Corentin Flr
4f5de3b0de
fix(boilerplate): Fix WebsiteGenerator HTML templates ( #24806 )
2024-02-10 13:57:17 +05:30
Nihalroshan55
c21935ba9e
fix: added prefix none as default in export_fixtures ( #24816 )
...
* added prefix none as default in export_fixtures
* refactor: declare prefix default later later
---------
Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-02-10 08:21:56 +00:00
Ankush Menat
37489d3715
chore: keep old field data for role profile around
...
Avoids potential data loss, it will get cleaned up over time.
2024-02-10 13:45:55 +05:30
Ankush Menat
19044c4be4
Merge pull request #24745 from niraj2477/multiple-role-profile
...
feat: Allow multiple role profile for user
2024-02-10 13:11:44 +05:30
Ankush Menat
7e8b671059
test: role ordering doesn't matter
2024-02-10 12:58:23 +05:30
Ankush Menat
fd2e6e4045
fix: disable role editor if role profiles are present
2024-02-10 12:52:38 +05:30
Ankush Menat
60aae9bbb2
fix: role profile > user dashboard links
2024-02-10 12:52:38 +05:30
Ankush Menat
72c2207e0f
refactor: useless use of dict in frappe.get_doc
2024-02-10 12:52:38 +05:30
Ankush Menat
638aeaddd8
refactor: remove code duplication for role profile logic
2024-02-10 12:52:38 +05:30
Ankush Menat
bfa1aebcc6
fix: deduplicate role profiles
2024-02-10 12:52:35 +05:30
Ankush Menat
f609025472
fix: roles getting re-inserted on every save
2024-02-10 12:24:19 +05:30
Ankush Menat
72b40135ce
refactor: avoid implementing duplicate logic for role profile
...
Unless we are getting any performance benefit, I don't see the need to
have two different implementations for it.
also, queue job in long queue to reduce chance of failure
2024-02-10 12:24:19 +05:30
Ankush Menat
fbb4dd7e96
perf: use cached doc for fetching role profiles
2024-02-10 12:24:19 +05:30
Ankush Menat
ff35e4b854
refactor: backward compatiblity code for role_profile_name
2024-02-10 12:24:19 +05:30
Ankush Menat
ba5ee5c339
refactor: use get_all instead of get_list
...
There won't be any perm checks here.
2024-02-10 12:24:19 +05:30
Raffael Meyer
b3b02c809f
Merge pull request #24684 from barredterra/label-in-link-to-form
2024-02-09 21:03:07 +01:00
Raffael Meyer
6fc898a9e8
Merge pull request #24838 from barredterra/can-submit
2024-02-09 21:00:41 +01:00
barredterra
51743e5952
feat: frapp.model.can_submit (JS)
2024-02-09 16:19:12 +01:00
Ankush Menat
4e1ed2908c
perf: use unique file url ( #24830 )
2024-02-09 14:52:30 +00:00
Ankush Menat
7fbae4cfc8
Merge branch 'develop' into multiple-role-profile
2024-02-09 19:55:12 +05:30
lbrandh
4ceb5c32b7
fix: preferred_language cookie ( #24819 )
2024-02-09 13:59:44 +00:00
Ankush Menat
60c832defd
chore: disable mergify auto merges ( #24825 )
2024-02-09 13:59:40 +00:00
mergify[bot]
7e83d63b9c
Merge pull request #24818 from surajshetty3416/fix-email-validation-failure
...
fix: Ignore "Invalid Doctype" validation if ignore flag is passed
2024-02-09 11:54:57 +00:00
Ankush Menat
ef923e4cc9
test: use known functions for testing
...
Random functions can have annotations but no annotations on arguments
2024-02-09 17:11:48 +05:30
Suraj Shetty
7991c896a8
fix: Unset contact_name to avoid linking of contact in case of failure
2024-02-09 16:21:29 +05:30
Suraj Shetty
803c02258a
fix: Ignore "Invalid Doctype" validation if ignore flag is passed
2024-02-09 14:08:24 +05:30
Akhil Narang
91789ed9d1
Merge pull request #24772 from akhilnarang/ruff
...
ci: switch to ruff for linting
2024-02-07 17:17:14 +05:30
Akhil Narang
8c5657823d
chore: update list of revisions for git blame to ignore
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-07 17:04:45 +05:30
Akhil Narang
26ae0f3460
fix: ruff fixes
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-07 17:04:31 +05:30
Akhil Narang
fbb0e44791
ci: switch to ruff for linting
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-07 16:38:41 +05:30
Abraham Kalungi
25a3baa632
fix: Remove Open Filter On Communication Doctype ( #24800 )
2024-02-07 13:13:04 +05:30