803 Commits

Author SHA1 Message Date
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
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
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
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
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
onli
ac8407cd19 make wysiwyg-plugin-buttons work without js-change (#147) 2014-05-14 08:39:55 +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
Ian
c61cf9d10a fix missing s9ymdb ID, fixes part one of #145 2014-05-12 12:50:09 +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
onli
ccbfcf2e66 Finish uplaod resize function (#137)
configurable, some fixes, polyfill for chrome
2014-05-08 22:37:44 +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
Matthias Mees
4daffd0294 Update Modernizr to 2.8.1 (custom build) 2014-05-02 14:58:19 +02:00
Matthias Mees
52fd0d331b Marked stray untranslated title attributes
References #142
2014-05-02 13:18:12 +02:00
Matthias Mees
5f7602cd79 Improved readability of upgrader messages
References #141
2014-05-02 12:05:05 +02:00
Ian
33ee2d7217 re-add media name to resize GET string - fixes #139 2014-05-01 18:11:50 +02:00
Matthias Mees
bc792926ae Fix missing i18n constant. 2014-05-01 16:51:21 +02:00
Matthias Mees
34e4341ab0 A more robust solution for for plugin config sequence items
A reiteration of 744a0fc32a40a260830709655c6717d7539feba8.
2014-05-01 16:20:35 +02:00
Ian
744a0fc32a add some additional plugin config sequence_item styles
The first will add a better width to plugin sequence_item(s), covering all screen resolutions, and sets auto margin to center on bigger screens, where sequence_container grows greater than inner 96%.
The seconds breaks sequence_item text in its own inline box on screens >= 768px.

This is well tested with plugins containing sequence_item movers eg entryproperties plugin.
2014-05-01 13:24:18 +02:00
Matthias Mees
2307e892a9 Add comment status to dashboard comments list. 2014-04-30 12:52:01 +02:00
Matthias Mees
b9be5eae5e Re-added change filename/target dir for media db uploads
References #136
2014-04-30 11:15:40 +02:00
Matthias Mees
0ef5a689f9 Uncomment minify images function to get a working image upload.
References #137
2014-04-30 10:11:22 +02:00
Matthias Mees
d13cb056f0 Remove stray debug code. 2014-04-29 13:29:08 +02:00
Matthias Mees
2475f952df Standardize select image from media db/show preview process.
This used to be two seperate processes for the category icon and
images selected in plugin/theme config. It has now been simplified
to use just one process, which also uses the same markup and JS.

This adds to the consistency of the UI/UX, but it also saves some
CSS and a lot of JS, most of the latter of the expensive kind that
modifies the DOM.
2014-04-29 13:22:55 +02:00
Matthias Mees
055d6cdcd7 Generate new oldie.css.
(Needs to be done from time to time.)
2014-04-28 16:35:56 +02:00
Matthias Mees
a3cb5e253c Re-use choose_media for selecting category icons.
Also, save some JS performance by generating the button in Smarty,
not in JS.

References #110 #85
2014-04-28 16:11:05 +02:00
Matthias Mees
7b5ef26e7e Use correct media db overlay for theme options.
References #110
2014-04-28 15:56:29 +02:00
Matthias Mees
9c061a77ae Use correct media db overlay for extended entry properties.
References #110
2014-04-28 15:51:14 +02:00
onli
4efba7e295 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-04-27 19:12:27 +02:00
Matthias Mees
744d93b938 The import tpl needs some extra headings. 2014-04-26 18:48:51 +02:00
onli
f7b57643ef Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-04-25 20:31:06 +02:00
Matthias Mees
82d3165a19 Fix weird equal heights in list of installable plugins.
Some plugins on Spartacus have longer descriptions, making their
entires longer. Now, the description is collapsible using a details
element.

References #125
2014-04-25 11:26:48 +02:00
Garvin Hicking
5e0c4c074e include upgrader timestamp
document recent changes
i18n for upgrader
2014-04-25 09:55:41 +02:00
Garvin Hicking
919674e25a i81n for categoryfilter 2014-04-25 09:30:21 +02:00
onli
976c0018e9 Init: Ajax image upload 2014-04-25 01:58:32 +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
Matthias Mees
2ae6bcc5dd Add reset button for category filter; add some styling.
References #123
2014-04-24 17:30:40 +02:00
Garvin Hicking
f89b34f2b0 Fix issue #128 2014-04-24 15:28:13 +02:00
Garvin Hicking
063b753892 Proof of concept idea for the "filter category" idea
http://board.s9y.org/viewtopic.php?f=11&t=19862
2014-04-24 15:21:25 +02:00
onli
f704df9365 support html5 multiple upload
closes #126
2014-04-23 02:27:14 +02:00
Matthias Mees
a04a2de5c5 Remove redundant comment. 2014-04-20 14:09:47 +02:00
Matthias Mees
6b8f893299 Include updated, "customized" build of MagnificPopup.
Also adds missing test to Modernizr build.

References #85
2014-04-20 14:00:44 +02:00
Matthias Mees
49ce068117 Include customized Modernizr build; update Modernizr to latest.
This build includes only the tests and shivs in Modernizr we do
actually use. If we add tests (in CSS or JS) or find some are
missing, this build needs to be renewed.

References #85
2014-04-20 13:30:28 +02:00
Matthias Mees
b6b6dfe01a Make button links always contain their text.
References #99
2014-04-20 13:05:25 +02:00
Matthias Mees
9e7fbdf6bf Only fire equal heights js on screens larger than 640px.
The equal heights boxes look weird on small screens, so we're not
firing the plugin there any longer.

This introduces a new variable for breakpoints for responsive JS.
Please *only* add more breakpoints if you actually use them.

References #100
2014-04-18 16:51:33 +02:00