Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / management / commands / user-add.py @ def409e0

History | View | Annotate | Download (4.1 kB)

# Date Author Comment
1808f7bc 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Refactor user creation

Provide auth.make_user() as the single way to create a new user. This
function is responsible to set all automatically generated fields, such as
username, uuid, and token. Clean up AstakosUser.save(), that used to
update these fields, and remove AstakosUser.__init__(). Remove trigger...

ef1fb98b 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Reset user sign flags when adding new terms

When new terms are added, set has_signed_terms=False for all users, forcing
them to accept the new terms. If there are no terms, a new user is created
with has_signed_terms=True.

With this change we can skip querying the terms when authenticating a user,...

47ea6978 11/25/2013 11:32 am Sofia Papagiannaki

astakos: Remove stack traceback

80a548e3 11/11/2013 12:59 pm Christos Stavrakakis

Merge branch 'master' into develop

Conflicts:
Changelog
astakosclient/astakosclient/keypath.py
ci/utils.py
docs/admin-guide.rst
snf-astakos-app/astakos/im/cookie.py
snf-astakos-app/astakos/im/functions.py
snf-astakos-app/astakos/im/quotas.py
snf-astakos-app/astakos/im/views/projects.py...

a3e3917f 10/09/2013 04:52 pm Giorgos Korfiatis

astakos: Remove custom commit_on_success decorator

Prior to 1.3, django wouldn't set the transaction dirty upon a DB
exception and thus wouldn't trigger a rollback, resulting in a dangling
aborted DB exception. See https://code.djangoproject.com/ticket/9964...

64cfc21e 10/07/2013 02:58 pm Kostas Papadimitriou

astakos: Correctly set user password in user-add

password field contains the user password in hashed format. The proper way
to populate the field is by using the set_password method of the user object.

bf3b7d2d 05/27/2013 05:27 pm Giorgos Korfiatis

astakos: Add missing import in management command

aae2103e 05/27/2013 03:57 pm Kostas Papadimitriou

astakos: Update user-add command

removed activate option. User status can be changed using additional
user-modify commands (--verify, --accept etc.)

b095201e 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: remove astakos.im.api module

Replace all AstakosCallpoint references

c370d0f7 02/14/2013 04:26 pm Sofia Papagiannaki

Fix user-add management command

set-password & active options

04e05445 01/25/2013 03:22 pm Sofia Papagiannaki

Fix user-add --active command

Call activate function to send also the user quota limits.

07a1f977 12/02/2012 12:55 am Sofia Papagiannaki

Extend/Update management commands

c0b26605 11/29/2012 05:08 pm Sofia Papagiannaki

Merge remote-tracking branch 'origin/0.12' into devel-0.13

Conflicts:
snf-astakos-app/astakos/im/activation_backends.py
snf-astakos-app/astakos/im/api/admin.py
snf-astakos-app/astakos/im/auth_backends.py
snf-astakos-app/astakos/im/forms.py
snf-astakos-app/astakos/im/functions.py...

bf0c6de5 11/28/2012 12:02 pm Sofia Papagiannaki

Flush other user sessions during password/token change

Refs: #3007

3b99d2d6 11/09/2012 01:19 am Sofia Papagiannaki

Fix management commands

9a06d96f 11/05/2012 03:38 pm Olga Brani

Merged demo

6bdf0aa3 10/03/2012 12:50 pm Sofia Papagiannaki

Rename management commands

66c90acd 09/26/2012 12:37 pm Vangelis Koukis

Rename Astakos management commands for uniformity