History | Log In     View a printable version of the current page.  
We are currently focused especially on Moodle 2.0, Moodle 1.9.x bugs and Moodle 1.9.x testing.    Confused? Lost? Please read this introduction to the Tracker.
Issue Details (XML | Word | Printable)

Key: MDL-14679
Type: Task Task
Status: Open Open
Priority: Major Major
Assignee: Eloy Lafuente (stronk7)
Reporter: Petr Škoda
Votes: 0
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Moodle

META: DB layer 2.0

Created: 04/May/08 07:52 AM   Updated: 26/Jul/08 01:37 AM
Component/s: Database SQL/XMLDB
Affects Version/s: 2.0
Fix Version/s: 2.0

File Attachments: 1. Text File new_dmllib_47.patch (1.28 Mb)

Issue Links:
Blockers
 
Relates
 

URL: http://docs.moodle.org/en/Development:DB_layer_2.0
Participants: Eloy Lafuente (stronk7), Nicolas Martignoni, Petr Škoda and Samuli Karevaara
Security Level: None

Sub-Tasks  All   Open   
 Sub-Task Progress: 

 Description  « Hide
General collection of tasks and bugs related to datalib rewrite for Moodle 2.0

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Škoda - 04/May/08 07:54 AM
sanding some simple implementation of new dmllib,
it is very raw - some parts are probably broken, installer does not work, etc.
Inline docs are missing too.

Petr Škoda - 04/May/08 09:13 PM
sending more feature complete sample,
still only adodb mysql(i) supported

Petr Škoda - 05/May/08 03:03 AM
Now sort of works with pg and mysql, all old dmllib functions with (.., $filed1, $value1, ..) and logging are redirected to the new library ;-)

Petr Škoda - 06/May/08 08:07 AM
sending latest patch - see wiki for details

Petr Škoda - 08/May/08 04:08 PM
fresh patch before the meeting

Petr Škoda - 10/May/08 07:09 AM - edited
to keep everybody informed: we (me and Eloy) discussed today needed changes in xmldb library - the changes are not major, just refactoring. Sample patch should be ready by Tuesday...

Petr Škoda - 12/May/08 01:18 AM
sending fresh patch with new dml and ddl stuff - good luck ;-)

Petr Škoda - 16/May/08 05:14 AM
fixed problem with undefined config settings, thanks Eloy

Petr Škoda - 16/May/08 05:40 AM - edited
patch landed in cvs:

TODO:
* make mssql and ora work again
* readd caching, better debugging and perf tracking
* unit tests + functional tests
* better docs
* convert all code to use new API
* etc.

Nicolas Martignoni - 26/May/08 12:03 AM
I think taht the modification corresponding to this one: http://cvs.moodle.org/moodle/lang/en_utf8/help/richtext.html.diff?r1=1.10&r2=1.11 in lang packs will break pre-2.0 Moodle help files in all languages other than english, since we don't have branches for lang packs.

Petr Škoda - 26/May/08 02:31 AM - edited
I reviewed the code before the commit, the can_use_html_editor() I put there is available since 1.6 at least, I do not think it could break anything. Versions bellow 1.6 are not supported anymore.

Or did I miss something?

Petr Škoda - 26/May/08 02:36 AM - edited
Double checked it, the can_use_html_editor() was available in 1.6.0.
The only potential problem could be if somebody used <1.9.2 language pack in 2.0 which would not work anyway..

Nicolas Martignoni - 26/May/08 03:38 PM
OK, thanks for the clarification. And sorry for the trouble.

Samuli Karevaara - 03/Jun/08 05:13 PM
Sweet Mother of all Patches :-O :-)