aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/model/user.py
AgeCommit message (Collapse)Author
2013-04-03Fix a lot of casings - use standard casing in most placesMads Kiilerich
--HG-- branch : beta extra : source : 8586dddf9f86ac13d703c27cf52f93f0a53cc5bf
2013-04-03Fix 'repos group' - it is 'repository group'Mads Kiilerich
--HG-- branch : beta extra : source : 54acf67ebf45232956e62fe3ce594cd72f45ffbf
2013-03-28Don't catch all exceptionsMarcin Kuzminski
--HG-- branch : beta
2013-03-28follow Python conventions for boolean valuesMads Kiilerich
True and False might be singletons and the "default" values for "boolean" expressions, but "all" values in Python has a boolean value and should be evaluated as such. Checking with 'is True' and 'is False' is thus confusing, error prone and unnessarily complex. If we anywhere rely and nullable boolean fields from the database layer and don't want the null value to be treated as False then we should check explicitly for null with 'is None'. --HG-- branch : beta
2013-02-27further cleanup of UsersGroupMads Kiilerich
Renaming some names ... but trying not to change API or database scheme. --HG-- branch : beta extra : amend_source : 0158273b2595748ad5ce7604dce7e2c0c97870ba
2013-02-27fixed tests and missing replacements from 5f1850e4712aMarcin Kuzminski
--HG-- branch : beta
2013-02-27"Users groups" is grammatically incorrect English - rename to "user groups"Mads Kiilerich
- and same story with "repositories groups" This will only change the user facing texts. Names of files, modules, functions and variables should be changed too. --HG-- branch : beta
2013-02-25moved out password reset tasks from celery, it doesn't make any sense to ↵Marcin Kuzminski
keep them there, additionally they are broken in when executing _(), and url() calls. This fixes issue #572 --HG-- branch : beta
2013-01-10fixes issue #658, my account edit was missing this functionalityMarcin Kuzminski
--HG-- branch : beta
2013-01-04Full IP restrictions enabledMarcin Kuzminski
- short cache query for IP for performance - remove redundant logic - some small css fixes for login form to better show IP restricted message --HG-- branch : beta extra : amend_source : bec698601fe590964ad80b3fb12c0e3385c2c6c4
2012-12-30Added UserIpMap interface for allowed IP addresses and IP restriction accessMarcin Kuzminski
ref #264 IP restriction for users and user groups --HG-- branch : beta extra : amend_source : b1cad1d9ff6ef50b570689dacec7902a8909895b
2012-12-13switch to defaultdict for counter implementationMarcin Kuzminski
--HG-- branch : beta
2012-12-12fixed issue #644 When a user is both in read and write group, the permission ↵Marcin Kuzminski
taken in account is the last saved permission - added configurable parameters to permission class with two algorithms, higherwin and lowerwin. - default is set now to higherwin, later we'll make that configurable --HG-- branch : beta
2012-11-23Implemented #658 Changing username in LDAP-Mode should not be allowed.Marcin Kuzminski
Those username are autocreated, changing them will end up with new account creation after user logs in again --HG-- branch : beta
2012-09-23fixed #570 explicit users group permissions can overwrite owner permissionsMarcin Kuzminski
- added test for that case --HG-- branch : beta
2012-09-07Permissions on group can be set in recursive mode setting defined permission ↵Marcin Kuzminski
to all children - more explicit permissions - fixes for empty values in permission form --HG-- branch : beta
2012-08-10RhodeCode now has a option to explicitly set forking permissions. ref #508Marcin Kuzminski
- changed the way permissons on users groups behave. Now explicit set on user is more important than permission set on users group --HG-- branch : beta
2012-07-25fixed api issue with changing username during update_userMarcin Kuzminski
--HG-- branch : beta
2012-07-04Renamed name to firstname in formsMarcin Kuzminski
- added multiple test for edit my account and edit user from admin - fixed issues with update user accounts from admin --HG-- branch : beta
2012-07-01Added associated classes into child modelsMarcin Kuzminski
--HG-- branch : beta
2012-06-26Updated create_or_update method to not change API key when password is not ↵Marcin Kuzminski
updated --HG-- branch : beta
2012-06-19fix crypt password on update my accountMarcin Kuzminski
--HG-- branch : beta
2012-06-18Added validation into user email mapMarcin Kuzminski
--HG-- branch : beta
2012-06-18white space cleanupMarcin Kuzminski
--HG-- branch : beta
2012-06-17Switched forms to new validatorsMarcin Kuzminski
--HG-- branch : codereview
2012-06-09Share common getter functions in base model, and remove duplicated functions ↵Marcin Kuzminski
from other models --HG-- branch : codereview
2012-05-23Added simple UI for admin to manage emails mapMarcin Kuzminski
--HG-- branch : codereview
2012-05-16print statement cleanupMarcin Kuzminski
--HG-- branch : beta
2012-05-08fixed issue with empty APIKEYS on registration #438Marcin Kuzminski
--HG-- branch : beta
2012-04-13permission comments + out identation for better readabilityMarcin Kuzminski
--HG-- branch : beta
2012-03-22Improved message about deleting user who owns repositoriesMarcin Kuzminski
--HG-- branch : beta
2012-03-21White space cleanupMarcin Kuzminski
--HG-- branch : beta
2012-03-14#399 added inheritance of permissions for users group on repos groupsMarcin Kuzminski
--HG-- branch : beta
2012-03-13fixed #397 Private repository groups shows up before loginMarcin Kuzminski
- added relevant test for this issue --HG-- branch : beta
2012-03-07utils/confMarcin Kuzminski
- created temporary utils2 - made config.conf for storing some configurations - fixed some dependency import problems - code cleanup - rc-extensions now properly work for celery --HG-- branch : beta
2012-03-01fixes issue when user tried to resubmit same permission into user/user_groupsMarcin Kuzminski
--HG-- branch : beta
2012-02-21API updatesMarcin Kuzminski
- update_user will do lookup by userid param that can be id or username - all params are required for update_user api call - get_user/s will return ldap_dn param which is more correct --HG-- branch : beta
2012-01-28#227 Initial version of repository groups permissions systemMarcin Kuzminski
- implemented none/read/write/admin permissions for groups - wrote more tests for permissions, and new permissions groups - a lot of code garden, splitted logic into proper models - permissions on groups doesn't propagate yet to repositories - deprecated some methods on api for managing permissions on repositories for users, and users groups --HG-- branch : beta
2012-02-02gardenMarcin Kuzminski
- unified logging formatting to use only % --HG-- branch : beta extra : rebase_source : 3e21b92e6102c14b6d395db12fbb62a753ca7373
2012-01-27#344 optional firstname lastname on user creationMarcin Kuzminski
- on display fallback to username if both empty --HG-- branch : beta
2012-01-042012 copyrightsMarcin Kuzminski
--HG-- branch : beta
2011-12-29auto white-space removalMarcin Kuzminski
--HG-- branch : beta
2011-12-06fixed repo_create permission by adding missing commit statementsMarcin Kuzminski
- added few tests for checking permission in UserModel - added __json__() into get_dict() to fetch from it hybrid_properties and any additional custom properties - code garden --HG-- branch : beta
2011-12-02commit less modelsMarcin Kuzminski
- models don't do any commits(with few exceptions) - all db transactions should be handled by higher level modules like controllers, celery tasks --HG-- branch : beta
2011-11-27another major refactoring with session managementMarcin Kuzminski
--HG-- branch : beta
2011-11-26implements #222 registration feedbackMarcin Kuzminski
- a notification message is created for admins - email template with registartion --HG-- branch : beta
2011-11-26implements #236 forking copy permission optionMarcin Kuzminski
--HG-- branch : beta
2011-11-26- fixes celery sqlalchemy session issues for async forkingMarcin Kuzminski
- summary page css fixes - speed optimizations --HG-- branch : beta
2011-11-23notification to commit author + gardeningMarcin Kuzminski
--HG-- branch : beta
2011-11-23Tests updates, Session refactoringMarcin Kuzminski
--HG-- branch : beta