Commit graph

45262 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Nihantra C. Patel
985c95e900
fix: check is_translatable link (#24739) 2024-02-05 06:42:25 +00:00
Ankush Menat
c668d4f5a8
Merge pull request #24683 from ankush/record_and_profile
feat(recorder): profiling and granular recording
2024-02-05 12:07:49 +05:30
Ankush Menat
c3d1aaf6da
Merge pull request #24738 from frappe/mergify/bp/develop/pr-24724
fix: no of rows displayed based on report type (backport #24724)
2024-02-05 11:44:38 +05:30
Akhil Narang
54ba72ba74
feat: allow extending site config with a hook
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-05 11:43:21 +05:30
Ankush Menat
9107627dac fix: recorder timezone bug
use system timezone to avoid showing incorrect timestamp
2024-02-05 11:37:24 +05:30
Ankush Menat
009b06d974 feat: Jobs/Request filtering 2024-02-05 11:33:31 +05:30
Ankush Menat
e494cb4f6e feat: configurable recording
Configurable behaviours:
- Record SQL queries
- Explain queries
- Record stack frames
- Run profiler
- Filter some requests
2024-02-05 11:33:31 +05:30
Ankush Menat
3c183344aa feat: profile requests using recorder
WIP:
- [x] Basic working feature
- [ ] Make this optional, this has insanely high overhead.
- [ ] Specify requests/function filter to profile/record. This will
  allow better recording in production sites.
- [ ] Make SQL profiling optional too
2024-02-05 11:33:31 +05:30
bhavesh95863
b4b4d8f22f fix: hide number counter for new document view shortcut
(cherry picked from commit bb46d23772cfa9ad2e23a24325b16ed17fdfee6c)
2024-02-05 05:57:21 +00:00