Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v14 #25535

Merged
merged 44 commits into from
Mar 19, 2024
Merged

chore: release v14 #25535

merged 44 commits into from
Mar 19, 2024

Conversation

frappe-pr-bot
Copy link
Collaborator

Automated weekly release.

ankush and others added 30 commits March 12, 2024 15:27
No one reads these, no need to indent them.

(cherry picked from commit 135fd33)

# Conflicts:
#	frappe/core/doctype/prepared_report/prepared_report.py
(cherry picked from commit 2d75dbb)

# Conflicts:
#	frappe/commands/utils.py
…-25366

fix: log mariadb console usage (backport #25366)
…-25370

perf: compact prepared report files (backport #25370)
(cherry picked from commit 54a2b08)

# Conflicts:
#	frappe/desk/doctype/console_log/console_log.json
#	frappe/desk/doctype/console_log/console_log.py

Co-authored-by: Ankush Menat <ankush@frappe.io>
* fix: Log ipython commands

(cherry picked from commit 8bdc88f)

# Conflicts:
#	frappe/commands/utils.py

* fix: print frappe.log message

(cherry picked from commit 4ef0740)

# Conflicts:
#	frappe/__init__.py

* chore: conflicts

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
(cherry picked from commit ddaf1d2)

Co-authored-by: Ankush Menat <ankush@frappe.io>
…25396)

* feat: move bulk print operation to the background

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit bf6cb1a)

# Conflicts:
#	frappe/utils/print_format.py

* fix: open PDF in new tab

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit 5d0db0c)

* fix: update message

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit 9bf22b7)

* fix: add back a limitation to number of the documents

Don't allow printing more than 500 documents

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit 1caae03)

* fix: let backend generate task ID

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit 5a6bff9)

* fix: make filename more user-friendly

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit 508e4d9)

* refactor(bulk_print): choose queue dynamically

Update docstrings and type hints a bit

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit 5e37ac7)

* refactor: add in a new endpoint for background printing

Let the original one stay as-is for backward compatibility

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit 0ec3e4a)

# Conflicts:
#	frappe/utils/print_format.py

* fix: unsubscribe from task after completion

Also update event name to be more logical

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit 6a5af14)

* refactor: make download button a primary action, update text

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit 5f087ed)

* chore: fix conflicts

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

---------

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Co-authored-by: Akhil Narang <me@akhilnarang.dev>
…-25406

