Roland Haroutiounian
1849ddd48e
Docstring
2016-07-08 16:37:07 +02:00
Yann
921ec3c25a
Unresolved conflict in previous rebase commit
2016-07-07 17:42:49 +02:00
Yann
d2eef44ca7
Plug webui to auth
...
- Implemeting Client in plugins/webui/client.py
- Calling client in run.py
2016-07-07 17:41:56 +02:00
Roland Haroutiounian
0bd9aeb21f
Small fixes on auth
2016-07-07 17:12:24 +02:00
Roland Haroutiounian
bdcb08e466
Fixed a method syntax in auth.py
2016-07-07 16:47:56 +02:00
Yann
25a231702e
Changed confspec to include Auth specs + em_test modifications
2016-07-07 16:35:28 +02:00
Yann
cda722adda
Commenting
2016-07-07 16:26:35 +02:00
Yann
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
2016-07-07 16:25:24 +02:00
Roland Haroutiounian
e14416470e
turned the Authentication Exceptions to classes
2016-07-07 15:47:55 +02:00
Yann
4b0c8ae0be
Adding more exceptions
2016-07-07 15:32:26 +02:00
Roland Haroutiounian
231b3d89af
Deleted a useless file
2016-07-07 14:05:25 +02:00
Yann
693bfd7a45
Adding a new feature to LeFactory
...
Now lefactory inject python code from lodel/leapi/lefactory_common.py in generated code
2016-07-07 12:21:03 +02:00
Yann
497d31c6b2
Deleted wrong import
2016-07-06 17:36:15 +02:00
Yann
6e978a4230
Forgotten exceptions file
2016-07-06 17:35:27 +02:00
Yann
c0c1e628fd
Bugfixes on settings default value handling
2016-07-06 17:33:43 +02:00
Yann
748850cf33
Adding a core hook that generate debug log listing registered hooks
2016-07-06 17:33:43 +02:00
Yann
42fc14d7cc
Add a new settings validator named emfield
...
Check that an EmClass.EmField exsists in dyncode
2016-07-06 17:33:43 +02:00
Yann
48f46d9a56
Fixing indent in validaotr.py
2016-07-06 17:33:42 +02:00
m.orban
c6e798e7e4
Rebase an import. A wrong manipulation on a comment.
2016-07-06 17:05:16 +02:00
Roland Haroutiounian
35e5fc754a
First writing of the auth/session functions
2016-07-06 16:00:35 +02:00
m.orban
0ffbe0845a
Merge branch 'newlodel' of git.labocleo.org:lodel2 into newlodel
2016-07-06 14:10:42 +02:00
m.orban
cabfd95b73
Added some commentson header function
2016-07-06 14:10:01 +02:00
Yann
2436d397f8
Update in plugins.py
2016-07-06 10:37:43 +02:00
Yann
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
2016-07-06 09:17:47 +02:00
prieto
9769b873e9
Some corrections for interface update object
2016-07-05 15:32:43 +02:00
prieto
b669ca8596
Warning : removed the int to str cast for filter uid in update case
2016-07-05 15:30:46 +02:00
prieto
b0a1be8fcb
Corrections
2016-07-05 11:57:47 +02:00
Yann
dd2f93faea
A lot of small bugfixes
2016-06-30 17:43:49 +02:00
Yann
9c3a770610
Bugfixes on filters handling
...
- calling check_data_value on filters value to ensure value casting
2016-06-30 14:38:13 +02:00
Yann
703b4adf7e
MongoDB datasource debugging + field_list handling changes in leobject -> query -> datasource chain
2016-06-30 14:16:29 +02:00
Yann
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
2016-06-30 11:18:33 +02:00
Yann
91fff4ca1c
Bugfixes on EmGroups handling
2016-06-30 09:26:17 +02:00
Yann
28f45b080f
Bugfixes on model and for test fixing
2016-06-29 15:38:36 +02:00
Yann
69f59baa2c
Bugfix on group activation (in EmClasses all fields were always actives)
2016-06-29 15:03:51 +02:00
Yann
ae8d8c05a6
Bugfix on EM groups handling (now we have to set actives groups in settings)
2016-06-29 14:35:12 +02:00
Yann
2668770369
Begin abstract LeObject child query factorisation in mongodb Datasource
2016-06-24 15:54:58 +02:00
Yann
8e6e60f0f4
Bugfixes concerning UniqID and select on abtract LeObject child
2016-06-24 14:29:21 +02:00
Yann
01566ca815
Exception msg enhancement + use of method instead of protected attr in datasource
2016-06-24 13:54:34 +02:00
Yann
36bded3051
Add the possibility to add custom methods ton LeAPI dynamic objects using plugin
2016-06-24 13:47:34 +02:00
Roland Haroutiounian
6a6396f0d2
Bug fix
2016-06-24 12:24:49 +02:00
Roland Haroutiounian
42ddd6909b
Syntax errors fixed
2016-06-24 09:57:40 +02:00
Yann
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
2016-06-22 17:03:15 +02:00
Yann
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 )
2016-06-22 14:20:46 +02:00
Yann
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
2016-06-22 11:31:35 +02:00
Yann
0acd3d6612
Bugfixes in query and datasources.
2016-06-22 11:12:27 +02:00
Yann
e3dbdc8e49
Untested but written db initialisation function in install/lodel_admin.py
2016-06-17 14:57:54 +02:00
Yann
4c90b68fda
Bugfix and better exceptions handling in datasource initialization methods
2016-06-17 14:35:55 +02:00
Yann
2da4b82770
Continue to split _init_datasource method of LeObject
2016-06-17 14:23:17 +02:00
Yann
9b3087b363
Continue to prepare MigrationHandler database initialization script
2016-06-16 17:36:00 +02:00
Yann
5ba8fd8e7f
em_test update + DataHandler bugfix & enhancement
2016-06-16 16:36:16 +02:00