Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app @ 630e6b6d

# Date Author Comment
3466f0a3 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: API access page url fix

remove trailing /tokens from `Authentication URL`

630e6b6d 06/12/2013 05:20 pm Kostas Papadimitriou

astakos: Some additional tests

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

astakos: Redirect local login GET requests to login

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.

63bcab00 06/12/2013 04:42 pm Giorgos Korfiatis

astakos: Fix sqlite-related issues in migration

In migration 0022, ProjectApplication's field `chain' is altered from
a plain integer field to a foreign key. This triggers a south command
to create an index for the said field. However, it seems that sqlite...

8aaf4f0d 06/12/2013 04:12 pm Georgios D. Tsoukalas

astakos: test 400 on wrong astakos API paths

a01eb018 06/12/2013 04:06 pm Sofia Papagiannaki

astakos: allow empty tenantName in POST /tokens

a08f9369 06/12/2013 03:11 pm Giorgos Korfiatis

astakos: Update pithos_public in helper script

11366070 06/12/2013 02:33 pm Sofia Papagiannaki

astakos: slight change in POST /tokens

tenantName is options in the request input.
Howver, if it is provided, the call should check whether
it conforms with the token holder.

2968180f 06/12/2013 02:33 pm Sofia Papagiannaki

astakos: fix tests

269ac8de 06/12/2013 02:28 pm Christos Stavrakakis

Ensure we return cloud faults under any API prefix

02928611 06/12/2013 01:41 pm Olga Brani

astakos: firefox text alignment bug fix for API access page

9c6bd23f 06/11/2013 07:17 pm Olga Brani

astakos: Improved style for API access page

7f8af0e9 06/11/2013 05:56 pm Sofia Papagiannaki

astakos: slight change in POST /tokens

Return the web login url also in the custom ``SNF:webloginURL``
attribute

559f8135 06/11/2013 04:39 pm Giorgos Korfiatis

astakos: Add weblogin definition in helper script

07860de2 06/11/2013 02:25 pm Sofia Papagiannaki

pithos: change POST /tokens

move SNF:uiURL under each endpoint

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.

900325e8 06/11/2013 02:21 pm Kostas Papadimitriou

astakos: Additional user info in activated notification

336fb8fb 06/11/2013 01:56 pm Sofia Papagiannaki

astakos: fix POST /tokens in case of missing content length

Catch this case and reply with the non authentication protected
information (public mode)

bdb325a1 06/11/2013 12:42 pm Georgios D. Tsoukalas

astakos: add weblogin service for non-web clients

7c3549f0 06/11/2013 12:42 pm Kostas Papadimitriou

astakos: Improved restrict_next utility

Validate url against both provided domain and allowed_schemes

9dd94cc7 06/11/2013 12:42 pm Kostas Papadimitriou

astakos: Remove uuid parameter from weblogin redirect

url only contains token parameter. Clients can use the identity/tokens endpoint
using the gathered token to access the uuid information.

5b65fb47 06/11/2013 12:42 pm Kostas Papadimitriou

astakos: Updated tests

include weblogin view tests

fce2ebcb 06/11/2013 12:42 pm Kostas Papadimitriou

astakos: Update tests

properly clean up database on each test tearDown

65dad30c 06/10/2013 09:37 pm Sofia Papagiannaki

astakos: change web login view

  • allow only GET method
  • ignore next request parameter unless it has pithos scheme
d29f0371 06/10/2013 09:37 pm Sofia Papagiannaki

astakos: change authenticate keystone api call

If no request body is provided (no request content length),
the response returns only non authentication protected information
(before it used to return BadRequest)

948dd719 06/10/2013 06:52 pm Olga Brani

astakos: Api token view firefox bug fix

Auth url and API token in API access page are disabled html inputs.
On firefox, these inputs are replaced by <span> elements to allow them to
be selected on user click.

b4109758 06/10/2013 06:11 pm Giorgos Korfiatis

astakos: Rename helper script for uniformity

Rename snf-register-components to snf-component-register.

c9556cfc 06/10/2013 05:05 pm Vangelis Koukis

Astakos UI: Minor textual changes

c3b42b86 06/10/2013 11:45 am Giorgos Korfiatis

quotaholder: Revert migration of log timestamps

Because migrating the timestamp fields of model ProvisionLog from string
to datetime takes too long, we keep them in string format.

Alter migrations 0005 through 0007 introduced in commit 164e64d.

064f42cd 06/10/2013 11:44 am Giorgos Korfiatis

astakos: Remove debug print from migration

db66a81a 06/07/2013 05:47 pm Giorgos Korfiatis

astakos: Fix typo

26498848 06/07/2013 05:44 pm Giorgos Korfiatis

astakos: Generate tokens without trailing equal signs

Strip padding ("=") introduced during the base64 encoding.
Update token examples in docs.

