208 Commits

Author SHA1 Message Date
Petr Skoda
17c70aa007 MDL-16723 automatic redirects to https when loginhttps enabled - this solves accidental usage of http version + it also solves recent navigation regressions + fixed regression from PAGE conversions + deprecated old httpsrequired() and $HTTPSPAGEREQUIRED 2010-10-10 15:04:19 +00:00
Petr Skoda
99f9f85f00 MDL-23489 auth plugins can specify own edit profile url - patch submitted by Jay Knight + tweaking change password url to use new moodle_url at the same time, it is backwards compatible, custom plugins may still use string url for now 2010-08-18 22:07:00 +00:00
Petr Skoda
4f622c38a1 MDL-23774 only administrators may edit administartor accounts 2010-08-12 09:44:28 +00:00
Petr Skoda
79efabd49c MDL-23590 ask for site names right after editing admin account during first login after cli install 2010-07-30 14:47:15 +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
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
Martin Dougiamas
03d9401e7d My Moodle MDL-19124 New version of My Moodle, User profiles and Course profiles, all with block support
Thanks very much to Remote Learner Canada, especially Hubert Chathi and Olav Jordan, for their work on the bulk of this code, and also Mike Churchward for supporting them.  I worked on it after that (actually simplified it by removing a feature temporarily: multiple pages) to bring it more to what I was imagining, and to provide a base to build on and get all the navigation perfect.

