592 Commits

Author SHA1 Message Date
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
onli
631bc150ac improve update notice: timeout, config
The updater in the dashboard needed a timeout to not kill the backend if github is not reachable
Also, this makes the check configurable
2014-04-24 18:25:56 +02:00
onli
f704df9365 support html5 multiple upload
closes #126
2014-04-23 02:27:14 +02:00
onli
a722390fbf Set needed php to >= 5.3
closes #104
2014-03-28 10:03:03 +01:00
Ian
9083aef7a0 minor - set hooks to use single quotes as everywhere 2014-03-14 10:20:53 +01:00
Ian
b3b76bfc35 prepare upgrade for htmlarea cleanup 2014-03-12 19:15:54 +01:00
onli
e01a754315 Installer markup cleanup
The template assumed the messages to be arrays, though only one of them was one,
and that actually seems to be a mixup from the smartification
2014-03-09 14:58:06 +01:00
Ian
9b56a35f26 exclude installerHTTPPath from serendipity_getFile
References #80
2014-03-09 13:19:38 +01:00
Ian
0a2e6964ca rename 8a21ac8 to installerHTTPPath
References #80
2014-03-09 12:59:22 +01:00
Ian
8a21ac8737 fix dffe13e for step 3
References #80
2014-03-09 12:19:47 +01:00
Ian
dffe13e344 fix PHP_SELF emitting slash on some OS 2014-03-09 10:20:41 +01:00
Ian
8b951cbc17 fix and prepare installer path for js includement
References #80

needs a special eg installer_editor.js file for JS events
2014-03-08 10:31:17 +01:00
Ian
179f6a19d6 fix upgraders generating content of js files
References #80
2014-03-08 09:38:59 +01:00
Garvin Hicking
c3b4fe53e9 add language constants for maintenance 2014-03-05 16:17:24 +01:00
Ian
627e400a02 prepare menu maintenance const
and removed html to tpl
2014-03-05 15:59:46 +01:00
Ian
a8a1880f0f be more verbose as kindly asked 2014-03-03 19:52:08 +01:00
Ian
153b5b71ba add clearComiledTemplate to maintenance
define constants temporary in maintenance.inc.php, until someone executes addlang.sh

YL, I captured 'comment_status' class for #cct_info.
2014-03-03 16:32:05 +01:00
Garvin Hicking
855c13cb57 fix "scalar" error message 2014-02-28 11:09:32 +01:00
Ian
ce56d05d5d upport 44dfccc - make group permission name split into parts
to be styleable as in 1.7, but here still unchanged by tags, since this may need to change some styles.
2014-02-27 12:04:21 +01:00
Matthias Mees
ac22fec171 Layout and other minor CSS fixes for the upgrader.
Includes adapting the layout to match the installer, using a proper
element for removeFiles msgs, removing unnecessary msg_* wrappers,
fixing the upgrader buttons etc.
2014-02-25 19:32:57 +01:00
garvinhicking
df92e08671 provide upgrader task for plugin upgrade 2014-02-10 15:12:56 +01:00
onli
1f63b68908 Publish entries in the dashboard 2014-02-08 16:48:48 +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
3873826036 Add upload button to imageselector 2014-01-23 23:13:09 +01:00
onli
b6fe9892c7 Fix subcategory button 2014-01-19 21:39:47 +01:00
onli
0f36373920 Intorduce simpleFilters setting
Replaces SimpleImageFilters with a personal setting, covers image filters and the simpler entry edit overview
2014-01-19 19:31:45 +01:00
onli
428ef88fce Subcategory button for image dirs + minor 2014-01-19 19:07:02 +01:00
onli
62ba209e52 No categories with the same name 2014-01-19 18:44:44 +01:00
onli
36025ee6ba subfolder creation button for category list 2014-01-19 18:23:42 +01:00
onli
ee3ea72208 Introduce Maintenance menu
Containing all the small action menu-items that were in the main navigation menu, like verify installation
2014-01-19 13:19:30 +01:00
onli
53d967abce upload: hide ML when editing properties
forgot the real fix in commit b41b711
2014-01-19 00:28:07 +01:00
onli
b41b71169f upload: hide ML when editing properties 2014-01-19 00:17:57 +01:00
onli
2d2d3822d7 enable moderate in dashboard
The token was missing, as the variable was renamed for the preview-url, where it was missing before
2014-01-18 23:27:42 +01:00
onli
daa3afe812 Fix drag'n drop in plugin configs
As discussed in #65. Uses a simpler approach to detect the order of the items and their activation at the same time
2013-10-09 16:43:15 +02:00
Ian
0b1aeddc31 Automatic upgrade removal of old Smarty2 files (2.0-alpha2) 2013-10-01 18:58:56 +02:00
onli
eadc5bc027 Add expand to dashboard-comment
temporary, to be replaced with a nice solution, same like for the normal comment view
2013-10-01 01:57:42 +02:00
onli
2384f56ec0 personal settings autocomplete fix 2013-08-19 02:25:53 +02:00