1
0
Commit Graph

918 Commits

Author SHA1 Message Date
1bce7ec7ec Make ML available after upload and filter-change (#138) 2014-05-29 21:54:26 +02:00
eef94a8048 Integrate autosave_local into core (#118) 2014-05-29 19:26:13 +02:00
5e5cc1e426 Autofocus user id for login form. 2014-05-28 19:50:15 +02:00
d1881e474f i18n 2014-05-28 10:38:04 +02:00
0d43f5dea7 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-05-28 10:37:16 +02:00
ffb1a0769a fix typo, i81n 2014-05-28 10:37:00 +02:00
Ian
aa10266c05 remove modifier
since moved to core and this template/theme is "Require Serendipity: 2.0"

References c46d07c and comments
2014-05-27 16:44:29 +02:00
1fcdf783e5 Prevent api to install unstackable plugins twice (#45) 2014-05-27 00:24:28 +02:00
6d6570e92c Back button for plugins 2014-05-26 23:43:27 +02:00
0e41248edd Show ML-Button after Ajax-Upload
It might be useful by not to smartify those buttons
2014-05-26 21:28:56 +02:00
795575a074 Add new img button to media chooser (plugins) 2014-05-26 21:09:27 +02:00
dab92bdca6 * Adapted serendipity_editor.js to provide more global (though
deprecated) API access methods for plugins like amazonchooser
      and linktrimmer, to perform insertion. Also fixed the
      insertion of text when the ID of the element is not prefixed

(You may need to reload your browsercache to get the new JS)
2014-05-26 12:07:29 +02:00
ca530221eb Temporary fix for media library loading in a loop.
References #157
2014-05-26 10:12:07 +02:00
479efe7e7d first fix for entrycheck discarding drafts (#162) 2014-05-25 23:47:01 +02:00
c291c5166d Remember ML folder (#155) 2014-05-25 21:58:10 +02:00
a8b4f05de2 Improve status-messages of ajax uploader (#126) 2014-05-25 21:30:36 +02:00
Ian
3b4410c9d9 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-05-24 19:42:31 +02:00
Ian
c46d07cde5 fixes entry preview exception - fixes #119 2014-05-24 19:41:40 +02:00
1375d12a08 Consolidate event handlers.
(I don't remember why this was in a seperate event handler, but we
don't need it to be anymore.)

References #85
2014-05-24 19:15:53 +02:00
26088f8ba5 If toggler does not have an id, don't store the state.
References #144
2014-05-24 19:10:14 +02:00
ab99abcbae Bug fix for serendipity.toggle_collapsible.
References #144
2014-05-24 18:27:20 +02:00
78b83266e3 Rewrite show/hide functionality as a reusable function
Introducing serendipity.toggle_collapsible, which

– is a reusable function available via the serendipity namespace
– has arguments to customize the show/hide icon, but also has
  sensible default fallbacks for those arguments
– creates an individual key in localStorage to store the open/
  close state in

The latter also fixes a bug(?) which made show/hide in the entry
editor save the state for entry metadata and advanced options in
the same localStorage key. This could be improved with a fallback
for toggling elements which don't have an id.

References #144
2014-05-24 17:21:37 +02:00
Ian
62026e5ba3 fixes nasty media insert target bug
Fixes #143 and Fixes #145 and References #121
2014-05-24 11:46:58 +02:00
4437e01af7 Minor improvement for headings in plugin configuration. 2014-05-23 10:27:02 +02:00
92641323db Move #entry_skip back to a seperate form element.
References #159
2014-05-22 20:27:20 +02:00
Ian
36a36c38cd only show backend install button if not self
References #165
2014-05-22 18:19:39 +02:00
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
e6320100e8 Provide language constant. 2014-05-22 10:49:36 +02:00
Ian
8401827afb re-introduce fallback constant note for 9388618ac5
while this also is accessed on new theme installes
References #165 3c
2014-05-22 10:32:23 +02:00
ae6d69a173 Use different labels for plugin filters.
These are supposed to make the functionality of the plugin filter/
search more clear without introducing new lang constants. Also
removed the placeholder attribute altogether.

References #154
2014-05-21 22:26:44 +02:00
Ian
391823d677 add default value to missing constant, as long as not set
References #165
2014-05-21 17:41:26 +02:00
Ian
9388618ac5 fixes #165 3c
@garvinhicking please add additional constant CUSTOM_CONFIG eg = "Custom config file" to langs
2014-05-21 16:24:41 +02:00
ed6b4e4c6a Adapt CSS to changes in theme list layout.
References #165
2014-05-21 15:48:21 +02:00
Ian
99d354224e fixes edb88c3 with title
References #165 2a and comments
2014-05-21 14:15:38 +02:00
Ian
4df73e1e61 backend preview file changed
I hope you don't mind @yellowled - its more slim and plain
References #165 4
2014-05-21 11:59:16 +02:00
Ian
69fc1a5b73 fixes #165 2b and 4a and 4b 2014-05-21 11:45:13 +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
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
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
d1d95aa643 Show backend preview (#151)
This code really should be revamped
2014-05-16 23:40:06 +02:00
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
77df5f6129 For visual consistency, the button text should be the same.
References #151
2014-05-14 15:13:57 +02:00
95a901d653 Added temporary backend theme screenshot.
References #151
2014-05-14 15:10:07 +02:00
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
a7fdf52eaf Fixed wrong local documentation URL in plugin configuration 2014-05-14 13:37:27 +02:00
1100364efd Added {serendipity_hookPlugin hook="backend_dashboard" hookAll="true"} hook. 2014-05-14 13:21:50 +02:00
6f0a9b7123 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-05-14 12:59:42 +02:00
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