1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2026-03-22 02:52:02 +01:00
Commit graph

747 commits

Author SHA1 Message Date
Yann
df40d5f17d Updated fieldtypes to make easier the check_data_value inheritance 2015-11-26 17:14:05 +01:00
Yann
9cc1e8ab96 Started LeRelation and childs implementation
Begin to work on fieldtypes
2015-11-26 16:56:41 +01:00
ArnAud
386a761db1 sql datasource: insert an object 2015-11-26 14:45:31 +01:00
Yann
0349007243 Added tests + bugfix on LeType __init__ method 2015-11-26 14:43:05 +01:00
Yann
bbdee7d082 Tests + bugfixes on LeCrud LeObject LeClass and LeType delete and get methods 2015-11-26 14:29:25 +01:00
Yann
281acd45f9 Bugfix in insert calls in Lecrud + Tests bugfix 2015-11-26 11:31:41 +01:00
Yann
52cbce9865 Changed LeFactory generated code (again) + Bugfix on LeCrud + more tests and tests update 2015-11-26 11:05:51 +01:00
Yann
1558dcf519 Updated LeFactory. Now generating LeClass and LeType from _LeClass and _LeType 2015-11-26 10:39:01 +01:00
Yann
aae570e5bc Bugfix + added some tests to LeCrud 2015-11-25 17:34:39 +01:00
ArnAud
c4f36b9c2d lecrud: raise the appropriate error 2015-11-25 17:20:43 +01:00
Yann
d44d86cb79 Bugfix and better implementation of _LeCrud.check_datas_value() 2015-11-25 17:00:08 +01:00
Yann
9cbef1179b More methods implementations in LeCrud
Implements update, delete, insert and delete_multi (not tested)
2015-11-25 16:42:19 +01:00
ArnAud
3c1aa67ea7 fieldtypes: should now return (value, error) 2015-11-25 16:29:29 +01:00
Yann
4fedabcf88 Move and skip some tests 2015-11-25 14:37:34 +01:00
Yann
1a561bf6ff Moved the check_datas_value method to lecrud + small bufixes 2015-11-25 14:26:36 +01:00
Yann
432de540e9 Implementing get and tools functions in LeCrud (deleting most of them from _LeObject)
Skipping a lot of tests
2015-11-25 12:06:28 +01:00
ArnAud
cfbe4ba6db leo: first draft of check data workflow 2015-11-25 12:01:13 +01:00
Yann
169fc906c0 Bugfix in Lefactory, changed parent class list (LeObject last) 2015-11-25 12:00:54 +01:00
Yann
187886362d Updated LeFactory generated code and LeFactory class itself
Bugfixes in generated code imports
Enhancement on generated classes retrieval
2015-11-20 14:28:41 +01:00
ArnAud
d854b468e0 Lodel: first draft of Settings class 2015-11-20 14:04:41 +01:00
ArnAud
147cadc377 fieldtypes: use relative import 2015-11-20 12:05:33 +01:00
Roland Haroutiounian
0375755f3e [#85] Update method now uses the relationnal filters 2015-11-20 10:55:40 +01:00
Yann
0af03c93d6 Import Bugfix + LeFactory generated code update 2015-11-20 10:39:53 +01:00
Roland Haroutiounian
10b47324ed Merge branch 't85' 2015-11-20 09:05:46 +01:00
Roland Haroutiounian
eca769f3ee [#85] Deleted an old TODO item 2015-11-20 09:05:18 +01:00
Roland Haroutiounian
9d3948be43 Merge branch 't85' 2015-11-20 09:04:48 +01:00
Roland Haroutiounian
dca5d2d1ca [#85] The update method of the LeDataSourceSQL class returns the number of updated rows 2015-11-20 09:04:02 +01:00
Roland Haroutiounian
37551572d4 Merge branch 't85' 2015-11-19 17:18:23 +01:00
Roland Haroutiounian
da8c8ec532 [#85] The delete method of LeDataSourceSQL returns the number of deleted rows 2015-11-19 17:17:48 +01:00
Roland Haroutiounian
53fd9e77bb Merge branch 't85' 2015-11-19 16:54:28 +01:00
Roland Haroutiounian
235ea74d9b [#85] Partial reimplementation of leDataSourceSQL 2015-11-19 16:47:58 +01:00
ArnAud
179d0c3a7e delete old code 2015-11-19 16:30:14 +01:00
Yann
e335019f79 Renamed the package leobject in leapi 2015-11-19 16:10:18 +01:00
Yann
76e2cc0d4e LeFactory update : LeCrud concrete object code is now generated + removed some obsolete class attributes of _LeObject
Updated the _LeObject tests to use the dynamic code
2015-11-19 15:58:17 +01:00
Yann
24ec892152 LeCrud : implementation started 2015-11-19 15:00:19 +01:00
Yann
dcc9fd0cf0 Updated fieldtypes check function to fit with the futur LeCrud 2015-11-19 14:47:24 +01:00
Yann
287504555c Fixed typo in dummy datasource 2015-11-19 12:20:28 +01:00
ArnAud
9fdb73106d SQL: do queries in one function 2015-11-19 12:05:16 +01:00
Yann
f99f74fcb1 Updated the dummydatasource interface + skipping some tests 2015-11-19 11:59:33 +01:00
Yann
0e5df59c37 Disable a superfluous test and add warning comments 2015-11-18 10:50:16 +01:00
Yann
74b5461abe Deleting the EditorialModel from leobject API generated code 2015-11-18 10:38:23 +01:00
Yann
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
2015-11-18 10:36:08 +01:00
ArnAud
8c47a604cb migration handler SQL: use new style to create column 2015-11-13 17:20:15 +01:00
ArnAud
4f1fc375eb mosql utils: no quote around column definitions 2015-11-13 17:15:55 +01:00
ArnAud
e062f1697a SQL datasource: use args from the settings 2015-11-13 16:55:56 +01:00
Roland Haroutiounian
d1034a643c PEP8/PyLint on types.py 2015-11-13 11:52:10 +01:00
Roland Haroutiounian
8c814e315e PEP8/Pylint on randomem.py 2015-11-13 11:50:32 +01:00
Roland Haroutiounian
3090208987 PEP8/Pylint on model.py 2015-11-13 11:47:47 +01:00
Roland Haroutiounian
a07f0a10af PEP8/PyLint on fields.py 2015-11-13 11:36:26 +01:00
Roland Haroutiounian
6a5136d728 PEP8/PyLint on classtypes.py 2015-11-13 11:20:33 +01:00