Index: openacs-4/contrib/packages/simulation/lib/cases.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/cases.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/contrib/packages/simulation/lib/cases.tcl 6 Jan 2004 11:48:49 -0000 1.5 +++ openacs-4/contrib/packages/simulation/lib/cases.tcl 6 Jan 2004 13:05:47 -0000 1.6 @@ -10,6 +10,7 @@ } } +# TODO: add link to simplay/case for each case set package_id [ad_conn package_id] set elements { Index: openacs-4/contrib/packages/simulation/lib/messages.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/messages.tcl,v diff -u -r1.10 -r1.11 --- openacs-4/contrib/packages/simulation/lib/messages.tcl 6 Jan 2004 09:51:47 -0000 1.10 +++ openacs-4/contrib/packages/simulation/lib/messages.tcl 6 Jan 2004 13:05:47 -0000 1.11 @@ -13,7 +13,11 @@ } } +# TODO: finish. if case id is nil, check that adminplayer_p is true. if not, fail. +# if admin is true, ... + set package_id [ad_conn package_id] +set adminplayer_p [permission::permission_p -object_id $package_id -privilege sim_adminplayer] if { [exists_and_not_null case_id] } { set user_roles [workflow::case::get_user_roles -case_id $case_id] Index: openacs-4/contrib/packages/simulation/lib/object-display.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/object-display.adp,v diff -u -r1.5 -r1.6 --- openacs-4/contrib/packages/simulation/lib/object-display.adp 29 Oct 2003 18:48:09 -0000 1.5 +++ openacs-4/contrib/packages/simulation/lib/object-display.adp 6 Jan 2004 13:05:47 -0000 1.6 @@ -12,3 +12,5 @@ Edit
+TODO: edit_url shouldn't show up if user doesn't have permission to
+ edit object
\ No newline at end of file
Index: openacs-4/contrib/packages/simulation/lib/sim-template-tasks.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/sim-template-tasks.adp,v
diff -u -r1.4 -r1.5
--- openacs-4/contrib/packages/simulation/lib/sim-template-tasks.adp 5 Jan 2004 10:31:40 -0000 1.4
+++ openacs-4/contrib/packages/simulation/lib/sim-template-tasks.adp 6 Jan 2004 13:05:47 -0000 1.5
@@ -1,2 +1,2 @@
TODO: suppress HTML cut-paste text for stylesheets
\ No newline at end of file
Index: openacs-4/contrib/packages/simulation/www/simbuild/task-edit.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simbuild/Attic/task-edit.adp,v
diff -u -r1.7 -r1.8
--- openacs-4/contrib/packages/simulation/www/simbuild/task-edit.adp 11 Dec 2003 13:21:53 -0000 1.7
+++ openacs-4/contrib/packages/simulation/www/simbuild/task-edit.adp 6 Jan 2004 13:05:48 -0000 1.8
@@ -4,4 +4,5 @@
TODO: Allow reordering of roles, states, tasks.
+TODO: Hide task table if there are no states, and show only "add a
+ state" link instead
+ TODO: B: Allow reordering of roles, states, tasks. TODO: Instead of initialize column and special task, UI should
show an "initial state" radio button. The special initialize task should not
appear in this list.
- TODO: Better widget for suggested duration. TODO: B: Better widget for suggested duration. TODO: B: When Ready for Use Checkbox is in display (not edit)
+ mode, show only the text "yes" or "no" instead of showing a disabled checkbox Roles
TODO: don't show initial task on this list - Index: openacs-4/contrib/packages/simulation/www/simplay/control-bar.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/control-bar.adp,v diff -u -r1.6 -r1.7 --- openacs-4/contrib/packages/simulation/www/simplay/control-bar.adp 5 Jan 2004 12:33:41 -0000 1.6 +++ openacs-4/contrib/packages/simulation/www/simplay/control-bar.adp 6 Jan 2004 13:05:48 -0000 1.7 @@ -6,7 +6,9 @@
TODO: link Archive to "portfolio" of all objects this actor owns + (since the actor is specific to role and case, these are objects in the same case) +
TODO: Link "about this simulation" to something
TODO: how can a player access completed cases?
+TODO: in admin mode, show all adminned cases
\ No newline at end of file
Index: openacs-4/contrib/packages/simulation/www/simplay/message.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/message.adp,v
diff -u -r1.4 -r1.5
--- openacs-4/contrib/packages/simulation/www/simplay/message.adp 5 Jan 2004 17:05:07 -0000 1.4
+++ openacs-4/contrib/packages/simulation/www/simplay/message.adp 6 Jan 2004 13:05:48 -0000 1.5
@@ -16,3 +16,12 @@
TODO: Task should be part of heading +
TODO: description and "document" +link should be inline before the message form instead of being part of +the form +
TODO: B: If there's only one possible recipient, don't show the +checkbox +
TODO: fix problem that To: is blank in view mode +
TODO: make attachments be read-only links in display mode, instead
+of showing checkboxes
Index: openacs-4/contrib/packages/simulation/www/simplay/messages.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/messages.adp,v
diff -u -r1.7 -r1.8
--- openacs-4/contrib/packages/simulation/www/simplay/messages.adp 5 Jan 2004 10:49:59 -0000 1.7
+++ openacs-4/contrib/packages/simulation/www/simplay/messages.adp 6 Jan 2004 13:05:48 -0000 1.8
@@ -5,3 +5,4 @@
TODO: show sent messages as well \ No newline at end of file Index: openacs-4/packages/simulation/lib/cases.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/cases.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/simulation/lib/cases.tcl 6 Jan 2004 11:48:49 -0000 1.5 +++ openacs-4/packages/simulation/lib/cases.tcl 6 Jan 2004 13:05:47 -0000 1.6 @@ -10,6 +10,7 @@ } } +# TODO: add link to simplay/case for each case set package_id [ad_conn package_id] set elements { Index: openacs-4/packages/simulation/lib/messages.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/messages.tcl,v diff -u -r1.10 -r1.11 --- openacs-4/packages/simulation/lib/messages.tcl 6 Jan 2004 09:51:47 -0000 1.10 +++ openacs-4/packages/simulation/lib/messages.tcl 6 Jan 2004 13:05:47 -0000 1.11 @@ -13,7 +13,11 @@ } } +# TODO: finish. if case id is nil, check that adminplayer_p is true. if not, fail. +# if admin is true, ... + set package_id [ad_conn package_id] +set adminplayer_p [permission::permission_p -object_id $package_id -privilege sim_adminplayer] if { [exists_and_not_null case_id] } { set user_roles [workflow::case::get_user_roles -case_id $case_id] Index: openacs-4/packages/simulation/lib/object-display.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/object-display.adp,v diff -u -r1.5 -r1.6 --- openacs-4/packages/simulation/lib/object-display.adp 29 Oct 2003 18:48:09 -0000 1.5 +++ openacs-4/packages/simulation/lib/object-display.adp 6 Jan 2004 13:05:47 -0000 1.6 @@ -12,3 +12,5 @@ Edit
+TODO: edit_url shouldn't show up if user doesn't have permission to
+ edit object
\ No newline at end of file
Index: openacs-4/packages/simulation/lib/sim-template-tasks.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/sim-template-tasks.adp,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/simulation/lib/sim-template-tasks.adp 5 Jan 2004 10:31:40 -0000 1.4
+++ openacs-4/packages/simulation/lib/sim-template-tasks.adp 6 Jan 2004 13:05:47 -0000 1.5
@@ -1,2 +1,2 @@
TODO: suppress HTML cut-paste text for stylesheets
\ No newline at end of file
Index: openacs-4/packages/simulation/www/simbuild/task-edit.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simbuild/task-edit.adp,v
diff -u -r1.7 -r1.8
--- openacs-4/packages/simulation/www/simbuild/task-edit.adp 11 Dec 2003 13:21:53 -0000 1.7
+++ openacs-4/packages/simulation/www/simbuild/task-edit.adp 6 Jan 2004 13:05:48 -0000 1.8
@@ -4,4 +4,5 @@
TODO: Allow reordering of roles, states, tasks.
+TODO: Hide task table if there are no states, and show only "add a
+ state" link instead
+ TODO: B: Allow reordering of roles, states, tasks. TODO: Instead of initialize column and special task, UI should
show an "initial state" radio button. The special initialize task should not
appear in this list.
- TODO: Better widget for suggested duration. TODO: B: Better widget for suggested duration. TODO: B: When Ready for Use Checkbox is in display (not edit)
+ mode, show only the text "yes" or "no" instead of showing a disabled checkbox Roles
TODO: don't show initial task on this list - Index: openacs-4/packages/simulation/www/simplay/control-bar.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/control-bar.adp,v diff -u -r1.6 -r1.7 --- openacs-4/packages/simulation/www/simplay/control-bar.adp 5 Jan 2004 12:33:41 -0000 1.6 +++ openacs-4/packages/simulation/www/simplay/control-bar.adp 6 Jan 2004 13:05:48 -0000 1.7 @@ -6,7 +6,9 @@
TODO: link Archive to "portfolio" of all objects this actor owns + (since the actor is specific to role and case, these are objects in the same case) +
TODO: Link "about this simulation" to something
TODO: how can a player access completed cases?
+TODO: in admin mode, show all adminned cases
\ No newline at end of file
Index: openacs-4/packages/simulation/www/simplay/message.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/message.adp,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/simulation/www/simplay/message.adp 5 Jan 2004 17:05:07 -0000 1.4
+++ openacs-4/packages/simulation/www/simplay/message.adp 6 Jan 2004 13:05:48 -0000 1.5
@@ -16,3 +16,12 @@
TODO: Task should be part of heading +
TODO: description and "document" +link should be inline before the message form instead of being part of +the form +
TODO: B: If there's only one possible recipient, don't show the +checkbox +
TODO: fix problem that To: is blank in view mode +
TODO: make attachments be read-only links in display mode, instead
+of showing checkboxes
Index: openacs-4/packages/simulation/www/simplay/messages.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/messages.adp,v
diff -u -r1.7 -r1.8
--- openacs-4/packages/simulation/www/simplay/messages.adp 5 Jan 2004 10:49:59 -0000 1.7
+++ openacs-4/packages/simulation/www/simplay/messages.adp 6 Jan 2004 13:05:48 -0000 1.8
@@ -5,3 +5,4 @@
TODO: show sent messages as well \ No newline at end of file