CVS log for loncom/interface/lonhelper.pm

[BACK] Up to [LON-CAPA] / loncom / interface

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.197.2.2.2.2: download - view: text, markup, annotated - select for diffs
Fri Feb 3 14:15:09 2023 UTC (14 months, 3 weeks ago) by raeburn
Branches: version_2_11_4_msu
Diff to previous 1.197.2.2.2.1: preferred, colored to branchpoint 1.197.2.2: preferred, colored next main 1.198: preferred, colored
Changes since revision 1.197.2.2.2.1: +7 -2 lines
- For 2.11.4 (modified)
  Include changes in 1.204

Revision 1.197.2.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 17 23:31:59 2023 UTC (15 months, 1 week ago) by raeburn
Branches: version_2_11_4_msu
Diff to previous 1.197.2.2: preferred, colored
Changes since revision 1.197.2.2: +6 -2 lines
- For 2.11.4 (modified)
  Include changes in 1.203

Revision 1.204: download - view: text, markup, annotated - select for diffs
Mon Jun 27 20:35:51 2022 UTC (21 months, 4 weeks ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, HEAD
Diff to previous 1.203: preferred, colored
Changes since revision 1.203: +7 -2 lines
- Bug 6907
  - Support printout option: "Selected Resources from selected folder in course"
    in sessions launched via deep-link.

Revision 1.203: download - view: text, markup, annotated - select for diffs
Sat Jun 11 14:51:49 2022 UTC (22 months, 2 weeks ago) by raeburn
Branches: MAIN
Diff to previous 1.202: preferred, colored
Changes since revision 1.202: +6 -2 lines
- Include printout icon in "Tools" above listing of course contents unless
  course is empty. Options include:
  - Print items not in a folder (if any exist)
  - Print items in a selected folder
  Privileged users can also print selected folder for selected users or CODEs.
- When displaying list of resources to select exclude any /adm/navmaps items
  themselves.

Revision 1.197.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 20:25:53 2018 UTC (5 years, 7 months ago) by raeburn
Branches: version_2_11_X
CVS tags: version_2_11_4_uiuc, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3
Branch point for: version_2_11_4_msu
Diff to previous 1.197.2.1: preferred, colored next main 1.198: preferred, colored
Changes since revision 1.197.2.1: +2 -2 lines
- For 2.11
  Backport 1.202

Revision 1.202: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:43:47 2018 UTC (5 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.201: preferred, colored
Changes since revision 1.201: +2 -2 lines
- Group separator in $env{'request.course.groups'} is : not , .

Revision 1.197.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:23:25 2018 UTC (5 years, 7 months ago) by raeburn
Branches: version_2_11_X
Diff to previous 1.197: preferred, colored
Changes since revision 1.197: +11 -6 lines
- For 2.11
  Backport 1.199, 1.200, 1.201

Revision 1.201: download - view: text, markup, annotated - select for diffs
Wed Aug 29 20:21:30 2018 UTC (5 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.200: preferred, colored
Changes since revision 1.200: +3 -3 lines
- Eliminate: "minute() is a read-only accessor" from log spew.

Revision 1.200: download - view: text, markup, annotated - select for diffs
Mon Jan 15 00:51:42 2018 UTC (6 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.199: preferred, colored
Changes since revision 1.199: +8 -3 lines
- Bug 6791. Links launched as modal pop-ups for resources listing in
  "Select Resource(s)" to print UI.

Revision 1.199: download - view: text, markup, annotated - select for diffs
Sun Jan 14 22:02:06 2018 UTC (6 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.198: preferred, colored
Changes since revision 1.198: +2 -2 lines
- xhtml. Satisfy w3c validation

Revision 1.198: download - view: text, markup, annotated - select for diffs
Sat Mar 5 21:49:44 2016 UTC (8 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.197: preferred, colored
Changes since revision 1.197: +36 -20 lines
- Bug 4373.
  Parameter helper can set map-level parameters which apply recursively to
  subfolders.

Revision 1.197: download - view: text, markup, annotated - select for diffs
Fri Aug 28 22:44:59 2015 UTC (8 years, 7 months ago) by raeburn
Branches: MAIN
Branch point for: version_2_11_X
Diff to previous 1.196: preferred, colored
Changes since revision 1.196: +13 -3 lines
- Bug 5349
  - Users with mdg priv (i.e., Course Coordinators) can set/delete/display
    any group-level parameters in the course.
  - Users without mdg priv (i.e., Instructors) can only set/delete/display
    group-level parameters for groups to which they belong.
    - Can also display group-level parameters for a specific resource or
      map (from Content Settings in Functions menu when viewing resource)
      for any group in the course, but can only set/modify/delete those
      for groups to which they belong.
  -  When parameter helper is used by a user without mdg priv in course
     (i.e., Instructor) changes may only be made for groups to which user
     belongs.

Revision 1.196: download - view: text, markup, annotated - select for diffs
Sun Aug 16 00:21:21 2015 UTC (8 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.195: preferred, colored
Changes since revision 1.195: +39 -8 lines
- Bug 5349
  - When parameter helper is used by a user with a section-specific role,
    changes may only be made for users in that section.

Revision 1.195: download - view: text, markup, annotated - select for diffs
Sat Aug 15 20:11:57 2015 UTC (8 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.194: preferred, colored
Changes since revision 1.194: +33 -23 lines
- Bug 5439
  - Actually use requiredpriv attribute in determining access to helper.
  - For a user with a role tied to a section do not offer parameter setting
    for other than students in that section.

Revision 1.194: download - view: text, markup, annotated - select for diffs
Fri Aug 14 15:34:01 2015 UTC (8 years, 8 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2
Diff to previous 1.193: preferred, colored
Changes since revision 1.193: +2 -2 lines
- Fix quotes.

Revision 1.193: download - view: text, markup, annotated - select for diffs
Thu Dec 11 01:22:26 2014 UTC (9 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_1
Diff to previous 1.192: preferred, colored
Changes since revision 1.192: +3 -3 lines
- Coding style: keys()

Revision 1.192: download - view: text, markup, annotated - select for diffs
Mon Feb 17 19:36:34 2014 UTC (10 years, 2 months ago) by bisitz
Branches: MAIN
CVS tags: version_2_11_0_RC3, version_2_11_0
Diff to previous 1.191: preferred, colored
Changes since revision 1.191: +4 -4 lines
Corrected rev. 1.191 - scope of &mt() call

Revision 1.191: download - view: text, markup, annotated - select for diffs
Tue Feb 11 19:11:24 2014 UTC (10 years, 2 months ago) by bisitz
Branches: MAIN
Diff to previous 1.190: preferred, colored
Changes since revision 1.190: +4 -4 lines
Internationalization: Added missing &mt() calls

Revision 1.190: download - view: text, markup, annotated - select for diffs
Sun Dec 30 16:05:16 2012 UTC (11 years, 3 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC2, version_2_11_0_RC1
Diff to previous 1.189: preferred, colored
Changes since revision 1.189: +3 -2 lines
- Suppress link to edit folder/page when lonnavmaps::render(() is used by
  helper to display course contents (e.g., when selecting whihc problems
  to print in a course).

Revision 1.189: download - view: text, markup, annotated - select for diffs
Mon Oct 29 17:38:56 2012 UTC (11 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.188: preferred, colored
Changes since revision 1.188: +2 -2 lines
- &constructaccess() moved from loncacc.pm to lonnet.pm
  - to facilitate re-use, and separate from handler,
  - for use in lonnet.pm (use Apache::Constants() not supported there.

Revision 1.188: download - view: text, markup, annotated - select for diffs
Sun Dec 18 17:15:03 2011 UTC (12 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: BZ4492-merge, BZ4492-feature_horizontal_radioresponse
Diff to previous 1.187: preferred, colored
Changes since revision 1.187: +8 -2 lines
- Can define end time for student schedulable slot reservations.
- Wording change for slot helper to clarify what 'Any time' means
  for slot reservations, or for when slot is uniquely selectable.

Revision 1.187: download - view: text, markup, annotated - select for diffs
Mon Nov 7 18:22:03 2011 UTC (12 years, 5 months ago) by raeburn
Branches: MAIN
CVS tags: language_hyphenation_merge, language_hyphenation
Diff to previous 1.186: preferred, colored
Changes since revision 1.186: +2 -2 lines
- use lonDocRoot perlvar in place of static string: '/home/httpd/html'.

Revision 1.186: download - view: text, markup, annotated - select for diffs
Sat Nov 5 22:42:14 2011 UTC (12 years, 5 months ago) by www
Branches: MAIN
Diff to previous 1.185: preferred, colored
Changes since revision 1.185: +5 -2 lines
Being able to list directories in construction space again

Revision 1.185: download - view: text, markup, annotated - select for diffs
Mon Oct 31 01:20:05 2011 UTC (12 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.184: preferred, colored
Changes since revision 1.184: +4 -3 lines
- use lonDocRoot perlvar in place of static string: '/home/httpd/html'.

Revision 1.184: download - view: text, markup, annotated - select for diffs
Tue Oct 25 22:27:11 2011 UTC (12 years, 6 months ago) by www
Branches: MAIN
Diff to previous 1.183: preferred, colored
Changes since revision 1.183: +6 -14 lines
Bug #1320

Revision 1.183: download - view: text, markup, annotated - select for diffs
Mon Oct 17 12:41:30 2011 UTC (12 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.182: preferred, colored
Changes since revision 1.182: +11 -6 lines
- Change to way lonnet::dirlist() reports an error condition (i.e., no_host,
  con_lost, no_such_dir, empty etc.) when retrieving directory list information
  with ls3, ls2 or ls.
  - error is passed as second item in a pair of return values.
  - first item in return values is a reference to an array of actual files.

Revision 1.180.2.3: download - view: text, markup, annotated - select for diffs
Tue Nov 9 18:22:56 2010 UTC (13 years, 5 months ago) by raeburn
Branches: version_2_10_X
CVS tags: version_2_10_1, version_2_10_0_RC2, version_2_10_0, loncapaMITrelate_1
Diff to previous 1.180.2.2: preferred, colored next main 1.181: preferred, colored
Changes since revision 1.180.2.2: +5 -5 lines
- Backport 1.182.

Revision 1.182: download - view: text, markup, annotated - select for diffs
Sun Oct 31 15:54:25 2010 UTC (13 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.181: preferred, colored
Changes since revision 1.181: +5 -5 lines
- xhtml. type="string" not valid type in <input />
- add some spaces in <input /> tag to improve readability.

Revision 1.180.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 2 00:19:17 2010 UTC (13 years, 7 months ago) by raeburn
Branches: version_2_10_X
Diff to previous 1.180.2.1: preferred, colored
Changes since revision 1.180.2.1: +4 -4 lines
- Backport 1.181.

Revision 1.181: download - view: text, markup, annotated - select for diffs
Wed Sep 1 23:58:40 2010 UTC (13 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.180: preferred, colored
Changes since revision 1.180: +4 -4 lines
- xhtml -- action in <form> tag for helpform
- HTML markup for recent printouts need to be within body of HTML
  for valid xhtml, and to avoid case where browse displays blank page.

Revision 1.180.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 14 20:19:42 2010 UTC (13 years, 8 months ago) by raeburn
Branches: version_2_10_X
CVS tags: version_2_10_0_RC1
Diff to previous 1.180: preferred, colored
Changes since revision 1.180: +4 -2 lines
- For 2.10 reverse 1.179, remote control retained in 2.10.

Revision 1.180: download - view: text, markup, annotated - select for diffs
Mon May 24 09:21:18 2010 UTC (13 years, 11 months ago) by foxr
Branches: MAIN
Branch point for: version_2_10_X
Diff to previous 1.179: preferred, colored
Changes since revision 1.179: +22 -4 lines
BZ7407 -
1. Allow multiple strings in a single helper page with validators on all.
2. Fix up the validator for the second string in printing coded assignments so
   that is recognizes that a string there is not compatible with entries
   in the prior section of the helper page.

Revision 1.179: download - view: text, markup, annotated - select for diffs
Wed Mar 10 21:25:50 2010 UTC (14 years, 1 month ago) by droeschl
Branches: MAIN
CVS tags: PRINT_INCOMPLETE_base, PRINT_INCOMPLETE
Diff to previous 1.178: preferred, colored
Changes since revision 1.178: +2 -4 lines
In process of removing remote control, remote navmap and different icon modes code
Also some minor refactoring.

Revision 1.178: download - view: text, markup, annotated - select for diffs
Tue Jan 26 11:34:47 2010 UTC (14 years, 3 months ago) by foxr
Branches: MAIN
CVS tags: version_2_9_99_0, bz6209-base, bz6209
Diff to previous 1.177: preferred, colored
Changes since revision 1.177: +46 -1 lines
Add documentation for the new widgets that can appear in columns of the
resource chooser helper element.

Revision 1.177: download - view: text, markup, annotated - select for diffs
Tue Jan 12 10:40:01 2010 UTC (14 years, 3 months ago) by foxr
Branches: MAIN
Diff to previous 1.176: preferred, colored
Changes since revision 1.176: +61 -5 lines
Memorize the previous extra vskip values.

Revision 1.176: download - view: text, markup, annotated - select for diffs
Mon Jun 15 11:18:11 2009 UTC (14 years, 10 months ago) by bisitz
Branches: MAIN
CVS tags: bz5969, bz2851, GCI_3, BZ5971-printing-apage
Diff to previous 1.175: preferred, colored
Changes since revision 1.175: +23 -10 lines
Parametrization, last helper step:
- Corrected unbalanced HTML tags (added </p> and </ul>)
- Prepared previous button (currently not fully functional, see comments)
- Added info style to info message about confirmation of correctness
- Replaced button text "Finish Helper" by "Save" to stress that a click on the button is needed to save the settings
  (This was reported by CCs to be confusing)
- Removed deprecated <center> tag

Course Initialization, last helper step:
- Consistent Wording: button text "Save"
- Removed deprecated <center> tag; consistent button alignment

- Adjusted and updated translation phrases and added some missing phrases
  (de.pm, zh.pm)

Revision 1.175: download - view: text, markup, annotated - select for diffs
Fri Jun 12 17:58:22 2009 UTC (14 years, 10 months ago) by bisitz
Branches: MAIN
Diff to previous 1.174: preferred, colored
Changes since revision 1.174: +28 -40 lines
Helper screen optimizations:
- Removed unnecessary und inflexible table structure
  (also accessibility enhancement)
- Moved "Previous" and "Next" buttons to left top / left bottom of the page
  (Ergonmical enhancement: No massive horizontal eye and mouse movement needed anymore on big screens to access buttons; less confusion for screens with only little content)
- Simplified code for "Previous" and "Next" buttons
- Don't display headline in italics anymore

Revision 1.174: download - view: text, markup, annotated - select for diffs
Fri Jun 12 15:31:30 2009 UTC (14 years, 10 months ago) by bisitz
Branches: MAIN
Diff to previous 1.173: preferred, colored
Changes since revision 1.173: +12 -3 lines
Added breadcrumbs to helper.
This currently covers only basic call and general "Helper" crumb.

Revision 1.173: download - view: text, markup, annotated - select for diffs
Wed May 27 16:54:57 2009 UTC (14 years, 11 months ago) by www
Branches: MAIN
Diff to previous 1.172: preferred, colored
Changes since revision 1.172: +2 -3 lines
Redesign: no separate accessibility interface, cleaning up a bit

Revision 1.172: download - view: text, markup, annotated - select for diffs
Mon May 11 16:51:27 2009 UTC (14 years, 11 months ago) by bisitz
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_1, version_2_9_0, version_2_8_99_1, version_2_8_99_0, GCI_2, BZ5434-fox
Diff to previous 1.171: preferred, colored
Changes since revision 1.171: +3 -3 lines
XHTML: Attributes in lower-case only (<form method="post" ...)

Revision 1.171: download - view: text, markup, annotated - select for diffs
Tue Mar 17 11:13:59 2009 UTC (15 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.170: preferred, colored
Changes since revision 1.170: +21 -1 lines
BZ 4360  Added code to post processing stage of <resource> tag.
If the form.VARNAME_forminput variable for an OPTION_VAR is not defined,
act as if it's set to ''...that is no options selected.  Otherwise,
if someone unselects all options, the prior, saved setting is used.

Revision 1.170: download - view: text, markup, annotated - select for diffs
Fri Feb 13 20:20:30 2009 UTC (15 years, 2 months ago) by schafran
Branches: MAIN
Diff to previous 1.169: preferred, colored
Changes since revision 1.169: +6 -6 lines
consistent wording, short button names.

Revision 1.166.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 21 16:24:49 2008 UTC (15 years, 4 months ago) by raeburn
Branches: version_2_8_X
CVS tags: version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_99_1, version_2_7_99_0, GCI_1
Diff to previous 1.166.2.1: preferred, colored to branchpoint 1.166: preferred, colored next main 1.167: preferred, colored
Changes since revision 1.166.2.1: +21 -10 lines
- Backport 1.169.

Revision 1.169: download - view: text, markup, annotated - select for diffs
Fri Dec 19 20:51:35 2008 UTC (15 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.168: preferred, colored
Changes since revision 1.168: +21 -10 lines
- Check that navmap object could be created to avoid ISE.
  - Log to lonnet.log if navmap object undefined.

Revision 1.166.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 04:36:28 2008 UTC (15 years, 4 months ago) by raeburn
Branches: version_2_8_X
Diff to previous 1.166: preferred, colored
Changes since revision 1.166: +5 -5 lines
- Backport 1.168.

Revision 1.168: download - view: text, markup, annotated - select for diffs
Thu Dec 11 14:55:15 2008 UTC (15 years, 4 months ago) by bisitz
Branches: MAIN
Diff to previous 1.167: preferred, colored
Changes since revision 1.167: +5 -5 lines
Replaced
  <nobr>...</nobr>
by
  <span class="LC_nobreak">...</span>

- lonsearchcat.pm: Added missing start tag for nobreak area
- lonsurveyreports.pm: Added missing end tag for nobreak area

Revision 1.167: download - view: text, markup, annotated - select for diffs
Sat Dec 6 12:49:18 2008 UTC (15 years, 4 months ago) by bisitz
Branches: MAIN
Diff to previous 1.166: preferred, colored
Changes since revision 1.166: +3 -3 lines
- Separated HTML formats from translations:
    Moved HTML tags from text to parameters and changed related German translations.
    More changes like this needed.
- Added some missing translations, e.g. for lonprintout.pm
- Optimized/corrected some translations

Revision 1.166: download - view: text, markup, annotated - select for diffs
Wed Sep 17 15:53:34 2008 UTC (15 years, 7 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_7_X, version_2_7_1
Branch point for: version_2_8_X
Diff to previous 1.165: preferred, colored
Changes since revision 1.165: +49 -18 lines
Bug 5792.
Date/time selectors in helper now make use of a course-wide time zone (or the default time zone for the domain if no course-specific one set).

Revision 1.165: download - view: text, markup, annotated - select for diffs
Sat Sep 6 00:47:16 2008 UTC (15 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.164: preferred, colored
Changes since revision 1.164: +4 -4 lines
Bug 5783.
- Don't prepend $perlvar{'lonDocRoot'} to $ulsdir when using lond::ls3() to list files in a directory in CSTR.

Revision 1.161.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 00:33:02 2007 UTC (16 years, 6 months ago) by albertel
Branches: version_2_5_X
CVS tags: version_2_5_2
Diff to previous 1.161: preferred, colored next main 1.162: preferred, colored
Changes since revision 1.161: +2 -2 lines
- backport 1.164

Revision 1.164: download - view: text, markup, annotated - select for diffs
Sat Sep 8 23:41:49 2007 UTC (16 years, 7 months ago) by albertel
Branches: MAIN
CVS tags: version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_99_1, version_2_5_99_0
Diff to previous 1.163: preferred, colored
Changes since revision 1.163: +2 -2 lines
- for those using the perl mechanism of building the CHOICES array by hand,
  they need to take care of &mt() the label, use of the xml mechanism
  will auto mt for the user  (Which will result in not trying to translate
  problem titles)

Revision 1.163: download - view: text, markup, annotated - select for diffs
Sat Sep 1 00:41:42 2007 UTC (16 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.162: preferred, colored
Changes since revision 1.162: +5 -2 lines
- BUG#5387
   - resttimes helper wasn't including the top level sequence
     when attempting to reset inital access times for groups of users

Revision 1.162: download - view: text, markup, annotated - select for diffs
Wed Aug 29 00:46:39 2007 UTC (16 years, 8 months ago) by albertel
Branches: MAIN
Diff to previous 1.161: preferred, colored
Changes since revision 1.161: +13 -2 lines
- add ability for some message to get marked as warnign or error messages

Revision 1.161: download - view: text, markup, annotated - select for diffs
Wed Jul 25 23:20:38 2007 UTC (16 years, 9 months ago) by albertel
Branches: MAIN
CVS tags: version_2_5_1, version_2_5_0, version_2_4_99_0
Branch point for: version_2_5_X
Diff to previous 1.160: preferred, colored
Changes since revision 1.160: +3 -3 lines
- some ttranslation improvements

Revision 1.160: download - view: text, markup, annotated - select for diffs
Mon Dec 18 21:48:47 2006 UTC (17 years, 4 months ago) by albertel
Branches: MAIN
CVS tags: version_2_4_X, version_2_4_2, version_2_4_1, version_2_4_0, version_2_3_X, version_2_3_99_0, version_2_3_2, version_2_3_1, version_2_3_0, version_2_2_99_1
Diff to previous 1.159: preferred, colored
Changes since revision 1.159: +33 -10 lines
- change wizard to helper
- add a help attribute to the <state>
- <helpicon> wasn't displaying the internal text
- if the firstthing in a state was a <helpicon> the
   nextstate wasn't taking effect

Revision 1.159: download - view: text, markup, annotated - select for diffs
Tue Dec 12 20:41:08 2006 UTC (17 years, 4 months ago) by albertel
Branches: MAIN
Diff to previous 1.158: preferred, colored
Changes since revision 1.158: +86 -1 lines
- adding a <helpicon> tag to the helper

Revision 1.158: download - view: text, markup, annotated - select for diffs
Tue Aug 1 15:12:32 2006 UTC (17 years, 8 months ago) by albertel
Branches: MAIN
CVS tags: version_2_2_X, version_2_2_99_0, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_99_3, version_2_1_99_2
Diff to previous 1.157: preferred, colored
Changes since revision 1.157: +7 -5 lines
- dont show the header for no existant sections of users
- mt the headers

Revision 1.157: download - view: text, markup, annotated - select for diffs
Mon Jul 17 16:26:09 2006 UTC (17 years, 9 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_1_99_1
Diff to previous 1.156: preferred, colored
Changes since revision 1.156: +21 -21 lines
Form element name changed from selectedusers.forminput to selectedusers_forminput so attributes can be obtained via javascript calls for this element.

Revision 1.156: download - view: text, markup, annotated - select for diffs
Mon Jul 3 11:12:24 2006 UTC (17 years, 9 months ago) by foxr
Branches: MAIN
Diff to previous 1.155: preferred, colored
Changes since revision 1.155: +5 -1 lines
Add headers prior to the various sections of the student prompt
so the users have >some< idea what they're choosing. request 3809

Revision 1.155: download - view: text, markup, annotated - select for diffs
Sun Jun 25 21:50:25 2006 UTC (17 years, 10 months ago) by albertel
Branches: MAIN
CVS tags: version_2_1_99_0
Diff to previous 1.154: preferred, colored
Changes since revision 1.154: +78 -4 lines
- adding a <skip> mechanism so that states can defiine for themselves when they shouldn't be seen

Revision 1.154: download - view: text, markup, annotated - select for diffs
Tue May 30 21:54:22 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.153: preferred, colored
Changes since revision 1.153: +4 -5 lines
- use was not added to the subpackage

Revision 1.153: download - view: text, markup, annotated - select for diffs
Tue May 30 21:48:00 2006 UTC (17 years, 11 months ago) by foxr
Branches: MAIN
Diff to previous 1.152: preferred, colored
Changes since revision 1.152: +5 -4 lines
1. If necessary restrict student selection to those in the
   section for which the user has advanced roles.
2. Revert the switch of &Apache::lonnet::escape -> escape back since
   there was no sub escape defined (yet?).

Revision 1.152: download - view: text, markup, annotated - select for diffs
Tue May 30 12:46:09 2006 UTC (17 years, 11 months ago) by www
Branches: MAIN
Diff to previous 1.151: preferred, colored
Changes since revision 1.151: +5 -3 lines
&Apache::lonnet::unescape -> &unescape
&Apache::lonnet::escape -> &escape

Revision 1.151: download - view: text, markup, annotated - select for diffs
Thu May 18 01:08:51 2006 UTC (17 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.150: preferred, colored
Changes since revision 1.150: +4 -3 lines
&coursegroups() and &get_group_settings() moved to longroup.pm, which contains general utility functions for asking about groups.  Also contains &group_changes() which is used to add/drop group memberships as a result of role changes, as determined by group settings for auto-add and auto-drop. 'none' and 'all' are now reserved words which may not be used as section or group names, so they can be used instead of _all and _none  when specifying auto-add and auto-drop settings for all sections or no section roles.

Revision 1.150: download - view: text, markup, annotated - select for diffs
Tue May 16 20:45:26 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.149: preferred, colored
Changes since revision 1.149: +10 -4 lines
- BUG# 4733, only student specific parameters were actually getting set by the helper (due to level changes)

Revision 1.149: download - view: text, markup, annotated - select for diffs
Mon May 15 22:01:12 2006 UTC (17 years, 11 months ago) by foxr
Branches: MAIN
Diff to previous 1.148: preferred, colored
Changes since revision 1.148: +19 -16 lines
Allow specification of the form name in student selector too.

Revision 1.148: download - view: text, markup, annotated - select for diffs
Thu May 11 21:10:21 2006 UTC (17 years, 11 months ago) by foxr
Branches: MAIN
Diff to previous 1.147: preferred, colored
Changes since revision 1.147: +6 -357 lines
Separated the stuff to render student selection lists into a separate
pacakge: lonselstudent.

Revision 1.147: download - view: text, markup, annotated - select for diffs
Tue May 9 22:43:19 2006 UTC (17 years, 11 months ago) by foxr
Branches: MAIN
Diff to previous 1.146: preferred, colored
Changes since revision 1.146: +121 -78 lines
Factor out student/staff enumeration from the helper.. all this stuff is so that
we can try to use those functions to generate a similar student/staff choice
list in the lonmsgdisplay.pm module.

Revision 1.146: download - view: text, markup, annotated - select for diffs
Tue May 9 22:15:30 2006 UTC (17 years, 11 months ago) by foxr
Branches: MAIN
Diff to previous 1.145: preferred, colored
Changes since revision 1.145: +29 -52 lines
More work to make renering a student list indepedendent of a helper if need be.

Revision 1.145: download - view: text, markup, annotated - select for diffs
Tue May 9 21:44:18 2006 UTC (17 years, 11 months ago) by foxr
Branches: MAIN
Diff to previous 1.144: preferred, colored
Changes since revision 1.144: +120 -134 lines
Continue to separate student display into an independent sub and
clean up some dead stuff.

Revision 1.144: download - view: text, markup, annotated - select for diffs
Tue May 9 21:39:47 2006 UTC (17 years, 11 months ago) by foxr
Branches: MAIN
Diff to previous 1.143: preferred, colored
Changes since revision 1.143: +20 -12 lines
Bit by bit pulling the render_student_list into an independently callable
sub and doing some cleanup.

Revision 1.143: download - view: text, markup, annotated - select for diffs
Tue May 9 18:15:39 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.142: preferred, colored
Changes since revision 1.142: +13 -8 lines
- sort section listing so
     - 'No section' heads the list
     - case insenstive
- Group selctor also list in case insensitive order

Revision 1.142: download - view: text, markup, annotated - select for diffs
Tue May 9 14:38:10 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.141: preferred, colored
Changes since revision 1.141: +7 -11 lines
- changing loncommon::coursegroups to be easier to use

Revision 1.141: download - view: text, markup, annotated - select for diffs
Mon May 8 22:01:11 2006 UTC (17 years, 11 months ago) by foxr
Branches: MAIN
Diff to previous 1.140: preferred, colored
Changes since revision 1.140: +27 -96 lines
BUG/ENH 3809 - Helper improvements.
  o Restricted the action of the listboxes to the segments to which they were
    tied.
  o Removed dead javascript that will no longer be used.

Revision 1.140: download - view: text, markup, annotated - select for diffs
Fri May 5 14:35:44 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.139: preferred, colored
Changes since revision 1.139: +10 -11 lines
- xhtml wants onclick
- style police
- reorder to be current, then future, then past

Revision 1.139: download - view: text, markup, annotated - select for diffs
Fri May 5 10:59:51 2006 UTC (17 years, 11 months ago) by foxr
Branches: MAIN
Diff to previous 1.138: preferred, colored
Changes since revision 1.138: +299 -149 lines
Revamped helper per Felicia's desires..still need some cleanup as follows:
- Remove dead javascript
- Restrict the (de)selections of the listboxes to the segment of the form
  they live in.
- See if we can make the student picker code independent of the helper so
  non helper student pickers can use them..alternatively switch those over
  to helper.
BUG 3809

Revision 1.138: download - view: text, markup, annotated - select for diffs
Mon Apr 24 23:20:37 2006 UTC (18 years ago) by albertel
Branches: MAIN
Diff to previous 1.137: preferred, colored
Changes since revision 1.137: +5 -5 lines
- slight improvment to data defaulting
- any time is two words
- it's evaluating the validation code

Revision 1.137: download - view: text, markup, annotated - select for diffs
Mon Apr 24 23:05:35 2006 UTC (18 years ago) by albertel
Branches: MAIN
Diff to previous 1.136: preferred, colored
Changes since revision 1.136: +32 -6 lines
- add <validator> support to <date> widget
- need to reorganize the current value finder for <date>

Revision 1.136: download - view: text, markup, annotated - select for diffs
Thu Apr 6 22:30:52 2006 UTC (18 years ago) by foxr
Branches: MAIN
Diff to previous 1.135: preferred, colored
Changes since revision 1.135: +28 -6 lines
Added relatedvalue and relateddefault attributes to <choice> in <choices>
element.  This allows a text input to be associated with a choice.
e.g. <choice computer="1" relatedvalue="somevariable" relateddefault="42"> ...
The value in the text box goes into $helper->{VARS}->{somevariable}
and the text box is initially displaying 42.

Revision 1.135: download - view: text, markup, annotated - select for diffs
Sun Mar 19 23:09:20 2006 UTC (18 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.134: preferred, colored
Changes since revision 1.134: +11 -18 lines
- start_page

Revision 1.134: download - view: text, markup, annotated - select for diffs
Tue Mar 7 21:36:49 2006 UTC (18 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.133: preferred, colored
Changes since revision 1.133: +26 -16 lines
- <section> by default now also includes groups but can be forced to be only sections through the 'onlysections' attribute

Revision 1.133: download - view: text, markup, annotated - select for diffs
Tue Mar 7 16:09:59 2006 UTC (18 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.132: preferred, colored
Changes since revision 1.132: +3 -1 lines
- allow empty section fo group selections

Revision 1.132: download - view: text, markup, annotated - select for diffs
Mon Mar 6 23:32:31 2006 UTC (18 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.131: preferred, colored
Changes since revision 1.131: +72 -4 lines
Enh. request 3809: Got the expired students separated from the
unexpired students now.

Revision 1.131: download - view: text, markup, annotated - select for diffs
Thu Mar 2 23:56:55 2006 UTC (18 years, 1 month ago) by foxr
Branches: MAIN
Diff to previous 1.130: preferred, colored
Changes since revision 1.130: +47 -44 lines
Enh request 3809 - Move stuff around on the student selection page
for the print helper.. put all the fancy choice stuff and sort order at top.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Tue Jan 24 22:20:19 2006 UTC (18 years, 3 months ago) by albertel
Branches: MAIN
CVS tags: version_2_1_X, version_2_1_3, version_2_1_2
Diff to previous 1.129: preferred, colored
Changes since revision 1.129: +10 -4 lines
- don't set the min to zero when resorting from a previously set value Bug#4613

Revision 1.129: download - view: text, markup, annotated - select for diffs
Tue Jan 17 18:39:50 2006 UTC (18 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.128: preferred, colored
Changes since revision 1.128: +5 -1 lines
- use style file link didn't actually work (BUG#4575)

Revision 1.128: download - view: text, markup, annotated - select for diffs
Tue Nov 22 12:49:50 2005 UTC (18 years, 5 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_1_1, version_2_1_0, version_2_0_99_1
Diff to previous 1.127: preferred, colored
Changes since revision 1.127: +73 -1 lines
Add support for setting of parameters for course groups.  Work stll needed to deal with the case where no course groups exist.

Revision 1.127: download - view: text, markup, annotated - select for diffs
Mon Oct 17 21:17:59 2005 UTC (18 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.126: preferred, colored
Changes since revision 1.126: +5 -2 lines
- don't specify the target if we aren't using the remote

Revision 1.126: download - view: text, markup, annotated - select for diffs
Mon Oct 17 21:14:55 2005 UTC (18 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.125: preferred, colored
Changes since revision 1.125: +20 -2 lines
- <defaultvalue> in <student> works now

Revision 1.125: download - view: text, markup, annotated - select for diffs
Mon Oct 17 20:21:31 2005 UTC (18 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.124: preferred, colored
Changes since revision 1.124: +8 -7 lines
- handles better the case where defaultvalue doesn't return anything of note

Revision 1.124: download - view: text, markup, annotated - select for diffs
Mon Oct 17 19:46:12 2005 UTC (18 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.123: preferred, colored
Changes since revision 1.123: +27 -8 lines
- making <defaultvalue> work for <resource>

Revision 1.123: download - view: text, markup, annotated - select for diffs
Mon Oct 17 18:20:59 2005 UTC (18 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.122: preferred, colored
Changes since revision 1.122: +14 -4 lines
- okay can spec out proctors now
- helper <student> selector now allows empty choices as a possibility

Revision 1.122: download - view: text, markup, annotated - select for diffs
Tue Oct 11 22:05:20 2005 UTC (18 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.121: preferred, colored
Changes since revision 1.121: +1 -2 lines
- just need a commit

Revision 1.121: download - view: text, markup, annotated - select for diffs
Tue Oct 11 22:04:27 2005 UTC (18 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.120: preferred, colored
Changes since revision 1.120: +2 -2 lines
- style police

Revision 1.120: download - view: text, markup, annotated - select for diffs
Tue Oct 11 21:27:44 2005 UTC (18 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.119: preferred, colored
Changes since revision 1.119: +5 -3 lines
- multiple minutes appear multiple times need to pick the first one in the list

Revision 1.119: download - view: text, markup, annotated - select for diffs
Tue Oct 11 21:16:37 2005 UTC (18 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.118: preferred, colored
Changes since revision 1.118: +21 -7 lines
- anytime deslects if they interact with the time elements

Revision 1.118: download - view: text, markup, annotated - select for diffs
Tue Oct 11 20:57:54 2005 UTC (18 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.117: preferred, colored
Changes since revision 1.117: +54 -34 lines
- add the ability for a <date> to return an 'anytime'
- allow <date> <defaultvalue> to actually work

Revision 1.117: download - view: text, markup, annotated - select for diffs
Tue Oct 11 15:44:30 2005 UTC (18 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.116: preferred, colored
Changes since revision 1.116: +3 -3 lines
- put the most common minute selctions first

Revision 1.116: download - view: text, markup, annotated - select for diffs
Sat Oct 1 02:28:55 2005 UTC (18 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.115: preferred, colored
Changes since revision 1.115: +48 -37 lines
- the state restriction wasn't taking effect
- don't need to show the selectors when selcting only 1 user
- restrict the height of the multi selector to no more than 5 intems

Revision 1.115: download - view: text, markup, annotated - select for diffs
Wed Sep 28 19:03:42 2005 UTC (18 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.114: preferred, colored
Changes since revision 1.114: +7 -7 lines
- addign <label>s

Revision 1.114: download - view: text, markup, annotated - select for diffs
Wed Sep 28 19:02:02 2005 UTC (18 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.113: preferred, colored
Changes since revision 1.113: +8 -7 lines
- correcting the html
- xhtmlize

Revision 1.113: download - view: text, markup, annotated - select for diffs
Wed Sep 28 10:37:33 2005 UTC (18 years, 7 months ago) by foxr
Branches: MAIN
Diff to previous 1.112: preferred, colored
Changes since revision 1.112: +72 -15 lines
enhancement bug: Improve the user interface for selecting
students from multiple sections.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Tue Jul 12 16:11:19 2005 UTC (18 years, 9 months ago) by albertel
Branches: MAIN
CVS tags: version_2_0_X, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2
Diff to previous 1.111: preferred, colored
Changes since revision 1.111: +16 -6 lines
<script> fixups

Revision 1.111: download - view: text, markup, annotated - select for diffs
Tue Jul 12 16:03:12 2005 UTC (18 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.110: preferred, colored
Changes since revision 1.110: +19 -19 lines
- checked, asleected updates
- for and to attributes need to start with a letter not a number

Revision 1.110: download - view: text, markup, annotated - select for diffs
Tue Jul 12 06:52:48 2005 UTC (18 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.109: preferred, colored
Changes since revision 1.109: +7 -5 lines
- file selector in helper was assuming directory user was trying to print belonged to the default domain of the machine (which isn't tru on multi domain machines)

Revision 1.109: download - view: text, markup, annotated - select for diffs
Fri Jul 8 17:32:06 2005 UTC (18 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.108: preferred, colored
Changes since revision 1.108: +2 -5 lines
- BUG#4202

Revision 1.108: download - view: text, markup, annotated - select for diffs
Thu Jul 7 04:32:59 2005 UTC (18 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.107: preferred, colored
Changes since revision 1.107: +4 -2 lines
- BUG$4194, okay map level setting is good

Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu Jul 7 04:19:20 2005 UTC (18 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.106: preferred, colored
Changes since revision 1.106: +8 -7 lines
- BUG#4194 okay can now set dates

Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu Jul 7 04:16:01 2005 UTC (18 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.105: preferred, colored
Changes since revision 1.105: +3 -3 lines
- final confirmation screen in helper wasn't showing the full name of the user

Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu Jul 7 04:12:01 2005 UTC (18 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.104: preferred, colored
Changes since revision 1.104: +8 -4 lines
- BUG$4194, helper works now for
   - full course, all resources, maxtries
     (off to thest the rest)

Revision 1.104: download - view: text, markup, annotated - select for diffs
Thu Jul 7 03:56:52 2005 UTC (18 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.103: preferred, colored
Changes since revision 1.103: +35 -14 lines
- most of BUG#4194, needed to
   - modify the 'level' value passed to take in account the changed ordering
     of the res/map defaults
   - need to pass more data to parmset to get it to enter table mode and set
     the parameter

Revision 1.103: download - view: text, markup, annotated - select for diffs
Mon Apr 11 18:19:23 2005 UTC (19 years ago) by albertel
Branches: MAIN
CVS tags: version_1_99_1_tmcc, version_1_99_1, version_1_99_0_tmcc, version_1_99_0
Diff to previous 1.102: preferred, colored
Changes since revision 1.102: +2 -2 lines
- stupid silly typo.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Mon Apr 11 18:13:39 2005 UTC (19 years ago) by albertel
Branches: MAIN
Diff to previous 1.101: preferred, colored
Changes since revision 1.101: +3 -1 lines
- ENV -> env fixup

Revision 1.101: download - view: text, markup, annotated - select for diffs
Thu Apr 7 21:36:22 2005 UTC (19 years ago) by albertel
Branches: MAIN
Diff to previous 1.100: preferred, colored
Changes since revision 1.100: +2 -2 lines
- removing a typo

Revision 1.100: download - view: text, markup, annotated - select for diffs
Thu Apr 7 06:56:23 2005 UTC (19 years ago) by albertel
Branches: MAIN
Diff to previous 1.99: preferred, colored
Changes since revision 1.99: +43 -41 lines
- ENV -> env

Revision 1.99: download - view: text, markup, annotated - select for diffs
Tue Feb 22 22:56:08 2005 UTC (19 years, 2 months ago) by foxr
Branches: MAIN
Diff to previous 1.98: preferred, colored
Changes since revision 1.98: +4 -2 lines
Fix up the regexp matching for remembering <resource> option values.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Tue Feb 22 11:43:05 2005 UTC (19 years, 2 months ago) by foxr
Branches: MAIN
Diff to previous 1.97: preferred, colored
Changes since revision 1.97: +9 -3 lines
BZ 3173:
  Save the pagebreak positions as course paramters to that they can be
reproduced.  Note that at present, what is saved is the set of symbnames
in front of which a pagebreak should occur.  No printing context is
saved.  This means that if you later print multiple resources which overlap
with a prior multiple resource print, you will have some pagebreaks pre-set.
This may not be wholly bad, but is probably not wholly good either.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Thu Feb 17 23:19:44 2005 UTC (19 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.96: preferred, colored
Changes since revision 1.96: +2 -2 lines
- BUG#3940, throw an error when they don't specify what to print

Revision 1.96: download - view: text, markup, annotated - select for diffs
Thu Feb 17 08:29:42 2005 UTC (19 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.95: preferred, colored
Changes since revision 1.95: +3 -3 lines
- <html> -> &Apache::lonxml::xmlbegin, thus valid doctypes are now getting output, Yeah! StandardsCmpliance

- backing out the encoding changes for now

- some xhtml cleanups
- one icon -> lonhttpd

Revision 1.95: download - view: text, markup, annotated - select for diffs
Fri Jan 21 22:59:54 2005 UTC (19 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.94: preferred, colored
Changes since revision 1.94: +64 -6 lines
- implement BUG#2123, Parameter helper needs to work with problem parts
	- additionally the helper now passes along info so that table display mode at the end is limited to just the resource/part/parameter that was changed

Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Jan 20 20:20:35 2005 UTC (19 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.93: preferred, colored
Changes since revision 1.93: +3 -3 lines
- Bug#3839, [] in a resource title confused &mt, on &mt when the text is in a .helper and isn't dynamically generated

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Jan 16 08:20:38 2005 UTC (19 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.92: preferred, colored
Changes since revision 1.92: +22 -16 lines
- get rid of a typo that prevented 'activeonly' from be respected in the student selector
- rework <final> so that it generally more useful

Revision 1.92: download - view: text, markup, annotated - select for diffs
Mon Jan 10 12:15:23 2005 UTC (19 years, 3 months ago) by foxr
Branches: MAIN
Diff to previous 1.91: preferred, colored
Changes since revision 1.91: +20 -8 lines
bug 3759 - clean up formatting of student selection and sorting buttons.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Wed Jan 5 12:07:27 2005 UTC (19 years, 3 months ago) by foxr
Branches: MAIN
Diff to previous 1.90: preferred, colored
Changes since revision 1.90: +18 -5 lines
Implement page/column breaks forced between arbitrary resources on the page.
There are few design compromises that need to be documented here:
- Checkboxes in the helper could only be put prior to the actual resource.
  Therefore pagebreaks will come >prior< to the resource the check is at.
  This seems a bit more visually intuitive than to have the checkbox first and then
  the pagebreak after the resource.
- There's a nasty design tension about what to do if they check a page break
  for a resource they decided not to print (I'm devious to even think about this):
  I had two choices on how to mange the page break locations
  o An array of page break resources.
  o A hash of page break resources.
  The problem with a hash is that it is not order preserving which is a problem if the
  user can print out the same resource several times on a print job.  This is not
  as strange a case as you may think.. consider a resource that's boiler-plate.
  The problem with an array is that if the user checks a resource which is not in the
  printed set that throws things off since, again, given the possibility of repeated
  resources I don't see a reliable way to get back in step with the resources.
  I chose the latter relying on 'intelligent use' of the user interface.. which
  I know is a mistake, so I'm supplementing this with documentation of the
  problem/issue for others to see.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Jan 3 13:45:31 2005 UTC (19 years, 3 months ago) by foxr
Branches: MAIN
Diff to previous 1.89: preferred, colored
Changes since revision 1.89: +61 -12 lines
Bugzilla enhancement: 2968
   Added <option> tag to lonhelper and using it within lonprintout.pm to
>display< a checkbox to allow the user to select where \nepages will land.
NOTE NOTE NOTE:  The functionality of actually inserting the \newpage
where the user wants it is not yet implemented.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue Dec 7 11:25:53 2004 UTC (19 years, 4 months ago) by foxr
Branches: MAIN
CVS tags: version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_99_1
Diff to previous 1.88: preferred, colored
Changes since revision 1.88: +12 -9 lines
Defect 3290  -- and perhaps some others.
Fix systematic quoting problems in html elements.  There were cases
where value = ' .HTML::Entities::encode(something, '...')
did not include ' in the set of 'bad' characters that needed quoting.
I believe all of these cases have been hunted down and squashed.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Oct 7 22:12:47 2004 UTC (19 years, 6 months ago) by albertel
Branches: MAIN
CVS tags: version_1_2_99_0
Diff to previous 1.87: preferred, colored
Changes since revision 1.87: +1 -3 lines
- fixes bug#3350 hopefully for good.
    - $navmaps objects never actaully got cleaned up due the resource objects in it holding a reference back to the navmap object, this meant the hashes didn't get untied and that we leaked memory
    - needs WeakRef

Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Sep 24 19:49:12 2004 UTC (19 years, 7 months ago) by matthew
Branches: MAIN
Diff to previous 1.86: preferred, colored
Changes since revision 1.86: +23 -4 lines
use <label> around radio & checkbox inputs.  Only on those inputs whose
labels are generated in the helper, not navmaps, so inputs where you select
a resource or folder are not affected.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Aug 12 07:45:03 2004 UTC (19 years, 8 months ago) by albertel
Branches: MAIN
CVS tags: version_1_2_X, version_1_2_1, version_1_2_0, version_1_1_99_5
Diff to previous 1.85: preferred, colored
Changes since revision 1.85: +7 -3 lines
- when priting from a Co-Author CSTR dir, everything looked unpublished (BUG#2540)

Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Aug 12 05:44:36 2004 UTC (19 years, 8 months ago) by albertel
Branches: MAIN
Diff to previous 1.84: preferred, colored
Changes since revision 1.84: +2 -2 lines
- BUG#3043, directory listing was in case sensitive order

Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Aug 3 18:41:20 2004 UTC (19 years, 8 months ago) by albertel
Branches: MAIN
CVS tags: version_1_1_99_4
Diff to previous 1.83: preferred, colored
Changes since revision 1.83: +1 -3 lines
- removing log spew

Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Jun 2 17:30:02 2004 UTC (19 years, 10 months ago) by sakharuk
Branches: MAIN
CVS tags: version_1_1_99_3, version_1_1_99_2, version_1_1_99_1, version_1_1_99_0
Diff to previous 1.82: preferred, colored
Changes since revision 1.82: +3 -1 lines
Bug 2213 (localize helpers) is finally done. See course.initialization.helper as well.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Jun 2 14:55:50 2004 UTC (19 years, 10 months ago) by sakharuk
Branches: MAIN
Diff to previous 1.81: preferred, colored
Changes since revision 1.81: +16 -5 lines
Bug 2855 (Priniting for expired students) is fixed. But I am ready to return to this bug if your reaction would be negative (I mean Guy Albertelli). I changed option "Select for Section/Group" on "Select Current Students for Sectopn/Group" and added option "Unselect Expired Students". The last is excessive to my opinion but some users wanted to have this option as well.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Apr 27 18:37:43 2004 UTC (20 years ago) by sakharuk
Branches: MAIN
Diff to previous 1.80: preferred, colored
Changes since revision 1.80: +1 -1 lines
Removed spaces.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Apr 27 18:35:18 2004 UTC (20 years ago) by sakharuk
Branches: MAIN
Diff to previous 1.79: preferred, colored
Changes since revision 1.79: +1 -1 lines
Last correction.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Apr 27 18:30:35 2004 UTC (20 years ago) by sakharuk
Branches: MAIN
Diff to previous 1.78: preferred, colored
Changes since revision 1.78: +3 -6 lines
Corrected till the end.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Apr 27 18:07:18 2004 UTC (20 years ago) by sakharuk
Branches: MAIN
Diff to previous 1.77: preferred, colored
Changes since revision 1.77: +2 -2 lines
Corrections to remove html from statements.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Apr 27 15:32:45 2004 UTC (20 years ago) by sakharuk
Branches: MAIN
Diff to previous 1.76: preferred, colored
Changes since revision 1.76: +4 -4 lines
Corrected localization for changing parameters.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Apr 27 15:15:41 2004 UTC (20 years ago) by sakharuk
Branches: MAIN
Diff to previous 1.75: preferred, colored
Changes since revision 1.75: +5 -3 lines
Localization of warning messages from parameter.helper is done.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Apr 22 16:47:26 2004 UTC (20 years ago) by albertel
Branches: MAIN
Diff to previous 1.74: preferred, colored
Changes since revision 1.74: +1 -25 lines
- removing the copy/pasted Javascript code

Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Apr 22 14:43:16 2004 UTC (20 years ago) by matthew
Branches: MAIN
Diff to previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2 lines
Semicolons are your friend.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed Apr 21 19:03:02 2004 UTC (20 years ago) by albertel
Branches: MAIN
Diff to previous 1.72: preferred, colored
Changes since revision 1.72: +11 -4 lines
- I think this might be more translatable

Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Apr 21 17:57:02 2004 UTC (20 years ago) by sakharuk
Branches: MAIN
Diff to previous 1.71: preferred, colored
Changes since revision 1.71: +4 -4 lines
Added some localization statements.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Apr 21 17:29:57 2004 UTC (20 years ago) by sakharuk
Branches: MAIN
Diff to previous 1.70: preferred, colored
Changes since revision 1.70: +5 -5 lines
 Some localization.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Tue Apr 20 15:46:34 2004 UTC (20 years ago) by sakharuk
Branches: MAIN
Diff to previous 1.69: preferred, colored
Changes since revision 1.69: +7 -2 lines
Corrected header.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Apr 20 15:08:26 2004 UTC (20 years ago) by sakharuk
Branches: MAIN
Diff to previous 1.68: preferred, colored
Changes since revision 1.68: +10 -22 lines
Some localization is done.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Apr 19 15:40:08 2004 UTC (20 years ago) by sakharuk
Branches: MAIN
Diff to previous 1.67: preferred, colored
Changes since revision 1.67: +67 -27 lines
Some localization.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Mar 31 05:23:59 2004 UTC (20 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.66: preferred, colored
Changes since revision 1.66: +16 -16 lines
- trying to be UTF8 transparent

Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Mar 24 22:22:04 2004 UTC (20 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.65: preferred, colored
Changes since revision 1.65: +3 -1 lines
- add the ability to have .pages summarized
- Make it so that you can choose to print a page or not print a page, don't allow people to pick and choose resources gfrom inside of a .page
- BUG#2851,

Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Mar 8 17:31:37 2004 UTC (20 years, 1 month ago) by www
Branches: MAIN
Diff to previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2 lines
Typos: "separate"

Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Feb 27 19:51:46 2004 UTC (20 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.63: preferred, colored
Changes since revision 1.63: +6 -1 lines
- BUG#2575, course init helper now returns user to a more normal location
- DOCS if it is a new course, Overview PARM if the course is cloned,
and NAV maps if the course is given a specifed top-level map.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Dec 8 19:24:42 2003 UTC (20 years, 4 months ago) by matthew
Branches: MAIN
CVS tags: version_1_1_X, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1
Diff to previous 1.62: preferred, colored
Changes since revision 1.62: +2 -2 lines
Fixed bad html on last page of helpers.  How did any of these helpers ever
work with this bug in there?

Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Dec 8 19:19:19 2003 UTC (20 years, 4 months ago) by matthew
Branches: MAIN
Diff to previous 1.61: preferred, colored
Changes since revision 1.61: +2 -2 lines
Added use for Apache::lonlocal.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Oct 28 21:45:15 2003 UTC (20 years, 6 months ago) by albertel
Branches: MAIN
CVS tags: version_1_0_99
Diff to previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2 lines
- ain't a wizard

Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Oct 14 18:32:15 2003 UTC (20 years, 6 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2 lines
Correct error caused by poor merging with Alex's code.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Oct 9 19:07:33 2003 UTC (20 years, 6 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.58: preferred, colored
Changes since revision 1.58: +39 -24 lines
Some more internationalization. I think I got all the hard stuff I know
how to do; there's still some parameterization and I'm not doing the
internationalization of the stuff Alex is doing in this commit.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Oct 9 18:24:32 2003 UTC (20 years, 6 months ago) by sakharuk
Branches: MAIN
Diff to previous 1.57: preferred, colored
Changes since revision 1.57: +5 -4 lines
Last update to imlement unselection of student's group.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Oct 9 16:27:26 2003 UTC (20 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.56: preferred, colored
Changes since revision 1.56: +61 -27 lines
- removing 1.56

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Oct 9 15:27:14 2003 UTC (20 years, 6 months ago) by sakharuk
Branches: MAIN
Diff to previous 1.55: preferred, colored
Changes since revision 1.55: +27 -61 lines
Last change is restorted - added unselect for section/group.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Oct 9 15:20:15 2003 UTC (20 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.54: preferred, colored
Changes since revision 1.54: +61 -27 lines
- removing 1.54

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Oct 9 14:37:48 2003 UTC (20 years, 6 months ago) by sakharuk
Branches: MAIN
Diff to previous 1.53: preferred, colored
Changes since revision 1.53: +27 -61 lines
Added unselection for section/group of students.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Oct 9 14:28:09 2003 UTC (20 years, 6 months ago) by sakharuk
Branches: MAIN
Diff to previous 1.52: preferred, colored
Changes since revision 1.52: +31 -5 lines
 Bug 2227 (Select which student to print needs to be easier) is fixed. You can select only "active" students or you can select by sections.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Oct 8 18:23:26 2003 UTC (20 years, 6 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2 lines
Not a typo. ;-)

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Oct 8 17:41:17 2003 UTC (20 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2 lines
- typo

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Oct 2 21:05:42 2003 UTC (20 years, 6 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.49: preferred, colored
Changes since revision 1.49: +58 -21 lines
Localizing lonhelper.

Also squashed a new bug in the helper; seems the behavior of the
Time::Local::timelocal has changed; instead of coercing Feb. 31 into
Mar. 3, it dies. May be related to locale change, may be a change in
newer perls. Don't care to investigate, since this new code will catch
either dieing or silent coercion and use it as an error. (Dieing was
impolite, though, hosed the server for no good reason. I would have left
the old behavion and added a 'strict' parameter, I think...)

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Sep 30 17:25:48 2003 UTC (20 years, 7 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
Fixing problems for printing.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Sep 29 16:33:09 2003 UTC (20 years, 7 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.47: preferred, colored
Changes since revision 1.47: +65 -16 lines
Docs updates, new features for resources, and now, support changing
weights in the parameter helper.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Sep 25 20:39:32 2003 UTC (20 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.46: preferred, colored
Changes since revision 1.46: +12 -4 lines
- better search for metadata when directory in CSTR
- understand ~ CSTR space directories

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Sep 16 20:00:57 2003 UTC (20 years, 7 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +10 -4 lines
Allows helpers to use the status display.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Sep 5 16:15:54 2003 UTC (20 years, 7 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.44: preferred, colored
Changes since revision 1.44: +6 -2 lines
Send the user to the parmset overview screen when re-initing the course
if the course is cloned.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Sep 2 20:58:31 2003 UTC (20 years, 7 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.43: preferred, colored
Changes since revision 1.43: +117 -67 lines
Documentation updates for lonhelper.pm (apparently), and fixes bug 2104.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Aug 13 14:52:08 2003 UTC (20 years, 8 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.42: preferred, colored
Changes since revision 1.42: +1 -0 lines
Oops!

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Aug 13 14:49:58 2003 UTC (20 years, 8 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.41: preferred, colored
Changes since revision 1.41: +148 -2 lines
Add a "dropdown" choice to the helper routines, for use on the print
screens.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Aug 7 17:26:44 2003 UTC (20 years, 8 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.40: preferred, colored
Changes since revision 1.40: +3 -7 lines
lonnavmaps are now maximally lazy; no processing is performed until it
is needed, except in cases where it makes sense to grab all data for the
course at a time.

As a result, the Apache::lonnavmaps::navmap->new() call no longer needs
any arguments; it assumes you're using the current user's navmaps and
generates the other data as needed.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Jun 23 20:39:18 2003 UTC (20 years, 10 months ago) by bowersj2
Branches: MAIN
CVS tags: version_1_0_3, version_1_0_2, version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4, version_0_99_3
Diff to previous 1.39: preferred, colored
Changes since revision 1.39: +14 -12 lines
Should fix 1867.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Jun 19 19:28:52 2003 UTC (20 years, 10 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.38: preferred, colored
Changes since revision 1.38: +50 -17 lines
"student" option now allows a parameter that allows you to select
course personnel as well, but this will have a problem with multiple
roles for the same person. Still, this is an improvement, if not a final
fix...

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Jun 17 14:21:22 2003 UTC (20 years, 10 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +72 -14 lines
Adds validator support to lonhelper, added validator support to the
string, and fixed the parameter helper final state to support tries.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Jun 12 13:52:06 2003 UTC (20 years, 10 months ago) by bowersj2
Branches: MAIN
CVS tags: version_0_99_2
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +5 -1 lines
Hopefully fix bug 1174 to everyone's satisfaction.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Jun 3 14:40:50 2003 UTC (20 years, 10 months ago) by bowersj2
Branches: MAIN
CVS tags: conference_2003
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
Send users to the menu at end of helper, not navmaps.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu May 29 17:39:40 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
CVS tags: version_0_99_1
Diff to previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
Fixes bug 1511.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue May 27 19:59:38 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.33: preferred, colored
Changes since revision 1.33: +129 -3 lines
Added in a fairly simple "string" type helper entry which allows the
user to manipulate a simple string. <string> honors defaultvalue.

Also gave <final> the ability to specify an override to the helper
environment to force the user to reinitialize the course at the end of
the helper, which was necessary for the course intialization wizard.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed May 21 13:41:00 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
CVS tags: version_0_99_0
Diff to previous 1.32: preferred, colored
Changes since revision 1.32: +2 -1 lines
This broke all helpers.

My best guess on how this happened was a ^K^K going to the wrong window
and I never noticed, because I can neither think of nor remember a
reason for whacking this line, which was like *the critical* line to the
functioning of the helper.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri May 16 20:44:43 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.31: preferred, colored
Changes since revision 1.31: +9 -4 lines
Fix #1447, show actual title on files screen.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri May 16 17:20:51 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.30: preferred, colored
Changes since revision 1.30: +43 -15 lines
Allow specification of required priviledges to use a helper.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu May 15 16:14:52 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.29: preferred, colored
Changes since revision 1.29: +33 -5 lines
Change the next/previous formatting, drop some of the extra space.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed May 14 20:16:56 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +6 -1 lines
For bug 1306 and some other things.

When filtering resources out of the nav maps, such as in printing when
the user is allowed to select just problems out of the course, it is
common that there are folders that contain no problems. Thus, before
this patch those folders just sat there, empty and open, which is a
visually confusing UI state, even to me, so I imagine the users would
be even worse off.

The navmaps part of this patch allows you to specify a parameter such
that empty maps should be suppressed, so they don't display and confuse
the user. The lonhelper part of this patch passes that parameter through
for resource elements. The lonprintout part of this patch turns
that feature on for "print problems from this course", so that empty
folders no longer show up there.

This turned out to require pleasently little code in lonnavmaps, by
putting it in the right place. The real functionality is all in about 20
lines (without comments).

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed May 14 18:58:21 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.27: preferred, colored
Changes since revision 1.27: +12 -59 lines
No longer pass things on the querystring. Seems to be working.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon May 12 19:33:57 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.26: preferred, colored
Changes since revision 1.26: +145 -28 lines
This commit is to fix up the parameter helper. Fixed student name
breakage. Now the parameter helper does a better job (i.e., it *does*
a job) of showing the user where they would have entered the parameter
with the advanced interface. Hopefully this won't cause too many
problems...

also included in this commit because it wasn't worth trying to mask it
out is the beginning of some more infrastructure I will be using for the
course initialization wizard, that allow the helper writer to bundle
the logic for selecting the default value, display the value, and
finally set the value all in the same geographical place in the helper,
putting all the logic for a single preference in the same place. Pretty
cool, if I do say so myself. ;-)

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu May 8 20:10:49 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.25: preferred, colored
Changes since revision 1.25: +7 -2 lines
Add the ability for <choices> elements to accept no choices at all without
erroring out.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu May 8 19:52:43 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.24: preferred, colored
Changes since revision 1.24: +145 -9 lines
* Fixed heisenbug that caused wierd stuff to happen if the handler
  tried to access file-scoped variables. See lengthy comment at the
  beginning of the commit message for a discussion; feel free to discuss
  it with me if it still doesn't make sense. (I think this may have had
  something to do with the global variable troubles in the past.)

* Added "finalcode" and "defaultvalue" tags, intended for use in the
  course initialization helper. <choices> now respects <defaultvalue>.

* If there are fewer then five choices in a multi-choice <choice>, don't
  display the "Select All" and "Unselect All" buttons, as they are
  visually clumsy.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu May 8 19:17:31 2003 UTC (20 years, 11 months ago) by sakharuk
Branches: MAIN
Diff to previous 1.23: preferred, colored
Changes since revision 1.23: +10 -3 lines
 Small check where we are (construction space or resources space) added.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed May 7 19:24:07 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +7 -2 lines
Update to lonhelper.pm

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed May 7 18:48:15 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.21: preferred, colored
Changes since revision 1.21: +29 -9 lines
HACK HACK HACK

Makes the "Select Published" and "Unselect Published" work in Netscape 4.
See lengthy comment explaining why it's done this way.

****'in Netscape 4.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed May 7 18:22:43 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +12 -1 lines
Add the ability to select or unselect published files.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed May 7 18:13:13 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.19: preferred, colored
Changes since revision 1.19: +36 -3 lines
File states now show problem statuses.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon May 5 18:05:21 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.18: preferred, colored
Changes since revision 1.18: +1 -1 lines
Add section to student identifier returned when using the student state.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon May 5 15:17:25 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.17: preferred, colored
Changes since revision 1.17: +23 -16 lines
When more then two elements that have a "checkall" button are in the
same state, the "check all" buttons should only apply to the particular
*element* they are clicking the "Check All" button for, not all
check boxes on the screen.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri May 2 19:20:51 2003 UTC (20 years, 11 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.16: preferred, colored
Changes since revision 1.16: +20 -6 lines
Resource panels have new options "toponly" to avoid recursion.

Enhanced documentation for creating helpers by code.

Fixed some features with the preprocessing that was supposed to work;
states are supposed to have the opportunity to bypass themselves. The
page format element does this (if the user did not select one col, it
skips itself). For a variety of reasons this was not working.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Apr 30 19:23:48 2003 UTC (21 years ago) by bowersj2
Branches: MAIN
Diff to previous 1.15: preferred, colored
Changes since revision 1.15: +1 -1 lines
Makes the paper state work on my machine.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Apr 30 19:08:15 2003 UTC (21 years ago) by bowersj2
Branches: MAIN
Diff to previous 1.14: preferred, colored
Changes since revision 1.14: +35 -8 lines
Add "Select All" and "Unselect All" button to the resource selector,
and fix some of the other "Select All" buttons.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Apr 30 18:40:49 2003 UTC (21 years ago) by bowersj2
Branches: MAIN
Diff to previous 1.13: preferred, colored
Changes since revision 1.13: +39 -25 lines
Add multiple selection capability to the resource object.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Apr 30 15:18:36 2003 UTC (21 years ago) by bowersj2
Branches: MAIN
Diff to previous 1.12: preferred, colored
Changes since revision 1.12: +327 -34 lines
Make it possible to create helpers manually, by exposing the functionality
necessary to do that.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Apr 17 17:21:24 2003 UTC (21 years ago) by bowersj2
Branches: MAIN
Diff to previous 1.11: preferred, colored
Changes since revision 1.11: +19 -9 lines
Student and section selection should work now.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Apr 15 19:10:00 2003 UTC (21 years ago) by bowersj2
Branches: MAIN
Diff to previous 1.10: preferred, colored
Changes since revision 1.10: +115 -1 lines
* "die" now explicitly used when subroutine compilations fail so the
  web server error log has an indication what the problem is, instead of
  silently failing.
* Added section choosing routine. May not completely work yet.
* Added eval tag, which allows the user to programmatically specify a
  message to print, which turned out to be necessary.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Apr 11 19:07:48 2003 UTC (21 years ago) by bowersj2
Branches: MAIN
Diff to previous 1.9: preferred, colored
Changes since revision 1.9: +11 -12 lines
Brain-o: <message> should take nextstate as an attribute, not a sub-tag,
and we can do away with the <message_text> entirely.

<nextstate> is OK for the rest of the tags that use it, I think, because
it doesn't cause such clumsiness.

I plead temporary insanity.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Apr 11 19:01:46 2003 UTC (21 years ago) by bowersj2
Branches: MAIN
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +4 -0 lines
Added DATA hash to the helper, for use by helper writers.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Apr 11 18:16:04 2003 UTC (21 years ago) by bowersj2
Branches: MAIN
Diff to previous 1.7: preferred, colored
Changes since revision 1.7: +91 -6 lines
Add the "condition" and "exec" tags for executing code and conditionally
dropping selected parts of the helper XML. This gives me most of the tools
I need to replicate current wizards.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Apr 11 17:45:37 2003 UTC (21 years ago) by bowersj2
Branches: MAIN
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +39 -17 lines
Dynamically register and unregister the helper tags when we see the
<helper> and </helper> tags, making my worries about namespace pollution
go away.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Apr 11 17:21:18 2003 UTC (21 years ago) by bowersj2
Branches: MAIN
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +75 -8 lines
This goes a long ways towards cleaning up a lot of the worst problems.
Elements now prevent states from advancing if there is an error, and
they print error messages now.

There are still some data-loss cases if you routinely use multiple
elements where both of them might have user-input errors, but by-and-large
that should not be a normal wizard, so I'm not inclined to blow time
fixing those corner cases until a situation develops where we need to.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Apr 10 18:02:09 2003 UTC (21 years ago) by bowersj2
Branches: MAIN
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +1009 -35 lines
Checkpoint checkin. Most of the states need some sort of brushing up, but
it's largely working now. The persistent storage actually works now. All
but the special final param setting wizard state are in there in some form.
Still need to re-write the registration functions to dynamically push and
pop the wizard-only tags onto lonxml's recognition stack as needed so I
don't worry about namespaces.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Mar 28 20:25:19 2003 UTC (21 years, 1 month ago) by bowersj2
Branches: MAIN
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +184 -39 lines
Progressing through the states now works and <message> elements are
now confirmed to be working.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Mar 27 20:58:16 2003 UTC (21 years, 1 month ago) by bowersj2
Branches: MAIN
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +449 -9 lines
Basic infrastructure in place; can actually successfully display stuff
based on the XML now.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Mar 21 21:34:56 2003 UTC (21 years, 1 month ago) by bowersj2
Branches: MAIN
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +40 -0 lines
Depends on some other files that aren't in the CVS repository, so this
won't work for anyone else, but I am rocking now. A file is being read
off the disk and being processed through lonxml... in other words, all
the hard parts I wasn't sure about. It's mostly typing from here.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Mar 21 18:11:11 2003 UTC (21 years, 1 month ago) by bowersj2
Branches: MAIN
Beginning work on the XML file handlerr for lonhelper (formerly the wizard).
Beginning work on the .helper XML handler for lon-helper files.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>