Statistics
| Branch: | Tag: | Revision:

root / snf-webproject / synnefo @ b482fbcc

# Date Author Comment
b482fbcc 05/21/2013 03:06 pm Giorgos Korfiatis

webproject: Add optional title in pprint_table

It is shown with `pretty' output format, in non vertical mode.

3ca5c819 05/17/2013 05:46 pm Georgios D. Tsoukalas

webproject: remove app, middleware: session, messages

f1e424a5 05/16/2013 06:30 pm Christos Stavrakakis

webproject: Do not disable existing loggers

Do not disable by default all existing loggers.

47b8d4b1 05/13/2013 12:15 pm Christos Stavrakakis

Merge branch 'feature-quotas' into develop

Conflicts:
docs/dev-guide.rst

4571b863 05/08/2013 06:27 pm Giorgos Korfiatis

webproject: Do not ljust values in vertical mode

Left-justifying resulted in long wrapped empty lines, when a value
exceeded the line size.

21a9ae81 04/30/2013 05:00 pm Christos Stavrakakis

Merge branch 'develop' into feature-quotas

c1ba7f26 04/30/2013 04:28 pm Christos Stavrakakis

Add support for ordering in ListCommand

Make list command order results either by 'order_by' class attribute,
or by primary key.

bd7fe7c1 04/26/2013 12:47 pm Sofia Papagiannaki

Merge branch 'feature-change-astakos-commands' into feature-quotas

Conflicts:
snf-astakos-app/astakos/im/management/commands/resource-list.py
snf-astakos-app/astakos/im/management/commands/service-list.py
snf-astakos-app/astakos/im/management/commands/service-modify.py...

d3f6994d 04/25/2013 04:14 pm Christos Stavrakakis

Fix import and add main to unittests

ffb5cca1 04/08/2013 06:37 pm Sofia Papagiannaki

Update astakos listing commands

Refs: #3346

  • Change `synnefo.webproject.management.commands.ListCommand`
    to permit post database selection filtering
    and pass the command options to the
    handle_db_objects()
  • Change project-list command to inherit
    `synnefo.webproject.management.commands.ListCommand`...
04a1b675 04/08/2013 06:17 pm Christos Stavrakakis

Move astakos lib from snf-common to snf-django-lib

ef06f09d 04/03/2013 01:12 pm Stratos Psomadakis

Update HIDDEN_COOKIES setting

28578e52 04/02/2013 01:49 pm Christos Stavrakakis

Use pprint_table in server-show command

f105d79d 04/02/2013 12:58 pm Christos Stavrakakis

Fix CSV output of ListCommand

Fix CSV output format of ListCommand using csv python module, instead
of manually trying to format them. Also fix small issues
with --no-headers option.

354b9b6f 04/01/2013 07:02 pm Kostas Papadimitriou

Merge branch 'feature-astakos-authpolicies' into develop

Conflicts:
snf-cyclades-app/synnefo/api/management/commands/flavor-create.py
version

76a13815 03/20/2013 07:42 pm Christos Stavrakakis

Move UserCache from cyclades.common to lib.astakos

Move UserCache from synnefo.management.common to synnefo.lib.astakos.
Also, update ListCommand with 'astakos_url' and 'astakos_token' class
attributes, which must be declared only when 'user_uuid_field' is used.

1f0030e6 03/15/2013 06:19 pm Kostas Papadimitriou

Do not replace stdout when running tests

in order to have usable pdb repl

225cea18 03/14/2013 03:58 pm Christos Stavrakakis

Move common code for mngmt commands to webproject

Move cyclades functions that are useful for all managament commands, like
pprint_table or parse_filters, to snf-webproject.

b0e7f310 03/14/2013 03:58 pm Christos Stavrakakis

Add ListCommand to be used for all *-list commands

Create a generic ListCommand to be user for all *-list management
commands. ListCommand handles must tasks that are common to all
management commands, like retrieving objects from db, filtering
results and formating output to a pretty table, json or csv....

01e056b7 03/04/2013 08:18 pm Kostas Papadimitriou

Change default TEMPLATE_DIRS setting

Refs #3363

/var/lib/* is commonly used to store application generated data and not
as a place to configure installed software.

For every Synnefo app, the administrator is free to install a modified
copy of a template under /etc/synnefo/templates....

6a8d05b4 02/14/2013 05:21 pm Christos Stavrakakis

Rewrite logging settings

e43ac298 01/17/2013 04:38 pm Christos Stavrakakis

Check subcommand for encoding stdout

Dummy check, forced by bug in builtin `isatty` method:
https://bugzilla.redhat.com/show_bug.cgi?id=841152

c9284fad 01/07/2013 02:39 pm Christos Stavrakakis

Fix bug in encoding stdout

Propagate attribute access to original sys.stdout. Also fix corner case where
sys.stdout does not have encoding attribute.

65e4e685 01/04/2013 02:20 pm Christos Stavrakakis

Fix typo

21ce46e9 01/04/2013 02:09 pm Christos Stavrakakis

Avoid the use of sys__stdout__

a45fc1ae 01/04/2013 01:28 pm Christos Stavrakakis

Fix UnicodeError when writing to sys.stdout

Due to a bug the was fixed in Python-2.7, in Python-2.6 unicode strings
that are written to sys.stdout (using sys.stdout.write) are not
converted to bytestrings using the file.encoding. Instead
sys.stdout.encoding is set to None, and the default encoding is used. We...

d80813fb 10/25/2012 05:29 pm Stratos Psomadakis

Minor changes

f12085fa 10/24/2012 10:58 pm Stratos Psomadakis

Cleanse sensitive settings in debug output

In case of server errors prevent django from printing or emailing sensitive
settings.

bdff90d3 10/24/2012 11:55 am Christos Stavrakakis

Move LOGGING_SETUP from common to webproject

d01cd522 10/10/2012 03:19 pm Christos Stavrakakis

Various fixes about logging

Fix logging from snf-manage commands. Modify snf-manage implementation
in order to setup the loggers for all snf-manage commands. Configuration
is based on SNF_MANAGE_LOGGING_SETUP setting from snf-common or on
basicConfig if that setting is missing....

ab133e68 09/07/2012 01:25 pm Vangelis Koukis

Move pooling psycopg2 wrapper to synnefo.lib.db

Move pooling psycopg2 wrapper to synnefo.lib.db,
please see commit e83ed1fb8fb4d0d19c2d3f86152fde60b3cadfd9 for all the
details on how to use the pooling wrapper for psycopg2.

e83ed1fb 08/25/2012 03:53 pm Vangelis Koukis

Add pooling synnefo.db.pooled_psycopg2 DBAPI drv

Add DBAPI driver synnefo.db.pooled_psycopg2, which is a
thin, pooling wrapper around psycopg2.

To use, first monkey-patch psycopg2:

from synnefo.db.pooled_psycopg2 import monkey_patch_psycopg2
monkey_patch_psycopg2()...

6f284708 07/16/2012 07:48 pm Kostas Papadimitriou

Fix default cyclades ui UI_MEDIA_URL setting

b85ac316 04/03/2012 05:38 pm Kostas Papadimitriou

Enable USE_X_FORWARDED_HOST by default in webproject

b24907d1 03/30/2012 05:05 pm Kostas Papadimitriou

Set SESSION_SECURE_COOKIE to True by default

5505e60c 03/30/2012 03:33 pm Kostas Papadimitriou

Update webproject default settings

- Removed settings that change based on entry_point hooks
- Other minor default values improvements

bfbdb021 03/12/2012 06:42 pm Kostas Papadimitriou

Improve webproject static files serve views

dde1dd17 03/08/2012 01:43 pm Kostas Papadimitriou

Updated webproject changelog

8e176bdf 02/23/2012 04:58 pm Kostas Papadimitriou

snf-webproject fixes

d60dc9d4 02/23/2012 03:13 pm Kostas Papadimitriou

Logging config and entry_points in snf-webproject

1b9af82c 02/23/2012 12:42 pm Kostas Papadimitriou

Default configuration changes

- cached_db as default session backend
- removed default SITE_ID setting (not required by all synnefo
components)

62a0fc36 02/21/2012 02:46 pm Kostas Papadimitriou

Serve MEDIA_ROOT path from MEDIA_URL url

b3ae4dd1 02/15/2012 05:18 pm Kostas Papadimitriou

Serve static files view from django project

- Disabled if DEBUG is set to False
- Configurable using WEBPROJECT_SERVE_STATIC
- To avoid the need of each synnefo django application to add new url
entries for serving its own static files.

55b1e11f 02/15/2012 02:16 pm Kostas Papadimitriou

Move link_static management command in webproject

426d375b 02/14/2012 06:52 pm Kostas Papadimitriou

Add default 404 and 500 templates in webproject

0aecdbd8 02/14/2012 06:14 pm Kostas Papadimitriou

Moved set_language view in webproject

since the url that changes the user session language was moved in webproject
as an app wide url, the view that gets bind to the url should exist also
in webproject.

6f1fcf10 02/14/2012 02:05 pm Kostas Papadimitriou

New entry point for TEMPLATE_CONTEXT_PROCESSORS

b332dfee 01/27/2012 04:34 pm Kostas Papadimitriou

Change DEBUG setting to False

1c9a0076 01/23/2012 04:37 pm Kostas Papadimitriou

Moved default database settings in webproject

eeda4702 01/19/2012 12:23 pm Kostas Papadimitriou

Moved database default config in snf-app

18c15348 01/18/2012 06:03 pm Kostas Papadimitriou

Fix management commands imports for namespace packages

7df4ecdc 01/16/2012 02:05 pm Kostas Papadimitriou

Added snf-app entry points for static files

18a544f5 01/16/2012 01:56 pm Kostas Papadimitriou

Management utility fix

Handle command discovery of namespaced application modules.

cc11c0dd 01/16/2012 12:55 pm Kostas Papadimitriou

Exclude version modules from repository

07d104d8 01/13/2012 02:11 pm Kostas Papadimitriou

Improved packaging

- Improved automatic version tagging from git repo.
- Added auto generated synnefo.<package>.version module to contain each
package version.

2ce0636e 01/12/2012 03:06 pm Kostas Papadimitriou

Initial commit for snf-webproject

- new package snf-webproject
- moved basic django related settings in snf-webproject
- added new entry point utils to ease the extension mechanism of
snf-webproject (urlpatterns, middleware, static_files, installed_apps)...