741 Commits

Author SHA1 Message Date
Garvin Hicking
e8bae220e6 A proposal on how 2k11 could utilize pre-event hooks. Now per-event so that the function name no longer
clashes with child-themes that need to include the 2k11 config.inc.php.
2014-05-22 11:44:25 +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
Matthias Mees
b8faaba829 Make category filtering a reusable function for live filtering
Can now be used anywhere where a "real-time" filter is desirable.
As a usage example, it's implemented for the list of installable
plugins. Should work anywhere, though – needs an input element,
a list of target elements and an element within those target
elements to contain the search term.

Also made the function for the reset button for this reusable.

References #154
2014-05-18 14:13:27 +02:00
onli
7d267fa13d Make Log-Level configurable (#131) 2014-05-17 00:39:07 +02:00
Ian
8753c9c931 document and changed wrong beta state 2014-05-14 19:23:16 +02:00
Garvin Hicking
a7fdf52eaf Fixed wrong local documentation URL in plugin configuration 2014-05-14 13:37:27 +02:00
Garvin Hicking
1100364efd Added {serendipity_hookPlugin hook="backend_dashboard" hookAll="true"} hook. 2014-05-14 13:21:50 +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
3bde48937f damnit garvin, it's THEMES now for a collection of template files, no longer TEMPLATE. :D 2014-05-12 16:48:03 +02:00
onli
7d8a9de746 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-05-11 23:58: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
Matthias Gutjahr
08f9580b54 Add HTTP_Request2 and dependencies as bundled libraries
Update PEAR library to version 1.9.4
2014-05-09 17:39:01 +02:00
Garvin Hicking
26673810ec document 2014-05-09 16:35:17 +02:00
Garvin Hicking
c49324eeff @mattsches @yellowled @ophian - Please try to remember documenting
documentworthy changes in our docs/NEWS file. This is important for me
when I write up blog entries about the new changes.

I tried to document every commit up until now.
2014-05-05 10:07:40 +02:00
Garvin Hicking
7223456b53 i18n title attributes, document some past changes 2014-05-05 10:00:59 +02:00
Garvin Hicking
c73f21ce0d pubdate/pubDate 2014-04-25 10:39:14 +02:00
Garvin Hicking
5e0c4c074e include upgrader timestamp
document recent changes
i18n for upgrader
2014-04-25 09:55:41 +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
e34007c1b7 so it begins 2014-04-14 09:11:41 +02:00
Garvin Hicking
ce724611d5 Yeah, guess I cannot get used to "Themes". 2014-04-08 09:37:18 +02:00
Garvin Hicking
178371eed6 Prepare release 2014-04-08 09:22:30 +02:00
onli
07ef076472 Document php-version req
#104
2014-03-28 11:15:40 +01:00
garvinhicking
df92e08671 provide upgrader task for plugin upgrade 2014-02-10 15:12:56 +01:00
Garvin Hicking
d36fca5a1e upport 2014-02-06 12:22:20 +01:00
Garvin Hicking
3d7765f066 upport 1.7.6 security fixes 2014-02-06 09:36:31 +01:00
onli
fa5af4a1ec Image selector toggled by showMediaToolbar
And $media.manage in the templates
2014-01-23 23:33:23 +01:00
onli
a6f0e97ed3 doc update 2014-01-23 23:20:19 +01:00
Ian
e81f3e5959 document smarty release 2013-12-20 20:03:43 +01:00
Garvin Hicking
60556207bf document better :) 2013-11-11 17:14:54 +01:00
Garvin Hicking
28885e75a1 document DLange commit 2013-11-11 16:25:39 +01:00
Ian
149e6aa9a7 fixed core plugins db tables, ip column to IPv6 length 2013-11-08 14:53:25 +01:00
Ian
915c5f6531 Fix possible temporary caching errors failing $eventData[0]['properties'] 2013-10-01 19:03:12 +02:00
Ian
0b1aeddc31 Automatic upgrade removal of old Smarty2 files (2.0-alpha2) 2013-10-01 18:58:56 +02:00
Garvin Hicking
ca84b8b85d backend_footer hook 2013-09-24 13:09:42 +02:00
Garvin Hicking
bb7ca06680 document 2013-09-05 09:25:42 +02:00
Ian
157c498e79 document upport a113f09 and ff2c3b9 2013-09-01 14:15:46 +02:00
Garvin Hicking
1f8dc86e76 document 2013-08-28 12:39:13 +02:00
Garvin Hicking
df906a343f upport 2013-08-22 12:32:04 +02:00
Garvin Hicking
17aae92f7f upport 2013-08-15 15:30:56 +02:00
Garvin Hicking
8a4467a33c also available on 1.7 2013-07-23 10:04:05 +02:00
Garvin Hicking
c5708f746c Added new event hooks for plugin and template installation/update 2013-07-23 09:46:44 +02:00
Garvin Hicking
e72aa19280 upport 2013-07-23 09:34:12 +02:00
Ian
1f17c35656 upport upgrade notes and News 2013-07-16 15:28:31 +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
cecf41cb20 Document (BC-)relevant 2.0 changes 2013-06-28 16:19:40 +02:00
Garvin Hicking
451601348a upport 2013-06-09 13:40:10 +02:00
Ian
5aebdf4119 Update 2.0 NEWS 2013-05-16 18:52:03 +03:00
Garvin Hicking
f31800fad9 merged pull #15 2013-04-29 13:34:36 +02:00
Garvin Hicking
f6295a2e4a document 2013-04-29 13:24:45 +02:00