profile
viewpoint

adamalton/django-csp-reports 41

Django app for handling browser reports from Content Security Policy violations

adamalton/letsencrypt-appengine 4

A thing to make letsencrypt SSL certificates easier to create/renew on Google App Engine

adamalton/app-engine-query-logger 3

Logs queries to the App Engine datastore so that you can see how much you are abusing it

adamalton/asynchrormous 3

A library which adds functionality for asynchronous database operations to Django's ORM

adamalton/chrome-https-finder 3

A Chrome extension that detects if pages you view on HTTP are available on HTTPS, giving you to the option to switch

adamalton/django-choices 3

A handy class for creating "choices" objects, primarily for use in Django

adamalton/djangae-consistency 1

Mitigation against eventual consistency issues on the App Engine Datastore

adamalton/django-gae-secure 1

A Django app containing useful things for keeping things secure on App Engine

adamalton/fields-of-gold 1

Some Django model fields which do clever and/or sexy stuff

adamalton/harvest-helper 1

A Javascript file which adds colours and arrow key navigation to the harvestapp.com time sheet web application

pull request commentadamalton/django-csp-reports

django 4 deprecates django.conf.urls.url. Replace with re_path

Released as version 1.8. Thanks!

rloomans

comment created time in 2 days

release adamalton/django-csp-reports

1.8

released time in 2 days

created tagadamalton/django-csp-reports

tag1.8

Django app for handling browser reports from Content Security Policy violations

created time in 2 days

push eventadamalton/django-csp-reports

Adam

commit sha 8bda0c4f6fd9f77799ed6228a90fe77140ed03a5

Bump version to 1.8.

view details

push time in 2 days

push eventadamalton/django-csp-reports

Adam

commit sha 27073c657932b7cd6d6855089236936b8cc5ed95

Fix import of `re_path`. Follow up fix to #51

view details

push time in 2 days

pull request commentadamalton/django-csp-reports

django 4 deprecates django.conf.urls.url. Replace with re_path

Ah, we didn't have enough test coverage! Thanks for this.

rloomans

comment created time in 2 days

push eventadamalton/django-csp-reports

Robert Loomans

commit sha 0d44038b30b0518a3ef8615333226f9b56206889

django 4 deprecates django.conf.urls.url. Replace with re_path

view details

Adam Alton

commit sha 15be44ffa05a06e96c61a7a7902cfe3ce87525b7

Merge pull request #51 from rloomans/django-4-deprecates-url django 4 deprecates django.conf.urls.url. Replace with re_path

view details

push time in 2 days

PR merged adamalton/django-csp-reports

django 4 deprecates django.conf.urls.url. Replace with re_path
  • Added an extra test case.
  • Replace url with re_path

Django 4.0 has deprecated django.conf.urls.url

Adding a new test shows this passing for Django < 4.0 and failing for Django >= 4.0:

-> % cat cspreports/tests/test_urls.py                                                                                                                            
"""Test for `cspreports.urls`."""

from django.test import SimpleTestCase
from django.urls import include, re_path

import cspreports.urls


class TestCSPReportsURLs(SimpleTestCase):
    """Basic tests of CSP reports urls."""

    def test_nice_report_empty(self):
        self.assertTrue(len(include('cspreports.urls')) > 0)
