Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im @ 42f0a495

# Date Author Comment
4161cb70 04/18/2013 12:20 pm Giorgos Korfiatis

Move resource data away from astakos settings

UI-related presentation data go to presentation.py.
Remove load_service_resources call and related astakos-init
management command.

34d3883a 04/18/2013 12:20 pm Giorgos Korfiatis

Make resource name independent of service name

Also remove unused ResourceMetadata model.

b1ea24f3 04/18/2013 12:20 pm Giorgos Korfiatis

Import resources from definition and config files

Register a service's resources giving option --json <file>.
The json file is expected to represent a dictionary with keys
"service" and "resources".

Currently the default base quota (uplimit) for each resource is read...

9747707e 04/18/2013 12:20 pm Giorgos Korfiatis

Sync quotas efficiently when importing resources

When changing the default base quota (uplimit) for a preexisting resource,
do a bulk update of the related holdings.
When importing a new resource, create the new related holdings.

Prompt the admin for the uplimit in the management command, if a config...

143d8a9d 04/18/2013 12:20 pm Kostas Papadimitriou

Cleanup CLRF's

26551b92 04/18/2013 12:20 pm Kostas Papadimitriou

Remove resource/service model dependencies

- Remove foreign key dependency between Service/Resource model. Replace
it with a service CharField to keep track of the service identifier
that the resource was registered from.
- Remove all references to resource service name in resource lookups

75380308 04/18/2013 12:20 pm Kostas Papadimitriou

Use updated resource models in projects views

b75a7e53 04/18/2013 12:20 pm Giorgos Korfiatis

Update resource-list management command

720955ff 04/18/2013 12:20 pm Giorgos Korfiatis

Modify resource limit from the command line

0156e40c 04/18/2013 12:20 pm Kostas Papadimitriou

Services api/presentation logic cleanup

- Remove presentation information from Service model (order, icon)
- To access the list of services filled with both presentation and api
data use Service.catalog(). The method fills a dict with service
identifiers and service metadata through the following steps...

54bac253 04/18/2013 12:20 pm Kostas Papadimitriou

Astakos missing Service model migrations

bb005bc2 04/18/2013 12:20 pm Giorgos Korfiatis

New call astakos/api/service_quotas

Returns quotas for all resources associated with the service that makes
the call.

42f0a495 04/18/2013 12:20 pm Giorgos Korfiatis

astakos: update service-add and service-list

7125062f 04/17/2013 02:09 pm Giorgos Korfiatis

Make astakos-quota robust on missing base quotas

6bd4129b 04/11/2013 06:30 pm Kostas Papadimitriou

Move astakos webproject hooks

move astakos.im.synnefo_settings to astakos.synnefo_settings and make
the appropriate changes in setup.py

befa5997 04/11/2013 02:07 pm Giorgos Korfiatis

Merge branch 'develop' into feature-quotas

Conflicts:
snf-astakos-app/astakos/im/api/service.py
snf-quotaholder-app/quotaholder_django/quotaholder_app/callpoint.py

6cc50d6a 04/11/2013 01:21 pm Giorgos Korfiatis

Cleanup obsolete quota code

f0001470 04/11/2013 11:34 am Christos Stavrakakis

Merge branch 'feature-snf-django' into develop

Conflicts:
docs/older/Changelog.pithos-app
snf-astakos-app/astakos/im/api/__init__.py
snf-pithos-app/pithos/api/util.py

e7f22a2a 04/10/2013 07:05 pm Christos Stavrakakis

Merge branch 'release-0.13' into develop

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

aee9a389 04/10/2013 03:22 pm Giorgos Korfiatis

Force query to list before passing as argument

An unevaluated query ends up being used as an argument of intended list
type to another query, which fails in the case of an EmptyQuerySet, which
is not iterable.

07168279 04/09/2013 05:53 pm Kostas Papadimitriou

Astakos dashboard url change

landing instead of user profile

32ee6f20 04/09/2013 12:22 pm Kostas Papadimitriou

Fix url typo

cdd30404 04/08/2013 05:53 pm Giorgos Korfiatis

Make pending project options more descriptive

36011c7a 04/08/2013 05:12 pm Giorgos Korfiatis

Fix description for resource `ram' in settings

a4398c8c 04/08/2013 02:14 pm Giorgos Korfiatis

Remove client_key parameter from quotas API

It is not necessary, since the service token in used for authorization.
The api_method decorator is modified so that it passes to the method
the service data through the request object.

1028e568 04/08/2013 01:43 pm Giorgos Korfiatis

API call for resources

4850202e 04/08/2013 01:37 pm Giorgos Korfiatis

Do not register resources in quotaholder

798819c7 04/08/2013 01:03 pm Olga Brani

Merge branch 'release-0.13' of https://code.grnet.gr/git/synnefo into release-0.13

83886184 04/08/2013 01:03 pm Olga Brani

Correct company url in Astakos footer template

c273dd61 04/08/2013 12:47 pm Kostas Papadimitriou

Revert unknown account message

89feafec 04/08/2013 12:33 pm Olga Brani

Merge branch 'release-0.13' of https://code.grnet.gr/git/synnefo into release-0.13

d2b8ec7b 04/08/2013 11:07 am Christos Stavrakakis

Move common test code to snf_django.lib.testing

ee7a2b87 04/08/2013 11:06 am Christos Stavrakakis

Use common 'api_method' decorator to astakos api

Update all astakos API methods to use the new common 'api_method'
decorator. The 'api_method' decorator 'user_required' option
authenticates uses by their token through astakos. Consequently,
astakos methods can not use this option. Instead, two custom...

cf5f17b6 04/08/2013 11:06 am Christos Stavrakakis

Add fault.xml template to pithos and astakos

bd40abfa 04/08/2013 11:06 am Christos Stavrakakis

Move cloud faults to 'snf_django.lib.api.faults'

Gather all faults from all synnefo projects into common
'snf_django.lib.api.faults'.

e496f888 04/05/2013 06:49 pm Giorgos Korfiatis

Adjust astakos to new holding design

Simplifications due to removal of quantity and merging capacity into holding.
Also make sure that holders and resources are represented as strings in
quotaholder calls.

dc9da5b9 04/05/2013 06:49 pm Giorgos Korfiatis

New quota functions in astakos

Handle quotas as nested dictionaries indexed by:
user uuid, source, resource name

0da5e49a 04/05/2013 06:49 pm Giorgos Korfiatis

Compute and show quotas by source

Adjust astakos code to the new nested dict structure of quotas.

aa27f246 04/05/2013 06:49 pm Giorgos Korfiatis

Move quota-related code out of models.py

Intention is to collect all quota-related code to a single file.

9bca7701 04/05/2013 06:49 pm Giorgos Korfiatis

Pass user.id in project join/leave operations

This is done for reasons of uniformity.

8cbea11d 04/05/2013 06:49 pm Giorgos Korfiatis

Sync to quotaholder by recomputing user quotas

On a user joining/leaving a project or on a project definition change,
we used to compute quota diffs for affected users and add them up
to existing values in quotaholder.

We now switch to recomputing all quotas for affected users and resetting...

8288906d 04/05/2013 06:48 pm Giorgos Korfiatis

Remove unused code

f77363c2 04/05/2013 06:48 pm Giorgos Korfiatis

wip Update astakos.im to use local quotaholder

Import directly quotaholder.callpoint in endpoint/qh.py
instead of an HTTP client.
Remove code related to entities, such as registering users and services.
Remove sync_projects logic.

992b81b6 04/05/2013 06:48 pm Giorgos Korfiatis

wip Remove check whether membership is pending sync

It is not needed any more, syncing to quotaholder will happen
in a single transaction along with the call initiating the change.

3d4cef9e 04/05/2013 06:48 pm Giorgos Korfiatis

wip Remove check is_active on projects and memberships

Remove second phase of (de)activation, not needed any more,
since syncing to quotaholder will happen in the same transaction
as the call initiating the syncing.

14a58548 04/05/2013 06:48 pm Giorgos Korfiatis

wip Update astakos.im to simplified quotaholder policy

570015d2 04/05/2013 06:48 pm Giorgos Korfiatis

wip New, simplified syncing to quotaholder

39b2cb50 04/05/2013 06:48 pm Giorgos Korfiatis

wip Restructure astakos views

Replace custom transaction context with:

- decorator `commit_on_success_strict', which uses
transaction.commit_manually and ensures that
the transaction rolls back on any exception

- context ExceptionHandler, which logs and...

c100f891 04/05/2013 06:48 pm Giorgos Korfiatis

Register quotaholder in synnefo settings

200b37fb 04/05/2013 06:48 pm Giorgos Korfiatis

Execute astakos-init and user-update in a transaction

96efed67 04/05/2013 06:39 pm Giorgos Korfiatis

Remove PROJECT_DEACTIVATED state from ProjectMembership

a1999b2e 04/05/2013 06:34 pm Giorgos Korfiatis

Merge branch 'release-0.13' into develop

53f980c2 04/05/2013 12:16 pm Sofia Papagiannaki

astakos api: remove statements of no effect

9cdb86fd 04/05/2013 11:51 am Sofia Papagiannaki

Fix invite view

Invite view and function had the same name.

f770d29f 04/02/2013 12:56 pm Kostas Papadimitriou

Merge branch 'release-0.13' into develop

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

19a992e3 04/02/2013 11:16 am Kostas Papadimitriou

Update astakos tests

handle new email recipients

878d9cf3 04/02/2013 08:49 am Kostas Papadimitriou

Merge branch 'tmp-common-email-recipients' into develop

ad76a6db 04/01/2013 07:04 pm Kostas Papadimitriou

Sync astakos migrations

apply authpolicies migrations on top of recently added astakos migrations in
develop branch.

ee6a65bd 03/29/2013 01:24 pm Georgios D. Tsoukalas

change default project application limit to 0

By default projects are not visible in the UI,
therefore it makes sense to adjust the default
pending application limit to 0, too.

9ce32226 03/29/2013 12:55 pm Kostas Papadimitriou

Reasonable project application cancel url

direct user to the project's index view

44f2d10d 03/28/2013 08:13 pm Kostas Papadimitriou

Additional confirm widgets for join/leave actions

Also deny GET requests for those actions

d12e522d 03/28/2013 07:37 pm Kostas Papadimitriou

Deny GET requests for project actions requests

249026ef 03/28/2013 07:37 pm Kostas Papadimitriou

Add a reason parameter in project deny requests

if not set, None is passed

058b6ec7 03/28/2013 07:37 pm Kostas Papadimitriou

Astakos project details user actions improvenets

- Split actions partial in a separate template.
- Convert simple A html links to confirm forms and do action requests
using POST.
- Use a common tempalte tag ``confirm_link`` to prompt user an
additional step of action confirmation....

7aac6b38 03/28/2013 05:01 pm Giorgos Korfiatis

Let admin see project status just like its owner

Admin is interested in projects `Pending for review'. They appeared
as `Unknown' in the project list before. With the current change,
the status of an admin being a member of a project is hidden,
since we don't present combined project/membership states.

31bc3a62 03/27/2013 11:26 pm Kostas Papadimitriou

Astakos email notification improvements

- Use project setting SERVER_EMAIL as sender to all email notifications.
- Remove astakos specific DEFAULT_CONTAC_EMAIL in favor of snf-common's
CONTACT_EMAIL setting.
- Remove DEFAULT_CONTACT_EMAIL and ADMINS astakos specific settings in favor of...

5af5920c 03/27/2013 09:08 pm Kostas Papadimitriou

Delegate cyclades ui feedback calls to astakos

Mimic pithos app/ui feedback handling to avoid duplicating boilerplate
code.

New settings:
CYCLADES_USER_FEEDBACK_URL

Deprecated (removed) settings:
FEEDBACK_CONTACTS
FEEDBACK_EMAIL_FROM

00b501fc 03/27/2013 06:51 pm Sofia Papagiannaki

Fix user-set-initial-quota command

Do not display unnecessary message:
"Please use either `--from-file' or `--set-capacity' options"
while importing quotas from file.

8d15889c 03/27/2013 06:51 pm Sofia Papagiannaki

Fix send mail error handling

  1. Fix send change email error message
  2. Remove double logging
bc1e29f5 03/27/2013 05:56 pm Stratos Psomadakis

Fix verbose_name for network.private resource

42732c26 03/26/2013 06:42 pm Giorgos Korfiatis

Preserve owner info when modifying project

An admin can modify a project, i.e. create an application based on
a previous application. We distinguish the initial applicant, called
the `owner', from the user who submitted the current application,
called the `applicant'....

db472f3d 03/26/2013 06:42 pm Giorgos Korfiatis

Impose pending application limit on owner

We used to check the limit on applicant; however we would like to
to control pending applications per the original applicant, i.e the
owner. The check is ignored when the applicant is a project admin.

f30f0170 03/26/2013 06:42 pm Giorgos Korfiatis

Log project actions

984fec93 03/26/2013 05:39 pm Kostas Papadimitriou

Optionally display projects in astakos menu

New ASTAKOS_PROJECTS_VISIBLE setting (defaults to False) added to
control whether the projects menu should be visible in astakos user
views.

6f25ec42 03/26/2013 03:50 pm Kostas Papadimitriou

