Commit Graph

112 Commits

Author SHA1 Message Date
Thomas NOËL 4b3841b32f add grappelli (admin customisation) 2012-05-23 17:24:15 +02:00
Thomas NOËL 4ececeaaf0 pprint_data is not a classmethod 2012-05-23 17:21:17 +02:00
Thomas NOËL 818aa32a07 add "entity selector" widget -- draft 2012-05-21 17:16:04 +02:00
Frédéric Péters 4375aa2ce3 add file listing (some) dependencies 2012-05-21 14:58:32 +02:00
Thomas NOËL cb4e5d36aa "validation" button on validation page 2012-05-21 14:57:57 +02:00
Thomas NOËL eec4bcd8b7 pprint for "copyright" form 2012-05-21 14:24:43 +02:00
Thomas NOËL 7d5d20b44c specific template for step "validation" 2012-05-21 14:17:40 +02:00
Thomas NOËL 9c4ec95863 show nice data on steps 3 (profile options) 2012-05-21 11:26:08 +02:00
Frédéric Péters 89fc2ef100 style the asterisks of required fields 2012-05-21 10:46:19 +02:00
Frédéric Péters 96b1386d76 add a polynum stylesheets, for misc general styles 2012-05-21 10:44:15 +02:00
Frédéric Péters 352abfe7be fix spelling error 2012-05-20 13:51:30 +02:00
Thomas NOËL be9e107365 add settings for document directory 2012-05-19 14:51:17 +02:00
Thomas NOËL 3137f02f10 add texts when things are missing... 2012-05-18 20:23:36 +02:00
Thomas NOËL db8ce1d754 correctly display if a document has been uploaded or not 2012-05-18 20:08:10 +02:00
Thomas NOËL 4e06534a42 improve request form
- add delivery and validation steps
- show data on each step

add delivery & validation forms
2012-05-18 19:59:56 +02:00
Thomas NOËL a39b458811 add form.display_name, and a "reset" button 2012-05-18 17:03:24 +02:00
Thomas NOËL 5c0c86b4e6 add CAS login (with django_cas >= 2.1.1) 2012-05-18 15:10:43 +02:00
Benjamin Dauvergne 8a15230f0b ajoute un filtre sur la description au browser d'entité 2012-05-18 15:00:07 +02:00
Benjamin Dauvergne 026f1e9adf try at implementing a DAG browser
To see the example running look at
http://localhost:8000/entity_selector/.

Do not forget to load all your entities before.
2012-05-18 02:43:53 +02:00
Thomas NOËL 92bbf974d0 add /?reset to reset wizard 2012-05-16 23:53:21 +02:00
Thomas NOËL e441004033 first try to display data while progress in the formwizard 2012-05-16 23:51:28 +02:00
Thomas NOËL a8d0377b17 modify button name attr on templates too 2012-05-16 23:50:49 +02:00
Thomas NOËL 67e6fd964a Merge branch 'master' of git+ssh://repos.entrouvert.org/polynum 2012-05-16 23:48:36 +02:00
Thomas NOËL 45c775e877 simplify upload widget, no more "paper" checkbox
the "paper" checkbox doesn't work, I remove it.
2012-05-16 23:46:50 +02:00
Benjamin Dauvergne 2bc5ca9657 improve presentation of the big-join 2012-05-16 23:08:53 +02:00
Benjamin Dauvergne 35816b1871 start a remark in the README about indexes in the RDB 2012-05-16 23:00:09 +02:00
Benjamin Dauvergne 9ae1831825 start a base.rbac module, first function is get_workable_requests
get_workable_requests() compute the join necessary to list all requests
upon which user as rights to do some action.
2012-05-16 19:33:16 +02:00
Benjamin Dauvergne d1b789bcbb auto_now and auto_now_add are deprecated 2012-05-16 19:33:16 +02:00
Benjamin Dauvergne c6588e8000 only user null=True for ForeignKey, IntegerField and DateField
default='' is also useless for all string fields.
2012-05-16 19:33:16 +02:00
Benjamin Dauvergne b7e24a5667 set a natural ordre for entities based on their code 2012-05-16 19:33:16 +02:00
Thomas NOËL 32a5b5e460 side by side options (dirty hack) 2012-05-16 16:28:36 +02:00
Benjamin Dauvergne 33d8f98e87 improve performance for collecting children/ancestors of entities
Now we store the full transitive closure for parent-children
relationship.  For 5040 entities it amounts to nearly 41 000 rows in the
relation table, giving a 3Mb sqlite db.
2012-05-16 13:51:44 +02:00
Thomas NOËL 0bed86ed91 add "profile additions" field 2012-05-16 13:14:10 +02:00
Thomas NOËL 8be43656b6 automagically select option when a profile is selected (with jquery) 2012-05-16 11:57:19 +02:00
Thomas NOËL 385f3211e3 handle different type of options (radio, list, ...) 2012-05-16 11:55:27 +02:00
Thomas NOËL 6f082c79fa add sekizay in settings.py 2012-05-16 11:54:54 +02:00
Thomas NOËL c97edac58c radio buttons is the "default" option list type 2012-05-16 11:54:00 +02:00
Thomas NOËL 96c4ececfd add sekizay sections in base.html templates (css, head, endscripts) 2012-05-16 11:53:22 +02:00
Thomas NOËL 10fa164525 setup.py: depends += sekizay 2012-05-16 11:52:49 +02:00
Thomas NOËL 9ff4b11212 add profile options field (1st draft) 2012-05-16 10:04:08 +02:00
Thomas NOËL 0d13b0c1dd add popover on profile radio choices 2012-05-15 18:25:22 +02:00
Benjamin Dauvergne 7d4c408ec7 add caching decorators 2012-05-15 15:58:16 +02:00
Thomas NOËL 9707deb2f1 use a french version of bootstrap-datepicker.js 2012-05-15 15:41:58 +02:00
Thomas NOËL 85594667ed in la france, weekday=1 2012-05-15 12:45:32 +02:00
Thomas NOËL 0a5a5b611d add datepicker 2012-05-15 12:33:41 +02:00
Thomas NOËL bc54e6e4f1 s/licence/diffusion/ 2012-05-15 10:00:01 +02:00
Thomas NOËL 94bd67d149 rewrite request/new forms, using __init__
now these forms can be updated on the fly (=> profile options)
2012-05-15 00:48:14 +02:00
Thomas NOËL 1b21f423d2 simplify crispy template for new_request 2012-05-14 23:25:23 +02:00
Thomas NOËL 3401afe775 quickly add missing pages (static templates) 2012-05-14 17:53:33 +02:00
Thomas NOËL 3e73fdb0b5 crispysation, first round 2012-05-14 17:37:36 +02:00