Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / views / im.py @ 56bbece7

History | View | Annotate | Download (34.7 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...

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.

2dc27ac1 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Add resource visibility flags

Rename flag `allow_in_projects' to `ui_visible'. Add flag `api_visible'.
The former entails the latter.

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

fb4ef6eb 10/16/2013 09:21 pm Kostas Papadimitriou

astakos: Activation view improvements

Reject empty activation code requests

5bc77346 10/15/2013 06:03 pm Giorgos Korfiatis

astakos: pep8 fixes

c1f65a1e 10/07/2013 05:52 pm Kostas Papadimitriou

astakos: Set initial signup values if available

prefill third party signup form with initial values (first name, last name,
email) if available in the third party provider response.

0a70d2c5 10/01/2013 06:16 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.8' into develop

Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5

Conflicts:
ci/ci_squeeze.conf
ci/ci_wheezy.conf
ci/schemas/one_node_squeeze/packages.conf
ci/schemas/one_node_squeeze/squeeze.conf
ci/schemas/one_node_squeeze/wheezy.conf...

554ef175 09/27/2013 10:49 am Christos Stavrakakis

astakos: Replace commit_manually decorator

Replace commit_manually decorator with commit_on_success, since the
functions that were using this decorator did not really needed it.

3d08cdca 09/04/2013 07:48 pm Sofia Papagiannaki

astakos: Fix approval_terms view

Fix crash when request user is not logged in.
Add tests

51db2da2 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Fix some issues pointed out by pyflakes

abe6915b 06/28/2013 09:12 pm Christos Stavrakakis

Merge branch 'release-0.14' into develop

Conflicts:
snf-astakos-app/astakos/im/views/target/redirect.py
snf-cyclades-app/synnefo/logic/backend.py
version

e7726e14 06/19/2013 04:09 pm Kostas Papadimitriou

astakos: Fix regression in signup view

when recpatcha is enabled in astakos settings

f86ceff1 06/19/2013 01:01 pm Christos Stavrakakis

Merge branch 'release-0.14' into develop

Conflicts:
version

a53f77ee 06/18/2013 10:39 am Kostas Papadimitriou

astakos: Explicit transaction handling in commit_manually views

since django 1.3, when using the ``transaction.commit_manually`` decorator,
transaction is required to be closed (using either commit/rollback) even if
only read db operations are executed from within the wrapped method.

c09cb651 06/17/2013 06:24 pm Georgios D. Tsoukalas

Merge branch 'release-0.14' into develop

Conflicts:
snf-astakos-app/astakos/im/messages.py
snf-astakos-app/astakos/im/settings.py
version

8fb8d0cf 06/17/2013 04:22 pm Giorgos Korfiatis

astakos: pep8 fixes

967a99e1 06/14/2013 06:01 pm Kostas Papadimitriou

astakos: Proper content type for .kamakirc view

Django response object content_type attribute is not used. Pass desired content
type in HttpResponse constructor.

31240d2c 06/13/2013 01:15 pm Olga Brani

astakos: Adding info for other clients in API access page

3466f0a3 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: API access page url fix

remove trailing /tokens from `Authentication URL`

1ca02d1a 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: Kamaki sample config file view

b6496f0c 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: Dynamically resolve login_url in login_required

duplicated django user_passes_test and login_required decorators to be able
to dynamicaly resolve the url to which we redirect unauthorized users. Replaced
django login_required with astakos.im.views.decorators.login_required.

1ecda536 06/11/2013 02:21 pm Kostas Papadimitriou

astakos: Separate index/login views

- Login view added. The view renders the login template.
- Index view acts as a gateway to landing/login views based on whether the
user is authenticated.

e9a7ce7c 06/06/2013 05:28 pm Kostas Papadimitriou

astakos: Remove debug statement

2e45abfd 06/06/2013 04:12 pm Kostas Papadimitriou

webproject: common 404, 500 handling

- Move 404, 500 templates from astakos to webproject
- Remove 404, 500 templates from pithos-app
- Webproject now includes static files to serve jquery as an asset in 404, 500
pages.
- Custom 500 handler. Use RequestContext if possible.

f73fc886 06/06/2013 03:36 pm Kostas Papadimitriou

astakos: Change default ui redirect

redirect user to landing page by default

d558ca0b 06/05/2013 08:11 pm Kostas Papadimitriou

astakos: Fix identity endpoint construction

in api access view

14c76abe 06/05/2013 06:13 pm Kostas Papadimitriou

astakos: Renew token action from api access view

7763f5c6 06/05/2013 01:40 pm Kostas Papadimitriou

astakos: Initial commit of API access view

api access view contains all available information for the user to access the
service api.

bea584e1 06/03/2013 12:00 pm Giorgos Korfiatis

astakos: Lift old-style services to components

Add model Component and migrate services along with their token
and UI URL to this new model. Rename service to component where
needed.

Add field service_type in Resource and fill it based on the name
of the service that used to own the resource.

327a4c1e 05/27/2013 05:01 pm Olga Brani

astakos: Change auth provider remove HTTP method

Convert provider removal links to forms (using POST), in order to be able
to remove GET from the remove view allowed HTTP methods.

Refs #3793

58350a50 05/23/2013 04:30 pm Sofia Papagiannaki

astakos: move get_services back to astakos im services

0be81d73 05/21/2013 07:41 pm Sofia Papagiannaki

astakos: move get_menu service under astakos im services

get_menu is used only by astakos cloudbar:
it should not be under astakos api services

8998f09a 05/21/2013 06:28 pm Sofia Papagiannaki

astakos: unified settings handling

Import astakos settings module instead of importing specific settings

3e0a032d 05/21/2013 11:54 am Sofia Papagiannaki

astakos: remove unused imports

70e11eaa 05/20/2013 09:18 pm Sofia Papagiannaki

astakos: reorganize views

  • split project views from the rest views
  • move third party authentication views (astakos.im.target)
    under astakos.im.views
  • move view decorators to a separate module
  • move utility methods utilized by views to a separate module