project/panels.git
3 years agoImplement a versioning system on style plugins that allows the legacy
Sam Boyer [Mon, 7 Jun 2010 20:24:51 +0000]
Implement a versioning system on style plugins that allows the legacy
renderer to determine what type of data it should be passing to style
plugins.

3 years agoDocblock touchup.
Sam Boyer [Mon, 7 Jun 2010 20:24:43 +0000]
Docblock touchup.

3 years agoFix ajax refresh of panes.
Sam Boyer [Mon, 7 Jun 2010 20:24:39 +0000]
Fix ajax refresh of panes.

3 years agoDeindent the main body of the js; major jQuery plugins do not indent
Sam Boyer [Mon, 7 Jun 2010 20:24:34 +0000]
Deindent the main body of the js; major jQuery plugins do not indent
within the body of the $ alias checker as it's silly.

3 years agoFix docblock typo.
Sam Boyer [Mon, 7 Jun 2010 20:24:28 +0000]
Fix docblock typo.

3 years agoRefactored the pane rendering to use only one method. Also fixed a
Sam Boyer [Mon, 7 Jun 2010 20:24:22 +0000]
Refactored the pane rendering to use only one method. Also fixed a
missing return that was causing nothing to be rendered at all.

3 years agoKeep up with changes to the default renderer, and observe separation of
Sam Boyer [Mon, 7 Jun 2010 20:24:17 +0000]
Keep up with changes to the default renderer, and observe separation of
phase responsibilities best practices.

3 years agoChange the default renderer's build() method to take only a single
Sam Boyer [Mon, 7 Jun 2010 20:24:12 +0000]
Change the default renderer's build() method to take only a single
parameter, as that's more inheritance/interface friendly.

3 years agoRenamed files in accordance with class name change.
Sam Boyer [Mon, 7 Jun 2010 20:24:06 +0000]
Renamed files in accordance with class name change.

3 years agoRenamed 'panels_renderer_standard' to 'panels_renderer_default', as
Sam Boyer [Mon, 7 Jun 2010 20:23:57 +0000]
Renamed 'panels_renderer_standard' to 'panels_renderer_default', as
default is at least as accurate, but is more common and doesn't have
some of the additional meanings 'standard' does.

3 years agoBig documentation update.
Sam Boyer [Mon, 7 Jun 2010 20:23:52 +0000]
Big documentation update.

3 years agoRemoved all TODOs from the legacy renderer, as it will not be evolving
Sam Boyer [Mon, 7 Jun 2010 20:23:47 +0000]
Removed all TODOs from the legacy renderer, as it will not be evolving
any further; any TODOs apply to the standard renderer, or not at all.

3 years agoJS cruft removal.
Sam Boyer [Mon, 7 Jun 2010 20:23:41 +0000]
JS cruft removal.

3 years agoMove the single pane renderer into the set of display renderers provided
Sam Boyer [Mon, 7 Jun 2010 20:23:35 +0000]
Move the single pane renderer into the set of display renderers provided
by the main Panels module, as nothing about it is actually specific to
IPE.

3 years agoFixed ternary empty() typo that was causing nothing to render at all.
Sam Boyer [Mon, 7 Jun 2010 20:23:24 +0000]
Fixed ternary empty() typo that was causing nothing to render at all.
Whoops.

3 years agoAdd the $renderer parameter to panels_render_display() for passthrough
Sam Boyer [Mon, 7 Jun 2010 20:23:19 +0000]
Add the $renderer parameter to panels_render_display() for passthrough
to the render method. I swear I've added this at least twice before, and
it keeps disappearing...

3 years agoMore consistent, clearer variable naming: $region_id now refers to the
Sam Boyer [Mon, 7 Jun 2010 20:23:12 +0000]
More consistent, clearer variable naming: $region_id now refers to the
system name of a panel region, and $region_title refers to the
human-readable name.

3 years agoRefactored the IPE renderer to take advantage of the standard renderer's
Sam Boyer [Mon, 7 Jun 2010 20:23:07 +0000]
Refactored the IPE renderer to take advantage of the standard renderer's
now-extendable design; initial work towards a better system for placing
the 'add new pane' button, and placeholders for empty regions.

3 years agoDocblock touchups.
Sam Boyer [Mon, 7 Jun 2010 20:23:02 +0000]
Docblock touchups.

