144 Commits

Author SHA1 Message Date
Frederic Massart
4373103084 MDL-34460 Librairies: Replaced deprecated get_context_instance() 2012-07-26 13:23:28 +08:00
Aparup Banerjee
acb88dbed3 Merge branch 'wip-mdl-32942' of git://github.com/rajeshtaneja/moodle 2012-07-24 12:14:17 +08:00
Rajesh Taneja
405aca3532 MDL-32942 libraries: Replaced deprecated PARAM_ACTION and PARAM_FORMAT with PARAM_ALPHANUMEXT 2012-07-19 15:46:10 +08:00
Rajesh Taneja
071e68f93e MDL-32945 libraries: Replaced deprecated PARAM_MULTILANG with PARAM_TEXT 2012-07-19 15:44:40 +08:00
Sam Hemelryk
871c06e583 Merge branch 'MDL-29538_usercond' of git://github.com/markn86/moodle 2012-07-09 11:44:39 +12:00
Rajesh Taneja
fc3aa0fbaf MDL-32787 user: rule required for custom profile fields applies to all users editing own profile 2012-07-03 13:46:13 +08:00
Mark Nelson
f99d3a42a2 MDL-29538 core_condition: Deleting profile fields will delete the dependencies in both the modules and sections 2012-06-26 15:18:54 +08:00
Sam Hemelryk
33e657c7e7 MDL-29538 core_condition: Pre-integration merge cleanup
* Fixed up database installation and upgrade code
* Reverted some whitespace optimisations to minimise conflicts
* Optimised commits made by Mark to reduce complexity and add tracker issue numbers
2012-06-26 15:18:53 +08:00
Mark Nelson
a8f84c287c MDL-29538 core_condition: code cleanup 2012-06-26 15:18:52 +08:00
Mark Nelson
92fb7dd3a5 MDL-29538 core_condition: made changes to the DB structure - nb. had to rename the table due to length limit 2012-06-26 15:18:51 +08:00
Mark Nelson
76af15bb4c MDL-29538 core_condition: initial commit to add support for making things conditional on user profile fields 2012-06-26 15:18:51 +08:00
Eloy Lafuente (stronk7)
c5e783e512 MDL-33794 version.php: Bump all versions, requires and dependencies to 2012061700 2012-06-18 02:37:00 +02:00
Rajesh Taneja
c106a9bff0 MDL-27562 formslib: applydst should be always true, hence option removed from dateselector and datetimeselector form elements 2012-05-07 15:23:45 +08:00
Petr Skoda
c990e4bfcb MDL-32405 fix PHP4isms and other E_STRICT issues in custom profile fields 2012-04-15 17:15:50 +02:00
Rajesh Taneja
1b4d2d56d9 MDL-31654 users: Added check for custom profile fields, if wrong data is passed then user will not be able to proceed 2012-03-23 10:13:37 +08:00
Rajesh Taneja
bd8dc9ba0a MDL-31654 users: removed hardcoding and added docblock on top of tim's patch 2012-03-23 10:13:37 +08:00
Sam Hemelryk
9c6b40c614 Merge branch 'MDL-30518' of git://github.com/mackensen/moodle 2011-12-08 16:05:26 +13:00
Charles Fulton
59c1a98c05 MDL-30518 get_context_instance takes one parameter at the SYSTEM level 2011-11-30 05:47:50 -08:00
Eloy Lafuente (stronk7)
7927af450c MDL-30007 standardise user profile field version files 2011-11-30 02:45:21 +01:00
Tomasz Muras
192a8aef34 MDL-29012 Show which user profile field is being deleted
Improve usability by showing the name of the profile field
being deleted.
2011-08-20 16:29:21 +01:00
Petr Skoda
ffcb837973 MDL-26177 compare 255 chars when checking custom field uniqueness 2011-02-02 09:15:42 +01:00
Petr Skoda
af0a06cb5a MDL-26177 fix non-working unique custom field check 2011-02-01 14:34:31 +01:00
Tim Hunt
25f44c72bd custom profile fields MDL-26177 fields with unique were broken because you cannot use get_field with TEXT columns. 2011-01-29 15:42:09 +00:00
Sam Hemelryk
3cf8629554 user-profile-field-datetime MDL-24806 Fixed typo 2010-11-11 05:04:07 +00:00
Petr Skoda
68f94e2418 MDL-24806 new time/date profile field
Credit goes to Mark Nelson - Pukunui Technology
2010-11-11 00:34:44 +00:00
jerome mouneyrac
6d153e67b4 webservice MDL-18655 add new capability moodle/user:viewalldetails allowing to see all user information. This capability is set up copying the current moodle/user:update assignations 2010-11-05 06:55:43 +00:00
Sam Hemelryk
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Petr Skoda
bf718f50ac MDL-24321 switching to stdClass in /user/ 2010-09-21 08:27:29 +00:00
Petr Skoda
a8ff9488fd phpdocs and var initialization 2010-09-17 20:05:40 +00:00
Petr Skoda
dd88de0ebd MDL-14679 fixed remaining old style update_record()s 2010-09-03 18:01:25 +00:00
Petr Skoda
93de0ac293 MDL-23184 using PARAM_NOTAGS instead of general cleaning for fields that are not supposed to have tags 2010-09-02 18:25:30 +00:00
David Mudrak
dc45a43a87 MDL-21845 multilang filter applied to custom field labels in user profile
Merged from 1.9 and 1.8
2010-07-28 09:42:05 +00:00
Petr Skoda
a1248ca40e MDL-18964 moving the preloaded custom profile fields into $USER->profile array instead of injecting fields directly into $USER; unfortunately this is not consistent with other preloaded data such as preferences, we can not refresh it properly because we can inject the data only once, also we risk future collisions when adding new fields into user table + implemented reloading after the profile changes; change noted in release notes 2010-07-25 21:00:59 +00:00
aparup
3cb462d288 administration MDL-23287 removed confirmation question when deleting user profile category. 2010-07-22 02:47:59 +00:00
aparup
e269084401 nobug - codestyle cleanup of spaces 2010-07-21 01:48:45 +00:00
aparup
bd08252b86 admin MDL-23287 deleting category/field skips question when there are no users affected. 2010-07-21 01:35:08 +00:00
Andrew Davis
88c90a63f4 admin MDL-23259 fixed deleting of user profile fields 2010-07-15 02:58:46 +00:00
Andrew Davis
d203d08f91 admin MDL-23259 made the add user profile field/add category UI a little more logical. I think. 2010-07-15 02:52:52 +00:00
Petr Skoda
d354ba0965 MDL-23259 fixed fatal error, missing get_string() 2010-07-14 07:33:42 +00:00
jerome mouneyrac
a6bfa66c35 profil MDL-23103 fix missing moodle_url on the delete confirmation custom field page 2010-07-06 09:13:34 +00:00
David Mudrak
165c9f1f34 MDL-21695 Replaced profilevisible.html
AMOS BEGIN
 HLP profilevisible.html,[profilevisible_help,core_admin]
AMOS END
2010-06-28 14:38:31 +00:00
David Mudrak
a68ae24547 MDL-21695 Fixed the caller of profilefieldlink help 2010-06-28 14:38:16 +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
859b00d0cc MDL-22061 converting profile fields to real plugins with lang packs
AMOS START
 MOV [profilefieldtypecheckbox,core_admin],[pluginname,profilefield_checkbox]
 MOV [profilefieldtypemenu,core_admin],[pluginname,profilefield_menu]
 MOV [profilefieldtypetext,core_admin],[pluginname,profilefield_text]
 MOV [profilefieldtypetextarea,core_admin],[pluginname,profilefield_textarea]
AMOS END
2010-04-11 21:02:06 +00:00
David Mudrak
2ecf267ccb MDL-21845 user profile: Fixed missing multilang support
Merged from 1.9
2010-04-02 09:45:36 +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
jerome mouneyrac
fb79269bef webservice MDL-20808 add user lib.php, add web service user functions, rename $usercustomfields variable into profile_user_record() function 2010-02-11 04:02:04 +00:00
Petr Skoda
f8dab96615 MDL-20204 a lot more steps away from html_select 2010-02-10 09:37:50 +00:00