listmonk/internal
Kailash Nadh fabe06e339 Add support for custom CSS/JS in settings for admin and public pages.
This feature was originally authored by @sweetppro in PR #438.
However, since the PR ended up in an unclean state with
multiple master merges (instead of rebase) from the upstream, there are
several commits that are out of order and can can no longer be be
squashed for a clean feature merge.

This commit aggregates the changes from the original PR and applies the
following fixes on top of it.

- Add custom admin JS box to appearance UI.
- Refactor i18n language strings.
- Add handlers and migrations for the new `appearance.admin.custom_js`
  field.
- Fix migration version to `v2.1.0`
- Load custom appearance CSS/JS bytes into global constants during boot
  instead of making a DB call on every request.
- Fix and canonicalize URIs from `/api/custom*` to `/public/*.css`
  and `/admin/*.css`. Add proxy paths to yarn proxy config.
- Remove redundant HTTP handlers for different custom appearance files
  and refactor into a single handler `serveCustomApperance()`
- Fix content-type and UTF8 encoding headers for different file types.
- Fix incorrect registration of public facing custom CSS/JS handlers
  in the authenticated admin URI group.
- Fix merge conflicts in `Settings.vue`.
- Minor HTML and style fixes.
- Remove the `AppearanceEditor` component and use the existing
  `HTMLEditor` component instead.
- Add `language` prop to the `HTMLEditor` component.

Co-authored-by: SweetPPro <sweetppro@users.noreply.github.com>
2021-12-18 15:38:42 +05:30
..
bounce Add scanning of full bounce email body for bounce headers. Closes #492. 2021-11-10 20:47:55 +05:30
buflog Add new 'Logs' page to the UI to view stdout logs 2020-10-10 23:55:54 +05:30
i18n Load a default (en) language underneath the selected language. 2021-01-26 21:59:27 +05:30
manager Add "passive" mode with --passive flag. 2021-10-29 14:40:22 +05:30
media Fix settings form input validation. 2021-12-09 19:30:15 +05:30
messenger Add support for alternate plaintext body for e-mails. 2021-01-30 18:49:47 +05:30
migrations Add support for custom CSS/JS in settings for admin and public pages. 2021-12-18 15:38:42 +05:30
subimporter Add support for blocklisting e-mail domains. 2021-09-25 15:39:09 +05:30