Fixes #11451 - Changed bookmark name to be unique per controller.
Refs #3809 - Remove cops for empty lines
Fixes #8414 - extracts validators from models
Also cleans up some unused validators looking for trailing whitespacethat is stripped by the StripWhitespaces concern.Tried to make some sense from unmatching regexps and validation errormessages. Some validations might need a different regexp to check for what...
Fixes #6710 - unicode characters in url parameters
Original methods to_param defined on resources called name.parameterizeto get rid of url-unsafe characters. This function unfortunately alsostripped off unicode characters.
Changes:- parameterization extracted into a separate module Parameterizable...
fixes #4386 - gem friendly_id to simplify find by id, name, label, etc
fixes #6636, #6657, #6694 - add field length validations, extend audit field length
fixes #6432 - add validation for attributes missing :presence => true and remove duplicate validation messages 'can't be blank'
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
fixes #3975 - add audit to classes Domain, Subnet, SmartProxy, Role, Usergroup, AuthSource, Image, Bookmark that were not audited
fixes #3516 - resource names (inc. domains) are now being parametrized when used to construct urls
fixes #2741 - rails 3 syntax
fixes #2631 - fix remote code execution via controller name (CVE-2013-2121)
Feature #2368 - use N_ for model validators
As per https://github.com/grosser/fast_gettext/wiki/activerecord
Feature #2368 - i18n extracting strings
upgrade foreman to rails 3.2.13
This commit updates from rails 3.0.x to 3.2.x, main changes include:
Users who uses foreman in production, make sure that you now compileyour assets, e.g...
This commit adds most of the functionality required for API v1
The overall goal was to extract the existing JSON responseoverall controllers, and to move them to a seperate name space.
[SQL optimizations] - many small optimizations
fixes #1707 - db:migrate fail on in bookmark.rb with ruby1.9
fixes #1389 Add bookmark support for pages which are not in the main dialog
WIP rails3 migration
fixes #1337 with return if user.nil?
Signed-off-by: Romain Vrignaud <romain@yakaz.com>
fixes #1091 - hosts should not use pre initializer for users
added search bookmarks, fixes #836
app/controllers/bookmarks_controller.rb | 74 ++++++++ app/helpers/application_helper.rb | 2 +-...