diff --git a/Lib/Portoa.Log4Net.dll b/Lib/Portoa.Log4Net.dll
index c62e8fa..4dc634f 100644
Binary files a/Lib/Portoa.Log4Net.dll and b/Lib/Portoa.Log4Net.dll differ
diff --git a/Lib/Portoa.NHibernate.dll b/Lib/Portoa.NHibernate.dll
index 6016cd6..23b39f9 100644
Binary files a/Lib/Portoa.NHibernate.dll and b/Lib/Portoa.NHibernate.dll differ
diff --git a/Lib/Portoa.Web.dll b/Lib/Portoa.Web.dll
index a9d8e38..431ab0f 100644
Binary files a/Lib/Portoa.Web.dll and b/Lib/Portoa.Web.dll differ
diff --git a/Lib/Portoa.Web.xml b/Lib/Portoa.Web.xml
index 0394886..039c2b5 100644
--- a/Lib/Portoa.Web.xml
+++ b/Lib/Portoa.Web.xml
@@ -597,11 +597,6 @@
does nothing
-
-
- Adds extensions to the container; default implementation does nothing
-
-
Performs any needed cleanup when the application ends; default implementation
@@ -822,6 +817,13 @@
Gets or sets the page number
+
+
+ Disallows public access to a controller's action. This is basically a more useful version of
+ . When the action is accessed publicly, an
+ with a 404 status code is raised.
+
+
Verifies that an uploaded file has a certain mimetype
@@ -856,12 +858,5 @@
-
-
- Disallows public access to a controller's action. This is basically a more useful version of
- . When the action is accessed publicly, an
- with a 404 status code is raised.
-
-
diff --git a/Lib/log4net.dll b/Lib/log4net.dll
index ffc57e1..20a2e1c 100644
Binary files a/Lib/log4net.dll and b/Lib/log4net.dll differ
diff --git a/Lib/log4net.xml b/Lib/log4net.xml
index fab7af2..6d1f134 100644
--- a/Lib/log4net.xml
+++ b/Lib/log4net.xml
@@ -2668,305 +2668,6 @@
A collection of the appenders in this appender.
-
-
- Appends logging events to the console.
-
-
-
- ColoredConsoleAppender appends log events to the standard output stream
- or the error output stream using a layout specified by the
- user. It also allows the color of a specific type of message to be set.
-
-
- By default, all output is written to the console's standard output stream.
- The property can be set to direct the output to the
- error stream.
-
-
- NOTE: This appender writes directly to the application's attached console
- not to the System.Console.Out or System.Console.Error TextWriter.
- The System.Console.Out and System.Console.Error streams can be
- programmatically redirected (for example NUnit does this to capture program output).
- This appender will ignore these redirections because it needs to use Win32
- API calls to colorize the output. To respect these redirections the
- must be used.
-
-
- When configuring the colored console appender, mapping should be
- specified to map a logging level to a color. For example:
-
-
-
-
-
-
-
-
-
-
-
-
-
- The Level is the standard log4net logging level and ForeColor and BackColor can be any
- combination of the following values:
-
- - Blue
- - Green
- - Red
- - White
- - Yellow
- - Purple
- - Cyan
- - HighIntensity
-
-
-
- Rick Hobbs
- Nicko Cadell
-
-
-
- The to use when writing to the Console
- standard output stream.
-
-
-
- The to use when writing to the Console
- standard output stream.
-
-
-
-
-
- The to use when writing to the Console
- standard error output stream.
-
-
-
- The to use when writing to the Console
- standard error output stream.
-
-
-
-
-
- Initializes a new instance of the class.
-
-
- The instance of the class is set up to write
- to the standard output stream.
-
-
-
-
- Initializes a new instance of the class
- with the specified layout.
-
- the layout to use for this appender
-
- The instance of the class is set up to write
- to the standard output stream.
-
-
-
-
- Initializes a new instance of the class
- with the specified layout.
-
- the layout to use for this appender
- flag set to true to write to the console error stream
-
- When is set to true, output is written to
- the standard error output stream. Otherwise, output is written to the standard
- output stream.
-
-
-
-
- Add a mapping of level to color - done by the config file
-
- The mapping to add
-
-
- Add a mapping to this appender.
- Each mapping defines the foreground and background colors
- for a level.
-
-
-
-
-
- This method is called by the method.
-
- The event to log.
-
-
- Writes the event to the console.
-
-
- The format of the output will depend on the appender's layout.
-
-
-
-
-
- Initialize the options for this appender
-
-
-
- Initialize the level to color mappings set on this appender.
-
-
-
-
-
- Flag to write output to the error stream rather than the standard output stream
-
-
-
-
- Mapping from level object to color value
-
-
-
-
- The console output stream writer to write to
-
-
-
- This writer is not thread safe.
-
-
-
-
-
- Target is the value of the console output stream.
- This is either "Console.Out" or "Console.Error".
-
-
- Target is the value of the console output stream.
- This is either "Console.Out" or "Console.Error".
-
-
-
- Target is the value of the console output stream.
- This is either "Console.Out" or "Console.Error".
-
-
-
-
-
- This appender requires a to be set.
-
- true
-
-
- This appender requires a to be set.
-
-
-
-
-
- The enum of possible color values for use with the color mapping method
-
-
-
- The following flags can be combined together to
- form the colors.
-
-
-
-
-
-
- color is blue
-
-
-
-
- color is green
-
-
-
-
- color is red
-
-
-
-
- color is white
-
-
-
-
- color is yellow
-
-
-
-
- color is purple
-
-
-
-
- color is cyan
-
-
-
-
- color is intensified
-
-
-
-
- A class to act as a mapping between the level that a logging call is made at and
- the color it should be displayed as.
-
-
-
- Defines the mapping between a level and the color it should be displayed in.
-
-
-
-
-
- Initialize the options for the object
-
-
-
- Combine the and together.
-
-
-
-
-
- The mapped foreground color for the specified level
-
-
-
- Required property.
- The mapped foreground color for the specified level.
-
-
-
-
-
- The mapped background color for the specified level
-
-
-
- Required property.
- The mapped background color for the specified level.
-
-
-
-
-
- The combined and suitable for
- setting the console color.
-
-
Appends logging events to the console.
@@ -5024,351 +4725,6 @@
-
-
- Logs entries by sending network messages using the
- native function.
-
-
-
- You can send messages only to names that are active
- on the network. If you send the message to a user name,
- that user must be logged on and running the Messenger
- service to receive the message.
-
-
- The receiver will get a top most window displaying the
- messages one at a time, therefore this appender should
- not be used to deliver a high volume of messages.
-
-
- The following table lists some possible uses for this appender :
-
-
-
-
- Action
- Property Value(s)
-
- -
- Send a message to a user account on the local machine
-
-
- = <name of the local machine>
-
-
- = <user name>
-
-
-
- -
- Send a message to a user account on a remote machine
-
-
- = <name of the remote machine>
-
-
- = <user name>
-
-
-
- -
- Send a message to a domain user account
-
-
- = <name of a domain controller | uninitialized>
-
-
- = <user name>
-
-
-
- -
- Send a message to all the names in a workgroup or domain
-
-
- = <workgroup name | domain name>*
-
-
-
- -
- Send a message from the local machine to a remote machine
-
-
- = <name of the local machine | uninitialized>
-
-
- = <name of the remote machine>
-
-
-
-
-
-
- Note : security restrictions apply for sending
- network messages, see
- for more information.
-
-
-
-
- An example configuration section to log information
- using this appender from the local machine, named
- LOCAL_PC, to machine OPERATOR_PC :
-
-
-
-
-
-
-
-
-
- Nicko Cadell
- Gert Driesen
-
-
-
- The DNS or NetBIOS name of the server on which the function is to execute.
-
-
-
-
- The sender of the network message.
-
-
-
-
- The message alias to which the message should be sent.
-
-
-
-
- The security context to use for privileged calls
-
-
-
-
- Initializes the appender.
-
-
- The default constructor initializes all fields to their default values.
-
-
-
-
- Initialize the appender based on the options set.
-
-
-
- This is part of the delayed object
- activation scheme. The method must
- be called on this object after the configuration properties have
- been set. Until is called this
- object is in an undefined state and must not be used.
-
-
- If any of the configuration properties are modified then
- must be called again.
-
-
- The appender will be ignored if no was specified.
-
-
- The required property was not specified.
-
-
-
- This method is called by the method.
-
- The event to log.
-
-
- Sends the event using a network message.
-
-
-
-
-
- Sends a buffer of information to a registered message alias.
-
- The DNS or NetBIOS name of the server on which the function is to execute.
- The message alias to which the message buffer should be sent
- The originator of the message.
- The message text.
- The length, in bytes, of the message text.
-
-
- The following restrictions apply for sending network messages:
-
-
-
-
- Platform
- Requirements
-
- -
- Windows NT
-
-
- No special group membership is required to send a network message.
-
-
- Admin, Accounts, Print, or Server Operator group membership is required to
- successfully send a network message on a remote server.
-
-
-
- -
- Windows 2000 or later
-
-
- If you send a message on a domain controller that is running Active Directory,
- access is allowed or denied based on the access control list (ACL) for the securable
- object. The default ACL permits only Domain Admins and Account Operators to send a network message.
-
-
- On a member server or workstation, only Administrators and Server Operators can send a network message.
-
-
-
-
-
-
- For more information see Security Requirements for the Network Management Functions.
-
-
-
-
- If the function succeeds, the return value is zero.
-
-
-
-
-
- Gets or sets the sender of the message.
-
-
- The sender of the message.
-
-
- If this property is not specified, the message is sent from the local computer.
-
-
-
-
- Gets or sets the message alias to which the message should be sent.
-
-
- The recipient of the message.
-
-
- This property should always be specified in order to send a message.
-
-
-
-
- Gets or sets the DNS or NetBIOS name of the remote server on which the function is to execute.
-
-
- DNS or NetBIOS name of the remote server on which the function is to execute.
-
-
-
- For Windows NT 4.0 and earlier, the string should begin with \\.
-
-
- If this property is not specified, the local computer is used.
-
-
-
-
-
- Gets or sets the used to call the NetSend method.
-
-
- The used to call the NetSend method.
-
-
-
- Unless a specified here for this appender
- the is queried for the
- security context to use. The default behavior is to use the security context
- of the current thread.
-
-
-
-
-
- This appender requires a to be set.
-
- true
-
-
- This appender requires a to be set.
-
-
-
-
-
- Appends log events to the OutputDebugString system.
-
-
-
- OutputDebugStringAppender appends log events to the
- OutputDebugString system.
-
-
- The string is passed to the native OutputDebugString
- function.
-
-
- Nicko Cadell
- Gert Driesen
-
-
-
- Initializes a new instance of the class.
-
-
-
- Default constructor.
-
-
-
-
-
- Write the logging event to the output debug string API
-
- the event to log
-
-
- Write the logging event to the output debug string API
-
-
-
-
-
- Stub for OutputDebugString native method
-
- the string to output
-
-
- Stub for OutputDebugString native method
-
-
-
-
-
- This appender requires a to be set.
-
- true
-
-
- This appender requires a to be set.
-
-
-
Logs events to a remote syslog daemon.
@@ -5412,83 +4768,83 @@
Nicko Cadell
-
- Sends logging events as connectionless UDP datagrams to a remote host or a
- multicast group using an .
-
-
-
- UDP guarantees neither that messages arrive, nor that they arrive in the correct order.
-
-
- To view the logging results, a custom application can be developed that listens for logging
- events.
-
-
- When decoding events send via this appender remember to use the same encoding
- to decode the events as was used to send the events. See the
- property to specify the encoding to use.
-
-
-
- This example shows how to log receive logging events that are sent
- on IP address 244.0.0.1 and port 8080 to the console. The event is
- encoded in the packet as a unicode string and it is decoded as such.
-
- IPEndPoint remoteEndPoint = new IPEndPoint(IPAddress.Any, 0);
- UdpClient udpClient;
- byte[] buffer;
- string loggingEvent;
-
- try
- {
- udpClient = new UdpClient(8080);
-
- while(true)
- {
- buffer = udpClient.Receive(ref remoteEndPoint);
- loggingEvent = System.Text.Encoding.Unicode.GetString(buffer);
- Console.WriteLine(loggingEvent);
- }
- }
- catch(Exception e)
- {
- Console.WriteLine(e.ToString());
- }
-
-
- Dim remoteEndPoint as IPEndPoint
- Dim udpClient as UdpClient
- Dim buffer as Byte()
- Dim loggingEvent as String
-
- Try
- remoteEndPoint = new IPEndPoint(IPAddress.Any, 0)
- udpClient = new UdpClient(8080)
+
+ Sends logging events as connectionless UDP datagrams to a remote host or a
+ multicast group using an .
+
+
+
+ UDP guarantees neither that messages arrive, nor that they arrive in the correct order.
+
+
+ To view the logging results, a custom application can be developed that listens for logging
+ events.
+
+
+ When decoding events send via this appender remember to use the same encoding
+ to decode the events as was used to send the events. See the
+ property to specify the encoding to use.
+
+
+
+ This example shows how to log receive logging events that are sent
+ on IP address 244.0.0.1 and port 8080 to the console. The event is
+ encoded in the packet as a unicode string and it is decoded as such.
+
+ IPEndPoint remoteEndPoint = new IPEndPoint(IPAddress.Any, 0);
+ UdpClient udpClient;
+ byte[] buffer;
+ string loggingEvent;
- While True
- buffer = udpClient.Receive(ByRef remoteEndPoint)
- loggingEvent = System.Text.Encoding.Unicode.GetString(buffer)
- Console.WriteLine(loggingEvent)
- Wend
- Catch e As Exception
- Console.WriteLine(e.ToString())
- End Try
-
-
- An example configuration section to log information using this appender to the
- IP 224.0.0.1 on port 8080:
-
-
-
-
-
-
-
-
-
- Gert Driesen
- Nicko Cadell
+ try
+ {
+ udpClient = new UdpClient(8080);
+
+ while(true)
+ {
+ buffer = udpClient.Receive(ref remoteEndPoint);
+ loggingEvent = System.Text.Encoding.Unicode.GetString(buffer);
+ Console.WriteLine(loggingEvent);
+ }
+ }
+ catch(Exception e)
+ {
+ Console.WriteLine(e.ToString());
+ }
+
+
+ Dim remoteEndPoint as IPEndPoint
+ Dim udpClient as UdpClient
+ Dim buffer as Byte()
+ Dim loggingEvent as String
+
+ Try
+ remoteEndPoint = new IPEndPoint(IPAddress.Any, 0)
+ udpClient = new UdpClient(8080)
+
+ While True
+ buffer = udpClient.Receive(ByRef remoteEndPoint)
+ loggingEvent = System.Text.Encoding.Unicode.GetString(buffer)
+ Console.WriteLine(loggingEvent)
+ Wend
+ Catch e As Exception
+ Console.WriteLine(e.ToString())
+ End Try
+
+
+ An example configuration section to log information using this appender to the
+ IP 224.0.0.1 on port 8080:
+
+
+
+
+
+
+
+
+
+ Gert Driesen
+ Nicko Cadell
@@ -6100,9 +5456,9 @@
When closing the appender attempts to wait until all the queued events have been sent, but
this will timeout after 30 seconds regardless.
- If this appender is being closed because the
+ If this appender is being closed because the
event has fired it may not be possible to send all the queued events. During process
- exit the runtime limits the time that a
+ exit the runtime limits the time that a
event handler is allowed to run for. If the runtime terminates the threads before
the queued events have been sent then they will be lost. To ensure that all events
are sent the appender must be closed before the application exits. See
@@ -6177,9 +5533,9 @@
This method attempts to wait until all the queued events have been sent, but this
method will timeout after 30 seconds regardless.
- If the appender is being closed because the
+ If the appender is being closed because the
event has fired it may not be possible to send all the queued events. During process
- exit the runtime limits the time that a
+ exit the runtime limits the time that a
event handler is allowed to run for.
@@ -7208,16 +6564,16 @@
Gets or sets the priority of the e-mail message
- One of the values.
+ One of the values.
Sets the priority of the e-mails generated by this
- appender. The default priority is .
+ appender. The default priority is .
If you are using this appender to report errors then
- you may want to set the priority to .
+ you may want to set the priority to .
@@ -11653,13 +11009,13 @@
- Called when the event fires
+ Called when the event fires
the that is exiting
null
- Called when the event fires.
+ Called when the event fires.
When the event is triggered the log4net system is .
@@ -11668,13 +11024,13 @@
- Called when the event fires
+ Called when the event fires
the that is exiting
null
- Called when the event fires.
+ Called when the event fires.
When the event is triggered the log4net system is .
@@ -18246,49 +17602,49 @@
-
- Layout that formats the log events as XML elements.
-
-
-
- The output of the consists of a series of
- log4net:event elements. It does not output a complete well-formed XML
- file. The output is designed to be included as an external entity
- in a separate file to form a correct XML file.
-
-
- For example, if abc is the name of the file where
- the output goes, then a well-formed XML file would
- be:
-
-
- <?xml version="1.0" ?>
-
- <!DOCTYPE log4net:events SYSTEM "log4net-events.dtd" [<!ENTITY data SYSTEM "abc">]>
+
+ Layout that formats the log events as XML elements.
+
+
+
+ The output of the consists of a series of
+ log4net:event elements. It does not output a complete well-formed XML
+ file. The output is designed to be included as an external entity
+ in a separate file to form a correct XML file.
+
+
+ For example, if abc is the name of the file where
+ the output goes, then a well-formed XML file would
+ be:
+
+
+ <?xml version="1.0" ?>
- <log4net:events version="1.2" xmlns:log4net="http://logging.apache.org/log4net/schemas/log4net-events-1.2>
- &data;
- </log4net:events>
-
-
- This approach enforces the independence of the
- and the appender where it is embedded.
-
-
- The version attribute helps components to correctly
- interpret output generated by . The value of
- this attribute should be "1.2" for release 1.2 and later.
-
-
- Alternatively the Header and Footer properties can be
- configured to output the correct XML header, open tag and close tag.
- When setting the Header and Footer properties it is essential
- that the underlying data store not be appendable otherwise the data
- will become invalid XML.
-
-
- Nicko Cadell
- Gert Driesen
+ <!DOCTYPE log4net:events SYSTEM "log4net-events.dtd" [<!ENTITY data SYSTEM "abc">]>
+
+ <log4net:events version="1.2" xmlns:log4net="http://logging.apache.org/log4net/schemas/log4net-events-1.2>
+ &data;
+ </log4net:events>
+
+
+ This approach enforces the independence of the
+ and the appender where it is embedded.
+
+
+ The version attribute helps components to correctly
+ interpret output generated by . The value of
+ this attribute should be "1.2" for release 1.2 and later.
+
+
+ Alternatively the Header and Footer properties can be
+ configured to output the correct XML header, open tag and close tag.
+ When setting the Header and Footer properties it is essential
+ that the underlying data store not be appendable otherwise the data
+ will become invalid XML.
+
+
+ Nicko Cadell
+ Gert Driesen
@@ -24553,150 +23909,6 @@
-
-
- Represents a native error code and message.
-
-
-
- Represents a Win32 platform native error.
-
-
- Nicko Cadell
- Gert Driesen
-
-
-
- Create an instance of the class with the specified
- error number and message.
-
- The number of the native error.
- The message of the native error.
-
-
- Create an instance of the class with the specified
- error number and message.
-
-
-
-
-
- Create a new instance of the class for the last Windows error.
-
-
- An instance of the class for the last windows error.
-
-
-
- The message for the error number is lookup up using the
- native Win32 FormatMessage function.
-
-
-
-
-
- Create a new instance of the class.
-
- the error number for the native error
-
- An instance of the class for the specified
- error number.
-
-
-
- The message for the specified error number is lookup up using the
- native Win32 FormatMessage function.
-
-
-
-
-
- Retrieves the message corresponding with a Win32 message identifier.
-
- Message identifier for the requested message.
-
- The message corresponding with the specified message identifier.
-
-
-
- The message will be searched for in system message-table resource(s)
- using the native FormatMessage function.
-
-
-
-
-
- Return error information string
-
- error information string
-
-
- Return error information string
-
-
-
-
-
- Formats a message string.
-
- Formatting options, and how to interpret the parameter.
- Location of the message definition.
- Message identifier for the requested message.
- Language identifier for the requested message.
- If includes FORMAT_MESSAGE_ALLOCATE_BUFFER, the function allocates a buffer using the LocalAlloc function, and places the pointer to the buffer at the address specified in .
- If the FORMAT_MESSAGE_ALLOCATE_BUFFER flag is not set, this parameter specifies the maximum number of TCHARs that can be stored in the output buffer. If FORMAT_MESSAGE_ALLOCATE_BUFFER is set, this parameter specifies the minimum number of TCHARs to allocate for an output buffer.
- Pointer to an array of values that are used as insert values in the formatted message.
-
-
- The function requires a message definition as input. The message definition can come from a
- buffer passed into the function. It can come from a message table resource in an
- already-loaded module. Or the caller can ask the function to search the system's message
- table resource(s) for the message definition. The function finds the message definition
- in a message table resource based on a message identifier and a language identifier.
- The function copies the formatted message text to an output buffer, processing any embedded
- insert sequences if requested.
-
-
- To prevent the usage of unsafe code, this stub does not support inserting values in the formatted message.
-
-
-
-
- If the function succeeds, the return value is the number of TCHARs stored in the output
- buffer, excluding the terminating null character.
-
-
- If the function fails, the return value is zero. To get extended error information,
- call .
-
-
-
-
-
- Gets the number of the native error.
-
-
- The number of the native error.
-
-
-
- Gets the number of the native error.
-
-
-
-
-
- Gets the message of the native error.
-
-
- The message of the native error.
-
-
-
-
- Gets the message of the native error.
-
-
An always empty .
@@ -25940,7 +25152,7 @@
See
-
+
See
@@ -26119,7 +25331,7 @@
-
+
See
@@ -27256,215 +26468,6 @@
-
-
- Impersonate a Windows Account
-
-
-
- This impersonates a Windows account.
-
-
- How the impersonation is done depends on the value of .
- This allows the context to either impersonate a set of user credentials specified
- using username, domain name and password or to revert to the process credentials.
-
-
-
-
-
- Default constructor
-
-
-
- Default constructor
-
-
-
-
-
- Initialize the SecurityContext based on the options set.
-
-
-
- This is part of the delayed object
- activation scheme. The method must
- be called on this object after the configuration properties have
- been set. Until is called this
- object is in an undefined state and must not be used.
-
-
- If any of the configuration properties are modified then
- must be called again.
-
-
- The security context will try to Logon the specified user account and
- capture a primary token for impersonation.
-
-
- The required ,
- or properties were not specified.
-
-
-
- Impersonate the Windows account specified by the and properties.
-
- caller provided state
-
- An instance that will revoke the impersonation of this SecurityContext
-
-
-
- Depending on the property either
- impersonate a user using credentials supplied or revert
- to the process credentials.
-
-
-
-
-
- Create a given the userName, domainName and password.
-
- the user name
- the domain name
- the password
- the for the account specified
-
-
- Uses the Windows API call LogonUser to get a principal token for the account. This
- token is used to initialize the WindowsIdentity.
-
-
-
-
-
- Gets or sets the impersonation mode for this security context
-
-
- The impersonation mode for this security context
-
-
-
- Impersonate either a user with user credentials or
- revert this thread to the credentials of the process.
- The value is one of the
- enum.
-
-
- The default value is
-
-
- When the mode is set to
- the user's credentials are established using the
- , and
- values.
-
-
- When the mode is set to
- no other properties need to be set. If the calling thread is
- impersonating then it will be reverted back to the process credentials.
-
-
-
-
-
- Gets or sets the Windows username for this security context
-
-
- The Windows username for this security context
-
-
-
- This property must be set if
- is set to (the default setting).
-
-
-
-
-
- Gets or sets the Windows domain name for this security context
-
-
- The Windows domain name for this security context
-
-
-
- The default value for is the local machine name
- taken from the property.
-
-
- This property must be set if
- is set to (the default setting).
-
-
-
-
-
- Sets the password for the Windows account specified by the and properties.
-
-
- The password for the Windows account specified by the and properties.
-
-
-
- This property must be set if
- is set to (the default setting).
-
-
-
-
-
- The impersonation modes for the
-
-
-
- See the property for
- details.
-
-
-
-
-
- Impersonate a user using the credentials supplied
-
-
-
-
- Revert this the thread to the credentials of the process
-
-
-
-
- Adds to
-
-
-
- Helper class to expose the
- through the interface.
-
-
-
-
-
- Constructor
-
- the impersonation context being wrapped
-
-
- Constructor
-
-
-
-
-
- Revert the impersonation
-
-
-
- Revert the impersonation
-
-
-
The log4net Global Context.