1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 07:05:56 +00:00

implement sharing articles by unique url

This commit is contained in:
Andrew Dolgov
2011-10-04 13:11:07 +04:00
parent 359fc686dd
commit 83cd33fcec
11 changed files with 136 additions and 8 deletions

View File

@@ -1590,6 +1590,24 @@ function clearFeedAccessKeys() {
return false;
}
function clearArticleAccessKeys() {
var ok = confirm(__("This will invalidate all previously shared article URLs. Continue?"));
if (ok) {
notify_progress("Clearing URLs...");
var query = "?op=rpc&subop=clearArticleKeys";
new Ajax.Request("backend.php", {
parameters: query,
onComplete: function(transport) {
notify_info("Shared URLs cleared.");
} });
}
return false;
}
function resetFeedOrder() {
try {
notify_progress("Loading, please wait...");