fix: handle parent rename in child workspace (backport #25406)
…25358) (#25396)" (#25400)

Some `frappe.realtime` APIs are different now, will figure it out later if required on v14

This reverts commit 4508239.
(cherry picked from commit 00030a3)
…-25420

fix: skip virtual doctype in tags patch (backport #25420)
* fix: validate homepage paths

(cherry picked from commit d9d2943)

# Conflicts:
#	frappe/core/doctype/role/role.json
#	frappe/website/path_resolver.py

* fix: clear routing cache on homepage change

(cherry picked from commit d758af5)

# Conflicts:
#	frappe/tests/test_caching.py
#	frappe/website/router.py

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
(cherry picked from commit 6ecac9d)
…-25413

fix: wait for datepicker changes to propogate (backport #25413)
…-25426

fix: consider all datepicker elements (backport #25426)
…25395) (#25404)

* fix: dont render very large reports, offer export instead

(cherry picked from commit 65fb8dc)

# Conflicts:
#	frappe/public/js/frappe/views/reports/query_report.js

* chore: conflicts

* fix: make excel export work without rendering

* fix: hide CSV option if not available

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
* ci: disable parallel builds

Reduces flake from random order of execution

* ci: reduce cypress retries

Rarely works, wastes time

* fix: wait for stupid text editor

* chore: remove breadcrumbs test for web form

niche feature, flaky test
* feat: don't allow setting an invalid rating

Convert anything <0 to 0, and anything >1 to 1

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

* chore: add in tests for rating

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

---------

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit b601131)

Co-authored-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit f6e58f2)

Co-authored-by: Ankush Menat <ankush@frappe.io>
mergify bot and others added 13 commits March 14, 2024 19:43
(cherry picked from commit 8e3175f)

Co-authored-by: Ankush Menat <ankush@frappe.io>
* fix: dont add useless distinct clause

confuses query planner in some cases

(cherry picked from commit ae649aa)

# Conflicts:
#	frappe/desk/reportview.py

* feat: support countig till a limit

In InnoDB counting is essentially O(n) operation, it can be pretty fast
on indexes but when filters don't use any index it usually means doing a
full table scan.

Adding a limit will stop the scan as soon as that many records are
matched.

(cherry picked from commit a49fafb)

# Conflicts:
#	frappe/desk/reportview.py

* perf: show estimated count on list view

(cherry picked from commit 7e88c53)

* fix(UX): let user see actual count on click

(cherry picked from commit fdcff2d)

* fix: support child tables in count with limit

(cherry picked from commit 1fa7cc7)

* refactor: avoid duplicate render_count for report view

Only difference is element

(cherry picked from commit 698ef95)

* chore: conflicts

* fix: dont show tooltip if already limited (#25361)

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
…5449)

* feat: connect to redis sentinel for redis cache (#25398)

(cherry picked from commit 77618cd)

# Conflicts:
#	frappe/__init__.py
#	frappe/utils/redis_wrapper.py

* refactor: resolve conflict

---------

Co-authored-by: Revant Nandgaonkar <revant.one@gmail.com>
#25447)

* feat: Store printed PDF attachments on communication (#25439)

(cherry picked from commit e76c29f)

# Conflicts:
#	frappe/core/doctype/communication/email.py
#	frappe/core/doctype/communication/mixins.py
#	frappe/core/doctype/system_settings/system_settings.json
#	frappe/core/doctype/system_settings/system_settings.py

* chore: conflicts

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
Remove redundant parameters

(cherry picked from commit 1f969a4)

Co-authored-by: barredterra <14891507+barredterra@users.noreply.github.com>
(cherry picked from commit b28db47)

Co-authored-by: Ankush Menat <ankush@frappe.io>
(cherry picked from commit ce124d8)

Co-authored-by: Ankush Menat <ankush@frappe.io>
* fix: allow transitioning to long text

(cherry picked from commit 02fd017)

* ci: setup ssh if test failed

(cherry picked from commit 0ca0e22)

# Conflicts:
#	.github/workflows/server-tests.yml

* test: fixup timeouts

The tests were failing because they weren't able to complete in 20
seconds. Ugh!

(cherry picked from commit 48c24c7)

# Conflicts:
#	frappe/core/doctype/rq_job/test_rq_job.py

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
(cherry picked from commit 2f87a09)

Co-authored-by: Ankush Menat <ankush@frappe.io>
(cherry picked from commit 7781f43)

Co-authored-by: barredterra <14891507+barredterra@users.noreply.github.com>
(cherry picked from commit d7f82bc)

Co-authored-by: Ankush Menat <ankush@frappe.io>
* fix: handle distinct for fieldname (#25511)

`distinct count(fieldname)` is supported well but `count(distinct fieldname)` fails if fieldname contains full field with table name included. This PR just adds basic handling for it.

Needs to be rewritten entirely in QB __some day__.

(cherry picked from commit 8a7beeb)

# Conflicts:
#	frappe/model/db_query.py
#	frappe/tests/test_db_query.py

* chore: conflicts

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
(cherry picked from commit fa6ec99)

Co-authored-by: Ankush Menat <ankush@frappe.io>
@frappe-pr-bot frappe-pr-bot requested review from a team and akhilnarang and removed request for a team March 19, 2024 09:31
* fix: debug stuck process by sending SIGUSR1

It will print stack to stderr.

(cherry picked from commit 6560d45)

# Conflicts:
#	frappe/__init__.py

* fix: set sane default timeout on SMTP

(cherry picked from commit fdd74e3)

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
@ankush ankush merged commit d8a095b into version-14 Mar 19, 2024
8 of 11 checks passed
@frappe-pr-bot
Copy link
Collaborator Author

🎉 This PR is included in version 14.68.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants