Commit Graph

321 Commits

Author SHA1 Message Date
Andrew Davis 223e753520 MDL-20245 grade: increased the size of the user_preferences value column and added php validation of the data going into that column
Conflicts:

	lib/db/upgrade.php
	version.php
2011-12-21 12:23:50 +01:00
Eloy Lafuente (stronk7) df17785210 fix permissions 2011-11-22 01:51:06 +01:00
Aparup Banerjee 3a59d04c65 MDL-30268 Web service : resolved version number conflict 2011-11-21 14:47:23 +08:00
Jerome Mouneyrac af03513f93 MDL-30268 add 'Can download files' field to service 2011-11-16 11:51:03 +08:00
David Mudrak 71ab436aa9 MDL-29108 Advanced grading - renaming DB fields formid to definitionid
As a response to Sam's review (7.1 and 7.3)
2011-11-13 14:03:38 +01:00
David Mudrak 3f3ee7114e MDL-29794 Do not offer re-sharing of unmodified forms
The patch introduces a new field 'timecopied' that holds the timestamp
of when the given form was cloned last time. Using this field, we can
decide whether the form can be actually re-shared or not.

Note that the logic just hides the icon. It is meant as a usability
feature, not any real protection from sharing.
2011-11-01 16:10:12 +01:00
David Mudrak 998085c9f7 Dropping the uq_rater_per_item from the table grading_instances
It was realized that we may need multiple instances per one rater/item
to be able to 1) implement a draft instance and 2) eventually keep the
history of advanced grading.
2011-10-16 19:40:34 +02:00
David Mudrak 20c207ab21 Merge branch 'master' into rubric
Conflicts:
	lib/db/upgrade.php
2011-10-13 22:42:47 +02:00
Andrew Robert Nicols 83cd9b163a MDL-20306 Add course_category idnumber field 2011-10-10 23:54:30 +02:00
David Mudrak b7a6bb9ba8 MDL-29480 Adding new fields into grading_definitions 2011-10-07 22:43:02 +02:00
David Mudrak e8004aadc8 Merge remote branch 'origin/master' into rubric
Conflicts:
	lib/db/install.xml
	lib/db/upgrade.php
	version.php
2011-10-07 22:01:38 +02:00
Eloy Lafuente (stronk7) 943c662d62 fix permissions 2011-10-07 00:07:15 +02:00
David Mudrak afc766a238 MDL-29480 Allow null values for format fields
When inserting a record without the associated text, it does not make
sense to force format to be set. And using any hard-coded default is
tricky.
2011-10-05 18:29:21 +02:00
David Mudrak 3da9e0a3cb MDL-29480 Database tables for the new advanced grading subsystem 2011-09-29 18:36:00 +02:00
Andrew Davis (andyjdavis) 70e61f7071 MDL-29089 gradebook: added missing columns to the history tables 2011-09-29 09:53:18 +08:00
Sam Hemelryk 89eda3eeaf MDL-29185 backup: Removed backup_log table and fixed the backup admin report 2011-09-16 15:51:23 +12:00
Sam Hemelryk efd9c8e5b6 MDl-29189 course Increased the shortname field length so that it is more usable now that it is consistently formatted 2011-09-09 14:47:37 +12:00
sam marshall 8c40662e22 MDL-27001 'Show description' feature part 1: infrastructure that allows modules to support feature
The 'Show description' feature is about optionally including module description on the course page. This change include the necessary infrastructure - new database field, new FEATURE constant, changes to forms to display it, new language strings for it, backup and restore, and old course conversion. (I found the places to change by searching for an existing field in course_modules).

Documentation for the field is included in install.xml and in modinfolib.
2011-09-06 11:03:00 +01:00
Petr Skoda 925c5efd3e MDL-29031 drop unused block tables 2011-08-21 17:56:06 +02:00
sam marshall a854bca3cf MDL-28021 Completion system can create inconsistent database rows
This change includes:

