1123 Commits

Author SHA1 Message Date
jerome mouneyrac
30a4fb1b97 webservice MDL-22562 add missing user profile custom fields to external create_users function + update test client 2010-05-25 03:44:29 +00:00
Sam Hemelryk
87c215de67 navigation MDL-14632 Fixed up user profile navigation and settings after recent changes. 2010-05-17 05:38:59 +00:00
Patrick Malley
29ef7d4fe6 Working on Boxxie, Canvas, and Formactor 2010-05-16 22:57:31 +00:00
Martin Dougiamas
99cca8470e MDL-19124 Continued misc user profile cleanups
- fixed user styles in base theme
    - added new divs for better control on user profile and user index pages
    - reduced data on course user profiles down to minimum
    - removed user/tabs.php completely and all uses of it
    - changed default user icon pix to something very bland (bye bye smiley cake)
2010-05-16 08:21:12 +00:00
Sam Hemelryk
c07dfe7021 navigation MDL-14632 Added pagelayout calls to set more appropriate page layouts 2010-05-14 07:07:15 +00:00
Andrew Davis
842cd18bc9 rss MDL-22204 added ability for user to reset their rss token 2010-05-13 02:07:57 +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
Sam Hemelryk
36798745fb user MDL-22382 Fixed incorrect use of get_list_of_themes in editlib.php 2010-05-12 09:44:45 +00:00
jerome mouneyrac
229a70996a security keysMDL-12886 cleanup a bit the security keys page (move html into renderer and DB query into library) 2010-05-12 07:53:07 +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
David Mudrak
226de8b7e7 MDL-21695 authchange.html replaced with a help string
AMOS BEGIN
 HLP authchange.html,[chooseauthmethod_help,core_auth]
AMOS END
2010-05-06 16:56:04 +00:00
Martin Dougiamas
bfe6fe455e MDL-19124 Fix up the headers with strings 2010-05-05 05:58:56 +00:00
Martin Dougiamas
b8fa1826a2 MDL-19124 Removed the my_syspage_block_manager hacks from sys pages and completed the 0->null migration in userid 2010-05-05 05:52:10 +00:00
Martin Dougiamas
1b82cee2a0 MDL-19124 Fixing url 2010-05-05 05:23:30 +00:00
Martin Dougiamas
972cc9d199 Rmoeved some print_object debugging 2010-05-05 03:50:04 +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
Martin Dougiamas
8cb89f5bd5 Added a heading when editing a user as admin 2010-05-04 02:27:02 +00:00
David Mudrak
757e89d291 User profile: fixing user picture fieldset legend 2010-05-03 17:17:56 +00:00
Martin Dougiamas
2be4d090c0 course completion MDL-2631 Course completion feature - Thanks to Aaron Barnes and Catalyst IT for this significant contribution. It is now officially possible to finish a course!
Even though I've tweaked this and done some polishing, there is still plenty to do on it now in HEAD, mostly to do with UI, usability and strings, so we'll keep working on it.  Aaron already has a number of improvements to add to it.
2010-04-30 03:06:22 +00:00
Sam Hemelryk
105666bbf4 user MDL-20204 Fixed bug with paging bar rendering 2010-04-21 07:36:34 +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
Patrick Malley
e08fbd1940 Added clearfix to .buttons class 2010-04-19 10:47:49 +00:00
Sam Hemelryk
3406acdef9 navigation MDL-22044 Major navigation structure changes.
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure.
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
Petr Skoda
96de38c3ab MDL-22015 fixed regression in last commit, sorry 2010-04-14 14:43:51 +00:00
Petr Skoda
38bb62b5aa MDL-22015 fixed more string_manager encapsulation issues - use edit form 2010-04-14 14:42:03 +00:00
Petr Skoda
0aa759b01c MDL-22015 more get_list_of_countries() refactoring 2010-04-14 14:27:10 +00:00
Petr Skoda
1f96e907ea MDL-22084 making a clear distinction between list of our translations and list of all languages defined in ISO 639-2 2010-04-14 09:45:49 +00:00
Petr Skoda
596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00
Petr Skoda
370f10b7eb MDL-22061 converting auths to pluginname and deprecating old method for getting auth names
AMOS START
 MOV [auth_castitle,auth_cas],[pluginname,auth_cas]
 MOV [auth_dbtitle,auth_db],[pluginname,auth_db]
 MOV [auth_emailtitle,auth_email],[pluginname,auth_email]
 MOV [auth_fctitle,auth_fc],[pluginname,auth_fc]
 MOV [auth_imaptitle,auth_imap],[pluginname,auth_imap]
 MOV [auth_ldaptitle,auth_ldap],[pluginname,auth_ldap]
 MOV [auth_manualtitle,auth_manul],[pluginname,auth_manul]
 MOV [auth_mnettitle,auth_mnet],[pluginname,auth_mnet]
 MOV [auth_nntptitle,auth_nntp],[pluginname,auth_nntp]
 MOV [auth_nologintitle,auth_nologin],[pluginname,auth_nologin]
 MOV [auth_nonetitle,auth_none],[pluginname,auth_none]
 MOV [auth_pamtitle,auth_pam],[pluginname,auth_pam]
 MOV [auth_pop3title,auth_pop3],[pluginname,auth_pop3]
 MOV [auth_radiustitle,auth_radius],[pluginname,auth_radius]
 MOV [auth_shibbolethtitle,auth_shibboleth],[pluginname,auth_shibboleth]
 MOV [auth_webservicetitle,auth_webservice],[pluginname,auth_webservice]
