Allow the full spectrum of logging with freely selectable loglevel.
Case insensitive matching
Add anchorfile and anchorfile polling interval.
Merge remote-tracking branch 'xor/logger-improvement' into next
Javadocs.
Doh, more javadocs.
Add function Toadlet.sendUnauthorizedPage() as inspired from DarknetAddRefToadlet. This should be used instead of manually copypasting sendErrorPage(...) everywhere.
Use sendUnauthorizedPage instead of copypasta of super.sendErrorPage(...) in all Toadlets:
- I decided against prefixing all calls with "super." because when reading a large codebase one typically does not care whether such functions are in the super class or not. And if it matters, one will find out anyway when hitting F3 on them to go to their location.
- Notice that this fixes some cases of hardcoded English strings instead of using l10n.
- Notice that PproxyToadlet had duplicated the l10n Strings for unauthorized messages. So this commit removes them from the l10n files.
Store the MIME types in order in a LinkedHashMap, and add getParameters()
Check the regex before parsing a MIME type
Add getPlainType()
Add isValidExt(MediaType,String)
Check for MIME type of null if forceCompatibleExtension is set (would have NPE'ed).
Don't both fail and succeed on FetchException due to MIME type incompatible with extension
Rename MIMEType -> FilterMIMEType
Explain MediaType vs MIMEType
Strip quotes from MIME type parameter values, and add them in toString()
Add attribution that got left out somehow when merging
Verify the generated ClientSSKBlock if logMINOR. I've seen local SSKs rejected, need to eliminate theories...
Zero out the computedExponential (master key from connection setup) once we no longer need it.