Details

    • Rank:
      33626

      Description

      The main working directions established in the GSoC 2007 proposal are:

      • Improve the User features in moodle to allow bulk-operations.
        • Create an interface to do bulk operations on users (e.g. delete users, reset passwords etc) This could potentially use an AJAX implementation for multiple filtering/selection of required students for bulk operations.
        • Overhall the CSV upload features to allow more flexibility (more options, features to auto-generate more fields such as usernames)
      • Enrolment
        • Specify time of manual enrollments (MDL-8877)
      • Notes
        • Allow teachers to put notes for each student in every course, much requested feature

        Issue Links

          Activity

          Hide
          Lorenzo Nicora added a comment -

          Interface for bulk operations on users should also allow enrolling (and unenrolling) to courses (or assigning role in a context)

          Show
          Lorenzo Nicora added a comment - Interface for bulk operations on users should also allow enrolling (and unenrolling) to courses (or assigning role in a context)
          Hide
          Chris Fryer added a comment -

          Following Lorenzo's suggestion, I've put together an interface for assigning roles to a single user in multiple contexts. It's hacked together from /admin/user.php and /admin/roles/assign.php

          It isn't anything like as ambitious as the project you've outlined, and may in fact be superseded by the full release of Moodle 1.9. At the very least, the functions in userassignroleslib.php might prove useful. They get contexts in which the user is assigned a given role, and the contexts in which the user is not. Perhaps they should really go into /lib/datalib.php

          I haven't put any of the new messages into a language pack, and don't know if I need to make special allowances for MNET users. My concerns should be fairly obvious in the comments.

          I hope it's useful to you. If not, maybe it could at least go into an upcoming 1.8.x release.

          Regards,

          Chris

          Show
          Chris Fryer added a comment - Following Lorenzo's suggestion, I've put together an interface for assigning roles to a single user in multiple contexts. It's hacked together from /admin/user.php and /admin/roles/assign.php It isn't anything like as ambitious as the project you've outlined, and may in fact be superseded by the full release of Moodle 1.9. At the very least, the functions in userassignroleslib.php might prove useful. They get contexts in which the user is assigned a given role, and the contexts in which the user is not. Perhaps they should really go into /lib/datalib.php I haven't put any of the new messages into a language pack, and don't know if I need to make special allowances for MNET users. My concerns should be fairly obvious in the comments. I hope it's useful to you. If not, maybe it could at least go into an upcoming 1.8.x release. Regards, Chris
          Hide
          Koen Roggemans added a comment -

          I hope I'm posting in the right bug here ...

          I noticed that it is possible to include default values for uploading users from a text file - great idea.
          But I don't see the point in having an account name in this form. I suggest to take it out. Also the help file needs replacing (not updating) since the page contains new functionality

          Show
          Koen Roggemans added a comment - I hope I'm posting in the right bug here ... I noticed that it is possible to include default values for uploading users from a text file - great idea. But I don't see the point in having an account name in this form. I suggest to take it out. Also the help file needs replacing (not updating) since the page contains new functionality
          Hide
          Andrei Bautu added a comment -

          > I don't see the point in having an account name in this form.

          Values of fields in "Default values" section are proccesed as templates where some special character sequences are replaced with other values (eg. %f is replaced by the first name of the user). This way, if you want so, your CSV file can contain only the first and last names of users, and all other fields, including the username, will be generated based on them.
          The help file has been updated to present this features, while the other (basic) features information are still there.

          Show
          Andrei Bautu added a comment - > I don't see the point in having an account name in this form. Values of fields in "Default values" section are proccesed as templates where some special character sequences are replaced with other values (eg. %f is replaced by the first name of the user). This way, if you want so, your CSV file can contain only the first and last names of users, and all other fields, including the username, will be generated based on them. The help file has been updated to present this features, while the other (basic) features information are still there.
          Hide
          Koen Roggemans added a comment -

          Thanks, see it now.
          I would have preferred that the helpfile was replaced one with another file name (uploadusers2.html).
          This way the (rather important) changes will never make it to the translated help files.

          Show
          Koen Roggemans added a comment - Thanks, see it now. I would have preferred that the helpfile was replaced one with another file name (uploadusers2.html). This way the (rather important) changes will never make it to the translated help files.
          Hide
          Yu Zhang added a comment -

          Hi Koen,

          Sorry I let this one slip. Reverted uploadusers.html and added uploadusers2.html.

          Cheers,

          Yu

          Show
          Yu Zhang added a comment - Hi Koen, Sorry I let this one slip. Reverted uploadusers.html and added uploadusers2.html. Cheers, Yu
          Hide
          Mitsuhiro Yoshida added a comment -

          Hi Yu,

          The contents of help file en_utf8\help\filters\date.html seems to be duplicated.
          Could you please check the help file?

          Mits

          Show
          Mitsuhiro Yoshida added a comment - Hi Yu, The contents of help file en_utf8\help\filters\date.html seems to be duplicated. Could you please check the help file? Mits
          Hide
          Yu Zhang added a comment -

          Hi Mits, thanks, removed now =)

          Show
          Yu Zhang added a comment - Hi Mits, thanks, removed now =)
          Hide
          Yu Zhang added a comment -

          Thanks Andrei for the good work, all code in 1.9, closing now. Please file separate bugs (if any).

          Show
          Yu Zhang added a comment - Thanks Andrei for the good work, all code in 1.9, closing now. Please file separate bugs (if any).

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: