Commit Graph

505 Commits

Author SHA1 Message Date
Jérôme Schneider bd7f98a776 Fix Ciril plugin for the new release 2011-09-08 15:25:31 +02:00
Jérôme Schneider 009bafa773 Cleanning repository 2011-04-21 18:43:59 +02:00
jschneider 17223c80ca Update website for the 1.1.1 release
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@503 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2010-07-20 17:00:06 +00:00
jschneider d03cb81c13 Tagging release 1.1.1
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@502 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2010-07-20 16:46:13 +00:00
jschneider bf4dc04c1e Remove non-ASCII characters in the setup.py
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@501 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2010-07-20 16:30:11 +00:00
jschneider 3f636f60e9 Update setup.py release and maintainer
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@500 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2010-07-20 16:27:15 +00:00
jschneider bcbb92e356 Fix documentation links
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@499 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2010-07-20 08:58:53 +00:00
jschneider f2d1e7cb02 Update Debian dependencies
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@498 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2010-07-20 08:51:22 +00:00
jschneider ef5f13847b Add SAML 2.0 in the features list
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@497 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2010-07-19 17:10:51 +00:00
jschneider 9a58d86980 Update the site for the 1.1 release
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@496 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2010-07-19 17:07:07 +00:00
jschneider fbc553d32f Cleaning Debian packaging and removing a useless import
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@495 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2010-07-19 16:43:21 +00:00
jschneider 8b0c214baa Tagging the 1.1 release of the Larpe project
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@494 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2010-07-19 11:45:15 +00:00
jschneider 4c6535d6bf Larpe 1.1 should be ready
* debian/changelog: Add 1.1 release
 * po/fr.po: Update french translation


