Skip to content

Commit b043208

Browse files
committed
initial upload, interface fixed, D&D working, ToDo CSS&JS
Change-Id: I24f02e195db9930e47b020415c24a540716c5739 Reviewed-on: https://review.typo3.org/18848 Reviewed-by: Jo Hasenau Tested-by: Jo Hasenau
1 parent bc5e369 commit b043208

File tree

95 files changed

+12594
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+12594
-0
lines changed

ChangeLog

+219
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,219 @@
1+
1.4.0 2013-03-08 Jo Hasenau <[email protected]>
2+
3+
Fixed: Issue #46060 Allowed param in backend_layout is not respected
4+
Fixed: Issue #46027 tx_gridelements_layoutsetup and Singleton
5+
Fixed: Issue #45912 Save flexform when creating gridelements CE with drag&drop feature
6+
Fixed: Issue #45911 "Invalid value" when adding a gridelements CE in another gridelements CE
7+
Fixed: Issue #45768 Wrong position of icons
8+
Fixed: Issue #45650 Content element type select shows "INVALID VALUE"
9+
Fixed: Issue #45594 No drop zone when create a grid CE with the new content icon at the top of the page
10+
Fixed: Issue #45593 cType is lost when adding new element from the "New record after this one" icon
11+
Added: Feature #45592 Add an option to show empty column in frontend
12+
Fixed: Issue #45546 "Copy content from another page" Bug
13+
Fixed: Issue #45461 Column order is broken in frontend
14+
Fixed: Issue #45385 Content element type select shows "INVALID VALUE" after installing gridelements
15+
Fixed: Issue #45344 TCAdefaults not taken into Account
16+
Fixed: Issue #45229 Collapse icon for long tables doubled
17+
Fixed: Issue #45080 Allow to xclass existing xclass
18+
Fixed: Issue #44782 Gridelements removes all CTypes
19+
Fixed: Issue #44780 MySQL error at opening an CE
20+
Fixed: Issue #44707 Backend List View on page with Grid FCE List View Blank
21+
Fixed: Issue #44486 New Content Element - select type [ INVALID VALUE ("text")]
22+
Fixed: Issue #44437 Problems when configuring more than one grid as "not assigned"
23+
Fixed: Issue #43553 Database is not extended upon installation within V 6.0.1dev
24+
Fixed: Issue #43202 child elements in grid containers, not visible in workspace
25+
Fixed: Issue #42675 CEs not shown in Web -> List
26+
Fixed: Issue #42637 Gridelements disable alle BE Item previews...
27+
Added: Suggestion #42494 Performance: Add index to tt_content::tx_gridelements_container
28+
Fixed: Issue #42137 cObj:parentRecordNumber remains 1
29+
Fixed: Issue #41937 Wrong cell insertion for colPos > 255
30+
Fixed: Issue #41588 Errors in documentation
31+
Added: Feature #41390 Dutch translation locallang_db.xml
32+
Added: Feature #41342 "Language"-View
33+
Fixed: Issue #40875 FE, Call to undefined method tslib_cObj::getCurrentTable
34+
Fixed: Issue #40839 Fileupload in Flexform stores absolute filepath
35+
Fixed: Issue #40049 tx_gridelements_TCEmainHook->getAvailableColumns throws errors
36+
Added: Feature #40008 Flexform input can be file, use this or the raw input
37+
Added: Feature #40007 accept include typoscript file references
38+
Added: Feature #40006 Allow rendering of content using Fluid
39+
Added: Feature #39887 Semantic grid by awareness of content
40+
Fixed: Issue #39693 Exception from tx_gridelements_drawItemHook when reference is deleted
41+
Added: Feature #39672 flexform typoscript example
42+
Fixed: Issue #39601 new_content_el Wizard does not work if TYPO3 is installed in subfolder of webroot
43+
Fixed: Issue #39333 Class tx_gridelements_layoutsetup does not exist
44+
Fixed: Issue #39259 Hidden content element can not be moved with drag and drop
45+
Fixed: Issue #39257 JS error with copy/paste, when backend column is "Nicht zugewiesen"
46+
Fixed: Issue #39251 Images fails in 6.0
47+
Fixed: Issue #39094 col Pos gets lost after cut and paste
48+
Fixed: Issue #39064 "Top Level Layout" has no effect while d'n'd
49+
Fixed: Issue #38943 Gridelement column lost on element edit with no right on the field colpos
50+
Fixed: Issue #37999 Integration of CSH-File ominous
51+
Fixed: Issue #37883 Unable to un-hide CE after translation in gridlement
52+
Fixed: Issue #37878 Backend: Column relation lost after translation
53+
Added: Feature #37876 Backend: Pagemodul language view
54+
Fixed: Issue #37486 Conflict with foreign_table and itemsProcFunc
55+
Fixed: Issue #37371 Drag'n Drop and Workspaces
56+
Added: Feature #37350 Get a reference to content from a given page
57+
Fixed: Issue #37232 Rendering problem grids ans typoscript
58+
Added: Feature #36948 Make nested content elements collapsible
59+
Fixed: Issue #36910 Problems with translation
60+
Fixed: Issue #36803 possible to define a storagepage for the gridelements
61+
Added: Feature #36725 Improve rendering
62+
Fixed: Issue #36551 Assignment of CE grid elements to grid container not working
63+
Added: Feature #36332 Default 'NEW' header for grid element
64+
Fixed: Issue #36330 Warning in page module with TYPO3 4.7
65+
Fixed: Issue #35997 Copy & paste into grid columns does not work for translated elements
66+
Added: Feature #35994 Have the page jump to the drop position after reloading
67+
Added: Feature #35967 Make path to skin CSS configurable in EM
68+
Fixed: Issue #35958 Error Drag & drop in 6.0
69+
Added: Feature #35948 Implement a "get me a copy from another page" function
70+
Added: Feature #35946 Resize the drop zones to make them accessible
71+
Added: Feature #35670 Add flexform configuration as a file
72+
Fixed: Issue #34109 PHP Warning: strcmp() expects parameter 1 to be string
73+
Added: Feature #33940 Multiple selection for "Allowed CE"
74+
Fixed: Issue #33329 Content not visible in backend or frontend grid after creating it in the backend grid
75+
Added: Feature #32388 Sorting of CE
76+
Added: Feature #30227 Show grid elements as folders containing elements when in list view
77+
78+
1.3.12 2012-04-27 Jo Hasenau <[email protected]>
79+
80+
* fixed broken D&D move actions introduced with 1.3.10
81+
82+
1.3.11 2012-04-25 Jo Hasenau <[email protected]>
83+
84+
* fixed dependency issues
85+
* fixed manual
86+
* fixed coding guideline issues
87+
88+
1.3.10 2012-04-18 Rocco Georgi <[email protected]>, Jo Hasenau <[email protected]>
89+
90+
* fixed issue #35959 Localize labels completely (Thanks to Marc von Schalscha)
91+
* fixed issue #36144 Move in list-view: moved elements are still there
92+
93+
1.3.7 2012-04-16 Jo Hasenau <[email protected]>
94+
95+
* added manual.sxw and manual.pdf - TypoScript and TSconfig sections still missing
96+
* prepared tce_main hook functions for an upcoming patch that will fix problems while importing T3D packages containing grid elements
97+
98+
1.3.6 2012-03-30 Jo Hasenau <[email protected]>
99+
100+
* fixed problems with Grid Container column being "not allowed" in case people were using no backend layout but their own TSconfig for colPos items
101+
102+
1.3.5 2012-03-28 Jo Hasenau <[email protected]>
103+
104+
* fixed problems while moving records introduced with the last fix
105+
106+
1.3.4 2012-03-23 Jo Hasenau <[email protected]>
107+
108+
* fixed problems while moving records
109+
* fixed problems while moving records between pages
110+
111+
1.3.3 2012-03-13 Rocco Georgi <[email protected]>, Jo Hasenau <[email protected]>
112+
113+
* fixed issue #34934 Does not scroll during drag
114+
* fixed issue #34719 Removed TS for non existing HTML template
115+
* fixed issue #34785 user setting (hideColumnheaders) does not work
116+
* fixed issue #34868 wrong tabindex of wizard input fields
117+
* fixed issue #34810 copy/cut/paste problems with multiple clicks on the copy/cut links of the same element
118+
* fixed issue #34810 copy/paste problem across pages (insert on copy source page)
119+
* some trailing whitespace cleanup
120+
121+
1.3.2 2012-03-06 Jo Hasenau <[email protected]>
122+
123+
* fixed missing class instantiation
124+
125+
1.3.1 2012-03-06 Jo Hasenau <[email protected]>
126+
127+
* Removed console log and debug output
128+
129+
1.3.0 2012-03-05 Jo Hasenau <[email protected]>
130+
131+
* Fixed Bug #34045 Bug when no translation exists
132+
* Fixed Bug #34109 PHP Warning: strcmp() expects parameter 1 to be string
133+
* Fixed Bug #33364 Drag and drop initiation breaks with "cannot call hasClass on null"
134+
* Fixed Bug #34045 Bug when no translation exists
135+
* Feature #32354 Show Grid Layout
136+
* Fixed Bug #32355 Grid Columns lost
137+
* Fixed Bug #33388 Drop zone - sorting related
138+
* Fixed Bug #32388 Sorting of CE
139+
* Feature #33389 Add new content element within container
140+
* Fixed Bug #33490 Attribute name of "icon(s)" in class.tx_gridelements_layoutsetup.php
141+
* Fixed Bug #33402 Column layout broken if page languages overview is selected
142+
143+
1.2.3 Jo Hasenau <[email protected]>
144+
145+
* Fixed: Issue #33319 by reverting the particular file to version 1.1.0
146+
147+
1.2.2 Jo Hasenau <[email protected]>
148+
149+
* Fixed: Issue #33301 getLL has been replaced with a non existing function name
150+
151+
1.2.1 Jo Hasenau <[email protected]>
152+
153+
* Fixed: Empty columns show their numbers in the FE
154+
155+
1.2.0 Jo Hasenau <[email protected]>, Rocco Georgi <[email protected]>, Arno Dudek <[email protected]>, Julian Kleinhans
156+
157+
* Added: Issue #32835 Missing language overlay and versioning preview support
158+
* Fixed: Removal of unused variables and code cleanup
159+
* Fixed: Sorting problem with nested grid tables that don't use ascending column order
160+
* Fixed: Issue #32241 bug in class.tx_gridelements_tcemainhook.php
161+
* Fixed: Issue #32355 Grid columns lost
162+
* Fixed: Issue #31804 Error while saving container
163+
* Added: Issue #30830 Localized column name
164+
* Fixed: Issue #30923 Wrong column wrapping
165+
* Added: Paste reference after for click menus
166+
* Added: Issue #32510 Parent data access
167+
* Added: Paste reference into for page and grid columns
168+
* Added: Usage of large icons for the drag in wizard overlays
169+
170+
1.1.0 2011-11-07 Jo Hasenau <[email protected]>, Rocco Georgi <[email protected]>
171+
172+
* Fixed: $BACK_PATH issue with symlinked filesystem, now there's a $BACK_PATH_ABS variable - only used for PHP requires
173+
* Fixed: backend layout wizard was linked to typo3/ext for some reason, path edited to use t3lib_extMgm::extRelPath($_EXTKEY)
174+
* Fixed: handling of "unused elements" in colPos -2 is wrong
175+
* Fixed: number of child elements is not updated while creating new children
176+
* Added: server time for future reload-less DnD (page edit time will be compared against this)
177+
* Added: templates for future reload-less DnD of new content elements
178+
* Added: options to switch reloads and templates off for future reload-less DnD
179+
* Added: exclude current parent of dragged element from targets (drop now has no effect/does not reload)
180+
181+
1.0.0 2011-10-10 Jo Hasenau <[email protected]>, Rocco Georgi <[email protected]>
182+
183+
* Fixed different bugs with D&D in IE8
184+
* Fixed the handling of the layout wizard BACK_PATH for global and local installs of the extension
185+
* Fixed bug: Dragging in of new elements after elements outside of grid containers does not work
186+
187+
0.6.0 2011-10-09 Jo Hasenau <[email protected]>
188+
189+
* Drag In of new content elements complete
190+
* Just activate the drag in wizard by clicking on the "create new content element" icon on top of the page
191+
192+
0.5.0 2011-10-09 Jo Hasenau <[email protected]>
193+
194+
* lots of improvements to the D&D feature
195+
* Drag & Drop works properly now including copying with CTRL-key pressed
196+
* Grid containers are updated and logged as well during actions of a child element between one or two container(s)
197+
* Basic concept for Drag In of new elements is already in the code base but still deactivated
198+
* Still some cosmetical things to do
199+
200+
201+
0.4.0 2011-09-19 Rocco Georgi <[email protected]>
202+
203+
* added basic JS for drag-and-drop
204+
205+
0.3.0 2011-09-16 Jo Hasenau <[email protected]>
206+
207+
* Just a double upload during the security fix phase
208+
209+
0.2.0 2011-09-06 Jo Hasenau <[email protected]>
210+
211+
* Security fix
212+
213+
0.1.0 2011-09-06 Jo Hasenau <[email protected]>
214+
215+
* Initial upload. Grid view for CE works completely.
216+
* D&D, FE output via TS/plugin and manual still pending.
217+
* Can be installed together with TV but will disable some of the TV hooks, which is the reason for the message during the install.
218+
* So you can still migrate from TV to the new structures before removing TV.
219+

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
gridelements2
2+
=============
3+
4+
Gridelements2 Code-Sprint Repo

