Yann Weber
|
def4233c89
|
Bugfix : make a copy of connections settings in ledatasource constructor to avoid configuration modification
We should maybe find a way to return a copy of the settings un Datasource/MySQL/MySQL.py
|
9 years ago |
ArnAud
|
8c47a604cb
|
migration handler SQL: use new style to create column
|
9 years ago |
ArnAud
|
4f1fc375eb
|
mosql utils: no quote around column definitions
|
9 years ago |
ArnAud
|
e062f1697a
|
SQL datasource: use args from the settings
|
9 years ago |
Roland Haroutiounian
|
d1034a643c
|
PEP8/PyLint on types.py
|
9 years ago |
Roland Haroutiounian
|
8c814e315e
|
PEP8/Pylint on randomem.py
|
9 years ago |
Roland Haroutiounian
|
3090208987
|
PEP8/Pylint on model.py
|
9 years ago |
Roland Haroutiounian
|
a07f0a10af
|
PEP8/PyLint on fields.py
|
9 years ago |
Roland Haroutiounian
|
6a5136d728
|
PEP8/PyLint on classtypes.py
|
9 years ago |
Roland Haroutiounian
|
5d43d897e1
|
PEP8 / PyLint on classes.py
|
9 years ago |
Roland Haroutiounian
|
8b866388e6
|
PEP8/PyLint on migrationhandler module
|
9 years ago |
Roland Haroutiounian
|
8b4244aaf5
|
PEP8/PyLint on EditorialModel/fieldtypes
|
9 years ago |
Roland Haroutiounian
|
565045b413
|
PEP8/Pylint on DataSource MySQL
|
9 years ago |
ArnAud
|
04aa093ccf
|
SQL datasource: use Cursor.lastrowid instead of an SQL query
|
9 years ago |
ArnAud
|
5517eb0c26
|
SQL datasource: return one id if only inserted one
|
9 years ago |
Roland Haroutiounian
|
285da59e7d
|
Changed the dummy datasource for Leobject
|
9 years ago |
Roland Haroutiounian
|
4a4204de17
|
relational fields in the delete_related method
|
9 years ago |
Yann Weber
|
f886bb5193
|
Delete relationnal Field from the generated LeType child class
|
9 years ago |
ArnAud
|
7320e48306
|
leobject: use the right variable name
|
9 years ago |
ArnAud
|
66251f3788
|
datasourcesql : use object table when no class or type
|
9 years ago |
ArnAud
|
eb8d282857
|
test Model: char fields should be nullable
|
9 years ago |
Yann Weber
|
7b647c5ba4
|
Changed a comment
|
9 years ago |
Yann Weber
|
e3187a0ae9
|
Bugfix on add related + 2 todo on del_related
|
9 years ago |
Yann Weber
|
d45b84c5d9
|
Implements get_related in MySQL datasource
|
9 years ago |
Roland Haroutiounian
|
aaa4268afa
|
[#74] del_related method is usable in LeDataSourceSQL
|
9 years ago |
Yann Weber
|
7242b685d2
|
Pep8 on LeFactory generated code
|
9 years ago |
ArnAud
|
dc4f433dd0
|
from python_hell import ImportError
|
9 years ago |
Yann Weber
|
d35f499e3d
|
Deleted useless code
|
9 years ago |
Yann Weber
|
61ccc04772
|
Bugfix in lefactory
|
9 years ago |
Yann Weber
|
39401184d0
|
Add a new method __purge_db() to the migration handler
|
9 years ago |
Roland Haroutiounian
|
69306a9357
|
[#69] Dealing with all kind of natures and not only "parent" (in LeDataSourceSQL.add_superior)
|
9 years ago |
Roland Haroutiounian
|
1e8e10b569
|
[#69] "parent" nature is now taken from EditorialModel.classtypes.EmNature
|
9 years ago |
Roland Haroutiounian
|
2591d95409
|
Merge branch 't69-add-superior'
|
9 years ago |
Roland Haroutiounian
|
6a4a7af931
|
[#69] Added the code to add the relations to all the superiors in a hierarchy
|
9 years ago |
Yann Weber
|
668d97e2fb
|
Implements add_related set_relation_rank in MySQL ledatasource and updated get_relation
|
9 years ago |
Yann Weber
|
76c1174509
|
Implements get_subordinates in the MySQL datasource
|
9 years ago |
Roland Haroutiounian
|
75d47527ee
|
get_superiors query is ordered by depth desc
|
9 years ago |
Roland Haroutiounian
|
74e6c2b7da
|
[#71] get_superiors method's first implementation
|
9 years ago |
Yann Weber
|
4b0a2ca093
|
Implements superiors and subordinates methods in LeType + old code removal in LeType
|
9 years ago |
Yann Weber
|
3503537b0d
|
Implements _LeObject.hierarchy_get() method
|
9 years ago |
Roland Haroutiounian
|
fa4e45d4c5
|
[#69] First implementation of add_superior, without the recursive calls
* add_superior's implementation in LeDataSourceSQL
* cleaning the code
|
9 years ago |
Yann Weber
|
4ce0e3ea55
|
Renamed superior methods in LeType
|
9 years ago |
Yann Weber
|
64c2a865df
|
Implements _LeObject.hierarchy_del() and LeType.del_superior()
|
9 years ago |
ArnAud
|
b1dd977a8b
|
DataSource MySQL: change variable name
|
9 years ago |
Yann Weber
|
3fe8e3e1ef
|
Implements LeType.add_superior()
|
9 years ago |
Yann Weber
|
94a5afcdd7
|
Implements _LeObject.hierarchy_add() method and instroduce the class LeRoot
LeRoot represents hierarchy root
|
9 years ago |
Yann Weber
|
4a38cec9e1
|
Updated the add_superior header in dummy datasource
|
9 years ago |
Roland Haroutiounian
|
97df48eb46
|
Corrected the README file for the settings
|
9 years ago |
Roland Haroutiounian
|
9b19c7bf32
|
The README file now has the basic settings.py file's content
|
9 years ago |
Yann Weber
|
a4e200b99a
|
Merge branch 'master' of git.labocleo.org:lodel2
|
9 years ago |