Commit graph

872 commits

Author SHA1 Message Date
Andrew Davis
a7409db46a filters MDL-23456 added filtering for when adding a database activity entry 2010-07-23 03:50:11 +00:00
Martin Dougiamas
e822f07ba2 MDL-23475 Some cleanups to make adding/editing entries a bit smoother. Fixed buttons on Delete too. 2010-07-22 06:29:14 +00:00
Andrew Davis
43b92251be rss MDL-23391 made lib/rsslib.php more generic 2010-07-21 02:11:53 +00:00
aparup
cf353d880d Assignment MDL-23413 minor fix to checkbox field displaying to remove notice. (and to persist checks after submit) 2010-07-20 07:56:46 +00:00
Andrew Davis
274f98409a rss MDL-23391 refactored rss feeds to make them standard across components 2010-07-20 07:49:34 +00:00
Andrew Davis
690aa229c5 rss MDL-23391 committing refactored rss retrieval file 2010-07-20 03:47:20 +00:00
Jonathan Harker
e2ebb53e68 mod/data MDL-23284 use get_records instead.
Author: Jonathan Harker <jonathan@catalyst.net.nz>
2010-07-19 23:31:46 +00:00
Andrew Davis
aa60291e12 rss MDL-23391 alter the rss urls to be component names ie mod_forum instead of just module name ie forum 2010-07-19 10:57:52 +00:00
Jonathan Harker
c603457381 mod/data MDL-23284 fix database error that was chewing up HTML output.
Author: Jonathan Harker <jonathan@catalyst.net.nz>
2010-07-19 05:19:47 +00:00
Petr Skoda
d021c19450 MDL-23204 convert text to html in data intro 2010-07-16 09:06:28 +00:00
Andrew Davis
0074247f95 rating MDL-23187 added rating caps to those listed within activity cap check pages 2010-07-16 07:42:10 +00:00
Andrew Davis
55d95d90f9 rating MDL-23328 made date restriction of ratings work correctly 2010-07-16 06:30:30 +00:00
Petr Skoda
f728d49b00 MDL-19380 uploadlib cleanup before readding of antivirus integration 2010-07-14 08:40:48 +00:00
Petr Skoda
dbf9e4bae3 MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +00:00
Petr Skoda
50a8bd6c1d MDL-14589 file api cleanup 2010-07-11 13:30:33 +00:00
Petr Skoda
20e5da7d91 MDL-19211 back to the old text format preferences logic + minor refactoring and improvements 2010-07-10 12:12:59 +00:00
Petr Skoda
936a54ca05 MDL-23106 removing unused ratings upgrade code 2010-07-06 17:29:55 +00:00
Petr Skoda
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
Martin Dougiamas
9a5b90053b MDL-22056 Adding pluginname to activity modules to fix gradebook issues caused by MDL-23071 (keeping modulename for n)
AMOS BEGIN
 CPY [modulename,assignment],[pluginname,assignment]
 CPY [modulename,chat],[pluginname,chat]
 CPY [modulename,choice],[pluginname,choice]
 CPY [modulename,data],[pluginname,data]
 CPY [modulename,feedback],[pluginname,feedback]
 CPY [modulename,folder],[pluginname,folder]
 CPY [modulename,forum],[pluginname,forum]
 CPY [modulename,glossary],[pluginname,glossary]
 CPY [modulename,hotpot],[pluginname,hotpot]
 CPY [modulename,imscp],[pluginname,imscp]
 CPY [modulename,label],[pluginname,label]
 CPY [modulename,lesson],[pluginname,lesson]
 CPY [modulename,page],[pluginname,page]
 CPY [modulename,quiz],[pluginname,quiz]
 CPY [modulename,resource],[pluginname,resource]
 CPY [modulename,survey],[pluginname,survey]
 CPY [modulename,url],[pluginname,url]
 CPY [modulename,wiki],[pluginname,wiki]
 CPY [modulename,workshop],[pluginname,workshop]
