Releases: ExCiteS/geokey
v0.5.1
Fixes critical issues with signing up
v0.5
Two major changes:
- GeoKey 0.5 requires Postgres 9.4. The upgrade is necessary so we can use the very latest additions to Postgres, namely JSONB data type. We switch from hstore to JSONB because it allows to store, retrieve and update contributions more efficiently.
- We simplified installing and updating GeoKey. You can now install and update GeoKey via PyPI. Have a look at the updated install instructions.
Changes to the API
We have made slight changes to the API. To ensure that our GeoJSON API can be consumed by a great variety of client applications, we have changed the way properties of a contribution are rendered. properties
now only contains the data collected by the contributor, whereas the new meta
field contains all sorts of meta information about the contribution.
{
"id": 2966,
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-0.144415497779846,
51.54671869005856
]
},
"properties": {
"child_friendly": false,
"name": "The Grafton",
"address": "20 Prince of Wales Rd, London NW5 3LG"
},
"location": {
"id": 2964,
"name": null,
"description": null,
"created_at": "2014-09-19T15:51:32.790Z"
},
"meta": {
"creator": {
"id": 2,
"display_name": "Oliver"
},
"isowner": true,
"updator": null,
"status": "active",
"created_at": "2014-09-19T15:51:32.804Z",
"updated_at": "2014-09-21T15:51:32.804Z",
"version": 1,
"category": 40
},
"comments": [],
"review_comments": [],
"media": []
}
v0.4
Fixes sign up issues
v0.3
We are happy to announce the first release of 2015 today. We fixed a long list of bugs and introduced new features.
- We upgraded GeoKey to Django 1.7. This improves performance, stability and security. Unfortunately, the update is not straightforward, but we've have compiled all necessary information in this post.
- Along with the major update, we had to switch our OAuth library to oauth-toolkit. This, unfortunately requires to register your application again to obtain a new Client ID and Client Secret.
- We have build the foundation to easily add functionality to GeoKey using custom extensions. We will explain in a different post how to create and register extensions with GeoKey.
- Super users of the system are now able to add and remove more super users as well as manage all projects in GeoKey.
- Two new data types were added for category fields: Date and Time.
- A new API endpoint (
/api/user/
) has been implemented to register users and to get and update their information. - In public projects you will now be able restrict contributions to all users, that have authenticated with the system.
How to update
As mentioned before, updating requires a bit of work this time. But we have compiled all necessary information here. Don't forget to backup your database before you start.
First update the dependencies:
sudo pip install -U -r requirements.txt
Django 1.7.x does not require South for database migrations any longer. Therefore, we need to migrate the database to Django's native migrations.
pyhton manage.py migrate
You will receive error messages when migrating. Therefore, you need to run the following commands in the correct order.
python manage.py migrate categories 0002_auto_20150106_1338 --fake
pyhton manage.py migrate
python manage.py migrate contributions 0002_auto_20150106_1338 --fake
pyhton manage.py migrate
python manage.py migrate datagroupings --fake
pyhton manage.py migrate
python manage.py migrate easy_thumbnails --fake
pyhton manage.py migrate
python manage.py migrate projects 0002_auto_20150106_1338 --fake
pyhton manage.py migrate
Add extentsions
and superusertools
to installed apps in core/settings/project.py
:
INSTALLED_APPS += (
...
'superusertools',
'extensions'
)
Finally, copy the extension urls file. This file is required to register API endpoints of extensions, you might want to install later.
cp core/url/extensions.sample.py core/url/extension.py
That's it. You should be able to use GeoKey 0.3 now.
v0.2.2
A very festive bug fix release
v0.2.1
This release includes bug fixes and minor new features.
v0.2
First official release.
v0.1.1
Merge pull request #116 from ExCiteS/0.1.1 0.1.1
v0.1
Initial release, ready for testing.