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
Benjamin Dauvergne
26e3515980
logging: add logging handler SysLogHandler
...
- it properly handle unicode,
- it wraps long content as multiple log lines.
2013-05-16 17:55:32 +02:00
Benjamin Dauvergne
fe3a77c488
setup.py: only use tag matching v* for building the version string
2013-05-15 15:24:53 +02:00
Benjamin Dauvergne
5389975c0a
setup.py: does not build the distribution tarball if git workdir is not clean
2013-05-15 15:15:41 +02:00
Benjamin Dauvergne
cffad1de38
djommon: add decorated_include utility extracted from polynum
2013-05-14 21:31:50 +02:00
Benjamin Dauvergne
ef65dbfd72
bump version to 1.1
2013-05-13 17:29:13 +02:00
Benjamin Dauvergne
fad6eb8c90
version middleware: add entrouvert to the list of eo packages
2013-05-13 17:28:59 +02:00
Benjamin Dauvergne
1d459c9d73
version middleware: use application/json for mime-type
2013-05-13 17:28:41 +02:00
Benjamin Dauvergne
07c1be37a6
setup.py: use git describe for generating the version number
2013-05-13 17:12:56 +02:00
Benjamin Dauvergne
eda5ddda8b
djommon: add a django VersionMiddleware
2013-05-13 15:22:59 +02:00
Benjamin Dauvergne
0bf1f2e20a
VersionMiddleware: make get_packages_version a class method
2013-05-13 15:22:18 +02:00
Frédéric Péters
7aa873d283
trivial: do not use an intermediary variable for widowless templatetag
2013-04-26 13:14:46 +02:00
Benjamin Dauvergne
cedb5ed407
setup.py: decrease required nose version
2013-04-26 10:22:39 +02:00
Frédéric Péters
9c389acb6b
build: insert date into version string
2013-04-26 10:06:01 +02:00
Frédéric Péters
61ce9375e4
add au quotidien to list of projects
2013-04-26 09:13:29 +02:00
Frédéric Péters
c10a886565
add a .gitignore
2013-04-26 09:00:52 +02:00