project/panels.git
5 years agoPartial forward-port of #307892 by hass and sun.
Sam Boyer [Sun, 5 Oct 2008 20:30:39 +0000]
Partial forward-port of #307892 by hass and sun.

5 years ago(Forward-port from D5 logic fixes) Updated _panels_page_update() to cope with the...
Sam Boyer [Sat, 20 Sep 2008 04:29:37 +0000]
(Forward-port from D5 logic fixes) Updated _panels_page_update() to cope with the new use of the $panel_page->export property.

5 years ago(Forward-port from D5 logic fixes) Updated panels_page_save_display() to cope with...
Sam Boyer [Sat, 20 Sep 2008 04:28:30 +0000]
(Forward-port from D5 logic fixes) Updated panels_page_save_display() to cope with the new use of the $panel_page->export property.

5 years agoForward port from D5 of some minor bugfixes to the display fetching logic.
Sam Boyer [Sat, 20 Sep 2008 04:22:37 +0000]
Forward port from D5 of some minor bugfixes to the display fetching logic.

5 years ago#309452: "permission" access control plugin pulled permission from wrong variable.
Earl Miles [Wed, 17 Sep 2008 00:28:39 +0000]
#309452: "permission" access control plugin pulled permission from wrong variable.

5 years ago#307515 by Darren Oh: Skip "serial" fields on insert.
Earl Miles [Tue, 16 Sep 2008 22:52:14 +0000]
#307515 by Darren Oh: Skip "serial" fields on insert.

5 years ago#307013: Fix translated nodes not appearing.
Earl Miles [Tue, 16 Sep 2008 22:46:42 +0000]
#307013: Fix translated nodes not appearing.

5 years agoUpdate for Views 2 rc2 API
Earl Miles [Tue, 16 Sep 2008 22:24:33 +0000]
Update for Views 2 rc2 API

5 years agoAdded latest 5.x-2-x translation
hass [Sat, 13 Sep 2008 17:27:34 +0000]
Added latest 5.x-2-x translation

5 years agoLast-minute notes and wording changes before releasing Alpha1. 6.x-2.0-alpha1
Sam Boyer [Thu, 4 Sep 2008 02:45:24 +0000]
Last-minute notes and wording changes before releasing Alpha1.

5 years agoMiscellaneous notice cleanups, flexible.incfixes, an aborted attempt at doing preview...
Earl Miles [Wed, 3 Sep 2008 22:31:48 +0000]
Miscellaneous notice cleanups, flexible.incfixes, an aborted attempt at doing preview that needs more thought.

5 years agoWrapper for the exporter, and a quasi-incremental oogly commit on the preview stuff.
Sam Boyer [Wed, 3 Sep 2008 02:16:46 +0000]
Wrapper for the exporter, and a quasi-incremental oogly commit on the preview stuff.

5 years agoRefactoring of the fallback router system - it now works, at least for node overrides!
Sam Boyer [Wed, 3 Sep 2008 02:15:59 +0000]
Refactoring of the fallback router system - it now works, at least for node overrides!

5 years agoMade exporter use fetchers to do its dirty work.
Sam Boyer [Wed, 3 Sep 2008 02:15:40 +0000]
Made exporter use fetchers to do its dirty work.

5 years agoSticking with older, more familiar tabs layout for now.
Sam Boyer [Wed, 3 Sep 2008 02:15:04 +0000]
Sticking with older, more familiar tabs layout for now.

5 years agoDon't need Doug's update function, as this was all pre-release
Sam Boyer [Wed, 3 Sep 2008 02:14:07 +0000]
Don't need Doug's update function, as this was all pre-release

5 years agoChanged post-arg context build check to be aware of the fact that we now use error...
Sam Boyer [Wed, 3 Sep 2008 02:13:19 +0000]
Changed post-arg context build check to be aware of the fact that we now use error codes for argument plugins, and it should only load add'l contextual data if the return is an object (aka, isn't numeric)

