Commit graph

45277 commits

Author SHA1 Message Date
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
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
Ankush Menat
2cdbf54e8d ci: migrate from forked black to ruff-format 2024-02-05 18:35:55 +05:30
Ankush Menat
5caed42189
Merge pull request #24761 from ankush/webhook_text_url
fix: Use `TEXT` type for Webhook URLs to support large URLs
2024-02-05 18:08:22 +05:30
Ankush Menat
b6eef6ebc2
fix: Skip virtual doctypes in link field checks (#24759) 2024-02-05 18:04:31 +05:30
Ankush Menat
063e30964d fix: Use TEXT type for Webhook URLs to support large URLs 2024-02-05 17:50:04 +05:30
Ankush Menat
455c68ac55
Merge pull request #24757 from ankush/virtual_handling
fix: support running QB union queries
2024-02-05 17:07:35 +05:30
14987
ae70612d6a
fix(patch): Update field name 2024-02-05 16:59:31 +05:30
Ankush Menat
7504ccaca8 fix: Pin pypika
We've multiple monkey patched changes, we can't rely on loose pinning.
2024-02-05 16:45:48 +05:30
Ankush Menat
f8743d1cfb fix: support running QB union queries
closes https://github.com/frappe/frappe/issues/15609
2024-02-05 16:45:04 +05:30
14987
5a0ef6a651
feat(test): Add test case for multiple role profile assignments 2024-02-05 16:31:14 +05:30
14987
4ce976705a
fix(test): pass list for role profile in existing single role profile test 2024-02-05 16:31:14 +05:30
14987
f28ed485e2
fix: Update method for updating role in role profiles for user 2024-02-05 16:31:13 +05:30
14987
676d550449
fix: Update fields names for whitlist method 2024-02-05 16:31:13 +05:30
14987
16e696e998
fix(Schema): Update the field name in User schema 2024-02-05 16:31:13 +05:30
Ankush Menat
8f23dfcb4c
fix: Allow int fields to be unique (#24750)
PS: This will automatically make it mandatory because you can't have multiple default values of `0`.

close https://github.com/frappe/frappe/issues/19287
2024-02-05 16:29:56 +05:30
Suraj Shetty
5819d971e0
Merge pull request #24749 from surajshetty3416/fix-sitemap 2024-02-05 16:09:33 +05:30
Suraj Shetty
2243c5ebe3 fix: Resolve conflicts 2024-02-05 15:51:22 +05:30
Suraj Shetty
2bf82e80ba fix: Make sure sitemap respects robot_txt 2024-02-05 15:41:05 +05:30
mergify[bot]
a042b0da66
Merge pull request #24706 from akhilnarang/hook-extend-conf
feat: allow extending site config with a hook
2024-02-05 08:04:12 +00:00
Corentin Flr
c9c8414562
fix(website): Handle virtual DocTypes webview routing (#24445)
Co-authored-by: Charles-Henri Decultot <chdecultot@dokos.io>
2024-02-05 12:47:09 +05:30
Niraj Gautam
1909fcdc22
Merge branch 'frappe:develop' into multiple-role-profile 2024-02-05 12:22:49 +05:30