wisvch / dienst2 Goto Github PK
View Code? Open in Web Editor NEWCH Dienstensysteem: administratie van leden en post
Home Page: https://dienst2.ch.tudelft.nl
License: Other
CH Dienstensysteem: administratie van leden en post
Home Page: https://dienst2.ch.tudelft.nl
License: Other
While AngularJS forms are nice, template-based forms are easier to maintain. We should use those where appropriate.
In (bijvoorbeeld) de postadmin kan het handig zijn om even de search_fields in te stellen.
Ik ging net afsluiten en ik heb vandaag geen koelkast afgestort. Toch staat hij op mijn naam...
API v3 is currently read-only, should include create/edit/delete functionality. Might be useful to do coarse authorisation based on API token (read-only vs. read-write).
Currently membership checks are done through 'not null' (is not None
) checks on date fields. This works fine, except for associate members ('buitengewone leden') that should have a predetermined membership end date. At this moment they are effectively associate members until someone fills in the date_to
property, which might be years later. We should improve membership checks to take the actual end date into account.
Furthermore, it might be a good idea to include membership status in the API as booleans. We currently already have a current_member
calculated property; we should also include fields like current_associate_member
and even current_merit_member
. To avoid confusion we could remove the date fields from the API.
Ik probeer Maarten alumnus te maken, maar dan faalt er iets..
It might be nice to be able to add comments to changes. For changes coming from the API (should be only external sources for the v3 API), we might make the comment mandatory.
The Modifications
model can then be removed.
Een CH Uil ofzo
De tijd van de dagafsluiting wijkt af. Er wordt 19.45 vermeld waar het ongeveer 17.30 is... Dus lijkt niet een tijdzone probleem...
De /#
kan weg door html5Mode
aan te zetten:
http://stackoverflow.com/questions/14771091/removing-the-symbol-from-angular-js-urls
Vooral API functies die beschikbaar zullen zijn vanaf de CH website
Bij de laatste transacties is het niet te zien of het bedrag in of uit de kas is.
Maak ook even een titeltje dat het de laatste transacties zijn :)
bart lilien
Op vorige klikken is ook geen oplossing, want dan ga je weer terug naar de search
LDAP username in model should be validated against LDAP
Verbeteren in Person
Ook fixen in #29
Traceback (most recent call last):
File "/srv/www/dienst2/.dienst2-env/lib/python2.6/site-packages/tastypie/resources.py", line 202, in wrapper
response = callback(request, *args, **kwargs)
File "/srv/www/dienst2/.dienst2-env/lib/python2.6/site-packages/tastypie/resources.py", line 439, in dispatch_list
return self.dispatch('list', request, **kwargs)
File "/srv/www/dienst2/.dienst2-env/lib/python2.6/site-packages/tastypie/resources.py", line 471, in dispatch
response = method(request, **kwargs)
File "/srv/www/dienst2/.dienst2-env/lib/python2.6/site-packages/tastypie/resources.py", line 1313, in post_list
updated_bundle = self.obj_create(bundle, **self.remove_api_resource_names(kwargs))
File "/srv/www/dienst2/.dienst2-env/lib/python2.6/site-packages/tastypie/resources.py", line 2078, in obj_create
bundle = self.full_hydrate(bundle)
File "/srv/www/dienst2/.dienst2-env/lib/python2.6/site-packages/tastypie/resources.py", line 881, in full_hydrate
value = field_object.hydrate(bundle)
File "/srv/www/dienst2/.dienst2-env/lib/python2.6/site-packages/tastypie/fields.py", line 732, in hydrate
value = super(ToOneField, self).hydrate(bundle)
File "/srv/www/dienst2/.dienst2-env/lib/python2.6/site-packages/tastypie/fields.py", line 165, in hydrate
elif self.attribute and getattr(bundle.obj, self.attribute, None):
File "/srv/www/dienst2/.dienst2-env/lib/python2.6/site-packages/django/db/models/fields/related.py", line 343, in __get__
raise self.field.rel.to.DoesNotExist
DoesNotExist
Maar eerst #31 goed krijgen
[error] /srv/www/dienst2/.dienst2-env/lib/python2.7/site-packages/reversion/__init__.py:38: UserWarning: django-reversion 1.6.5 is intended for use with django 1.4.0 or 1.4.1 or 1.4.2 or 1.4.3. You are running django 1.4.8, so some features, such as admin integration, may not work. Please see https://github.com/etianen/django-reversion/wiki/Compatible-Django-Versions
[error] "django_version": format_version(django.VERSION[:3]),
After #50 we should also convert the kas app to form based views
CH Account
Adres
Telefoonnummer
Model fields ldap_username
, netid
, and student_number
must be unique and should be indexed
Uitgaande Annu's
Waarom staat OWee Bestuur boven Bestuur?
Ik meen me te herinneren dat hij vroeger suggesties gaf, nu werkt het pas als je een woord volledig intypt (bijvoorbeeld 'Overig')
Eerste stap invoeren, telefoonnummer ouders. Als je dat ingevoerd hebt en dan op opslaan drukt verdwijnt het telefoonnummer. Als je bij stap twee het invoerd, word het wel opgeslagen.
Zelfde als hoe het was, maar dan beter
API should return full related models (e.g. Student for a Person) instead of URIs, and should make related model fields searchable.
De alumni portal van de TU Delft
En alumni moeten toestemming kunnen geven om in de CoH-Annu te staan
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.