1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-11-25 23:06:55 +01:00
Commit graph

857 commits

Author SHA1 Message Date
ArnAud
97716da260 sql datasource: get() for a rel2type 2016-01-07 17:28:19 +01:00
ArnAud
cd99fb106b lerelation: instanciate from data 2016-01-07 17:28:19 +01:00
Yann
680ad61036 Fixed LeFactory tests 2016-01-07 17:23:58 +01:00
ArnAud
8eea3495e8 leapi: put name2classname() from LeFactory in _LeCrud to be available everywhere 2016-01-07 17:16:14 +01:00
Yann
52f2bd644f Push forgeted file 2016-01-07 17:14:32 +01:00
Yann
312bfce1cb Update of the install/instance_settings.py file 2016-01-07 17:09:12 +01:00
Yann
d5b866512c New settings handler 2016-01-07 17:09:12 +01:00
Roland Haroutiounian
e79f12c0d8 Added the version number of jinja2 in the requirements file 2016-01-07 16:09:48 +01:00
Yann
ef8f961c2b Removed old code 2016-01-07 14:41:49 +01:00
Yann
9b7d8c0357 Changes the doc and make change in partial instanciation process 2016-01-07 14:39:10 +01:00
Roland Haroutiounian
a13a7f0688 [#100] Added a new entry in the settings 2016-01-07 13:54:36 +01:00
Yann
222f10282d Bugfixes due to properties name changes in LeRelation 2016-01-07 13:52:39 +01:00
Yann
e44dbcbad8 Add -f option to rm in Makefiles and changes 2 properties names in generated code 2016-01-07 13:52:39 +01:00
ArnAud
0cfd0b7f7b leapi: datas() can be in _lecrud 2016-01-07 13:40:49 +01:00
Yann
3dea17d7c4 Fixes incomplete except in fieldtypes to catch cast fails 2016-01-07 13:39:59 +01:00
Yann
801414fcc2 Fix the data value check in generic fieldtype 2016-01-07 13:29:35 +01:00
Yann
0b3f2bae1a New way to instanciate LeCrud child classes
Note : This commit is not complete. It brakes the partial instanciation of classes etc.
2016-01-07 13:20:30 +01:00
ArnAud
642fec49e9 sql datasource tests: repair after changes of utils functions 2016-01-07 12:20:21 +01:00
Yann
b643477e3c Fixing syntax error 2016-01-07 12:03:01 +01:00
Yann
93f7b65172 Add a new fieldtype to handles EM uid 2016-01-07 12:01:48 +01:00
Yann
7756b5b591 Adding the newly added properties to _LeObject and _LeRelation classes 2016-01-07 11:59:59 +01:00
Yann
9711cc65dc Add a new propertie to LeObject dynamic class : _me_uid_field_names (stores the names of the fields _class_id and _type_id) 2016-01-07 11:55:29 +01:00
Yann
3fbe9b69d5 Add 2 properties for LeRel2Type dynamically generated child classes
The two new properties are :
 - superior_cls stores a LeObject child class
 - subordinate_cls stores a LeObject child class
2016-01-07 11:55:29 +01:00
ArnAud
98f02e1630 sql datasource: select/insert for relations 2016-01-07 11:50:17 +01:00
ArnAud
d509fdf196 LeRelation: first draft of method to instanciate from a dict of data 2016-01-07 11:50:17 +01:00
ArnAud
44665600ef leType: relations use superior and subordinate name now 2016-01-07 11:50:17 +01:00
ArnAud
94e6cbf81e LeObject: method to instanciate from a dict of data 2016-01-07 11:50:17 +01:00
ArnAud
942826e5e6 LeClass.fieldlist() returns a list 2016-01-07 11:50:17 +01:00
Yann
be2fe9b7a5 PEP8 + lint on migrationhandler and MySQL/utils 2016-01-06 17:26:24 +01:00
Yann
4b629fee81 More clean on migrationhandler 2016-01-06 17:06:26 +01:00
Yann
6a55df202e Changed the way to instanciate the MigrationHandler to fit with the DataSource 2016-01-06 16:31:50 +01:00
Yann
89667ee1d1 Fixing tests and other classes to fit recent changes 2016-01-06 16:07:24 +01:00
Roland Haroutiounian
4bc15b1f6d [#100] First implementation of a Template module using jinja2 for template rendering 2016-01-06 15:49:42 +01:00
Yann
146c0fd69b Finish the new version of migrationhandler + modifications in leFactory and LeRelation (to handle generic lesup & lesub in LeRelation) 2016-01-06 15:43:04 +01:00
Yann
ee8de38391 Better refreshdyn in install/Makefile 2016-01-06 15:39:05 +01:00
ArnAud
c129ceaa49 sql datasource: refactoring 2016-01-06 15:32:13 +01:00
ArnAud
a3f7cf3fa0 leapi: helper leo_class() to get class of a lodel object 2016-01-06 15:32:13 +01:00
Yann
54af3da85a Modified version of migration handler
This commit is full of bugs (in LeRelation etc.)
2016-01-06 14:46:13 +01:00
Yann
0c046ab0a3 Small bugfixes in utils 2016-01-06 14:45:21 +01:00
ArnAud
16d65606d3 SQL utils: use the right function name 2016-01-06 14:28:04 +01:00
ArnAud
3143719d9c LeCrud: fieldlist() returns a True list 2016-01-06 14:27:02 +01:00
Yann
f033b6c85b Updated install/loader.py to handle settings 2016-01-06 14:03:34 +01:00
Yann
8905246218 New version of MySQL utils 2016-01-06 12:23:47 +01:00
ArnAud
8b5e1411c9 update README file 2016-01-06 11:46:48 +01:00
Yann
06a86af67f README.md + install/Makefile update 2016-01-06 11:32:42 +01:00
ArnAud
c3bfb07246 group for SQL group not groups 2016-01-06 10:09:07 +01:00
Yann
4577f76c09 Bugfixes in Makefile 2015-12-29 15:11:06 +01:00
Yann
cf691c6538 Add a test on LeCrud.select() method (test order, groups, limit and offset arguments) + small bugfixes 2015-12-29 11:35:07 +01:00
Roland Haroutiounian
f3108d95d8 Casts the rank value from the resultset in LeRelation.get_max_rank() to an int 2015-12-18 14:43:47 +01:00
Roland Haroutiounian
e55187cbf7 Fixed the call to get method in LeRelation.get_max_rank() 2015-12-18 14:42:39 +01:00