5 years agoAdded ALPHA warning, just in case people miss all the other signs, too...
Sam Boyer [Wed, 3 Sep 2008 02:09:24 +0000]
Added ALPHA warning, just in case people miss all the other signs, too...

5 years agoFix to the panel_page deletion link, and some title cleanups. Other tidbits.
Sam Boyer [Tue, 2 Sep 2008 21:26:00 +0000]
Fix to the panel_page deletion link, and some title cleanups. Other tidbits.

5 years agoUpdated panels_load_include() to prevent the re-inclusion of already-loaded include...
Sam Boyer [Tue, 2 Sep 2008 21:24:34 +0000]
Updated panels_load_include() to prevent the re-inclusion of already-loaded include files. Hackish, but eh.

5 years agoMajor cleanup, moved several more functions out to include files, removed some crufty...
Sam Boyer [Tue, 2 Sep 2008 21:21:56 +0000]
Major cleanup, moved several more functions out to include files, removed some crufty ones. Also refactored the master loader itself some more.

5 years agoGot rid of a leftover use of $panel_page->pid, and updated the alternate admin menu...
Sam Boyer [Tue, 2 Sep 2008 21:19:44 +0000]
Got rid of a leftover use of $panel_page->pid, and updated the alternate admin menu structure to the current approach.

5 years agoMoved menu_rebuild() call to the end of panels_page_delete()
Sam Boyer [Tue, 2 Sep 2008 21:19:00 +0000]
Moved menu_rebuild() call to the end of panels_page_delete()

5 years agoMoved panels_page_access() and panels_page_get_title() into the read inc; also made...
Sam Boyer [Tue, 2 Sep 2008 21:18:21 +0000]
Moved panels_page_access() and panels_page_get_title() into the read inc; also made temporary modifications to the former that (hackishly) cope with the pre-emptive access checking on all links.

5 years ago#299674 by wulff: Fixed panels_mini install typos.
Sam Boyer [Tue, 2 Sep 2008 21:06:37 +0000]
#299674 by wulff: Fixed panels_mini install typos.

5 years agoStupid (evidently) unncessary call to panels_context_load_contexts() seems to have...
Sam Boyer [Mon, 1 Sep 2008 00:17:28 +0000]
Stupid (evidently) unncessary call to panels_context_load_contexts() seems to have been the whole problem. Contexts are now being loaded properly...YAAAAAAAR!!!!!!!

This means we may well be ready for the first alpha release...

5 years agoSome refactoring, partially to accommodate changes suggested by douggreen. The basic...
Sam Boyer [Sun, 31 Aug 2008 23:59:50 +0000]
Some refactoring, partially to accommodate changes suggested by douggreen. The basic context-loading problem has not yet been solved, however.

5 years agoby douggreen: D6 menu system compliance.
Sam Boyer [Sun, 31 Aug 2008 23:28:35 +0000]
by douggreen: D6 menu system compliance.

5 years agoby douggreen: D6 menu and cache system compliance.
Sam Boyer [Sun, 31 Aug 2008 23:28:25 +0000]
by douggreen: D6 menu and cache system compliance.

5 years agoby douggreen: D6 compliance with changes in url() function signature.
Sam Boyer [Sun, 31 Aug 2008 23:27:48 +0000]
by douggreen: D6 compliance with changes in url() function signature.

5 years agoby douggreen: typo fix and E_NOTICE fix.
Sam Boyer [Sun, 31 Aug 2008 15:51:43 +0000]
by douggreen: typo fix and E_NOTICE fix.

5 years agoby douggreen: D6 FAPI and l(), url() compliance.
Sam Boyer [Sun, 31 Aug 2008 15:50:55 +0000]
by douggreen: D6 FAPI and l(), url() compliance.

5 years agoby douggreen: D6 FAPI compliance.
Sam Boyer [Sun, 31 Aug 2008 15:49:30 +0000]
by douggreen: D6 FAPI compliance.

5 years agoby douggreen: re-added missing callback property to the validate function. Might...
Sam Boyer [Sun, 31 Aug 2008 15:45:45 +0000]
by douggreen: re-added missing callback property to the validate function. Might actually not be necessary...we'll see.

