- Remove the complexity around the NoSSL parameter -- the harness can proxy SSL without a problem - Change naming convention to Ssl from SSL. e.g. HttpSSLKey is inconsistent with itself. - Skip adding no-op SSL parameters to sample apps (minus booking)
…he other plugins do.
From now on, this version depends on the merge-capable version of goconfig.
For instance it's now possible to pass a full locale (language-REGION) to the Message() function. When the given region was not found or the message does not exist for the given region, an attempt is made to find it in the DEFAULT section.
- Refactored GetMessage(locale, name) to Message(locale, name, args...) - Refactored/expanded tests for Message
…e extension using goconfig What's been added: - Message files-specific directory (/messages from the Revel base path) - Recursive messages files loading; a config.Config instance mapped to each locale - Basic API: * MessageLocales() to get the currently loaded locales * GetMessage(locale, name) to retrieve a message with the given name from the given locale What's still missing: - Messages with message arguments (e.g. GetMessage(locale, name, args...)) - Same-locale message file merging Currently, an error is generated when there is more than 1 file for a same locale. This is a goconfig limitation. If we keep goconfig, this should be added there; something like config.Config.Merge(*config.Config). - View-scoped GetMessage() hook - Default date formats and other date-related stuff - CLI tools for checking messages files Some ideas: - Generate a messages files coverage report (missing messages, etc.) - Malformed message files (malformed locales, non-UTF8 encodings, etc.) - ...