Yann Weber
bf44d66440
Changed the _fields properties of LeType child classes in dynamic code + adding complete argument to fieldlist() and fieldtypes() methods
+ tests
9 years ago
Yann Weber
5ad9c27a07
Introducing the notion of immutable fieldtypes for classtypes fields definition
9 years ago
Roland Haroutiounian
9d591399e4
Changed the sample display of request parameters in the index routing method
9 years ago
Roland Haroutiounian
220f7ea7c3
Merge branch 'flask'
9 years ago
Roland Haroutiounian
5570fe1473
The index method of the routing is parsing the url elements and arguments
9 years ago
Roland Haroutiounian
bbb4756f57
Flask is implemented with a Router module to parse and deal with url elements and params
9 years ago
Yann Weber
f28c941a38
Add a forgotten file (namerelation)
9 years ago
Yann Weber
4556de146a
Updated install/em.json
9 years ago
Roland Haroutiounian
6708eed425
Added Flask to the requirements
9 years ago
Yann Weber
37edad7b1f
Implements handling of relation_name field in relation common fields
9 years ago
Yann Weber
da89046c33
Add the relation_name field to relation_common_fields list
We have to create a special fieldtype to handle this field
9 years ago
Yann Weber
7b1152e444
Fixing syntax error in join & format fieldtypes
9 years ago
Yann Weber
c5a5b10b4a
Untested implementation of join fieldtype and format fieldtype
9 years ago
Yann Weber
b7c957e47e
Renamed concat fieldtype in join + comments in generic fieldtype
9 years ago
Yann Weber
e90ea6e39d
Bugfix on multivalue field deletion
9 years ago
Yann Weber
aaaf0af558
Add support for multivalue field deletion (unstested)
9 years ago
Yann Weber
93980d68a0
Merge branch 'master' into datasource_fieldtypes
9 years ago
Yann Weber
e7c1af45d9
Code cleaning for generic fieldtype
9 years ago
Yann Weber
eaca82da1f
Implements automatic concatenation fieldtype
9 years ago
Yann Weber
1daf9677c6
Implements order in fieldtype construct
9 years ago
Yann Weber
03ab4b0c59
Merge commit '8971cff64e ' into datasource_fieldtypes
Fixing settings
9 years ago
Yann Weber
173564b7ee
New constants in EditorialModel.classtypes
9 years ago
Yann Weber
cb5f2f7460
Implements multivalue column
9 years ago
Roland Haroutiounian
aadf063a10
[#101 ] Fixed the template creation process
9 years ago
Yann Weber
8211fd5c47
Start multivalueFieldType implementation (in migrationhandler)
9 years ago
Yann Weber
6153ddd323
Add support for multiple PK
9 years ago
Roland Haroutiounian
ba725a5cdb
[#101 ] The makefile is now creating the templates of an instance of Lodel2, extending the basis templates
9 years ago
Roland Haroutiounian
fcc3c71a27
[#101 ] A template folder is available in Lodel2's root, containing the common templates for all the websites
9 years ago
Roland Haroutiounian
80736f7f79
[#101 ] Changed the import method for the exceptions
9 years ago
Roland Haroutiounian
d70ee58cd0
[#101 ] The Template package now contains "exceptions" and "api" subpackages
9 years ago
Yann Weber
bbf33373d0
New version of fieldtypes class hierarchy + partial migrationhandler adaptation
9 years ago
Roland Haroutiounian
9d33c7a3e0
A default templates API is available in the Template package
9 years ago
Roland Haroutiounian
8971cff64e
Added the "base_path" setting to the mandatory list
9 years ago
Roland Haroutiounian
f46e91f6d3
The format for giving custom modules to import in templates is documented
9 years ago
Roland Haroutiounian
7831378575
Makefile contains a command to create the default directories of an instance
9 years ago
Roland Haroutiounian
5acf09a1ee
Template Loading doesn't use settings_local anymore
9 years ago
Yann Weber
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
9 years ago
Yann Weber
10c3924ec0
Merge branch 'master' of git.labocleo.org:lodel2
9 years ago
Yann Weber
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)
9 years ago
ArnAud
e00980915c
delete old file
9 years ago
ArnAud
5164adffa3
sql datasource: delete unused methods
9 years ago
ArnAud
5be6c62189
sql datasource: relational filter for hierarchical relations
9 years ago
Roland Haroutiounian
6161420eed
[#101 ] A default templates_base_directory can be set in the instance settings
9 years ago
Roland Haroutiounian
7f62685695
[#101 ] TemplateLoader is able to receive custom filters or apis
9 years ago
ArnAud
53663603fa
lecrud: get() flag instanciate to choose to get raw data or objects
9 years ago
Yann Weber
f2a54b72cd
Comments update for doxygen doc
Now we have a main page on doxygen
9 years ago
ArnAud
a084678831
sql datasource: update() for rel2type
9 years ago
Yann Weber
b34ce35e85
Removed unused & obsolete code in leapi/letype.py
9 years ago
Yann Weber
94b843e321
Add a new settings debug_sql
9 years ago
ArnAud
ff8b0dd10a
lecrud.update(): do not check data consistency on update: must be done later
9 years ago