* fix: logout to site login page if the site is on Frappe Cloud
* fix: check if the site user is logged in before rendering trial banner
* fix: show dropdown even if the site is not on trial plan
* refactor: don't expose communication secret in boot
* feat: show install app button for fc sites
* fix: remove auth from desk
we can simplify it and let user do auth in fc
* fix: install app button condition
* refactor: use `is_fc_site` method
* fix: return boolean value for `is_fc_site` function
* fix: add install app button in /apps page
* fix: don't generate otp for login to fc
* fix: remove install app option from desk
* fix: design changes for trial banner
* fix: add more details to the `current_site_info` endpoint
also don't render trial banner if trial end date is passed
* fix: don't route user to welcome page
always put them on the site's dashboard
* fix: override base_url when needed
also remove misleading class
* fix: show banner to normal user to contact system admin for plan upgrade
* refactor: redirect from /login instead of every /logout code
* fix: rename login to fc to manage billing
also move it above the divider
* refactor: separate out site-login url from login.py
num2words - 260KB - Used frequently on ERPNext sites.
babel - 1.1MB Gets imported because of dates, localization
sentry - 2.8MB should be loaded only if envvar is set
gettext - required for reading translations
frappe.permission.has_permission won't accept raise_exception anymore,
it was extremely misleading argument and actual purpose of the argument
was to print perm check logs.
* chore: remove unused import
* feat: search frappecloud marketplace apps from awesomebar
* chore: cache results and add tracking url
* refactor: get_marketplace_apps
- use generator for setting cache
- drop expiry. No need to keep this updated as of now. Site updates and
ram usage anyways drops cache.
- Timeout if not able to respond
- Rank results lower than everything else
* chore: update request url
* fix: avoid excessive retries
---------
Co-authored-by: Ankush Menat <ankush@frappe.io>
* fix(UX): Resolve breadcrumb conflicts from history
Same report can be part of 2 workspace, in which case use breadcrumbs
from last workspace.
* fix: make sure last workspace belongs to same module at least