3317f0e9 06/06/2013 07:02 pm Georgios D. Tsoukalas

astakos: Depend on astakosclient

The service definitions of astakos are not actually within
the astakos package, but in astakosclient.
The reason for this is that every other component needs
some knowledge about astakos' services, and the only common
astakos-related package they depend is astakosclient.

7fb14dbb 06/06/2013 06:05 pm Kostas Papadimitriou

cloudbar: Automatic active service detection

automatically detect which cloudbar menu is active by matching the current
window location with the registered service url.

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.

0e2b3dbf 06/06/2013 03:36 pm Olga Brani

branding: Synnefo logo for 404 and 500 pages.

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

astakos: Change default ui redirect

redirect user to landing page by default

15f056df 06/06/2013 01:51 pm Olga Brani

astakos: responsive css for API Token View page

a248ebbb 06/06/2013 01:26 pm Kostas Papadimitriou

astakos: Update tests

64c5e1e8 06/06/2013 12:23 pm Giorgos Korfiatis

astakos: Remove data part from migration 0022

A data migration was mistakenly squashed in schema migration, causing
problems with newer south versions. This data migration is not needed
in a production system, because it affects only a table introduced in...

129d3848 06/06/2013 10:32 am Giorgos Korfiatis

astakos: Ease importing services in upgrade

Adapt script snf-register-components to update/import services for
an already registered component.

04db5f81 06/05/2013 09:14 pm Kostas Papadimitriou

astakos: Sensible root url redirects

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

astakos: Fix identity endpoint construction

in api access view

0acca1b7 06/05/2013 08:09 pm Kostas Papadimitriou

astakos: Remove compatibility urls

no longer needed

c5e59a8e 06/05/2013 08:08 pm Kostas Papadimitriou

Merge branch 'feature-api-access-view' into develop

bebd2649 06/05/2013 08:06 pm Kostas Papadimitriou

astakos: Profile fields clean up

- Direct access to user uuid is no longer useful to the users.
- `auth token`, `auth token expires` and `renew token action` are now accessed
from the api access view.

49cf3598 06/05/2013 06:55 pm Giorgos Korfiatis

astakos: Fix typo in service name

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

astakos: Renew token action from api access view

74907468 06/05/2013 06:12 pm Kostas Papadimitriou

astakos: Remove duplicate url entry

82db931d 06/05/2013 05:41 pm Olga Brani

astakos: style improvement for longer API tokens in API Token View

11b7870d 06/05/2013 05:38 pm Georgios D. Tsoukalas

Merge branch 'feature-reconfigure-urls' into develop

Conflicts:
docs/pithos-api-guide.rst

923e6582 06/05/2013 05:31 pm Georgios D. Tsoukalas

Rename astakos_keystone to astakos_identity

dc868498 06/05/2013 05:03 pm Olga Brani

astakos: apply css style to API access view

21879b7f 06/05/2013 03:20 pm Giorgos Korfiatis

astakos: Automate registering components

Add script snf-register-components and helper snf-service-export.

469c4392 06/05/2013 01:40 pm Kostas Papadimitriou

astakos: Enrich api access content

Signed off by

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.

b31a08eb 06/05/2013 01:09 pm Kostas Papadimitriou

astakos: Set tokens api endpoint name in urls

in order to be able to use django reverse mechanism to resolve the endpoint
path.

d9f634a2 06/05/2013 12:54 pm Giorgos Korfiatis

astakos: Adapt reconcile-resources to new-style services

3d71bb5b 06/05/2013 10:33 am Giorgos Korfiatis

astakos: Prepend version to service/user_catalogs URL

8c8e318d 06/04/2013 08:54 pm Kostas Papadimitriou

astakos: Properly resolve urls from base host

BASE_URL contains the prefix which is also included in paths returned from
django's reverse utility. Thereby joining BASE_URL with a reverse result
generates urls with duplicate BASE_PREFIX. Replaced BASE_URL with BASE_HOST in...

412e8042 06/04/2013 08:31 pm Kostas Papadimitriou

astakos: Move all api urls under v1.0

feedback/user_catalogs/autenticate endpoints moved under /v1.0/ prefix

ee9bd998 06/04/2013 07:14 pm Georgios D. Tsoukalas

astakos: correct keystone version v2.0

38807757 06/04/2013 06:19 pm Giorgos Korfiatis

astakos: Register resources with services

If service-import finds resource definitions included in a service
definition, it imports them, too.

a7f3f2a4 06/04/2013 06:19 pm Giorgos Korfiatis

astakos: Add command to remove a component

0e08e08e 06/04/2013 06:19 pm Giorgos Korfiatis

astakos: Record the service originating a resource

Add field service_origin in model Resource as well as in the
resource definitions, indicating the service where the resource
comes from. It is not a foreign key, in order to allow deleting
a component/service, without affecting registered resources and...

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

