Commit Graph

55 Commits (10a4ec9d8444e2d0c98191072b9f49a0913a6402)

Author SHA1 Message Date
Martin Linkhorst d03301b60e there are so many side effects by using only a subset of the fixtures and also it creates lots of annoying noise in the test code. this commit changes individual requires to :all which fixes some tests when test files are run individually or in a different order. 12 years ago
Martin Linkhorst 8db0cac033 more minitest assertions 12 years ago
Martin Linkhorst 78c4196656 DEPRECATION FIX: use errors[:attribute] instead of errors.on(:attribute). 12 years ago
Dennis Schmidt 287f82957a updated AuthSourceLdap model to LdapAuthSource 12 years ago
Martin Linkhorst c0275e23fc use new shoulda matcher style 12 years ago
Jens Ulferts ddb0f1d3b5 fixes user tests 12 years ago
jwollert a1476a450b uses #force_attributes= in user test for mass_assignment 13 years ago
jwollert 8e51863807 uses #force_attributes= in user test for mass_assignment 13 years ago
Jens Ulferts 1c1a7c9d84 refactored allowed_to to be more extensible 13 years ago
Martin Linkhorst 97ff222d1c Only allow project admins to export issues. export formats are: atom, rss, api, xls, csv, pdf. #25512 13 years ago
Holger Just 91070236db Set source encoding to UTF-8 13 years ago
Holger Just 07185fb169 [#436] Remove trailing whitespace 14 years ago
Eric Davis 99507a0391 [#197] Upgrade the copyright in the code files 14 years ago
Jean-Philippe Lang a1ffabb490 Changed the way the visibility SQL statement is built. 14 years ago
Jean-Philippe Lang 9964c43b3b Adds random salt to user passwords (#7410). 14 years ago
Jean-Philippe Lang 710edf6c79 Fixed: no email sent with 'Notifiy for any event on the selected projects only' (#7421). 14 years ago
Jean-Philippe Lang 8933482c37 Do not show "for only project I select" notification option on application settings form (#7294). 14 years ago
Jean-Philippe Lang 16fdf5fe66 Fixed: "Notifiy for only project I select" is randomly displayed (#7294). 14 years ago
Jean-Baptiste Barth 17f86d964f Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050 14 years ago
Jean-Philippe Lang e4f319fe61 Validates user's mail_notification and turn options into strings (the attribute type). 14 years ago
Jean-Baptiste Barth e59c927ee5 Fixed: User#allowed_to? returning true in any case if array of projects had only one item (#5332) 14 years ago
Jean-Baptiste Barth e8f3dd07dd Added ability to specify multiple projects in User#allowed_to? (#5332) 14 years ago
Eric Davis 582ed86d82 Add a default mail notification setting for new users 14 years ago
Eric Davis c059300d99 Added User#notify_about? to check when a user should be notified about an event 14 years ago
Eric Davis 0316af7f6b Converted User#mail_notification from a boolean to a string. 14 years ago
Jean-Baptiste Barth c799d03ece Added missing tests for User#allowed_to? #6291 14 years ago
Jean-Philippe Lang ec526c1261 Merged r3873 from trunk. 14 years ago
Jean-Philippe Lang 66820dbed3 Strips user email (#5834). 14 years ago
Eric Davis 6ef240841c Add some tests for User#try_to_login with LDAP. #5592 15 years ago
Eric Davis de17640489 Change User#login to be case-insensitive. #2473 15 years ago
Eric Davis 908d44519c Allow AuthSources to control if they allow password changes. 15 years ago
Jean-Philippe Lang 9306f3ea6c Check that admin LDAP user is untouched after authentication (#5263). 15 years ago
Jean-Philippe Lang 899f06612a Moves the LDAP test server to a fixture. 15 years ago
Eric Davis 19d4ddf2f2 Fix LDAP on the fly creation. The User object doesn't have a :dn attribute. 15 years ago
Eric Davis aa9951b38b Added an API token for each User to use when making API requests. (#3920) 15 years ago
Eric Davis 5f48256c20 Fixed a typo in Object daddy 15 years ago
Jean-Philippe Lang 21e18c1eb4 Adds missing native eol properties. 15 years ago
Eric Davis 7b0cb6aba8 Upgraded to Rails 2.3.4 (#3597) 15 years ago
Jean-Philippe Lang 7dccf9fda6 Allows multiple roles on the same project (#706). Prerequisite for user groups feature. 16 years ago
Jean-Philippe Lang fe28193e4e Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2. 16 years ago
Jean-Philippe Lang d643d9a94c Fixed: User#identity_url raises an error when invalid url is supplied (#2742). 16 years ago
Jean-Philippe Lang ff9da0bab0 Removes the fat ruby-openid gem. Simply use 'gem install ruby-openid' to enable openid support. 16 years ago
Eric Davis 60dc357271 Normalize the identity_url when it's set. 16 years ago
Eric Davis 0310f43126 Hooked up on the fly OpenID user creation. 16 years ago
Jean-Philippe Lang 212bf1e2bb Makes email adress uniqueness case-insensitive (#2473). 16 years ago
Jean-Philippe Lang 72d0843c1f Makes User.find_by_mail case-insensitive (password reminder #2322, repo users mapping). 16 years ago
Jean-Philippe Lang 6a8be88ad6 Sort users by their display names so that user dropdown lists are sorted alphabetically (#2015). 16 years ago
Jean-Philippe Lang 6fc62d393c Fixed: invalid SQL query on User#destroy (#1781). 16 years ago
Jean-Philippe Lang e951d84584 Add a user preference to choose how comments/replies are displayed: in chronological or reverse chronological order (#589, #776). 17 years ago
Jean-Philippe Lang 79f92a675a User display format is now configurable in administration settings. 17 years ago