discourse/app
Jarek Radosz 2a4df93b8e
FEATURE: Allow to modify topic-backed static pages (#15324)
A plugin API that allows customizing existing topic-backed static pages, like:
faq, tos, privacy (see: StaticController) The block passed to this
method has to return a SiteSetting name that contains a topic id.

```
add_topic_static_page("faq") do |controller|
  current_user&.locale == "pl" ? "polish_faq_topic_id" : "faq_topic_id"
end
```

You can also add new pages in a plugin, but remember to add a route,
for example:

```
get "contact" => "static#show", id: "contact"
```
2021-12-16 04:24:11 +01:00
..
assets UX: Always show avatar on mobile topic lists (#15323) 2021-12-15 20:31:03 -05:00
controllers FEATURE: Allow to modify topic-backed static pages (#15324) 2021-12-16 04:24:11 +01:00
helpers SECURITY: Remove ember-cli specific response from application routes (#15155) 2021-12-01 16:10:40 +00:00
jobs FEATURE: Delete previous reviewable reminders. (#15250) 2021-12-10 10:17:39 -03:00
mailers DEV: Hash tokens stored from email_tokens (#14493) 2021-11-25 09:34:39 +02:00
models FIX: Add more actions to the uploads API key scope (#15306) 2021-12-15 14:08:11 +10:00
serializers FEATURE: Experimental support for group membership via google auth (#14835) 2021-12-09 12:30:27 +00:00
services FIX: Notify group members when someone quotes or replies to their post. (#15295) 2021-12-15 09:07:39 -03:00
views FEATURE: Allow to modify topic-backed static pages (#15324) 2021-12-16 04:24:11 +01:00