ArnAud
d217eb89cc
first shoot for fieldtypes
hace 9 años
Yann Weber
5361ddc94a
Merge branch 'master' of git.labocleo.org:lodel2
hace 9 años
Yann Weber
493149cfeb
Added sqlutils functions
hace 9 años
ArnAud
0f66161eaa
fieldtype becomes a named variable instead of an integer
hace 9 años
ArnAud
fa9b842a3d
all uids ar integers
hace 9 años
Yann Weber
b1ffef53b9
Merge branch 'sqlupdates' with SQL isolation and sqlsetup fixes
hace 9 años
Yann Weber
46a4686944
SQL isolation in classes and components
SQL calls are in _populateDb , _saveDb and _createDb methods (exception for component::delete() )
hace 9 años
Yann Weber
c901e7a643
Bugfixes in sqlsetup
Put every uid columns and associated FK in INTEGER instead of VARCHAR(50)
hace 9 años
Yann Weber
fff0225428
Merge branch 'sqlwrapper'
hace 9 años
Yann Weber
8fc072f6ee
Cleaning and changin some methods name in sqlwrapper
hace 9 años
ArnAud
58303db9fa
EmField: create, save and load
hace 9 años
Yann Weber
2af27292c7
Merge branch 'sqlwrapper' of git.labocleo.org:lodel2 into sqlwrapper
hace 9 años
Yann Weber
6ab79eb412
Implemented alter table in sqlwrapper
Adding a column is implemented for mysql, postgresql and sqlite.
Droping and altering a column is only implemented for mysql and postgresql for the moment.
Quick&dirty tests has been done for sqlite and mysql only.
hace 9 años
ArnAud
22b9dfc4b6
EmFieldGroup: create, save and load. fieldgroups() method for EmClass.
hace 9 años
ArnAud
9479e4483b
EmClass: implement types() method
hace 9 años
ArnAud
d0a43614a1
EmType: create, save and load
hace 9 años
ArnAud
462b6f3bbb
EM component: uid not id + make sure it is an integer
hace 9 años
ArnAud
a17d889d3f
EmClass : create, save and load
hace 9 años
ArnAud
fbb6a39261
mlstring: delete an translation
hace 9 años
ArnAud
50fb6fa1fd
mlstring: empty mlstring should be an empty string
hace 9 años
Driky
49994da98f
Prise en charge de la clause bindparam dans sqlquerybuilder.py
To-Do: tester
hace 9 años
ArnAud
c779ede921
MlString: Class to handle multilingual strings
hace 9 años
Driky
f937a63b53
Ajout de insert et delete dans sqlquerybuilder.py
To-do: prendre en charge le cas de execute ou une query a des parametre binder et une liste de dictionnaire est envoyé en param
hace 9 años
Driky
d66ccfc431
sqlobject.py renommer en sqlquerybuilder.py
Implementation d'alias au ordre sqlalchemy: select, select_from, where, update, execute
To-Do: implemente insert et delete, tester.
hace 9 años
ArnAud
58a4d7c681
Schéma: uid as integer, no column named 'class'
hace 9 años
Yann Weber
b82ccd7911
Allow to use SqlWrapper.createTable without being called by SqlWrapper.createAllFromConf
hace 9 años
Yann Weber
ddfbb2b056
Modified SqlWrapper to handle SqlSetup script
Now SQLSetup in able (via initDb) to initialize the database.
WARNING : initDb start by droping all tables in database before creating the new ones
hace 9 años
Yann Weber
dde02cadd0
New version of sqlwrapper that is not a singleton anymore
hace 9 años
Yann Weber
1a6a367481
Removed lines cut after 72 chars
hace 9 años
Yann Weber
9896c16e8e
Small bugfixes in sqlobject and sqlwrapper
hace 9 años
ArnAud
a86ff9ee97
ME : renommage et import
hace 9 años
Yann Weber
59f75eddbd
Merge branch 'sqlwrapper_obj' for bugfixes
hace 9 años
Yann Weber
4120a45fff
Bugfixes in sqlwrapper
hace 9 años
Yann Weber
7de456c41c
Merge branch 'master' of git.labocleo.org:lodel2
hace 9 años
Yann Weber
03808ed91d
Merge branch 'sqlwrapper_obj'
hace 9 años
Yann Weber
a25e97607c
Updated version of the sqlwrapper
hace 9 años
ArnAud
61e472e16e
ME: no sub-directory
hace 9 años
Yann Weber
155e089750
Added some test for sql_wrapper alter schema functions
hace 9 años
Yann Weber
c7defe71e0
Added tests for sqlwrapper
Removed logging test in EditorialModel/lib/component.py
Added comment in Database/sqlwrapper.py
hace 9 años
Yann Weber
aad5586cb1
Updated sqlwrapper to enable sqlite support and logging enable/disable
hace 9 años
ArnAud
4e2b85328c
ME: installation of the basic tables
hace 9 años
Yann Weber
ebdb512500
Modification to be less dependent to django + logging in db wrapper
hace 9 años
ArnAud
3ce6e1774e
sqlWrapper: default attend un objet
hace 9 años
Yann Weber
07209417a7
Refactoring comments in db wrapper
hace 9 años
ArnAud
3e80b68303
connection à une base de donnée
hace 9 años
Yann Weber
18c497a27b
Fixing tests name to actually make them run
Test functions name as tests files name must begin with test in order to be run by manage.py test
hace 9 años
Yann Weber
eeaaf945d2
Created the class MlString and fixing syntax error
Created the class Lodel.utils.mlstring.MlString needed by EditorialModel.lib.component.EmComponent
The first test pass ! =)
hace 9 años
Yann Weber
8f2a3655bb
Renaming and moving files + fixed a bug in Lodel.settings imports
Lodel/sttings/__init__.py wasn't able to import files when called by manage.py
Renaming em to EditorialModel and moved Em* objects to EditorialModel/lib
Adding a first test (that do not pass because of syntax errors in Em* classes)
hace 9 años
ArnAud
9dab9ce22f
EM: on avance…
hace 9 años
Yann Weber
df4c5cbfd8
Ajout du Doxyfile et des entêtes de méthodes pour les objets EmField, EmFieldGroup et EmType
hace 9 años