2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.Configuration / ChangeLog
1 2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * MachineKeyConfigHandler.cs: removed unused code. Use
4         MachineKeyValidation.
5         * MachineKeyValidation.cs: made internal for 1.1 and added AES.
6         * MachineKeyConfig.cs: new property to return 24 bits needed for 3DES.
7         fix typo from last patch ('AutoGenerate'). Made the keys different when
8         both are autogenerated.
9
10 2005-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
11
12         * MachineKeyConfigHandler.cs:
13         * MachineKeyConfig.cs: patch from Miguel that moves code from
14         MachineKeyConfigHandler to MachineKeyConfig.
15
16 2005-07-24  Eyal Alalouf  <eyala@mainsoft.com>
17
18         * WebConfigurationSettings.cs: TARGET_J2EE changes. static variables in
19           AppDomain.
20
21 2005-07-19  Eyal Alalouf  <eyala@mainsoft.com>
22         * WebConfigurationSettings.cs: Grasshopper doesn't support remoting and the FileSystemWatcher
23
24 2005-07-01  Lluis Sanchez Gual <lluis@novell.com>
25
26         * MembershipSection.cs: Implemented.
27         * SiteMapSection.cs: Define properties using attributes.
28         * AnonymousIdentificationSection.cs: Define properties using attributes.
29         * WebConfigurationManager.cs: return the correct base path for the
30           root path.
31         * IRemoteWebConfigurationHostServer.cs: Fixed method signatures.
32         * WebConfigurationHost.cs: Added the machine web.config to the web.config
33         file chain. Several fixes in the chain order. Implemented 
34         IsDefinitionAllowed and VerifyDefinitionAllowed.
35
36         * VirtualDirectoryMappingCollection.cs:
37         * WebConfigurationFileMap.cs:
38         * AdapterDictionary.cs:
39         * AuthenticationSection.cs:
40         * AssemblyCollection.cs:
41         * AssemblyInfo.cs: Minor api fixes.
42         
43 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
44
45         * HandlerItem.cs: the path matches 'path\z', as the previous '\Apath\z'
46         failed for 'dir/*.ext'.
47
48 2005-06-23  Lluis Sanchez Gual <lluis@novell.com>
49
50         * VirtualDirectoryMapping.cs: Implemented.
51         * WebConfigurationManager.cs: Initial implementation.
52         * VirtualDirectoryMappingCollection.cs: Implemented.
53         * WebConfigurationFileMap.cs: Implemented.
54         * WebConfigurationHost.cs: Initial implementation of class
55         that supports IInternalConfigHost.
56
57 2005-06-19 Ilya Kharmatsky <ilyak-at-mainsoft.com>
58
59         * HttpRuntimeConfig.cs: Added TARGET_JVM directive in "using clause"
60         in order to exclude in J2EE configuration usage of unsupported
61         CodeDome API.
62
63 2005-06-15  Lluis Sanchez Gual <lluis@novell.com>
64
65         * CodeSubDirectory.cs:
66         * ExpressionBuilder.cs:
67         * AssemblyInfo.cs:
68         * BuildProviderCollection.cs:
69         * ExpressionBuilderCollection.cs:
70         * CodeSubDirectoriesCollection.cs:
71         * AnonymousIdentificationSection.cs: Track 2.0 api changes
72         in System.Configuration.
73
74 2005-06-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
75
76         * GlobalizationConfigurationHandler.cs: when an attribute is not
77         provided, don't assing Encoding.Default to it, as we might override
78         parent's settings.
79
80 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
81
82         * CompilationConfiguration.cs: throw if we cannot load the type given
83         in the configuration file.
84
85 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
86
87         * CompilerCollection.cs: added CompareLanguages method.
88
89 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
90
91         * CompilationConfigurationHandler.cs: ensure TempDirectory is not empty
92         before assigning it. Don't mangle the assembly names provided.
93
94         * CompilationConfiguration.cs: use DynamicBase as the temp directory
95         instead of Path.GetTempPath.
96
97 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
98
99         * ModuleItem.cs:
100         * GlobalizationConfigurationHandler.cs:
101         * WebConfigurationSettings.cs:
102         * CustomErrorsConfigHandler.cs:
103         * PagesConfigurationHandler.cs:
104         * WebControlsSectionHandler.cs:
105         * AuthorizationConfigHandler.cs: removed warnings.
106
107 2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
108
109         * CompilerCollection.cs:
110         * CompilationConfigurationHandler.cs:
111         * Compiler.cs:
112         * CompilationSection.cs:
113         * CompilationConfiguration.cs: reverted last patch and/or disable code
114         until the whole config system is migrated to 2.0. Fixes bug #73736.
115
116 2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
117
118         * CodeSubDirectoriesCollection.cs:
119         * ExpressionBuilderCollection.cs:
120         * BuildProviderCollection.cs:
121         * CompilerCollection.cs:
122         * CompilationConfigurationHandler.cs:
123         * ExpressionBuilder.cs:
124         * Compiler.cs:
125         * CompilationSection.cs:
126         * CompilationConfiguration.cs:
127         * CodeSubDirectory.cs: added and implemented
128         most of these files that are used when reading configuration files in
129         NET_2_0.
130
131         * WebCompiler.cs: renamed to Compiler.cs
132
133 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
134
135         * WebConfigurationSettings.cs: correctly detect web.config changes.
136
137 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
138
139         * HandlerItem.cs: for reusable items, return the same instance always.
140         Fixes bug #69959.
141
142
143 2004-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
144
145         * GlobalizationConfigurationHandler.cs: fixed stupid typo (uiculture ->
146         uiCulture). Closes bug #69524.
147
148 2004-11-18  Lluis Sanchez Gual <lluis@novell.com>
149
150         * AnonymousIdentificationSection.cs, AuthenticationSection.cs,
151         AssemblyInfo.cs: Initialize     property collection.
152         * SiteMapSection.cs, SiteMapHierarchicalDataSourceView.cs, 
153         SiteMapDataSource.cs: New file.
154         * SiteMapDataSourceView.cs: Minor fixes.
155
156 2004-11-15  Lluis Sanchez Gual <lluis@novell.com>
157
158         * AnonymousIdentificationSection.cs, InternalSection.cs,
159         AuthenticationSection.cs, AssemblyCollection.cs, AssemblyInfo.cs,
160         AdapterDictionary.cs: Implemented.
161         * PassportAuthentication.cs, FormsAuthenticationConfiguration.cs:
162         created classes.
163
164 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
165
166         * WebConfigurationSettings.cs: use CurrentExecutionFilePath instead of
167         FilePath. Fixes bug #67982.
168
169 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
170
171         * WebConfigurationSettings.cs: fix bug when processing empty location
172         tags. Closes bug #63001.
173
174 2004-08-02  Duncan Mak  <duncan@ximian.com>
175
176         * AuthorizationRuleAction.cs:
177         * BuildProviderAppliesTo.cs:
178         * CustomErrorsMode.cs:
179         * MachineKeyValidation.cs:
180         * PagesEnableSessionState.cs:
181         * PagesToCountAction.cs:
182         * ProcessModelComAuthenticationLevel.cs:        
183         * ProcessModelComImpersonationLevel.cs:
184         * ProcessModelLogLevel.cs;
185         * SerializationMode.cs:
186         * TraceDisplayMode.cs: Added enumerations.
187
188         * IRemoteWebConfigarationHostServer.cs: Added interface.
189
190 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
191
192         * AuthorizationConfig.cs: really fix bug #60482. Thanks David!
193
194 2004-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
195
196         * AuthorizationConfig.cs: we must match [verb +] (role|user). Fixes bug
197         #60482.
198
199 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
200
201         * WebConfigurationSettings.cs: allow empty <configSections>.
202
203 2004-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
204
205         * GlobalizationConfigurationHandler.cs: if no culture given, use the
206         default one, not the invariant.
207
208 2004-06-07  Alon Gazit <along@mainsoft.com>
209
210         * HandlerFactoryConfiguration.cs: using cache to get performance
211         improvement.
212         
213
214 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
215
216         * HttpCapabilitiesBase.cs: set the useragent of the new
217         HttpBrowserCapabilities object.
218
219 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
220
221         * HttpCapabilitiesBase.cs: ClientTarget takes precedence over UserAgent.
222
223 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
224
225         * WebConfigurationSettings.cs: when the virtual path is not /, don't
226         loop forever trying to read configuration from /. Fixes bug #59480.
227
228 2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
229
230         * GlobalizationConfiguration.cs: if we have no context, use
231         GetAppConfig instead of GetConfig.
232
233 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
234
235         * CompilationConfiguration.cs: a null value is ok for TempDirectory.
236
237 2004-05-12  Jaroslaw Kowalski <jaak@zd.com.pl>
238
239         * AuthenticationConfigHandler.cs: fixed slidingExpiration and requireSSL
240
241 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
242
243         * WebConfigurationSettings.cs: fixed loading of external files. Closes
244         bug #57244.
245
246 2004-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
247
248         * WebConfigurationSettings.cs: now it defaults to 'web.config' and if
249         not found, 'Web.config'. Don't throw exception if both exists. Thanks
250         to urs and dru for bugging me about this.
251
252 2004-04-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
253
254         * WebConfigurationSettings.cs: fixed argument exception if the directory
255         we're trying to watch does not exists.
256
257 2004-04-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
258
259         * WebConfigurationSettings.cs: modify realpath when we reach the
260         virtual root of the application.
261
262 2004-04-12  Nick Drochak <ndrochak@gol.com>
263
264         * WebConfigurationSettings.cs: Fix build.  Forgot the '?'
265
266 2004-04-12  Atsushi Enomoto <atsushi@ximian.com>
267
268         * WebConfigurationSettings.cs : On Windows "Web.config" is "web.config".
269
270 2004-04-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
271
272         * WebConfigurationSettings.cs: "/" is the virtual root directory of
273         the application. This fixes a bug reported by Vlad that caused
274         configuration error because files were read twice when there's an
275         application different from "/" defined.
276
277 2004-03-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
278
279         * WebConfigurationSettings.cs: fixes bug 56267.
280
281 2004-03-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
282
283         * WebConfigurationSettings.cs: use FileSystemWatcher and really reload
284         configuration when the file is created or modified.
285
286 2004-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
287
288         * WebConfigurationSettings.cs: we were loading web.config from / always!
289         Thanks to Lluis for noticing this.
290
291 2004-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
292
293         * WebConfigurationSettings.cs: fix Web.config search for case
294         insensitive filesystems.
295
296 2004-02-04  Lluis Sanchez Gual <lluis@ximian.com>
297
298         * WebConfigurationSettings.cs: Load remoting configuration when reading
299           the web.config file.
300
301 2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
302
303         * AuthConfig.cs:
304         * AuthenticationConfigHandler.cs: added RequireSSL and
305         SlidingExpiration.
306
307         * HandlerFactoryProxy.cs: not public.
308         * HandlerItem.cs: not public.
309
310 2004-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
311
312         * WebConfigurationSettings.cs: fix location path lookup. Closes bug
313         #53072.
314
315 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
316
317         * System.Web.Configuration/GlobalizationConfiguration.cs: undo old fix.
318
319         * System.Web.Configuration/PagesConfiguration.cs:
320         * System.Web.Configuration/PagesConfigurationHandler.cs: new files for
321         processing system.web/pages section.
322
323 2004-01-10  Jackson Harper <jackson@ximian.com>
324
325         * TraceConfig.cs: New class contains trace configuration data.
326         * TraceConfigurationHandler.cs: New class parses trace
327         configurations.
328         
329 2004-01-05  Jackson Harper <jackson@ximian.com>
330
331         * HandlerItem.cs: Fix typo so slashes are stripped from paths properly.
332         
333 2003-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
334
335         * CustomErrorsConfigHandler.cs: handle <system.web><customErrors />..
336
337 2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
338
339         * HttpCapabilitiesBase.cs: use the new loader.
340
341 2003-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
342
343         * WebConfigurationSettings.cs: also cache parents when building the
344         hierarchy up. Fixes bug #51818.
345
346 2003-12-09  Jackson Harper <jackson@ximian.com>
347
348         * GlobalizationConfigurationHander.cs: Make unicode encodings case
349         insensitive.
350         
351 2003-12-08  Jackson Harper <jackson@ximian.com>
352
353         * GlobalizationConfigurationHandler.cs: Handle creating some the unicode
354         encodings here so we can create ones without BOMs.
355         
356 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
357
358         * GlobalizationConfiguration.cs: return null when the configuration is
359         not available.
360         
361         * WebConfigurationSettings.cs: handle configuration for System.Web. It
362         replaces the default IConfigurationSystem with itself and handles
363         web.config files oddities.
364
365 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
366
367         * CompilationConfiguration.cs: don't throw an HttpException.
368         * HttpRuntimeConfig.cs:
369         * HttpRuntimeConfigurationHandler.cs: handle system.web/httpRuntime
370         configuration section.
371
372 2003-11-10 Jackson Harper <jackson@ximian.com>
373
374         * CompilationConfigurationHandler.cs: Append .dll to shortened
375         assembly names. 
376         
377 2003-11-08 Jackson Harper <jackson@ximian.com>
378
379         * CompilationConfigurationHandler.cs: Trim extra versioning
380         information off of assembly names. This is a workaround that fixes
381         bug #50355.
382         
383 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
384
385         * GlobalizationConfiguration.cs: added GetInstance method.
386
387         * GlobalizationConfigurationHandler.cs: warn about unsupported encodings
388         and provide reasonable defaults.
389
390 2003-10-17 Ben Maurer  <bmaurer@users.sourceforge.net>
391
392         * CompilationConfiguration.cs (Init): you have to inherit copying
393         files from the bin folders too.
394
395 2003-10-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
396
397         * CompilationConfiguration.cs: use the context passed in. If not, try
398         the current context.
399
400 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
401
402         * CompilationConfiguration.cs:
403         * CompilationConfigurationHandler.cs:
404         * CompilerCollection.cs:
405         * WebCompiler.cs: new files that process and store
406         system.web/compilation info (compilers + assemblies).
407
408         * HttpHandlersSectionHandler.cs: added option for an attribute to be
409         empty.
410
411 2003-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
412
413         * WebControlsSectionHandler.cs: new file to handle <webControls>
414         configuration.
415
416 2003-10-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
417
418         * HandlerItem.cs: make it work for file names without wildcards.
419
420 2003-03-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
421
422         * ModuleItem.cs: it's not public.
423         * ModulesConfiguration.cs: it's not public.
424
425 2003-02-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
426
427         * AuthenticationConfigHandler.cs: 'name' is optional in <forms>.
428
429 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
430
431         * HandlerFactoryConfiguration.cs: first search in the mappings of this
432         instance, then in the parent.
433
434 2003-02-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
435
436         * GlobalizationConfiguration.cs: added internal fields to hold the
437         values in the globalization node.
438
439         * GlobalizationConfigurationHandler.cs: handler to load
440         <system.web/globalization> section.
441
442 2003-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
443
444         * AuthorizationConfigHandler.cs: handler for system.web/authorization
445         section.
446
447         * AuthorizationConfig.cs: keeps record of authorization configuration.
448
449 2003-01-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
450
451         * HttpModulesConfigurationHandler.cs: add a default authentication
452         module at the end of the list.
453
454         * ModuleItem.cs: new constructor.
455
456 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
457
458         * AuthConfig.cs: LoginUrl defaults to login.aspx.
459
460 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
461
462         * AuthConfig.cs:
463         * AuthenticationConfigHandler.cs: handler and helper class for
464         system.web/authentication configuration section.
465
466         * HttpHandlersSectionHandler.cs: check for null in attributes.
467
468         * MachineKeyConfig.cs:
469         * MachineKeyConfigHandler.cs: handler and helper class for
470         system.web/machineKey tag.
471
472 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
473
474         * HttpHandlersSectionHandler.cs: more null checks.
475
476 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
477
478         * HttpHandlersSectionHandler.cs: made a couple of static methods be
479         part of a class used in other handlers.
480         * HttpModulesConfigurationHandler.cs: handler for modules.
481         * ModuleItem.cs: added IsMatch method.
482         * ModulesConfiguration.cs: made it similar to the handlers class: added         Clear, Remove.
483
484 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
485
486         * HttpHandlerTypeMapper.cs: removed.
487         * HandlerFactoryConfiguration.cs: readded. I removed it by mistake.
488         * HandlerItem.cs: only load the type if we gotta validate it.
489         Implemented initial IsMatch.
490         * HttpConfigurationContext.cs: New file.
491         * HttpHandlersSectionHandler.cs: validate is optional (default true). 
492         Use HttpHandlerTypeMapper.
493
494 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
495
496         * System.Web.Configuration/HandlerFactoryConfiguration.cs: removed.
497
498         * System.Web.Configuration/HandlerItem.cs: added validation field.
499
500         * System.Web.Configuration/HttpHandlerTypeMapper.cs: holds mappings
501         between verbs and wilcards and their associated HandlerItem.
502
503         * System.Web.Configuration/HttpHandlersSectionHandler.cs: this one
504         processes system.web/httpHandlers section of machine.config file.
505
506 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
507
508         * AuthenticationMode.cs:
509         * ClientTargetSectionHandler.cs:
510         * FormsAuthPasswordFormat.cs:
511         * FormsProtectionEnum.cs:
512         * HttpCapabilitiesBase.cs: fixes base on class status page.
513
514 2002-08-05  Patrik Torstensson <ptorsten@hotmail.com>
515
516         * HandlerFactoryConfiguration.cs,
517            HandlerFactoryProxy.cs,
518            HandlerItem.cs       : New files to emulate HttpHandler configuration
519            
520         * ModuleItem.cs,
521            ModulesConfiguration.cs : New files to emulate HttpModule configuration      
522
523 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
524
525         * System.Web.Configuration/HttpCapabilitiesBase.cs: New file.
526