Issue Details (XML | Word | Printable)

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

Add/Edit UI Mockup to this issue
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: 29/Apr/09 07:51 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 Skoda and Samuli Karevaara
Security Level: None
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE

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 Skoda added a comment - 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 Skoda added a comment - 04/May/08 09:13 PM
sending more feature complete sample,
still only adodb mysql supported

Petr Skoda added a comment - 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 Skoda added a comment - 06/May/08 08:07 AM
sending latest patch - see wiki for details

Petr Skoda added a comment - 08/May/08 04:08 PM
fresh patch before the meeting

Petr Skoda added a comment - 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 Skoda added a comment - 12/May/08 01:18 AM
sending fresh patch with new dml and ddl stuff - good luck

Petr Skoda added a comment - 16/May/08 05:14 AM
fixed problem with undefined config settings, thanks Eloy

Petr Skoda added a comment - 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 added a comment - 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 Skoda added a comment - 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 Skoda added a comment - 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 added a comment - 26/May/08 03:38 PM
OK, thanks for the clarification. And sorry for the trouble.

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

Eloy Lafuente (stronk7) added a comment - 29/Apr/09 07:51 AM
Just for reference, I've applied a minor modif to the mssql driver to better handling of booleans and bug in set_field(). Just a tiny commit being part of the WIP.