Commit graph

45297 commits

Author SHA1 Message Date
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
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
Ankush Menat
ca3ef817b0
fix: Avoid sending password back (#24794) 2024-02-06 20:05:42 +05:30
Ankush Menat
7753ed28fb
fix(DX): show user who modified in diff view (#24790) 2024-02-06 13:00:31 +00:00
14987
56efb7d2f7
fix: Resolve lint issue 2024-02-06 16:27:34 +05:30
14987
a01868a0c9
fix: Modify function to update role of user on role profile change 2024-02-06 16:23:21 +05:30
14987
3a3dd14c2c
fix: Move old field to table multiselect 2024-02-06 16:20:59 +05:30
Rucha Mahabal
68003a23d5
feat: show doctype description on workspace link hover (#24598) 2024-02-06 15:38:59 +05:30
Ankush Menat
33d0db364b
feat: allow configuring coverage from envvar (#24788) 2024-02-06 10:06:48 +00:00
Robert Duncan
d6b126ac6f
fix: console import progress off-by-one (#24777)
* fix: importer console progress off-by-one

* fix: improve progress message

* chore: typo

---------

Co-authored-by: Robert Duncan <robir@puter.local>
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2024-02-06 09:48:06 +00:00
14987
946de990d7
Merge branch 'develop' into multiple-role-profile 2024-02-06 14:56:35 +05:30
Ankush Menat
064d97cafe
ci: only capture coverage on non-pull jobs (#24783) 2024-02-06 09:19:03 +00:00
dependabot[bot]
aaf39b8254
chore(deps): bump codecov/codecov-action from 3 to 4 (#24775)
* chore(deps): bump codecov/codecov-action from 3 to 4

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* ci: pass codecov token for server tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-02-06 14:22:26 +05:30
Ankush Menat
7b83fceadc
Merge pull request #24782 from ankush/file_locking_changes
feat: let users unlock stuck documents
2024-02-06 13:19:53 +05:30
14987
47b54a884a
feat: Move old role profile to table multiselect 2024-02-06 13:03:32 +05:30
Ankush Menat
2c19e846df refactor: simplify code
Co-authored-by: Akhil Narang <me@akhilnarang.dev>
2024-02-06 13:02:45 +05:30
Ankush Menat
d89e0e7e4c feat: let users unlock stuck documents 2024-02-06 12:55:31 +05:30
Ankush Menat
40f1ae1cce feat: support primary_action for frappe.throw 2024-02-06 12:55:29 +05:30
Ankush Menat
eb1b1b4d6b fix!: Accept flat arguments for server_action 2024-02-06 12:42:06 +05:30
Ankush Menat
d616341ad4 fix: Auto delete very old document locks
locks older than 12 hours are most likely from dead processes. They can be (mostly) safely ignored.
2024-02-06 12:28:05 +05:30
Akhil Narang
8ac7293e91
Merge pull request #24688 from frappe/revert-24605-revert-24511-module-map-only-site-apps
Revert "Revert "fix(module_map): only include apps installed on the site - not everything on the bench""
2024-02-06 12:06:09 +05:30
Ankush Menat
1f9efb7b3f fix: better file locking 2024-02-06 11:55:30 +05:30
14987
ff56d9644c
Merge branch 'develop' into multiple-role-profile 2024-02-06 11:34:57 +05:30
Akhil Narang
986e8bc766
feat: include only installed apps in module map in certain scenarios
"all" apps are only really needed during setup, installation of new apps, etc.

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-06 11:32:56 +05:30
14987
83b99f1066
fix(patch): Use bulk insert child records 2024-02-06 11:29:35 +05:30
Akhil Narang
eadce6ccb8
Merge pull request #24704 from blaggacao/feat/add-better-payment-lifecycle-events
feat: add more payment lifecycle events to server scripts
2024-02-06 11:00:48 +05:30
Akhil Narang
066b040e2e
Merge pull request #24778 from akhilnarang/bump-cryptography
chore(deps): bump cryptography
2024-02-06 10:53:00 +05:30
Akhil Narang
679287a4fd
chore(deps): bump pyopenssl to match
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-06 10:35:53 +05:30
Akhil Narang
ddcf654423
chore(deps): bump cryptography
https://github.com/advisories/GHSA-3ww4-gg4f-jr7f

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-06 10:29:53 +05:30
David Arnold
e511e854a3
feat: add more payment lifecycle events to server scripts 2024-02-06 02:10:08 +01:00
14987
9848742430
fix: Restore role profile name and hide it 2024-02-05 19:45:37 +05:30
Ankush Menat
1b8e9c3502
fix(UX): improve server script message (#24770) 2024-02-05 14:14:48 +00:00
Rucha Mahabal
0967cc4f90
feat: show doctype description on list title hover (#24612)
* feat: show doctype description on list title hover

* fix: handle missing meta.description for query report view
2024-02-05 19:27:17 +05:30
Ankush Menat
8a71054c0c
Merge pull request #24765 from ankush/black_to_ruff
ci: switch to ruff-format
2024-02-05 19:20:51 +05:30
Ankush Menat
a65cd1adde chore: ignore commit in blame 2024-02-05 18:57:35 +05:30
Ankush Menat
de9ac89748 style: re-format with ruff 2024-02-05 18:53:33 +05:30
Ankush Menat
b418dba7ae ci: migrate from isort to ruff 2024-02-05 18:53:33 +05:30