5 years agoD6 FAPI compliance updates
Sam Boyer [Sun, 31 Aug 2008 15:44:36 +0000]
D6 FAPI compliance updates

5 years agoby douggreen: Updated to use new core function taxonomy_vocabulary_load()
Sam Boyer [Sun, 31 Aug 2008 14:49:13 +0000]
by douggreen: Updated to use new core function taxonomy_vocabulary_load()

5 years agoby douggreen: FAPI updates.
Sam Boyer [Sun, 31 Aug 2008 14:48:29 +0000]
by douggreen: FAPI updates.

5 years agoby douggreen: Removed additional t() calls; added str_replace() to exporter to match...
Sam Boyer [Sun, 31 Aug 2008 14:30:54 +0000]
by douggreen: Removed additional t() calls; added str_replace() to exporter to match coding standards.

5 years agoMore pertinent sample implementation of hook_panels_include_directory() added
Sam Boyer [Sat, 30 Aug 2008 10:26:27 +0000]
More pertinent sample implementation of hook_panels_include_directory() added

5 years agoupdated docblock on panels_load_hooks with specifics on preferred usage
Sam Boyer [Sat, 30 Aug 2008 10:19:09 +0000]
updated docblock on panels_load_hooks with specifics on preferred usage

5 years agoupdated docblocks on panels_get_include_directories and panels_panels_include_directory
Sam Boyer [Sat, 30 Aug 2008 10:05:48 +0000]
updated docblocks on panels_get_include_directories and panels_panels_include_directory

5 years agoAdded note that the new typed node context is broken...
Sam Boyer [Mon, 25 Aug 2008 04:13:16 +0000]
Added note that the new typed node context is broken...

5 years agoFix-ups to save routines, other small but important items.
Sam Boyer [Mon, 25 Aug 2008 04:12:28 +0000]
Fix-ups to save routines, other small but important items.

Save routines should now pretty much be functional. The problems appear to now pretty much be limited to context loading/generation at render time. It's not clear if the problem is with panels_page logic, the Panels engine, or some squirrely D6 changes.

5 years agoGot rid of potentially php4 problematic curly braces.
Sam Boyer [Sat, 23 Aug 2008 01:11:02 +0000]
Got rid of potentially php4 problematic curly braces.

5 years agoRemoved some calls to debugging functions that made it in.
Sam Boyer [Sat, 23 Aug 2008 00:57:55 +0000]
Removed some calls to debugging functions that made it in.

5 years agoCheckpoint checkin. Slightly less broken panels_page, but not that much less broken.
Earl Miles [Fri, 22 Aug 2008 22:37:18 +0000]
Checkpoint checkin. Slightly less broken panels_page, but not that much less broken.

5 years agoRolling back addition of braces to panels_load_include()
Sam Boyer [Fri, 22 Aug 2008 12:39:03 +0000]
Rolling back addition of braces to panels_load_include()

5 years agoremoved too over-cleverness from the fetch* functions
Sam Boyer [Thu, 21 Aug 2008 21:25:54 +0000]
removed too over-cleverness from the fetch* functions

5 years agocrufty, residual code from when we had a router quickref table removed
Sam Boyer [Thu, 21 Aug 2008 20:10:56 +0000]
crufty, residual code from when we had a router quickref table removed

5 years agoLast commit was weird and crufty, dunno why. This should fix it.
Sam Boyer [Thu, 21 Aug 2008 05:21:50 +0000]
Last commit was weird and crufty, dunno why. This should fix it.

5 years agoFixed up panels_page_save() and affiliated functions. They SHOULD now work with the...
Sam Boyer [Thu, 21 Aug 2008 05:19:43 +0000]
Fixed up panels_page_save() and affiliated functions. They SHOULD now work with the new system.

5 years agoForgot some of the edits while forward-porting.
Sam Boyer [Tue, 19 Aug 2008 15:17:34 +0000]
Forgot some of the edits while forward-porting.

