88 Commits

Author SHA1 Message Date
Frederic Massart
7c9968bd9f MDL-24064 admin: Remove unused code to bulk enrol users 2016-05-24 18:48:06 +08:00
Brendan Heywood
12142298ec MDL-34925 user: Convert bulk user download to dataformat 2016-04-20 13:02:06 +10:00
Andrew Nicols
372d6b923b MDL-30811 core: Replace use of continue_button with redirect 2016-02-29 09:05:58 +08:00
Gary Krige
8098d21b52 MDL-49309 user: sort cohorts by name in bulk user actions 2015-03-13 12:29:39 +02:00
Pau Ferrer Ocaña
912296ad30 MDL-47227 admin: Fix user bulk selection over 1000 2014-10-28 08:34:01 +01:00
Petr Škoda
d79d5ac276 MDL-31501 rework user session architecture
List of changes:
 * New OOP API using PHP namespace \core\session\.
 * All handlers now update the sessions table consistently.
 * Experimental DB session support in Oracle.
 * Full support for session file handler (filesystem locking required).
 * New option for alternative session directory.
 * Official memcached session handler support.
 * Workaround for memcached version with non-functional gc.
 * Improved security - forced session id regeneration.
 * Improved compatibility with recent PHP releases.
 * Fixed borked CSS during install in debug mode.
 * Switched to file based sessions in new installs.
 * DB session setting disappears if DB does not support sessions.
 * DB session setting disappears if session handler specified in config.php.
 * Fast purging of sessions used in request only.
 * No legacy distinction -  file, database and memcached support the same functionality.
 * Session handler name included in performance info.
 * Fixed user_loggedin and user_loggedout event triggering.
 * Other minor bugfixing and improvements.
 * Fixed database session segfault if MUC disposed before $DB.

Limitations:
 * Session access time is now updated right after session start.
 * Support for $CFG->sessionlockloggedinonly was removed.
 * First request does not update userid in sessions table.
 * The timeouts may break badly if server hosting forces PHP.ini session settings.
 * The session GC is a lot slower, we do not rely on external session timeouts.
 * There cannot be any hooks triggered at the session write time.
 * File and memcached handlers do not support session lock acquire timeouts.
 * Some low level PHP session functions can not be used directly in Moodle code.
2013-09-21 13:11:56 +02:00
Adrian Greeve
a327f25ef1 MDL-31776 - lib: Alternate name fields
Add support for additional name fields and flexible formating of
user names.
2013-07-09 11:45:50 +08:00
Rajesh Taneja
1daab45a7a MDL-39863 Administration: Show confirmation/notice and don't redirect automatically 2013-06-11 10:19:56 +08:00
Petr Škoda
75427a824c MDL-37171 fix multiple spreadsheet related PHP4isms 2012-12-15 12:36:40 +01:00
Ankit Agarwal
d197ea4300 MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id() 2012-08-24 11:30:10 +08:00
Adrian Greeve
9a5abd1b70 MDL-34074 - lib - Creation of a csv upload class which is FRC 4180 compliant and the alteration of various files around Moodle to use this class. 2012-08-02 13:18:57 +08:00
Frederic Massart
bf006d2c15 MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +08:00
Charles Fulton
66969d5004 MDL-32889 lib: escape filename in Content-Disposition header 2012-05-09 16:03:33 -04:00
Petr Skoda
56284322ea MDL-22404 bulk user add to cohort 2011-07-11 09:20:45 +02:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
andyjdavis
bcab42daf2 message MDL-25616 adding recent conversations and recent notifications screens 2011-02-15 11:17:38 +08:00
Eloy Lafuente (stronk7)
755d2c74f6 MDL-25708 recordsets - fix admin dir uses 2011-01-25 19:58:59 +01:00
Andrew Davis
4e226c99d5 message MDL-25240 add explanatory comment 2010-12-09 06:39:10 +00:00
Andrew Davis
b6138cd59c message MDL-24444 made bulk user messaging work by fixing up some incomplete refactoring 2010-10-13 02:38:23 +00:00
Petr Skoda
86b0f23224 MDL-24396 fixed regressions in bulk user delete 2010-09-27 08:45:59 +00:00
Petr Skoda
a226a972f7 MDL-24321 switching to stdClass in /admin/ and / 2010-09-21 08:44:02 +00:00
Petr Skoda
eab8ed9fb7 fixed a few spelling errors in /admin/ 2010-09-17 10:27:26 +00:00
Petr Skoda
b475d8bd34 fixed incorrect use of DML method 2010-09-17 09:38:15 +00:00
Dongsheng Cai
ac3c1e554a "MDL-24032, fixed error when use bulk force password change, credits to Myles Carrick" 2010-09-08 13:50:26 +00:00
Petr Skoda
484a976522 MDL-23184 PARAM_CLEANHTML used in messaging for now, adding some hints how to implement support for text formats properly 2010-09-02 18:16:45 +00:00
Petr Skoda
45423ee26d MDL-23184 fixed wrong PARAM_CLEAN 2010-09-02 18:09:49 +00:00
Petr Skoda
ceb65471f7 MDL-24064 disabling bulk enrol for now, it needs to be rewritten a bit; fixing incorrect sue of PARAM_CLEAN 2010-09-02 18:08:04 +00:00
Petr Skoda
c30bcaae3f MDL-23927 ensure CFG in scope before using, credit goes to Myles Carrick 2010-09-01 07:32:21 +00:00
Martin Dougiamas
39bc8cd013 bulk user editing MDL-24029 Fixed missing CFG global 2010-09-01 02:57:09 +00:00
Petr Skoda
04aec3dacf MDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any other username with accents and different case in MySQL 2010-08-25 08:32:59 +00:00
Petr Skoda
e985de2ba4 MDL-23774 do not allow deleting of any admin accounts in bulk actions 2010-08-12 08:14:40 +00:00
Petr Skoda
e5665b7f00 MDL-21782 temporary bulk enrol cap fix 2010-08-12 08:00:00 +00:00
Petr Skoda
6cf88991e6 MDL-21782 enrol todo 2010-08-12 07:59:28 +00:00
David Mudrak
8af5201e7e MDL-21695 Replacing bulkusers help files
AMOS BEGIN
 HLP bulkusers/lists.html,[users_help,core_bulkusers]
 HLP bulkusers/selectedlist.html,[selectedlist_help,core_bulkusers]
