60 Commits

Author SHA1 Message Date
Garvin Hicking
0b259ce52f [BUGFIX] Fixes broken installer due to missing serendipity_db_probe() call. 2018-10-31 09:39:31 +01:00
onli
835b076c99 php 7.2: Remove invalid constant check (#563) 2018-09-13 14:27:51 +02:00
Eike Rathke
be3df87b97 Add xml inc svg as 'text' file extensions
To prevent situations like in
https://board.s9y.org/viewtopic.php?f=10&t=21591
where the following files were modified by FTP text transfer type but
not handled as such in serendipity_FTPChecksum()

bundled-libs/katzgrau/klogger/phpunit.xml
bundled-libs/simplepie/simplepie.inc
templates/2k11/admin/font/fontello.svg
templates/next/font/fontello.svg

All these *are* text files.

Maybe simplepie.inc should rather be renamed to simplepie.inc.php as well.
2017-09-21 18:48:10 +02:00
Matthias Mees
565b8ef51d Fix PHP syntax errors
Introduced in 019dc37836bff66443c096f9c88f62670f3c2350
2017-04-13 20:25:22 +02:00
Thomas Hochstein
019dc37836 Add comment to serendipity_config_local.inc.php
Refer users to the code primer on docs.s9y.org
and serendipity_config.inc.php for a list of
special variables and their defaults.

Fixes #469.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-04-13 14:13:14 +02:00
Garvin Hicking
fd2f23f3e7 upport security bugfix to escape dbType parameter on first installation (issue #433) 2016-12-19 11:18:10 +01:00
onli
eedd984e0d improve cgi detection to use custom htaccess
See http://board.s9y.org/viewtopic.php?f=3&t=20788
2016-09-25 16:54:09 +02:00
onli
c98e858886 Prevent FF filling in wrong db password (#378) 2016-01-15 16:33:30 +01:00
Ian
67bfde277a do not add newline after php closing tag 2015-08-07 15:46:17 +02:00
Garvin Hicking
859e66d8af Instaler should verify password
References #257
2015-01-27 14:36:32 +01:00
Ian
c9ff0a414e /m uch easier - thanks! 2014-12-24 12:11:06 +01:00
Ian
aa0b68d8c5 read update version by line
see  5723673
2014-12-23 19:18:16 +01:00
Ian
aca77bd482 cleanup cosmetics 2014-12-10 14:34:54 +01:00
Ian
8da4c647a8 cleanup tabs and whites 2014-11-24 14:17:38 +01:00
Ian
6d7e2f44a3 better use stripos for system32 path excludes
References 325de34183499bac7517b7226c7f1996fdad18ae
2014-11-24 13:09:38 +01:00
Garvin Hicking
325de34183 Only remove "system32" and not paths like "imagemagicksystem32", we don't want to strip parts here that a user COULD possibly pick.
Also remove my check, because it's obsolete now.
2014-11-24 11:52:52 +01:00
Ian
9545fcbbc9 installer checks - remove unwanted empty or system32 path parts
and wrong system32/convert.exe path on WIN, which is not ImageMagick!
2014-11-24 11:43:27 +01:00
Garvin Hicking
2e1240ba22 1. Reject system32\convert.exe calls
2. Make mysqli be the selected default when installing (PHP at some point will deprected mysql, so better start now to advertise mysqli)
3. Prepare SQLite3 DB Layer
2014-11-24 11:26:44 +01:00
onli
92afc37753 Introduce serendipity_specialchars-wrapper for encoding bug (#236)
PHP 5.4 sets UTF-8 as the default for htmlspecialchars, htmlentities and html_entity_decode. The first two will echo an empty string when given a string with umlauts. This commits introduces serendipity_specialchar-wrapper that are meant to be a temporary solution for the s9y-core until PHP 5.6 fixed the bug, so the native charset option of s9y continues to work.
2014-11-23 23:41:08 +01:00
Garvin Hicking
9944cbb0a7 Make PAT_JS mod_rewrite pattern be recognized to .htaccess to prevent ErrorLog entries for looking up such URLs.
Bumps version to beta6 and will recreate .htaccess file
2014-11-02 15:20:21 +01:00
Matthias Mees
2c87f68022 Add a closing bracket which was accidentally removed.
Removed in 971b993a52a421c0aa0e572c89600cb9a65a08da.

References #216
2014-09-10 23:02:29 +02:00
Garvin Hicking
971b993a52 Re-add check if serendipityPath is writable in installer. Don't remember why we declared this as bogus. 2014-09-09 15:07:43 +02:00
Garvin Hicking
4471b1ac32 * Improved installer to forbid using database table prefixes with
special characters
2014-05-28 14:27:00 +02:00
Garvin Hicking
5e0c4c074e include upgrader timestamp
document recent changes
i18n for upgrader
2014-04-25 09:55:41 +02:00
onli
631bc150ac improve update notice: timeout, config
The updater in the dashboard needed a timeout to not kill the backend if github is not reachable
Also, this makes the check configurable
2014-04-24 18:25:56 +02:00
onli
d80a8334c8 Use return instead of echo in the remaining core
Debug-messages still may use echo, and some functions in functions_image and trackback still use it to generate progress messages, which should get cleaned up as well but is not that urgent
2013-07-05 19:16:11 +02:00
onli
8a188747ae Fix installer, smartification broke it
Sorry Falk
2013-06-27 21:01:16 +02:00
onli
80a34b036d Implement Dashboard into the core
Update-Notifier, future Entries, new comments so far
2013-06-23 19:47:14 +02:00
onli
a654b13a9a Complete include_once usage, romove constants 2013-06-22 12:32:54 +02:00
onli
357285a579 smartified serendipity_guessInput 2013-06-06 19:19:10 +02:00
onli
35625c3f81 smartify serendipity_printConfigTemplate 2013-06-06 18:26:49 +02:00
Matthias Mees
9348064432 Finalizing what @onli prepped for proper radio element markup. Hooray. 2013-02-06 15:51:19 +01:00
onli
7472400477 changed output of radio_bool in configuration-template according to https://gist.github.com/yellowled/4722166, wrapping them in a fieldset 2013-02-06 14:47:44 +01:00
Matthias Mees
18dcec7bdd Minor UI adaptation for printConfigTemplate. 2013-01-27 21:47:49 +01:00
Garvin Hicking
66e86ba1cf fix wrong parentheses 2012-04-12 13:40:17 +02:00
Garvin Hicking
04792e998a port 2012-04-11 21:03:55 +02:00
Ian
8eb13121a4 fixed defaultBaseURL in installer as follow-up commit c292bad 2012-04-07 11:03:04 +02:00
Ian
545b237894 hardcoded new markup serendipity_printConfigTemplate() & serendipity_printConfigJS() 2012-03-26 14:37:04 +02:00
Garvin Hicking
a0f2b0b1fd new mod rewrite option 2011-01-15 13:32:59 +00:00
Garvin Hicking
8420699997 template and plugin option groups, experimental 2011-01-03 09:11:17 +00:00
Garvin Hicking
aba04f43b4 * PDO-SQLite patches by nth 2010-10-12 12:38:13 +00:00
Grischa Brockhaus
a66fd21893 Better error message for having problems while including files. (using language entry for it now) 2009-06-02 12:49:26 +00:00
Grischa Brockhaus
31c42d9704 Better error message for having problems while including files. 2009-06-02 12:36:39 +00:00
Garvin Hicking
d9a5d6a8c8 Make checksum code skippable 2008-12-09 10:41:48 +00:00
Garvin Hicking
848433af37 added experimental serendipity importer 2008-11-12 13:32:24 +00:00
Garvin Hicking
2f11c3e694 Better fix to use false values 2008-10-18 17:59:06 +00:00
Garvin Hicking
6179858b17 Support Opt-In for comment subscription mails 2008-10-18 11:17:40 +00:00
Jude Anthony
1df78fd6ce Update checksum code, move check to front page of installation 2008-07-17 21:23:35 +00:00
Jude Anthony
0e67b071dd Included missed language constant in checksum verification 2008-04-29 19:42:57 +00:00
Garvin Hicking
6ea572211b Patch by hanno boeck 2008-03-25 12:39:55 +00:00