3935 Commits

Author SHA1 Message Date
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
Matthias Mees
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
Matthias Mees
26088f8ba5 If toggler does not have an id, don't store the state.
References #144
2014-05-24 19:10:14 +02:00
Matthias Mees
ab99abcbae Bug fix for serendipity.toggle_collapsible.
References #144
2014-05-24 18:27:20 +02:00
Matthias Mees
4e4972d440 Document serendipity.toggle_collapsible. 2014-05-24 17:49:31 +02:00
Matthias Mees
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
c6f4da1c04 temporary fix missing backend_js hook
But there still are serious issues left, see Reference #167
2014-05-24 11:55:59 +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
Garvin Hicking
4c965bd2d5 Rephrased this to make it a bit shorter, more suitable for the NEWS-file IMO.
More details could better be added to the Wiki at some place/point for proper documentation (duh).
2014-05-23 17:35:29 +02:00
Ian
14ce11c778 set entries update isdraft to string value false
to be able to publish draft entries from dashboard

References #160
2014-05-23 17:11:05 +02:00
Ian
13c9b4b74d frontend jquery.noConflict mode set deprecated
and make this configurable by $serendipity['capabilities']['jquery-noconflict'] = false;

References #166
2014-05-23 14:14:58 +02:00
Matthias Mees
4437e01af7 Minor improvement for headings in plugin configuration. 2014-05-23 10:27:02 +02:00
Matthias Mees
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
Garvin Hicking
0e008d0885 This should make jquery.js of a theme no longer be included for the default backend.
Custom backends would now use jquery_backend.js if they really wanted to provide their own.

References #166
2014-05-22 11:59:50 +02:00
Garvin Hicking
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
Garvin Hicking
f96f0da3f8 Added dev test templates for specific scenarios.
Please read http://board.s9y.org/viewtopic.php?f=11&t=19916

Choosing those templates will probably currently result in errors that need to be addressed.
2014-05-22 11:20:12 +02:00
Garvin Hicking
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
Matthias Mees
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
Matthias Mees
2f1455d53b Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-05-21 15:48:57 +02:00
Matthias Mees
ed6b4e4c6a Adapt CSS to changes in theme list layout.
References #165
2014-05-21 15:48:21 +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
99d354224e fixes edb88c3 with title
References #165 2a and comments
2014-05-21 14:15:38 +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
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
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