1
0
Commit Graph

50 Commits

Author SHA1 Message Date
5a95db314a spelling fixes 2017-04-06 22:26:07 +02:00
a48708021c * [Security] Reject %0D/%0A in exit tracking and other places
(Issue #434)
2017-01-03 09:21:25 +01:00
06e33c5421 Merge branch 'master' of github.com:s9y/Serendipity 2016-09-25 15:30:10 +02:00
4aaa9845eb Add header API 2016-09-22 15:38:12 +02:00
d60a7da9c3 support http auth 2016-09-22 15:34:27 +02:00
20ade83792 allow arrays 2016-09-22 14:33:52 +02:00
80f3b39502 forward compatibility to serendipity_request_url 2016-09-22 14:26:59 +02:00
cfd75ec877 Security patch, see docs/NEWS 2016-09-22 12:51:00 +02:00
c1e4f4c533 Add serendipity_request_url() 2016-09-22 12:35:48 +02:00
Ian
69f8eae646 some cleanups found on the way 2016-02-04 15:26:38 +01:00
6aae658e7f additional space in TopExits/Referrers for better word-wrap
There was no space between total value and next host, so display,
depending on available width, was

www.example1.com (12)www.example2.com
(23)www.example3.com (34)

With an additional trailing space after total it is

www.example1.com (12)
www.example2.com (23)
www.example3.com (34)
2015-11-01 22:56:01 +01:00
Ian
80716280a8 minors 2015-09-05 12:40:44 +02:00
a99156a21d * Issue #248: Add $serendipity['forceBase64']=true option (can be set
in serendipity_config_local.inc.php) to make Serendipity *not*
      use 8bit Imap functions for sending mail, for MTAs that behave
      erradically otherwise.

