Commit graph

1409 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
1db15c2718 MDL-20636 changes to core & questions upgrade code
Changes include:

    - fixing versions and requires to current weekly (2011060313)
    - fix essay wrong upgrade step. Review & test!
    - fix numerical missing savepoint.
2011-06-06 17:16:11 +01:00
Tim Hunt
54771d89d1 Merge remote-tracking branch 'moodle/master' into MDL-20636_master_new_question_engine
Conflicts:
	lib/db/upgrade.php
	mod/quiz/lib.php
2011-06-06 17:14:59 +01:00
Eloy Lafuente (stronk7)
4561302dec MDL-20636 Prepare stuff for cleaner merging 2011-06-06 16:38:23 +01:00
Ruslan Kabalin
d004c4b20a MDL-27171 messages: fix bug in upgrade_populate_default_messaging_prefs
isset check assumed that $defaultpreferences is the object

Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-06-01 12:30:28 +01:00
Ruslan Kabalin
e8fc7940a8 MDL-27171 messages: $defaultpreferences is an object, use isset instead.
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-31 09:46:22 +01:00
Sam Hemelryk
e5824bb9c6 MDL-25394 Tidied up several things in order to get this integrated 2011-05-31 14:28:03 +08:00
Anthony Forth
37959dd471 MDL-25394 Improved support for mobile and device themes 2011-05-31 14:25:52 +08:00
Ruslan Kabalin
7a04c476a2 MDL-27171 messages: implement new syntax in messages.php and update processing
The new messaging default settings can be set in messages.php and deployed
during installation. This also ensures the removing of settings on plugin
uninstallation and contains the update script to populate current default
settings on the existing system when the new feature is introduced.

For security reason we have to avoid using library functions in upgrade
function, so we set defaults the blind way. At this point we do not expect
plugins to have individual messaging defaults presets anyway. The site
defaults are the same as were set for each user using
message_set_default_message_preferences function.

Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-05-27 14:06:56 +01:00
Ruslan Kabalin
75c34c23a4 MDL-27171 messages: add message outputs management interface page
This introduces the page for management message outputs (processors) where
admin may enable/disable them and jump to configuration pages.
2011-05-27 13:49:28 +01:00
Tim Hunt
1da821bbde MDL-27649 support question variants as a first-class concept in the question engine. 2011-05-26 21:23:56 +01:00
Sam Hemelryk
2b04c41c58 MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes
* Added the component and ratingarea fields and implemented it throughout
  the rating API as mandatory fields
* Cleanup rating indexes
* Upgrade forum/data/glossary ratings
* Moved the logic in the render_rating method to methods of the rating object.
* Added new callback for checking ratingareas
* Cleaned comments here and there
* Mark the xxx_get_participants methods as deprecated
* Refactor rate_ajax and ratingsuser_can_view_aggregate methods
* Cleaned up rating/index.php to use html_table object and moved inline styles to CSS.
* Added missing properties of the rating object that were being set throughout the rating
  API.
