* 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`
Link fields referring to non-existing doctypes are possible when
- Removing customizations.
- Removing app which added a custom field but didn't clean up after
itself.
[skip ci]
* Revert "fix: drop Meta cache during update (#18182)"
This reverts commit 656f6df257.
* fix: replace meta cache keys
Old keys stored different types of data `dict` changing key to indicate
change in type.
refactor: clean up code to py39+ supported syntax
- f-strings instead of format
- latest typing support instead of pre 3.9 TitleCase
- remove UTF-8 declarations.
- many more changes
Powered by https://github.com/asottile/pyupgrade/ + manual cleanups
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
* Remove six for PY2 compatability since our dependencies are not, PY2
is legacy.
* Removed usages of utils from future/past libraries since they are
deprecated. This includes 'from __future__ ...' and 'from past...'
statements.
* Removed compatibility imports for PY2, switched from six imports to
standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
* feat: allow overriding dasboards via hooks
* fix: allow extending dashboard data in hooks
* fix: move logic to generic function
* format: added description to hook
* optimize(meta): meta is now cached in redis
* fix(meta): test fixes
* fix(meta): codacy
* fix(meta): allow nulls to be serialized
* fix(form_meta): fix form meta caches
* fix(form_meta): fix form meta caches
* fix(form_meta): don't cache for developer_mode'
* class.extend -> es6 class
* fix(kanban): Fix kanban creation from sidebar
Creating custom fields from client side breaks in cases when DDL
queries and normal queries were run simultaneously.
Now, we do the heavy lifting on the server side
Also, moved kanban specific code from list_sidebar to kanban_view
* style: replace function with arrow functions
* style: semicolon
* issue where Apply User Permissions is being ignored for blank field values
* configurable settings and added test case
* Update system_settings.json
* save and use locally stored value for strict user permission