1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-10-31 19:49:02 +01:00
Commit graph

35 commits

Author SHA1 Message Date
Roland Haroutiounian
5d43f04276 Added documentation on the lodel/auth/exceptions.py module 2017-03-22 11:51:40 +01:00
Yann
e9f8f5e054 Bugfixes makin index of webinterface to work in MULTISITE 2016-11-04 17:15:36 +01:00
Yann
7be6e80e1d Deleted useless exposed module 2016-11-04 16:12:40 +01:00
Yann
5981bdc0e5 Various bugfix in LodelContext integration
- Replaced some "hidden" import with LodelContext.expose_modules calls
 - in some functions of Setting, Plugin, validator
 - in loader.py (temporary version)

In this state the tests runs (151 success), I'm able to run an instance (from debian package using slim) in MONOSITE mode and in MULTISITE mode by creating and loading a context in the loader.
2016-11-03 10:58:38 +01:00
Yann
8085efeb99 Replaced all lodel subthings import by LodelContext.expose_modules calls
Test passes
2016-11-02 16:24:22 +01:00
Yann
8f48612c82 Enables debian package creation
with make deb . Next commit will update the README
2016-09-23 14:34:57 +02:00
Yann
629ac94dc8 Avoiding fails at session_restore
Before when session restore fails the webui was answering "Unknown status 200" as content.
Now it produce 2 log messages (maybe)
2016-09-23 10:12:19 +02:00
Yann
9e3f66b403 Bugfix in autotools dist make target 2016-09-22 14:11:48 +02:00
prieto
6eef088a5c Bugfixe in Client.py 2016-09-07 10:57:30 +02:00
prieto
0b7271529c Merge branch 'master' of git.labocleo.org:lodel2
Conflicts:
	examples/em_test.pickle
	plugins/webui/run.py
2016-09-02 09:47:49 +02:00
prieto
0b62e8151c Demo interface improvements 2016-09-02 09:17:07 +02:00
prieto
33e65b1518 Authentification form in Webui interface 2016-09-01 12:12:59 +02:00
Yann
b5a6adc3a8 Enhancement of distclean target
Now when running distclean ALL files generated by the ./bootstrap && ./configure && make are deleted.
Maybe it's not a good idea because it's not the purpose of distclean target...
2016-08-31 09:26:57 +02:00
Yann
21af2bbcbc Autotools chain enhancement + solves #137
Using $pkgpythondir instead of $pythondir in Makefile.am
Solves a bug that put installed files in site-packages instead of dist-packages on debian
2016-08-30 17:26:32 +02:00
Yann
8316ab82ff Configure autotools for distributing lodel2
IMPORTANT : tests are broken. See details below

A new lodel/buildconf.py.ini file created. It will be transformed to a lodel/buildconf.py file by ./configure .
This file goal is to store build time constant (for the moment the presence of pymongo).
You have to build lodel2 before being able to run the tests.
2016-08-30 14:01:25 +02:00
Yann
611b01fd0e Bugfixes on ram_session on sessions and on cookies
- webui fix in cookies handling
- ram_session fix in token generation (return an str : hex representation of os.urandom(n))
- more fixes in Client session handling
2016-08-25 10:18:23 +02:00
Yann
eef54f2aad Begin session handling with cookies in webui 2016-08-24 17:35:18 +02:00
Yann
1453cf49f9 Plug together Ui <-> client <-> session <-> plugin + bugfixes
Created a new class LodelSession to handle session datas
Created an automatic wrapper to acces to session handler plugin function throug SessionHandlerPlugin class methods
Bugfixes done for plugins. The plugin type is store in __plugin_type___ and not in __type__
2016-08-24 15:09:32 +02:00
Yann
eae2f83891 Connection between WebUi Client & Session started 2016-08-24 15:09:32 +02:00
Yann
ba244bdd82 Modified filesystem_session plugin + start using sessions in client 2016-08-19 17:16:40 +02:00
Yann
ed4d2858b9 Starting again implementation of Auth/Client/Session global handling 2016-08-19 16:26:51 +02:00
Roland Haroutiounian
2cf23a50c8 Changed method types in session module 2016-07-25 08:49:48 +02:00
Roland Haroutiounian
a0818fe410 Changed the sessions management layout 2016-07-22 17:20:43 +02:00
Roland Haroutiounian
fd153057df If a session is not found , None is now returned instead of an empty dict 2016-07-20 14:45:17 +02:00
Roland Haroutiounian
81c20d7b97 Restructured the SessionStore Abstract class 2016-07-13 11:51:16 +02:00
Roland Haroutiounian
e25929d2a9 An abstract SessionStore and the FileSystemSessionStore classes are implemented 2016-07-13 11:39:18 +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
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
Roland Haroutiounian
35e5fc754a First writing of the auth/session functions 2016-07-06 16:00:35 +02:00