Commit Graph

77 Commits

Author SHA1 Message Date
Petr Skoda f6f06d6919 MDL-22878 fixed incorrect install flag name, patch by John Beedell 2010-10-26 14:37:23 +00:00
Petr Skoda 41209c1e0f MDL-24751 upgrades may need more memory 2010-10-19 10:17:48 +00:00
Petr Skoda 6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Petr Skoda 365a594107 MDL-24321 switching to stdClass in /lib/ 2010-09-21 08:07:44 +00:00
Petr Skoda f7e17018f9 MDL-24302 removing multiple field from block table in install.xml - it was already removed in upgrade once 2010-09-20 19:13:07 +00:00
Petr Skoda 17b7171655 initialised variables 2010-09-17 08:15:17 +00:00
Petr Skoda 96e1fdf426 missing global preventing full debug during upgrade as was planned 2010-09-17 08:14:29 +00:00
Petr Skoda ef14c1e724 MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins 2010-09-05 20:36:18 +00:00
Petr Skoda d32fb55027 MDL-24090 fixed package info and added proper dates and authors in class copyrights 2010-09-05 20:15:41 +00:00
Petr Skoda c6d75bffa5 MDL-23628 improved log action support - now similar to handling of capabilities 2010-08-03 10:07:18 +00:00
David Mudrak 63891a7cae MDL-23200 Upgrade does not download uninstalled lang pack even if it remains set in admin's SESSION 2010-07-29 09:38:08 +00:00
Petr Skoda 78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +00:00
jerome mouneyrac 72f68b51e6 webservice MDL-23341 add required capabilities to the service function declaration (lib/services.php), display missing capaibilities for users linked to a token and for authorised users, display function capabilities, refactor service add function page 2010-07-23 06:17:06 +00:00
David Mudrak d5bd0b0169 MDL-22787 MNet: implementation of enrol_mnet server-side service methods 2010-07-17 22:29:28 +00:00
Petr Skoda f87eab7e71 MDL-23167 basic "purge all caches" button 2010-07-13 15:09:44 +00:00
Petr Skoda 63bfc7d6c0 resetting more filters in each upgrade 2010-07-06 17:20:43 +00:00
Petr Skoda 2e5eba8560 MDL-19776 make sure contexts are fully initialised after each core upgrade, it is relatively cheap, so it should not cause any problems 2010-07-06 17:14:36 +00:00
Petr Skoda 8571833f0b MDL-23069 moving version and cron info into standard version.php - finally, yay! 2010-07-04 12:18:22 +00:00
Petr Skoda df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Martin Dougiamas dcf9be7f56 MDL-22622 Reset caches before and after the core upgrade. Seems to fix the problems we were having. 2010-05-31 05:34:16 +00:00
David Mudrak af8d4d9128 MDL-18797 current language pack updated during upgrade
Also fixes langimport.php to use the new function to get parent language
of a given language.
2010-05-26 00:29:33 +00:00
Petr Skoda b921b6eeba some comment typos 2010-05-22 20:24:28 +00:00
David Mudrak 9b3af74c35 MDL-22015 clear string_manager caches on upgrade 2010-05-16 19:37:19 +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 f46eba7e7d MDL-19917 it is now possible to recover installation when it stops on some blocks trouble 2010-04-06 19:52:45 +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
Petr Skoda 81634f036d MDL-21993 somebody needs to fix the chicken-egg mnet problem during install/upgrade 2010-03-30 19:51:34 +00:00
Andrew Davis 67e4713ca7 rating MDL-21657 changes based on Petr's feedback 2010-03-22 02:59:06 +00:00
Andrew Davis d2086d65db rating MDL-21657 shifted upgrade_module_ratings() 2010-03-19 08:54:20 +00:00
Penny Leach 677b6321af mnet MDL-21098 fixed quite a few issues in the mnet installer and testclient. Rebumped all plugin versions that use mnet to get the services reinstalled 2010-02-18 04:55:34 +00:00
Petr Skoda 0139ec3fe6 MDL-21400 finally, gzip for JS files and proper caching - without admin UI for now (off by default) 2010-02-07 12:50:53 +00:00
Penny Leach c71ade2f41 mnet MDL-21261 moving upgrade functions to lib/upgrade.php 2010-02-02 21:16:56 +00:00
Penny Leach de260e0f7b mnet MDL-21261 large overhaul. This commit changes:
- The way that mnet rpc functions are registered.  Plugins must now
  create db/mnet.php which is an array, similar to services.php.  This
  *replaces* the old mnet_publishes() functions.  version.php must be
  bumped to trigger this.

- More information about each rpc-available function is stored in the
  database, including the class it belongs to, the file it is found in,
  and whether or not it is static.  Methods that are not static must be
  in a class with a constructor that takes no arguments (this can easily
  be achieved with a small wrapper if necessary)

- The xmlrpc dispatcher has been rewritten to remove all the
  dependencies on hardcoded information about auth,mnet,portfolio and
  repository, and just use the information in the database.

- The old hardcoded hidden mnet/testclient.php has been moved to the
  Admin menu under "Development" and rewritten.

- The xmlrpc introspection method profiling is now using php and zend
  reflection - which is a lot nicer than the old way, which was using a
  php-based php parser.  This fixes some inconsistent handling of
  methods without arguments that were advertising their return value as
  the only method parameter.  While this is a *fix*, it breaks BC
  slightly - the old 1.9 broken mnet/testclient.php will now not work
  properly with 2.0

- Dangerous mode is still supported, but old mod/*/rpclib.php is
  now unsupported, due to the fact that any plugin can export mnet
  functions with db/mnet.php.  This is a slight BC break.

Still TODO:

- TEST TEST TEST
- Document the two small BC breaks in release notes
- Document the contract for db/mnet.php
2010-01-28 05:25:50 +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 9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Petr Skoda 23fd6f83df MDL-21243 added theme reset after any core or plugin upgrade - continued 2010-01-05 22:04:31 +00:00
Petr Skoda db4e1a3c70 MDL-21243 added theme reset after any core or plugin upgrade 2010-01-05 22:03:21 +00:00
Petr Skoda b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +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
Petr Skoda e5180580c8 MDL-17135 fixed fatal installation and ugprade error 2009-11-08 22:12:36 +00:00
Petr Skoda a56c457e52 MDL-20699 more abstraction in default exception handler 2009-11-01 10:00:30 +00:00
Petr Skoda c19bc39c00 MDL-20676 refactoring and cleanup in default exception handler 2009-10-31 13:52:39 +00:00
skodak c976e271c5 MDL-20274 upgrade and install support for db/services.php 2009-09-13 21:26:51 +00:00
samhemelryk de6d81e667 admin MDL-19799 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-03 06:59:25 +00:00
nicolasconnault aa9a686740 MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:20:12 +00:00
skodak 9b683d130a MDL-20015 a way to recover from problems in db/install.php 2009-08-06 19:59:16 +00:00
skodak 45440ceb61 fixed wrong error string 2009-08-06 18:20:08 +00:00
nicolasconnault 7e0d66753e MDL-19799 Converted all print_footer() calls 2009-08-06 14:21:34 +00:00
nicolasconnault 3c15938527 MDL-19799 Migrated calls to print_heading 2009-08-06 08:19:21 +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