Commit Graph

363 Commits

Author SHA1 Message Date
Frédéric Péters 559485f76a translation update 2020-04-11 19:56:28 +02:00
Frédéric Péters ac9a609f2b misc: don't ignore duplicated file in occupancy calculation (#41617) 2020-04-11 19:53:15 +02:00
Frédéric Péters ab890bc6c0 templates: set document limit message in a paragraph (#41616) 2020-04-11 19:53:15 +02:00
Frédéric Péters c77aa8a455 templates: don't include document count on homepage (#41615) 2020-04-11 19:53:14 +02:00
Benjamin Dauvergne ed09b38596 Revert "templates: always wrap tables in div.table-container (fixes #22795)"
This reverts commit 49cc5185b2.
2020-04-11 11:24:08 +02:00
Benjamin Dauvergne ac96816391 views: block upload when MAX_DOCUMENTS_PER_USER limit is reached (#41491) 2020-04-10 14:24:14 +02:00
Benjamin Dauvergne f243035c56 settings: add setting FARGO_MAX_DOCUMENTS_PER_USER (#41491)
Limit on number of documents uploaded by an user and stored for him,
it does not apply to documents with an origin (usually uploaded through
the REST API).
2020-04-10 14:24:13 +02:00
Frédéric Péters 6663c63558 misc: change admin to use front login/logout views (#41488) 2020-04-08 22:04:45 +02:00
Frédéric Péters be42fd625f misc: don't allow users to delete other users files (#41493) 2020-04-08 22:04:45 +02:00
Serghei Mihai 8a75f77f8d templates: show document thumbnail only for desktop mode (#40780) 2020-03-18 11:59:31 +01:00
Thomas NOËL 49a74ac0bf debian: log tenants names on migrate_schemas 2020-02-12 15:26:43 +01:00
Frédéric Péters 70d5ea861e misc: remove never-implemented document view (#38220) 2019-12-21 16:09:08 +01:00
Benjamin Dauvergne 6964b2b1c6 tox.ini: use latest pytest 2019-12-10 09:07:13 +01:00
Benjamin Dauvergne 713610a7fb Jenkinsfile: use mergeJunitResults() (#38316) 2019-12-09 15:39:54 +01:00
Benjamin Dauvergne 3a8ab342f9 misc: update merge-junit-results.py 2019-12-07 11:09:02 +01:00
Frédéric Péters a4a78e297e debian: switch to Python 3 (#38106) 2019-12-01 16:30:52 +01:00
Paul Marillonnet 075e7fe64c add django1.11/python3 testing (#33216) 2019-12-01 16:13:44 +01:00
Emmanuel Cazenave 063dfa13c7 jenkins: use ci@entrouvert.org for notifications 2019-10-02 13:56:01 +02:00
Frédéric Péters f076688a0d tox: limit attrs, for pytest
File ".../_pytest/tmpdir.py", line 35, in TempPathFactory
    lambda p: Path(os.path.abspath(six.text_type(p)))
TypeError: attrib() got an unexpected keyword argument 'convert'
2019-10-01 23:40:54 +02:00
Frédéric Péters 3f17a12336 tox: limit django-jsonfield version for python2 2019-08-18 11:38:20 +02:00
Frédéric Péters 6cb9b01970 debian: switch to uwsgi (#13060) 2019-07-09 07:54:36 +02:00
Paul Marillonnet 3ff19a18a9 minor corrections in oauth 2.0 protocol testing (#33217) 2019-07-04 13:00:44 +02:00
Benjamin Dauvergne 8c032bd55b pep8ness & style & py3 2019-07-04 13:00:43 +02:00
Benjamin Dauvergne 7ab9a10a6c add copyright notices 2019-07-04 13:00:43 +02:00
Benjamin Dauvergne 76af20c99e tests: fix PEP8ness 2019-07-04 13:00:43 +02:00
Benjamin Dauvergne cecf66e523 tests: test interface URLs 2019-07-04 13:00:43 +02:00
Frédéric Péters 4d02bad89c jenkins: add support for hotfix releases (#34485) 2019-07-02 14:26:40 +02:00
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