Dycapo v0.8.0

Download dycapo-v0.8.0.

Release Notes

2010-10-17 Daniel Graziotin <daniel DOT graziotin AT acm DOT org>

Dycapo v0.8.0 is the eight prototype version on which we are building our Protocol.


Dycapo v0.8.0 incorporates and shows:

Changes since v0.7.0

 

Dycapo v0.7.0

Download dycapo-v0.7.0.

Release Notes

2010-08-30 Daniel Graziotin <daniel DOT graziotin AT acm DOT org>

Dycapo v0.7.0 is the seventh prototype version on which we are building our Protocol. It will be the last version supporting XML-RPC.

Dycapo v0.7.0 incorporates and shows:

Changes since v0.6.0

 

Dycapo v0.6.0

Download dycapo-v0.6.0.

Release Notes

2010-08-05 Daniel Graziotin <daniel DOT graziotin AT acm DOT org>

Dycapo v0.6.0 is the sixth prototype version on which we are building our APIs. It is a bugfix release that also includes the first complete draft of the APIs.

Dycapo v0.6.0 incorporates and shows:

Changes since v0.5.0

IMPORTANT: Dycapo Server has just switched license. We moved from Gnu Affero Public License v3 to Apache License Version 2.0

IMPORTANT: ALL xml-rpc mehthod names have changed to more suitable names. See the APIs for more information.

accept_ride_request => acceptRide add_trip => insertTrip cancel_requested_ride => cancelRide change_password => changePassword check_requested_ride => statusRide check_ride_requests => getRides finish_ride => finishRide finish_trip => finishTrip get_position => getPosition refuse_ride_request => refuseRide register => register request_ride => requestRide search_trip => searchRide start_ride => startRide start_trip => startTrip update_position => setPosition

API will contain some suggestions on how will the methods be renamed when Dycapo Protocol will switch to a RESTful protocol

server/models/location.py

* fixed some bugs passing from Python 2.5 to Python 2.6 

rider.py

* renamed to passenger.py 

docs/

* Updated some Apache configurations 

templates/

* Added a tiny styled webpage that welcomes user to Dycapo Server 

