Commit graph

45904 commits

Author SHA1 Message Date
Raffael Meyer
8cebe9f2de
Merge pull request #25678 from barredterra/translatable-web-footer 2024-03-27 13:07:17 +01:00
barredterra
b056147fea fix: translatable web footer 2024-03-27 13:05:50 +01:00
Akhil Narang
722bb3b0fc
Merge pull request #25659 from marination/wkhtml-options
fix: Use CssParser to correctly pass options to wkhtmltopdf
2024-03-27 17:15:36 +05:30
Ankush Menat
59b95a4d19
fix: invalid filter on email acccount (#25674) 2024-03-27 11:09:59 +00:00
marination
96667b1bab chore: Use dict comprehension instead of nested loops 2024-03-27 12:00:49 +01:00
Ankush Menat
f11313d4c9
Merge pull request #25453 from RitvikSardana/develop-ritvik-filter-eval-support
feat: add eval support for link field filters
2024-03-27 15:31:31 +05:30
Kevin Shenk
12f193231d
refactor: enable website utils in safe_exec (#25365)
Frappe Builder uses safe_exec to fetch dynamic data, and there are a few functions in website utilities which would be nice to have on that end, get_html_content_based_on_type especially. I added a few others which seemed useful and safe as well.
2024-03-27 15:26:28 +05:30
Ankush Menat
b7bc5d3236
fix(round 3): switch to creation sorting (#25669) 2024-03-27 08:59:04 +00:00
Ankush Menat
c051c7aba8
fix: keep modified indexed if that's what schema asks for (#25668) 2024-03-27 08:49:49 +00:00
Ankush Menat
432c8cf48c
Merge pull request #25624 from ankush/creation
fix!: Switch to `creation` as default sort order
2024-03-27 13:25:53 +05:30
Ankush Menat
c91ea8ccd5 fix: switch default sort for new doctypes 2024-03-27 13:15:46 +05:30
Ankush Menat
672f3b2258 refactor!: sort by creation for clearing old logs 2024-03-27 13:04:01 +05:30
Ankush Menat
ff1f8ddbda
fix: allow any sequence container (#25664) 2024-03-27 06:31:15 +00:00
Ankush Menat
11bbc3ab63 fix: rewrite __UserSettings to update default sort order 2024-03-27 11:40:03 +05:30
Ankush Menat
dbcf7ad30c refactor: update usage of modified everywhere 2024-03-27 11:23:13 +05:30
Ankush Menat
270d02df31 fix: only drop modified index if default sort_field is changed 2024-03-27 11:18:28 +05:30
Ankush Menat
0212d9362d fix: patch for migrating default sort order 2024-03-27 11:18:28 +05:30
Ankush Menat
3896296c6f fix: update sort order in doctypes 2024-03-27 11:18:28 +05:30
Ankush Menat
071e269548 fix!: Switch to creation as default sort order 2024-03-27 11:18:28 +05:30
Nihantra C. Patel
4ab6a34474
fix: remove slashes from the report link in workspace card (#25593) 2024-03-27 11:07:03 +05:30
Ankush Menat
90c97b3c13
Merge pull request #25524 from barredterra/list-performance
perf: render list
2024-03-27 10:56:12 +05:30
Ankush Menat
6a327fa79c
Merge pull request #25662 from barredterra/languages
feat: only enable supported languages
2024-03-27 10:51:48 +05:30
Dany Robert
6e02df7ea2
fix: ordered fields on get_list returning list (#25663)
* fix: ordered `fields` on get_list returning list

* chore: linters
2024-03-27 05:11:09 +00:00
barredterra
09845dac67 test: translate (use only enabled langs) 2024-03-27 00:43:55 +01:00
barredterra
3561f502d1 test: search relevance 2024-03-27 00:40:21 +01:00
barredterra
0e573fc77e feat: move languages to CSV file, add enabled property
Only enable supported laguages.
2024-03-27 00:18:36 +01:00
barredterra
9fe11241ee chore: remove old patch
No longer needed, has been there since v8. Removed so we don't have to maintain it.
2024-03-26 23:53:25 +01:00
barredterra
12fdc277f8 chore: drop unused method 2024-03-26 23:09:29 +01:00
marination
8814fe0beb chore: Test valid options extraction 2024-03-26 18:16:53 +01:00
Ankush Menat
b0da61413c
ci: bump mariadb (#25658)
Next Framework version will use 11.7 LTS, preparing for the jump.

New version has some cool stuff:
- UUID data type
- Much better explain/analyze
- Better query optimizer
2024-03-26 17:15:15 +00:00
Frappe PR Bot
3408ca0d41
fix: sync translations from crowdin (#25649)
* fix: Spanish translations

* fix: German translations

* fix: French translations

* fix: Arabic translations

* fix: Persian translations
2024-03-26 22:00:30 +05:30
Thatoo
ed01fc3b26
feat: don't require editing MariaDB configuration to setup frappe (#25609)
* feat(db_requirements): Update db_manager.py

* feat(db-requirements): Update setup_db.py

* feat(db-requirements): Update setup_db.py

Don't add error message on top of check_compatible_versions() 's one

Co-authored-by: gavin <gavin18d@gmail.com>

---------

Co-authored-by: gavin <gavin18d@gmail.com>
2024-03-26 18:49:22 +05:30
marination
5dbcbbb915 fix: Use CssParser to correctly pass options to wkhtmltopdf
- Regex incorrectly fetches .print-format's child styles and also extracts the wrong attribute value
- A CssParser is more maintainable and more readable as well as less prone to errors while extracting values
- Method: We extract style tag contents out of the html and tokenize them. We then filter the styles for the right selector and extract the attributes we want from them.
- This way we make sure that the right value is extracted and only the ones applicable to .print-format directly
2024-03-26 10:33:35 +01:00
Ankush Menat
7f4bcf37ce
fix: check object instead of DB for amended_from field (#25645) 2024-03-26 13:11:17 +05:30
Ankush Menat
76096f5fb8
perf: use meta for virtual and single checks (#25620)
RQ workers spawn a new process for every job so site_cache does
nothing to prevent repeated queries.
2024-03-26 13:10:15 +05:30
Akhil Narang
8961461bcb
Merge pull request #25643 from frappe/mergify/bp/develop/pr-25640
fix: download_multi_pdf doesn't print letter head (backport #25640)
2024-03-26 11:20:53 +05:30
Akash
aba2b7808f fix: add missing arg while invoking _download_multi_pdf
(cherry picked from commit f82ed9fe11831d78e612ccd5db189f61439f1026)
2024-03-26 05:41:02 +00:00
Akhil Narang
7c126f0555
Merge pull request #25610 from akhilnarang/fix-sentry-background-job
feat: drop sentry's RQ integration
2024-03-26 11:08:36 +05:30
Akhil Narang
baa5b1cb5f
fix(test): update RQ serialization test
The job name will now be the module + qualname instead of just the method name

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-26 10:53:42 +05:30
Raffael Meyer
b27f7d2596
Merge pull request #25628 from frappe/pot_develop_2024-03-24 2024-03-25 21:36:52 +01:00
Raffael Meyer
58eafa2f17
Merge pull request #25550 from barredterra/refactor-like-unlike 2024-03-25 21:35:35 +01:00
barredterra
21780d2d2e Merge branch 'develop' into refactor-like-unlike 2024-03-25 21:31:39 +01:00
Ankush Menat
c75242cce4
Revert "fix: ensure that prepared report is set even on timeout (#25565)" (#25637)
This reverts commit 6613ed76fe.
2024-03-25 05:24:10 +00:00
Ankush Menat
4f205e2942
fix: only add title field in search if it exists (#25634) 2024-03-25 05:18:07 +00:00
Ankush Menat
bc47576faf
feat: after refresh event on query reports (#25632)
There's no way to run something after report has refreshed right now.
This hook simplifies that.
2024-03-24 13:20:38 +00:00
Ankush Menat
8ee28507f4
fix: Mark totals row correctly for print (#25629) 2024-03-24 11:10:11 +00:00
frappe-pr-bot
252bc97b9c chore: update POT file 2024-03-24 09:33:16 +00:00
Ankush Menat
54776f796b
perf: dont set defaults unless required (#25626)
On site with many signups this causes cache trashing because every
signup clears cache.
2024-03-23 14:35:56 +00:00
Faris Ansari
439e7c5b1a
fix: set list row height to 40px (#25619)
- make checkbox container area larger to avoid accidental click routing to form
2024-03-23 19:12:26 +05:30
Raffael Meyer
ffc45f287d
Merge pull request #25614 from barredterra/translate-contact-msg 2024-03-22 18:22:27 +01:00