Am Dienstag, 12. Februar 2013, 17:08:58 schrieb Marguerite Su:
Hi, All & KDE maintainers,
In Pastebin plasmoid, we have two unique service providers for paste.opensuse.org
http://opendesktop.org/content/show.php?content=141038
and paste.opensuse.org (I failed to find its source)
But we have a bug that pastes sending from those two service proviers are set to `never expires`. Because if you use the web GUI, it is set to "1 week".
After some digging, I find it's even not what the author intended to do.
Because in imgsusepasteorg/contents/code/main.js, he set the `expiry` to `1440` which means `1 Day`.
Then I downloaded the stikked-0.5.4.zip (https://stikked.googlecode.com/files/stikked-0.5.4.zip), in system/application/views/defaults/paste_from.php, the id is actually `expire` instead of `expiry`. He failed to transfer the value for expiry, so pastes sent from there were set to `never expires`.
So we need to change those two files in kdebase4-workspace package:
/usr/share/kde4/apps/plasma/shareprovider/pasteopensuseorg/contents/code/mai n.js
/usr/share/kde4/apps/plasma/shareprovider/imgsusepasteorg/contents/code/main .js
and set `expiry` to `expire`.
I didn't see our "suse tweak" for those two files in spec file, it seems to be from upstream, so we need a developer who has commit permission to fix it upstream.
PS: We also have this problem for 12.2/12.1, so if we want to save our server, we have to make an update for them.
PS1: I left a message for that uploader on opendesktop.org, if he's among us, please re-upload the fixed tar ball.
Thanks for the report. I've created a bug report for this https://bugzilla.novell.com/show_bug.cgi?id=803384 and submitted a fix for 12.3. Next time it would be probably better if you directly create a bug report as posts on a mailing list can easily get lost. Christian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org