88 Commits

Author SHA1 Message Date
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
7d267fa13d Make Log-Level configurable (#131) 2014-05-17 00:39:07 +02:00
Garvin Hicking
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
onli
09400814d2 Include klogger, enable for trackbacks and index 2014-05-12 20:03:34 +02:00
Garvin Hicking
6489cf7bf8 to the future 2014-04-15 11:01:53 +02:00
Garvin Hicking
5660f461e0 backdate 2014-04-15 00:13:03 +02:00
Garvin Hicking
a42a7a8f00 Well, this will surely come... - hopefully rather later than earlier ;) 2014-04-14 09:27:09 +02:00
Garvin Hicking
178371eed6 Prepare release 2014-04-08 09:22:30 +02:00
Ian
1a72f3a8b8 set alpha4 version
References #72 upgrade part
2014-03-18 09:02:50 +01:00
onli
7f4dbb3e2e Include JS in installer and upgrader
This should fix issue #80 by giving serendipity_editor.js of default to the
installer and  the normal template JS to the upgrader
2014-03-09 16:00:38 +01:00
Ian
179f6a19d6 fix upgraders generating content of js files
References #80
2014-03-08 09:38:59 +01:00
garvinhicking
df92e08671 provide upgrader task for plugin upgrade 2014-02-10 15:12:56 +01:00
Ian
0b1aeddc31 Automatic upgrade removal of old Smarty2 files (2.0-alpha2) 2013-10-01 18:58:56 +02:00
Matthias Gutjahr
1dd627c9c3 Fixed wrong variable name 2013-09-06 14:29:46 +02:00
Matthias Gutjahr
5267970499 Added CLI check required for Metatron 2013-09-06 14:23:34 +02:00
onli
83ddeca71a bundled-libs, not _libs 2013-08-18 15:02:20 +02:00
onli
e63be19fe5 add composer autoloader and libs 2013-08-18 12:46:45 +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
ae74401668 2k11 is default template, included admin-tpls, and made it installable 2013-05-30 22:19:07 +02:00
Garvin Hicking
53ea38aa3c Port from master 2013-01-21 10:06:09 +01:00
Garvin Hicking
9adcfecc38 More PHP5 compatibility (this constructor thing order did not remove the error for me)
Also be able to set $serendipity['production'] in serendipity_config_local.inc.php
2012-10-18 10:14:04 +02:00
Ian
ea66e5b89f fixed tabs 2012-07-01 18:22:39 +02:00
Garvin Hicking
f12f53aaab Damn, why does cherry picking not work? 2012-06-12 20:51:57 +02:00
Garvin Hicking
d7ef7a7a04 port everything so that 2.0 and 1.7 have the same features 2012-06-12 19:39:11 +02:00
Garvin Hicking
04792e998a port 2012-04-11 21:03:55 +02:00
Ian
1cf5309deb set correct version 2012-04-10 15:13:53 +02:00
Ian
ee116ee460 some more tweaking to the errorToExceptionHandler 2011-12-08 19:21:24 +01:00
Ian
c2afd4efc0 moved custom errorHandler to avoid XML Feed declaring and callback errors 2011-12-06 12:36:03 +01:00
Ian
b56e45262a enhance error handler 2011-12-05 14:52:34 +01:00
Ian
4138bab0e8 set global errorToExceptionHandler 2011-12-04 17:57:25 +01:00
Garvin Hicking
3eee3e4cd7 Do not add :443 to HTTPS connections 2011-09-26 09:14:21 +00:00
Garvin Hicking
3030b3a491 1..7 prep 2011-07-19 19:14:58 +00:00
Garvin Hicking
47075eaf95 backport 2010-08-26 15:49:12 +00:00
Garvin Hicking
03efc3e842 bump 2010-05-10 10:31:28 +00:00
Garvin Hicking
757c557b6b * To support custom PHP sessions, s9y will only issue session_start,
if no session exists yet (garvinhicking)
2010-01-20 09:45:48 +00:00
Garvin Hicking
a292a52c96 trunk update to 1.6 2009-12-08 13:19:25 +00:00
Garvin Hicking
10cde4adeb beta2? might not be needed though. 2009-08-24 07:59:09 +00:00
Garvin Hicking
ddf9448daf prepare beta 2009-08-24 07:18:41 +00:00
Garvin Hicking
97710fe021 * Removed inline styles of the s9y media insertion, they will now
properly utilize CSS classes (defined in the new file
      style_fallback.css). Also added support for entering "ALT"
      attributes to an <img> tag, can be used as a media property if
      you add "ALT" to the list of "Media properties" in the
      main configuration. (garvinhicking)
2009-07-14 09:22:06 +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
851f2b2650 Allow to use UTC timezone offset ,by Abdussamad 2009-05-05 10:27:08 +00:00
Garvin Hicking
9fbe9f7b7c adjust session name, thanks to DrNI and kleinerChemiker 2009-04-23 13:40:47 +00:00
Garvin Hicking
f541e5874d New experimental login hashing 2009-02-16 11:29:49 +00:00
Garvin Hicking
76134b358c trunk version 2008-12-29 09:43:01 +00:00
Garvin Hicking
39746af0ce trunk adaption 2008-12-29 09:42:41 +00:00
Garvin Hicking
7292780094 1.4 release 2008-12-29 08:58:16 +00:00
Garvin Hicking
cc99938f55 bump version 2008-11-25 09:56:55 +00:00
Garvin Hicking
74e36756d2 prepare beta4 release 2008-11-10 13:49:07 +00:00
Garvin Hicking
5ef47ebf5d * Add memory_limit output to s9y installation, 8MB for 32bit and
16MB for 64bit OSes
2008-08-29 07:54:02 +00:00
Garvin Hicking
9bfe2cec62 Add Status: 302 header for redirects, have fun, nitrox. :) 2008-08-27 19:20:23 +00:00