30 Commits

Author SHA1 Message Date
Frank Hamand
86471956ae Add interactive api docs using djangorestframework 3.6 2017-03-29 13:09:09 +01:00
Frank Hamand
7c16730140 Revert django-filter to 1.0.1 as 1.0.2 is seriously broken 2017-03-29 12:45:34 +01:00
Frank Hamand
1f47702c22 Update django rest framework and other requirements
There are a few requirement patch version bumps that we should keep up
with. Also a major djangorestframework that will allow us to add their
new interactive API docs feature.
2017-03-29 12:23:51 +01:00
Frank Hamand
2bb94485ef Update requirements with pipenv
The ldap requirements were out of date - django-auth-ldap
switched to pyldap
2017-03-16 10:33:31 +00:00
Frank Hamand
135079fa9a Update requirements and use Pipfile to manage explicit pinning
Currently our requirements are out of date and we don't know what is
pinned for an explicit reason. Using pipfile we can keep them pinned
but update easily
2017-03-16 10:33:31 +00:00
Frank Hamand
2a170d5405 Update ampq
New version of celery requires updated ampq
2017-03-16 10:33:30 +00:00
Frank Hamand
b1bca09088 Upgrade to Django 1.10 2017-03-16 10:33:30 +00:00
Frank Hamand
ed32dea05f Update to celery 4 2017-03-16 10:33:29 +00:00
Frank Hamand
1d263b1173 Fix django polymorphic on django 1.9 2017-03-08 12:43:43 +00:00
Frank Hamand
cea9176f2e Fix broken requirements 2017-03-08 12:43:43 +00:00
Frank Hamand
a12c872244 Upgrade to Django 1.9 2017-03-08 12:43:42 +00:00
Frank Hamand
c969d99e7f Use freezegun for testing alert acknowledgements 2017-03-08 10:52:48 +00:00
Frank Hamand
831fd638d7 Add whitenoise for serving static files 2017-02-17 12:12:50 +00:00
Frank Hamand
a6a84be24e Merge branch 'master' into bug426 2017-02-16 14:46:25 +00:00
Jannis Leidel
a961f9621e
Drop django-smtp-ssl in favor of Django's native feature 2017-02-16 13:59:01 +01:00
Frank Hamand
9f61f9e621 Fix all django warnings
Mainly involved updating django-compressor and related changes
2017-02-16 12:43:38 +00:00
Frank Hamand
f59d02926a Move sqlalchemy to requirements-dev.txt
It's only used for tests (to use sqlite as celery queue)
2017-02-16 11:58:11 +00:00
Frank Hamand
ec5f6825e2 Add default.env and test.env and multiple docker-compose files to override settings 2017-02-13 14:48:07 +00:00
Frank Hamand
2f79bc5a23 Switch to using alpine linux for docker container 2017-02-13 14:08:24 +00:00
Jean-Fred Berthelot
9ac617fcd0 Bump django-compressor to 1.5
django-compressor 1.4 does not support well Django 1.8,
and the `manage.py compress` was failing with
`ImportError: cannot import name template_source_loaders`

We cannot go above 1.5, as starting with 1.6, the unit test
`test_query` in `test_urlprefix.URLPrefixTestCase` fails with
'''
UncompressableFileError: '/test/static/bootstrap/css/bootstrap.css'
isn't accessible via COMPRESS_URL ('/static/') and can't be compressed
'''
2017-02-07 10:31:38 +00:00
Frank Hamand
fe354bb140 Upgrade to Django 1.8 2017-02-06 12:47:37 +00:00
Frank Hamand
5afd50fcf0 Update old django settings
Use the new test runner Discover Runner and no longer specify autocommit
as it's on by default now
2017-02-06 12:46:59 +00:00
Frank Hamand
a2bf8c9a82 Update to Django 1.7
Main changes are to migrations. I started them again from scratch and
then renamed check to status_check (as check is now reserved by django).
The plugins also needed updating to be django 1.7 compatible. (they have
to defined their own migrations if they depend on an app with migrations
now)
2017-02-06 12:40:16 +00:00
Jean-Fred Berthelot
a68c2f6b5d Add test coverage support
- Split out requirements in two files
  (testing and main)

- Add Bash script running test with coverage

- Add .coveragerc configuration file,
  including Django coverage plugin

- Add post-build to Travis script running CodeCov
2016-12-22 11:09:43 +00:00
Jérôme Renard
4d7f9b07ef Miscaellenous fixes with dependencies (#383)
* Force amqp lib under 2.0. Fixes #378
* Fix SSL InsecurePlatform errors with Requests
2016-09-29 19:01:46 +01:00
David Buxton
27f65a2eba Docker-compose setup
- Externalise requirements to pip format
- Add entry-point script
- Update Travis-CI configuration
- Fix test data
2016-09-20 10:33:22 +01:00
Peter Baumgartner
986c39e9e6 Python packaging support
Can be installed from a local checkout with `pip install -e .` or
directly from git: `pip install -e
git+git@github.com:arachnys/cabot.git#egg=cabot`
2014-03-05 16:28:32 -06:00
sealion
ab12979bb6 Calendar icon, initial values for date fields. 2014-03-03 15:08:13 +04:00
David Buxton
b256b3099e Freeze pip 2014-01-05 18:06:03 +00:00
David Buxton
06fe6c884a Clean repo 2014-01-05 17:24:04 +00:00