astakos: Cleanup and pep8 fixes in commands

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

astakos: Support reading from stdin in import commands

In commands resource-import and service-import, read from standard input
with `--json -'.

8c84ac66 06/04/2013 05:32 pm Georgios D. Tsoukalas

astakos: add version v1.0 in account API URLs

47d421ae 06/04/2013 05:31 pm Georgios D. Tsoukalas

Incorporate all resources into service definitions

- Add 'service_origin' key in resources, as the normative name of
the service that exported it.
- Keep resources backwards compatible, export-resource-service
reads resources from the service list.

9d9af77d 06/04/2013 01:30 pm Giorgos Korfiatis

astakos: Extend component URL to size 1024

6d4190ba 06/04/2013 01:30 pm Giorgos Korfiatis

astakos: Generate tokens randomly

Token is now random 256 bits encoded as a base64 string.
Increase the auth_token database fields to accommodate it.

4f3653ca 06/04/2013 01:02 pm Kostas Papadimitriou

astakos: Use proper update_token url

Propagate update_token url via window object to the updateToken js function.

7bffb44b 06/03/2013 06:05 pm Giorgos Korfiatis

astakos: Improve argument handling in commands

a24b5bda 06/03/2013 05:30 pm Sofia Papagiannaki

astakos: remove get_endpoints keystone api call

4c299173 06/03/2013 03:57 pm Sofia Papagiannaki

astakos: fix xml template for authenticate keystone api call

8cb96389 06/03/2013 03:47 pm Sofia Papagiannaki

astakos: modifications in authenticate keystone api call

  • change the call to utilize the updated db models
  • update tests
  • update docs
efc2b8ae 06/03/2013 03:33 pm Giorgos Korfiatis

astakos: Adapt path in api tests

4991129c 06/03/2013 03:17 pm Kostas Papadimitriou

astakos: Relative default redirect urls

5f28aa14 06/03/2013 03:17 pm Kostas Papadimitriou

astakos: Update auth tests

fb9ba8d5 06/03/2013 03:17 pm Kostas Papadimitriou

astakos: Proper BASE_URL setting name

eb90fc82 06/03/2013 02:10 pm Giorgos Korfiatis

astakos: Purge services for a given component

Provide option `--purge-services' in command component-modify.
One can always use service-import to register the services again.

b55b9692 06/03/2013 02:09 pm Giorgos Korfiatis

common: Export only services specified as public

Employ helper function `filter_public' in service-export-* commands.
Also set `pithos_ui' service to non-public and clear version of
`astakos_ui'.

e6d8c1c0 06/03/2013 01:52 pm Kostas Papadimitriou

astakos: Improved twitter oauth response handling

- Log error responses
- Handle invalid token request responses (HTTP response is 200 so we check
status value nested in oauth response body)

fb814235 06/03/2013 01:45 pm Kostas Papadimitriou

astakos: Update references to astakos urls

/im/ renamed to /ui/.
Updated all references in default settings, documentation and constants.

f262b37e 06/03/2013 12:19 pm Georgios D. Tsoukalas

Merge remote branch 'origin/feature-services-endpoints' into feature-reconfigure-urls

6e416d7b 06/03/2013 12:17 pm Georgios D. Tsoukalas

astakos: put keystone API in a separate prefix

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.

0446cc58 06/03/2013 12:00 pm Giorgos Korfiatis

astakos: Add new-style services with endpoints

Drop old Service model and add models Service, Endpoint, and EndpointData.
Remove Resource's reference to Service.

252eef38 06/03/2013 12:00 pm Giorgos Korfiatis

astakos: Add commands to handle components

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

astakos: Import new-style services and resources

7b0f970f 06/03/2013 12:00 pm Giorgos Korfiatis

astakos: Impose uniqueness on auth_token

Add uniqueness constraint in AstakosUser and Component models.
Before that, invalidate (set to None) any duplicate tokens.

When renewing a token, retry a couple of times, if generated token
is in use.

484a79a1 06/03/2013 11:50 am Georgios D. Tsoukalas

astakos: configure prefixes from service catalog

6c7af65c 06/03/2013 11:50 am Georgios D. Tsoukalas

astakos: remove BASEURL, use BASE_URL setting

4080a1df 06/03/2013 11:50 am Georgios D. Tsoukalas

service catalogs: autofill endpoints from BASE_URL

d861a967 06/03/2013 11:50 am Georgios D. Tsoukalas

astakos: add service-export-astakos command

2c8ce31f 06/03/2013 11:50 am Giorgos Korfiatis

astakos: Automate registration of services

Add script `astakos-register-services' that will help the deployer
register the standard Synnefo services and their resources.

c33fa75f 06/03/2013 11:50 am Georgios D. Tsoukalas

astakos-register-services: better example urls