Commit graph

610 commits

Author SHA1 Message Date
Petr Skoda
adf176d711 MDL-22479 removed all get_admin calls from upgrade script, fixed regessions in get_users_from_config() and reimplemented admin support in admin_setting_users_with_capability(), switch non-unique usernames in admin settings to user ids and upgraded existing settings + some more validation 2010-05-18 16:59:08 +00:00
David Mudrak
3fa37159d7 MDL-21695 Admin setting descriptions are expected in Markdown syntax now
This is backwards compatible as the strings actually do not use
formatting at all. Using Markdown syntax allows us to use the same
string as we use for help.
2010-05-17 21:08:57 +00:00
Martin Dougiamas
aaf133838c old admin blocks MDL-22475 Goodbye admin and admin_tree. You were good to us. But now we have Settings. 2010-05-16 16:19:27 +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
8299b0c549 completion MDL-2631 make completion blocks standard 2010-05-01 07:12:57 +00:00
jerome mouneyrac
07ab0c80ec hub MDL-19309 new site registration form + course publication + community block 2010-05-01 05:05:55 +00:00
Martin Dougiamas
7969834463 admin/repository MDL-15402 Checking in code from Mark Nelson @ Pukunui.com.au. Thanks, Mark and Shane! This patch updates the repository admin interface to look more like Filters management 2010-04-30 08:03:32 +00:00
Sam Hemelryk
14aac1737e navigation MDL-22044 Fixed alphabetical order of blocks 2010-04-20 02:03:39 +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
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
Sam Hemelryk
c14c08dec3 admin MDL-22048 Reverted yesterdays change and implemented better solution in adminlib 2010-04-13 07:28:24 +00:00
Petr Skoda
bac6e62eba MDL-22054 starting to switch blocks to pluginname 2010-04-11 10:09:59 +00:00
Petr Skoda
fe9d7318b5 MDL-22054 fixed missing strings and some really annoying redirects 2010-04-11 09:41:25 +00:00
Petr Skoda
5fd8ea0e9d MDL-22054 fixed string identifier typo 2010-04-11 09:29:07 +00:00
Petr Skoda
49503e5a41 MDL-22054 turning on detection of missing strings + hunting them down 2010-04-11 09:21:18 +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
Dongsheng Cai
ba74f517e6 MDL-21146, default license will be locked to prevent from disable, move site default license from frontpage to license config page 2010-04-09 19:40:23 +00:00
Petr Skoda
846e4e177e MDL-16438 separating subplugin detection from the plugin_supports code because it was running into infinite loops in get_string() which is often incorrectly used in lib.php files, but the get_string() itself needs to know about subplugins 2010-04-04 19:58:03 +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
Dongsheng Cai
d1d4813ff2 "MDL-21146, improve file license code" 2010-03-31 03:08:05 +00:00
Dongsheng Cai
1dce6261b7 "MDL-21146, adding file license support to repository api, first commit" 2010-03-29 03:39:08 +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
Dongsheng Cai
7a856a9330 "MDL-16639, enable spellchecker plugin, and added config pages" 2010-03-23 08:47:05 +00:00
Petr Skoda
b975126adb DL-21021 marking private_files block as standard plugin 2010-03-21 10:25:15 +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
01a2ce80ec MDL-21710, MDL-21711 new permissions evaluation and overriding UI 2010-03-07 09:28:54 +00:00
Petr Skoda
db785816ad MDL-20204 finally deprecated admin_externalpage_print_header() 2010-02-27 22:45:29 +00:00
jerome mouneyrac
1bd06507df webservice MDL-21351
Manage token page: user should be linked to their user profil
Security keys page: display token created by administrator
Manage service page: rewording :
Authorised user only => user
2010-02-12 04:14:26 +00:00
Petr Skoda
427649bfdf MDL-21392 it is possible to have settings without Save button 2010-02-08 16:26:15 +00:00
jerome mouneyrac
f05d219353 webservice MDL-21351 fix some wording in the overview and some links 2010-02-04 07:06:27 +00:00
Martin Dougiamas
ce8f4155fa admin/webservices MDL-12886 Fixed a hard-coded string 2010-02-02 02:45:32 +00:00
jerome mouneyrac
f54dfa54b7 webservice MDL-21466 add few comments about test client 2010-01-29 03:50:06 +00:00
jerome mouneyrac
c05877e6be webservice MDL-21351 add IP Restriction field to the token list (otherwise no way to see it for the admin) 2010-01-25 02:43:23 +00:00
jerome mouneyrac
3e6161fb1c webservice MDL-21351 add an overview page to facilitate the web service administration 2010-01-22 02:04:12 +00:00
jerome mouneyrac
3f77607874 administration MDL-21351 revert changes 2010-01-20 10:16:41 +00:00
jerome mouneyrac
721312bd2c administration MDL-21392 add hidesavebutton() for admin_settingpage class 2010-01-20 09:58:17 +00:00
Petr Skoda
9fcb81adae MDL-21386 readding require_login() which I accidentally removed during one previous cleanup, sorry 2010-01-20 08:41:07 +00:00
jerome mouneyrac
115ea17e46 webservice MDL-21351 manage token page: remove additional title, manage service page: move left link at the left 2010-01-19 10:07:26 +00:00
jerome mouneyrac
b24b55eb24 webservice MDL-21351 trivial text changes on the admin Manage protocol page 2010-01-19 08:36:16 +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
David Mudrak
4916f37f52 workshop added to the whitelist of standard modules 2010-01-14 11:30:10 +00:00
Petr Skoda
1a887a5eef fixed pgsql compatibility issue caused by aliases with reserved words 2010-01-14 08:37:53 +00:00
jerome mouneyrac
2e74c15aa6 webservice MDL-20805 add token authentication method to test client (+ use token constant) - forgot a file 2010-01-13 10:15:58 +00:00
jerome mouneyrac
15e417fe1f webservice MDL-20805 added token creation page 2010-01-11 08:23:39 +00:00
jerome mouneyrac
5ae9f53976 webservice MDL-20805 add admin token page. To do: create and delete operation + context support 2010-01-06 09:33:05 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
Petr Skoda
1ba862ec6e MDL-21198 going back to the original spacer syntax, image component improvements, plus some regression fixes 2009-12-27 23:31:46 +00:00
jerome mouneyrac
6b36958872 webservice MDL-12886 do not display the web service core if no service available 2009-12-21 06:11:50 +00:00