* chore!: remove redundant translation
* refactor!: remove "get_translated_dict" hook
Instead, include the results from
`frappe.geo.country_info.get_translated_dict` in `get_all_translations`.
* test: money_in_words uses translated currency
... and now we have translations.
* Revert "test: money_in_words uses translated currency"
This reverts commit e07d594ac1ce4b120c0fceb5d23377cb981fe820.
* refactor!: stop translating timezone and currency
* refactor: rename `get_translated_dict`
... to `get_translated_countries`
`published` is a `Check` (int, non-nullable) field which has a default value in the database
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
[skip ci]
- added inter.scss as css import is failing in custom website theme
- changed css to inter.scss for website/index.scss
- inter.css is deprecated and should be removed in future
- update --font-stack if custom fonts are used in website theme.
- removed espresso variables from css_variables.scss
as they are already imported in variables.scss
- added Inter & Inter V on website and font-stack
- added flex to logged-in to center avatar
- decreased brand logo height to 22px
- added primary border-bottom to active navbar link
- added underline to links for blog content
and added to from-markdown for web pages
There are cases where certain social login keys
- Should not allow signups at all and only allow logins. E.g. social media login keys.
- Should allow signups even if global sign ups are disabled. e.g. internal SSO like setups.
| Metric | Before | After | Change |
| --- | --- | --- | --- |
| app.html first response size | 421kb | 106kb | -75% (!) |
| First response duration | 60ms | 40ms | -33% |
huge thanks to @cogk for doing most of the work for this PR on this issue: https://github.com/frappe/frappe/issues/17449#issuecomment-1728328726
Co-authored-by: Corentin Flr <10946971+cogk@users.noreply.github.com>
* perf: Enqueue "removing of index" on web page save
* fix: Enqueue after commit
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
* fix: enqueue after commit
---------
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
The parent folder of a python module (inside `./site-packages`) can be
`./lib`. Separate code paths that depend on the app source into its own
getter so that patching that function becomes easier in those cases
where the python module is not served from the source checkout.