3 years agoAttempt to render prior to setting the edit cache. This prevents panes
Sam Boyer [Mon, 7 Jun 2010 20:22:57 +0000]
Attempt to render prior to setting the edit cache. This prevents panes
that cause fatal errors to fail more safely.

3 years agoMore refactoring of the display renderer. Region settings prep/expansion
Sam Boyer [Mon, 7 Jun 2010 20:22:52 +0000]
More refactoring of the display renderer. Region settings prep/expansion
is now entirely moved into the prepare phase.

3 years agoVariable name typo fix.
Sam Boyer [Mon, 7 Jun 2010 20:22:46 +0000]
Variable name typo fix.

3 years agoForgot to remove a dsm(), whoops!
Sam Boyer [Mon, 7 Jun 2010 20:22:40 +0000]
Forgot to remove a dsm(), whoops!

3 years agoDocblock updates.
Sam Boyer [Mon, 7 Jun 2010 20:22:33 +0000]
Docblock updates.

3 years agoInitial refactoring of the render pipeline to be more compartmentalized,
Sam Boyer [Mon, 7 Jun 2010 20:22:27 +0000]
Initial refactoring of the render pipeline to be more compartmentalized,
and therefore friendly to friendly to modification in child classes.

3 years agoChanged AJAX responder to use slightly more correct (though still wrong)
Sam Boyer [Mon, 7 Jun 2010 20:22:19 +0000]
Changed AJAX responder to use slightly more correct (though still wrong)
jQuery target

3 years agoMoved all display renderer plugin definitions out into separate .inc
Sam Boyer [Mon, 7 Jun 2010 20:22:13 +0000]
Moved all display renderer plugin definitions out into separate .inc
files.

3 years agoMoved display renderer plugins into separate classfiles
Sam Boyer [Mon, 7 Jun 2010 20:21:59 +0000]
Moved display renderer plugins into separate classfiles

3 years agoTurned off mad-hack to make the IPE renderer always be used; also made
Sam Boyer [Mon, 7 Jun 2010 20:21:46 +0000]
Turned off mad-hack to make the IPE renderer always be used; also made
it possible to pass a renderer in to panels_render_display().

3 years agoForgot to include default-setting logic for the ipe setting
Sam Boyer [Mon, 7 Jun 2010 20:21:41 +0000]
Forgot to include default-setting logic for the ipe setting

3 years ago"fixed" the already-sent-headers error, though I don't really know
Sam Boyer [Mon, 7 Jun 2010 20:21:36 +0000]
"fixed" the already-sent-headers error, though I don't really know
what's going on well enough to do a proper fix.

3 years agoMajor step-up in the default perms required for accessing the IPE. This
Sam Boyer [Mon, 7 Jun 2010 20:21:30 +0000]
Major step-up in the default perms required for accessing the IPE. This
will have to be significantly revisited later, but binding to page
manager permissions is safe, and therefore sufficient, for now.

3 years agoInitial rudimentary page manager integration
Sam Boyer [Mon, 7 Jun 2010 20:21:24 +0000]
Initial rudimentary page manager integration

3 years agoMore minor touchups
Sam Boyer [Mon, 7 Jun 2010 20:21:18 +0000]
More minor touchups

3 years agoodds and ends; got the handlebar to show up on newly-added blocks
Sam Boyer [Mon, 7 Jun 2010 20:21:11 +0000]
odds and ends; got the handlebar to show up on newly-added blocks

3 years agoMarkup modification; hardcoding now clearly delineates the portlet
Sam Boyer [Mon, 7 Jun 2010 20:21:06 +0000]
Markup modification; hardcoding now clearly delineates the portlet
content from the wrapper and the theme/plugin-generated markup

3 years agoRe-added the delete binding to behaviors
Sam Boyer [Mon, 7 Jun 2010 20:21:00 +0000]
Re-added the delete binding to behaviors

3 years agoWrong format for the dependencies
Sam Boyer [Mon, 7 Jun 2010 20:20:55 +0000]
Wrong format for the dependencies

3 years agoGot rid of old @render tags
Sam Boyer [Mon, 7 Jun 2010 20:20:51 +0000]
Got rid of old @render tags

3 years agoCleaned up disorganized commits of changes into teh wrong files from
Sam Boyer [Mon, 7 Jun 2010 20:20:46 +0000]
Cleaned up disorganized commits of changes into teh wrong files from
last commit. Hmm...must have gotten too much beer from drewish.