AMOS END
2010-07-05 05:12:39 +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
Rossiani Wijaya
b08cff857a MDL-20509 - remove http:// prefix from input box.
Add http:// prefix if:
1) there is no :// in the string already, and
2) the string doesn't start with /
2010-06-30 07:52:26 +00:00
Dongsheng Cai
a7d4cb676d MDL-22980, move mod/data/field/*/icon.gif to mod/data/pix/field/*.gif 2010-06-29 07:20:51 +00:00
David Mudrak
096ec8d63d MDL-21695 Cleaning up legacy strings and help
Text of help pages Read carefully, Write carefully and Ask questions
moved to wiki by Helen. Text formatting help removed, to be
re-introduced properly in editors rewrite. Unused editorhelp form
element removed completely.
2010-06-27 21:34:01 +00:00
Sam Hemelryk
7487c85699 course formats MDL-22647 Course format names are now properly supported and used. Big thanks to Brandon Turner for the patch. 2010-06-08 06:21:25 +00:00
Dongsheng Cai
bbdfd8ce01 MDL-22574, move import form to import.php, use csv_import_reader class to process csv file, use filepicker to replace legacy upload form. 2010-06-04 08:21:24 +00:00
Rossiani Wijaya
91bc072a31 MDL-20447 - add heading to the page 2010-05-28 02:30:14 +00:00
Dongsheng Cai
e425638049 MDL-16493, database module use filepicker to choose file/pciture, url field use file picker to choose link. 2010-05-24 09:05:40 +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
Andrew Davis
aeafd4366b rating MDL-22526 added item checks to rating submission 2010-05-21 07:50:38 +00:00
Petr Skoda
e91f4190f0 fixed incorrect whitespace in data upgrade 2010-05-20 09:12:39 +00:00
Dongsheng Cai
573e7e3396 revert some changes, my cvs client (smartcvs) goes wrong, commited all my local changes, MDL-8224 2010-05-20 06:35:41 +00:00
Dongsheng Cai
af140288c4 MDL-8224, minor changes to tweak ui 2010-05-20 06:26:40 +00:00
Dongsheng Cai
4d2ee4c2c0 MDL-16597, move print_filemanager to $OUTPUT->file_manager, now theme designers are able to costomize file manager. 2010-05-19 08:05:36 +00:00
Andrew Davis
e404dffd59 rating MDL-21657 added a space in if statement to not break upgrade safety checking script 2010-05-17 09:33:33 +00:00
Andrew Davis
9e86f2e7a9 rss MDL-22204 fixed rss autodiscovery and made the RSS UI elements placement consistent 2010-05-13 08:44:35 +00:00
Martin Dougiamas
bfebaf64d8 MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script. 2010-05-13 02:02:05 +00:00
Andrew Davis
eaed2fd163 ajax MDL-22286 removed references to the previous version of the JS function openpopup() 2010-05-05 02:05:58 +00:00
Dongsheng Cai
8fd603a26a "MDL-19118, fixed data module comment migration" 2010-05-03 07:49:59 +00:00
Andrew Davis
198ff49840 Rating MDL-22270 Prevented fetching of ratings when ratings are turned off 2010-05-03 02:31:22 +00:00
Penny Leach
c3e1b5bd5a portfolio & data MDL-21032 add leap2a to database module
This commit changes drastically the previous portfolio api support in
mod/data to get rid of csv etc and add leap2a, refactor and tidy up a
lot.
2010-05-02 18:01:19 +00:00
Andrew Davis
fcce139aa3 RSS MDL-22204 committing new RSS code. Uses a token to ID the user. RSS feeds also generated/updated as needed rather than by cron.php 2010-05-02 11:43:57 +00:00
Penny Leach
5fcbdc6bf0 portfolio MDL-22272 remove portfolio stuff from export tab 2010-05-02 06:38:59 +00:00
David Mudrak
7719b4db37 MDL-21695 Database module now uses new help strings
AMOS BEGIN
 HLP data/exportzip.html,[exportaszip_help,mod_data]
 HLP data/fields.html,[newfield_help,mod_data]
 HLP data/fieldmappings.html,[fieldmappings_help,mod_data]
 HLP data/importcsv.html,[csvimport_help,mod_data]
 HLP data/importfromfile.html,[fromfile_help,mod_data]
 HLP data/maxentries.html,[maxentries_help,mod_data]
 HLP data/requireapproval.html,[requireapproval_help,mod_data]
 HLP data/requiredentries.html,[requiredentries_help,mod_data]
 HLP data/requiredentriestoview.html,[requiredentriestoview_help,mod_data]
 HLP data/savepreset.html,[saveaspreset_help,mod_data]
 HLP data/tags.html,[availabletags_help,mod_data]
 HLP data/usepreset.html,[usestandard_help,mod_data]
AMOS END
2010-04-30 14:56:41 +00:00
Andrew Davis
cfe3ba15bb rating MDL-21657 removed definitions of data_ratings and glossary_ratings 2010-04-28 04:00:17 +00:00
Andrew Davis
8546cdd414 rating MDL-21657 added a check for the old rating tables before trying to migrate data 2010-04-28 03:50:56 +00:00
Andrew Davis
cbf964dfac rating MDL-21657 removed old per module rating implementations 2010-04-28 03:19:19 +00:00
Andrew Davis
c506e35496 rating MDL-21657 updated rating upgrade process that drops old rating tables 2010-04-28 03:12:49 +00:00
Andrew Davis
d251b25937 rating MDL-21657 updated version of ratings including checks for both new system capabilities and old per module capabilities 2010-04-23 09:44:19 +00:00
Martin Dougiamas
6595a5681e ratings MDL-21657 Improving capabilities for ratings.
Rather than performing complicated upgrade procedures from the old (broken) logic in three activity modules, we are adding new capabilities to those three modules to make them all consistent, and using them in a callback from the Ratings API.  This is the same as the Comments API.

The downside is that two sets of capabilities need to be enabled for ratings to work.  Hopefully this can be mitigated somewhat when build some sort of shortcuts on the module settings forms to set capabilities.  In the meantime, the effect is reduced somewhat by having all the rating capabilities enabled by default for student and teacher roles.  This means control is in the hands of whatever the modules have set, giving very close backward compatibility.

This is not the perfect solution, but neither were the other two.
2010-04-23 05:42:22 +00:00