Yann Weber
2af27292c7
Merge branch 'sqlwrapper' of git.labocleo.org:lodel2 into sqlwrapper
9 роки тому
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.
9 роки тому
Driky
49994da98f
Prise en charge de la clause bindparam dans sqlquerybuilder.py
To-Do: tester
9 роки тому
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
9 роки тому
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.
9 роки тому
Yann Weber
b82ccd7911
Allow to use SqlWrapper.createTable without being called by SqlWrapper.createAllFromConf
9 роки тому
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
9 роки тому
Yann Weber
dde02cadd0
New version of sqlwrapper that is not a singleton anymore
9 роки тому
Yann Weber
1a6a367481
Removed lines cut after 72 chars
9 роки тому
Yann Weber
9896c16e8e
Small bugfixes in sqlobject and sqlwrapper
9 роки тому
ArnAud
a86ff9ee97
ME : renommage et import
9 роки тому
Yann Weber
59f75eddbd
Merge branch 'sqlwrapper_obj' for bugfixes
9 роки тому
Yann Weber
4120a45fff
Bugfixes in sqlwrapper
9 роки тому
Yann Weber
7de456c41c
Merge branch 'master' of git.labocleo.org:lodel2
9 роки тому
Yann Weber
03808ed91d
Merge branch 'sqlwrapper_obj'
9 роки тому
Yann Weber
a25e97607c
Updated version of the sqlwrapper
9 роки тому
ArnAud
61e472e16e
ME: no sub-directory
9 роки тому
Yann Weber
155e089750
Added some test for sql_wrapper alter schema functions
9 роки тому
Yann Weber
c7defe71e0
Added tests for sqlwrapper
Removed logging test in EditorialModel/lib/component.py
Added comment in Database/sqlwrapper.py
9 роки тому
Yann Weber
aad5586cb1
Updated sqlwrapper to enable sqlite support and logging enable/disable
9 роки тому
ArnAud
4e2b85328c
ME: installation of the basic tables
9 роки тому
Yann Weber
ebdb512500
Modification to be less dependent to django + logging in db wrapper
9 роки тому
ArnAud
3ce6e1774e
sqlWrapper: default attend un objet
9 роки тому
Yann Weber
07209417a7
Refactoring comments in db wrapper
9 роки тому
ArnAud
3e80b68303
connection à une base de donnée
9 роки тому
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
9 роки тому
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 ! =)
9 роки тому
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)
9 роки тому
ArnAud
9dab9ce22f
EM: on avance…
9 роки тому
Yann Weber
df4c5cbfd8
Ajout du Doxyfile et des entêtes de méthodes pour les objets EmField, EmFieldGroup et EmType
9 роки тому
Roland Haroutiounian
aca15cfdc2
Modification du gitignore
9 роки тому
Roland Haroutiounian
966e16a2bb
Paramétrage des noms de connexion dans le module Databases
9 роки тому
Roland Haroutiounian
a6d51f763c
Ajout du package psycopg2 (driver postgresql)
9 роки тому
ArnAud
cc50da7658
EmComponent and EmClass, first draft
9 роки тому
Roland Haroutiounian
d8d0f9f303
Ajout du module Database
9 роки тому
Roland Haroutiounian
f24274a4d8
Ajout du projet Lodel
9 роки тому
ArnAud
14bccd4094
EM: first shoot of component
9 роки тому
Florentin Clouet
7f077d425b
Ajout du README.md
9 роки тому
ArnAud
569888deb8
requirements.txt for python pip install
.gitignore for git
First commit !!!
9 роки тому