3 years agoLegacy renderer now mostly back in shape, and panels_render_pane()
Sam Boyer [Mon, 7 Jun 2010 20:20:41 +0000]
Legacy renderer now mostly back in shape, and panels_render_pane()
restored with its original functionality.

Credit for this patch goes 100% to drewish for getting me beer.

3 years agoInitial copyover of code for the legacy renderer
Sam Boyer [Mon, 7 Jun 2010 20:20:36 +0000]
Initial copyover of code for the legacy renderer

3 years agoMinor js cleanups
Sam Boyer [Mon, 7 Jun 2010 20:20:30 +0000]
Minor js cleanups

3 years agoChanged 'outermost' property to 'topParent'; hopefully a little more
Sam Boyer [Mon, 7 Jun 2010 20:20:20 +0000]
Changed 'outermost' property to 'topParent'; hopefully a little more
self-explanatory

3 years agoForgot the rather important jquery_ui dependency
Sam Boyer [Mon, 7 Jun 2010 20:20:14 +0000]
Forgot the rather important jquery_ui dependency

3 years agoCSS and markup tweaking (credit primarily to squiggy), and some other
Sam Boyer [Mon, 7 Jun 2010 20:20:09 +0000]
CSS and markup tweaking (credit primarily to squiggy), and some other
assorted bits.

3 years agoSubmit works!!!!!!!
Sam Boyer [Mon, 7 Jun 2010 20:20:02 +0000]
Submit works!!!!!!!

3 years agoUsing a more unified, saner set of classes for IPE element display
Sam Boyer [Mon, 7 Jun 2010 20:19:57 +0000]
Using a more unified, saner set of classes for IPE element display
toggling.

3 years agoMuch progress towards getting the controlling js object fully working
Sam Boyer [Mon, 7 Jun 2010 20:11:06 +0000]
Much progress towards getting the controlling js object fully working

3 years agoForgot to add the updated class name
Sam Boyer [Mon, 7 Jun 2010 20:10:46 +0000]
Forgot to add the updated class name

3 years agoReorganized IPE object logic; now designed to persist a single object
Sam Boyer [Mon, 7 Jun 2010 20:10:26 +0000]
Reorganized IPE object logic; now designed to persist a single object
through multiple editing start/stops, as needed.

3 years agoAdded one more layer of wrapping markup, this time at the super-layout
Sam Boyer [Mon, 7 Jun 2010 20:10:11 +0000]
Added one more layer of wrapping markup, this time at the super-layout
level (i.e., wrapping the output of the entire panel display)

3 years agoForgot to actually return the form back to the AJAX call
Sam Boyer [Mon, 7 Jun 2010 20:10:04 +0000]
Forgot to actually return the form back to the AJAX call

3 years agoGot rid of stupid "capacity" for capturing multiple IPE forms in the
Sam Boyer [Mon, 7 Jun 2010 20:09:55 +0000]
Got rid of stupid "capacity" for capturing multiple IPE forms in the
footer - simply zero likelihood that the IPE gets extended in that kind
of way

3 years agoBegin moving initialization logic down into the object definition
Sam Boyer [Mon, 7 Jun 2010 20:09:31 +0000]
Begin moving initialization logic down into the object definition

3 years agoStupid existing built-in dnd css has polluting padding...temporary
Sam Boyer [Mon, 7 Jun 2010 20:09:18 +0000]
Stupid existing built-in dnd css has polluting padding...temporary
override

3 years agoBasics of hiding the additional IPE elements initially, and the proper
Sam Boyer [Mon, 7 Jun 2010 20:09:04 +0000]
Basics of hiding the additional IPE elements initially, and the proper
animations for revealing them on the AHAH response

3 years agoBasic form insertion is working, though it still needs attaching in the
Sam Boyer [Mon, 7 Jun 2010 20:08:49 +0000]
Basic form insertion is working, though it still needs attaching in the
right place.

3 years agoRemoving gibberish...kitty on the keyboard?
Sam Boyer [Mon, 7 Jun 2010 20:08:35 +0000]
Removing gibberish...kitty on the keyboard?

3 years agoMinor whitespace removal
Sam Boyer [Mon, 7 Jun 2010 20:08:12 +0000]
Minor whitespace removal

3 years agoAnother incremental commit towards the form controller & wrapper.
Sam Boyer [Mon, 7 Jun 2010 20:08:03 +0000]
Another incremental commit towards the form controller & wrapper.

