Auto Detection

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
deadpoeticstar
Regular
Posts: 56
Joined: Tue Apr 18, 2006 3:10 pm

Auto Detection

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Auto Detection

Post 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
# 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/
robi-bobi
Regular
Posts: 40
Joined: Mon Nov 21, 2005 12:40 pm
Location: Bulgaria
Contact:

Post by robi-bobi »

maybe the core can be also added as plugin :D
(not sure about file sizes and similar possible limitations ...)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
deadpoeticstar
Regular
Posts: 56
Joined: Tue Apr 18, 2006 3:10 pm

Post by deadpoeticstar »

thats what i was referring to was the core system...not the plugin's themselves
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Judebert
---
Website | Wishlist | PayPal
Post Reply