2011-05-23 12:35:39 +02:00
Tim Hunt
ab6cb45b7b MDL-27408 fix question engine upgrade issues on MySQL. 2011-05-12 23:17:58 +01:00
Tim Hunt
bb28e3bc5e MDL-27408 Moved the question engine install/upgrade code into the proper place.
I have tested upgrade from the previous development version, and a clean install. Upgrade from 2.0 still needs more work.
2011-05-12 18:58:50 +01:00
Petr Skoda
3364dbb5a4 MDL-26249 external enrol functions: get list of courses user is enrolled in 2011-04-25 10:53:29 +02:00
Aparup Banerjee
eb183fe469 MDL-26580 adding precautionary upgrade_set_timeout() calls to some loops which may timeout in very edge cases 2011-04-19 17:52:35 +08:00
Aparup Banerjee
f5fa4c0e02 MDL-26580 adding some upgrade_set_timeout() calls to 2010080901 upgrade block, upgrades on questions were timing out 2011-04-19 17:38:54 +08:00
Petr Skoda
cf717dc26b MDL-27148 use new get_in_or_equal() param prefix instead of start 2011-04-14 15:15:01 +02:00
Eloy Lafuente (stronk7)
63d6da51fe Merge branch 'w13_MDL-26913_20_sitecreated' of git://github.com/skodak/moodle 2011-03-28 19:58:49 +02:00
Petr Skoda
c4dd3bb86f MDL-26913 set timecreated in fortpage of a newly installed site 2011-03-27 18:22:11 +02:00
Jerome Mouneyrac
ac3e0b3c8c MDL-26335 fix capability name typo in the description of the web service function moodle_user_get_users_by_id 2011-03-23 11:35:46 +08:00
Petr Skoda
8bdb31ed54 MDL-26564 fix regressions and other problems in csv user upload
This patch fixes incorrect password creating, updating and resetting, updating of user fields, unsupported auth plugins are correctly identified, modification of mnethostid is prevented, fixed problem with email duplicates, new password is generated for users without email, etc. It also includes coding style improvements, more inline docs, future TODOs and license information.
2011-02-28 08:27:31 +01:00
jeromemoodle
c73f196391 MDL-26179 implement the new 5 registration use cases 2011-02-15 10:24:32 +01:00
Eloy Lafuente (stronk7)
0dd8cb88e9 Merge branch 'w07_MDL-23939_20_completeuser' of git://github.com/skodak/moodle 2011-02-14 17:10:29 +01:00
Aparup Banerjee
13801a49a2 MDL-23939 lazy load course_display with new course_get_display()
This change speeds up user login and makes the session smaller.
2011-02-12 22:45:17 +01:00
Petr Skoda
d21feffdd7 MDL-26352 ignore invalid course_meta entries during upgrade
This fixes upgrade problems when course_meta points to deleted course or somebody hacked the table contents manually.
2011-02-12 10:27:43 +01:00
Petr Skoda
bb8b29715a MDL-26219 fix borked upgrade logging and add new fileversion column 2011-02-07 20:00:20 +01:00
Petr Skoda
5a6094137d MDL-25942 fix another Oracle compatibility issue 2011-02-02 09:59:56 +01:00
Eloy Lafuente (stronk7)
e89a57dc10 Fixed conflicts & merge branch 'MDL-17201_index' of git://github.com/andyjdavis/moodle 2011-01-31 15:34:40 +01:00
Eloy Lafuente (stronk7)
9700d6835d Merge branch 'w05_MDL-26172_20_groupupgrade' of git://github.com/skodak/moodle 2011-01-31 15:17:33 +01:00
Petr Skoda
8afc38bd39 Merge branch 'MDL-25708' of git://github.com/stronk7/moodle 2011-01-31 14:21:53 +01:00
Eloy Lafuente (stronk7)
62d3738246 MDL-25942 upgrade - fix use of reserved word in binding 2011-01-30 19:59:13 +01:00
Petr Skoda
73af286bc8 MDL-26172 skip invalid group records during upgrade 2011-01-29 19:20:34 +01:00
Sam Hemelryk
ac36bda238 PULL-157, MDL-26116 Fixed merge conflicts 2011-01-25 12:18:05 +08:00
andyjdavis
0d92d04f2e profiles MDL-17201 added an index on the table user_info_data 2011-01-25 11:58:35 +08:00
Dongsheng Cai
b1db1b6e8a MDL-26116, added default value to tag_instance.tiuserid field 2011-01-25 11:24:03 +08:00
Eloy Lafuente (stronk7)
29650825ad PULL-99, MDL-25929 progresstrackedroles out. Fixed conflicts and whitespace 2011-01-24 11:55:57 +01:00
Eloy Lafuente (stronk7)
a81d26ac36 NOBUG: Fix whitespace 2011-01-24 11:43:59 +01:00
Eloy Lafuente (stronk7)
5a4a7b425b MDL-25708 recordsets - fix upgradelib and dml stuff 2011-01-25 19:59:00 +01:00
sam marshall
89b4ffe617 completion MDL-25929 Added upgrade change to remove unused setting 2011-01-18 12:55:58 +00:00
Petr Skoda
e565c9baf7 Merge branch 'MDL-25789' of git://github.com/samhemelryk/moodle 2011-01-17 21:22:43 +01:00
Petr Skoda
696a6ee12f Merge branch 'MDL-25790' of git://github.com/samhemelryk/moodle 2011-01-17 21:13:07 +01:00
Sam Hemelryk
6d02316093 lib-db MDL-25790 Added missing rating indexs on existing 2.0 sites 2011-01-14 16:19:12 +08:00
Sam Hemelryk
ffec817ed3 lib-db MDL-25789 Corrected discrepancies in old upgrade code and install.xml 2011-01-14 15:36:59 +08:00
Sam Hemelryk
15257dd181 lib-db MDL-25790 Added code to drop adodb_logsql if it exists 2011-01-14 15:26:48 +08:00
Sam Hemelryk
43c984578a lib-db MDL-25790 Fixed up version numbers now that 2.0.1 has been released 2011-01-14 14:22:46 +08:00
Sam Hemelryk
39f0ceb2cb lib-db MDL-25790 Added conditional checks around upgrade code so that it is only executed if needed. See MDL-25789 2011-01-14 11:52:52 +08:00
Sam Hemelryk
2bddef731a lib-db MDL-25790 Added upgrade code to fix database discrepancies between a fresh install and an upgrade 2011-01-14 11:52:52 +08:00
Sam Hemelryk
5dd7e903ff lib-db-access MDL-25672 editingteacher can no longer delete courses by default. 2011-01-14 10:23:37 +08:00
andyjdavis
a170818189 course MDL-25831 made course request notifications work 2011-01-04 13:35:08 +08:00
Eloy Lafuente (stronk7)
6af80cae01 MDL-24600 profiling - add xhprof integration 2010-12-20 21:41:45 +01:00