AMOS END
2010-04-11 21:31:36 +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
Petr Skoda
61bb07c257 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [alphabet,core],[alphabet,core_langconfig]
AMOS END
2010-04-10 17:30:00 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
Petr Skoda
98da60215e MDL-22033 groupings now enabled unconditionally, groupmembersonly kept as experimental - this simplifies groups code logic a bit, user interface changes should not be significant because the groupings are not visible much until at least one created; hopefully the new description of groupmembersonly will have to preventsome gradebook complaints 2010-04-07 07:37:12 +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
jerome mouneyrac
610a447ebe web service MDL-13126 little change into create user description (it was not correct and also breaking a test into the external function). 2010-03-31 09:25:59 +00:00
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Sam Hemelryk
90723839ca themes MDL-21862 Implements base theme and standard theme.
Very big theme changes, standardold theme has been split into two themes base and standard. Base theme contains only CSS that is absolutly required (e.g. layout, white space rules, specific widths) and standard (which now looks like standardwhite) contains all the frills.
The following noteable changes have also been made:
  * Plugin CSS has been pushed back into the plugin directories as styles.css files.
  * Install_print_header has been corrected.
  * Redundant or deprecated rules have been removed.
  * Several minor class changes throughout Moodle.
  * CSS is now single line rules not multiline indented.
  * Installs with theme=standardold automatically switch to standard.
  * body classes / id now have prefixes to make it clearer what they are and avoid conflicts.
Also worth noting:
  * There is still alot of tweaking that is required to get everything looking as it is supposed to, please be patient or better yet help out.
  * I am currently working on the documentation for the themes system... it will be here soon.
2010-03-25 06:38:21 +00:00
jerome mouneyrac
bd0f26bd05 user library MDL-21899 fix password not hashed 2010-03-24 03:02:17 +00:00
Sam Hemelryk
456e4852c6 user-selector MDL-21537 Refactored JS to make use of YUI3
*  YUI3 used instead of YUI2, converted all YUI2 components to YUI3 equivalents.
 * Renamed user/selector/script.js to module.js
 * Converted uses of the the user selector to YUI3 + the new events
2010-03-23 07:38:32 +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
Petr Skoda
deaa8a19d8 MDL-21859 fixed sesskey protection on email actions 2010-03-18 22:54:17 +00:00
Petr Skoda
871e5728e2 MDL-21830 Prevent users from viewing names of all other site users - only teachers with role assign see the full name of not enrolled users when trying to access the profile 2010-03-18 22:15:41 +00:00
Petr Skoda
01a2ce80ec MDL-21710, MDL-21711 new permissions evaluation and overriding UI 2010-03-07 09:28:54 +00:00
Petr Skoda
822eccef12 MDL-14632 regression fix - readding user tabs that were removed without any replacement 2010-02-28 15:47:47 +00:00
Petr Skoda
b3763bf6a7 fixed regression - readding user edit tabs, those are really necessary :-D 2010-02-27 23:05:17 +00:00
Petr Skoda
26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
Petr Skoda
8cea545e0b MDL-20204 started refactoring of html_table + more cleanup 2010-02-17 19:33:24 +00:00
Petr Skoda
929d7a8362 MDL-20204 converted paging_bar to new coding style + fixed regressions from recent commits 2010-02-17 16:59:41 +00:00
Sam Hemelryk
5e8c5b20f9 user MDL-20204 Regression, fixed link to JS file that has been removed 2010-02-17 03:49:20 +00:00