infra for rss feed

This commit is contained in:
Sarah Jamie Lewis 2022-04-05 12:54:25 -07:00
parent a6e3347926
commit c39afe4872
7 changed files with 98 additions and 41 deletions

View File

@ -6,49 +6,11 @@ draft: false
<br/>
## Cwtch Beta 1.6 - February 11th 2022
For a more detailed overview of changes present in the 1.6 release see issues tagged [cwtch-beta-1.6](https://git.openprivacy.ca/cwtch.im/cwtch-ui/issues?q=&type=all&sort=&state=closed&labels=158&milestone=0&assignee=0) in our
issue tracker.
A special thanks to the amazing volunteer translators and testers who made this release possible.
* **New Features:**
- **Custom Profile Images**
- This requires enabling the Filesharing and Image Preview experiments
- **Advanced Tor Configuration**
- Cwtch can now be configured to cache Tor consensus information, use predefined ports, and connect to an external, system Tor
- Tor Circuit information is now available for P2P Conversations
- **Notification Policies**
- You can now mute specific conversations, turn off notifications entirely,
or switch all notifications to opt-in
* **Bug Fixes / Improvements:**
- Images are now displayed for the sender as well as the recipients
- Deleting P2P contacts is now supported again
- *Clickable Links* will no longer prepend `https` to the text of the
displayed URL
- Closing via the windows exit button on Linux now triggers Cwtch to
shut down cleanly
- Packaged Tor has been upgraded
- New [integration testing infrastructure](https://openprivacy.ca/discreet-log/23-cucumber-testing/)
- Fixes to prevent extensive word wrapping on Android Devices (1.6.1)
- Num-pad Enter now triggers sending a message, instead of inserting a new line (1.6.1)
- Sending a message via a keyboard or via the send button now invokes identical logic (1.6.1)
- Android Notification Image Fetching fixes (1.6.2)
- Android Group Sync Status fixes (1.6.2)
- Message View Rendering Issues fixes (1.6.2)
- Improved Android Worker Robustness on Restart/Shutdown (1.6.2)
* **Accessibility / UX:**
- Notifications are now translatable
- Translations: French, Italian, German, Spanish, Romanian, Norwegian, Danish, Welsh, Russian, Polish, Luxembourgish and Greek (1.6.2)
- Settings Pane is now broken down by subheadings
- Message view now displays an estimated character count/limit for new messages
- Fix bug that allows multiple file dialog windows to be opened when sharing
a file
- Number of unread messages from other loaded profiles are now summarized on the active profile
<hr/>
{{% release file="/static/releases/cwtch-v1.6.2/changelog.md" %}}
# Cwtch Beta 1.5 - December 21st 2021

10
content/changelog/1.6.md Normal file
View File

@ -0,0 +1,10 @@
---
title: "Cwtch 1.6.2 Changelog"
date: 2022-02-11T00:00:00
draft: false
altlink: "https://cwtch.im/download"
---
## Cwtch 1.6.2 is now available for [download](/download/)
{{% release file="/static/releases/cwtch-v1.6.2/changelog.md" %}}

1
content/releases.md Normal file
View File

@ -0,0 +1 @@
# Cwtch Releases

View File

@ -0,0 +1,41 @@
For a more detailed overview of changes present in the 1.6 release see issues tagged [cwtch-beta-1.6](https://git.openprivacy.ca/cwtch.im/cwtch-ui/issues?q=&type=all&sort=&state=closed&labels=158&milestone=0&assignee=0) in our
issue tracker.
A special thanks to the amazing volunteer translators and testers who made this release possible.
* **New Features:**
- **Custom Profile Images**
- This requires enabling the Filesharing and Image Preview experiments
- **Advanced Tor Configuration**
- Cwtch can now be configured to cache Tor consensus information, use predefined ports, and connect to an external, system Tor
- Tor Circuit information is now available for P2P Conversations
- **Notification Policies**
- You can now mute specific conversations, turn off notifications entirely,
or switch all notifications to opt-in
* **Bug Fixes / Improvements:**
- Images are now displayed for the sender as well as the recipients
- Deleting P2P contacts is now supported again
- *Clickable Links* will no longer prepend `https` to the text of the
displayed URL
- Closing via the windows exit button on Linux now triggers Cwtch to
shut down cleanly
- Packaged Tor has been upgraded
- New [integration testing infrastructure](https://openprivacy.ca/discreet-log/23-cucumber-testing/)
- Fixes to prevent extensive word wrapping on Android Devices (1.6.1)
- Num-pad Enter now triggers sending a message, instead of inserting a new line (1.6.1)
- Sending a message via a keyboard or via the send button now invokes identical logic (1.6.1)
- Android Notification Image Fetching fixes (1.6.2)
- Android Group Sync Status fixes (1.6.2)
- Message View Rendering Issues fixes (1.6.2)
- Improved Android Worker Robustness on Restart/Shutdown (1.6.2)
* **Accessibility / UX:**
- Notifications are now translatable
- Translations: French, Italian, German, Spanish, Romanian, Norwegian, Danish, Welsh, Russian, Polish, Luxembourgish and Greek (1.6.2)
- Settings Pane is now broken down by subheadings
- Message view now displays an estimated character count/limit for new messages
- Fix bug that allows multiple file dialog windows to be opened when sharing
a file
- Number of unread messages from other loaded profiles are now summarized on the active profile
<hr/>
<br/>

View File

@ -16,6 +16,7 @@
<meta name="twitter:site" content="@openpriv" />
<meta name="twitter:creator" content="@openpriv" />
<link rel="alternate" type="application/rss+xml" href="https://cwtch.im/releases/index.xml" title="Cwtch Releases">
<meta property="og:image" content="https://cwtch.im/images/CWTCH_WEB/card_header.png" />

View File

@ -0,0 +1,40 @@
{{- $pctx := . -}}
{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
{{- $pages := slice -}}
{{- if or $.IsHome $.IsSection -}}
{{- $pages = $pctx.RegularPages -}}
{{- else -}}
{{- $pages = $pctx.Pages -}}
{{- end -}}
{{- $limit := .Site.Config.Services.RSS.Limit -}}
{{- if ge $limit 1 -}}
{{- $pages = $pages | first $limit -}}
{{- end -}}
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</description>
{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}
{{ with .Site.Author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{- with .OutputFormats.Get "RSS" -}}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{- end -}}
{{ range $pages }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Params.altlink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Summary | html }}</description>
</item>
{{ end }}
</channel>
</rss>

View File

@ -0,0 +1,2 @@
{{ $file := .Get "file" | readFile }}
{{ (print $file) | markdownify }}