Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

root / entrouvert @ 9c67cb92

# Date Author Comment
9c67cb92 05 November 2014 01:37 PM Frédéric Péters

versions: add hobo and django-cmsplugin-blurp as projects of interest (#5878)

cd1fa561 24 October 2014 04:36 PM Thomas Noël

add safemigrate_schemas command (#5791)

3a139634 24 October 2014 04:06 PM Thomas Noël

sync_schemas: notice syncdb before doing it (fix)

87131a80 23 October 2014 08:29 PM Thomas Noël

move safemigrate in entrouvert.djommon app (#5781)

entrouvert.djommon.safemigrate app was just superfluous.

bf1da717 23 October 2014 08:23 PM Thomas Noël

improve safemigrate command (#5781)

better readability, handle verbosity, prepare for safemigrate_schema

803fa500 22 October 2014 03:38 PM Thomas Noël

release 6.2.0

60ab23dd 22 October 2014 03:27 PM Thomas Noël

add safemigrate command (#5781)

manage.py "safely" migrate a projet :
  • syncdb
  • for each app installed, with migrations available but never migrated:
    migrate --fake <app> 0001
  • migrate
7e82bd8e 17 October 2014 06:08 PM Jérôme Schneider

multitenant: add a command to create tenant(s) by hostname

Closes #5759

ce71993c 18 September 2014 02:26 PM Benjamin Dauvergne

In management commands of multitenant app rename variable schema_name as domain

c370a248 15 September 2014 09:25 AM Benjamin Dauvergne

Add tenant based storage handler (fixes #5501)

To use it, add this to your settings.py:

DEFAULT_FILE_STORAGE = 'entrouvert.djommon.multitenant.storage.TenantFileSystemStorage'
b7f756de 12 September 2014 12:02 PM Benjamin Dauvergne

Add tests on multitenants features (fixes #5106)

fbed23e8 12 September 2014 12:02 PM Benjamin Dauvergne

Add command list_tenants (fixes #5044)

refs #5106

5c1d1ad6 12 September 2014 12:02 PM Benjamin Dauvergne

Add command get_tenant_by_domain

refs #5106

3afe385b 12 September 2014 12:02 PM Benjamin Dauvergne

Add command to create missing tenant schemas

refs #5106

ccec1ff4 12 September 2014 12:02 PM Benjamin Dauvergne

Import django-tenant-schemas commands to adapt them to our way of managing tenants

refs #5106

e8304bf1 12 September 2014 12:02 PM Benjamin Dauvergne

Make tenant model non savable

refs #5106

4cea64a7 12 September 2014 12:02 PM Benjamin Dauvergne

Remove create-tenant command

refs #5106

aae80ef0 12 September 2014 12:02 PM Benjamin Dauvergne

New TenantMiddleware which try to find tenants based on the filesystem

If path <settings.TENANT_BASE>/<hostname>/schema exists, read this file an build
tenant modle with Tenant(domain_url=<hostname>, schema_name=file(<path>).read()).

refs #5106

ec0613c1 12 September 2014 12:02 PM Benjamin Dauvergne

Add middleware to load settings from a JSON file based on the tenant

  • Loaded settings are cached based on the mtime of the setting file
  • JSON file path is <settings.TENANT_BASE>/<schema_name>/settings.json

refs #5106

392340cf 12 September 2014 12:02 PM Benjamin Dauvergne

In FileSystemLoader use the schema name instead of the domain name for building template path

Also add a templates/ suffix.

refs #5106

73b85f5d 12 September 2014 12:02 PM Benjamin Dauvergne

In FileSystemLoader rename settings from MULTITENANT_TEMPLATE_DIRS to TENANT_TEMPLATE_DIRS to unformize with other settings

refs #5106

e4332b43 12 September 2014 12:02 PM Benjamin Dauvergne

Remove dead import on tenant_schemas.utils

refs #5106

698c4ef1 24 June 2014 10:18 AM Jérôme Schneider

middleware: match url /__version__ or /__version__/

86a1ba99 09 May 2014 02:31 PM Benjamin Dauvergne

bump release to 6.1.0

03bce4e0 25 April 2014 03:53 PM Benjamin Dauvergne

add more entrouvert python packages to VersionMiddleware

1d6a0108 23 April 2014 09:50 AM Serghei Mihai

readme updated

6ec2e241 27 March 2014 05:06 PM Benjamin Dauvergne

djommon/serializers/json: fix missing import and not handled case of new models

ddb02348 27 March 2014 05:06 PM Benjamin Dauvergne

djommon: add JSON serializer supporting natural primary keys

fd48a58c 16 March 2014 04:47 PM Thomas Noël

multitenant: little fixes in models.py

84af2705 05 March 2014 09:44 AM Thomas Noël

version middleware: add orleans project

c59fb59b 04 February 2014 03:23 PM Benjamin Dauvergne

multitenant: fix instructions on the settings in the README

68a0bdce 04 February 2014 03:16 PM Benjamin Dauvergne

bumpt version to 6.0

e62d56fc 04 February 2014 03:14 PM Benjamin Dauvergne

multitenenant extension

dbfa0877 21 January 2014 09:42 PM Benjamin Dauvergne

bump version to 5.0

ab06cb99 21 January 2014 09:42 PM Benjamin Dauvergne

humantime: convert datetime to current timezone in template tags

1bcca449 21 January 2014 09:41 PM Benjamin Dauvergne

humantime: adapt datetime timezone before formating the first time

a58b3b89 21 January 2014 04:26 PM Benjamin Dauvergne

bump version

7b20f440 21 January 2014 03:05 PM Benjamin Dauvergne

humantime: show datetime in the current timezone

ecc2c1c7 04 December 2013 12:03 PM Benjamin Dauvergne

humantime: remove x days ago formulation, use short date time format instead

954ab988 03 December 2013 06:04 PM Benjamin Dauvergne

humantime: all datetime objects are also date objects, to diffentiate them you must test for the former

a1790511 02 December 2013 03:19 PM Benjamin Dauvergne

add a sinkhole email backend

It makes all mails sent by Django go to an unique recipient; use it on
development and preproduction platforms when there are productions
accounts loaded.

b8580f56 23 November 2013 12:45 PM Benjamin Dauvergne

update version

53899795 23 November 2013 01:24 AM Benjamin Dauvergne

add a template tags library to improve presentation of date and time

64e4fc7f 29 August 2013 04:05 PM Benjamin Dauvergne

fix indentation error

16caa784 29 August 2013 03:59 PM Benjamin Dauvergne

djommon: add a UserInTracebackMiddleware

This middleware class add information on the currently logged in user to
request.META effectively logging them in the traceback.

8b780259 13 August 2013 04:56 PM Jérôme Schneider

middleware: fix python-entrouvert name

ad16b9e2 13 August 2013 09:37 AM Frédéric Péters

version middleware: fix name of compte-agglo-montpellier

5bdabfd9 10 August 2013 04:46 PM Frédéric Péters

version middleware: add more projects

2315973d 10 August 2013 04:39 PM Frédéric Péters

version middleware: fix auquotidien package name

b894c577 08 August 2013 11:10 AM Jérôme Schneider

add Calebasse into ENTROUVERT_PACKAGES

b2a0ddcf 06 June 2013 12:15 PM Benjamin Dauvergne

bump release to 1.3

85fba042 30 May 2013 10:21 AM Benjamin Dauvergne

logging: add a decorator to log timing of functions or methods

Use it like that:

from entrouvert.logging.decorators import timing
@timing(0, 1, logger='timing')
def method(arg0, arg1):
etc...
return arg0
It will output lines to the logger named 'timing' at the DEBUG level::...
06164659 28 May 2013 10:41 AM Benjamin Dauvergne

logging: set default max_length for syslog lines to 120

69c7c72d 28 May 2013 09:14 AM Benjamin Dauvergne

logging: handlers are old style class, super does not work there

c5e20b7c 28 May 2013 09:03 AM Benjamin Dauvergne

logging: make maximum line length configurable

eaff3538 21 May 2013 06:15 PM Benjamin Dauvergne

logging: remove BOM addition to log messages

6c7f21a1 17 May 2013 06:09 PM Benjamin Dauvergne

bump version to 1.2

26e35159 16 May 2013 05:55 PM Benjamin Dauvergne

logging: add logging handler SysLogHandler

- it properly handle unicode,
- it wraps long content as multiple log lines.
cffad1de 14 May 2013 09:31 PM Benjamin Dauvergne

djommon: add decorated_include utility extracted from polynum

ef65dbfd 13 May 2013 05:29 PM Benjamin Dauvergne

bump version to 1.1

fad6eb8c 13 May 2013 05:28 PM Benjamin Dauvergne

version middleware: add entrouvert to the list of eo packages

1d459c9d 13 May 2013 05:28 PM Benjamin Dauvergne

version middleware: use application/json for mime-type

eda5ddda 13 May 2013 03:22 PM Benjamin Dauvergne

djommon: add a django VersionMiddleware

0bf1f2e2 13 May 2013 03:22 PM Benjamin Dauvergne

VersionMiddleware: make get_packages_version a class method

7aa873d2 26 April 2013 01:14 PM Frédéric Péters

trivial: do not use an intermediary variable for widowless templatetag

61ce9375 26 April 2013 09:13 AM Frédéric Péters

add au quotidien to list of projects

1b2c8806 26 April 2013 08:59 AM Frédéric Péters

isolate code to get package versions from wsgi mechanics

b16fd40c 26 April 2013 08:58 AM Frédéric Péters

update tests to work with Python 2.6

fa4c24c2 25 April 2013 06:28 PM Benjamin Dauvergne

add git commit number to version when in a git repository

b37a6fc5 25 April 2013 06:04 PM Benjamin Dauvergne

eohumanize: template tags for eo applications

6c835b8f 25 April 2013 06:04 PM Benjamin Dauvergne

start a djommon django application

91345889 25 April 2013 04:47 PM Benjamin Dauvergne

wsgi middleware for exposing version of entrouvert python package

fixes #2797