3 years agoIncremental commit of work on the controller form
Sam Boyer [Mon, 7 Jun 2010 20:07:52 +0000]
Incremental commit of work on the controller form

3 years agoFixed @todo; panels-ipe-proper-pane class is now added by behaviors.
Sam Boyer [Mon, 7 Jun 2010 20:07:37 +0000]
Fixed @todo; panels-ipe-proper-pane class is now added by behaviors.
Note that the approach is hacky and inefficient, and should be improved
later.

3 years agodemo, fugly, unthemed version of an 'add new pane' button now included
Sam Boyer [Mon, 7 Jun 2010 20:07:16 +0000]
demo, fugly, unthemed version of an 'add new pane' button now included

3 years agoEdit form AJAX/modal is working.
Sam Boyer [Mon, 7 Jun 2010 20:07:05 +0000]
Edit form AJAX/modal is working.

3 years agoMoved to-be-modified AJAX callbacks out from display-edit.inc.
Sam Boyer [Mon, 7 Jun 2010 20:06:40 +0000]
Moved to-be-modified AJAX callbacks out from display-edit.inc.

3 years agoIncremental refactor of the js, towards a separate, bind-able standalone
Sam Boyer [Mon, 7 Jun 2010 20:06:28 +0000]
Incremental refactor of the js, towards a separate, bind-able standalone
class.

Also added the renderer & menu callback for a single-pane render.

Other minor touchups.

3 years agoRender method didn't actually support passing in the string name of a
Sam Boyer [Mon, 7 Jun 2010 20:06:16 +0000]
Render method didn't actually support passing in the string name of a
renderer class, as it should (and as the docblock indicates)

3 years agoFixed docblock.
Sam Boyer [Mon, 7 Jun 2010 20:06:03 +0000]
Fixed docblock.

3 years agoAccidentally left in whitespace, as well as some testing cruft.
Sam Boyer [Mon, 7 Jun 2010 20:05:51 +0000]
Accidentally left in whitespace, as well as some testing cruft.

3 years agoNow firing into an object cache and capable of retrieving modal forms.
Sam Boyer [Mon, 7 Jun 2010 20:05:33 +0000]
Now firing into an object cache and capable of retrieving modal forms.
Gonna take a lot more elbow grease before it all lines up, though.

3 years agoBasic draghandle now working
Sam Boyer [Mon, 7 Jun 2010 20:05:17 +0000]
Basic draghandle now working

3 years agoBasic functionality is working.
Sam Boyer [Mon, 7 Jun 2010 20:05:05 +0000]
Basic functionality is working.

While it makes sense in retrospect, jQuery UI's sortable takes care of
generating its own draggable & droppable logic - a fact that's doesn't
seem to be presented quite as up-front as it ought to be!