git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@493 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2010-07-19 11:29:03 +00:00
jschneider 051fa1609b Add manual plugin selection
* larpe/admin/hosts.ptl: add a field to select a plugin
 * larpe/plugins/site_authentication_plugins.py: add a method
   which returns the plugins name
 * po/fr.po: add french translations

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@492 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-11-17 15:59:05 +00:00
jschneider 975848b053 Remove a debug print
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@491 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-11-17 15:59:03 +00:00
jschneider 439f900665 Fix a little bug with the output_filters list overload
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@490 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-10-20 14:27:52 +00:00
jschneider 3d0cfe2509 Larpe now manage custom output filters in plugin
* conf/filters: folder with filter templates
    * conf/filters/output_ciril_net_rh.py: output filter for Ciril which
      control if the user is authenticate in larpe
    * larpe/Defaults.py: remove useless OUTPUT_FILTER_BASE parameter
    * larpe/admin/hosts.ptl: manage multi filters with plugins
    * larpe/plugins/site_authentication/ciril_net_rh.py: load Ciril
      filter
    * setup.py: cosmetic

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@489 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-10-20 13:08:42 +00:00
jschneider 555be63708 Use RedirectMatch instead of rewrite rules in apache configuration
* larpe/admin/apache.py: use RedirectMatch and fix a rules when the
   homepage is redirect to the login page

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@488 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-10-12 15:53:03 +00:00
jschneider cae1c5d786 ignore_errors must be in the select ...
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@487 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-10-09 15:50:10 +00:00
jschneider 99532c2f49 Doesn't raise a KeyError when the serialized user
is corrupted

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@486 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-10-09 15:34:23 +00:00
jschneider 51c1afbec9 Fixed apache vhost generation
* larpe/admin/apache.py: cosmetic changes
 * larpe/admin/hosts.ptl: initialize apache_python_paths and
   apache_output_python_filters correctly and optimize the code
 * larpe/site_authentication.ptl: get_filters must return an iterable
   object

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@485 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-10-02 16:32:22 +00:00
jschneider f85cca1257 Fix logout bug
* larpe/saml2.ptl: there is not always a cookie attribute in session
   and the recuperation of the user object was wrong

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@484 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-09-30 17:02:36 +00:00
jschneider 396bcbfe85 Syntax fix
* larpe/site_authentication.ptl: bad string syntax

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@483 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-09-30 11:26:08 +00:00
jschneider b219c94759 Bug fixes in logout
* larpe/saml2.ptl: bad variables name and code cleaning
 * larpe/site_authentication.ptl: fix bugs in local_logout

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@482 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-09-30 10:19:22 +00:00
bdauvergne dddf6c4132 Fix logout one more time
- larpe/sessions.py:
   when expiring a session, remove all data indexed by the providerId
 - larpe/site_authentication.py:
   allows to give directly the list of cookies to local_logout(), bypass
   the fact that cookies are stored in Federation object that are by
   identity and by session objects (but cookies are by session). The
   result is that if the user clean its cookies, re-login on the same
   larpe SP, at next logout, the first session will not be logged out,
   but larpe could perfectly terminate it if the cookies had been kept
   somewhere.
 - larpe/saml2.ptl:
   do not kill session during logout, you never know if they are not
   shared with another service provider (they are used by all site
   behind larpe ;( ). instead clean up data indexed by provider Id, and
   ask for local_logout() and expire_session() to run.

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@481 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-09-29 09:25:06 +00:00
bdauvergne 584d05cc70 Fix bug introduced in commit 478
* larpe/saml2.ptl:
   restore lasso_session_index.

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@480 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-09-28 13:25:28 +00:00
bdauvergne 6fc7839442 Upse singleLogout by redirect with sessionIndex usage
* larpe/saml2.ptl:
   use sessionIndex to find a session when logout by redirect does not
   give the right session.

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@479 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-09-28 13:25:27 +00:00
bdauvergne b54fb9e091 Use session_index to find session to logout
* larpe/session.py:
   add two dictionnaries larpe_session_indexes and
   larpe_session_name_identifiers to cache sessionIndex and
   nameIdentifier received from authentication assertion, and use them
   to find session to logout when receiving logout request.
 * larpes/saml2.ptl:
   implement logout using the new dictionnaries to find sessions.

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@478 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-09-28 13:19:50 +00:00
jschneider 319d6d64e9 Change re options for filters
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@477 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-09-23 15:09:56 +00:00
jschneider 4d37015708 Add filters feature for plugins
* larpe/admin/hosts.ptl: allows to add custom filters
 * larpe/plugins/site_authentication/ciril_net_rh.py: add logout support
   with a filter

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@476 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-09-23 13:33:49 +00:00
jschneider 246198044e Improve Ciril plugin
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@475 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-09-17 11:48:47 +00:00
jschneider 08d498e6aa Fix site authentification plugins management
* larpe/plugins/site_authentication_plugins.py: New site
   authentification plugin management

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@474 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-09-17 11:48:45 +00:00
jschneider 033ff593d8 Fix bugs and a security issue
* admin/hosts.ptl: bad variable name
 * admin/users.ptl: fix the ctach of the EmailErorr exception
 * errors.ptl: cast "after_url" to string
 * sessions.py: fix security issue: session attributtes was shared by
   everybody
 * po/fr.po: translate everything

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@473 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-09-16 13:06:47 +00:00
bdauvergne 298ab6e5aa Do no presume there is at least one host
* larpe/session.py:
   list can be empty, do not subscript wihtout knowing it's not empty.

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@472 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-04-27 13:02:38 +00:00
bdauvergne e69a4ca86b Add stdandard command line options
* larpe/ctl/start.py:
   add standard options --http, --data-dir, --app-dir.
   --script-name cannot be used with http.

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@471 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-04-27 13:02:37 +00:00
bdauvergne f612aba869 Adapt to python2.6
* larpe/__init__.py:
 * larpe/admin/__init__.py:
   add code to support quixote and python 2.6

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@470 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-04-27 13:02:35 +00:00
dlaniel 5309a31a7c removed obsolete debian packaging script
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@469 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-03-09 15:53:44 +00:00
dlaniel 4e795057a5 merged last fixes from trunk
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@468 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-03-09 15:36:52 +00:00
dlaniel c11ed6dae1 updated standards version and depends on shlibs because of larpe-reload-apache2 binary
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@467 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-03-09 15:30:35 +00:00
dlaniel 57748e3bee wrap too long line
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@466 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-03-09 15:29:24 +00:00
dlaniel 1a482efcb9 removed unused debconf template
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@465 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-03-09 15:29:05 +00:00
dlaniel e55d327f1d removed useless js dir
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@464 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-03-09 15:19:16 +00:00
dlaniel 5f32240fac updated translations line numbers
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@463 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-03-09 15:18:46 +00:00
dlaniel a18aaa216a removed unused filter dir
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@462 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-03-09 15:02:26 +00:00
dlaniel 4dc72b40aa 1.0 release
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@461 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-03-09 14:54:38 +00:00
dlaniel d6e10f1836 completed NEWS file and debian changelog
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@460 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-03-09 14:50:29 +00:00
dlaniel 1237f6e751 updated translations line numbers
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@459 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-03-09 14:49:55 +00:00
dlaniel 9829fe7711 updated Fedora packaging files
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@458 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-03-09 14:45:18 +00:00
dlaniel b606112554 use soap_call and SOAPException from qommon
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@457 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-03-09 14:26:52 +00:00
dlaniel 96e8fcf660 removed useless code
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@456 3ed937ae-f919-0410-9a43-8e6f19e4ba6e
2009-03-09 14:22:03 +00:00