(1) update deletes older versions of inconsistent rows
(2) update drops one index and replaces it with a new unique index
(3) fixed to ensure that when it decides whether to insert or update
    it uses current database state and not cached info
(4) unit tests updated to test #3

Conflicts:

	lib/db/upgrade.php
	version.php
2011-06-27 15:25:13 +02:00
Eloy Lafuente (stronk7) f4fd96a848 MDL-28032 database - finally question->defaultmark goes signed. Changing prev commit. 2011-06-27 11:37:34 +02:00
Tim Hunt 2fa66bdf71 MDL-27929 question_attempts.minfraction should be signed! 2011-06-22 18:48:05 +01:00
Sam Hemelryk 96e0194c05 Merged branch 'MLD-27551' of git://github.com/mouneyrac/moodle.git with changes 2011-06-08 17:34:17 +08:00
Jerome Mouneyrac c1b658832d MDL-27551 add enable mobile feature (enable web services + mobile service - add mobile builtin service - add unique shortname for service) 2011-06-08 15:10:26 +08:00
Sam Hemelryk 9186cb7e98 Merged branch 'ou-messaging-release' of git://git.luns.net.uk/moodle with conflict resolution for MDL-27171 2011-06-08 11:07:22 +08:00
Eloy Lafuente (stronk7) cdda538128 MDL-20636 changes to core & questions DB layer 2011-06-06 17:16:28 +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
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
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 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
jeromemoodle c73f196391 MDL-26179 implement the new 5 registration use cases 2011-02-15 10:24:32 +01:00
Petr Skoda bb8b29715a MDL-26219 fix borked upgrade logging and add new fileversion column 2011-02-07 20:00:20 +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
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
Sam Hemelryk ffec817ed3 lib-db MDL-25789 Corrected discrepancies in old upgrade code and install.xml 2011-01-14 15:36:59 +08:00
Eloy Lafuente (stronk7) 6af80cae01 MDL-24600 profiling - add xhprof integration 2010-12-20 21:41:45 +01:00
Andrew Davis 14a0e7ddff message MDL-24771 another big commit of messaging fixes 2010-10-26 08:00:29 +00:00
Aparup Banerjee 39e171ac93 assignment MDL-24694
- added message provider to manage assignment's messaging
- user_preferences.name length changed form 50 to 255 due to long messaging preference names.
2010-10-26 06:46:01 +00:00
Andrew Davis a813a74843 message MDL-24771 a big commit that fixes a whole bunch of small issues with messaging 2010-10-25 09:29:34 +00:00
Andrew Davis d3dbcf5b58 gradebook MDL-24721 new installs of Moodle 2.0 were missing the hidden column from grade_categories 2010-10-19 07:17:45 +00:00
Sam Hemelryk 7f38a28d41 lib-db-upgrade MDL-24490 user description now big text 2010-10-03 09:42:19 +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 565adcaa66 MDL-24211 fixing my previous sloppy commit 2010-09-15 16:02:14 +00:00
Petr Skoda 650462dfac MDL-24211 events subsystem cleanup and improvements
* handlers can be defined as internal or external
* external handlers are not called instantly when inside DB transaction
* code cleanup
* more robust detection of broken handlers
* refixed unit tests
* removing all pending events from 1.9 - these can not be processed due to encoding changes
* finally using real 'component' in handlers table
2010-09-15 15:55:18 +00:00
jerome mouneyrac 56c6138029 community hub MDL-24215 change the site secret key for get_site_identifier in the registration process => increase the DB field size + change the confirmation form to the get_site_identifier TEXT format 2010-09-15 08:50:32 +00:00
Dongsheng Cai fe6ce23489 MDL-16094 File storage conversion Quiz and Questions 2010-08-10 09:56:48 +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
Eloy Lafuente 6c4a3a8c1e MDL-22179 backup - speed up decoder access by adding new index 2010-07-27 15:16:31 +00:00