Project

General

Profile

Download (19.5 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
08d4fc31 09/16/2015 07:55 AM Ori Rabin

Fixes #11188 - EnsureNotUsedBy checks for unscoped associations before destroying

2ef6f4da 09/04/2015 06:38 AM Daniel Lobato Garcia

Fixes #11407 - Uppercase logins from LDAP break external user group sync

On LDAP the login can contain uppercase chars, for instance, "FOO". However
when we log in Foreman for the first time and have that account auto-created,
we can login using "foo". After that, our login will be saved as "foo" on...

bb3572ff 09/02/2015 05:58 AM Daniel Lobato Garcia

Refs #3809 - Stabby lambda syntax for oneliners

I started by spotting log.rb which didn't have a lambda wrapping its
default scope, as needed by Rails 4. Since the style guide and most
Rails 4 documents used the stabby lambda, I turned on the cop so that we...

111b0459 07/24/2015 10:28 AM Daniel Lobato Garcia

Refs #3809 - Enable cop Style/IfUnlessModifier

564b322f 07/20/2015 10:28 AM Tom Caspy

fixes #5897 - when user doesn't have an email, email isn't required

ad00a109 07/02/2015 09:26 AM Daniel Lobato Garcia

Fixes #10928 - Default dashboard widgets for new users

68bf0c89 06/26/2015 06:22 AM Marek Hulán

Fixes #10740 - ignore auditing of all models in migrations

f97fbd6f 06/16/2015 11:55 AM Shlomi Zadok

fixes #10829 - non-admin user cannot update admin password

c8042418 05/21/2015 05:22 AM Dominic Cleal

fixes #9873 - generate unique alert mails for each user group member

To create distinct mails, new Mailer instances are required instead of using
the same one - else, the last message changes the previous ones. The recipient
list is now determined in the ReportImporter, and the MailNotification helps...

516b5720 05/13/2015 10:51 AM Dominic Cleal

fixes #10406 - add LDAP instrumentation and extra logging

42117380 04/02/2015 09:22 AM Tomer Brisker

Fixes #8106 - Dashboard rewrite to allow better customization

9e312588 03/04/2015 04:28 AM Tomer Brisker

Fixes #9593 - replace .all.map(&:<attr>) with .pluck(:attr)

cd032085 02/18/2015 03:54 AM Daniel Lobato Garcia

Refs #3809 - Remove classcheck cop

ad998ce7 12/28/2014 07:22 AM Shlomi Zadok

fixes #8049 - Add timezone to user

1b784c5b 12/24/2014 05:38 AM Tomer Brisker

Fixes #7523 - Removed autocomplete search from id fields

51a88438 11/25/2014 07:37 AM Shlomi Zadok

Fixes #7233 - Drop Ruby 1.8.7 and revert Ruby 1.8.7 specifics

01f8b024 11/10/2014 04:56 AM Daniel Lobato Garcia

Fixes #7369 - External user groups update on login

3a36bdf6 10/31/2014 09:22 AM Stephen Benjamin

fixes #7586, #7734, #7172 - user preferences for receiving mail notifications

Adds a framework for user-selectable mail notifications. The work is
still done in ActionMailer classes and launch by rake in cron, however a
wrapper called MailNotification is used to provide RBAC and make the...

e768c976 10/22/2014 11:56 AM Tomáš Strachota

Fixes #6710 - unicode characters in url parameters

Original methods to_param defined on resources called name.parameterize
to get rid of url-unsafe characters. This function unfortunately also
stripped off unicode characters.

Changes:
- parameterization extracted into a separate module Parameterizable...

6be0508b 10/17/2014 02:02 PM Stephen Benjamin

fixes #4439 - ensure user logins are handled case insensitively

54141ab9 10/07/2014 07:42 AM Daniel Lobato Garcia

Fixes #5139 - leftovers subscribe_to_all_hostgroups

Remove user_xxx unnecessary tables and notices

Update subhostgroups removed

Fixes for migration of foreign keys

Remove users from compute_resource fixture

Remove table notices after fk are removed for pg/mysql

96144a47 10/06/2014 01:57 PM Daniel Lobato Garcia

Refs #3809 - Remove rubocop TODOs

Removed the following TODOs so that cops for these will run from now on:

Lint/AmbiguousOperator, DefEndAlignment, DeprecatedClassMethods
EnsureReturn, RequireParentheses, Void, BlockAlignment, EndAlignment,
UselessAccessModifier,...

8b737c9c 09/29/2014 07:17 AM Joseph Magen

fixes #4386 - gem friendly_id to simplify find by id, name, label, etc

6e948c94 09/29/2014 04:41 AM Shlomi Zadok

Fixes #7393 - searching users by role_id not supported

bd6b4271 09/25/2014 11:10 AM Christine Fouant

fixes #5811 - Validates emails to RFC 5322 specification

fb69591a 09/15/2014 07:32 AM Lukas Zapletal

Fixes #7418 - fixed capitalization for some AR errors

95239600 09/02/2014 03:14 AM Marek Hulán

Fixes #5929 - Taxonomy filter obey permissions

With this patch you can assign permissions like assign_organizations and
assign_locations to particular user so that they can then assign
taxonomies
only from set of taxonomies granted by their filters.

Global users would be still able to assign any taxonomy to a resource as...

597bd2fb 08/28/2014 11:13 AM Dominic Cleal

fixes #7066 - add back $login interpolation for LDAP service account usernames

In cases where an LDAP connection is required outside of the context of user
authentication (e.g. validation of external user group name), an error is
thrown. Users are recommended to use dedicated service accounts for this...

cad9cce9 08/10/2014 04:49 AM Dominic Cleal

fixes #6964 - replace default scope that hides users with explicit scope

fbea42c9 08/07/2014 04:21 AM David Davis

Fixes #6953 - Fixing N_() calls in the User model

3dd51f40 08/06/2014 05:31 AM Dominic Cleal

fixes #6873 - ensure hidden 'owner' is populated on user role

Also re-order seeding such that the anonymous role is added to seeded users.

6421fa1c 07/31/2014 10:35 AM Daniel Lobato Garcia

Fixes #813 - External usergroups can be linked to an LDAP auth source

3034e8e2 07/31/2014 06:00 AM Ori Rabin

fixes #6636, #6657, #6694 - add field length validations, extend audit field length

a0bd5bb2 07/24/2014 01:49 PM Maria Nita

fixes #4641 - Ensure default role only after save/update. Change default role permissions

70acceb5 07/22/2014 07:17 PM Greg Sutcliffe

Fixes #6065 - Update TopbarSweeper to clear cache for other users than User.current

70966275 07/21/2014 10:51 AM David Davis

Fixes #6606 - Allow deletion of non-admin users if 1 admin

When deleting users, you get an error message if there's only one admin account
even if the users aren't admins.

e07f9a12 06/30/2014 07:57 AM Dominic Cleal

fixes #3272 - allow 'admin' account to be removed and replaced

e0d618ef 06/24/2014 08:18 AM Joseph Magen

fixes #6216, #4416 - avoid foreign key errors when deleting some objects in use

5db9d353 06/09/2014 03:02 PM Marek Hulán

Fixes #6117 - clean usergroup cache

Dependent destroy was missing on through association from user side.

1678e0e1 06/02/2014 07:16 PM Dominic Cleal

fixes #5869 - permit accents in user names on Ruby 1.8

1e8a5084 05/07/2014 11:12 AM Jan Pazdziora

fixes #5242 - Update external user attributes and group membership on every logon

fdc476db 05/06/2014 10:25 AM Jan Pazdziora

fixes #3892 - process REMOTE_USER_GROUP_N and REMOTE_USER_GROUP_#, add user to groups based on external user groups.

2fe12e2c 04/19/2014 11:01 AM Stephen Benjamin

fixes #5224 - Don't update a user with blank LDAP attribute values

53516db7 04/14/2014 11:35 AM Joseph Magen

fixes #5141 - User unable to access children taxonomies on switcher

7e1f0c79 04/11/2014 01:37 PM Daniel Lobato Garcia

fixes #3914 - set current taxonomies on login from user defaults

e4fde4e3 04/02/2014 11:01 AM Ivan Necas

Fixes #4976 - ensure the process is really running inside a rake task

d424cab5 03/11/2014 08:58 AM Stephen Benjamin

fixes #3827 - adds ldap avatar support

615ff085 03/06/2014 12:21 PM Marek Hulán

Fixes #4537 - user can set empty roles array via API

acfbc458 03/03/2014 02:26 PM Marek Hulán

fixes #812 - new permissions model, user group role and nest support, role filters for better granularity

Contributions from:
1fa008a4 02/19/2014 10:31 AM Joseph Magen

fixes #3912 - add inheritance for locations / organizations

3065cbc2 02/10/2014 12:35 PM Stephen Benjamin

fixes #4298 - ldap auth should accept parens in firstname or surname

8ffa0b9a 01/07/2014 10:44 AM Jan Pazdziora

fixes #3528 - Populate first name, last name, and email, if available.

355bce36 12/30/2013 11:06 AM Ohad Levy

fixes #3930 - refactoring of edit_self implementation.

b7589c32 11/12/2013 11:53 AM Jan Pazdziora

fixes #3312 - support /users/extlogin as a login page based on REMOTE_USER

a6b0eeb0 10/15/2013 12:18 PM Joseph Magen

fixes #3249 - change regex syntax from start/end of line to start/end of string

f2c78d4a 10/15/2013 12:18 PM Joseph Magen

fixes #2741 - rails 3 syntax

3b656b8d 08/23/2013 10:55 AM Joseph Magen

fixes #2945 - extend AR to add getter/setters *_name(s) for has_many/belongs_to associations

996df692 07/19/2013 05:31 AM Joseph Magen

fixes #2741 - remove unnecessary require statements

aa925f80 06/19/2013 10:45 AM Amos Benari

fixes #2669 username first name and last name doesn't accept i18n characters

e52abb10 06/07/2013 10:52 AM Marek Hulán

Fixes #2632 - extract strings from validation errors

bae665de 06/07/2013 05:17 AM Marek Hulán

fixes #2630 - restrict assignment of roles to those a user has (CVE-2013-2113)

273b110a 06/04/2013 04:21 AM Amos Benari

fixes #2604 searching for hosts with digits can lead to unexpected results

a2a5a5fe 05/28/2013 11:27 AM Greg Sutcliffe

Fixes #2519 - Protect locale changes from validation failure so that
password validation can be run

6a26fecd 05/09/2013 03:17 PM Dominic Cleal

fixes #2281 - don't allow admin flag to be removed from admin account

e2c2abfe 05/09/2013 03:12 PM Lukas Zapletal

fixes #2444 - locale selector in user account

ff8cc704 05/09/2013 05:54 AM Joseph Magen

fixes #2422 Rails 3.2: before_destroy / dependent => :destroy ordering

7d993b41 05/09/2013 05:54 AM Joseph Magen

fixes #2421 added missing has_many :hostgroups and missing :dependent => destroy

9c864cb6 05/06/2013 02:36 AM Ohad Levy

fixes #2393 - Couple of models broken with audited 3.0.0

this is not a fix for the mass assignment problem, rather just to solve immedient packaing issue upstream.

a follow up on mass assignment should be done via another commit.

769b405b 04/24/2013 05:07 AM Dominic Cleal

Feature #2368 - use N_ for model validators

As per https://github.com/grosser/fast_gettext/wiki/activerecord

93117958 04/24/2013 05:07 AM Bryan Kearney

Feature #2368 - i18n extracting strings

bfbf7ed8 04/24/2013 05:07 AM Lukas Zapletal

Feature #2368 - i18n extracting strings

28d1dd18 04/12/2013 02:00 PM Daniel Lobato Garcia

Enforce hostgroup/role uniqueness on User relation

feacea35 04/02/2013 08:30 AM Amos Benari

upgrade foreman to rails 3.2.13

This commit updates from rails 3.0.x to 3.2.x, main changes include:

  • Asset pipline support
  • cleanup of existing assets (javascript, css, images)

Users who uses foreman in production, make sure that you now compile
your assets, e.g...

2fa95807 01/24/2013 07:51 AM Joseph Magen

fixes #2001 - Changing Loc or Org after compute resource selection give 500 error

6f85b289 01/02/2013 07:54 AM Joseph Magen

fixes #2025 - show user login if name is blank

90ed6bdf 12/24/2012 06:16 AM Joseph Magen

removed has_many_polymorphs and used has_many :source and :source_type

dc72b8e3 12/24/2012 06:16 AM Joseph Magen

renamed to thread_session.rb

9e8be300 12/17/2012 02:30 PM Oved Ourfali

fixes #1978 - changing login maximum size to 100

In case of using a long login name (such as ovirt_username@domain), on
the fly login will fail. Increasing the maximum login size to 100.

82c35b15 11/28/2012 09:27 AM Ohad Levy

ensures that admin user can't be duplicated when running within an org

9d0473aa 11/28/2012 07:23 AM Ohad Levy

Ensure existing org user search is unscoped

refs 611f5bff

611f5bff 11/28/2012 05:38 AM Amos Benari

Add organization and location to foreman.

This feature allows foreman to provide multi location, multi tenant and
multi organizations capablities.

the idea is that resources within foreman (e.g. hosts, subnets, users,
environments etc) can belong to one or more locations and organization,...

64ca11af 11/15/2012 05:24 AM Ohad Levy

refactor AuthSourceLdap Class

cleanup the classes, as it was aweful ruby.
TODO: improve the logic between existing user and new users on the fly creaetion

384005e7 11/14/2012 10:03 AM Martin Bacovsky

Fixed validation error handling and auth durin admin user creation

306ed25a 11/11/2012 05:02 AM Robert Birnie

Bug #1936 Allow user creation without email

518d50bb 10/17/2012 05:13 AM Petr Chalupa

auto create admin-user when missing in API requests

add getter for admin user User.admin which auto creates admin when missing

d9a2ebac 07/26/2012 07:58 AM Ohad Levy

[SQL optimizations] - many small optimizations

This is one of a few patches aim to improve Foreman performance
  • Bookmarks have only users, not usergroups
  • added caching to the settings table
  • removed notice message lookups (we are not really using those)...
fe728c74 06/28/2012 04:31 AM Ohad Levy

fixes #1638 - remove whitespaces for user email instead of validation error

d408f980 06/24/2012 08:10 AM Ohad Levy

incorrect error message shown when trying to rename the admin account

bf5785b9 06/24/2012 03:18 AM Ohad Levy

Do not enable auditing while executing rake tasks / migrations

111a4083 06/24/2012 03:09 AM Ohad Levy

fixes #1613 - Email address format validation preventing admin user creation

09ce1364 06/20/2012 03:43 PM Amos Benari

audit as twitter and versions for template.

This also closes #1377 as it offer versions and diff view of the tempates.

it is not ideal, but it should handle the most common case for now,
where we should open other feature requests to support all of the ideas in #1377

eec062e6 06/20/2012 03:19 PM Ohad Levy

wip audits upgrade

e170c321 05/30/2012 08:47 AM Olivier Favre

fixes #1597 - Restrict compute resources access by user

And add some rights to give non admin users so they can perform some normal actions on the hosts they own.

unit/domain_parameter_test.rb self-broke... added a tiny fix.
Removing compute_resources/vms nesting, it is such a nightmare for functional tests....

67799065 03/15/2012 10:34 AM Ohad Levy

code smell

54358a76 02/23/2012 08:23 AM Greg Sutcliffe

fixes #1324 - Separate permssions on hosts from permissions for objects within hosts.

This allows a user to be granted permission to edit the host (and so change the group or proxy) but not, for example, edit the parameters
This could probably be extended further if necessary.

48be0b11 01/29/2012 09:31 AM Ohad Levy

fixes #1456 - renaming the admin account should not be allowed

57280886 11/28/2011 05:45 AM Greg Sutcliffe

fixes #1355 - Ability to Search Users by Role

Signed-off-by: Greg Sutcliffe <>

017e1049 11/28/2011 03:44 AM Ohad Levy

WIP rails3 migration

01984fb7 08/16/2011 07:35 AM Amos Benari

New artwork

  • dark top-bar
  • moved the search box below the tabs line.
  • improved the show host page
  • added notifications
  • Settings tab now changes title based on the active action
  • lots of cleanups - fixes #1066, fixes #926, fixes #628 and many other minor changes...
884c9b25 07/27/2011 11:13 AM Ohad Levy

fixes #1064 - last login info for a user without admin rights is not updated