Commit graph

45392 commits

Author SHA1 Message Date
Ankush Menat
692a400632 perf: Add optional socketio native packages
These are native implementations of some of the things socketio relies
on. Just installing makes few things faster.

These are optional so yarn should ignore failure to install.
2024-02-20 11:07:47 +05:30
Akhil Narang
59ca074780
fix: only try JSON if content-type says so (#24936)
Keep NoneType as the fallback

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-19 15:29:22 +05:30
Akhil Narang
ec8500ef09
Merge pull request #24884 from barredterra/timeline-communication-date
fix: use communication date in timeline
2024-02-19 14:31:06 +05:30
Ankush Menat
1de72ab07f
Merge pull request #24938 from ankush/handle_cronless_jobs
fix: handle bad cron expressions
2024-02-19 14:30:43 +05:30
Ankush Menat
e88c078c9d fix: validate cron format 2024-02-19 13:27:34 +05:30
Ankush Menat
68d1a9ec07 fix: delete cron jobs when switching server script type 2024-02-19 13:11:45 +05:30
Frappe PR Bot
30fcf354e5
feat: new translations from Crowdin (#24901)
* New translations main.pot (French)

* New translations main.pot (Spanish)

* New translations main.pot (Arabic)

* New translations main.pot (German)

* New translations main.pot (French)

* New translations main.pot (Spanish)

* New translations main.pot (Arabic)

* New translations main.pot (German)

* New translations main.pot (German)

* New translations main.pot (French)

* New translations main.pot (German)

* New translations main.pot (Spanish)

* New translations main.pot (Arabic)
2024-02-19 07:15:59 +00:00
Ankush Menat
931e1d64a2
ci: fix labeller (#24935)
* ci: fix labeller

* ci: fix labeller workflow
2024-02-19 07:04:45 +00:00
Ankush Menat
e6120f230a
Merge pull request #23848 from barredterra/copy-config-to-new-app
feat: default configuration for new app
2024-02-19 12:19:07 +05:30
Nihantra C. Patel
15eb1bf839
fix: send_workflow_action_email (#24929)
* fix: send_workflow_action_email

* fix: send_workflow_action_email
2024-02-19 06:37:20 +00:00
prafful1234
d66fe5a037
feat: Queue selection for webhooks (#24876)
* feat: Queue selection for webhooks

* fix: code refactor

* fix: Add authorization check for get_all_queues

* fix(UX): move field to relevant section

* refactor: rename field for queue

* refactor: simpler autocomplete

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-02-19 06:31:30 +00:00
Corentin Flr
fe80169287
fix(page): Catch LocalStorage quota exception (#24885) 2024-02-19 11:33:06 +05:30
Corentin Flr
8a27e7632d
fix(calendar): Replace route in load_last_view (#24894) 2024-02-19 11:18:20 +05:30
Corentin Flr
02051fcf77
fix(weblist): Fix "More" button not working (#24893) 2024-02-19 11:17:46 +05:30
Raffael Meyer
609e0c12ff
feat: extract translatable strings from JS template strings (#24904) 2024-02-19 11:08:25 +05:30
Raffael Meyer
68eb2d978d
fix: keep order in get_values_from_single (#24907)
* fix: keep order in `get_values_from_single`

* fix: add test for destructuring

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-02-19 05:35:35 +00:00
Ankush Menat
beb75ef66e
Merge pull request #24919 from scdanieli/fix-has-value-changed
fix: ensure has_value_changed works for Datetime, Date and Time fields
2024-02-19 10:54:45 +05:30
Akhil Narang
9dcad89c5b
Merge pull request #24914 from netchampfaris/fix/check-user-browse-command
fix: check if user exists in browse command
2024-02-19 10:44:32 +05:30
Ankush Menat
0d847439b6 test: add more tests for has_value_changed 2024-02-19 10:42:21 +05:30
barredterra
d67066dfae fix: switch to ruff 2024-02-18 16:42:41 +01:00
barredterra
7e5dd21cba Merge remote-tracking branch 'upstream/develop' into copy-config-to-new-app 2024-02-18 16:30:00 +01:00
scdanieli
a1cb19c820 fix: ensure has_value_changed works for datetime, date and timedelta fields 2024-02-18 16:05:31 +01:00
Ankush Menat
59f8e361a5
fix: lower socket timeout for validating email domain (#24915) 2024-02-18 14:21:29 +00:00
Raffael Meyer
fc64e8a0fb
feat: pass doctype as context when translating label (#24903) 2024-02-18 19:42:15 +05:30
Faris Ansari
6d26b0bd9a fix: check if user exists in browse command 2024-02-18 14:51:45 +05:30
Raffael Meyer
526359b20c
Merge pull request #24905 from barredterra/invite-contact-as-user
fix: invite contact as user
2024-02-17 16:53:06 +01:00
barredterra
bbd42839e3 fix: invite contact as user 2024-02-16 20:43:37 +01:00
Raffael Meyer
d0ea79daf2
Merge pull request #24879 from barredterra/refactor-setup_backup_tables 2024-02-16 14:42:43 +01:00
barredterra
1aae576b1a Merge branch 'develop' into copy-config-to-new-app 2024-02-16 14:36:58 +01:00
Raffael Meyer
e812143e1d
Merge pull request #24898 from barredterra/fix-version-check 2024-02-15 12:16:56 +01:00
barredterra
72dca18c9e docs: imporve docstrings 2024-02-15 11:54:14 +01:00
barredterra
ee67b46d4e refactor: get_(old)_backup_version methods 2024-02-15 11:54:03 +01:00
barredterra
ed597693bb refactor: better variable name 2024-02-15 11:31:06 +01:00
barredterra
76a830574d fix: wrong operator in version check 2024-02-15 11:30:33 +01:00
Raffael Meyer
f9b5d60ec9
Merge pull request #23701 from pps190/fix-grid-defaults 2024-02-14 18:41:23 +01:00
Devin Slauenwhite
fb8507b1fb
chore: correct linter failure
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
2024-02-14 10:44:34 -05:00
Devin Slauenwhite
c2eff72f02
fix: replace $.extend with spread operator
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
2024-02-14 09:54:52 -05:00
barredterra
10bd9a7efd fix: use communication date in timeline
Before, we used the database creation date, which coincidentally corresponds to the real communication date in many cases.
2024-02-13 15:36:53 +01:00
barredterra
30d63b165b refactor: split into multiple methods 2024-02-13 11:44:50 +01:00
barredterra
2a85c4c5d9 refactor: no inline if-statement
Co-authored-by: Akhil Narang <me@akhilnarang.dev>
2024-02-13 11:29:30 +01:00
Suraj Shetty
f092ae9fd4
Merge pull request #24880 from frappe/dependabot/github_actions/pre-commit/action-3.0.1 2024-02-13 08:51:09 +05:30
dependabot[bot]
b0e90f35d0
chore(deps): bump pre-commit/action from 3.0.0 to 3.0.1
Bumps [pre-commit/action](https://github.com/pre-commit/action) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/pre-commit/action/releases)
- [Commits](https://github.com/pre-commit/action/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: pre-commit/action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 18:14:29 +00:00
barredterra
2e4dd1ba77 refactor: setup_backup_tables 2024-02-12 18:16:47 +01:00
Sagar Vora
70867b47a4
Merge pull request #24872 from sagarvora/tz-tz 2024-02-12 16:59:01 +05:30
Sagar Vora
2704e94395 fix: add default timezone for Tanzania 2024-02-12 16:45:49 +05:30
Ankush Menat
4350f94616
refactor: add_column (#24867)
- Skip cache which can be invalid
- Do check at db level
2024-02-12 07:45:18 +00:00
Ankush Menat
7b197f1a2b
Merge pull request #24862 from ankush/workflow_action_faster
perf: faster workflow action processing
2024-02-12 12:51:47 +05:30
Ankush Menat
8c5aaeb437 test: avoid fiddling with workflow action columns 2024-02-12 12:38:05 +05:30
Ankush Menat
140a01e2cf perf: cache permission results
For each transition, we end up redoing perm check. Nothing has really changed there though.
2024-02-12 11:32:38 +05:30
Ankush Menat
b0a4425230 perf: process workflow email receipients from background 2024-02-12 11:20:17 +05:30