Auto Detection
-
- Regular
- Posts: 56
- Joined: Tue Apr 18, 2006 3:10 pm
Auto Detection
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?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Auto Detection
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 56
- Joined: Tue Apr 18, 2006 3:10 pm
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.
Therefore, your account user is the only one allowed to write in the Serendipity directory.