3906 Commits

Author SHA1 Message Date
Ian
69fc1a5b73 fixes #165 2b and 4a and 4b 2014-05-21 11:45: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
e8a2900beb reset ending empty lines to one line only
while this produces empty array line with print_r

AND WHY the hell is competition named "Coffee Cup" ? :)
2014-05-20 18:14:49 +02:00
Ian
922e77e4a6 set name truncation for cur_backend too - extends edb88c3
since could be the long named bulletproof template
Reference #165
2014-05-20 18:03:24 +02:00
Ian
edb88c3f57 fixes #165 2 a 2014-05-20 17:48:21 +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
13d8f5fd7c addlang execute, reset textfile 2014-05-19 11:14:11 +02:00
Garvin Hicking
6c06651759 add languages 2014-05-19 11:13:53 +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
Matthias Mees
8726770c03 Move nav items for core plugins to the proper backend nav sections
References #152
2014-05-18 11:56:38 +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
onli
05817056e5 Copy ckeditor-files into repo (#148)
This time, I deleted ckeditor/ckeditor/.git and removed everytjing before. I hope that the line in .gitignore will prevent the linking the next time if someone forgets to delete the file
2014-05-16 15:03:25 +02:00
onli
dad4e4cfc9 Set ckeditor to latest stable, not to the head of git 2014-05-15 16:38:57 +02:00
onli
d85334ced7 Remove doubled ckeditor instance (#148) 2014-05-15 16:26:56 +02:00
onli
d0b65f2638 Constants for Ajax-Upload-Resizer (#137) 2014-05-14 21:53:45 +02:00
Ian
8753c9c931 document and changed wrong beta state 2014-05-14 19:23:16 +02:00
Matthias Mees
77df5f6129 For visual consistency, the button text should be the same.
References #151
2014-05-14 15:13:57 +02:00
Matthias Mees
95a901d653 Added temporary backend theme screenshot.
References #151
2014-05-14 15:10:07 +02:00
Matthias Mees
f1595837df Some visual polish for frontend/backend theme switching.
Also removes redundant text from backend theme info overlay.

References #151
2014-05-14 14:59:00 +02:00
Garvin Hicking
2c5c3eddbf Switch back versions to release versions (also show CVS ids), re-added patch for PEAR 2014-05-14 14:38:04 +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
d4fb7207aa Port fix from wordpress to this 2014-05-14 13:02:29 +02:00
Garvin Hicking
6f0a9b7123 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-05-14 12:59:42 +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
Garvin Hicking
a6b20ad398 UTF-8 versions 2014-05-14 12:57:57 +02:00
Garvin Hicking
02d2fff162 Language commit for frontend/backend distiction 2014-05-14 12:57:37 +02:00
onli
ac8407cd19 make wysiwyg-plugin-buttons work without js-change (#147) 2014-05-14 08:39:55 +02:00
onli
f1348373cb Include the full ckeditor, using composer (#148)
This shall make it easier for users to customize the editor
2014-05-12 21:40:05 +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
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
Ian
f4ec48675b merge bundled libs with 1.7.8
fixing idents spaces tabs and version numbers for .current_version file
2014-05-12 15:26:55 +02:00
Ian
c61cf9d10a fix missing s9ymdb ID, fixes part one of #145 2014-05-12 12:50:09 +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
0413a838d3 Remove "Published" status in entries list.
It makes it harder to spot "Draft", "Sticky" and "Scheduled", and
we don't have a good solution to distinguish those by color. Might
come in a 2.0.x, though.
2014-05-11 22:09:59 +02:00
Matthias Mees
542917efea Adapt collapsible plugin description to list of installed plugins.
References #125
2014-05-11 21:55:06 +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
onli
ccbfcf2e66 Finish uplaod resize function (#137)
configurable, some fixes, polyfill for chrome
2014-05-08 22:37:44 +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
Matthias Mees
9ce0033c88 Add HTML button classes to extended entry textarea.
Fixes the buttons not emitting the arrow brackets for HTML tags in
the extended entry's plain editor.

References #121
2014-05-04 11:27:08 +02:00