diff options
author | Phil Hagelberg <phil@hagelb.org> | 2019-11-09 09:50:45 -0800 |
---|---|---|
committer | Phil Hagelberg <phil@hagelb.org> | 2019-11-09 18:09:29 -0800 |
commit | 6ef804966461ff4351e6c8d3c867131c2af5d26a (patch) | |
tree | ec2c8bacd325b50cf30afc74bb92c1c25f73c6b9 | |
parent | ef7c3bdc7a5d4047eca15b8469e1f7d7ab3bd39e (diff) | |
download | pleroma-6ef804966461ff4351e6c8d3c867131c2af5d26a.tar.gz |
Add changelog entry, cheatsheet docs, and alphabetize.
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | docs/configuration/cheatsheet.md | 7 | ||||
-rw-r--r-- | test/web/static_fe/static_fe_controller_test.exs | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b33d61819..7ae52a28b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Added - Refreshing poll results for remote polls - Authentication: Added rate limit for password-authorized actions / login existence checks +- Static Frontend: Add the ability to render user profiles and notices server-side without requiring JS app. - Mix task to re-count statuses for all users (`mix pleroma.count_statuses`) - Support for `X-Forwarded-For` and similar HTTP headers which used by reverse proxies to pass a real user IP address to the backend. Must not be enabled unless your instance is behind at least one reverse proxy (such as Nginx, Apache HTTPD or Varnish Cache). <details> diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md index 8f609fcfd..dddd379d3 100644 --- a/docs/configuration/cheatsheet.md +++ b/docs/configuration/cheatsheet.md @@ -794,3 +794,10 @@ config :auto_linker, ] ``` +## :static_fe + +Render profiles and posts using server-generated HTML that is viewable without using JavaScript. + +Available options: + +* `enabled` - Enables the rendering of static HTML. Defaults to `false`. diff --git a/test/web/static_fe/static_fe_controller_test.exs b/test/web/static_fe/static_fe_controller_test.exs index e4bb78b01..effdfbeb3 100644 --- a/test/web/static_fe/static_fe_controller_test.exs +++ b/test/web/static_fe/static_fe_controller_test.exs @@ -1,7 +1,7 @@ defmodule Pleroma.Web.StaticFE.StaticFEControllerTest do use Pleroma.Web.ConnCase - alias Pleroma.Web.CommonAPI alias Pleroma.Web.ActivityPub.Transmogrifier + alias Pleroma.Web.CommonAPI import Pleroma.Factory |