tests/*

* Changed method names to new API names
  

Dycapo v0.5.0

Download dycapo-v0.5.0.

Release Notes

2010-06-10 Daniel Graziotin <daniel DOT graziotin AT acm DOT org>

Dycapo v0.5.0 is the fifth prototype version on which we are building our APIs.

Dycapo v0.5.0 incorporates and shows:

Changes since v0.4.0

General:

some of the new query features of Django

(thanks to Davide "vad" Setti for helping in this)

 and optimization done. 

server/response_codes.py

 simplicity 

server/models/participation.py

server/matching.py

instead of three for loops.

server/driver.py

server/common.py

 of a person, the requesting person must be in an active participation with  him/she) 

tests/test_registration.py

tests/test_password_change.py

tests/test_multiple_matching.py


Dycapo v0.4.0

Download dycapo-v0.4.0.

Release Notes

2010-05-22 Daniel Graziotin <daniel DOT graziotin AT acm DOT org>

Dycapo v0.4.0 is the fourth prototype version on which we are building our APIs.

Dycapo v0.4.0 incorporates and shows:

Changes since v0.3.0

tests/

tests/test_multiple_matching.py

server/utils.py

server/rider.py

been started

has been finished

server/models/prefs.py

saves space

server/models/mode.py

saving space

server/models/location.py

Point, it returns the corresponding Dycapo Location object

a GeoRSS box around the location

completing missing attributes of a Location, using geocoding

server/matching.py

Location.get_box_around() to compute a dynamic delta of latitude and longitude

trips with empty seats

server/driver.py

in the Database instead of creating a new one each time

 

Dycapo v0.3.0

Download dycapo-v0.3.0.

Release Notes

2010-05-11 Daniel Graziotin <daniel DOT graziotin AT acm DOT org>

Dycapo v0.3.0 is the third prototype version on which we are building our APIs.

Dycapo v0.3.0 incorporates and shows:


Changes since v0.2.0

General:

server/utils.py

server/driver.py

server/rider.py

server/matching.py

server/matching.py

geo-located algorithm

with a destination *around* a given Location

QuerySet of Trips all the Trips in which the driver is closer to the rider to the destination

QuerySet of Trips all the Trips in which the driver is getting away from the rider. This method uses the recent locations of the Driver and some maths functions written by myself

determines if the person is approaching it or getting away from it, by retrieving some recent locations of the person and computing their distance from the location. The set of ordered distances is then given to location_proximity_factor that retrives the factor

the approaching factor which is a natural number in (-inf , +inf) If factor > 0, the numbers in list tend to decrease If factor == 0, the numbers in list tend to stay around the same value If factor < 0, the numbers in list tend to increase.

returns 1 if the first distance is greater than the second one. Returns -1 if the first distance is less than the second one. Returns 0 if they are equal.

server/models.py

server/models/participation.py

server/models/location.py

current location to a given one

server/models/trip.py

destination of the Trip

server/models/person.py

last *max_results* Locations of the Person

Participating to a Trip

of the Person, if any

is participating, if any

tests/

functions, simple matching and complex matchings

Dycapo v0.2.0

Download dycapo-v0.2.0.

Release Notes

2010-04-21 Daniel Graziotin <daniel DOT graziotin AT gmail DOT com>

Dycapo v0.2.0 is the second prototype version on which we are beginning to build our APIs.

Dycapo v0.2.0 incorporates and shows:

Changes since v0.1.0

General:

server/utils.py


server/common.py

server/driver.py

rider.py

server/models.py

 

Dycapo v0.1.0

Download dycapo-v0.1.0.

Release Notes

2010-04-03 Daniel Graziotin <daniel DOT graziotin AT gmail DOT com>

Dycapo v0.1.0 is the first prototype version on which we are beginning to build our APIs.

Dycapo v0.1.0 incorporates and shows:

* The introduction of an open Protocol heavily inspired by OpenTrip Core [16] based on XML-RPC calls * Integration of Dycapo models with Django models * Authentication system * Insertion of a trip by a driver * Start of a trip by a driver * Search of a trip by a rider * Send a ride request to a driver * Let the driver accept the ride request * A complete testing framework 

Changes since 0.0.2

General * sqlite no more included, we make use of MySQL for testing (dump is included) * docs/ directory is cleaner * SemVer [17] adopted * Refactoring * Return values adjusted thanks to new Response object, now used eveywhere * Use of get_xmlrpc_user() and new RPC4DJANGO feature to get the logged in user 
tests/: * Use of the new Response object * More verbose, clearer * Refactoring * Can be configured throught a file, settings.py 
server/models.py * New Response object, the default returning value of every XML-RPC call. Acts as an Envelope, like in Soap. 
server/response_codes.py (NEW) * Contains the default codes and strings to be returned from Response objects 
server/utils.py * util function get_xmlrpc_user(), that returns the Person object making the XML-RPC call 
server/rider.py * Better documentation 


Dycapo 0.0.2

Download dycapo-0.0.2.

Release Notes

2010-01-10 Daniel Graziotin <daniel DOT graziotin AT gmail DOT com>

Dycapo 0.0.2 is just for _showing_out_some_functionalities_ of the system and testing the underlying technologies. Dycapo 0.0.2 incorporates and shows:

* OpenTrip Core adoption and OpenTrip Dynamic data structures proposal (in Django Model format) * Use of XML-RPC with Django (rpc4django over HTTP and HTTPS) * (Sort of) integration of Dycapo models with Django and rpc4django * Authentication * Insertion of a trip by a driver * Start of a trip by a driver * Search of a trip by a rider * Send a ride request to a driver * Let the driver accept the ride request 

No one exported XML-RPC function will surely be included in the final API! No one exported XML-RPC function is either optimized or completely working!

Code is (somewhat) documented. Expect a completely better work for 0.1.0 :)


Changes since 0.0.1

Some refactoring to make the code cleaner. Lots of bugs fixed. Test suite rewritten and (finally) fully working.

models.py:

* added utility methods (i.e. __unicode__ and to_xmlrpc) * use of OpenTrip id proposal instead of Django id * addition of fields to Participation model, regarding a ride request and a request accepted 

trip.py: this module has been splitted in four files:

* driver.py - holds all the XML-RPC methods that a Driver needs. * rider.py - holds all the XML-RPC methods that a Rider needs. * commin.py - will hold all the XML-RPC methods shared by Rider and Driver * utils.py - holds some utility functions. 

driver.py (formerly trip.py):

* added check_ride_requests(trip) - checks for ride requests * added accept_ride_request(trip, person) - for accepting a Rider 

rider.py (formerly trip.py):

* added request_ride(trip) - sends a ride request to a trip 

tests/:

* Cleaner code and better organization * Added test_all_simple.py - creates a Driver and a Rider with the same destination as target * test_all.py - creates 3 drivers and 5 riders with random locations as target 

 

Dycapo 0.0.1

Download dycapo-0.0.1.

Release Notes

2009-12-26 Daniel Graziotin <daniel DOT graziotin AT gmail DOT com>


Dycapo 0.0.1 is just for _showing_out_some_functionalities_ of the system and testing the underlying technologies. Dycapo 0.0.1 incorporates and shows:

* OpenTrip Core adoption and OpenTrip Dynamic data structures proposal (in Django Model format) * Use of XML-RPC with Django (rpc4django over HTTP and HTTPS) * (Sort of) integration of Dycapo models with Django and rpc4django * Authentication * Insertion of a trip by a driver * Start of a trip by a driver * Search of a trip by a rider * Accepting a ride  

No one exported XML-RPC function will surely be included in the final API! No one exported XML-RPC function is either optimized or completely working!

Code is (somewhat) documented. Expect a completely better work for 0.1.0 :)