Commit graph

44198 commits

Author SHA1 Message Date
Ankush Menat
a4cbe36cbe
Merge pull request #23132 from frappe/jitter-scheduling
perf(Scheduling): add jitter to job scheduling
2023-11-22 10:59:38 +05:30
Ankush Menat
9738936f60
Merge pull request #23333 from maharshivpatel/fix-file-max-upload-size
fix: honour max file size in upload file
2023-11-22 10:56:42 +05:30
Ankush Menat
28d05c41c3 fix: correct max file size in boot 2023-11-22 10:55:52 +05:30
Ankush Menat
515c4410d5
Merge pull request #23337 from blaggacao/fix/naming-rule-polish-list-view
fix(naming_rule): polish list view
2023-11-22 10:47:26 +05:30
Ankush Menat
b43b8839c0
chore: remove dead link 2023-11-22 10:26:23 +05:30
David Arnold
f9141d04bf
fix(naming_rule): polish list view 2023-11-21 18:02:22 +01:00
Maharshi Patel
5af9b294f5 fix: honour max file size in upload file
In case path is /api/method/upload_file, we should honour the max file size
set in system settings and set request max_content_length to that value.
2023-11-21 16:36:57 +05:30
Ankush Menat
07d0b0aa95
Merge pull request #23317 from frappe/dependabot/github_actions/dessant/lock-threads-5
build(deps): bump dessant/lock-threads from 4 to 5
2023-11-21 15:47:56 +05:30
Ankush Menat
878314c0cb
Merge pull request #23322 from akhilnarang/communication-link-distinct-name
fix(event/sync_communication): add `distinct` while querying communication links
2023-11-21 15:45:17 +05:30
Maharshi Patel
b54b6867c4
fix: Font for arabic and not supported languages (#23234)
As we added Inter Variable Font in v15,
we noticed that the font is not supported for Arabic and other languages.
We added a fallback font for Arabic and other languages.
2023-11-21 14:34:12 +05:30
Akhil Narang
da1fb2ff4e
fix(event/sync_communication): add distinct while querying communication links
There's cases where these are duplicated

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-11-21 13:01:19 +05:30
18alantom
aeec01c7f9 perf(Scheduling): add jitter to job scheduling
Addresses #19007
2023-11-21 12:21:53 +05:30
Ankush Menat
cd189b3f7f fix: remove link - modifying while iterating 2023-11-21 12:01:55 +05:30
TechnicalShree
90cf6bb829
feat: Enabling Redirection to a Custom URL on Notification Click (#22956)
* feat: notification custom routing

* Update frappe/public/js/frappe/ui/notifications/notifications.js

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>

* code refactoring

* field name correction

* fix: json

* fix: auto generation

* lint fix

* fix: lint

---------

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2023-11-21 01:23:41 +05:30
dependabot[bot]
97ae9667d9
build(deps): bump dessant/lock-threads from 4 to 5
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 4 to 5.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dessant/lock-threads/compare/v4...v5)

---
updated-dependencies:
- dependency-name: dessant/lock-threads
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 18:57:30 +00:00
Shariq Ansari
be4e0bbc8a
Merge pull request #23207 from rtdany10/workflow-status
feat: workflow state wise status override
2023-11-20 21:06:59 +05:30
Ankush Menat
3cd06d7ebe
Merge pull request #23308 from ankush/addr_line
fix: increase length for address lines
2023-11-20 21:01:17 +05:30
Ankush Menat
c6371cbdd0 fix: increase length for address lines
140 char default limit is often not enough as demonstrated here https://github.com/frappe/frappe/issues/23259
2023-11-20 17:29:00 +05:30
Ankush Menat
49a0f75782
Merge pull request #23302 from cogk/fix-webform-get-cached-value
fix(WebForm): Replace `get_cached_value` with `get_value`
2023-11-20 16:45:43 +05:30
Corentin Flr
8b03a48f24
fix(WebForm): Replace get_cached_value with get_value
frappe.get_cached_value does not support filters
2023-11-20 12:13:55 +01:00
Shariq Ansari
978b9f4f30
chore: cleaner code 2023-11-20 15:38:25 +05:30
Ankush Menat
d715b0ad31
Merge pull request #22804 from akhilnarang/non-nullable-fields
feat: allow setting fields as not nullable
2023-11-20 12:46:02 +05:30
Akhil Narang
eb45da3913
feat: Allow usage of print() within safe_exec() (#23084)
* feat(safe_exec): allow usage of `print()`

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

* refactor(system_console): update description to mention `print()` instead of `log()`

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

* feat: unconditionally add debug logs to response if present

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

* chore(safe_exec): add in a test for running `print()` within safe_exec

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

* fix(safe_exec): ignore warning

RestrictedPython warns us if we call `print()` don't use their `printed` variable

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

* feat: store debug logs from scheduled jobs

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

* fix: avoid ignoring warnings, disabled in prod anyway

* chore: remove unnecessary logging

This can be moved to level 2 when required

---------

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-11-20 12:45:41 +05:30
sibi kumar k
c3b0da60d1
feat: Add image view in Workspace shortcut block (#23041)
* Feat:Add image view in Workspace creation

* image view condition
2023-11-20 11:56:05 +05:30
Shariq Ansari
c0d47d8ddd
chore: linter fix 2023-11-20 11:46:09 +05:30
Shariq Ansari
9949bf47b7
chore: linter fix 2023-11-20 11:42:19 +05:30
mergify[bot]
a0502e8af1
Merge pull request #23291 from ruthra-kumar/dont_rename_link_fields_in_virtual_doctypes
fix: dont rename link fields of Virtual doctypes
2023-11-20 05:13:05 +00:00
Ankush Menat
17ff6998da fix: ignore invalid token so auth hooks can apply
The error will still be raised some 2-3 lines of execution later
2023-11-20 10:16:29 +05:30
ruthra kumar
94b2e509b9 fix: dont rename link fields in Virtual doctypes 2023-11-20 10:11:42 +05:30
Shariq Ansari
da5b723939
Merge pull request #23217 from rtdany10/workflow-docstatus-validation
fix(workflow): avoid implicit docstatus altering
2023-11-19 10:55:51 +05:30
Dany Robert
ee4f74913c fix: test docstatus change from workflow 2023-11-19 03:02:30 +00:00
mergify[bot]
318b2e5ca2
fix:The title of the Link control does not appear correctly in the we… (backport #23270) (#23280)
Co-authored-by: Nrtyck <37080373+Nrtyck@users.noreply.github.com>
2023-11-18 23:06:12 +05:30
mergify[bot]
ac1c804532
fix: web_form_list.js invalid condition_json (backport #23277) (#23279)
Co-authored-by: Nrtyck <37080373+Nrtyck@users.noreply.github.com>
2023-11-18 23:03:23 +05:30
Shariq Ansari
d9691c579e
Merge branch 'develop' into workflow-status 2023-11-18 21:39:58 +05:30
Shariq Ansari
0d0ff686e0
Merge pull request #23171 from barredterra/number-cards 2023-11-18 21:25:45 +05:30
hyaray
6f75dd70d6
Update multi_select_dialog.js (#23261)
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
2023-11-18 21:18:57 +05:30
Shariq Ansari
a14966c980
Merge pull request #22595 from blaggacao/fix/non-html-notifications-rendered-from-files 2023-11-18 21:06:12 +05:30
Shariq Ansari
0d72a7964a
Merge pull request #23140 from cogk/use-other-wording-for-quick-entry 2023-11-18 19:58:25 +05:30
Shariq Ansari
41a7d8b135
Merge pull request #23262 from cogk/fix-webform-controls 2023-11-18 19:49:48 +05:30
mergify[bot]
e9e7f33792
Merge pull request #23255 from revant/fix-auth-hooks
fix: call auth hooks before raising error
2023-11-18 06:09:29 +00:00
Ankush Menat
5ba53b05fb fix: Revert possibly breaking behaviour
Auth hooks should always run regardless of auth headers. These are
supposed to be generic hooks without any expectation on what it's
supposed to do.
2023-11-18 11:24:54 +05:30
Revant Nandgaonkar
693d079f16 fix: validate only authorization headers 2023-11-17 15:17:37 +00:00
Corentin Flr
f5f11a4eb8
fix(WebForm): Add missing keyboard.js dep for some controls
ControlTable and ControlPhone at least
2023-11-17 16:15:10 +01:00
Corentin Flr
b079d3ef78
fix(web): Send first_day_of_the_week and number_format in bootinfo 2023-11-17 16:14:37 +01:00
Dany Robert
b4c0b10bff fix(workflow): avoid implicit docstatus altering 2023-11-17 14:01:54 +00:00
David Arnold
90b076a75a
feat(notification): specify message type (html, md, txt) 2023-11-17 15:00:12 +01:00
Revant Nandgaonkar
7666ea74f1 fix: validate_auth hooks for non Authorization headers 2023-11-17 19:26:28 +05:30
Revant Nandgaonkar
b37ac30dc6 fix: raise error on validate keys 2023-11-17 13:48:18 +00:00
Revant Nandgaonkar
53b8ab9a9d test: fix test auth_hooks 2023-11-17 17:59:13 +05:30
Akhil Narang
ae9ae40bad
Merge pull request #23168 from blaggacao/refactor/centralize-python-shell-interface-for-database-binaries
refactor: give cli invocations of dbtools a dedicated interface
2023-11-17 17:02:41 +05:30