forked from TYPO3-svn-archive/cabag_import
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO.txt
executable file
·45 lines (37 loc) · 1.34 KB
/
TODO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
now:
----
* if .value is not set within the conf all fieldProcs should take $this->currentFieldValue, otherwise it's not possible to stack the fieldProcs
* rename db to storage and make it dynamicaly loadable
* create new storage which works only with sql
* bug im transform fixen
* new image fieldproc
1 = preg_replace
1 {
value ={$id}
fromt = /^([0-9]{4}).*/
to = $1
}
2 = files
2 {
preg_match = /.*{$currentValue}[^\/]*.jpg/
sourceFolder = fileadmin/user_upload/shop_images/
destinationFolder = uploads/tx_cabagshop/
recursive = 1
rename = {$currentValue}-{$number}.jpg
}
later:
------
* test the cli script why the overwriteConf functionality fails. Something with the eval is wrong.
* import without pid should be possible if special config value is set
* clean up backend module, make it configurabel
* throw exceptions with row number
* restructure "source_file" class
1.) constructure has to check everything
2.) main will open everything
3.) close function will close and archive everything
-> call by handler when everything worked
* load source dynamicaly as fieldprocs are loaded
* try and catch just where usefull
* check configuration settings with if statements where you need them and not in a central foreach (especially in source classe)
* interprets dynamic loading
* speed optimization for the constant replacement