1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-11-21 13:19:16 +01:00
Commit graph

92 commits

Author SHA1 Message Date
Yann
a5996dc419 Implements _LeObject.link_remove() and LeType.unlink_subordinate() 2015-11-05 11:05:33 +01:00
Roland Haroutiounian
70c237d65f [#68] get_relations method is implemented in LeDataSourceSQL 2015-11-05 10:55:32 +01:00
Yann
15b9c27333 Implements _LeObject.linked_together() and LeType.linked_subordinates() methods 2015-11-05 10:52:35 +01:00
Yann
1a54863f5b Implements _LeObject.link_together() and LeType.link_subordinate() methods 2015-11-05 10:42:50 +01:00
Roland Haroutiounian
b062a28e7b [#67] del_relation is declared implemented 2015-11-05 09:43:17 +01:00
Roland Haroutiounian
492e2c1c25 [#67] Delete of a relation is implemented now in LeDataSourceSQL
* The two mandatory arguments of the del_relation method are checked
2015-11-05 09:40:32 +01:00
Roland Haroutiounian
cbd3d89426 [#63] PEP8/Pylint 2015-11-04 15:57:21 +01:00
Roland Haroutiounian
518cfad9cd [#63] Mysql migration handler and ledatasourceSQL are using MySQL DataSource 2015-11-04 15:02:52 +01:00
Yann
e2656e0285 Updated the dummy datasource with methods headers to handle relations 2015-11-04 14:55:33 +01:00
Roland Haroutiounian
6f06c86a86 [#63] Change in the new of the foreign key generator 2015-11-04 14:32:52 +01:00
Yann
10379c6a95 Fieldgroups are deleted 2015-11-04 13:52:58 +01:00
Yann
ff983409fc Changed the relation's methods header of the dummy datasource 2015-10-30 17:21:33 +01:00
Yann
81d194974b Add a rel2type_name to LeType methods about linked stuff 2015-10-30 16:57:54 +01:00
Yann
fb848fd1dd Begin to work on relations API but some problems appear 2015-10-30 16:50:52 +01:00
Yann
0d88ebca62 Add relation modification methods to LeType 2015-10-30 16:01:21 +01:00
Roland Haroutiounian
7f3981f24a Corrected the delete method in LeDataSourceSQL 2015-10-30 15:35:40 +01:00
Roland Haroutiounian
ffa51b38db skipping not yet implemented unittests on LeDataSourceSQL 2015-10-30 14:56:49 +01:00
Yann
077a54423d Bugfix on LeType.check_or_raise() method
When complete was True the method was expecting optionnal field in datas
2015-10-30 14:53:05 +01:00
Yann
7b0df11496 Removing rel2type fields and rel2type attributes fields from LeClass and LeType fields lists 2015-10-30 14:47:16 +01:00
Roland Haroutiounian
119b9b6f9f Added the deleting in the object table 2015-10-30 14:24:02 +01:00
Yann
3f9067492c Removed a debug message + bugfix on LeDatasource returned values 2015-10-30 14:21:04 +01:00
Yann
bdd85d9bde Implement the LeDatasource.insert() method + user friendly LeObject.insert() datas arg 2015-10-30 14:18:57 +01:00
Roland Haroutiounian
6540e2c233 Changed the class name detection in the LeDataSourceSQL class 2015-10-30 13:35:15 +01:00
Roland Haroutiounian
ded36cacc8 Reimplemented the delete function 2015-10-30 11:40:01 +01:00
Roland Haroutiounian
936219e47a Added a test to detect empty relational filter arguments in the parsing process 2015-10-30 08:54:05 +01:00
Roland Haroutiounian
edb86d7f55 Optimized the relational filters parsing 2015-10-29 17:01:24 +01:00
Roland Haroutiounian
9f47b7848f Fixed connection strings for mysql 2015-10-29 15:01:38 +01:00
Roland Haroutiounian
5c7bb9d76b Changed LeDataSourceSQL to use MySQL 2015-10-29 12:15:28 +01:00
Roland Haroutiounian
77e7f66efc Corrected the constructor and the get method of LeDataSourceSQL 2015-10-29 11:21:35 +01:00
Roland Haroutiounian
8ab4f41bec Added the other basic tests' headers in the test_ledatasource.py file 2015-10-28 16:37:04 +01:00
Roland Haroutiounian
486213d06d Committed the test class for LeDataSourceSQL 2015-10-28 16:20:05 +01:00
Roland Haroutiounian
996039d6aa Added the first test for the LeObject datasource 2015-10-28 16:14:24 +01:00
Roland Haroutiounian
a904ac0a09 PEP8/Pylint on lefactory.py 2015-10-28 14:48:54 +01:00
Roland Haroutiounian
5738bb67cb PEP8/Pylint on LeClass 2015-10-28 14:36:03 +01:00
Roland Haroutiounian
32fe54e205 PEP8 / PyLint on datasources module 2015-10-28 14:32:02 +01:00
Roland Haroutiounian
4bccea4cb6 Corrected a docstring 2015-10-28 13:59:47 +01:00
Roland Haroutiounian
e3dba75747 [#61] Corrected the relational filters parsing method in LeDataSourceSQL 2015-10-23 16:37:47 +02:00
Roland Haroutiounian
f2c721a9ae [#61] Added the first implementation of update and delete functions 2015-10-23 16:13:03 +02:00
Roland Haroutiounian
16e3b2c210 [#61] started the implementation of the update method in LeDataSourceSQL object 2015-10-23 16:13:03 +02:00
Yann
35c749c0f5 Add tests for LeType 2015-10-23 15:54:07 +02:00
Yann
052ddd4ce8 Bugfixes in lefactory and letype
Deleted the classinstancemethod decorator because of inheritance problems (not sure they were real...)
Add a shortcut method to LeFactory to get the generated LeObject class
+ bugfixes
2015-10-23 15:52:35 +02:00
Yann
e207076363 Add a check function for integer fieldtype and make some bugfix in LeType 2015-10-23 14:22:06 +02:00
Yann
ee578c1f89 Add another test for LeObject.get() method 2015-10-23 13:50:58 +02:00
Yann
965560bf6b Add test for LeObject with a mock on the datasource + bugfix on _LeObject and LeType 2015-10-23 12:38:24 +02:00
Roland Haroutiounian
ee89b62f40 [#61] added a default module setting to LeDataSourceSQL object 2015-10-23 12:14:56 +02:00
Roland Haroutiounian
a27aba08f0 [#61] Added a first implementation of the insert method 2015-10-23 12:00:04 +02:00
Yann
f5e79bbac1 Fix bad argument in DummyDatasource 2015-10-23 11:41:34 +02:00
Roland Haroutiounian
7bf9ceb7a3 [#61] pep8 correction 2015-10-23 11:39:40 +02:00
Roland Haroutiounian
8bc93a67d5 [#61] First implementation of the get method in ledatasourcesql 2015-10-23 11:38:46 +02:00
Roland Haroutiounian
dcd65f5f4c [#61] Rewriting the method headers 2015-10-23 11:38:46 +02:00