Projet

Général

Profil

Statistiques
| Branche: | Tag: | Révision:

root @ master

# Date Auteur Commentaire
43d6b99c 12 mars 2015 18:55 Thomas Noël

remove multitenant, now in hobo (#6491)

1db4b242 10 février 2015 10:09 Frédéric Péters

tenant: do not duplicate --domain option in tenant_command (#6459)

6211c547 10 février 2015 10:09 Frédéric Péters

tenant: add "create super user" to example commands

dc463f1d 10 février 2015 10:09 Frédéric Péters

tenant: fix documentation reference to the manage.py command

e831c9d1 05 février 2015 18:37 Thomas Noël

release 7.0.0

  • django 1.7 support
  • store tenant by hostname on filesystem
2ba6f6bf 05 février 2015 18:36 Thomas Noël

multitenant: update README

e75d0516 05 février 2015 17:04 Thomas Noël

multitenant: sync syncdb with upstream

964ebb51 05 février 2015 16:49 Thomas Noël

multitenant: sync_schemas disabled for django 1.7

7dcc12d8 05 février 2015 16:48 Thomas Noël

tenant: fix django 1.6 usage (missing init.py)

01a055c6 05 février 2015 16:10 Thomas Noël

result of tenant.create_schema is undefined

ad0757e7 05 février 2015 16:06 Thomas Noël

remove useless get_tenant_by_domain command (#6398)

c1206294 05 février 2015 15:53 Thomas Noël

renamed create_schema to create_schemas

c298e1d4 05 février 2015 15:50 Thomas Noël

migrate: disable if django 1.7 (#6388)

eaac238e 05 février 2015 14:34 Thomas Noël

multitenant: use self.schema_name in SyncCommon (#6420)

bb762ce4 03 février 2015 17:35 Thomas Noël

tenants in TENANT_BASE/hostname (#6398)

1f642209 03 février 2015 17:34 Thomas Noël

migrate_schemas: use django 1.7 if available (#6388)

c1f66c77 26 janvier 2015 19:01 Serghei Mihai

tenant object passed to context manager.
"deploy tenant" method should be called with three parameters

Closes #6340

d2ffb5af 23 janvier 2015 18:50 Benjamin Dauvergne

Add a generic command to deploy service tenants from hobo (#6340)

It must be overloaded by applications.

1b18c2d9 20 novembre 2014 10:08 Jérôme Schneider

middleware: PythonSettingsMiddleware overload FileBasedTenantSettingBaseMiddleware and not JSONSettingsMiddleware

Closes #5972

9c67cb92 05 novembre 2014 13:37 Frédéric Péters

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

cd1fa561 24 octobre 2014 16:36 Thomas Noël

add safemigrate_schemas command (#5791)

3a139634 24 octobre 2014 16:06 Thomas Noël

sync_schemas: notice syncdb before doing it (fix)

87131a80 23 octobre 2014 20:29 Thomas Noël

move safemigrate in entrouvert.djommon app (#5781)

entrouvert.djommon.safemigrate app was just superfluous.

bf1da717 23 octobre 2014 20:23 Thomas Noël

improve safemigrate command (#5781)

better readability, handle verbosity, prepare for safemigrate_schema

803fa500 22 octobre 2014 15:38 Thomas Noël

release 6.2.0

60ab23dd 22 octobre 2014 15:27 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 octobre 2014 18:08 Jérôme Schneider

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

Closes #5759

ce71993c 18 septembre 2014 14:26 Benjamin Dauvergne

In management commands of multitenant app rename variable schema_name as domain

c370a248 15 septembre 2014 09:25 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 septembre 2014 12:02 Benjamin Dauvergne

Add tests on multitenants features (fixes #5106)

fbed23e8 12 septembre 2014 12:02 Benjamin Dauvergne

Add command list_tenants (fixes #5044)

refs #5106

5c1d1ad6 12 septembre 2014 12:02 Benjamin Dauvergne

Add command get_tenant_by_domain

refs #5106

3afe385b 12 septembre 2014 12:02 Benjamin Dauvergne

Add command to create missing tenant schemas

refs #5106

ccec1ff4 12 septembre 2014 12:02 Benjamin Dauvergne

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

refs #5106

e8304bf1 12 septembre 2014 12:02 Benjamin Dauvergne

Make tenant model non savable

refs #5106

4cea64a7 12 septembre 2014 12:02 Benjamin Dauvergne

Remove create-tenant command

refs #5106

aae80ef0 12 septembre 2014 12:02 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 septembre 2014 12:02 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 septembre 2014 12:02 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 septembre 2014 12:02 Benjamin Dauvergne

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

refs #5106

e4332b43 12 septembre 2014 12:02 Benjamin Dauvergne

Remove dead import on tenant_schemas.utils

refs #5106

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

middleware: match url /__version__ or /__version__/

86a1ba99 09 mai 2014 14:31 Benjamin Dauvergne

bump release to 6.1.0

03bce4e0 25 avril 2014 15:53 Benjamin Dauvergne

add more entrouvert python packages to VersionMiddleware

1d6a0108 23 avril 2014 09:50 Serghei Mihai

readme updated

6ec2e241 27 mars 2014 17:06 Benjamin Dauvergne

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

ddb02348 27 mars 2014 17:06 Benjamin Dauvergne

djommon: add JSON serializer supporting natural primary keys

fd48a58c 16 mars 2014 16:47 Thomas Noël

multitenant: little fixes in models.py

3bee3bc1 06 mars 2014 10:15 Benjamin Dauvergne

setup.py: remove dependency links

84af2705 05 mars 2014 09:44 Thomas Noël

version middleware: add orleans project

c59fb59b 04 février 2014 15:23 Benjamin Dauvergne

multitenant: fix instructions on the settings in the README

68a0bdce 04 février 2014 15:16 Benjamin Dauvergne

bumpt version to 6.0

e62d56fc 04 février 2014 15:14 Benjamin Dauvergne

multitenenant extension

dbfa0877 21 janvier 2014 21:42 Benjamin Dauvergne

bump version to 5.0

ab06cb99 21 janvier 2014 21:42 Benjamin Dauvergne

humantime: convert datetime to current timezone in template tags

1bcca449 21 janvier 2014 21:41 Benjamin Dauvergne

humantime: adapt datetime timezone before formating the first time

a58b3b89 21 janvier 2014 16:26 Benjamin Dauvergne

bump version

b1b0f6f7 21 janvier 2014 15:30 Benjamin Dauvergne

setup.py: adapt to change in Django compilemessages

7b20f440 21 janvier 2014 15:05 Benjamin Dauvergne

humantime: show datetime in the current timezone

ecc2c1c7 04 décembre 2013 12:03 Benjamin Dauvergne

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

954ab988 03 décembre 2013 18:04 Benjamin Dauvergne

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

58f83775 02 décembre 2013 16:33 Benjamin Dauvergne

setup.py: add humantime to the list of Django applications in the compile_transations command

a1790511 02 décembre 2013 15:19 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.

2eea590b 26 novembre 2013 13:23 Benjamin Dauvergne

add humantime locale files to MANIFEST.in

b8580f56 23 novembre 2013 12:45 Benjamin Dauvergne

update version

53899795 23 novembre 2013 01:24 Benjamin Dauvergne

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

64e4fc7f 29 août 2013 16:05 Benjamin Dauvergne

fix indentation error

16caa784 29 août 2013 15:59 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.

1de39b2a 16 août 2013 09:25 Jérôme Schneider

MANIFEST.in: include MANIFEST.in

4564b8d3 13 août 2013 17:19 Jérôme Schneider

setup.py: close file not a string

4f18903b 13 août 2013 17:03 Jérôme Schneider

setup.py sdist: store version into the archive

8b780259 13 août 2013 16:56 Jérôme Schneider

middleware: fix python-entrouvert name

ad16b9e2 13 août 2013 09:37 Frédéric Péters

version middleware: fix name of compte-agglo-montpellier

5bdabfd9 10 août 2013 16:46 Frédéric Péters

version middleware: add more projects

2315973d 10 août 2013 16:39 Frédéric Péters

version middleware: fix auquotidien package name

b894c577 08 août 2013 11:10 Jérôme Schneider

add Calebasse into ENTROUVERT_PACKAGES

5ba9c64e 06 août 2013 12:01 Jérôme Schneider

setup.py: remove Django dependency

5e981628 06 août 2013 09:06 Jérôme Schneider

setup.py: fix stdist generation

da7fc3a1 06 août 2013 09:02 Jérôme Schneider

setup.py: don't compile translation during sdist

73e94ded 05 août 2013 17:24 Jérôme Schneider

gitignore: add mo files

50ca9a81 02 août 2013 11:46 Jérôme Schneider

seup.py: rename entrouvert to python-entrouvert

b2a0ddcf 06 juin 2013 12:15 Benjamin Dauvergne

bump release to 1.3

ad7cffb2 04 juin 2013 17:10 Benjamin Dauvergne

setup.py: add nose to tests_require

21f4eca2 04 juin 2013 17:08 Benjamin Dauvergne

setup.py: remove nose from setup_requires

e16e794a 04 juin 2013 17:01 Benjamin Dauvergne

setup.py: add django to setup_requires

85fba042 30 mai 2013 10:21 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::...
7b0a8d29 28 mai 2013 14:18 Benjamin Dauvergne

setup.py: allow dirty packages

06164659 28 mai 2013 10:41 Benjamin Dauvergne

logging: set default max_length for syslog lines to 120

69c7c72d 28 mai 2013 09:14 Benjamin Dauvergne

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

c5e20b7c 28 mai 2013 09:03 Benjamin Dauvergne

logging: make maximum line length configurable

eaff3538 21 mai 2013 18:15 Benjamin Dauvergne

logging: remove BOM addition to log messages

6c7f21a1 17 mai 2013 18:09 Benjamin Dauvergne

bump version to 1.2

26e35159 16 mai 2013 17:55 Benjamin Dauvergne

logging: add logging handler SysLogHandler

- it properly handle unicode,
- it wraps long content as multiple log lines.
fe3a77c4 15 mai 2013 15:24 Benjamin Dauvergne

setup.py: only use tag matching v* for building the version string

5389975c 15 mai 2013 15:15 Benjamin Dauvergne

setup.py: does not build the distribution tarball if git workdir is not clean

cffad1de 14 mai 2013 21:31 Benjamin Dauvergne

djommon: add decorated_include utility extracted from polynum

ef65dbfd 13 mai 2013 17:29 Benjamin Dauvergne

bump version to 1.1

fad6eb8c 13 mai 2013 17:28 Benjamin Dauvergne

version middleware: add entrouvert to the list of eo packages

1d459c9d 13 mai 2013 17:28 Benjamin Dauvergne

version middleware: use application/json for mime-type

07c1be37 13 mai 2013 17:12 Benjamin Dauvergne

setup.py: use git describe for generating the version number