3 years agoInitial commit of very rudimentary DND (mostly placeholders, not
Sam Boyer [Mon, 7 Jun 2010 20:04:53 +0000]
Initial commit of very rudimentary DND (mostly placeholders, not
actually functional)

3 years agoCatching up with the panels_render_pane() changes in the pipeline; now
Sam Boyer [Mon, 7 Jun 2010 20:04:22 +0000]
Catching up with the panels_render_pane() changes in the pipeline; now
calling a theme wrapper on processed pane output to allow arbitrary
wrapping around it.

3 years agoMoved panels_render_pane() further up in the render pipeline.
Sam Boyer [Mon, 7 Jun 2010 20:04:07 +0000]
Moved panels_render_pane() further up in the render pipeline.

This is a major change, though one that shouldn't affect any existing
Panels implementations (unless they're using region styles in a totally
unanticipated way). Rather than having style plugins with region support
call panels_render_pane() themselves on a pane content object, this
change moves that logic further up into the render pipeline and simply
passes the regions an array of already-rendered/styled/themed pane
output.

3 years agoInitial commit of the in-place-editor module.
Sam Boyer [Mon, 7 Jun 2010 20:03:49 +0000]
Initial commit of the in-place-editor module.

3 years agoSome final tweaks to get the display renderer working correctly.
Sam Boyer [Mon, 7 Jun 2010 20:03:28 +0000]
Some final tweaks to get the display renderer working correctly.

3 years agoAdded hook implementation for renderer plugins
Sam Boyer [Mon, 7 Jun 2010 20:03:14 +0000]
Added hook implementation for renderer plugins

3 years agoWhoops, left in an empty method + call that borked the whole render
Sam Boyer [Mon, 7 Jun 2010 20:03:02 +0000]
Whoops, left in an empty method + call that borked the whole render
stack.

3 years agoFinish cleaning out panels_display_get_title()
Sam Boyer [Mon, 7 Jun 2010 20:02:53 +0000]
Finish cleaning out panels_display_get_title()

3 years agoRemoved the now-obsolete panels_render_panel() function, and updated
Sam Boyer [Mon, 7 Jun 2010 20:02:44 +0000]
Removed the now-obsolete panels_render_panel() function, and updated
relevant docblocks.

3 years agoRemoved now-obsolete panels_get_pane_content() function; collapsed that
Sam Boyer [Mon, 7 Jun 2010 20:02:22 +0000]
Removed now-obsolete panels_get_pane_content() function; collapsed that
logic with its old wrapper (panels_render_pane()) into a single method
on the renderer for readability.

3 years agoRemoved the now-obsolete panels_render_pane_content() function, and
Sam Boyer [Mon, 7 Jun 2010 20:02:08 +0000]
Removed the now-obsolete panels_render_pane_content() function, and
updated appropriate docblocks.

3 years agoRemoved the now-obsolete panels_render_panes() function, and updated
Sam Boyer [Mon, 7 Jun 2010 20:01:59 +0000]
Removed the now-obsolete panels_render_panes() function, and updated
respective docblocks.

3 years agoRemoved the now-obsolete panels_render_layout().
Sam Boyer [Mon, 7 Jun 2010 20:01:47 +0000]
Removed the now-obsolete panels_render_layout().

3 years agoRemoved the now-obsolete _panels_render_display()
Sam Boyer [Mon, 7 Jun 2010 20:01:32 +0000]
Removed the now-obsolete _panels_render_display()

3 years agoReplaced panels_display_get_title() with method from the object
Sam Boyer [Mon, 7 Jun 2010 20:01:21 +0000]
Replaced panels_display_get_title() with method from the object

3 years agoAdded caching todo note
Sam Boyer [Mon, 7 Jun 2010 20:01:02 +0000]
Added caching todo note

3 years agoSmall refactor to make renderers more easily swappable.
Sam Boyer [Mon, 7 Jun 2010 20:00:25 +0000]
Small refactor to make renderers more easily swappable.

3 years agoA few small tweaks. The renderer now officially works.
Sam Boyer [Mon, 7 Jun 2010 20:00:15 +0000]
A few small tweaks. The renderer now officially works.

3 years agoChanges that make the new display renderer plugins actually get used.
Sam Boyer [Mon, 7 Jun 2010 20:00:02 +0000]
Changes that make the new display renderer plugins actually get used.

3 years agoForgot to move the .inc file to reflect new plugin and class name.
Sam Boyer [Mon, 7 Jun 2010 19:59:46 +0000]
Forgot to move the .inc file to reflect new plugin and class name.

3 years agoTitle retrieval really makes more sense to have right on the
Sam Boyer [Mon, 7 Jun 2010 19:59:33 +0000]
Title retrieval really makes more sense to have right on the
panels_display object.

3 years agoChanging from top-level object polymorphism (display controllers) to
Sam Boyer [Mon, 7 Jun 2010 19:59:17 +0000]
Changing from top-level object polymorphism (display controllers) to
encapsulated polymorphism (display renderer). Though the core effort
should probably employ top-level polymorphism, encapsulation is fine for
the current purposes, and makes backwards compat a LOT easier.

3 years agoMinor comment cleanup.
Sam Boyer [Mon, 7 Jun 2010 19:58:54 +0000]
Minor comment cleanup.

3 years agoInitial commit of the panel display object, moved into a plugin.
Sam Boyer [Mon, 7 Jun 2010 19:58:26 +0000]
Initial commit of the panel display object, moved into a plugin.

3 years agoPanels stylizer should show up in the Panels package
Earl Miles [Thu, 3 Jun 2010 16:20:12 +0000]
Panels stylizer should show up in the Panels package

3 years agoUpdated CHANGELOG for release.
Sam Boyer [Sat, 29 May 2010 00:47:52 +0000]
Updated CHANGELOG for release.

3 years agoRestored (and deprecated) panels_print_layout(), as other modules were
Sam Boyer [Thu, 27 May 2010 20:30:48 +0000]
Restored (and deprecated) panels_print_layout(), as other modules were
relying on it.