479 Commits

Author SHA1 Message Date
Ian
5723673ab3 fix missing new update version to form via addData 2014-12-23 17:16:53 +01:00
onli
a3cd4d555a empty smarty cache before upgrade 2014-11-30 18:12:25 +01:00
Ian
efe2303b23 extend 8da4c647a88241899f9d377eaa81c7b080406685
in blogger a strange editor was used to write the file
2014-11-24 14:30:49 +01:00
Ian
8da4c647a8 cleanup tabs and whites 2014-11-24 14:17:38 +01:00
Garvin Hicking
4d17c0ae02 Added SQLite3 OO layer, old one did not work for PHP 5.4+
PDO SQlite3 is preferrable though
2014-11-24 11:48:16 +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
onli
31543ef39a Show no update msg for event and sidebar (#226) 2014-11-11 16:47:11 +01:00
Garvin Hicking
9944cbb0a7 Make PAT_JS mod_rewrite pattern be recognized to .htaccess to prevent ErrorLog entries for looking up such URLs.
Bumps version to beta6 and will recreate .htaccess file
2014-11-02 15:20:21 +01:00
onli
3d569bf02e upgrade-task: remove dashboard and autosave (#71) 2014-09-28 15:35:12 +02:00
onli
f545369922 Show configuration form after saving 2014-08-18 16:59:26 +02:00
Garvin Hicking
9b89c3d815 Another stab at fixing Issue #201
When no categories are delivered to serendipity_updertEntry this can mean two things:
- categories need to be un-assigned
- categories where not addressed/fetched/passed to the function [see include/admin/overview.inc.php for publishing a post! Or plugins like freetag, using serendipity_updertEntry]

To address this a new serendipity[had_categories] is added to the backend template, which can be checked for.

Feedback appreciated!
2014-08-08 14:23:19 +02:00
Garvin Hicking
f9bddffc3e Rework code to work with array.
References Issue #201
2014-08-08 10:59:40 +02:00
Garvin Hicking
e4a44c3663 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-08-08 10:56:16 +02:00
Ian
e7ff92136a fix eb5ac2d
to keep eventData array in the flow
2014-08-07 15:45:32 +02:00
Ian
eb5ac2dac1 move 'backend_category_showform hook' 2014-08-07 14:20:59 +02:00
Garvin Hicking
5fdff4c671 Bugfix for not properly setting entry.cats in entry overview
References #201
2014-08-07 10:53:18 +02:00
onli
8894f82477 Basic suupport for autoupdate-plugin (#98) 2014-07-13 13:07:17 +02:00
onli
ac24978984 Upgrader task for syndication plugin (#196) 2014-07-07 01:36:45 +02:00
Garvin Hicking
63f7510ebd References #134
Fixes thumbnail regeneration, only a problem with proper execution order
2014-06-25 13:22:39 +02:00
onli
f356c7d287 fix doubled html-section in media choose (#150)
Also a cleanup of media_choose.tpl
2014-06-24 23:22:51 +02:00
Garvin Hicking
6fe42449dd support pgsql 2014-06-17 12:25:44 +02:00
onli
48f820cc33 Don't show stackable-error on plugin upgrade (#45) 2014-06-09 21:42:17 +02:00
Ian
a25a662a02 fix 7e15a61 - see comments
We might need to find out why this behaved differently.
2014-06-06 16:21:56 +02:00
Ian
c38eb784aa debug test missing smarty class for 7e15a61 2014-06-06 14:23:58 +02:00
Ian
7e15a61ed7 compare plugin smarty requirement check with current version 2014-06-06 11:17:32 +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
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
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
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
onli
479efe7e7d first fix for entrycheck discarding drafts (#162) 2014-05-25 23:47:01 +02:00
onli
a8b4f05de2 Improve status-messages of ajax uploader (#126) 2014-05-25 21:30:36 +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
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
onli
d1d95aa643 Show backend preview (#151)
This code really should be revamped
2014-05-16 23:40:06 +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
3b3018b173 Fix: categories were uneditable (#135) 2014-05-12 20:31:31 +02:00
Matthias Mees
38f01b02a6 A better message for adding an image. 2014-04-30 11:26:33 +02:00
Garvin Hicking
e4a0830ad1 this should maybe fix the error message in importer 2014-04-28 11:14:19 +02:00
onli
99c1f4c87c Fix fallback chain
Engine: default in info.txt will now lead to the template to use template/default as fallback before the default-template (2k11 currently). An approach to fix #130

Also, template_engine is not automatically set to default, as this was implicitly always the case
2014-04-27 20:23:56 +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