Commit Graph

76 Commits

Author SHA1 Message Date
Benjamin Dauvergne 86a1ba9971 bump release to 6.1.0 2014-05-09 14:31:12 +02:00
Benjamin Dauvergne 03bce4e04f add more entrouvert python packages to VersionMiddleware 2014-04-25 15:53:28 +02:00
Serghei Mihai 1d6a010895 readme updated 2014-04-23 09:50:35 +02:00
Benjamin Dauvergne 6ec2e2418e djommon/serializers/json: fix missing import and not handled case of new models 2014-03-27 17:06:55 +01:00
Benjamin Dauvergne ddb023481b djommon: add JSON serializer supporting natural primary keys 2014-03-27 17:06:54 +01:00
Thomas NOËL fd48a58cd0 multitenant: little fixes in models.py 2014-03-16 16:47:09 +01:00
Benjamin Dauvergne 3bee3bc11d setup.py: remove dependency links 2014-03-06 10:15:56 +01:00
Thomas NOËL 84af2705a4 version middleware: add orleans project 2014-03-05 09:44:55 +01:00
Benjamin Dauvergne c59fb59bb9 multitenant: fix instructions on the settings in the README 2014-02-04 15:23:32 +01:00
Benjamin Dauvergne 68a0bdce87 bumpt version to 6.0 2014-02-04 15:16:43 +01:00
Benjamin Dauvergne e62d56fcc1 multitenenant extension 2014-02-04 15:14:44 +01:00
Benjamin Dauvergne dbfa08770b bump version to 5.0 2014-01-21 21:42:40 +01:00
Benjamin Dauvergne ab06cb99d5 humantime: convert datetime to current timezone in template tags 2014-01-21 21:42:06 +01:00
Benjamin Dauvergne 1bcca4496d humantime: adapt datetime timezone before formating the first time 2014-01-21 21:41:59 +01:00
Benjamin Dauvergne a58b3b8908 bump version 2014-01-21 16:26:24 +01:00
Benjamin Dauvergne b1b0f6f720 setup.py: adapt to change in Django compilemessages 2014-01-21 15:30:40 +01:00
Benjamin Dauvergne 7b20f440c8 humantime: show datetime in the current timezone 2014-01-21 15:05:15 +01:00
Benjamin Dauvergne ecc2c1c7ae humantime: remove x days ago formulation, use short date time format instead 2013-12-04 12:03:47 +01:00
Benjamin Dauvergne 954ab98865 humantime: all datetime objects are also date objects, to diffentiate them you must test for the former 2013-12-03 18:04:58 +01:00
Benjamin Dauvergne 58f837750b setup.py: add humantime to the list of Django applications in the compile_transations command 2013-12-02 16:33:01 +01:00
Benjamin Dauvergne a17905116d 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.
2013-12-02 15:19:00 +01:00
Benjamin Dauvergne 2eea590b6d add humantime locale files to MANIFEST.in 2013-11-26 13:23:02 +01:00
Benjamin Dauvergne b8580f563e update __version__ 2013-11-23 12:45:50 +01:00
Benjamin Dauvergne 5389979517 add a template tags library to improve presentation of date and time 2013-11-23 01:24:12 +01:00
Benjamin Dauvergne 64e4fc7f53 fix indentation error 2013-08-29 16:05:37 +02:00
Benjamin Dauvergne 16caa784c2 djommon: add a UserInTracebackMiddleware
This middleware class add information on the currently logged in user to
request.META effectively logging them in the traceback.
2013-08-29 15:59:35 +02:00
Jérôme Schneider 1de39b2aac MANIFEST.in: include MANIFEST.in 2013-08-16 09:25:36 +02:00
Jérôme Schneider 4564b8d3a2 setup.py: close file not a string 2013-08-13 17:19:36 +02:00
Jérôme Schneider 4f18903bdb setup.py sdist: store version into the archive 2013-08-13 17:03:29 +02:00
Jérôme Schneider 8b78025995 middleware: fix python-entrouvert name 2013-08-13 16:56:26 +02:00
Frédéric Péters ad16b9e2cc version middleware: fix name of compte-agglo-montpellier 2013-08-13 09:37:12 +02:00
Frédéric Péters 5bdabfd942 version middleware: add more projects 2013-08-10 16:46:26 +02:00
Frédéric Péters 2315973dd8 version middleware: fix auquotidien package name 2013-08-10 16:39:26 +02:00
Jérôme Schneider b894c577db add Calebasse into ENTROUVERT_PACKAGES 2013-08-08 11:10:40 +02:00
Jérôme Schneider 5ba9c64ed5 setup.py: remove Django dependency 2013-08-06 12:01:15 +02:00
Jérôme Schneider 5e981628fd setup.py: fix stdist generation 2013-08-06 09:06:08 +02:00
Jérôme Schneider da7fc3a15a setup.py: don't compile translation during sdist 2013-08-06 09:02:00 +02:00
Jérôme Schneider 73e94ded3b gitignore: add mo files 2013-08-05 17:24:16 +02:00
Jérôme Schneider 50ca9a8192 seup.py: rename entrouvert to python-entrouvert 2013-08-02 11:46:46 +02:00
Benjamin Dauvergne b2a0ddcf0c bump release to 1.3 2013-06-06 12:15:55 +02:00
Benjamin Dauvergne ad7cffb24f setup.py: add nose to tests_require 2013-06-04 17:10:40 +02:00
Benjamin Dauvergne 21f4eca29d setup.py: remove nose from setup_requires 2013-06-04 17:08:00 +02:00
Benjamin Dauvergne e16e794aa5 setup.py: add django to setup_requires 2013-06-04 17:01:09 +02:00
Benjamin Dauvergne 85fba042d1 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::

		DEBUG module.method args: [arg0,arg1] entry: 23232.23232323
		DEBUG module.method args: [arg0,arg1] exit: 232334.23232323 duration: 232.2323
2013-05-30 10:21:45 +02:00
Benjamin Dauvergne 7b0a8d292e setup.py: allow dirty packages 2013-05-28 14:18:42 +02:00
Benjamin Dauvergne 061646596c logging: set default max_length for syslog lines to 120 2013-05-28 10:41:54 +02:00
Benjamin Dauvergne 69c7c72d45 logging: handlers are old style class, super does not work there 2013-05-28 09:14:49 +02:00
Benjamin Dauvergne c5e20b7ca5 logging: make maximum line length configurable 2013-05-28 09:03:33 +02:00
Benjamin Dauvergne eaff3538a2 logging: remove BOM addition to log messages 2013-05-21 18:15:05 +02:00
Benjamin Dauvergne 6c7f21a197 bump version to 1.2 2013-05-17 18:09:48 +02:00