Jean-Fred Berthelot
62e8c4b5cd
Bump Django to latest 1.11.6
...
Django 1.11.6 was released on October 5, 2017.
We are still using 1.11 released on April 4, 2017.
Also bump all Django-related dependencies.
2017-10-17 16:43:55 +01:00
Frank Hamand
ab9ff79783
Update ldap dependencies
...
To fix: https://github.com/cabotapp/docker-cabot/issues/7
2017-09-19 12:23:47 +01:00
Frank Hamand
30451d6ddf
Add cloudwatch check plugin to default plugins
...
The cloudwatch check plugin needs django autocomplete light -
eventually we can use this for other plugins too (e.g. getting
the available jenkins jobs for jenkins check)
2017-09-14 11:05:22 +01:00
Frank Hamand
d6f32eaf19
Switch from jenkinsapi to python-jenkins
...
jenkinsapi has terrible performance (between 4 and 14seconds for a
jenkins check) - switch to the openstack library which is lower level.
2017-09-07 11:23:48 +01:00
Jean-Fred Berthelot
d0229a75d3
Use jenkinsapi to talk to Jenkins
...
Instead of hitting the Jenkins API directly using `requests`,
we delegate this to the `jenkinsapi` package, which provides
useful abstractions for that.
Also add unit tests for that new method
2017-08-17 15:46:41 +01:00
Jean-Frédéric
190c8fcec1
Move freezegun to requirements dev ( #521 )
...
`freezegun` is a test dependency and thus belons to `requirements-dev`
Also bumps it from 0.3.8 to latest 0.3.9.
2017-06-06 13:03:09 +01:00
Frank Hamand
f92060d842
Update to django 1.11
...
Last time we tried this django-polymorphic didn't support it so we
had to roll back. It's now been updated so we can go ahead
2017-05-04 17:57:42 +01:00
Nick Romano
9487754b00
Github enterprise org single-sign-on
2017-04-27 17:13:30 -07:00
Frank Hamand
b208a28f21
Rollback django 1.11 change
...
It doesn't work with django polymorphic
2017-04-16 21:39:03 +01:00
Frank Hamand
f99ef6d445
Upgrade to django 1.11
...
This requires a bump in django filter which needs django_filters adding
to INSTALLED_APPS
2017-04-05 15:15:38 +01:00
Jean-Fred Berthelot
976e263079
Bump Pytz to latest version 2017.2
...
Released on 2017-03-30
2017-04-04 17:03:19 +02:00
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