Commit Graph

1498 Commits

Author SHA1 Message Date
Benjamin Dauvergne 91c74810f2 Do not fail in last_modified if file is absent
* wcs/qommon/storage.py:
   in last_modified generic implementations do not fail when stat fails
   (usually because the file/directory does not exist), instead return
   current time.
2009-04-14 07:25:01 +00:00
Frédéric Péters b0467928df docs are not shipped in tarball 2009-04-14 06:35:16 +00:00
Benjamin Dauvergne 86bca7f91b fix typo in commit 1498 2009-04-11 20:55:22 +00:00
Benjamin Dauvergne 00ca3f0b24 Add last_modified and last_modified_id to StorableObject
* qommon/storage.py:
   those methods can be used to help user-agent caching of page
   depending solely upon the content of a type of objects, like much of
   the admin pages.
2009-04-10 20:09:59 +00:00
Frédéric Péters be0cad4fcb fixed html entity 2009-04-10 15:59:33 +00:00
Frédéric Péters 61f3347280 missing file 2009-04-10 08:24:44 +00:00
Frédéric Péters 8da45e16e6 fixed access logic for forms with read access set to 'roles' 2009-04-10 06:08:16 +00:00
Frédéric Péters 6b2e9093f3 ship template ezt files 2009-04-10 06:03:36 +00:00
Frédéric Péters ddd94bdc55 installation notes 2009-04-09 12:53:50 +00:00
Frédéric Péters cbdb1eb39a licenses and copyright holders 2009-04-09 12:48:36 +00:00
Frédéric Péters 0eada73e1c updated translations 2009-04-09 11:37:48 +00:00
Frédéric Péters e66c407646 do not index vendor files 2009-04-09 11:37:16 +00:00
Frédéric Péters 3b97eab2bf preparing for release 2009-04-09 07:52:28 +00:00
Frédéric Péters d1f53986b8 convert lasso error to error page 2009-04-06 15:38:08 +00:00
Benjamin Dauvergne 6b4e45a502 Make it backward compatible with older quixote releases
* wcs/__init__.py:
 * wcs/admin/__init__.py:
 * wcs/backoffice/__init__.py:
 * wcs/forms/__init__.py:
 * wcs/qommon/__init__.py:
 * wcs/qommon/admin/__init__.py:
 * wcs/qommon/backoffice/__init__.py:
 * wcs/qommon/ident/__init__.py:
   if compile_package is not present, revert to previous way of doing
   (calling enable_ptl()).
2009-04-03 14:03:08 +00:00
Benjamin Dauvergne 0ce8dde656 Use hashlib if possible
* wcs/qommon/ident/password_accounts.py:
   try to import hashlib.sha1 (to be used since python 2.5) instead of
   sha if possible.
2009-04-03 07:50:57 +00:00
Benjamin Dauvergne 2960fc89b0 Remove debug 'print' from commit 1481
* wcs/ctl/start.py:
   remove print debug code.
2009-04-03 07:50:53 +00:00
Benjamin Dauvergne 0888b2cd84 Add quixote work-around for python 2.6
* wcs/__init__.py:
 * wcs/admin/__init__.py:
 * wcs/backoffice/__init__.py:
 * wcs/forms/__init__.py:
   same as last patch, but for wcs and not just qommon.
2009-04-03 07:50:49 +00:00
Benjamin Dauvergne 7b6012e21a Add quixote work-around for python 2.6
* for every directory containing *.ptl files the next lines must be
   added to the __init__.py file:
   from quixote.ptl import compile_package
   compile_package(__path__)
 * enable_ptl() must not be used.
2009-04-02 13:16:00 +00:00
Benjamin Dauvergne 18eb0aa18b Admin: add a duplicate field command
* wcs/admin/fields.ptl:
   add a duplicate field command, that:
    - use 'copy' module to copy the Field object
    - find a new id, and
    - insert just after the copied field.
