Yann
cb5f2f7460
Implements multivalue column
2016-01-14 12:31:08 +01:00
Yann
8211fd5c47
Start multivalueFieldType implementation (in migrationhandler)
2016-01-14 09:50:55 +01:00
Yann
6153ddd323
Add support for multiple PK
2016-01-14 09:50:21 +01:00
Yann
bbf33373d0
New version of fieldtypes class hierarchy + partial migrationhandler adaptation
2016-01-13 17:29:08 +01:00
Roland Haroutiounian
5acf09a1ee
Template Loading doesn't use settings_local anymore
2016-01-13 08:52:57 +01:00
Yann
a56bb65c94
Upgrade the EmClass.check() method making it detect inconsistency between EmClass fields and common_fields defines in EditorialModel.classtypes
...
Note : the check method does not correct the EmFields only displays a warning
2016-01-11 17:30:50 +01:00
Yann
10c3924ec0
Merge branch 'master' of git.labocleo.org:lodel2
2016-01-11 14:04:46 +01:00
Yann
43e8145dab
Implements get_max_rank() in LeApi. Add a fieldtype rank. + A lot of bugfix
...
The me.json was not up to date (Models don't forward classtypes modifications to loaded json file)
Some bugfix on fieldtypes that was not used (because of old me.json)
2016-01-11 14:03:01 +01:00
ArnAud
e00980915c
delete old file
2016-01-08 17:30:51 +01:00
ArnAud
5164adffa3
sql datasource: delete unused methods
2016-01-08 17:13:17 +01:00
ArnAud
5be6c62189
sql datasource: relational filter for hierarchical relations
2016-01-08 17:06:57 +01:00
Roland Haroutiounian
6161420eed
[ #101 ] A default templates_base_directory can be set in the instance settings
2016-01-08 16:07:31 +01:00
Roland Haroutiounian
7f62685695
[ #101 ] TemplateLoader is able to receive custom filters or apis
2016-01-08 14:47:01 +01:00
ArnAud
53663603fa
lecrud: get() flag instanciate to choose to get raw data or objects
2016-01-08 14:26:15 +01:00
Yann
f2a54b72cd
Comments update for doxygen doc
...
Now we have a main page on doxygen
2016-01-08 13:52:37 +01:00
ArnAud
a084678831
sql datasource: update() for rel2type
2016-01-08 13:37:16 +01:00
Yann
b34ce35e85
Removed unused & obsolete code in leapi/letype.py
2016-01-08 12:23:31 +01:00
Yann
94b843e321
Add a new settings debug_sql
2016-01-08 12:23:31 +01:00
ArnAud
ff8b0dd10a
lecrud.update(): do not check data consistency on update: must be done later
2016-01-08 12:19:09 +01:00
Yann
fe6a6f4059
Adding the emgraph rule in install/Makefile
2016-01-08 11:30:38 +01:00
Yann
1aa64505eb
Add a new Makefile rule for instance emgraph that will generate an image representing the instance editorial model
2016-01-08 11:28:03 +01:00
Yann
8133e6c45b
Add settings.py with default value, add migration_handler options + modify migration_handler to handle settings
2016-01-08 10:44:07 +01:00
Yann
c7756f5ea2
Update README and mh comments
2016-01-08 10:04:58 +01:00
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