Page 1 of 1
Auto Detection
Posted: Sun May 20, 2007 9:44 pm
by deadpoeticstar
Is there not a way for serendipity to auto detect the difference between an old version and a new one when the new is available for download? and wouldnt it be easier to just let the users update the files through the administration interface?
Re: Auto Detection
Posted: Mon May 21, 2007 10:11 am
by garvinhicking
Hi!
Uh, if you use the Spartacus plugin you can see when there's a new plugin version available! The new version number is shown right beneath the plugin description.
Best regards,
Garvin
Posted: Mon May 21, 2007 10:52 am
by robi-bobi
maybe the core can be also added as plugin

(not sure about file sizes and similar possible limitations ...)
Posted: Mon May 21, 2007 11:33 am
by garvinhicking
Hi!
Exactly that's the problems. Adding the core would require write privileges for ALL files, thereby hugely decreasing the server security. When upgrading the core, also file checksums etc. need to be considered, the download size would be much higher because of the many files.
This has been requested and discussed several times, but I don'T really see a way to do it.
Regards,
Garvin
Posted: Tue May 22, 2007 5:12 pm
by deadpoeticstar
thats what i was referring to was the core system...not the plugin's themselves
Posted: Tue May 22, 2007 6:02 pm
by judebert
In that case, YES we can detect the version difference. But NO, we can't overwrite the Serendipity files, because the webserver is the user doing the writing. If the webserver was allowed to overwrite your files, any visitor to your site could do it, too. That's a huge security hole. Therefore Serendipity is allowed to write only in the plugin and template directories (and in some high-security servers, not even there!), as well as a few temporary locations. It can function even if it can only write its local configuration file.
Therefore, your account user is the only one allowed to write in the Serendipity directory.