Commit Graph

504 Commits

Author SHA1 Message Date
Frank Hamand 8ea6a4ed6a Merge pull request #480 from arachnys/update-requirements
Update django rest framework and other requirements
2017-03-29 12:53:25 +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 bce10a7b57 Merge pull request #476 from doboy/include-git
do not exclude git because in setup.py requires it
2017-03-27 10:06:51 +01:00
Frank Hamand 3cb6ff1dd9 Merge pull request #475 from doboy/syncdb
syncdb was changed to migrate in Django==1.7
2017-03-27 10:05:58 +01:00
Zack Do 5f04f0c769 do not exclude git because in setup.py requires it
```
 1#!/usr/bin/env python
 2import os
 3from setuptools import setup, find_packages
 4from os import environ as env
 5import subprocess
 6
 7from pip.req import parse_requirements
 8
 9requirements = [str(req.req) for req in parse_requirements('requirements.txt', session=False)]
10requirements_plugins = [str(req.req) for req in parse_requirements('requirements-plugins.txt', session=False)]
11
12VERSION = subprocess.check_output(['git', 'describe', '--tags']).strip()
13
14setup(
15    name='cabot',
16    version=VERSION,
17    description="Self-hosted, easily-deployable monitoring and alerts service"
18                " - like a lightweight PagerDuty",
19    long_description=open('README.md').read(),
20    author="Arachnys",
21    author_email='info@arachnys.com',
22    url='http://cabotapp.com',
23    license='MIT',
24    install_requires=requirements + requirements_plugins,
25    packages=find_packages(),
26    include_package_data=True,
27    entry_points={
28        'console_scripts': [
29            'cabot = cabot.entrypoint:main',
30        ],
31    },
32    zip_safe=False
33)
```
2017-03-24 11:57:01 -07:00
Frank Hamand 4d9f5ddb34 0.10.1 2017-03-24 18:25:27 +00:00
Zack Do 7ce8423c96 syncdb was changed to migrate in Django==1.7 2017-03-24 11:25:22 -07:00
Frank Hamand 80b3ad64cd Fix cabot_alert_twilio not working on django 1.10 2017-03-24 18:25:01 +00:00
Frank Hamand 187eb93393 Merge pull request #472 from arachnys/gitter-badge
Add Gitter.im badge to ReadMe
2017-03-24 17:51:16 +00:00
Frank Hamand 11ba7e759e Merge pull request #474 from arachnys/frankh-patch-2
Add pypi version shield
2017-03-24 17:50:46 +00:00
Frank Hamand 2cb13eee4d Add pypi version shield 2017-03-24 17:28:15 +00:00
Frank Hamand 437368904c Merge pull request #453 from arachnys/remove-docs-badge
Remove docs badge from readme
2017-03-24 17:27:04 +00:00
Frank Hamand 71d66d658b 0.10.0 2017-03-24 13:50:10 +00:00
Jean-Fred Berthelot b3f0cb1491 Add Gitter.im badge to ReadMe 2017-03-23 20:17:43 +01:00
Frank Hamand 9f8291b54e Merge pull request #468 from arachnys/profile-update-messages
Add flash messages when updating user profile
2017-03-22 12:04:21 +00:00
Frank Hamand 110b8afe10 Add flash messages when updating user profile
Currently there's no feedback at all when saving changes
2017-03-22 11:56:17 +00:00
Frank Hamand 0a65dd01f1 Merge pull request #467 from arachnys/reload-plugins-on-startup
Automatically reload plugins on server start
2017-03-21 17:35:17 +00:00
Frank Hamand e6019e3fba Automatically reload plugins after migrations are run
This means when you add a new plugin to your config it will be
visible immediately instead of when you try to create a service
2017-03-21 16:40:57 +00:00
Frank Hamand fa5f806437 Merge pull request #466 from arachnys/add-slack-plugin
Add cabot_alert_slack as default plugin
2017-03-21 15:38:05 +00:00
Frank Hamand 9d60f6b796 In examples don't overwrite settings that match the default 2017-03-21 15:32:30 +00:00
Frank Hamand 81b15fcae3 Add cabot_alert_slack as default plugin 2017-03-21 15:22:34 +00:00
Frank Hamand 6f2e196bdb Merge pull request #452 from arachnys/django-1.10
Upgrade to Django 1.10
2017-03-21 11:58:28 +00:00
Frank Hamand ca04780179 Update README.md 2017-03-21 11:24:39 +00:00
Frank Hamand 47e98eb86f Update README.md 2017-03-21 11:23:52 +00: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 0329cdf08e Ignore Pipfile.lock for now
Use pipenv run pip freeze instead as Pipfile.lock is pretty buggy
at the moment
2017-03-16 10:33:31 +00:00
Frank Hamand 75ce4b6133 Update dev requirements 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 a6e6ed35d3 Silence noisy celery logs in tests 2017-03-16 10:33:30 +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 0d9bbefeef Fix issue with django-compressor on django 1.10
See: https://github.com/django-compressor/django-compressor/issues/706
2017-03-16 10:32:11 +00:00
Frank Hamand dc660c2817 0.9.2 2017-03-15 16:52:00 +00:00
Frank Hamand 0b8bb77a5c Merge pull request #463 from arachnys/add-about-page
Add package version and very simple about page
2017-03-15 16:50:49 +00:00
Frank Hamand 97d8a90cad Add package version and very simple about page 2017-03-15 16:03:33 +00:00
Frank Hamand d3cf6c83b5 Merge pull request #464 from arachnys/fix-non-tzaware-ical
Fix non-timezone aware ical responses breaking recurring events
2017-03-15 16:02:45 +00:00
Frank Hamand 4655409966 Fix non-timezone aware ical responses breaking recurring events 2017-03-15 13:39:50 +00:00
Frank Hamand 224f022472 Update CHANGES 2017-03-15 12:26:49 +00:00
Frank Hamand 245e871b87 Add profile settings link and fix bug with profile settings
There seems to be a django bug when using RequestContext. Switch to
using render method instead
2017-03-15 12:23:52 +00:00
Frank Hamand a38de047d0 Update cabot-alert-twilio to 1.3.0 to work on django 1.10 2017-03-15 12:23:52 +00:00
Frank Hamand e1a0e1141a Fix alert preferences form on django 1.8 2017-03-15 12:23:52 +00:00
Frank Hamand ba40dbcc6f Add requires.io shield to readme 2017-03-15 12:23:20 +00:00
Frank Hamand d39c9e8003 0.9.1 2017-03-13 16:58:57 +00:00
Frank Hamand 0dcff5aa86 Add `cabot` entrypoint
This is to make migrations/etc easier when installing through pip
2017-03-13 16:58:57 +00:00
Frank Hamand fdbe3b2292 Fix alert preferences form on django 1.8
(cherry picked from commit 97f41b30a6f22a09bb9e97ce909c4e5c1aa1b617)
2017-03-13 16:48:39 +00:00
Frank Hamand 65280336ac Remove docs badge from readme
It needs to be manually updated and doesn't seem to have a purpose.

It says "latest" at the moment but the docs haven't been updated in years
2017-03-09 10:46:48 +00:00
Frank Hamand 352ce92cbc Add requires.io shield to readme 2017-03-09 10:44:16 +00:00
Frank Hamand e6fb674479 0.9.0 2017-03-08 12:53:40 +00:00