5 years agoChanged name of argument error code constants slightly; added brackets in panels_load...
Sam Boyer [Tue, 19 Aug 2008 15:16:13 +0000]
Changed name of argument error code constants slightly; added brackets in panels_load_include() for clarity.

5 years agoIncremental commit, lots more odds and ends.
Sam Boyer [Tue, 19 Aug 2008 15:15:20 +0000]
Incremental commit, lots more odds and ends.

5 years agoFixed an old error code constant; relocated the handlers to higher up in the file...
Sam Boyer [Tue, 19 Aug 2008 15:13:02 +0000]
Fixed an old error code constant; relocated the handlers to higher up in the file; moved sanitizer back into this main file, other odds and ends.

5 years agoUpdated with renamed argument error codes.
Sam Boyer [Tue, 19 Aug 2008 14:57:58 +0000]
Updated with renamed argument error codes.

5 years agoForward port of changes made to node context.
Sam Boyer [Tue, 19 Aug 2008 14:43:56 +0000]
Forward port of changes made to node context.

5 years agoUpdated function signatures to include $subtype as first parameter; also cleaned...
Sam Boyer [Tue, 19 Aug 2008 07:04:10 +0000]
Updated function signatures to include $subtype as first parameter; also cleaned up repetitive copy/pasted docblocks on many render callbacks.

5 years agoDocblock updates and changes in code style for references to match merlin's ($a ...
Sam Boyer [Tue, 19 Aug 2008 06:25:59 +0000]
Docblock updates and changes in code style for references to match merlin's ($a = &$b instead of $a =& $b)

5 years agoPanels page have any of its own ajax - it's all done by the panels engine. This file...
Sam Boyer [Tue, 19 Aug 2008 04:55:19 +0000]
Panels page have any of its own ajax - it's all done by the panels engine. This file was superfluous.

5 years agoRewrote master loader to accommodate static panel_pages; rewrote admin loaders to...
Sam Boyer [Tue, 19 Aug 2008 04:27:28 +0000]
Rewrote master loader to accommodate static panel_pages; rewrote admin loaders to accomodate changes in menu arg processing; moved several more functions out into their respective inc files; added a bunch more docblocks.

5 years agoUpdated panels_page_load() to make use of a fetcher when called on an already-cached...
Sam Boyer [Tue, 19 Aug 2008 04:25:50 +0000]
Updated panels_page_load() to make use of a fetcher when called on an already-cached $panel_page that doesn't have the primary display loaded, although that use case is deprecated and should be avoided (for the sake of clarity). Other than that, mostly minor touch-ups.

5 years agoIncremental commit - added a few missing inc loaders; also added the import page...
Sam Boyer [Tue, 19 Aug 2008 04:19:59 +0000]
Incremental commit - added a few missing inc loaders; also added the import page form. Next - fixing all the submit functions! yay...

5 years agoTouch-up and fixing a stupid math error3
Sam Boyer [Tue, 19 Aug 2008 03:20:26 +0000]
Touch-up and fixing a stupid math error3

5 years agoJust trimming out some cruft.
Sam Boyer [Tue, 19 Aug 2008 03:06:15 +0000]
Just trimming out some cruft.

5 years agoSmall docblock touchup.
Sam Boyer [Tue, 19 Aug 2008 02:54:04 +0000]
Small docblock touchup.

5 years agoSmall tweaks and touch-ups; also condensed some of the logic for embedded forms.
Sam Boyer [Tue, 19 Aug 2008 02:47:26 +0000]
Small tweaks and touch-ups; also condensed some of the logic for embedded forms.

5 years ago'Write' functions - functions that are concerned with putting data in the database...
Sam Boyer [Tue, 19 Aug 2008 02:46:08 +0000]
'Write' functions - functions that are concerned with putting data in the database, or some other form of storage. The latter is the conceptual justification for putting export functions in here, too...which was originally done for practical reasons :)

5 years agoDitch the router quickref table, totally unnecessary now.
Sam Boyer [Tue, 19 Aug 2008 02:37:46 +0000]
Ditch the router quickref table, totally unnecessary now.