AMOS END
2010-07-19 17:27:39 +00:00
Petr Skoda
20e5da7d91 MDL-19211 back to the old text format preferences logic + minor refactoring and improvements 2010-07-10 12:12:59 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Martin Dougiamas
bfebaf64d8 MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script. 2010-05-13 02:02:05 +00:00
David Mudrak
27d1a27c21 MDL-21695 Migrating the usage of root help files so far re-worded
AMOS BEGIN
 HLP forcepasswordchange.html,[forcepasswordchange_help,core]
 HLP interestslist.html,[interestslist_help,core]
 HLP newpassword.html,[newpassword_help,core]
 HLP permissions.html,[permissions_help,core_role]
 HLP picture.html,[newpicture_help,core]
 HLP picture.html,[newpicture_help,core_group]
 HLP roles.html,[roles_help,core_role]
AMOS END
2010-05-06 21:27:58 +00:00
Petr Skoda
0aa759b01c MDL-22015 more get_list_of_countries() refactoring 2010-04-14 14:27:10 +00:00
Petr Skoda
3c7e56c4b8 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [decsep,core],[decsep,core_langconfig]
  MOV [listsep,core],[listsep,core_langconfig]
  MOV [thousandsep,core],[thousandsep,core_langconfig]
AMOS END
2010-04-10 17:40:58 +00:00
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Rossiani Wijaya
740128d6e2 MDL-20402 - update bulk user action messages from regular textarea to HTML editor. 2010-01-25 09:23:02 +00:00
Petr Skoda
dc6896efe0 MDL-21198 used new simple_button class when doing OUTPUT->confirm() - more consistent and hopefully easier to remember than html_form::make_button() ;-) 2010-01-03 20:47:13 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
8139c92f6d MDL-20948 auth plguins do not throw notices in methods if not configured yet 2009-11-24 14:51:28 +00:00
Petr Skoda
d91fee8bb6 MDL-19608 do not force changing of password in external accounts 2009-11-24 08:42:38 +00:00
Petr Skoda
154acd7aa3 MDL-19608 do not force changing of passwords if users may not actually change them 2009-11-17 11:36:51 +00:00
Petr Skoda
cce60fc481 MDL-14679 fixed dml conversion issues 2009-11-17 10:21:29 +00:00