There's still work to do.  Some blocks don't quite work as expected, and some of the code still needs upgrading to bring it fully into line with 2.0.  We also could use a much better course overview block and better CSS styling of the profile pages.  But it's definitely more usable this it was, I think.
2010-05-04 13:04:35 +00:00
Sam Hemelryk
42086054f9 user-edit MDL-22118 Fixed fatal error in user/edit.php with unassigned users 2010-04-20 03:42:55 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Penny Leach
5f08e124da mnet MDL-18759 detect the case where a user profile is not fully set up for a remote user more elegantly 2010-01-12 02:58:53 +00:00
Petr Skoda
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
Sam Hemelryk
8bdc9cacad files MDL-20601 Conversion of many of the uses of print_textarea, and the mforms htmleditor to the new editor
Please forgive me if I have missed converting any output statements. If you do find an output statement that is not formatting correctly please refere to the table I added to this bug in regards to how it should be formatted.
2009-11-04 06:14:06 +00:00
skodak
64521d31ac MDL-20209 fixed incorrect mail sync with ext auths 2009-09-26 19:17:21 +00:00
samhemelryk
ce221eb52d user MDL-19825 Added set_url calls, replaced deprecated functions, and boilderplate 2009-09-25 04:02:46 +00:00
samhemelryk
91152a3518 navigation MDL-20216 Refactored add arguments
Moved $action argument from arg5 to arg2
2009-09-04 03:12:01 +00:00
samhemelryk
caa8363f83 user MDL-19825 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-02 08:36:16 +00:00
nicolasconnault
3aac07d8f0 MDL-19825 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:19:25 +00:00
nicolasconnault
5e61d1a4a2 MDL-19825 Converted print_box* to $OUTPUT->box* 2009-08-10 05:50:10 +00:00
nicolasconnault
0ab75c34ba MDL-19825 Converted all print_footer() calls 2009-08-06 14:08:20 +00:00
nicolasconnault
8fa89bfd04 MDL-19825 Migrated calls to print_heading 2009-08-06 08:15:05 +00:00
jerome
2b06294b9a authentication MDL-19182 split auth.php lang file into multiple files separate for each plugin 2009-06-11 03:34:46 +00:00
skodak
bf8e93d704 MDL-18293 $DB->somethiong is using exceptions, no need for ifs tehre, removing useless strings 2009-06-03 20:00:08 +00:00
skodak
58c2e0697d MDL-12212 fixed missing course setup + tags incorrect $id parameter 2009-05-25 21:45:48 +00:00
tjhunt
c060fc6a12 blog / tags: MDL-17900 Use the new tags field type to tag users' interests. 2009-01-16 07:14:39 +00:00
skodak
93f66983cc MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks 2009-01-02 22:56:48 +00:00
skodak
d0b2acde4f MDL-17559 user edit: fixed undefined email property warnings; merged from MOODLE_19_STABLE 2008-12-08 20:16:49 +00:00
mudrd8mz
4697304a4c MDL-16308 Use default country instead of empty one when some external auth source (LDAP, POP3 etc) is used. Merged from 1.9 2008-09-25 10:12:18 +00:00
moodler
184c7638f5 MDL-13811: Merged fix to work when email is disabled 2008-07-10 08:07:55 +00:00
skodak
2942a5cd34 MDL-9983, MDL-13998 core events related cleanup; merged from MOODLE_19_STABLE 2008-07-06 17:57:06 +00:00
skodak
05c38e2b7c MDL-13811 reworked unsetting of preferences and minor tweaks 2008-07-05 22:46:31 +00:00
skodak
f5fc83e818 MDL-15516 prvent access to deleted profiles and other user areas 2008-07-05 14:52:39 +00:00
nicolasconnault
d6ace123f0 MDL-13811 Completed the required changes. Also added a "Cancel email change" link. Merging from MOODLE_19_STABLE 2008-07-05 14:28:13 +00:00
dongsheng
4e244ba8b9 "MDL-14129, fix print_error" 2008-06-13 07:07:45 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
5d910388bb MDL-14679 towards /user conversion 2008-05-30 22:11:31 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
moodler
0aa05b3204 Merged MDL-13672 tag name function was not updated when tag/lib.php changed 2008-02-26 12:46:51 +00:00
poltawski
fc4b2decc0 MDL-13179 - avoid calling get_admin() when unecessary.
It uses a relatively complex query and its not needed except
for a minority of users so we may as well avoid it..
merged from MOODLE_19_STABLE
2008-01-26 17:00:03 +00:00
skodak
80c64fc77f MDL-13052 edit/user.php typo; merged from MOODLE_19_STABLE 2008-01-18 17:13:56 +00:00
tjhunt
bb9a123a73 MDL-12373 - If you can see your user profile, but don't have moodle/course:viewparticipants, you get a link in the nav bar that takes you to an error message - this was repeated in other parts of the user profile that I had not noticed when I fixed this before. 2008-01-09 16:46:21 +00:00
skodak
8b3dc20253 MDL-12580 fixed infinite redirect loop when editing profile for the first time; merged from MOODLE_19_STABLE 2007-12-15 16:57:20 +00:00
skodak
e6eea4f2f4 MDL-9574 + MDL-9607 fixed undefined $user->id in personal context 2007-09-16 09:21:29 +00:00
moodler
277fe19dc1 Don't let guests ever be edited 2007-09-03 08:36:31 +00:00
nicolasconnault
0be6f67819 MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site. 2007-08-17 19:09:11 +00:00
moodler
1e1c51a3b7 Changes to user profile pages to edit/display interest tags 2007-07-31 08:09:46 +00:00
toyomoyo
ae483dadca MDL-9983, missing upser_updated event 2007-07-11 09:05:17 +00:00
toyomoyo
a160cf0b17 fix for MDL-9983, trigger certain events out of the core to modules 2007-07-10 02:33:38 +00:00
toyomoyo
e513826187 MDL-9983, adding triggers for certain events, no handler implemented 2007-07-09 06:43:33 +00:00
skodak
f747fb3eef MDL-10074 User profile edition uses wrong variable for the (fatal) error message.; patch by Iñaki Arenaza 2007-06-10 19:07:11 +00:00
skodak
1cb3da3613 MDL-9574 + MDL-9607 Add Change-own-password and Edit-own-profile capabilities 2007-04-26 21:41:08 +00:00