Yann Weber
|
7b647c5ba4
|
Changed a comment
|
9 lat temu |
Yann Weber
|
e3187a0ae9
|
Bugfix on add related + 2 todo on del_related
|
9 lat temu |
Yann Weber
|
d45b84c5d9
|
Implements get_related in MySQL datasource
|
9 lat temu |
Roland Haroutiounian
|
aaa4268afa
|
[#74] del_related method is usable in LeDataSourceSQL
|
9 lat temu |
Yann Weber
|
7242b685d2
|
Pep8 on LeFactory generated code
|
9 lat temu |
ArnAud
|
dc4f433dd0
|
from python_hell import ImportError
|
9 lat temu |
Yann Weber
|
d35f499e3d
|
Deleted useless code
|
9 lat temu |
Yann Weber
|
61ccc04772
|
Bugfix in lefactory
|
9 lat temu |
Yann Weber
|
39401184d0
|
Add a new method __purge_db() to the migration handler
|
9 lat temu |
Roland Haroutiounian
|
69306a9357
|
[#69] Dealing with all kind of natures and not only "parent" (in LeDataSourceSQL.add_superior)
|
9 lat temu |
Roland Haroutiounian
|
1e8e10b569
|
[#69] "parent" nature is now taken from EditorialModel.classtypes.EmNature
|
9 lat temu |
Roland Haroutiounian
|
2591d95409
|
Merge branch 't69-add-superior'
|
9 lat temu |
Roland Haroutiounian
|
6a4a7af931
|
[#69] Added the code to add the relations to all the superiors in a hierarchy
|
9 lat temu |
Yann Weber
|
668d97e2fb
|
Implements add_related set_relation_rank in MySQL ledatasource and updated get_relation
|
9 lat temu |
Yann Weber
|
76c1174509
|
Implements get_subordinates in the MySQL datasource
|
9 lat temu |
Roland Haroutiounian
|
75d47527ee
|
get_superiors query is ordered by depth desc
|
9 lat temu |
Roland Haroutiounian
|
74e6c2b7da
|
[#71] get_superiors method's first implementation
|
9 lat temu |
Yann Weber
|
4b0a2ca093
|
Implements superiors and subordinates methods in LeType + old code removal in LeType
|
9 lat temu |
Yann Weber
|
3503537b0d
|
Implements _LeObject.hierarchy_get() method
|
9 lat temu |
Roland Haroutiounian
|
fa4e45d4c5
|
[#69] First implementation of add_superior, without the recursive calls
* add_superior's implementation in LeDataSourceSQL
* cleaning the code
|
9 lat temu |
Yann Weber
|
4ce0e3ea55
|
Renamed superior methods in LeType
|
9 lat temu |
Yann Weber
|
64c2a865df
|
Implements _LeObject.hierarchy_del() and LeType.del_superior()
|
9 lat temu |
ArnAud
|
b1dd977a8b
|
DataSource MySQL: change variable name
|
9 lat temu |
Yann Weber
|
3fe8e3e1ef
|
Implements LeType.add_superior()
|
9 lat temu |
Yann Weber
|
94a5afcdd7
|
Implements _LeObject.hierarchy_add() method and instroduce the class LeRoot
LeRoot represents hierarchy root
|
9 lat temu |
Yann Weber
|
4a38cec9e1
|
Updated the add_superior header in dummy datasource
|
9 lat temu |
Roland Haroutiounian
|
97df48eb46
|
Corrected the README file for the settings
|
9 lat temu |
Roland Haroutiounian
|
9b19c7bf32
|
The README file now has the basic settings.py file's content
|
9 lat temu |
Yann Weber
|
a4e200b99a
|
Merge branch 'master' of git.labocleo.org:lodel2
|
9 lat temu |
Yann Weber
|
a960d83da3
|
Implements del_relation in LeDatasourceSQL and get_relation modifications
|
9 lat temu |
ArnAud
|
c8d9b9042c
|
Emtype: no more fieldgroups
|
9 lat temu |
Yann Weber
|
54ba4cc3c5
|
Implements get_relation in LeDatasourceSQL + some small changes in MySQL and MH
|
9 lat temu |
Roland Haroutiounian
|
0ad4e3c9fd
|
[#67] del_relation method now uses only a relation id as argument
|
9 lat temu |
Yann Weber
|
24b758af9b
|
Updated some MySQL properties and MigrationHandler stuff
|
9 lat temu |
Roland Haroutiounian
|
b202a7933d
|
[#68] get_relations method uses only one argument which is the object from which we want the relations
|
9 lat temu |
Yann Weber
|
3e3114a0b2
|
Better comments for MySQL MH
|
9 lat temu |
Yann Weber
|
583af5071d
|
Add the code for generating the LeObject API python code in the README.md
|
9 lat temu |
Yann Weber
|
03ebc9535a
|
Implements new methods for getting relations in LeObject and add a check for attributes unicity when linking two LeObject together
|
9 lat temu |
ArnAud
|
5ca6fb3216
|
Create a settings example, update the doc
|
9 lat temu |
Yann Weber
|
a5996dc419
|
Implements _LeObject.link_remove() and LeType.unlink_subordinate()
|
9 lat temu |
Roland Haroutiounian
|
70c237d65f
|
[#68] get_relations method is implemented in LeDataSourceSQL
|
9 lat temu |
Yann Weber
|
15b9c27333
|
Implements _LeObject.linked_together() and LeType.linked_subordinates() methods
|
9 lat temu |
Yann Weber
|
1a54863f5b
|
Implements _LeObject.link_together() and LeType.link_subordinate() methods
|
9 lat temu |
Roland Haroutiounian
|
292a3dc8f6
|
[#76] The settings will be taken in a non versionned settings file
|
9 lat temu |
Roland Haroutiounian
|
b062a28e7b
|
[#67] del_relation is declared implemented
|
9 lat temu |
Roland Haroutiounian
|
492e2c1c25
|
[#67] Delete of a relation is implemented now in LeDataSourceSQL
* The two mandatory arguments of the del_relation method are checked
|
9 lat temu |
Roland Haroutiounian
|
cbd3d89426
|
[#63] PEP8/Pylint
|
9 lat temu |
Roland Haroutiounian
|
1b4f3634d3
|
[#63] PEP8/Pylint checked on DataSource/MySQL module
|
9 lat temu |
Roland Haroutiounian
|
518cfad9cd
|
[#63] Mysql migration handler and ledatasourceSQL are using MySQL DataSource
|
9 lat temu |
Yann Weber
|
e2656e0285
|
Updated the dummy datasource with methods headers to handle relations
|
9 lat temu |