Commit graph

47815 commits

Author SHA1 Message Date
Suraj Shetty
3da56632d7
Merge pull request #28331 from ljain112/fix-report-print 2024-11-05 10:53:06 +05:30
Suraj Shetty
def2874e0a
Merge pull request #28012 from dhiashalabi/fix/rtl-lang-support 2024-11-05 10:47:58 +05:30
Suraj Shetty
2628225a05
Merge pull request #28355 from Centura-AG/refactor/send-notification-by-channel 2024-11-04 23:44:34 +05:30
Frappe PR Bot
345b3c0c95
fix: sync translations from crowdin (#28175)
* fix: French translations

* fix: Spanish translations

* fix: Arabic translations

* fix: German translations

* fix: Swedish translations

* fix: Turkish translations

* fix: Persian translations

* fix: Bosnian translations

* fix: Esperanto translations

* fix: Hungarian translations

* fix: Chinese Simplified translations

* fix: Spanish translations

* fix: Swedish translations

* fix: Polish translations

* fix: Russian translations

* fix: Turkish translations

* fix: Spanish translations

* fix: Turkish translations

* fix: German translations

* fix: French translations

* fix: Spanish translations

* fix: Arabic translations

* fix: German translations

* fix: Swedish translations

* fix: Turkish translations

* fix: Persian translations

* fix: Bosnian translations

* fix: Esperanto translations

* fix: Hungarian translations

* fix: Chinese Simplified translations

* fix: Polish translations

* fix: Russian translations

* fix: Persian translations

* fix: French translations

* fix: Spanish translations

* fix: Arabic translations

* fix: German translations

* fix: Swedish translations

* fix: Turkish translations

* fix: Persian translations

* fix: Bosnian translations

* fix: Esperanto translations

* fix: Hungarian translations

* fix: Chinese Simplified translations

* fix: Polish translations

* fix: Russian translations

* fix: Turkish translations

* fix: Turkish translations

* fix: Turkish translations

* fix: Swedish translations

* fix: Spanish translations

* fix: Swedish translations
2024-11-04 18:09:01 +00:00
Akhil Narang
f6e44d3d94
Merge pull request #28338 from barredterra/sms_gateway_enabled
feat: add `sms_gateway_enabled` flag to bootinfo
2024-11-04 23:28:35 +05:30
Akhil Narang
0bde4c8a45
Merge pull request #28357 from frappe/pot_develop_2024-11-03
chore: update POT file
2024-11-04 23:26:52 +05:30
Md Hussain Nagaria
4ed846d265
Merge pull request #28364 from frappe/misc-fixes
fix: misc UI issues
2024-11-04 16:30:36 +05:30
Hussain Nagaria
465793849c fix: store and use default currency from system settings 2024-11-04 16:08:27 +05:30
Hussain Nagaria
29838789d2 fix: use USD if no default currency is set/found 2024-11-04 16:01:00 +05:30
Hussain Nagaria
1ebb862d57 fix: don't wrap reqd symbol to new line 2024-11-04 15:03:02 +05:30
Hussain Nagaria
ec742dfe02 fix(UI): succinct field name for DocType name 2024-11-04 14:55:53 +05:30
David Arnold
7e0f281fda
fix: revert etag implementation (#28358) 2024-11-03 11:02:29 +00:00
David Arnold
6574896e39
fix: don't allow hashing of unnamed documents (#28348) 2024-11-03 11:50:27 +01:00
frappe-pr-bot
3d3acc54dc chore: update POT file 2024-11-03 09:33:54 +00:00
Rushabh Mehta
6da9d2a808
Merge pull request #28271 from rmehta/fix-oauth-page
fix(style): fix oauth authorisation page and standardise error responses
2024-11-03 10:42:04 +05:30
Marc
7f3f2fef2b Refactor send method by extracting notification logic into a separate function
- Created `send_notification_by_channel` method to handle notification sending by channel and make it easier to extend the channels with a new channel

- Simplified `send` method by moving channel-based notification logic to the new function
2024-11-02 11:58:07 +01:00
Ankush Menat
16407a50ec
fix: Excessive gap locking from hash naming (#28349)
Because of large common prefix hash naming becomes "too sequential" when
doing a lot of concurrent writes.

I don't know a good tradeoff between both use cases:
1. Lots of reads - prefers large shared prefix.
2. Lots of writes - prefers small shared prefix.

But as of now this punishes writes too badly in form of excessive
locking. Until a better fix is found, it's better to keep it prefix free.

---

A better fix would be a tradeoff of between these two:

1. Reads - temporal locality should result in spatial locality on disk.
2. Writes - temporal locality should NOT result in spatial locality.

temporal locality = data inserted around same time
spatial locality = data sits next to each other in DB pages.

This can be achieved by adding a small request/job specific part to
prefix so each concurrent request has it's own different locality when
writing data.
2024-11-01 06:18:22 +00:00
David Arnold
fcae6050f0
Revert "refactor: place mappers into read-only mode" (#28347)
This reverts commit 583e4bf3e7b4a1a9930707515b16dba704309c55.
2024-10-31 20:35:28 +00:00
Raffael Meyer
73a04e9a5d
refactor(mapper): use doc.check_permission (#28316) 2024-10-31 19:52:47 +01:00
barredterra
e3a65dc1e3 feat: add sms_gateway_enabled flag to bootinfo
This enables ERPNext to not show a "Send SMS" button when it certainly will not work.
2024-10-31 13:54:30 +01:00
ljain112
bbaed45d46 fix: do not show hidden filters in export or print 2024-10-30 15:42:59 +05:30
gavin
c01ea099d4
Merge pull request #28326 from gavindsouza/eps-clear_bootinfo
fix: Clear cache when EPS enabled/disabled
2024-10-30 10:27:08 +01:00
Gavin D'souza
ae592521fc
fix: Clear cache when EPS enabled/disabled 2024-10-29 13:12:05 +01:00
dependabot[bot]
e0a84e0f18
build(deps): bump actions/setup-python from 4 to 5 (#28319)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 12:42:00 +01:00
dependabot[bot]
a3f43cebd1
build(deps): bump actions/checkout from 3 to 4 (#28318)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 12:41:40 +01:00
gavin
85235d1252
Merge pull request #28304 from gavindsouza/enable-sentry-profiling
feat: Enable Sentry Sampling
2024-10-29 10:26:00 +01:00
Raffael Meyer
09cdf32f00
fix(Workspace): check perms on deletion (#28315) 2024-10-29 00:35:38 +01:00
Raffael Meyer
881d8c8597
fix(Webhook): highlighting for JSON Request Body (#28313)
The JSON request body is  supposed to hold a jinja template which produces valid JSON. The JSON highlightng shows errors when applied to a jinja template.
2024-10-28 23:02:16 +01:00
Frappe PR Bot
c8ff316f94
chore: update POT file (#28302) 2024-10-28 18:13:14 +01:00
Gavin D'souza
ecb4795ed3
feat: Enable Sentry Sampling
Closes https://github.com/frappe/frappe/issues/28245
2024-10-28 11:27:51 +01:00
David Arnold
61a107b6af
ci: make gh actions functions (#28299)
* ci: make gh actions downstream reusable

* refactor: merge ci helper into run-parallel-test command

* ci: refactor to sensible db password
2024-10-27 02:09:02 +00:00
Frappe PR Bot
6b28c1a4d7
chore: update POT file (#28194) 2024-10-26 19:40:22 +02:00
Sumit Bhanushali
5b718bb60f
Merge pull request #28288 from frappe/sumitbhanushali-patch-1
chore(README): remove missed extra space between links to fix link un…
2024-10-25 11:47:17 +05:30
Sumit Bhanushali
00a6d1d76d chore(README): remove missed extra space between links to fix link underlines 2024-10-25 11:44:37 +05:30
Sumit Bhanushali
73df1614f3
Merge pull request #28285 from frappe/sumitbhanushali-patch-1
chore(README): remove extra space between links to fix link underlines
2024-10-25 11:40:33 +05:30
Sumit Bhanushali
a1d4024fa0 chore(README): remove extra space between links to fix link underlines 2024-10-25 11:39:19 +05:30
Raffael Meyer
ce01f8ada8
fix: controller path for exporting types (#28251) 2024-10-25 03:13:28 +02:00
David Arnold
46a0814287
chore: start with type checking (#28190) 2024-10-24 21:56:25 +00:00
David Arnold
d5fd8d7c20
chore(docref): fix circular imports (#28282) 2024-10-24 22:31:12 +02:00
David Arnold
268c33d3ed
fix(typing): hack-hint to type checkers for ide use (#28257) 2024-10-24 21:16:05 +02:00
Sumit Bhanushali
54a84777d4
Merge pull request #28278 from frappe/sms_msg_update
fix: dont display phone numbers to which sms was sent to
2024-10-24 21:58:41 +05:30
Sumit Bhanushali
0948874c62 fix: dont display phone numbers to which sms was sent to 2024-10-24 21:45:37 +05:30
Akhil Narang
87d7c76d86
Merge pull request #28262 from akhilnarang/change-rename-doc-queue
refactor(rename): use long queue by default
2024-10-24 17:17:17 +05:30
David Arnold
52e50ae389
ci: trigger ci runs from upstream fix (#28273) 2024-10-24 11:42:18 +00:00
David Arnold
5fb77b39e5
ci: add action to trigger downstream ci runs (#28272) 2024-10-24 11:24:23 +00:00
Rushabh Mehta
cef8c12ee4 fix(style): fix oauth authorisation page and standardise error responses 2024-10-24 15:21:34 +05:30
Sumit Bhanushali
bc37b4c4c8
Merge pull request #28268 from frappe/workflow_email_fix
fix: use get_email_template to support html template in workflow email
2024-10-24 15:00:12 +05:30
Sumit Bhanushali
b335abb6aa fix: use get_email_template to support html template in workflow email 2024-10-24 14:43:39 +05:30
Akhil Narang
97bb23960d
refactor(rename_doc): also set a 10 hour timeout
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-10-24 11:25:41 +05:30
Rushabh Mehta
52b6672533
Merge pull request #28260 from rmehta/fix-login-icons
fix(minor): login icons
2024-10-23 20:42:13 +05:30