Christophe Siraut
d1d4c60269
debian: bump debhelper compatibility level ( #32260 )
2019-04-16 14:34:16 +02:00
Frédéric Péters
59bb0a3116
build: add jenkinsfile
2019-03-31 16:25:58 +02:00
Frédéric Péters
99a8987d6b
settings: force 0644 as mode for uploaded files ( #30905 )
2019-02-26 14:50:21 +01:00
Benjamin Dauvergne
077ca84777
views: set Location properly after upload ( fixes #30218 )
2019-01-30 12:16:23 +01:00
Benjamin Dauvergne
5422efa4b6
tests: PEP8 ( #30218 )
2019-01-30 12:09:12 +01:00
Frédéric Péters
ef797f5d1a
settings: add default value for THUMBNAIL_FORCE_OVERWRITE ( #29920 )
2019-01-20 16:29:02 +01:00
Frédéric Péters
a324d1a4c6
tox:limit pytest version to a version compatible with pytest-cov
2019-01-06 20:09:22 +01:00
Paul Marillonnet
7e9377c8fc
fix test db name ( #27104 )
2018-12-17 16:12:34 +01:00
Frédéric Péters
1b13b3a422
tox: limit django-tables2 version ( #26438 )
2018-10-09 15:52:03 +02:00
Frédéric Péters
a24c837811
debian: run service in a utf-8 locale ( #27146 )
2018-10-09 15:52:03 +02:00
Thomas NOËL
e905ec6bc6
debian: depends on Django >= 1.8
2018-09-26 16:15:42 +02:00
Frédéric Péters
510bd0c84f
add compatibility with python 3 ( #25642 )
2018-08-12 17:48:35 +02:00
Frédéric Péters
204722f788
general: always declare django-mellon if it's available ( #25641 )
2018-08-12 16:46:55 +02:00
Frédéric Péters
73a2c5ac15
misc: generate a version number that's compatible with PEP 440 ( #25597 )
2018-08-12 16:46:55 +02:00
Frédéric Péters
5cf5c7d877
add base template for django-mellon error pages ( #25526 )
2018-08-04 10:56:27 +02:00
Frédéric Péters
fe0290b54e
templates: remove unused extra_scripts block ( #25527 )
2018-07-30 21:30:07 +02:00
Frédéric Péters
73eb8c173a
make edit/delete links target specific forms ( #24166 )
2018-06-05 16:59:26 +02:00
Emmanuel Cazenave
16f00d67fc
pin django-webtest ( #23606 )
2018-05-04 15:50:04 +02:00
Frédéric Péters
b2995c82f8
translation update
2018-04-24 10:37:30 +02:00
Frédéric Péters
6d753a0f45
api: allow multiple occurences of same document in portfolio ( #23339 )
2018-04-24 10:23:11 +02:00
Thomas NOËL
ef7a272c3f
disable verbosity on fargo-cleanup command ( #23099 )
2018-04-15 10:02:07 +02:00
Benjamin Dauvergne
90d3f824d9
tests: fix no determinism in tests when using postgresql ( #23134 )
2018-04-12 16:30:03 +02:00
Benjamin Dauvergne
d7360895c7
migrations: recreate squashed migrations from scratch ( fixes #23134 )
2018-04-12 15:57:08 +02:00
Benjamin Dauvergne
933d611db1
tox.ini: run tests with postgresql ( #23134 )
2018-04-12 15:56:41 +02:00
Benjamin Dauvergne
14c0cbe157
debian: add dependency on graphicsmagick-imagemagick-compat ( #15857 )
2018-04-11 11:47:53 +02:00
Benjamin Dauvergne
ee69dda58b
locale: fix difference in newline ending between msgid and msgstr ( #22934 )
2018-04-10 10:23:11 +02:00
Benjamin Dauvergne
6cca9e9165
publish occupancy ( #16828 )
...
As an absolute size, as a ratio of the max size and as a percentage of
the max size.
2018-04-09 09:38:32 +02:00
Benjamin Dauvergne
09cd831cf4
squash migrations ( fixes #22951 )
2018-04-09 09:38:32 +02:00
Benjamin Dauvergne
aebddbb7bf
admin: add oauth2 models, improve search ( fixes #22950 )
...
We also add default ordering on creation_date for most models.
2018-04-09 09:38:27 +02:00
Benjamin Dauvergne
a465f2c176
oauth2: add command oauth2-put-document ( fixes #22948 )
2018-04-09 09:37:21 +02:00
Benjamin Dauvergne
76532ef64a
oauth2: add command oauth2-create-client ( fixes #22949 )
2018-04-09 09:34:25 +02:00
Benjamin Dauvergne
cbf2f6132b
oauth2: improve views ( #22934 )
...
- show client name in confirmation and authorization view
- in document put authorize view show a thumbnail of the new document
and a link to download it.
- if document is already in the portfolio, still show information on the
client and document.
- factorize returning of the document.
2018-04-04 15:53:22 +02:00
Benjamin Dauvergne
3650d9d2c2
django-tables2: make it compatible with dj-tables2>=1.21 ( fixes #22946 )
...
Since version 1.21 django-tables2 does not pass the surrounding context
in the table template anymore, it's only available through table.context.
2018-04-04 15:53:22 +02:00
Benjamin Dauvergne
48b598000f
use sorl-thumbnail ( fixes #15857 )
...
It replaces GraphicsMagick, we do not use the templatetag as the files
are private.
2018-04-04 15:53:22 +02:00
Benjamin Dauvergne
3a6a89da48
views: log download actions ( fixes #22944 )
2018-04-03 15:08:22 +02:00
Benjamin Dauvergne
89987b6bd6
settings: improve defaults ( fixes #22947 )
2018-04-03 15:08:22 +02:00
Benjamin Dauvergne
3fae61924c
urls: allow use of django-debug-toolbar ( fixes #22945 )
2018-04-03 15:08:22 +02:00
Benjamin Dauvergne
4ecdbada32
fargo: add missing migration ( #22682 )
...
We set a default to create the new Document.creation_date field but it's
not part of the real models, this migration revert it.
2018-04-03 10:48:26 +02:00
Serghei Mihai
8b1885ad8e
locale: add missing spaces and properly close tag ( #22934 )
2018-03-30 18:57:28 +02:00
Benjamin Dauvergne
c406cee6c3
locale: update french translation ( fixes #22934 )
2018-03-30 18:47:08 +02:00
Benjamin Dauvergne
49cc5185b2
templates: always wrap tables in div.table-container ( fixes #22795 )
...
django-tables2 < 1.1 only wrap table if the there are multiple pages.
2018-03-30 18:05:34 +02:00
Benjamin Dauvergne
89adb5b9e0
locale: update french translation ( fixes #22841 )
2018-03-30 18:04:10 +02:00
Frédéric Péters
44a52e2c75
templates: add blocks for easier reuse of oauth2 templates ( #22923 )
2018-03-30 13:51:02 +02:00
Frédéric Péters
38330c324e
templates: improve markup of oauth2 pages ( #22922 )
2018-03-30 13:51:02 +02:00
Frédéric Péters
eec8578f8b
oauth2: use <button> ( #22921 )
2018-03-30 13:51:02 +02:00
Frédéric Péters
ca0b908387
move oauth2 templates in a fargo/ subdirectory ( #22920 )
2018-03-30 13:51:02 +02:00
Benjamin Dauvergne
9a824087cc
utils: fix make_url() use by list_to_pick view ( fixes #22888 )
...
Return callback to pick view takes an url argument, same name as the
first argument to make_url() :/
2018-03-29 17:00:50 +02:00
Benjamin Dauvergne
52929b1d2f
migrations: add default date in migration 0015 ( #22682 )
2018-03-27 21:12:10 +02:00
Benjamin Dauvergne
79fb2f8dcd
migrations: add default date in migration 0015 ( #22682 )
2018-03-27 16:00:08 +02:00
Benjamin Dauvergne
7846a6ab5b
dj11: replace deprecated symbols ( #22682 )
2018-03-27 13:13:44 +02:00