Merge branch 'release-0.13' into feature-astakos-authpolicies

2b745492 03/26/2013 01:30 pm Giorgos Korfiatis

Specify reason when denying project application

Add field `response' in ProjectApplication model.
Add option `-m' in project-control command.

Refs #3493

2c7c0756 03/26/2013 11:26 am Giorgos Korfiatis

Change helper function to allow multiple arguments

a6a152d6 03/22/2013 03:55 pm Giorgos Korfiatis

Move managers.py in synnefo.lib.db

This makes it easier to maintain, since it is used in multiple applications
(astakos.im and quotaholder_app).

2ef1e2d7 03/22/2013 12:35 pm Giorgos Korfiatis

Change output of astakos-quota --sync

Inform specifically which users, if any, have been synced, instead of
listing the whole diff. The latter can be recovered by giving the
option --verify.

f6950864 03/21/2013 06:04 pm Giorgos Korfiatis

Sync only quotas that differ

Refs #3479

Database stack limit issue was triggered by syncing quotas for
all users. It is much faster to compare quotas locally and send
for sync to quotaholder only those that differ.

9d20fe23 03/15/2013 07:49 pm Kostas Papadimitriou

Authentication providers improvements

Major authentication provider refactoring to support

- Modular and easily configurable messages with common context
- Fine grained provider policies to support appling specific policies to
users and/or groups

Key points:...

89d959c9 03/15/2013 07:49 pm Kostas Papadimitriou

Handle activation of unmoderated users

do not allow users that have not been moderated to activate themselves
using activation url

5d5ce247 03/15/2013 07:49 pm Kostas Papadimitriou

Astakos logging improvements

use the common user_log display method accross logging calls

bc8bede2 03/15/2013 07:49 pm Kostas Papadimitriou

Auth providers fix

properly iterate through overridden provider module policies

5d91dccb 03/15/2013 07:49 pm Kostas Papadimitriou

Auth providers fix

properly remove groups in add_groups_policy

97246b51 03/15/2013 07:49 pm Kostas Papadimitriou

Auth providers improvements

- Improved logging
- Messages changes
- Fixes in local module login/add policies handling

478ece6c 03/15/2013 07:49 pm Kostas Papadimitriou

Auth providers tests additions/updates

0d4ffc7f 03/12/2013 11:05 am Kostas Papadimitriou

Avoid logout of unauthenticated users

f3463a00 03/11/2013 06:31 pm Kostas Papadimitriou

Fix shibboleth logging

b336e6fa 03/11/2013 06:18 pm Georgios D. Tsoukalas

Fix+move HTTP quotaholder client in synnefo.lib

Allow per-service configuration of the (http) quotaholder client.
Kamaki is no longer needed in service (or ganeti) nodes,
because the client has been moved to snf-common.

Also fix the default quotaholder settings for pithos backend to be disabled...

e0a81f2e 03/08/2013 12:51 pm Giorgos Korfiatis

Inform user we are working in the background

Print a message about astakos-quota calculating all user quotas,
which on a big system takes some time.

92a8abc9 03/07/2013 07:01 pm Kostas Papadimitriou

Astakos activation fix

Additional check to avoid verified inactive users reactivation

a99a9151 03/07/2013 07:01 pm Kostas Papadimitriou

Classic login form fix

hide prompt for additional login methods if no such methods exist

5df4c364 03/07/2013 07:01 pm Kostas Papadimitriou

Astakos logging fixes

Removed with_logging wrapper which inconsistently extracted user/request
arguments. Logging statements placed explicitly within login/logout
methods.

Fix admin notification logging

a53ee093 03/07/2013 07:01 pm Kostas Papadimitriou

Include auth providers basic logging support

Add logging statements on some important auth providers operations.

Complete auth providers logging support will be merged from the
feature-astakos-authpolicies branch which also includes additional auth
providers improvements.

cb0c401a 03/07/2013 04:52 pm Giorgos Korfiatis

astakos-quota: allow syncing with --user

88f4d3b3 03/07/2013 03:14 pm Georgios D. Tsoukalas

Add 'default' capacity to user-set-initial-quota

7856a37a 03/07/2013 02:03 pm Stratos Psomadakis

pep8 fixes

db8cfc97 03/06/2013 04:20 pm Giorgos Korfiatis

List quotas for a specified user

Refs #3389

9efc25a1 03/06/2013 03:26 pm Giorgos Korfiatis

Fix calculation of initial quotas

Also add all_quotas method in AstakosUser

Refs #3388