Roland Haroutiounian
220f7ea7c3
Merge branch 'flask'
пре 9 година
Roland Haroutiounian
5570fe1473
The index method of the routing is parsing the url elements and arguments
пре 9 година
Roland Haroutiounian
bbb4756f57
Flask is implemented with a Router module to parse and deal with url elements and params
пре 9 година
Roland Haroutiounian
6708eed425
Added Flask to the requirements
пре 9 година
Roland Haroutiounian
aadf063a10
[#101 ] Fixed the template creation process
пре 9 година
Roland Haroutiounian
ba725a5cdb
[#101 ] The makefile is now creating the templates of an instance of Lodel2, extending the basis templates
пре 9 година
Roland Haroutiounian
fcc3c71a27
[#101 ] A template folder is available in Lodel2's root, containing the common templates for all the websites
пре 9 година
Roland Haroutiounian
80736f7f79
[#101 ] Changed the import method for the exceptions
пре 9 година
Roland Haroutiounian
d70ee58cd0
[#101 ] The Template package now contains "exceptions" and "api" subpackages
пре 9 година
Roland Haroutiounian
9d33c7a3e0
A default templates API is available in the Template package
пре 9 година
Roland Haroutiounian
8971cff64e
Added the "base_path" setting to the mandatory list
пре 9 година
Roland Haroutiounian
f46e91f6d3
The format for giving custom modules to import in templates is documented
пре 9 година
Roland Haroutiounian
7831378575
Makefile contains a command to create the default directories of an instance
пре 9 година
Roland Haroutiounian
5acf09a1ee
Template Loading doesn't use settings_local anymore
пре 9 година
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 година
Yann Weber
10c3924ec0
Merge branch 'master' of git.labocleo.org:lodel2
пре 9 година
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 година
ArnAud
e00980915c
delete old file
пре 9 година
ArnAud
5164adffa3
sql datasource: delete unused methods
пре 9 година
ArnAud
5be6c62189
sql datasource: relational filter for hierarchical relations
пре 9 година
Roland Haroutiounian
6161420eed
[#101 ] A default templates_base_directory can be set in the instance settings
пре 9 година
Roland Haroutiounian
7f62685695
[#101 ] TemplateLoader is able to receive custom filters or apis
пре 9 година
ArnAud
53663603fa
lecrud: get() flag instanciate to choose to get raw data or objects
пре 9 година
Yann Weber
f2a54b72cd
Comments update for doxygen doc
Now we have a main page on doxygen
пре 9 година
ArnAud
a084678831
sql datasource: update() for rel2type
пре 9 година
Yann Weber
b34ce35e85
Removed unused & obsolete code in leapi/letype.py
пре 9 година
Yann Weber
94b843e321
Add a new settings debug_sql
пре 9 година
ArnAud
ff8b0dd10a
lecrud.update(): do not check data consistency on update: must be done later
пре 9 година
Yann Weber
fe6a6f4059
Adding the emgraph rule in install/Makefile
пре 9 година
Yann Weber
1aa64505eb
Add a new Makefile rule for instance emgraph that will generate an image representing the instance editorial model
пре 9 година
Yann Weber
8133e6c45b
Add settings.py with default value, add migration_handler options + modify migration_handler to handle settings
пре 9 година
Yann Weber
c7756f5ea2
Update README and mh comments
пре 9 година
ArnAud
97716da260
sql datasource: get() for a rel2type
пре 9 година
ArnAud
cd99fb106b
lerelation: instanciate from data
пре 9 година
Yann Weber
680ad61036
Fixed LeFactory tests
пре 9 година
ArnAud
8eea3495e8
leapi: put name2classname() from LeFactory in _LeCrud to be available everywhere
пре 9 година
Yann Weber
52f2bd644f
Push forgeted file
пре 9 година
Yann Weber
312bfce1cb
Update of the install/instance_settings.py file
пре 9 година
Yann Weber
d5b866512c
New settings handler
пре 9 година
Roland Haroutiounian
e79f12c0d8
Added the version number of jinja2 in the requirements file
пре 9 година
Yann Weber
ef8f961c2b
Removed old code
пре 9 година
Yann Weber
9b7d8c0357
Changes the doc and make change in partial instanciation process
пре 9 година
Roland Haroutiounian
a13a7f0688
[#100 ] Added a new entry in the settings
пре 9 година
Yann Weber
222f10282d
Bugfixes due to properties name changes in LeRelation
пре 9 година
Yann Weber
e44dbcbad8
Add -f option to rm in Makefiles and changes 2 properties names in generated code
пре 9 година
ArnAud
0cfd0b7f7b
leapi: datas() can be in _lecrud
пре 9 година
Yann Weber
3dea17d7c4
Fixes incomplete except in fieldtypes to catch cast fails
пре 9 година
Yann Weber
801414fcc2
Fix the data value check in generic fieldtype
пре 9 година
Yann Weber
0b3f2bae1a
New way to instanciate LeCrud child classes
Note : This commit is not complete. It brakes the partial instanciation of classes etc.
пре 9 година
ArnAud
642fec49e9
sql datasource tests: repair after changes of utils functions
пре 9 година