-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include the reset and purge functionalities and french translations.
- Loading branch information
Showing
22 changed files
with
623 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
- Gilles Lenfant: Main developer | ||
* `Gilles Lenfant <gilles.lenfant_AT_alterway.fr>`_: Main developer and french | ||
translation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#aws-authrss-token-reset:click { | ||
evt-click-preventdefault: true; | ||
action-server: reset_rss_auth_token; | ||
} | ||
|
||
#aws-authrss-totens-purge:click { | ||
evt-click-preventdefault: true; | ||
action-server: purge_rss_auth_tokens; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<html xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal" | ||
xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
metal:use-macro="context/prefs_main_template/macros/master" | ||
i18n:domain="aws.authrss"> | ||
|
||
<metal:main fill-slot="prefs_configlet_main"> | ||
<a href="" | ||
i18n:domain="plone" | ||
id="setup-link" | ||
tal:attributes="href string:$portal_url/plone_control_panel" | ||
i18n:translate=""> | ||
Site Setup | ||
</a> › | ||
|
||
<h1 class="documentFirstHeading" i18n:translate="">Authenticated RSS tokens</h1> | ||
|
||
<div class="documentDescription" i18n:translate=""> | ||
Authenticated users RSS tokens maintenance | ||
</div> | ||
<fieldset> | ||
<legend i18n:translate="">Remove tokens of removed users</legend> | ||
<p i18n:translate="purge_explain"> | ||
You may remove the tokens of gone user clicking the button below. This | ||
will reduce a little the size of the database and speed up token <-> | ||
user lookup. | ||
</p> | ||
<button class="context" | ||
id="aws-authrss-totens-purge" | ||
name="aws-authrss-totens-purge" | ||
i18n:translate="" | ||
> | ||
Cleanup | ||
</button> | ||
</fieldset> | ||
</metal:main> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<html xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal" | ||
xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
metal:use-macro="context/main_template/macros/master" | ||
i18n:domain="aws.authrss"> | ||
|
||
<div metal:fill-slot="body" id="content"> | ||
<h1 class="documentFirstHeading" i18n:translate="">My RSS token</h1> | ||
|
||
<p i18n:translate="explain_rss_token_1"> | ||
Your private RSS token grants your privileges to your favorite RSS reader | ||
that may show up summary and links to contents you are allowed to view | ||
when authenticated on this site. | ||
</p> | ||
<p i18n:translate="explain_rss_token_2"> | ||
This RSS token does <strong>not</strong> reveal your login or password for | ||
this site, nor grant another user who knows your token to anything else | ||
than reading a private RSS feed. | ||
</p> | ||
<p i18n:translate="explain_rss_token_3"> | ||
You may reset here this token at any time. If you reset this token, your | ||
next visit to your favorite RSS reader will show only summary and links to | ||
contents available to anonymous users. In order to have your private | ||
contents available in your RSS reader, you will need to edit its RSS feeds | ||
settings to this site and replace the previous token value by the one | ||
displayed below. | ||
</p> | ||
<fieldset> | ||
<legend i18n:translate="">Your token</legend> | ||
<input type="text" | ||
id="aws-authrss-token-value" | ||
name="aws-authrss-token-value" | ||
value="#" | ||
style="width: 30em" | ||
readonly="readonly" | ||
tal:attributes="value view/tokenValue" | ||
/> | ||
<button class="context" | ||
id="aws-authrss-token-reset" | ||
name="aws-authrss-token-reset" | ||
i18n:translate="" | ||
> | ||
Reset | ||
</button> | ||
</fieldset> | ||
</div> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.