Commit Graph

727 Commits

Author SHA1 Message Date
Frank Hamand 56cfed43c0
0.11.16 2019-01-30 16:19:49 +00:00
Frank Hamand a45d0cb15e
Upgrade celery and kombu 2019-01-30 16:19:32 +00:00
Frank Hamand a3d26cb15a
0.11.15 2019-01-29 13:29:17 +00:00
Frank Hamand 71d3d0d532
Add support for changing default celery queue name 2019-01-29 13:28:57 +00:00
Frank Hamand b30e25d85a
Add missing curl dependencies to dockerfile (for SQS) 2019-01-24 15:43:12 +00:00
Frank Hamand f2d4ef0b69
0.11.14 2019-01-18 14:19:46 +00:00
Frank Hamand 0f994880f3
Add support for celery SQS backend 2019-01-18 14:19:30 +00:00
Frank Hamand ae97ba7a52
Merge pull request #613 from hartwork/bootstrap-datatables
Apply official Bootstrap3 styling to jQuery DataTables
2018-09-05 16:16:48 +01:00
Frank Hamand 4e4ca0a8b6
Merge pull request #601 from decryptus/master
Missed custom check plugins list in many views
2018-06-07 10:56:32 +01:00
Adrien Delle Cave 82ca56a7a7 Merge remote-tracking branch 'upstream/master' 2018-06-07 09:11:27 +02:00
Frank Hamand bae1719149
Merge pull request #626 from payton/master
Fix custom check plugins list on checks page
2018-05-24 11:10:37 +01:00
Payton Garland 3af6b45c42 adjust columns for custom checks 2018-05-23 13:42:53 -05:00
Frank Hamand 2824c246a4 0.11.13 2018-05-23 11:50:23 +01:00
Frank Hamand 6dd06e8dd0 Fix jenkinscheck not populating consecutive_failures
Jenkins checks were always passing due to a bug in 0.11.12
2018-05-23 11:49:33 +01:00
Frank Hamand a938fe00a2 Update changes 2018-05-23 11:15:32 +01:00
Frank Hamand e02856d8da
Merge pull request #617 from hartwork/reduce-branding
Reduce branding a bit?
2018-05-10 12:29:03 +01:00
Frank Hamand 73bbe63b5e
Merge pull request #615 from hartwork/serve-root-favicon.ico
Serve /favicon.ico resembling current arachnys/img/icon_*x*.png files
2018-05-10 10:18:12 +01:00
Frank Hamand 58b69f02a0
Merge pull request #625 from hartwork/issue-624-fix-404-page-for-anonymous-user
Fix 404 page for anonymous user
2018-05-10 10:16:22 +01:00
Sebastian Pipping fd66a8647f Fix 404 page for anonymous user (fixes #624)
The anonymous user has ID `None`.  Previously, this exception was raised:
NoReverseMatch: Reverse for 'user-profile' with arguments '(None,)' not found. 1 pattern(s) tried: ['user/(?P<pk>\\d+)/profile/$']
2018-05-10 01:15:42 +02:00
Sebastian Pipping 5bf70c9793 tests_basic: Cover /favicon.ico 2018-05-10 01:02:11 +02:00
Sebastian Pipping c5ede5e77b Ensure that .collectstatic/arachnys/img/favicon.ico exists during testing 2018-05-10 01:02:11 +02:00
Sebastian Pipping 6e063824d3 Serve /favicon.ico resembling current arachnys/img/icon_*x*.png files
One of the effects is that you don't get this Django error e-mail any more:
> ```
> [Django] ERROR: "GET /favicon.ico HTTP/1.0" 500 106
> ```

`.ico` was auto-created as following:
```
$ ( cd cabot/static/arachnys/img && convert icon_*x*.png favicon.ico && file favicon.ico )
favicon.ico: MS Windows icon resource - 2 icons, 48x48, 32 bits/pixel, 96x96, 32 bits/pixel
```
2018-05-09 18:25:26 +02:00
Adrien Delle Cave 7c1ca6aa24 Merge remote-tracking branch 'upstream/master' 2018-04-23 21:01:20 +02:00
Frank Hamand 2c8bb9d9af Update changes 2018-04-23 11:50:27 +01:00
Frank Hamand 2ab96556bc Change multi_line_output mode to 0 for consistency with existing code 2018-04-23 10:31:44 +01:00
Frank Hamand 68f826f7f5 Change default section to third party instead of manual 2018-04-23 10:31:44 +01:00
Frank Hamand e09ec7a15d
Merge pull request #561 from arachnys/isort-config
Add isort configuration to sort imports
2018-04-23 11:30:41 +02:00
Frank Hamand c62ab99337 Update changes 2018-04-23 10:27:31 +01:00
Sebastian Pipping dd1360c77d Reduce branding a bit 2018-04-22 18:03:53 +02:00
David Buxton 36d63a5de2
Merge pull request #616 from hartwork/fix-order-public-services-listing
Make public services listing list in case insensitive order
2018-04-22 12:32:48 +01:00
Sebastian Pipping 82c64d3f2b Make public services listing list in case insensitive order 2018-04-22 02:25:31 +02:00
Frank Hamand 241096408b
Merge pull request #614 from hartwork/issue-608-approach-django-bootstrap-form
Style forms using django-bootstrap-form 3.4
2018-04-20 15:50:06 +02:00
Sebastian Pipping 21454d000c Style forms using django-bootstrap-form 3.4 (#608)
Potentially one of the least invasive approaches to apply Bootstrap3 styling.

Project home:
- https://github.com/tzangms/django-bootstrap-form
- https://pypi.org/project/django-bootstrap-form/
2018-04-20 01:23:31 +02:00
Sebastian Pipping 4b395b9cd4 Apply official Bootstrap3 styling to DataTables
Sources:
https://cdn.datatables.net/1.10.16/css/dataTables.bootstrap.min.css
https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js
2018-04-20 01:19:54 +02:00
Sebastian Pipping 5d550adbbb Update jQuery DataTables from 1.9.4 to 1.10.16
Source:
https://cdn.datatables.net/1.10.16/js/dataTables.bootstrap.min.js
2018-04-20 01:19:54 +02:00
David Buxton 71b32a2d0a
Merge pull request #610 from hartwork/issue-607-fix-http-check
Fix HTTP check for websites serving non-UTF-8 content
2018-04-18 22:08:31 +01:00
Sebastian Pipping 0b92e49aae Store unicode reply for HTTP checks (#607)
Django would try convert to unicode when saving the
raw_data TextField.  So we save time and potential trouble
with non-standard encodings.

Docs:
https://docs.djangoproject.com/en/1.11/ref/unicode/#models
2018-04-18 22:54:27 +02:00
Sebastian Pipping 3659692211 Fix HTTP check for websites serving non-UTF-8 content (#607)
Response.content is of type `str` and needs decoding.
In contrast, Response.text is of type `unicode`, already.
This way, we no longer need to mis-assume UTF-8.

Docs:
http://docs.python-requests.org/en/master/user/quickstart/#response-content
2018-04-18 22:54:24 +02:00
David Buxton 3aa95667d7 Add test to check that failures properly tagged on HttpCheck (#607) 2018-04-18 22:54:21 +02:00
David Buxton 8a2cab5786 Create mocks for `text` in addition to `content` (#607) 2018-04-18 22:54:21 +02:00
Adrien Delle Cave 725b039f2c Merge remote-tracking branch 'upstream/master' 2018-04-18 20:13:53 +02:00
David Buxton a9dc61cd39
Merge pull request #590 from davidjb/patch-1
Cabot sends `None` string in HTTP status checks in auth header for username or password
2018-04-17 10:52:14 +01:00
David Beitey bca6ee150c Pass empty auth strs to requests instead of None
This solves / works around
https://github.com/requests/requests/issues/4465 until that behaviour is
made explicit or otherwise resolved.
2018-04-17 18:58:58 +10:00
Adrien Delle Cave d587433243 Merge remote-tracking branch 'upstream/master' 2018-04-17 10:27:50 +02:00
David Buxton 9ba585dfd9
Merge pull request #609 from hartwork/issue-605-prevent-http-check-auth-autofill
Prevent auto-fill of saved credentials into HTTP auth fields
2018-04-17 08:02:00 +01:00
Sebastian Pipping 69a65d3409 Prevent auto-fill of saved credentials into HTTP auth fields (issue #605)
Tried with Firefox 58, Chromium 63, Chrome 66.
2018-04-16 23:15:00 +02:00
Adrien Delle Cave d398ec78ac Merge remote-tracking branch 'upstream/master' 2018-04-16 15:06:37 +02:00
David Buxton b5844aa446
Merge pull request #606 from hartwork/fix-menu-lack-spacing
Fix lack of spacing in far right user dropdown menu
2018-04-16 08:59:36 +01:00
David Buxton 570b7049d8
Merge pull request #604 from hartwork/fix-http-spelling
Fix spelling of "Http" to "HTTP"
2018-04-16 08:56:13 +01:00
Sebastian Pipping 067d36afba menu: Add missing space between icon and label
Affected items:
* Profile settings
* Plugin settings
2018-04-16 01:07:25 +02:00