Yann Weber
921ec3c25a
Unresolved conflict in previous rebase commit
8 jaren geleden
Yann Weber
d2eef44ca7
Plug webui to auth
- Implemeting Client in plugins/webui/client.py
- Calling client in run.py
8 jaren geleden
Roland Haroutiounian
0bd9aeb21f
Small fixes on auth
8 jaren geleden
Roland Haroutiounian
bdcb08e466
Fixed a method syntax in auth.py
8 jaren geleden
Yann Weber
25a231702e
Changed confspec to include Auth specs + em_test modifications
8 jaren geleden
Yann Weber
cda722adda
Commenting
8 jaren geleden
Yann Weber
82f12d95ec
Authentication handlers implementation
- implements a Client abstract singleton class designed to be implemented by UI to be able to register clients informations
- implements a Auth singleton class. Kind of interface between Client singleton and session hanlder plugin
8 jaren geleden
Roland Haroutiounian
e14416470e
turned the Authentication Exceptions to classes
8 jaren geleden
Yann Weber
4b0c8ae0be
Adding more exceptions
8 jaren geleden
Roland Haroutiounian
231b3d89af
Deleted a useless file
8 jaren geleden
Yann Weber
693bfd7a45
Adding a new feature to LeFactory
Now lefactory inject python code from lodel/leapi/lefactory_common.py in generated code
8 jaren geleden
Yann Weber
497d31c6b2
Deleted wrong import
8 jaren geleden
Yann Weber
6e978a4230
Forgotten exceptions file
8 jaren geleden
Yann Weber
c0c1e628fd
Bugfixes on settings default value handling
8 jaren geleden
Yann Weber
748850cf33
Adding a core hook that generate debug log listing registered hooks
8 jaren geleden
Yann Weber
42fc14d7cc
Add a new settings validator named emfield
Check that an EmClass.EmField exsists in dyncode
8 jaren geleden
Yann Weber
48f46d9a56
Fixing indent in validaotr.py
8 jaren geleden
m.orban
c6e798e7e4
Rebase an import. A wrong manipulation on a comment.
8 jaren geleden
Roland Haroutiounian
35e5fc754a
First writing of the auth/session functions
8 jaren geleden
m.orban
cabfd95b73
Added some commentson header function
8 jaren geleden
Yann Weber
2436d397f8
Update in plugins.py
8 jaren geleden
Yann Weber
904d14cae7
Small changes in webui plugin and loader.py
- webui now calls a hook to indicate a session end
- loader.py now set a lodel.dyncode module exposing dynmically generated code
8 jaren geleden
prieto
9769b873e9
Some corrections for interface update object
8 jaren geleden
prieto
b669ca8596
Warning : removed the int to str cast for filter uid in update case
8 jaren geleden
prieto
b0a1be8fcb
Corrections
8 jaren geleden
Yann Weber
dd2f93faea
A lot of small bugfixes
8 jaren geleden
Yann Weber
9c3a770610
Bugfixes on filters handling
- calling check_data_value on filters value to ensure value casting
8 jaren geleden
Yann Weber
703b4adf7e
MongoDB datasource debugging + field_list handling changes in leobject -> query -> datasource chain
8 jaren geleden
Yann Weber
557d277186
Multiple bugfixes + create_instance.sh script update
- Add an update feature to create_instance.sh script
- Updated webui plugin load instruction (running loader.start() in run)
- Updated the way EmCmponents handles EmGroup
- Updated the way EmFields handles EmClass
- Updated xmlfile translator according to EmComponent modification
8 jaren geleden
Yann Weber
91fff4ca1c
Bugfixes on EmGroups handling
8 jaren geleden
Yann Weber
28f45b080f
Bugfixes on model and for test fixing
8 jaren geleden
Yann Weber
69f59baa2c
Bugfix on group activation (in EmClasses all fields were always actives)
8 jaren geleden
Yann Weber
ae8d8c05a6
Bugfix on EM groups handling (now we have to set actives groups in settings)
8 jaren geleden
Yann Weber
2668770369
Begin abstract LeObject child query factorisation in mongodb Datasource
8 jaren geleden
Yann Weber
8e6e60f0f4
Bugfixes concerning UniqID and select on abtract LeObject child
8 jaren geleden
Yann Weber
01566ca815
Exception msg enhancement + use of method instead of protected attr in datasource
8 jaren geleden
Yann Weber
36bded3051
Add the possibility to add custom methods ton LeAPI dynamic objects using plugin
8 jaren geleden
Roland Haroutiounian
6a6396f0d2
Bug fix
8 jaren geleden
Roland Haroutiounian
42ddd6909b
Syntax errors fixed
8 jaren geleden
Yann Weber
1f1e6f13b3
Add a new get_class_childs to Model class and a child_classes method to LeObject
Now lefactory populate a LeObject attribute named _child_classes
8 jaren geleden
Yann Weber
6e89fca151
The automatic UID creation by datasource implementation implies somes changes :
The UniqID datahandler has to call the datasource
LeObject has to be able to determine wich parent class define its UID datahandler
[NOT IMPLEMENTED] the datasource should be able to select with an abstract LeObject as target ( see #92 )
8 jaren geleden
Yann Weber
2faeff1ecb
Implement construct data for datetime + bugfix in datahandler base class
- datahandler base class was not supporting default values due to a bug
- implements the datetime datahandler construct_data method
8 jaren geleden
Yann Weber
0acd3d6612
Bugfixes in query and datasources.
8 jaren geleden
Yann Weber
e3dbdc8e49
Untested but written db initialisation function in install/lodel_admin.py
8 jaren geleden
Yann Weber
4c90b68fda
Bugfix and better exceptions handling in datasource initialization methods
8 jaren geleden
Yann Weber
2da4b82770
Continue to split _init_datasource method of LeObject
8 jaren geleden
Yann Weber
9b3087b363
Continue to prepare MigrationHandler database initialization script
8 jaren geleden
Yann Weber
5ba8fd8e7f
em_test update + DataHandler bugfix & enhancement
8 jaren geleden
Yann Weber
006b0c4bc0
Deleting old stuff + bugfix in install/Makefile and in install/lodel_admin.py
8 jaren geleden
prieto
d24b7a92d6
Comments for doxygene
8 jaren geleden