-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathChangeLog
252 lines (193 loc) · 13 KB
/
ChangeLog
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
2.2.8:
* fixes bug when re-calculating cache hash: use class CacheHashCalculator if is available; use CacheHashCalculator::getRelevantParameters before calculating cache hash
2.2.7:
* fix php warning that is caused by an empty transliterations or non-existing tag in config file
2.2.6:
* fix for TYPO3 4.5: add module typoscript in ext_tables.php instead of static file because 4.5 can't handle this in the redirect module without the page tree
2.2.5:
* compatibility with TYPO3 6.0: renamed the template files to UpperCamelCase
* re-add the "add" button
2.2.4:
* fixes url without ending "/" not found if the url exists also with an ending "/"
2.2.3:
* fixes screwed up query string on redirecting old url: provided query string must be urldecoded before merging with parameters from url record
2.2.2:
* change determination of page not found behavior: default was not override if domain matching item was found
2.2.1:
* fix some locallang references in ext_tables.php
* cleanup locallang files for modules
* cleanup ext_tables.php
* add note to registration of command controller, works with TYPO3 4.6
2.2.0:
* limits query results to 1 when finding url in tx_naworkuri_cache::read_path
* rewritten backend modules: now seperated into two modules
* domains are now stored with uid instead of domain to avoid transformation to and from database
2.1.52:
* change hook for redirects: use configArrayPostProc instead of isOutputting to avoid rendering of content
* exit after setting headers to really exit processing and avoid rendering
2.1.51:
* fixes page not found behavior not determined correctly: the first one without domain must be returned by default
2.1.50:
* fixes urls not generated correctly for redirect because of encoded parameters
* add the possibility to use regular expresions for predefined parts
2.1.49:
* fixes unencoded parameters in database when a url is updated, that caused the parameter hash to be wrong and thereby the url might not recognized later
2.1.47:
* fixes alias not determined correctly: the query should not respect deleted pages
2.1.42: Compatability update for TYPO3 CMS 6.0
* SimpleXMLElement can not be serialized so it must be deleted before serialization and re-instantiated on wake up
* t3lib_div::testInt is not available anymore, so we must replace it with MathUtility::canBeInterpretedAsInteger if available (means 6.0)
* add tx_naworkuri_cache to ext_autoload.php
2.1.41:
* fixes PHP Fatal Errors with turkish locales: do not set LC_CTYPE for turkish locales like typo3 does in tsfe
2.1.40:
* fixes wrong select fields, should be "*" by default and only overwritten if there are set in configuration
* fixes debug message when saving a record, because extension name for hook was wrong
2.1.39:
* fixes missing fragment (anchor) on redirect (type=2)
* fixes missing fragment (anchor) on redirect old urls (type=1)
2.1.38:
* fixes double encoding of append not encoded parameters
* fixes missing language icons
* note: empty 404 fix in 2.1.37 was not needed, was already working
2.1.37:
* fixes empty 404 page due to curl not following redirects, curl follows one redirect now
* fixes redirects not saved correctly on create, due to id check for integer failed
* fixes current domain not beeing display but first one, when editing a redirect
2.1.36:
* fixes "-1" urls because deleted or hidden pages have them, in the findOldUrl function we try to find a url on a hidden or deleted page if we haven't found one, the normal way
2.1.35:
* introduces new attribute "ignoreMasterDomain" of type int in behavior tag in page not found configuration
* adds check for a 404 setting for the real current domain where the masterdomain should be ignored when getting behaviour type and value
2.1.34:
* adds fallback property to the uri part configuration for the case that there is no result in the database
2.1.33:
* fixes not working overlay when selectFields are given: uid and pid are needed for the overlay to work, so we have to make sure that they are selected
2.1.32:
* fixes endless redirects: query string must be url decoded for further processing
2.1.31:
* corrects misspelled variable name for domain constraint in make old function
* fixes parameter diff when evaluating encodable and unencodable parameters, array_diff was used but array_diff_key compares keys and must be used here
* fixes sql error when a parameter value is empty, checks before transformation
* fixes domain value for redirects: it was not saved as a string, this is fixed via postProcess hook in TCEmain
* removes itemProcFunc for domain list in url record
2.1.30:
* FIX: Redirects must not be made if request method is anything but GET
* FIX: Records with language uid -1 (all) was not found
2.1.29:
* FIX: Wrong sql query syntax in tx_naworkuri_cache::unique
2.1.28:
* FIX: Missing parameters after explode and implode: explode_parameters and implode_parameters can handle array valued parameters now
* FIX: Float values were shown with comma instead of point due to setlocale(LC_ALL,...): We don't set LC_ALL anymore
* FIX: Unit tests does not fit the current development state: Changed unit tests and added several data sets
2.1.27
* FIX: Cache can not be cleared: Removes deleted field from clear cache query, that was removed in 2.1.17
* FIX: Urls are not converted to old urls: Corrects the spelling mistake in the page id parameter, parameter hash must not be encoded for hashing
* FIX: Extension configuration containes reference to cool uri config file: Changes the description for the xml path configuration
* FIX: Queries are stored for debugging: Disables the storing of queries
* FIX: Removes unnecessary line in function tx_naworkuri_cache::setTimeout that set the timeout to 0
2.1.26
* FIX: The interface backend_cacheActionsHook wasn't autoloaded anymore in 4.7
2.1.25
* FIX: Set L param as string, this led to wrong cHashes
* FIX: Recalculate cHash to avoid the same url with another cHash to generated because of encoded vs. non-encoded parameters, e.g. from crawler
2.1.24
* FIX: Remove table alias from query in function for finding old url, that caused the url not to be found when used in multidomain mode
2.1.23
* FIX: an empty uri part was returned if a record was not available in default language
2.1.22
* FIX: missing try-catch around uri generation in redirect2Uri function, the exception is caught and logged to be log
* FIX: urlencoding is now correct when the path cannot be encoded, the parameter names must not be encoded
2.1.21
* FIX: Use limit parameter for query when looking for urls based on parameter hash in unique function to avoid fetching unknown numbers of records and possibly run into the php memory limit
2.1.20
* FIX: Removed the deleted field of url table from the cache's sql queries. This caused sql errors if the field was removed from database due to current database updates
2.1.19
* FIX: if a website was called with, e.g. host/?type=123 and type=123 is not in config it did endless redirects due to return the same url over and over again
now the return url is compared to the initial one and the redirect is only made if they are different
2.1.18
* FIX: fixed some bugs that avoid the ext_update script to work properly
* FIX: removed the eval from the path field, to manually make paths without the appendix
2.1.17
* FIX: Additional index on url table on the column hash_path which increases the unique function's speed
* FIX: Path segment in overlay was only 30 chars long, is now the same as for pages (64 chars)
* FIX: Unique key on the columns domain,path
* FIX: Function for imploding the parameters now has a parameter to raw url encode the parameters, must be set to false for when imploding the db insert
* FIX: Old url must be updated with new data and not just touched
* FIX: When creating the url and a db error occurs an exception is thrown
* FIX: Parameters are now filtered before looking up existing url, so also partially transformed urls are found
* FIX: Alias is resolved to the id before any processing is done
* FIX: Exceptions are caught and logged to be log
* FIX: Deleted flag is not used anymore, urls are deleted complete from database
* FIX: Unique function is now more efficient: It checks if a url already exists, if yes it looks for a url based on the parameter set, if the "original_path" matches the generated one, this path is return, else it tries to make the url unique
* FIX: path before unique process is now saved as "original_path" to use it for comparison in unique method
* FIX: Ajax code for deleting urls now deletes the urls instead of setting them to deleted=1
* FIX: BE module has the option to show all urls
* FIX: URLs can be placed on root page and in the page tree
* FIX: Admins can choose the type of url when creating one manually, can be enable also for editors
2.1.16
* FIX: Renamed class name for clear cache menu to be compatible with TYPO3 4.4
2.1.15
* FIX: domain condition in query for finding existant url contained table alias "u" which was not used anymore, so existant urls could not be found in multidomain setups
2.1.14
* FIX: Cleaner code for handling of old urls
* FEATURE: Clean URL cache from the backend clear cache menu
* FIX: Added russian transliterations in default config
2.1.13
* FIX: Removed the language parent and diffsource completely from tca, were still in ext_tables.php
2.1.12
* FIX: Hash fields were exclude fields so editors could not create urls
* FIX: SQL query for finding cached urls was wrong when in single domain mode
* FIX: l18n_parent and l18n_diffsource were still in showRecordFieldList, leading to error messages when saving a url
2.1.11
* FIX: Domain is now a select box, to make it easier for editors
* FEATURE: Add hook for pre processing the redirect (type 2) record
2.1.10
* FIX: Editors could not edit urls nor create redirects because they were saved on pid 0: Different storage page can be set in ext conf and can be updated via ext update functionality
2.1.9
* FIX: Params and params hash were not written to database when creating a new url
2.1.8
* FIX: Improved performance by better code and additional index on the db table for improving cache reading speed
2.1.7
* FIX: Redirect dropped query params e.g. for ga tracking
2.1.6
* FIX: Introduced transformation cache to avoid multiple db lookups for the same parameter value, this increases performance
* FIX: Transliteration did not work correctly with libiconv's implementation instead of glibc's so we add an option for transliterateing any character to another character, see default config
2.1.5
* FIX: Cache time was 30 seconds, that was much too low. Cache time is now read from pages or from config.cache_period as fallback, final fallback is 86400
* FIX: Transliteration of url was based on some hard coded characters, now iconv is used. The locale from config.locale_all is used. Fallback is the setting in ext conf or en_US
2.1.4
* FIX: Field pid must not be converted to tinyint, that leads to pid that are max 127 so the page where corrupted
* CLEANUP: Remove some debugging commands
2.1.3
* FIX: Constraints to select a url from the database was wrong when no be user was locked in, so the url could never be found
2.1.2
* FIX: "$" was missing before "url" when giving it to the finalizeUrl function after generating the url
2.1.1
* FIX: Redirect after call via parameter form is now finalized and redirected by helper class
2.1.0
* Added redirect feature:
* editors can create redirects for e.g. old pages, advertisements or special events
* paths are not overwritten anymore on change, old ones are changed to redirects and new ones are created, redirect urls are reused if the path is needed again
* urls are of type redirect when created manually, type field is not shown in tce form to avoid mistakes by editors
* Sticky is renamed to locked
* FIX: Records are not copied with pages anymore because the pid field is 0, we now use the field page_uid to store the pid
* FIX: A "+" in a page title caused 404 errors, so we removed it from the uri when encoding so we can not get problems
* FIX: The preview did not work anymore because we check if the page can be shown (hidden, starttime, endtime), this check is now deactivated when a be user is logged in
* Added update script to process the database changes to make the system work as expected
* Made backend module more useable:
* Buttons in the rows are gone and now placed in the top toolbar
* edit and lock buttons are only available if one url is selected
* delete button is available if at least one url is selected, this allows multiple deletion
* deletion must be confirmed
* Added filters to the backend module: Choose between locked, unlocked or all urls, filter by path
* Show normal urls, old urls or redirects
* FIX: jumping back to the first page after a url is locked or deleted does not happend anymore
* FIX: selected rows are now visible
* Updated readme and todos
2.0.3
* [FIX] After hook processing the url must be checked if the absRefPrefix should be prepended
2.0.2
* Add the ability to use mm queries in nawork_uri conf
2.0.1
* Add hooks for post processing parameter before transformation and post processing the url after transformation