Commit Graph

22 Commits

Author SHA1 Message Date
Benjamin Dauvergne ba3bd92c6b fix some writing in the README file 2011-09-19 10:17:10 +02:00
Jérôme Schneider e6fc815ff5 Finish mono account management for biblio, improve mapping management
and fix model

 * mandaye/__init__.py: load sqlachemy session
 * mandaye/auth/authform.py: add account management
 * mandaye/auth/vincennes.py: add account management
 * mandaye/configs/biblio_vincennes.py: add vincennes conf
 * mandaye/dispatcher.py; improve mapping management
2011-09-16 19:13:17 +02:00
Jérôme Schneider 7285c43a26 Redisgn mapping to be more fexible, use only one dispatcher and begin
password / site association

* auth/authform.py: class to allow auth form
* config.py: new configuration
* dispatchers/default.py -> dispatcher.py: move default dispatcher
* server.py: change to support the new conf file
* templates/associate.html: html template to associate an account
2011-09-13 19:13:14 +02:00
Jérôme Schneider 6d64b0d2f9 Fix setup.py, fix _404 response and cleaning config file
* mandaye/__init__.py: add mandaye version
* mandaye/config.py: remove Vincennes configuration from the main config
* mandaye/response.py: fix _404 logging
* mandaye/server.py: fix _404 call
* setup.py: rename find_packages
2011-09-12 19:04:36 +02:00
Jérôme Schneider 516df263c4 Add a debug mode and add regexp support for the mapping
* mandaye/config.py: add a generic filter for biblio
 * mandaye/dispatchers/auth.py: improve error management
 * mandaye/dispatchers/default.py: improve mapping support
 * mandaye/filters/vincennes.py: improve error management
 * mandaye/response.py: add debug support and improve the responses
 * mandaye/server.py: improve bad gateway suppport
2011-09-12 16:33:29 +02:00
Jérôme Schneider 7afc5c247d New dispatcher for form authentification, improve mapping support,
add templates support and big cleaning

 * TODO: new file
 * mandaye/config.py: change next_url for biblio mapping and add local
 configuration support
 * mandaye/dispatchers/auth.py: rename authentification dispatcher
 * mandaye/dispatchers/default.py: improve the default dispatcher
 * mandaye/dispatchers/vincennes.py: login through the compte citoyen
 * mandaye/filters/vincennes.py: add a login biblio html filter
 * mandaye/http.py: fix HTTPResponse
 * mandaye/response.py: improve the responses
 * mandaye/server.py: cleaning
 * mandaye/templates/response.html: html template for the responses
 * setup.py: add breaker, sqlalchemy and mako
2011-09-09 17:59:22 +02:00
Jérôme Schneider 2b114abe74 Fix hook call and cleaning
* mandaye/dispatchers/default.py: fix hook call
2011-09-06 19:35:15 +02:00
Jérôme Schneider fff050a09b Impletation of the new mapping 2011-09-06 19:11:30 +02:00
Jérôme Schneider a3e3adba46 Working revision: Add mapping configuration and a begin to supoort
session
2011-09-02 19:28:49 +02:00
Jérôme Schneider df2bb7d0e6 Password replay works for biblio vincennes 2011-09-01 18:54:15 +02:00
Jérôme Schneider 4cf4f02350 Begin biblio support 2011-08-31 19:54:24 +02:00
Jérôme Schneider 0845d350b9 Refactor to allow password replay
* mandaye/filters/cookie.py: move to MandayeFilters class
 * mandaye/filters/header.py: move to MandayeFilters class
 * mandaye/http.py: new Mandaye HTTP: Response, Request and Header
 * mandaye/server.py: big cleaning
 * mandaye/filters/default.py: new MandayeFilters filter class which
 containt default Mandaye filters
2011-08-30 12:19:20 +02:00
Jérôme Schneider 8d627c97c5 Fix cookie maangement 2011-08-26 19:41:01 +02:00
Jérôme Schneider 56531f1a5b Add filters support support for the cookies and the headers
* mandaye/server.py: cleaning and debuging
 * mandaye/filters/header.py: fix buges and use the new HTTPHeader class
 * mandaye/headers.py: create HTTPHeader class wich manage http header
 for Mandaye usages
2011-08-25 19:13:42 +02:00
Jérôme Schneider a762324174 Working version 2011-08-24 19:23:26 +02:00
Jérôme Schneider 100ca8fea0 Mandaye now working for a basic reverse proxy
* mandaye/dispatchers/default.py; fix target
 * mandaye/handlers/default.py: add urllib2 handlers
 * mandaye/response.py: fix headers
 * mandaye/server.py: fix the server
 * pocs/poc1.py: revert to 6e75df935d
2011-08-10 18:15:26 +02:00
Jérôme Schneider 8ceb28cae8 Begin Mandaye true project based on poc1.py
* COPYING: Mandaye's license
 * README.rst: begin of a readme
 * mandaye.py: script to launch the project
 * mandaye/: mandaye python module
 * mandaye/config.py: frst version of the Mandaye configuration file
 * mandaye/dispatchers/default.py: begin a draft of the default dispatcher
 * mandaye/response.py: mandaye http responses
 * mandaye/server.py: mandaye server based on gevent wsgi server
 * mandaye/utils.py: mandaye utils, only URlInfo at the moment
 * mandaye/filters: I need to do that :)
 * mandaye/handlers: todo
 * setup.py: first version of the installer using setuptools

Happy holidays guys ;)
2011-08-04 19:28:16 +02:00
Jérôme Schneider 6e75df935d Fix cookie and redirection management and a TODO list
- Disable urllib2 auto redirection with a handler
 - Fix HTTP response 304
 - Fix cookies management
2011-08-03 15:29:57 +02:00
Jérôme Schneider e17161732b Forward browser request to the rp request 2011-07-28 19:52:51 +02:00
Jérôme Schneider 3861796033 First draft of the first poc 2011-07-28 18:14:09 +02:00
Thomas NOËL b1fed410fa [pocs] gevent.pywsgi tests 2011-07-26 14:53:59 +02:00
Jérôme Schneider b67dadcccf first commit 2011-07-26 14:53:22 +02:00