Commit graph

45246 commits

Author SHA1 Message Date
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
Ankush Menat
1f9efb7b3f fix: better file locking 2024-02-06 11:55:30 +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
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
bhavesh95863
dc6d71e84b fix: no of rows displayed based on report type
(cherry picked from commit db4d36f527ace8f4a678ebe39daceaa9f9579a73)
2024-02-05 05:57:20 +00:00
Ankush Menat
12bbfd24e6
fix: Show proper error message for prepared report failure (#24733) 2024-02-05 05:49:23 +00:00
Nihantra C. Patel
1783cf7bb9
fix: title link check (#24731)
* fix: listview filter

* chore: use vanilla js

---------

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2024-02-05 11:16:28 +05:30
Ankush Menat
c02f5d5876
fix: Skip fulltext indexes during sync (#24728)
These are not managed by framework's migration system so we shouldn't
delete them.
2024-02-05 05:30:44 +00:00
mergify[bot]
77b248b180
Merge pull request #24726 from barredterra/respect-null
fix: respect `null` when formatting number values
2024-02-05 05:28:14 +00:00
Raffael Meyer
6c8a08d955
refactor: skip permlevel check if all levels are 0 (#24727)
* refactor: skip permlevel check if all levels are 0

* chore: fix outdated docstring

* chore: equality instead of le
2024-02-05 05:19:09 +00:00
Raffael Meyer
78f20040a5
Merge pull request #24615 from barredterra/widget-translatability 2024-02-04 22:28:54 +01:00
barredterra
a0234355e5 Merge remote-tracking branch 'upstream/develop' into widget-translatability 2024-02-04 22:26:27 +01:00
barredterra
8f44392ea3 fix(widget dialog): translatability 2024-02-04 22:25:51 +01:00
Raffael Meyer
860fe01e18
Merge pull request #24386 from barredterra/google-drive-folders 2024-02-04 22:14:30 +01:00
barredterra
82c68048e0 Merge remote-tracking branch 'upstream/develop' into google-drive-folders 2024-02-04 22:12:39 +01:00
barredterra
8b0c20246c fix: respect null as number value
Null is the intentional absence of a value. It represents a variable that has been explicitly set to have no value.
2024-02-04 18:23:24 +01:00
Shariq Ansari
ea6dbcf217
Merge pull request #24718 from shariquerik/data-import-fix
fix: data import table UI fix
2024-02-03 17:15:43 +05:30
Shariq Ansari
9f08b27991
Merge pull request #24716 from shariquerik/form-builder-fixes-4
fix: redirect and open new doctype dialog if route to /doctype/new
2024-02-03 14:34:42 +05:30
Shariq Ansari
cfd5b91b6e fix: data import table UI fix 2024-02-03 14:32:55 +05:30
Ankush Menat
25692a3c81
fix: Set default for search result limit if empty (#24713) 2024-02-03 07:18:47 +00:00