Log of /contributions/modules/draggableviews/draggableviews.inc
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.7.2.37 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Sep 7 19:14:47 2009 UTC
(2 months, 2 weeks ago)
by
sevi
Branch:
DRUPAL-6--3
CVS Tags:
DRUPAL-6--3-3-BETA1,
DRUPAL-6--3-3-BETA2
Changes since
1.7.2.36: +25 -7 lines
Diff to
previous 1.7.2.36
, to
branch point 1.7
, to
next main 1.12
Bug-Fix: The order value must be greater than the minimum value.
Refactored Handler system: Parent handler introduced. All third party handlers must be rewritten.
Book-Handler: Rewritten. First root node of the view pretends to be the root node (concerning both parent nid and order value). For saving the actual values will be restored.
Options of Native handler are now listed in a seperated section.
Revision
1.7.2.35 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 4 11:25:50 2009 UTC
(2 months, 3 weeks ago)
by
sevi
Branch:
DRUPAL-6--3
Changes since
1.7.2.34: +8 -4 lines
Diff to
previous 1.7.2.34
, to
branch point 1.7
Bug-Fix: Added variable declaration in draggableviews_info also before the handlers get loaded.
Bug-Fix: ensure theme even if style-plugin is not in use.
Added some isset() and empty() checks to get grid of "notice:" messages.
Changed position of variable-initializations to make them have a value even if the style_plugin is not in use (the theme).
Bug-Fix: All handlers: Removed non existing $field (lny used if attributes not present; was actually never used).
Revision
1.7.2.30 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Aug 17 14:37:04 2009 UTC
(3 months, 1 week ago)
by
sevi
Branch:
DRUPAL-6--3
Changes since
1.7.2.29: +24 -1 lines
Diff to
previous 1.7.2.29
, to
branch point 1.7
Row plugin is no longer supported by draggableviews.
Grouping is no longer supported by draggableviews (and also not shown in settings).
The form id will be set to .._new if the view hasn't been safed yet.
Changed some variable names and comments.
Moved drupal_add_tabledrag from .tpl.php to _theme.inc.
Moved _draggableviews_filter_fields(..) to draggableviews.inc.
Refactored the way the view gets themed. (Regardless of grouping.)
Now tabledrag Root/Leaf settings will only be specified and shown if base_table==node.
Changed error message for sort criteria: Use "Group: Field" instead of the label of the field.
Revision
1.7.2.29 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Aug 15 17:27:45 2009 UTC
(3 months, 1 week ago)
by
sevi
Branch:
DRUPAL-6--3
Changes since
1.7.2.28: +25 -17 lines
Diff to
previous 1.7.2.28
, to
branch point 1.7
#536846: Now all kinds of base tables are supported. All $node->nid was changed to $node->{$view->base_table}. The variable name $node represents any kind of a base-table {node, taxonomy_term, user,..}. Now the root/leaf stuff only makes sense in combination with node base_table.
#546142: Bug-Fix: Now new nodes can appear at the very bottom (if selected). Now the big number 99999999 is used instead of $view->total_rows (not always calculated).
Furthermore many comments changed. The code for the "to prevent copy->paste'ing" loop changed from for(..) to foreach(..).
The internal names of all views fields changed. So the cache must be cleared as well as all views must be reconfigured.
Revision
1.7.2.28 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jul 16 19:50:56 2009 UTC
(4 months, 1 week ago)
by
sevi
Branch:
DRUPAL-6--3
Changes since
1.7.2.27: +17 -16 lines
Diff to
previous 1.7.2.27
, to
branch point 1.7
BUG-FIX: Make sure that all order values are unique before draggableviews_check_order(..) assigns order values of parents. This is achieved by an unique $safe_offset (always < 1) that will be added to all order values.
BUG-FIX: The view has not been re-executed after a rebuild if paging was not used.
Revision
1.7.2.25 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Mar 26 19:17:23 2009 UTC
(8 months ago)
by
sevi
Branch:
DRUPAL-6--3
Changes since
1.7.2.24: +35 -26 lines
Diff to
previous 1.7.2.24
, to
branch point 1.7
Huge performance improvements:
The way how the view gets re-executed with extended visible window changed.
Added hook_views_pre_execute() where in case of hierarchies the view can be prepared to get entirely loaded. In case of no hierarchies the extension can be set and the view doesn't have to
be re-executed.
Revision
1.7.2.21 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Mar 15 21:52:25 2009 UTC
(8 months, 1 week ago)
by
sevi
Branch:
DRUPAL-6--3
Changes since
1.7.2.20: +18 -4 lines
Diff to
previous 1.7.2.20
, to
branch point 1.7
Setting all unused fields to a minimum isn't a task any more of _draggableviews_ascending_number() but rather a task of _draggableviews_calculate_depths(). In combination with the new task
of _draggableviews_check_order() - setting the order value of the parent node on the child-nodes level to 0 - the sorting of all nodes works reliable now.
-> No bugs any more that occur "sometimes".
Revision
1.7.2.20 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Mar 15 14:50:59 2009 UTC
(8 months, 1 week ago)
by
sevi
Branch:
DRUPAL-6--3
Changes since
1.7.2.19: +11 -12 lines
Diff to
previous 1.7.2.19
, to
branch point 1.7
New option: Choose wheter to save the expand/collapse states for all users or only for the current user.
Bug-Fix: view window has not been extended because of permissions, locked. This caused display errors. Now extensions are set to 0 and window will be extended for a minimum window.
Revision
1.7.2.19 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Mar 14 19:43:01 2009 UTC
(8 months, 1 week ago)
by
sevi
Branch:
DRUPAL-6--3
Changes since
1.7.2.18: +16 -5 lines
Diff to
previous 1.7.2.18
, to
branch point 1.7
*) New setting: Lock; The structure can be locked and hierarchy cannot be changed anymore. Expand/Collapse will be available even if user doesn't have permission or structure if locked.
The concerned fields will be hidden even if tabledrag is not applied.
*) Bug-Fix: Now collapse/expand information is available for each view seperately. The vid hasn't been saved until now. The db table changed.
*) Bug-Fix: After a click sort the view will be displayed properly.
*) Exposed fields data will be attached to form_submit. Now exposed filter are supported properly. Order fields will not be attached.
Revision
1.7.2.15 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Mar 5 22:02:19 2009 UTC
(8 months, 3 weeks ago)
by
sevi
Branch:
DRUPAL-6--3
Changes since
1.7.2.14: +443 -434 lines
Diff to
previous 1.7.2.14
, to
branch point 1.7
Many many changes to code, order of code and structure of code. Some functions were moved from .inc to .module.
Now paging is definitely implemented and supported. Nodes can be dragged from one page to an other.
Describing the single changes would end up in 30 pages of describing, so I write only this short change-log.
Revision
1.7.2.12 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Feb 20 17:38:11 2009 UTC
(9 months ago)
by
sevi
Branch:
DRUPAL-6--3
Changes since
1.7.2.11: +22 -6 lines
Diff to
previous 1.7.2.11
, to
branch point 1.7
*) Bug fixed (occured when using "items to display"). Now current view
settings will be used to _number_serially (instead of saved settings).
*) Unsaved views will not be analyzed now. After renumbering nodes
return immediately.
Revision
1.7.2.11 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Feb 16 00:00:05 2009 UTC
(9 months, 1 week ago)
by
sevi
Branch:
DRUPAL-6--3
Changes since
1.7.2.10: +48 -16 lines
Diff to
previous 1.7.2.10
, to
branch point 1.7
*) Now info array contains view object
*) Outsorced "assigning ascending numbers" in seperated function
*) If paging used: Assign ascending number for nodes of fully loaded view if broken structure detected
Revision
1.7.2.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Sep 24 22:10:14 2008 UTC
(14 months ago)
by
sevi
Branch:
DRUPAL-6--3
Changes since
1.7.2.1: +42 -36 lines
Diff to
previous 1.7.2.1
, to
branch point 1.7
draggableviews_theme.inc: added permission check on "Allow reordering" (3 times); fixed tabledrag limit (-1)
draggableviews.inc: added permission check on "allow reordering" and return if no orders defined; changed
function .._detect_order_collisions as we now use the parent as key instead of the depth; removed useless
out-commented realtimeedit code; added expand/collapsed state to info function; Bug output addded; added
some other checks
Revision
1.2
Wed Jul 16 14:59:25 2008 UTC
(16 months, 1 week ago)
by
sevi
Branch:
MAIN
Changes since
1.1: +1 -1 lines
FILE REMOVED
delete code from HEAD
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.