Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im @ f6ff3033

Name Size
  fixtures
  management
  migrations
  static
  templates
  templatetags
  tests
  views
__init__.py 0 Bytes
activation_backends.py 19.8 kB
astakos_resources.py 1.7 kB
auth.py 3.2 kB
auth_backends.py 3.3 kB
auth_providers.py 22.5 kB
context_processors.py 4.1 kB
cookie.py 4.2 kB
forms.py 37.9 kB
functions.py 33.4 kB
messages.py 17.3 kB
models.py 65.4 kB
notifications.py 3.1 kB
presentation.py 10.3 kB
project_notif.py 5.4 kB
quotas.py 9.9 kB
register.py 6.5 kB
settings.py 8.6 kB
tables.py 14.4 kB
urls.py 8.3 kB
util.py 11.1 kB
weblogin_urls.py 1.6 kB
widgets.py 2.7 kB

Latest revisions

# 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...

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

astakos: Make user uuid field non-null

Set a uuid to any user missing one and set the field null=False.

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

astakos: Lock user in im views

Make sure that views modifying users run in a transaction and lock users
before updating.

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,...

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

astakos: Use TestCase instead of TransactionTestCase

We need to be sure that code runs in a transaction (provided by TestCase).
If we need in some case to test the transactional behavior itself,
we could there use TransactionTestCase.

5ae8216a 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Remove unused user creation forms

InvitedLocalUserCreationForm, InvitedThirdPartyUserCreationForm,
ShibbolethUserCreationForm, and InvitedShibbolethUserCreationForm
were not used.

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

astakos: Correct realname splitting

If a realname splits in more than two parts, store the whole value
as last_name. Also use the util function rather than initializing
a temporary AstakosUser, where needed.

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

astakos: Remove stack traceback

c94dcec3 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Preserve visibility flags on register

When re-registering an existing resource, do not override the visibility
flags. They may have been modified by the administrator.

Also fix field naming in resource-list.

d5421da4 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Revert moderation of non-verified users

Migration 0031 accepted users to whom activation email had been sent, even
if their email had not been verified. This is an inconsistent state. We
set moderated = False for inactive users. If there are any active users in...

View revisions

Also available in: Atom