5 years agoUpdated with info about argument plugin error codes.
Sam Boyer [Tue, 19 Aug 2008 02:34:31 +0000]
Updated with info about argument plugin error codes.

5 years agoFinishing up with the 'fetch' functions
Sam Boyer [Tue, 19 Aug 2008 02:01:43 +0000]
Finishing up with the 'fetch' functions

5 years agoInit import; all functions dealing with retrieval & rearrangement of panels_page...
Sam Boyer [Tue, 19 Aug 2008 01:26:15 +0000]
Init import; all functions dealing with retrieval & rearrangement of panels_page-related data is contained here.

The panels_page_fetch*() family of functions were also notably refactored from when they last appeared in the panels_page.module file; they are now much more targeted, single-purpose entities with clear inputs and outputs. See the docblock additions for details.

5 years agoView panes display plugin. Note that this checkin may break a bunch of content types...
Earl Miles [Mon, 18 Aug 2008 23:37:24 +0000]
View panes display plugin. Note that this checkin may break a bunch of content types because I added $subtype to some content type declarations and need to go through all the content types and update the render and title functions.

5 years agoIncremental commit. Stripped a TON of stuff out into 'write' and 'read' include files.
Sam Boyer [Mon, 18 Aug 2008 21:39:14 +0000]
Incremental commit. Stripped a TON of stuff out into 'write' and 'read' include files.

5 years agoIncremental commit; added new loader function designed to grab edit-cache data instea...
Sam Boyer [Mon, 18 Aug 2008 20:56:32 +0000]
Incremental commit; added new loader function designed to grab edit-cache data instead of static-db data.

5 years agoCreated a second admin loader for callbacks that need to generate an edit cache ...
Sam Boyer [Mon, 18 Aug 2008 20:55:24 +0000]
Created a second admin loader for callbacks that need to generate an edit cache (for ajax callbacks)

5 years agoIncremental commit; refactored most of the admin callbacks to be (partially) complian...
Sam Boyer [Mon, 18 Aug 2008 20:54:00 +0000]
Incremental commit; refactored most of the admin callbacks to be (partially) compliant with FAPI, and to deal with the new logic-at-the-loader-level approach.

5 years agoAdded missing panels_load_include('ajax') call.
Sam Boyer [Mon, 18 Aug 2008 19:14:16 +0000]
Added missing panels_load_include('ajax') call.

5 years agoForward port of the update to panels_export_display() - disappearance of the 'name...
Sam Boyer [Mon, 18 Aug 2008 10:54:02 +0000]
Forward port of the update to panels_export_display() - disappearance of the 'name' field still needs investigation.

5 years agoFixed a dumb typo, some other small-scale cleanup.
Sam Boyer [Mon, 18 Aug 2008 10:53:08 +0000]
Fixed a dumb typo, some other small-scale cleanup.

5 years agoIncremental commit. Added separate static cache for loaded panels_pages and took...
Sam Boyer [Mon, 18 Aug 2008 10:52:35 +0000]
Incremental commit. Added separate static cache for loaded panels_pages and took steps to ensure consistency in its data. Some additional docblocks, and other small touchups.

5 years agoSwitched to while loop for the big iterator in hook_menu_alter(), as it's a shade...
Sam Boyer [Mon, 18 Aug 2008 10:51:21 +0000]
Switched to while loop for the big iterator in hook_menu_alter(), as it's a shade faster.

5 years agoIncremental commit. Slowly hacking away at the FAPI changes.
Sam Boyer [Mon, 18 Aug 2008 10:50:40 +0000]
Incremental commit. Slowly hacking away at the FAPI changes.

I'm probably going to write a single FAPI pass-thru for all or most of the individual admin form page callbacks. Eventually.

5 years agoAdded an !empty() call for E_NOTICE compliance.
Sam Boyer [Mon, 18 Aug 2008 10:33:41 +0000]
Added an !empty() call for E_NOTICE compliance.

