Commit Graph

440 Commits

Author SHA1 Message Date
Petr Skoda 23580ddacb MDL-27121 fix incorrect check_moodle_environment() version parameter
This prevents Moodle 2.0 from using environment info for 2.1 in the installer and CLI upgrade.
2011-04-09 17:42:53 +02:00
David Mudrak 1a4d6a5b60 MDL-26609 Display information about the current version during the upgrade
As Eloy Lafuente noticed in the tracker discussion, we display the
information about the current version in the browser window title but
not at the screen itself. The patch fixes that by displaying the
information in the page heading instead of the page title.

Eloy's original idea to put the information into the grey message box
would require a change of [upgradesure,core_admin] string because
unfortunately it does not expect $a as an object but as a plain string.
2011-03-04 05:59:08 +01:00
David Mudrak dc41abd808 MDL-26609 Provide a link to a docs page for more help with Moodle versions and their maturity
Thanks Martin Dougiamas for this suggestion.
2011-03-04 05:59:08 +01:00
David Mudrak 3d673fc474 MDL-26609 Admins are warned if they try to install or upgrade to unstable version
The commit introduces four new constants that can be used to declare a
maturity level of Moodle core and, in the future, of extension plugins.
If the administrator is about to install or upgrade Moodle to a version
that is not considered as production-ready yet, a warning is displayed
before any change in the database.
2011-03-04 05:59:08 +01:00
Petr Skoda cbad562eee MDL-25314 improved prevention of output buffering + detection of misconfigured servers
Scripts that do not want buffered output just define NO_OUTPUT_BUFFERING before including config.php.
The fileserving code now checks if the headers are already sent which detects misconfigured servers.
2010-11-19 03:40:43 +00:00
Andrew Davis d38755249d message MDL-25148 using method on $PAGE to allow or disallow popup notifications 2010-11-11 06:11:43 +00:00
Tim Hunt 3ed3e8d412 install/upgrade MDL-24840 prevent the messaging pop-up from appearing during install or upgrade
Thanks to Colin Chambers.
2010-10-25 10:47:16 +00:00
Sam Hemelryk 6d80fad4d4 NOBUG: Set a better pagelayout on admin/index.php 2010-10-12 01:18:01 +00:00
Petr Skoda ace65a10f7 MDL-24368 disable compression on admin index and cron pages 2010-09-28 08:44:42 +00:00
Petr Skoda 9384419a4f MDL-24368 prevent infinite loops when caching can not be disabled 2010-09-27 15:41:46 +00:00
Petr Skoda ebba16985c MDL-24277 fixed hidden error preventing proper redirects during install, yay! 2010-09-18 23:20:01 +00:00
Petr Skoda c8ae55e920 MDL-24277 allow changing of username during install 2010-09-18 22:54:46 +00:00
Petr Skoda d078f6d38e standardized PHPDocs package info 2010-09-06 11:29:21 +00:00
Petr Skoda 2361b7dd77 MDL-24089 minor coding style improvement 2010-09-05 19:44:24 +00:00
Petr Skoda 575f245fbc MDL-24089 confirm upgrade of plugins + replaced continue button with 'Upgrade' - this should tell admins when is the upgrade going to really start 2010-09-05 19:41:00 +00:00
Petr Skoda 80380bd79b MDL-24089 preventing any plugin upgrades if downgraded core detected; localising error message 2010-09-05 19:16:42 +00:00
Petr Skoda 66f3df179d MDL-22657 removing post from install confirmation that was breaking lang selection 2010-08-28 14:22:26 +00:00
Petr Skoda d35ece6cce MDL-23682 new MySQL engine diagnostics + InnoDB is now used instead of MyISAM in new installs if available + improved mysql transaction support 2010-08-18 16:47:00 +00:00
Martin Dougiamas ba6c97eeae MDL-23167 Upgraded "Purge caches" to a full admin page with a confirm button, and added a link to it in the footer for developers. 2010-07-18 07:17:01 +00:00
Petr Skoda f87eab7e71 MDL-23167 basic "purge all caches" button 2010-07-13 15:09:44 +00:00
David Mudrak 9047d80e86 MDL-21695 Cron warning help fixed 2010-06-28 14:37:03 +00:00
Petr Skoda 3b5ff37f24 MDL-22546 removing dirroot from the config.php - this should finally solve the symbolic links issues because we know 100% what should be in $CFG->dirroot once we get into lib/setup.php, it is being initialised there automatically instead + more robust handling of dataroot + simplified config-dist.php and installer; the $CFG->admin is now visible only if admin directory can not be found; please note the old config.php's are still going to work, if admins remove the dirroot they have to add the __FILE__ into require_once lib/setup.php at the end of old config 2010-05-21 17:32:15 +00:00
Martin Dougiamas 38786adbc1 Removed two old notifications from admin page 2010-05-01 14:45:17 +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 61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
David Mudrak 852a1f66cf MDL-20717 GPL version 3 at the Copyright notice during the installation
The new string 'gpl3' replaces the legacy string 'gpl'. Once we have
proper lang branching, 'gpl' string should be removed from 2.0/HEAD.
2010-01-25 09:40:05 +00:00
Petr Skoda 543f54d3e5 MDL-21401 eliminating last uses of WHEN_TOP_OF_BODY 2010-01-20 18:07:49 +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
Petr Skoda 8a13809318 MDL-21198 one more single_button + version bump to the new year (could not resit it) 2010-01-03 20:54:36 +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 78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Sam Hemelryk f21b95904a security MDL-18807 Fixed deprecated function in notification 2009-11-19 02:05:35 +00:00
Sam Hemelryk e019158c7d security MDL-18807 Changed language strings: Thanks for the new strings Helen 2009-11-18 09:55:03 +00:00
Petr Skoda 4c1ba3ffc7 MDL-18006 MDL-18807 MDL-20853 merging sam's changes from MOODLE_19_STABLE, going to fix some more problems in this new code soon 2009-11-17 16:11:25 +00:00
Nicolas Connault 1c7b8b934b MDL-19676 MDL-14408 MDL-8776 Blog improvements 2009-10-30 07:25:50 +00:00
samhemelryk 5227353623 admin MDL-19799 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-03 08:05:42 +00:00
samhemelryk 2ea0514603 admin MDL-19799 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-03 08:02:59 +00:00
samhemelryk 69d77c232a admin MDL-19787 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-03 05:11:33 +00:00
nicolasconnault 1f1aa44525 MDL-19756 Corrected an incorrect default text for the "cancel" button of a confirm dialog 2009-08-28 08:00:15 +00:00
nicolasconnault 414a4a91b1 MDL-19787 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:39:07 +00:00
nicolasconnault 8fbce1c8c8 MDL-19878 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:28:40 +00:00
nicolasconnault 20486a5a21 MDL-19787 Converted print_box* to $OUTPUT->box* 2009-08-10 04:53:22 +00:00
nicolasconnault 73d6f52f6a MDL-19787 Converted all print_footer() calls 2009-08-06 14:12:46 +00:00
nicolasconnault 2fff8846f2 MDL-19787 Migrated calls to print_heading 2009-08-06 08:17:12 +00:00
nicolasconnault a85975848b MDL-19787 Changed Yes button to using GET instead of POST 2009-08-03 07:15:21 +00:00
nicolasconnault 74623e0a3a MDL-19756 Improved API of OUTPUT->confirm() 2009-07-30 06:09:45 +00:00
nicolasconnault 816086f1b8 MDL-19787 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:36:32 +00:00
tjhunt ee73b1ffc2 admin: MDL-19787 $PAGE->set_url on admin/index.php 2009-07-28 04:00:33 +00:00
tjhunt 45c6de041b Remove unnecessary 'none' passed to footer. 2009-07-10 05:37:36 +00:00
tjhunt d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00