References #248
2015-01-27 14:45:06 +01:00
c3d060c973 Move logger init to seperate funtion so that its PHP 5.3+ syntax does
not fatally break the serendipity_config.inc.php parsing on PHP5 5.3-.
Also create a reasonable error message when running on an old version.
2014-12-15 10:13:10 +01:00
Ian
8da4c647a8 cleanup tabs and whites 2014-11-24 14:17:38 +01:00
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
becf99ad1f Fixes bug in serendipity_serverOffsetHour (cp. http://board.s9y.org/viewtopic.php?f=3&t=19963) and adds test case 2014-06-05 16:41:56 +02:00
1b37e41e00 Issue #165 - allow to set configuration of children to their parents config, but on their own names.
Global options (navigation) are even carried through so that they use the central part.
This falls back in place rather nicely, I hope it REALLY works. My first tests showed no issues.
2014-05-28 11:48:56 +02:00
Ian
b4f015e4c0 add custom config to info array - fixes #165 3a and half of 3b 2014-05-20 20:13:22 +02:00
dd83225447 This is my proposal on implementing the ability to switch frontend and backend templates independently.
- This introduces a new option "template_backend" that will be set to indicate the backend template, defaults to 2k11.
- The "Engine: xxx" line in info.txt still works, but only for the frontend
- The frontend fallback chain defaults to the old "default" template to ensure that themes will work that have "old-style" HTML output
- The backend fallback chain only falls back to 2k11 and then "default"
- In the future, we will remove templates/default/admin once the mechanism is proven stable

To test this in all cases you can:

- Copy 2k11/ to 2k11-custom, edit info.txt, give it a distinct name. Edit the admin/index.tpl file to add some code to ensure that you will see that template in the backend if you pick it, or adjust the style.css or whatever.
- Copy idea/ to idea-custom, edit info.txt, add a "Engine: 2k11" line. Now you can test how a template would look like that fallsback on 2k11 instead of "default"

Those permutations can be checked and come to my mind:

- Backend: 2k11, Frontend: 2k11
- Backend: 2k11-custom, Frontend: 2k11
- Backend: 2k11, Frontend: 2k11-custom

- Backend: 2k11, Frontend: idea
- Backend: 2k11, Frontend: idea-custom

- Backend: 2k11-custom, Frontend: idea
- Backend: 2k11-custom, Frontend: idea-custom

They seem to work.

Currently the display of backend and frontend theme in templates.inc.tpl takes up some larger space. Maybe it could be prettified somehow, maybe put frontend and backend template next to each other, not beneath each other? Maybe @yellowled has some suggestions.

@onli and @ophian - please have a look at this, since you both also worked on the fallback chains. Please tell me if you have issues with this. We can easily revert, if you see this approach as not workable. This is more a "proof of concept" draft.
2014-05-14 12:58:06 +02:00
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
cbe07715fd use include_once 2013-06-21 18:11:03 +02:00
5ec7481030 Port of patch #16 to 2.0 2013-05-06 09:47:19 +02:00
7288ffdef8 Fixed most of the redundant br elements in the core. 2012-12-03 13:35:59 +01:00
ee580791bf proper IS NULL 2010-08-24 09:45:46 +00:00
ed9bc8d88c apply also to trackurl 2010-03-30 11:24:12 +00:00
9aff2df847 truncate to 255 2010-03-30 10:47:15 +00:00
958c4c87ea * Experimental: When sending quoted-printable notification mails,
auto-split after 75 characters.
      (Ref: http://board.s9y.org/viewtopic.php?f=3&t=16314)
2010-01-27 15:04:17 +00:00
7d097ab317 Add RFC auto-submitted header
(http://www.iana.org/assignments/auto-submitted-keywords/auto-submitted-keywords.xhtml)
(http://board.s9y.org/posting.php?mode=quote&f=3&p=93402)
2010-01-27 13:33:34 +00:00
316e86f3dc * Added ability to mark authorgroups as "hidden", so that members of such groups are excluded from common author listings. (Ref http://board.s9y.org/viewtopic.php?f=11&t=16237) (garvinhicking) 2010-01-13 12:28:55 +00:00
5630afb7c1 * Do not send mails, if the "To:" address is empty, might happen
if authors do not have a mail account entered in their profile.
      (nealk)
2009-09-21 08:11:35 +00:00
47aa8c2f72 ereg() replacement 2009-09-04 08:51:16 +00:00
f541e5874d New experimental login hashing 2009-02-16 11:29:49 +00:00
58117f3b77 Allow to override internal mail routine 2008-10-28 12:32:30 +00:00
6179858b17 Support Opt-In for comment subscription mails 2008-10-18 11:17:40 +00:00
e2f25e9bad Fix returning unset but existent array key in pickKey 2008-04-10 03:41:17 +00:00
9586d5e2bb Suppress version in email 2008-03-28 11:20:39 +00:00
652ac0bb80 2008-03-20 09:15:07 +00:00
22af86222d fix author counting without drafted articles 2008-02-24 11:06:32 +00:00
056402151e Modify pickKey to examine parent array before nested arrays. 2008-02-19 19:48:53 +00:00
398287ea06 serendipity_parseFileName didn't evaluate the correct name/ext structure for files without extension 2007-07-17 03:46:04 +00:00
22c02491e6 Fix bugs in the new backend templates 2007-06-11 14:32:32 +00:00
3317e6ef49 Add new category property to hide blog postings made into sub-categories from the frontend view, per category. Thanks to netmorix from the forums! 2007-03-22 11:43:59 +00:00
8c68e837e4 Added PDO::Postgres DB-layer support by Theo Schlossnagle 2007-02-06 08:27:29 +00:00
f03841587a Ensure to not be able to call s9y files under circumstances where .htaccess does not deny request AND register_globals is turned on 2006-11-30 21:34:29 +00:00
3e708320bb Awesome MySQL tuning for our central query by Matthew Groeninger 2006-11-15 10:18:43 +00:00
d7f12ea274 fix bug #1586289, strict array check 2006-10-30 14:21:36 +00:00
0fa785d1a6 Fix orphaned categories, textile plugin, smarty commentform function 2006-08-27 11:29:00 +00:00
717022a81d Fix iconv bug, thanks to Matthias Leise 2006-08-05 20:59:00 +00:00
80e14346a5 Also support "last X" REST interface 2006-08-02 10:07:34 +00:00