replaces the old, automatic setting of LongReadLen and LongTruncOk in
SQL.pm, and is much more flexible.
Fix some documentation with allowMacroAccess in the DatabaseLink.
Additional tests for DatabaseLink.
Document the new parameter behavior in the changelog and gotchas file.
to send an email to their friends and invite them to create an account
on the site. The feature is enabled or disabled in the site Settings.
(Operation/Settings.pm)
It is implemented as a new operation, Invite (Operation/Invite.pm,
Help/Invite.pm, i18n/English/Invite.pm), and the option is displayed
as an option on the user's account screen. (Operation/Shared.pm).
The form is templated, and lives in the Invite namespace. Once
the invitation is submitted, if the user's email address is not
already in WebGUI, an email is sent and a record is stored in
the userInvitations table.
When the friend gets the invitation, they are taken to the account
creation screen, which conveniently has their email address already
filled in. This required changes in the Auth modules (Auth.pm, Auth/*.pm),
and ProfileField.pm. The latter was so that profile fields can have
their values manually set. The former changes handle inserting the
email address, bypassing the anonymous registration check, and
updating the record in ther userInvitations table.
I refactored some code out of the AdminConsole for finding the url
back to the site and added it to Session/Url.pm. The method is
called getBackToSiteUrl.
like the RTE because by default it uses the default user style from settings.
This renders a full page, when we really need a message.
I've added an argument to session->privilege->insufficient to use the
empty style and to use a different message with no embedded macros
to process for logging in. I tested this on the RTE folder adder and
it works fine. I duplicated this work in the Image add/edit save routine
as well.
Since privilege->insuffient didn't take arguments before, this preserves
the existing API, which is broken.
It didn't work with CIDR format IP addresses. I cannabilized the
code from canShowDebug and refactored it into its own method,
canShowBasedOnIP. Both canShowDebug and canShowPerformanceIndicators call this.
Updated the docs for the debugIp setting to note that it's used for both
showDebug and showPerformanceIndicators.
Added about 20 more tests to ErrorHandler.t. Only the two hard methods are
left, fatal (which closes the session at the end) and showDebug, which is
validating a ton of output.
Add $! to errorHandler message in Session::Icon when toolbar dir cannot be opened.
Change i18n for default toolbar "Default" to be more self explanatory.
- Fixed the EMS default templates to expose all functionality.
- Fixed a problem in the EMS where it wouldn't let you add any events.
- fix: FieldName incorrect after adding profile field
- fix: preload.perl for other roots than /data/WebGUI
- Fixed a bug where polls weren't distributing karma.