Ankush Menat
77c9c9ee93
perf: hard-code /app routing even more aggresively ( #29073 )
...
Dynamic route evaluation is insanely slow and done on each request. I'll
likely remove that over time but in meantime, this resolution should be
much higher.
2025-01-07 12:32:28 +00:00
Raffael Meyer
fe196062b5
fix(Web Form): add syntax highlighting for client script ( #28964 )
2024-12-30 22:16:37 +00:00
mahsem
e8698a98de
fix: add strings and fields to translation
2024-12-21 13:17:01 +01:00
Akhil Narang
4509e75179
fix: convert frappe.boot to JSON properly
...
We have `frappe.as_json` set as the jinja filter for json
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-13 11:45:57 +05:30
Corentin Forler
50020cffda
fix(web): Ensure that header values are strings ( #28760 )
2024-12-12 19:32:12 +05:30
Akhil Narang
a63cd10387
fix: set currency system setting in webform frappe.boot.sysdefaults
...
Otherwise this resulted in the fallback `USD` showing for some currency fields in webforms
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-11 17:59:13 +05:30
Ankush Menat
60bc472ab6
revert: restore JSON files ( #28717 )
...
* Revert: bring back JSON files
* chore: re-apply changes to new files
* chore: remove old TOML files
* chore: delete empty files
2024-12-09 08:41:56 +00:00
Akhil Narang
84ef6ec677
refactor: fixup with ruff 0.8.1
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-04 13:18:04 +05:30
Rushabh Mehta
cef8c12ee4
fix(style): fix oauth authorisation page and standardise error responses
2024-10-24 15:21:34 +05:30
David Arnold
91a737d8fe
chore(typing): fix some (exotic) type errors treewide ( #28210 )
2024-10-21 10:02:04 +00:00
Suraj Shetty
a63f902648
refactor: Use sentence case for fieldnames
...
ref: https://github.com/frappe/erpnext/wiki/Naming-Guidelines#field-naming
2024-10-21 12:07:22 +05:30
Suraj Shetty
84f4a76290
refactor: Re-organize fields
2024-10-21 11:51:08 +05:30
Suraj Shetty
d35518639b
feat: Add a field to accept allowed embedding domains
2024-10-18 11:30:11 +05:30
David Arnold
0204db6547
chore: move to use new test record api ( #28105 )
2024-10-12 23:13:41 +00:00
David Arnold
443c38daa9
refactor: toml test records for readability ( #28065 )
...
* refactor: toml test records for readability
* fix: maintain backwards compatibility
* refactor: transform in-tree records
* chore: don't use deprecated functions (treewide)
* chore: revert migration of tests which depend on old test records list
* feat: add cls.globalTestRecords on IntegrationTestCase
2024-10-10 13:24:02 +02:00
David Arnold
83bc1f09e9
refactor: clarify test record dep management in test modules ( #28060 )
2024-10-09 13:44:27 +00:00
David Arnold
c114e5fae8
refactor: unit vs integration treewide ( #27992 )
...
* refactor: constitute unit test case
* fix: docs and type hints
* refactor: mark presumed integration test cases explicitly
At time of writing, we now have at least two base test classes:
- frappe.tests.UnitTestCase
- frappe.tests.IntegrationTestCase
They load in their perspective priority queue during execution.
Probably more to come for more efficient queing and scheduling.
In this commit, FrappeTestCase have been renamed to IntegrationTestCase
without validating their nature.
* feat: Move test-related functions from test_runner.py to tests/utils.py
* refactor: add bare UnitTestCase to all doctype tests
This should teach LLMs in their next pass that the distinction matters
and that this is widely used framework practice
2024-10-06 09:43:36 +00:00
Corentin Forler
6a6ccc034c
fix(blog_post): Ensure images are public if shown on website
2024-09-30 14:45:58 +02:00
P-Godfroid
2349221255
fix(translation): search placeholders ( #27812 )
...
* Translatable placeholder
* Translatable Search word.html
* " instead of ' for commiter tool.js
* Cleaner way to translate.js
* So the issue was prettier.js
* Style : prettier.js
* style(translation): line break removed from string
2024-09-24 10:57:40 +05:30
Rushabh Mehta
72f236aa9f
Merge pull request #27819 from rmehta/fix-icons
...
fix(style): Update icons, new design for /me
2024-09-23 17:24:55 +05:30
Raffael Meyer
b91cacdd18
feat!: enhance Language to become more of a Locale ( #27178 )
2024-09-21 16:02:58 +02:00
Rushabh Mehta
f88c508c23
fix(style): Update icons, new design for /me
2024-09-18 14:27:37 +05:30
Akhil Narang
d42e5be4da
Merge pull request #27723 from s-aga-r/fix-system-manager-emails
...
fix: prevent sending emails to System Manager when email notifications are disabled
2024-09-13 18:27:53 +05:30
David
c29c23deec
feat(analytics): add to website workspace
2024-09-12 00:08:10 +02:00
David
43c5cbd8a6
feat(analytics): add basic utm nomenclature for analytics
2024-09-12 00:08:05 +02:00
David Arnold
1214763b25
Merge pull request #26737 from blaggacao/feat/cache-control
...
feat: add cache control
2024-09-11 23:32:57 +02:00
s-aga-r
d09ee52d13
fix: prevent sending emails to System Manager when email notifications are disabled
2024-09-10 22:05:41 +05:30
Akhil Narang
fe192025a5
Merge pull request #27570 from rohitwaghchaure/fixed-label-button
...
fix: label for web form
2024-09-02 13:44:10 +05:30
Rohit Waghchaure
0560ff84f9
fix: label for web form
2024-09-02 13:00:56 +05:30
Shariq Ansari
2973739f2e
fix: show Apps if multiple app or show CRM if only CRM is installed in dropdown
2024-08-30 15:42:58 +05:30
Shariq Ansari
9133f2a9c5
fix: added apps data in boot
2024-08-30 15:42:58 +05:30
David
1619cc0e58
feat: add cache control
2024-08-30 09:08:42 +02:00
Rushabh Mehta
37b7fa59b1
fix(styles): various styles and updates to workspaces
2024-08-19 12:06:55 +05:30
Rushabh Mehta
8eddf4a972
fix(style): fixing desk style
2024-08-15 20:57:30 +05:30
Rushabh Mehta
be2bef24de
fix(style): workspace widget borders makes it looks more structured
2024-08-15 12:26:12 +05:30
Shariq Ansari
5a668acb03
fix: do not show Apps option for website user in /me page
2024-08-08 18:29:16 +05:30
Rucha Mahabal
f9bfafc134
fix(Web Form): enable no copy for 'Is Standard' flag ( #27222 )
2024-07-28 13:35:17 +05:30
Akhil Narang
1d46f03dae
fix: check that query_string isn't null before trying to use it
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-07-24 12:46:25 +05:30
Rushabh Mehta
f179a1286f
Merge pull request #26748 from blaggacao/perf/smaller-website-body
...
perf: significantly smaller website body
2024-07-18 07:33:56 +05:30
David
3fddb392eb
test: fix meta tag test
2024-06-17 10:01:22 +02:00
David
bcc2e79c20
fix: meta tag in web form
2024-06-13 16:36:01 +02:00
David
e2517d11e8
chore: add include_icons jinja global
2024-06-11 20:03:15 +02:00
David
37d8e2bb36
perf: lazy load svg sprictes on websites
2024-06-11 20:01:55 +02:00
Ankush Menat
b0cc93e9d7
fix: web form filtering ( #26122 )
2024-04-23 12:27:51 +00:00
Ankush Menat
d75b41793d
chore: drop flaky not so important UI tests ( #26092 )
2024-04-22 11:50:02 +00:00
Akhil Narang
e34ae53c37
Merge pull request #26089 from akhilnarang/fix-redirect-routing
...
fix(resolver): handle werkzeug redirect exception
2024-04-22 17:07:22 +05:30
Markus Lobedann
0a4ee1d829
fix: 🐛 don't create __init__.py files when gathering pages ( #26045 )
...
* fix: 🐛 don't create __init__.py files when gathering pages
These files are only necessary if any other *.py files exists in a pages folder. Apart from that, this functions purpose (by name) is to get pages, and not create any source code files.
closes #25167
* refactor: ⚰️ remove commented out code
2024-04-22 16:53:18 +05:30
Akhil Narang
40346305a7
fix(resolver): handle werkzeug redirect exception
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-04-22 16:44:28 +05:30
Ankush Menat
bb68908fe9
refactor: web form link logic ( #25951 )
2024-04-15 10:53:38 +00:00
Ankush Menat
535bc10340
fix: make letterhead attachments public by default ( #25925 )
...
Also does it for web page.
Note: This is just default config, users can change while uploading.
2024-04-12 05:14:18 +00:00