131 Commits

Author SHA1 Message Date
Petr Škoda
7a18f49c60 MDL-37726 remove PREVIOUS/NEXT from all install.xml files
YAY!
2013-01-29 22:34:46 +01:00
Eloy Lafuente (stronk7)
6b9dfe731e MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
Rossiani Wijaya
df70d008f7 MDL-31987 Assignment module: fixed upgrade version 2012-07-02 14:46:43 +08:00
Dan Poltawski
74fc24a916 MDL-31987 Assignment module: fix sql for postgres. 2012-07-02 14:45:46 +08:00
Rossiani Wijaya
b8ba23ca23 MDL-31987 Assignment module: Assignment count submissions correctly.
For advanced upload assignment, store file count of each submission
into assignment_submissions.numfiles

When counting submissions, if the assignment is open and tracking
drafts, only submissions which has send for marking are counted.
Otherwise, submissions which has numfiles > 0 are counted.

Also change a hardcoded 'submitted' to ASSIGNMENT_STATUS_SUBMITTED.

This patch was originally written by: Sunner Sun <sunner@gmail.com>.

I made some modifation to fixed count_real_submissions() query (ref: MDL-32207) in /mod/assignment/type/upload/assignment.class.php file
2012-07-02 14:26:45 +08:00
Aparup Banerjee
99c3c503e0 MDL-34096 Installation : Added 2.3 upgrade line to db upgrade scripts. 2012-06-29 11:41:09 +08:00
Damyon Wiese
bbd0e548c3 MDL-31270 mod_assign: introducing the assignment module
* Includes an assignment upgrade tool to convert from the old mod_assignment.
* Hides mod_assignment on new installs
2012-05-03 14:44:06 +08:00
Tim Hunt
88eca3cd26 MDL-19125 module restrictions: addinstance capabilities for all mods 2012-03-15 17:13:43 +00:00
Petr Skoda
bb88a54d06 MDL-31985 remove text sizes from all install.xml files 2012-03-11 15:55:37 +01:00
Petr Skoda
c3dd6b01fe MDL-27982 drop UNSIGNED attributes from all install.xml files 2012-03-06 12:01:10 +01:00
Eloy Lafuente (stronk7)
eaf7533fc1 Merge branch 'wip-MDL-30985-m23' of git://github.com/samhemelryk/moodle 2012-03-01 01:07:33 +01:00
Petr Skoda
e67bc2a410 MDL-30964 fix phpdocs in access.php files in all plugins 2012-02-27 07:23:10 +01:00
Sam Hemelryk
1d1719f5dd MDL-30985 Fixed up event API phpdocs 2012-02-27 14:34:06 +13:00
Ankit Kumar Agarwal
04252d3a13 MDL-30975 Docs Adding correct pacakge information 2012-02-13 11:06:47 +05:30
Petr Skoda
40e4cd435b MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
Aparup Banerjee
46f2a9366a MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 01:28:59 +01:00
Aparup Banerjee
c5a8abfedd MDL-28169 Installation Added 2.1 upgrade (idiot proof) lines to upgrade scripts. 2011-07-07 11:40:38 +08:00
Eloy Lafuente (stronk7)
6b1b1d0339 MDL-25708 recordsets - assignment and data modules 2011-01-25 19:59:00 +01: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
Petr Skoda
c6d75bffa5 MDL-23628 improved log action support - now similar to handling of capabilities 2010-08-03 10:07:18 +00:00
Petr Skoda
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
Petr Skoda
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
Petr Skoda
400475947a MDL-22609 fixed regression in my previous commit, sorry 2010-07-02 10:04:30 +00:00
Petr Skoda
8cf8f2b743 MDL-22609 undoing directory variables magic from last commit, keeping just the userid-->submissionid itemid change 2010-07-02 10:00:00 +00:00
Martin Dougiamas
d992f53d8c mod/assignment MDL-22609 Checking in Aparup's patch fixing the file upgrade (itemid now is submission->id, not user->id). Also fixed some buggy uses of $OUTPUT->notification in uploadsingle->upload() (redirect works better) 2010-07-01 09:41:06 +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
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Dan Marsden
30b5ee6b06 Plagiarism Lib MDL-13680 - reverting commit for now. 2010-04-28 02:47:25 +00:00
Dan Marsden
cc3b3fae5d Plagiarism Lib MDL-13680 - add Plagiarism lib support for modules. - initially including the assignment module and Turnitin service - Backup deliberately excluded at this stage and I expect some of the file handling to change slightly before 2.0 release. 2010-04-27 21:52:07 +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
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
0ac940b3bf MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported 2009-11-04 19:24:12 +00:00
Petr Skoda
e7521559ed MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 13:17:47 +00:00
nicolasconnault
3a003eadbb MDL-19803 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:01:20 +00:00
stronk7
74c288a100 MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
stronk7
2a88f626f7 MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts. 2009-05-01 01:19:16 +00:00
skodak
63b0256797 MDL-18910 normalised module intro and introformat 2009-04-20 18:51:37 +00:00
skodak
c119057ae0 MDL-18910 normalised module intro and introformat 2009-04-20 18:28:49 +00:00
skodak
0cb93a7e45 MDL-17427 another round of refactoring of upgrade related functions - this should be final now I hope ;-) 2009-01-29 19:58:47 +00:00
skodak
9c82ff2acd MDL-17457 migrated all modules to new db/install.php; added upgrade.txt file for devs converting contrib modules 2009-01-12 21:13:28 +00:00
skodak
1045a0074c MDL-17849 sql queries not printed by default during upgrade anymore, there is a new config.php only setting $CFG->upgradeshowsql instead 2009-01-12 16:52:53 +00:00
skodak
6b04ddc500 MDL-16075, MDL-16072, MDL-15094 fixing last commit, missed version bumps in upgrade.php 2008-08-18 22:36:33 +00:00
skodak
f7f71f83ba MDL-15904 fixed pg problem 2008-08-18 22:26:38 +00:00
skodak
26a9dc726b whitespace fix 2008-08-16 19:49:23 +00:00
skodak
71a5dbd770 MDL-15904 incorrect use of count sql fixed 2008-08-16 19:12:25 +00:00
skodak
930f2962af MDL-15904 simplified moddata cleanup 2008-08-16 18:24:03 +00:00
skodak
591e205fb6 MDL-15904 oops - fixed assignment upgrade migration 2008-08-16 18:13:38 +00:00
skodak
18e353b049 comment typo 2008-08-16 13:59:23 +00:00
skodak
b91807e30a MDL-15904 fixed problem in interrupted assignment file migration 2008-08-16 13:32:37 +00:00