66 Commits

Author SHA1 Message Date
4785f07f12
Always assume UTF-8. 2022-02-20 17:14:54 +01:00
2d127e81e1
Cleanup and rename project to 幸運な偶然 - Lucky Coinkydink. 2022-02-19 22:19:07 +01:00
7e8dcb0cb6
Added ConfigContainer. Routing.php is not yet fully converted. 2022-02-14 02:49:49 +01:00
2470c65175
Moved functions_routing.inc.php into a class. 2022-02-12 04:41:33 +01:00
4bee231cc6
Added bootstrap.php for Autoloader and Debugger. 2022-02-12 04:41:04 +01:00
onli
5e78cba223 php8 compat: assign smarty variable via index.php 2021-04-19 17:19:44 +02:00
onli
84709381af Fix: Category feed showed all entries 2016-07-03 23:01:17 +02:00
onli
4d7b90af99 Merge branch 'master' into feature_indexCleanup
Conflicts:
	index.php
2015-10-28 12:29:44 +01:00
Ian
b0e4a4e6f5 remove deprecated $HTTP_SERVER_VARS vars 2015-10-20 18:04:02 +02:00
onli
4f2ea4de8a Revert "Remove calendar based entry overview"
This reverts commit 405847cac666247a34fb3f6df8d82c3ee8d690f4.
2015-09-23 00:34:07 +02:00
onli
507dc05998 Revert "remove comments by author overview page"
This reverts commit c8b4faf93a9c90a20d3f6615813fe55024b2ace2.
2015-09-23 00:33:33 +02:00
onli
55ae435c89 remove multi-author option, broken
Probably broken since many many s9y versions, but certainly not working in 2.0
2015-07-26 22:57:29 +02:00
onli
c8b4faf93a remove comments by author overview page
Not used by known themes, not properly documented
2015-07-26 20:10:40 +02:00
onli
405847cac6 Remove calendar based entry overview
Should be moved to a plugin
2015-07-26 19:48:16 +02:00
onli
180e110f50 remove autosave url param 2015-07-26 19:23:41 +02:00
onli
4bb10f5b70 Remove NO_EXIT constant
Only used in the freetag-plugin, which could just omit it and rely on the core to call smarty
2015-07-26 18:21:54 +02:00
onli
6c561a6875 fix multi_cat, remove track_referrer 2015-07-26 18:15:22 +02:00
onli
3f645612e0 remove time_used function
Let us use a proper profiler or #187 instead
2015-07-26 18:03:19 +02:00
onli
6fd7dcc3b5 Remove unused X-Blog header 2015-07-26 18:01:50 +02:00
onli
3e7f521936 remove raw_data 2015-07-26 17:55:48 +02:00
onli
9173e046e5 start indexCleanup: move code to functions_routing 2015-07-26 17:53:49 +02:00
Ian
aca77bd482 cleanup cosmetics 2014-12-10 14:34:54 +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
Matthias Gutjahr
959022fa07 Init basic Smarty when requesting CSS (Fixes #204)
In order to be able to call `serendipity_plugin_api_pre_event_hook` in a template's config.ini.php from serendipity.css.php, Smarty must be initialized first.
In case of a 'css' event, within the event hook $eventData contains the template's CSS which can now be manipulated and/or extended.
2014-08-20 17:10:44 +02:00
Garvin Hicking
938d7144c5 implement patch by @fugue88
References #199
2014-08-04 12:11:07 +02:00
Garvin Hicking
3079caf246 The js/backend_js will not get properly executed when the staticpage plugin is used,
as this generates a 404 error header. Browsers do not execute JS when the header is 404.
Fixes bernd's problem with the freetag autocompletion.
Things always get funny. :-)
2014-06-16 13:50:18 +02:00
Garvin Hicking
eb07593088 Change logger to only be instantiated when explicitly enabled to not cause unneccessary debugging
especially in dev-installations
References #131
2014-05-19 11:12:47 +02:00
onli
09400814d2 Include klogger, enable for trackbacks and index 2014-05-12 20:03:34 +02:00
onli
a815b217b8 Introduce js_backend hook
Will help when JS shall only be emitted in the frontend/backend, as with the CSS
2014-05-11 23:57:19 +02:00
Garvin Hicking
8d0b1b79be Ah, the internal /admin hooks need this. Hardcoded check. Not optimal, but should work better than the old approach. 2014-03-05 15:29:31 +01:00
Garvin Hicking
d208452096 Make external event plugins work properly again. Genpage should not be used? Will discuss on the forums.
Also add inactive/active placements to backend
2014-03-05 14:23:19 +01:00
onli
aaa4094cdd Add http to urlinput if missing 2014-01-18 23:08:28 +01:00
onli
54f926a946 unset year when not in cal-mode
closes #18
2013-10-01 14:55:20 +02:00
onli
0dfdb3af4e Add plugin-hook js 2013-06-15 16:16:04 +02:00
Garvin Hicking
f31800fad9 merged pull #15 2013-04-29 13:34:36 +02:00
onli
0cd974fa6d proof-of-concept .js.tpl: Added fallback for serendipity_editor.js.tpl as serendipity_editor.js to default-template, and changed serendipity_get_file to react to .js.tpl-files in template-directories 2013-03-06 14:55:21 +01:00
onli
581bcfe066 proof of concept: include serendipity_editor.js from a serendipity_editor.js.tpl out of the template-directory. Breaks comment-page in backend for templates other than 2k11 2013-03-04 16:35:52 +01:00
onli
df7d1fcb73 bugfix: disappearing netries when title starting with a number and using no archive-prefix 2011-12-13 19:11:07 +01:00
Garvin Hicking
6ad3797896 patch by hboeck for unique title of summary pages 2011-12-12 09:29:21 +01:00
Garvin Hicking
2749dc54ad Smarty3 2011-11-24 12:16:02 +01:00
Garvin Hicking
d405035d40 fix for autosave 2011-09-09 09:24:23 +00:00
Garvin Hicking
36f955285e fix ategory for pathnames startin gwith a number 2010-03-26 13:55:04 +00:00
Garvin Hicking
1943a9b2bb Specific php session checks, if a session has already been issued. 2009-06-11 12:14:15 +00:00
Garvin Hicking
be0bdd9cf6 * Change uriArgument parsing routine to allow "!" in URLs.
Now we can have absolute serocracy.
2009-05-28 08:34:52 +00:00
Garvin Hicking
7300925ce7 * Prefix possibly missing http:// of commenting authors URLs
in recent comments sidebar plugin and admin interface.
2008-10-23 13:50:54 +00:00
Garvin Hicking
9bfe2cec62 Add Status: 302 header for redirects, have fun, nitrox. :) 2008-08-27 19:20:23 +00:00
Garvin Hicking
aa77cb9b1f * Added header('Status:...') calls so that some CGI installations
of apache emit proper headers (garvinhicking)
2008-08-22 09:20:13 +00:00
Garvin Hicking
7f14f8b95f * Added optional token insertion for comment notification
(moderation) e-mails, which you can click without the need
      for authentication. This is a convenience feature, note that
      if someone can access your mails, he does not need to authenticate
      for deleting/approving a comment with the contained link.
2008-07-10 10:32:08 +00:00
Garvin Hicking
b8c0bc98eb Tighter check for multi category names 2008-01-29 19:11:04 +00:00
Garvin Hicking
992adc4f8b Only set $id when larger than 0, thanks to Alexander Hess 2008-01-16 13:54:32 +00:00