README.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Commit Test
2+
Feel free to add some documentation or simply add a link to the online manual.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
<?php
2+
/***************************************************************
3+
* Copyright notice
4+
*
5+
* (c) 2013 Stefan Froemken <[email protected]>
6+
* All rights reserved
7+
*
8+
* This script is part of the TYPO3 project. The TYPO3 project is
9+
* free software; you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as published by
11+
* the Free Software Foundation; either version 2 of the License, or
12+
* (at your option) any later version.
13+
*
14+
* The GNU General Public License can be found at
15+
* http://www.gnu.org/copyleft/gpl.html.
16+
*
17+
* This script is distributed in the hope that it will be useful,
18+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+
* GNU General Public License for more details.
21+
*
22+
* This copyright notice MUST APPEAR in all copies of the script!
23+
***************************************************************/
24+
25+
class tx_gridelements_db_list_extra_hookTest extends Tx_Extbase_Tests_Unit_BaseTestCase {
26+
27+
/**
28+
* test make clip
29+
*
30+
* @test
31+
*/
32+
public function testMakeClip() {
33+
$dbList = t3lib_div::makeInstance('tx_gridelements_db_list_extraHook');
34+
35+
$table = 'pages';
36+
$row = array(
37+
'uid' => 12,
38+
'pid' => 5
39+
);
40+
$cells = 'uid,pid';
41+
$parentObject = new stdClass();
42+
43+
$result = $dbList->makeClip($table, $row, $cells, $parentObject);
44+
$this->assertEquals('uid,pid', $result);
45+
}
46+
47+
/**
48+
* test make control
49+
*
50+
* @test
51+
*/
52+
public function testMakeControl() {
53+
$dbList = t3lib_div::makeInstance('tx_gridelements_db_list_extraHook');
54+
55+
$table = 'pages';
56+
$row = array(
57+
'uid' => 12,
58+
'pid' => 5
59+
);
60+
$cells = 'uid,pid';
61+
$parentObject = new stdClass();
62+
63+
$result = $dbList->makeControl($table, $row, $cells, $parentObject);
64+
$this->assertEquals('uid,pid', $result);
65+
}
66+
67+
/**
68+
* test render list header
69+
*
70+
* @test
71+
*/
72+
public function testRenderListHeader() {
73+
$dbList = t3lib_div::makeInstance('tx_gridelements_db_list_extraHook');
74+
75+
$table = 'pages';
76+
$currentIdList = '12,23,34';
77+
$headerColumns = '1,2';
78+
$parentObject = new stdClass();
79+
80+
$result = $dbList->renderListHeader($table, $currentIdList, $headerColumns, $parentObject);
81+
$this->assertEquals('1,2', $result);
82+
}
83+
84+
/**
85+
* test render list header actions
86+
*
87+
* @test
88+
*/
89+
public function testRenderListHeaderActions() {
90+
$dbList = t3lib_div::makeInstance('tx_gridelements_db_list_extraHook');
91+
92+
$table = 'pages';
93+
$currentIdList = '12,23,34';
94+
$cells = 'uid,pid';
95+
$parentObject = new stdClass();
96+
97+
$result = $dbList->renderListHeaderActions($table, $currentIdList, $cells, $parentObject);
98+
$this->assertEquals('uid,pid', $result);
99+
}
100+
}
101+
?>

0 commit comments

Comments
 (0)