Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update references to osmcha.mapbox.com to osmcha.org #285

Merged
merged 1 commit into from
Feb 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ Instances

We have some instances running ``osmcha-django``:

The main instance is https://osmcha.mapbox.com/. You can check the API
documentation at https://osmcha.mapbox.com/api-docs/.
The main instance is https://osmcha.org/. You can check the API
documentation at https://osmcha.org/api-docs/.

Furthermore, we have a test instance running at https://osmcha-django-staging.tilestream.net/.
Furthermore, we have a test instance running at http://osmcha-org-staging.osmcha.org/.

Deployment
------------
Expand Down
2 changes: 1 addition & 1 deletion env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ POSTGRES_PASSWORD=mysecretpass
DJANGO_ADMIN_URL=
DJANGO_SETTINGS_MODULE=config.settings.production
DJANGO_SECRET_KEY=P>2<$+5m@>E(K(GGt-i!X,VjZ<VYBJL!;2;{@.N,bwgdGijNl@
DJANGO_ALLOWED_HOSTS=.osmcha.mapbox.com
DJANGO_ALLOWED_HOSTS=.osmcha.org

# AWS Settings
DJANGO_AWS_ACCESS_KEY_ID=
Expand Down
6 changes: 3 additions & 3 deletions osmchadjango/changeset/tests/test_comment_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class MockResponse():
message = """Hello! I found an error in your edit
---
#REVIEWED_BAD #OSMCHA
Published using OSMCha: https://osmcha.mapbox.com/changesets/31982803
Published using OSMCha: https://osmcha.org/changesets/31982803
"""
response = self.client.post(
reverse('changeset:comment', args=[self.harmful_changeset.id]),
Expand Down Expand Up @@ -92,7 +92,7 @@ class MockResponse():
message = """Hello! Awesome edit! & :~) óã
---
#REVIEWED_GOOD #OSMCHA
Published using OSMCha: https://osmcha.mapbox.com/changesets/31982804
Published using OSMCha: https://osmcha.org/changesets/31982804
"""
response = self.client.post(
reverse('changeset:comment', args=[self.good_changeset.id]),
Expand Down Expand Up @@ -123,7 +123,7 @@ class MockResponse():
self.client.login(username=self.user.username, password='password')
comment = {'comment': 'Hello! Do you know this area?'}
message = """Hello! Do you know this area?
---\n \n Published using OSMCha: https://osmcha.mapbox.com/changesets/31982802
---\n \n Published using OSMCha: https://osmcha.org/changesets/31982802
"""
response = self.client.post(
reverse('changeset:comment', args=[self.changeset.id]),
Expand Down
2 changes: 1 addition & 1 deletion osmchadjango/changeset/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def add_footer(self, message):
return """{}
---
{}
Published using OSMCha: https://osmcha.mapbox.com/changesets/{}
Published using OSMCha: https://osmcha.org/changesets/{}
""".format(message, status, self.changeset.id)


Expand Down