System check identified 1 issue (0 silenced).
E..................................................
======================================================================
ERROR: cspreports.tests.test_urls (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: cspreports.tests.test_urls
Traceback (most recent call last):
  File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/Cellar/python@3.9/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/Users/robert/src/django-csp-reports/cspreports/tests/test_urls.py", line 6, in <module>
    import cspreports.urls
  File "/Users/robert/src/django-csp-reports/cspreports/urls.py", line 1, in <module>
    from django.conf.urls import url
ImportError: cannot import name 'url' from 'django.conf.urls' (/Users/robert/src/django-csp-reports/.tox/py39-40/lib/python3.9/site-packages/django/conf/urls/__init__.py)

Replacing calls to url with re_path fixes the issue.

+15 -2

0 comment

2 changed files

rloomans

pr closed time in 2 days

push eventadamalton/django-csp-reports

push time in 3 days

push eventadamalton/django-csp-reports

Adam

commit sha 8bb9c7535d4a173b051b34846d799e794add99ee

Add notes about the release process for my own benefit.

view details

push time in 3 days

issue commentadamalton/django-csp-reports

Django 4.0 support?

Done. Released as version 1.7.

rloomans

comment created time in 3 days

release adamalton/django-csp-reports

1.7

released time in 3 days

release adamalton/django-csp-reports

1.7

released time in 3 days

created tagadamalton/django-csp-reports

tag1.7

Django app for handling browser reports from Content Security Policy violations

created time in 3 days

push eventadamalton/django-csp-reports

Adam

commit sha 2d5b5403c47c2c17a8e1b5e57f8b61649f8dd127

Bump version number to 1.7. (First release with Django 4.0 support.)

view details

push time in 3 days

push eventadamalton/django-csp-reports

Adam

commit sha 501b61178c381399b55efbc872620c7f66178018

Bump version number to 1.7. (First release with Django 4.0 support.)

view details

push time in 3 days

push eventadamalton/django-csp-reports

Adam

commit sha 69b5429d9899d89757cf90ca4c49a053d52eda1b

Add Django 4.0 support. Drop older versions from CI setup. This now makes the combinations of Python and Django versions that we test the same as the combinations that Django currently supports.

view details

Adam

commit sha 252055a08ced0b4b53132b3792286f87ba82fb11

Replace use of deprecated `force_text` with `force_str`.

view details

Adam Alton

commit sha 7b658b2704fb26a897ba79f0d418f7c5ecbbe03f

Merge pull request #50 from adamalton/django-4-0-support Add Django 4.0 support. Drop older versions from CI setup.

view details

push time in 3 days

PR merged adamalton/django-csp-reports

Add Django 4.0 support. Drop older versions from CI setup.

This now makes the combinations of Python and Django versions that we test the same as the combinations that Django currently supports.

Fixes #49.

+21 -17

2 comments

6 changed files

adamalton

pr closed time in 3 days

issue closedadamalton/django-csp-reports

Django 4.0 support?

The tests seem to run fine for Django 4.0.

Is it just a matter of bumping the requirement on Django to allow 4.0?

closed time in 3 days

rloomans

pull request commentadamalton/django-csp-reports

Add Django 4.0 support. Drop older versions from CI setup.

I've now tested this locally on Django 4.0 with Python 3.9 and 3.10. So with lack of Travis CI, I'm going to call this working.

adamalton

comment created time in 3 days

push eventadamalton/django-csp-reports

Adam

commit sha 252055a08ced0b4b53132b3792286f87ba82fb11

Replace use of deprecated `force_text` with `force_str`.

view details

push time in 3 days

pull request commentadamalton/django-csp-reports

Add Django 4.0 support. Drop older versions from CI setup.

Oh, Travis CI seems to have removed its support for open source projects.

adamalton

comment created time in 3 days

push eventadamalton/django-csp-reports

Adam

commit sha 69b5429d9899d89757cf90ca4c49a053d52eda1b

Add Django 4.0 support. Drop older versions from CI setup. This now makes the combinations of Python and Django versions that we test the same as the combinations that Django currently supports.

view details

push time in 3 days

push eventadamalton/django-csp-reports

Adam

commit sha b7ed34b18e0ce58d2b002a45f54c16aaa95944fe

Add Django 4.0 support. Drop older versions from CI setup. This now makes the combinations of Python and Django versions that we test the same as the combinations that Django currently supports.

view details

push time in 3 days

PR opened adamalton/django-csp-reports

Add Django 4.0 support. Drop older versions from CI setup.

This now makes the combinations of Python and Django versions that we test the same as the combinations that Django currently supports.

Fixes #49.

+15 -12

0 comment

3 changed files

pr created time in 3 days

create barnchadamalton/django-csp-reports

branch : django-4-0-support

created branch time in 3 days

issue commentadamalton/django-csp-reports

Django 4.0 support?

Yes, probably. From what I remember reading in the Django 4.0 release notes, I don't think there's anything that would prevent this app from working. I'll take a look…

rloomans

comment created time in 3 days

issue commentdocker/for-mac

Desktop for mac doesn't seem to actually upgrade when I say 'yes'

Same issue. The Docker menu has "Download update…". but clicking on it just brings up a dialogue box saying "Update in progress".

It's been in progress for days or weeks now. Big update?!

I've tried restarting my laptop, which makes no difference. And clicking "Update and restart" in the Docker menu just restarts Docker but doesn't update anything.

Screenshot 2021-12-21 at 13 07 13

Screenshot 2021-12-21 at 13 07 25

jasonhemann

comment created time in a month

issue commentcypress-io/cypress

Feature request: Add the ability to configure the server wait behavior

I would really like to see a the ability to configure this added to Cypress. It seems odd to have this automatic check built in, but with fixed assumptions about how long it should wait or how many times it should retry. Having it configurable would be a huge help.

soullivaneuh

comment created time in a month

push eventadamalton/sublime-settings

Adam Alton

commit sha e3ab0205903852a3801c71125574f435938e123a

Update keyboard shortcut for duplicating a line.

view details

Adam Alton

commit sha 304dfe39bedc25ccbf8ccb0e341c5d518f9075b8

Add PyCover

view details

Adam Alton

commit sha b352c5ebdba89c0f264d64ed8fc699a4241f9a86

Update node path to 15.6.0

view details

Adam Alton

commit sha 26eaa91d33fc10c143282cf0ba2cd1d6c8af5ffe

Make Django syntax the default for HTML files.

view details

Adam Alton

commit sha a3f8edb9eaef597447d6e87e25fd257cf3cf75e6

Add Pylint

view details

push time in 2 months

more