56 Commits

Author SHA1 Message Date
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
vyshane
2585a68d54 Merged from 1.8. 2007-02-16 08:46:55 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
stronk7
5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
b8a342d7ac New upgrade.php file added for this module. MDL-7214 2006-10-26 17:33:40 +00:00
moodler
2d5a4f255b Merged fixes for MDL-6907 from stable 2006-10-11 06:21:58 +00:00
stronk7
29bbfb339a One malformed XML was preventing wiki_logs to be properly UTF8-ised. MDL-6854 2006-10-06 15:26:13 +00:00
toyomoyo
1b19e8107e fix for MDL-6859, MDL-6860 2006-10-06 06:04:32 +00:00
skodak
ea580cdfa6 Recent wiki table changes have problems on PostgreSQL 7.4 MDL-6724 2006-10-01 12:04:34 +00:00
sam_marshall
13ef403f3b Wiki: correct column type on Postgres update (fixes Search and Links tabs, matches what's in install.xml anyhow) 2006-09-27 11:21:01 +00:00
stronk7
a653016d94 Some notes:
- Foreign keys are really cool (at the XMLDB Editor). Define them as necessary
  as they allow as one "formal" structure of the DB. They won't cause problems
  on generation, mainly because only the underlying index will be created.
- Please, put comments inside each table/field/key/index field, mainly because
  XML comments will be deleted if the file is edited by
- The XMLDB Editor. Please use it ;-)
- Also, one unique index was wrong in the XML file, fixed now.
2006-09-25 21:37:29 +00:00
sam_marshall
98a7359506 change from UNIQUE KEY to UNIQUE INDEX 2006-09-25 17:49:33 +00:00
sam_marshall
22e846cde2 Wiki enhancement: edit locking (uses AJAX) 2006-09-25 17:42:32 +00:00
vyshane
73ebd5e23a Removed mod/wiki:view 2006-09-22 03:14:08 +00:00
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
skodak
21b6db6eff added capabilty risks into access.php and GUI for define role and override; minor fixes for capability types in forum 2006-09-18 21:32:49 +00:00
skodak
33e7885ee0 fixed group management in wiki 2006-09-12 21:07:54 +00:00
moodler
00adf177ad Changed some default permissions for the guest role 2006-09-12 05:58:42 +00:00
skodak
ee3cc9951c basic conversion of old wiki to new roles framework 2006-09-10 19:44:28 +00:00
stronk7
9bd4d98bc2 Initial version of the XMLDB file for this plugin 2006-08-12 22:19:10 +00:00
skodak
bfc38bb2eb merging changes from MOODLE_16_STABLE 2006-07-31 18:21:42 +00:00
martinlanghoff
1b58a2f3a0 moodle16cleanup: mod/wiki synch upgrade script and .sql with mysql
counterpart, drop the not null constraint to sync with postgres7.sql
2006-05-17 06:29:45 +00:00
toyomoyo
0327c40abb bug fix for 5303. hope i didn't break anything >_< 2006-04-28 03:18:56 +00:00
toyomoyo
cb24115c8e trying to change all the default NULL fields to NOT NULL default '0'/'', hope i didn't mess up. Please report any bugs asap! 2006-04-26 05:48:04 +00:00
patrickslee
08e1fad13f Completed postgres binary upgrade block for wiki module 2006-03-29 05:16:59 +00:00
patrickslee
e989c7699a Convert fields refs and content in wiki_pages to binary for postgres 2006-03-29 04:48:30 +00:00
patrickslee
cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +00:00
skodak
38b7336ed1 short php tags 2006-03-07 21:35:13 +00:00
toyomoyo
f841494c62 see changes for admin/utfdbmigrate.php 2006-02-24 08:20:13 +00:00
moodler
dd0b8fe1d4 fixing typos 2006-02-06 01:51:03 +00:00
moodler
136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +00:00
moodler
6bd4ccef92 bug fixes 2006-01-19 07:26:45 +00:00
moodler
f6691427d9 Added default values where needed for columns in the MySQL creation script mysql.sql.
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script.

Committed by vyshane
2006-01-17 07:37:29 +00:00
toyomoyo
e8f7b20f9a more bug fixes =( 2006-01-13 07:24:43 +00:00
toyomoyo
c8ee027b0e added 2 fields in xml, addindex and dropindex, and bug fixes 2006-01-11 01:46:22 +00:00
toyomoyo
1e4d9ff6dc utf8 migration support scripts 2006-01-09 06:06:49 +00:00
stronk7
ac3f72c899 Major rework of the wiki backup/restore.
It wasn' working fine because the wiki_pages table hadn't an id (primary key) field.

I've created, in the upgrade process, a temporary table to copy all the wiki_pages
records and then, drop and create again the table.

Tested under MySQL. Need to be tested (both creation and upgrade) under PostgreSQL!!!

Minor modifications to ewikimoodlelib.php to work with this new id field too. Seems to work
although deeper tests will be welcome (attachements, binary contents...)

Cross your fingers! ;-)
2005-02-21 17:55:54 +00:00
mjollnir_
38279ad6d8 Merged from MOODlE_14_STABLE: Attempt to fix bad constraint name in wiki and version bump (honoring partial freeze) and requires bump (needs changes in execute_sql to not show adodb feedback) 2004-11-23 22:40:48 +00:00
mjollnir_
81c41b659e Merged from MOODLE_14_STABLE: Indexes for wiki and version bump (honoring partial freeze) 2004-11-21 21:16:41 +00:00
paca70
55bcf883c3 Fixes for new postgres database creation 2004-09-24 07:49:40 +00:00
moodler
c3415fd3c3 Attempt to extract the user from the old author field when upgrading 2004-08-23 09:04:30 +00:00
moodler
71fe1da3f4 Database now stores userid, and page info is now more Moodley
(plus it doesn't show IP information to everyone!)

All old authors are not currently displayed  (I chose not to)
This is easy to fix if people want it, since the old author
string is still there in the database.
2004-08-22 16:41:54 +00:00