98 Commits

Author SHA1 Message Date
Dongsheng Cai
79f0bac62e WIKI MDL-25501 1. check if wiki entry exists before insert new entry 2. check wiki version record mimetype, if it is not empty, try to export the content to file pool 2011-01-14 14:17:24 +08:00
Petr Skoda
90c42e0f43 MDL-25501 reverting PULL-95 2011-01-11 22:53:16 +01:00
Eloy Lafuente (stronk7)
742d877eaf Merge branch 'MDL-25793' of git://github.com/samhemelryk/moodle 2011-01-11 00:33:56 +01:00
Sam Hemelryk
d481e2a8e3 mod-wiki MDL-25793 Bumped version number and adjusted version number in new upgrade code. 2011-01-10 17:31:40 +08:00
Dongsheng Cai
77064d2b4f WIKI MDL-25501 1. check if wiki entry exists before insert new entry 2. check wiki version record mimetype, if it is not empty, try to export the content to file pool 2011-01-10 10:07:34 +08:00
Sam Hemelryk
1be9192173 mod-wiki MDL-25793 Fixed database discrepancies between a fresh install and an upgraded site within the Wiki module 2011-01-04 09:43:45 +08:00
Dongsheng Cai
ad85f2629d "NOMDL, fixed wiki upgrade, credits to David Mudrak" 2010-11-24 08:50:29 +00:00
Dongsheng Cai
49550e4964 "MDL-24862 revert previous change, sub query works better" 2010-11-19 07:43:13 +00:00
Aparup Banerjee
bb7603e900 wiki MDL-24862 fixed the upgrade code breaking in mssql. 2010-11-19 06:10:33 +00:00
Dongsheng Cai
134d38ff18 MDL-22553, fixed wiki upgrade sql to running on sql server 2010-11-19 02:30:00 +00:00
Dongsheng Cai
b9ec7dd288 MDL-24491, removed print_object in wiki upgrade code 2010-11-10 08:22:16 +00:00
Dongsheng Cai
77b8c5cafe MDL-23134, use foreach to read recordset instead of valid(), next() 2010-11-08 08:05:15 +00:00
Dongsheng Cai
52f3088482 MDL-23135, added defined('MOODLE_INTERNAL') || die; to old ewiki code 2010-11-08 07:52:54 +00:00
Dongsheng Cai
f0f77dfaae MDL-24888, wiki tags' itemtype should be wiki_pages, taglib will try to query table by itemtype in cron 2010-10-28 07:51:59 +00:00
Petr Skoda
b52d96018b MDL-22700 fixed bad foreign key definition in table wiki_pages, patch by Jason Platts 2010-10-26 14:44:13 +00:00
Sam Hemelryk
da8970797f NOBUG: Added missing global call in mod wiki upgrade 2010-10-03 05:55:16 +00:00
Petr Skoda
39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Petr Skoda
086339d293 MDL-24079 sql_ilike is deprecated, I still do not understand why do we have to drag this old code along 2010-09-04 11:43:50 +00:00
Petr Skoda
8866508f54 MDL-24058 just killing addslashes, no idea why we have this horrible code in CVS 2010-09-02 12:37:00 +00:00
Dongsheng Cai
7feb91ad90 "MDL-23819, old wiki has binary data stored in db, which is not supported anymore, so we have to ignore the bad data without breaking upgrade process" 2010-08-24 06:45:33 +00:00
Dongsheng Cai
89e2569b0f "MDL-22950 fixed filearea" 2010-08-11 07:25:20 +00:00
Eloy Lafuente
dec303ade9 NOMDL wiki - adding missing savepoint 2010-08-02 11:58:04 +00:00
Jordi Piguillem
ab42292001 Fixing tags and comments issues. 2010-08-02 11:49:51 +00:00
Jordi Piguillem
621f3ef519 [MDL-23130]
Fixing sql code style and sql injection problems
2010-07-30 10:49:41 +00:00
Petr Skoda
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
Petr Skoda
d50eb3d4e1 no more id cvs markers or closing php tags! 2010-07-04 12:08:53 +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
Jordi Piguillem
2dd18a9323 [MDL-22553]
Fixing problems with sql sentences using LIMIT
2010-05-25 09:06:45 +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
Dongsheng Cai
cd8236983d "fixed version number to make http://cvs.moodle.org/contrib/tools/check_upgrade_savepoints/ happy" 2010-05-17 09:51:40 +00:00
Dongsheng Cai
b420734aa0 "MDL-20814, verify the file path, and print relevant information is there is bad data" 2010-05-12 04:27:11 +00:00
David Mudrak
d3dbc520c4 MDL-22112 Wiki 2.0 upgrade code - PostgreSQL errors
Firstly, double quotes are used to quote columns in PostgreSQL - let $DB
to deal with quoting of constant strings. Secondly, PostgreSQL does not
seem support table name aliases in UPDATE.
2010-05-02 17:29:21 +00:00
Dongsheng Cai
d1e544b25d MDL-22112, fixed xmldb install.xml 2010-05-02 11:42:23 +00:00
Dongsheng Cai
00710f4cc1 MDL-22112, push wiki 2.0 into head 2010-05-02 11:28:11 +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
14a960ac7b MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 19:53:01 +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
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
stronk7
e37cd84ad4 MDL-18577 drop enums support - step1: transforming all enums to nomal varchar + prevent creation of new ones 2009-04-27 20:29:01 +00:00
skodak
8b6f8099ea MDL-18910 normalised module intro and introformat 2009-04-20 20:14:15 +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
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
stronk7
fcdea90774 Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
poltawski
e9e928b68d MDL-9742 Converting tabs to spaces 2007-05-09 00:50:29 +00:00