5 years agoTweaked pane rendering to skip creating a title if no title was returned by the pane...
Sam Boyer [Mon, 18 Aug 2008 04:50:31 +0000]
Tweaked pane rendering to skip creating a title if no title was returned by the pane render callback.

5 years agoReplaced call to sizeof() function with count().
Sam Boyer [Mon, 18 Aug 2008 02:04:42 +0000]
Replaced call to sizeof() function with count().

5 years agoFixed the $map (as in the drupal menu system's $map concept) rebuilder.
Sam Boyer [Mon, 18 Aug 2008 00:25:25 +0000]
Fixed the $map (as in the drupal menu system's $map concept) rebuilder.

5 years agoIncremental commit:
Sam Boyer [Sun, 17 Aug 2008 23:16:18 +0000]
Incremental commit:

1. Expunged all render-time uses of quickref, since we're abandoning that method.
2. Added calls to load the display along with the panel page for admin screens.
3. Added a bit of docblock.

5 years agoIncremental commit; docblock tweaks, and minor refactor of one validator (which has...
Sam Boyer [Sun, 17 Aug 2008 22:34:24 +0000]
Incremental commit; docblock tweaks, and minor refactor of one validator (which has been backported, minus string changes).

5 years agoRolled back earlier changes to admin path schema - $panel_page->name now precedes...
Sam Boyer [Sun, 17 Aug 2008 21:31:12 +0000]
Rolled back earlier changes to admin path schema - $panel_page->name now precedes the action verb (e.g. edit, export) again.

5 years agoQuickref table is now completely deprecated; just keeping it for the moment to be...
Sam Boyer [Sun, 17 Aug 2008 08:27:27 +0000]
Quickref table is now completely deprecated; just keeping it for the moment to be sure.

5 years agoReinstated the %map arg on several admin callbacks; changed the storage mechanism...
Sam Boyer [Sun, 17 Aug 2008 08:26:27 +0000]
Reinstated the %map arg on several admin callbacks; changed the storage mechanism for the loader flags;

5 years agoShifted the css filter into its own separate function for reusability.
Sam Boyer [Sun, 17 Aug 2008 08:25:22 +0000]
Shifted the css filter into its own separate function for reusability.

5 years agoScratched a couple more unneeded bits from the mask. Moved mask storage directly...
Sam Boyer [Sun, 17 Aug 2008 08:23:46 +0000]
Scratched a couple more unneeded bits from the mask. Moved mask storage directly into the panels_page table, and updated load functions accordingly.

5 years agoKilled some more of the unnecssary bitmask items; fixed typos; improved hook_menu...
Sam Boyer [Sun, 17 Aug 2008 07:03:27 +0000]
Killed some more of the unnecssary bitmask items; fixed typos; improved hook_menu() readability; safely reconstituted the panels_page_get_current() function for API consistency from D5.

5 years agoConsiderable refactoring. The separation between logic/loading functions and renderin...
Sam Boyer [Sun, 17 Aug 2008 06:59:13 +0000]
Considerable refactoring. The separation between logic/loading functions and rendering functions is almost complete, now.

5 years agoFix to build-breaking bug in last commit (can't use function return values in write...
Sam Boyer [Sun, 17 Aug 2008 03:37:22 +0000]
Fix to build-breaking bug in last commit (can't use function return values in write context)

5 years agoFixes for E_NOTICE compliance with $load_data. Moved access check to later in the...
Sam Boyer [Sun, 17 Aug 2008 03:33:39 +0000]
Fixes for E_NOTICE compliance with $load_data. Moved access check to later in the master loader; we don't want Panels denying access to things that it's not overriding!

5 years agoForgot to update replace instance of $quickref->meta with $quickref->flags
Sam Boyer [Sun, 17 Aug 2008 02:50:51 +0000]
Forgot to update replace instance of $quickref->meta with $quickref->flags

5 years agoForward-ported an E_NOTICE fix and logic improvements to panels_page_load().
Sam Boyer [Sun, 17 Aug 2008 02:49:17 +0000]
Forward-ported an E_NOTICE fix and logic improvements to panels_page_load().