1036 Commits

Author SHA1 Message Date
Garvin Hicking
20cf96e969 move "smarty preview" to actual case, should fix the "entry saved" missing message 2014-06-03 11:09:00 +02:00
Ian
d633a62bdc only use errorHandlerCreateDOM() if theme has it set
This is odd for all custom or older theme errors and for theme development though.
References #167
2014-06-02 17:26:08 +02:00
Ian
4b3b005833 revert 433da49 2014-06-02 17:06:30 +02:00
Ian
433da491d1 add frontent fallback for errorHandlerCreateDOM() js
in case theme does not have js hooked {$head_link_script}
Fixes #167
2014-06-02 15:49:06 +02:00
onli
3f18352bdc let preview use frontend-theme templates (#172) 2014-05-30 00:14:11 +02:00
onli
2c57def881 minor: fix comment typos 2014-05-29 23:44:21 +02:00
onli
2d50bdd375 ML filter-folder save without reload via cookies (#155) 2014-05-29 23:16:41 +02:00
onli
91ffa16e17 correct spaces in image-deletion-messages 2014-05-29 22:35:55 +02:00
onli
6dd5b4aa6b Improve image deletion pages (#138)
Show correct button for multidelete-form, remove switched_output and doubled state-variables, show formerly lost delete-messages on ML after deletion instead of blank page
2014-05-29 22:26:01 +02:00
onli
1bce7ec7ec Make ML available after upload and filter-change (#138) 2014-05-29 21:54:26 +02:00
onli
39d5ceaa03 try to prevent critical error with invalid gifs 2014-05-29 21:52:52 +02:00
onli
eef94a8048 Integrate autosave_local into core (#118) 2014-05-29 19:26:13 +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
93d117b45d Move serendipity_html5time definition to usual function scope for better structure 2014-05-28 12:01:26 +02:00
Garvin Hicking
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
garvinhicking
71e4a6c1a9 Issue #164 - addresses commit @917fb30 2014-05-28 11:38:59 +02:00
Ian
3660a2f116 dashboard entry publish keep timestamp - fixes and closes #160 2014-05-27 17:10:45 +02:00
onli
bd100c1f4f correct approach to detect installed plugins (#45) 2014-05-27 00:45:42 +02:00
onli
1fcdf783e5 Prevent api to install unstackable plugins twice (#45) 2014-05-27 00:24:28 +02:00
onli
917fb303f2 fix: restore template sidebar settings (#164) 2014-05-26 23:23:35 +02:00
Thomas Hochstein
66d0825a67 Re-add sort by name to ML non-simple filter.
When replacing 'sort by extension' with
'sort by name' in simple filter mode, 'sort by name'
was erroneously removed from non-simple filter
mode too (and replaced by a second incarnation of
'sort by extension').

Signed-off-by: Thomas Hochstein <thh@inter.net>
2014-05-26 18:40:33 +02:00
onli
479efe7e7d first fix for entrycheck discarding drafts (#162) 2014-05-25 23:47:01 +02:00
onli
ad8606c782 Move sort by name to ML simple filter (#157) 2014-05-25 22:05:29 +02:00
onli
a8b4f05de2 Improve status-messages of ajax uploader (#126) 2014-05-25 21:30:36 +02:00
Ian
3c21bfb9f4 be more strict - fixes 14ce11c778 2014-05-25 11:46:35 +02:00
Ian
27265c533e markup for 'image directory move done' note 2014-05-25 10:38:18 +02:00
Ian
c46d07cde5 fixes entry preview exception - fixes #119 2014-05-24 19:41:40 +02:00
Ian
c6f4da1c04 temporary fix missing backend_js hook
But there still are serious issues left, see Reference #167
2014-05-24 11:55:59 +02:00
Ian
14ce11c778 set entries update isdraft to string value false
to be able to publish draft entries from dashboard

References #160
2014-05-23 17:11:05 +02:00
Ian
13c9b4b74d frontend jquery.noConflict mode set deprecated
and make this configurable by $serendipity['capabilities']['jquery-noconflict'] = false;

References #166
2014-05-23 14:14:58 +02:00
Garvin Hicking
0e008d0885 This should make jquery.js of a theme no longer be included for the default backend.
Custom backends would now use jquery_backend.js if they really wanted to provide their own.

References #166
2014-05-22 11:59:50 +02:00
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
Ian
ac1d4a7076 revert part of 7474f78 and fix the order
to prevent wp themes engine yes to be included to array $templates
References #165 7474f78 38204c4
2014-05-21 15:46:15 +02:00
Ian
7474f785e5 removed some jurassic park codes and add wp-theme preview image
References #165
2014-05-21 13:08:13 +02:00
Ian
734217e0da fix 38204c4 2014-05-21 11:25:32 +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
Ian
38204c4053 better have logic in php - fixes #165 1 b 2014-05-20 17:45:53 +02:00
Ian
b8e60cd7ef fixes #165 1 a 2014-05-20 17:41:55 +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
7d267fa13d Make Log-Level configurable (#131) 2014-05-17 00:39:07 +02:00
onli
d1d95aa643 Show backend preview (#151)
This code really should be revamped
2014-05-16 23:40:06 +02:00
onli
694b446e1a Move serendipiy_editor.js.tpl convertion into core
http://board.s9y.org/viewtopic.php?f=11&t=19927
2014-05-16 16:13:16 +02:00
Garvin Hicking
d4fb7207aa Port fix from wordpress to this 2014-05-14 13:02:29 +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
1b80ba69a1 Restore wysiwyg plugin api (#147)
Partly. Plugins still need to use a different JS, fitting for the ckeditor. And plugins are bundled in the other-part of the toolbar instead of trying to follow the (xinha-)toolbar parameter
2014-05-12 21:09:58 +02:00
onli
3b3018b173 Fix: categories were uneditable (#135) 2014-05-12 20:31:31 +02:00
onli
09400814d2 Include klogger, enable for trackbacks and index 2014-05-12 20:03:34 +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 Mees
542917efea Adapt collapsible plugin description to list of installed plugins.
References #125
2014-05-11 21:55:06 +02:00