aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hagelberg <phil@hagelb.org>2019-11-09 09:50:45 -0800
committerPhil Hagelberg <phil@hagelb.org>2019-11-09 18:09:29 -0800
commit6ef804966461ff4351e6c8d3c867131c2af5d26a (patch)
treeec2c8bacd325b50cf30afc74bb92c1c25f73c6b9
parentef7c3bdc7a5d4047eca15b8469e1f7d7ab3bd39e (diff)
downloadpleroma-6ef804966461ff4351e6c8d3c867131c2af5d26a.tar.gz
Add changelog entry, cheatsheet docs, and alphabetize.
-rw-r--r--CHANGELOG.md1
-rw-r--r--docs/configuration/cheatsheet.md7
-rw-r--r--test/web/static_fe/static_fe_controller_test.exs2
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