2009-03-26 16:24:58 +00:00
Benjamin Dauvergne ecfa0534e0 Ctl: add --http, --data-dir and --app-dir options
* wcs/ctl/start.py:
   add similar option to authentic, for --http I had to remove the
   'spawn_cron' arguments to run because it is not supported by
   quixote.server.simple_server.run. But usually the '--http' option is
   for testing.
2009-03-26 16:24:54 +00:00
Frédéric Péters 8a185d160b make sure all cells are filled 2009-03-26 14:01:19 +00:00
Frédéric Péters 35d5a93aea added support for kiketable, to allow live resizing of columns 2009-03-26 12:31:40 +00:00
Frédéric Péters f0e8dea2ec updated to work with jquery 1.3.2 2009-03-26 11:59:10 +00:00
Frédéric Péters f80bb44dd5 new "table" field 2009-03-26 10:43:57 +00:00
Frédéric Péters 51bd030283 added possibility to limit display to fields from a single page 2009-03-25 14:30:24 +00:00
Frédéric Péters 6576927daf get new ids for imported users 2009-03-25 12:10:10 +00:00
Frédéric Péters 28763214c0 typo fix 2009-03-25 11:23:02 +00:00
Frédéric Péters 225d803e96 added possibility to bulk import users/accounts from a CSV file 2009-03-25 10:54:47 +00:00
Frédéric Péters 8db7bbb8e6 fixed spelling typo 2009-03-25 10:06:08 +00:00
Frédéric Péters 590641b3ed do not redirect to category view page that doesn't exist 2009-03-23 16:27:31 +00:00
Frédéric Péters 8b1d2f23a0 send new account notification email with all admins in To header. 2009-03-09 13:06:29 +00:00
Damien Laniel 6b32702dcd fixed sentence 2009-03-09 09:46:44 +00:00
Frédéric Péters 28065729d3 improved label of email sent on automatic removal of unused account; and mail
body, too.
2009-03-06 13:07:45 +00:00
Damien Laniel 4853ed5ab0 fixed spelling 2009-03-04 10:30:21 +00:00
Damien Laniel f7fe5ed89f session.tempfiles is used in qommon 2009-03-04 10:23:42 +00:00
Frédéric Péters 929edd6484 sort custom emails and texts on their *translated* description 2009-03-04 10:02:25 +00:00
Damien Laniel 0f952b0277 code cleanup 2009-03-04 10:00:45 +00:00
Damien Laniel db8a773f19 use qommon admin settings directory and cfg_submit 2009-03-04 09:43:52 +00:00
Damien Laniel ffc52318bb moved logger.ptl to qommon 2009-03-04 08:54:57 +00:00
Damien Laniel c5f428e856 import error_page whose code was deleted to preserve api 2009-03-03 18:24:30 +00:00
Damien Laniel 38fe92e05e use new proxy configuration and hardened it's usage 2009-03-03 16:57:34 +00:00
Damien Laniel 6238a4b98a reverted previous change that fixed html_top sections and fixed it in html_top only 2009-03-02 15:04:17 +00:00
Damien Laniel c9c66e4ef3 moved error_page function to common and added a 'back' link 2009-03-02 14:38:17 +00:00
Damien Laniel 2adf2caf8a use get_application_static_files_root_url method in command_icon method 2009-02-26 17:58:24 +00:00
Damien Laniel c45ada5437 fixed sections titles (<h1>) which were no more displayed 2009-02-26 16:16:33 +00:00
Frédéric Péters 973f4434ac fixed comment to not refer to the specific use case of some application readers
will not know about.
2009-02-25 20:01:45 +00:00
Damien Laniel c4784085f1 change get_web_root_url function name and add a comment to make its use more explicit 2009-02-25 17:21:02 +00:00
Damien Laniel b9ce007edc change get_web_root_url function name and add a comment to make its use more explicit 2009-02-25 17:20:22 +00:00
Damien Laniel 22f88d49b3 add a get_web_root_url method, overriden in larpe 2009-02-25 16:53:57 +00:00