Trying to remove unnecessary layering - today: activitiesCoreAPI. Removed getActivity().
Removed allActivities().
Removed getActivityForId() - also from store because it was unused.
Now the waitinglist stores the activity by id and no longer by url (which can be altered).
Oops, forgot various things...
Now I need getActivityForId() ...
Last corrections ... now the activity id is saved instead of the activity url
Now the date looks nice in the waitinglist table.
Editing section is only for superusers.
Loading and saving of invalid waitinglist entries is now prohibited.
Now owners can see the waitinglist of their activities.
Finally found the nasty stubbing error that made one test fail all the while...
Fixed the tests - and the code :-)
Announcement store test now uses sinon sandbox (also fixed a restore error)