From d9d12d3f78881d08fa45e3fa2cbb0660b98df1a6 Mon Sep 17 00:00:00 2001 From: Davide Alberani Date: Sun, 22 Mar 2015 11:12:19 +0100 Subject: [PATCH 1/2] documentation for developers --- DEVELOPMENT.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 DEVELOPMENT.md diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md new file mode 100644 index 0000000..f0d2d95 --- /dev/null +++ b/DEVELOPMENT.md @@ -0,0 +1,39 @@ +Goals +===== + +Definitions: +- **event**: a faire, convention, congress or any other kind of meeting +- **registered person**: someone who said it will attend at the event +- **attendee**: a person who actually *show up* at the event + + +Requirements: +- create a new event (**DONE**) +- create a new registered person manually (**DONE**) +- associate to an event a list of registered persons, creating them if needed (manually and importing from external sources) +- mark registered persons as present (including them in the list of attendees) +- mark when an attendee enters/leaves the event +- execute actions when an attendee shows up or enters/leaves the event +- show information and statistics about registered persons, attendees and events + + +TODO +==== + +Next to be done +--------------- + +- ability to delete a person or event +- import persons from CSV +- introduce the concept of registered persons and attendees in the GUI and in the database +- add the minimum required fields to lists and detailed pages for persons and events + + +Nice to have +------------ + +- a test suite +- join the page used to add persons/events into the lists (shown when the filter field returns nothing and/or when a button is pressed) +- notifications for form editing and other actions + + From 9ebf47ec919662582fa4c561d1c0ba60b4d072d8 Mon Sep 17 00:00:00 2001 From: Davide Alberani Date: Sun, 22 Mar 2015 11:12:29 +0100 Subject: [PATCH 2/2] fix typo --- angular_app/js/controllers.js | 1 - 1 file changed, 1 deletion(-) diff --git a/angular_app/js/controllers.js b/angular_app/js/controllers.js index c1c6ae0..830101d 100644 --- a/angular_app/js/controllers.js +++ b/angular_app/js/controllers.js @@ -55,7 +55,6 @@ eventManControllers.controller('PersonDetailsCtrl', ['$scope', 'Person', '$route $scope.person = Person.get($routeParams); } // store a new Person or update an existing one - $scope.save = function() { $scope.save = function() { if ($scope.person.id === undefined) { $scope.person = Person.save($scope.person);