1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:15:55 +00:00

replace old-style published feed with universal secretkey-based approach used for all feeds; do not allow user/pass handling in generated feed urls; bump schema

This commit is contained in:
Andrew Dolgov
2010-11-08 13:11:56 +03:00
parent 811bea0522
commit 8801fb017c
12 changed files with 226 additions and 137 deletions

View File

@@ -1569,43 +1569,6 @@ function feedlistToggleSLAT() {
updateFeedList()
}
function pubRegenKey() {
try {
var ok = confirm(__("Replace current publishing address with a new one?"));
if (ok) {
notify_progress("Trying to change address...", true);
var query = "?op=rpc&subop=regenPubKey";
new Ajax.Request("backend.php", {
parameters: query,
onComplete: function(transport) {
var new_link = transport.responseXML.getElementsByTagName("link")[0];
var e = $('pub_feed_url');
if (new_link) {
e.href = new_link.firstChild.nodeValue;
e.innerHTML = new_link.firstChild.nodeValue;
new Effect.Highlight(e);
notify('');
} else {
notify_error("Could not change feed URL.");
}
} });
}
} catch (e) {
exception_error("pubRegenKey", e);
}
return false;
}
function opmlRegenKey() {
try {