2010-02-12 Torsten Irländer * mpulsweb/lib/renderer.py: Removed some debugging output. * mpulsweb/controllers/formularpage.py: Removed some debugging output. 2010-02-11 Bernhard Herzog * waskaweb/lib/search.py (SEARCH_CASE_SQL): Make the list of the fields to retrieve and the match expression for the needle more dynamic. (CaseSearch.__init__): New parameter retrieve_fields and match_fields for the list of fields to retrieve and the list of fields to match (CaseSearch._build_sql): Build the sql-fragments for the list of fields to retrieve and the match expression for the needs from the list of fields to match and insert them into the SQL statement. * waskaweb/model/case.py (CaseOverview.search): Use Case.get_search_retrieve_fields() and Case.get_search_match_fields() to pass the field names to the CaseSearch. 2010-02-11 Bernhard Herzog * waskaweb/model/case.py (Case.fields): Set search_retrieve and search_match on the appropriate fields. 2010-02-11 Bernhard Herzog * waskaweb/model/case.py (Field.__init__): New parameters and instance variables: search_retrieve and search_match. These indicate whether the field is should be retrieved from a search and whether the search string should be matched agains the field's value. (Case.get_search_retrieve_fields, Case.get_search_match_fields): New. Return lists of field names to retrieve in a search or to match in search, according to the new Field attributes. 2010-02-11 Bernhard Herzog * waskaweb/templates/casemanagement/digest_body.mako: Use the case's get_digest_fields() method to retrieve the list of fields to show in the digest instead of using a hard-wired list. 2010-02-11 Bernhard Herzog * waskaweb/model/case.py (Field.__init__): New parameter and instance variable: digest. Indicates whether the field is listed in the case digest. (Case.fields): Set digest where appropriate for wasko. Add some more fields so that all fields currently shown in the digest are listed. (Case.get_digest_fields): New method to return a list of the digest fields. 2010-02-11 Bernhard Herzog * waskaweb/model/case.py (AliasDescription, Field): Replace AliasDescription with the similar but more general Field. (Case.aliases, Case.fields): Replace aliases with fields, which is a list of Fields instances describing fields and not just aliases. For now it doesn't do anything more than describing aliases, though. (Case.alias_dict): Generate from fields, not aliases. (SessionCase.__init__, SessionCase.setData, Case.__getattr__) (Case.get_preset_fields, Case.get_session_fields) (Case.getSessionCase): Adapt to new Field objects. 2010-02-11 Bernhard Herzog * waskaweb/model/case.py (SessionCase.toFormData): Make it work with the actual return value of Case.get_session_fields() 2010-02-11 Torsten Irländer Moved annotations to base. * waskaweb/controllers/annotations.py: Import lib.base from mpulsweb now. * mpulsweb/controllers/annotations.py, waskaweb/controllers/annotations.py: Moved controller mpulsbase * mpulsweb/templates/annotations, waskaweb/templates/annotations: Moved templates for annotation to mpulsbase. * waskaweb/controllers/evaluate.py: Import lib.base from mpulsweb now. Reordered imports. Moved navigation conroller to mpulsbase * waskaweb/controllers/navigation.py: Import lib.base from mpulsweb. * waskaweb/controllers/navigation.py (NavigationController): Navigation Controller is not inherited from CasebaseController. Inherit from BaseController. Deleted outcommented code. * mpulsweb/controllers/navigation.py, waskaweb/controllers/navigation.py: Moved navigation controller to mpulsbase. Moved repeatgroup conroller to mpulsbase * mpulsweb/controllers/repeatgroup.py, waskaweb/controllers/repeatgroup.py: Moved repeatgroup controller to mpulsbase. Moved renderer to mpulsbase * mpulsweb/lib/renderer.py, waskaweb/lib/renderer.py: Moved renderer to base. * waskaweb/controllers/formularpage.py: Adapted import for renderer. * mpulsweb/controllers/formularpage.py, waskaweb/controllers/formularpage.py: Moved formularpage controller. * waskaweb/model/case.py: Import formularpage from mpulsbase now. * waskaweb/controllers/repeatgroup.py: Import forumlarpage and base from mpulsbase now. * waskaweb/controllers/case.py: Import formularpage from mpulsbase. * waskaweb/controllers/navigation.py: Import formularpage from mpulsbase Moved global documents to base. * waskaweb/model/document.py: Formatting * mpulsweb/model/document.py, waskaweb/model/document.py: Moved to base. * waskaweb/model/case.py: Import document from base now. * waskaweb/controllers/casedocument.py: Import document from base now. * waskaweb/controllers/document.py: Import document from base now. * mpulsweb/controllers/document.py, waskaweb/controllers/document.py: Moved controller to base. * mpulsweb/templates/documents, waskaweb/templates/documents: Moved templates to base. * mpulsweb/controllers/document.py (DocumentController): Improved exception handling (use logging module to log exceptions). * mpulsweb/controllers/document.py (DocumentController.globalDelete), (DocumentController.globalUploadAction): Adapted c-vars for dialogs Moved appointment to base. * mpulsweb/lib/validators.py (TimeCheck), (DateCheck), (CreateAppointmentForm), (StringTooLong): Copied from waskaweb. * waskaweb/lib/validators.py (DateCheck), (TimeCheck), (CreateAppointmentForm), (StringTooLong): Deleted imported from mpulsweb now. * mpulsweb/controllers/appointment.py, waskaweb/controllers/appointment.py: Moved controller to mpulsbase. Adapted imports. * waskaweb/templates/appointments, mpulsweb/templates/appointments: Moved templates * mpulsweb/controllers/appointment.py (AppointmentController): Adapted c-vars fro dialogs. 2010-02-10 Torsten Irländer Move appointments to base * waskaweb/model/appointment.py: Import session from mpuls.lib.base * mpulsweb/model/appointment.py: New. Copied from waskaweb.model.appointments. Deleted case-related functions. * waskaweb/model/appointment.py: Deleted all classes and vars which are not defined in mpulsweb.model.appointment. Import them from there. * mpulsweb/controllers/mpuls.py (get_global_appointments): Copied from waskaweb. Load global appointments * waskaweb/controllers/waska.py (get_global_appointments): Deleted. Import from mpulsweb now. * waskaweb/controllers/waska.py (get_newslist): Deleted. * mpulsweb/templates/home/globalappointmentlist.mako: Copied from waskaweb. Use format_date function instead of dd_mm_YYYY * mpulsweb/templates/home/home.mako: Display global appointments. * waskaweb/controllers/appointment.py: Import from mpulsbase as far as possible. 2010-02-10 Bernhard Herzog * waskaweb/controllers/case.py (checkPrivacyStatement.validate): Remove try/except with a bare except that shows /tests/trace.mako. Rely on the default error handling instead. 2010-02-10 Bernhard Herzog * waskaweb/model/case.py (Case.get_preset_fields): Use the formedname in the list of preset fields, not the alias name, otherwise the presets won't work in CaseFactory.loadFromQueryResult. 2010-02-10 Torsten Irländer Moved news to base * mpulsweb/model/news.py, waskaweb/model/news.py: Moved news model to base * waskaweb/controllers/waska.py: Import news model from base * waskaweb/templates/start/newslist.mako, mpulsweb/templates/news, mpulsweb/templates/news/newslist.mako: Moved template for newslist. * waskaweb/templates/start/start.mako: Include newslist from new location. * mpulsweb/templates/home/home.mako: Added news section. * mpulsweb/templates/news/dialogs/confirm_mark_news_as_read.mako, waskaweb/templates/start/dialogs/confirm_mark_news_as_read.mako: Moved confirm dialogs to mark news as read. * mpulsweb/controllers/news.py (NewsController.hide): Render confirm dialog from other location. * mpulsweb/controllers/news.py (NewsController.index): Deleted. Not used. 2010-02-10 Torsten Irländer * mpulsweb/controllers/administration.py (AdministrationController.editUser): Copied from waskaweb * mpulsweb/templates/administration/edit_user.mako, waskaweb/templates/administration/edit_user.mako: Moved template file. * waskaweb/controllers/administration.py (AdministrationController.editUser): Deleted. Is not implemented in mpulsweb * mpulsweb/controllers/administration.py (AdministrationController.resetUserPassword): Copied from waskaweb. Removed try/except block and adapted c-vars for dialogs. * mpulsweb/templates/administration/dialogs/confirm_resetpassword.mako, waskaweb/templates/administration/dialogs/confirm_resetpassword.mako, mpulsweb/templates/administration/reset_password.mako, waskaweb/templates/administration/reset_password.mako: Moved template. * waskaweb/controllers/administration.py (AdministrationController.resetUserPassword):Deleted. Implemented in mpulsweb now. * mpulsweb/controllers/administration.py (AdministrationController.editUserAction): Copied from waskaweb. Removed try/except block and adapted c-vars for dialogs. * mpulsweb/templates/administration/dialogs/success_edit_user.mako, waskaweb/templates/administration/dialogs/success_edit_user.mako: Moved template * mpulsweb/lib/validators.py (EditUserForm): Copied from waskaweb. * waskaweb/lib/validators.py (EditUserForm): Deleted. Imported from mpulsweb now. * waskaweb/controllers/administration.py (AdministrationController.editUserAction): Deleted. Implemented in mpulsweb now. * waskaweb/controllers/administration.py: Removed unused imports and static vars. Formatting. * mpulsweb/controllers/auth.py (AuthController.accountDeactivated): Copied from waskaweb.controllers.administration. * mpulsweb/lib/base.py (BaseController.__before__): Call auth/accountDeactivated when account ist deactivated. * mpulsweb/templates/auth/account_deactivated.mako, waskaweb/templates/administration/account_deactivated.mako: Moved templates * mpulsweb/lib/base.py (BaseController.__before__): Fixed issue925(wasko) redirecting the user to an infopage if the account is deactivated. * waskaweb/controllers/administration.py (AdministrationController.accountDeactivated): Deleted. Is now implemented in mpulsweb.controllers.auth * mpulsweb/controllers/administration.py (AdministrationController.deleteUser): Copied from waskaweb. Removed try/except blocks. Adapted c-vars for dialogs. * mpulsweb/templates/administration/dialogs/confirm_deleteuser.mako, waskaweb/templates/administration/dialogs/confirm_deleteuser.mako, mpulsweb/templates/administration/dialogs/failed_delete_user.mako, waskaweb/templates/administration/dialogs/failed_delete_user.mako, mpulsweb/templates/administration/dialogs/success_delete_user.mako, waskaweb/templates/administration/dialogs/success_delete_user.mako: Moved template * mpulsweb/controllers/administration.py (user_has_cases): Implemented function to check if the user is the editor of at least one cases * mpulsweb/controllers/mpuls.py (get_newslist): Copied from mpulsbase. * mpulsweb/controllers/mpuls.py (MpulsController.index): Load news if enabled. 2010-02-09 Bernhard Herzog * mpulsweb/lib/base.py: Explicitly list all exported names in __all__. This only includes names that are actually imported by other modules now. Remove unused imports, which is possible now because it's clear which names are used in this module and which are actually imported elsewhere. 2010-02-09 Bernhard Herzog * mpulsweb/lib/base.py (CaseBaseController): Removed. Not used anywhere. 2010-02-09 Bernhard Herzog * waskaweb/controllers/administration.py: Expand star imports 2010-02-09 Bernhard Herzog * waskaweb/templates/casemanagement/new.mako: Fix help links. 2010-02-09 Bernhard Herzog * waskaweb/templates/casemanagement/new.mako: Fix formatting. 2010-02-09 Bernhard Herzog * waskaweb/controllers/formularpage.py: Remove unused imports. 2010-02-09 Bernhard Herzog * waskaweb/controllers/formularpage.py: Fix formatting. 2010-02-09 Bernhard Herzog * waskaweb/controllers/repeatgroup.py (RepeatgroupController.new): The first parameter for abort has to be an int, not a string. 2010-02-09 Bernhard Herzog * waskaweb/controllers/repeatgroup.py: Remove unused imports. 2010-02-09 Bernhard Herzog * waskaweb/controllers/repeatgroup.py: Fix formatting. 2010-02-09 Bernhard Herzog * waskaweb/controllers/annotations.py (AnnotationsController.help): Make this work for ids that don't refer to formed components such as 'wiederaufnahme' and 'neuaufnahme' 2010-02-09 Bernhard Herzog * waskaweb/controllers/annotations.py (AnnotationsController.help) (AnnotationsController.required) (AnnotationsController.evaluation): Fix abort calls. abort always raises an exception, so no return is necessary and the first parameter has to be an int, not a string. 2010-02-09 Bernhard Herzog * waskaweb/controllers/annotations.py: Remove unused imports. 2010-02-09 Bernhard Herzog * waskaweb/controllers/annotations.py: Fix formatting. 2010-02-09 Bernhard Herzog * waskaweb/model/case.py (Case.aliases): Some more fields have to be copied to the SessionCase: street, streetnr, plz, city 2010-02-09 Bernhard Herzog * waskaweb/model/case.py (LOAD_CASESTATE_SQL): Removed m.nbtr and m.cm_end_art. They're not actually used. 2010-02-09 Bernhard Herzog * waskaweb/controllers/template.py: Removed. Unused. 2010-02-09 Bernhard Herzog * waskaweb/lib/template.py: Removed. Unused. 2010-02-09 Bernhard Herzog * mpulsweb/config/routing.py (make_map): Add extra route for case_overview which is still in waskaweb. See the comments for more details. 2010-02-09 Bernhard Herzog * mpulsweb/lib/app_globals.py (Globals.__init__): Add debug log for formed file name 2010-02-09 Bernhard Herzog * waskaweb/controllers/navigation.py: Remove unused imports. 2010-02-09 Bernhard Herzog * waskaweb/controllers/navigation.py: Expand star imports. 2010-02-09 Bernhard Herzog * waskaweb/controllers/document.py: Expand star imports. 2010-02-09 Torsten Irländer Moved administration controller to base * mpulsweb/controllers/administration.py: New controller. * waskaweb/controllers/administration.py: Import base Administration controller from base as BaseAdministrationController. Inherit AdministrationController in waskaweb from BaseAdministrationController. * mpulsweb/templates/administration/overview_user.mako, waskaweb/templates/administration/overview_user.mako: Moved template for user overview to base. * waskaweb/controllers/administration.py (AdministrationController.overviewUser): Deleted. Is now defined in base controller. * mpulsweb/controllers/administration.py (AdministrationController.overviewUserGroups): Moved from waskaweb. * waskaweb/controllers/administration.py (AdministrationController.accountDeactivated): Deleted. * mpulsweb/templates/administration/overview_usergroups.mako: Moved from waskaweb * waskaweb/templates/administration/overview_usergroups.mako: Deleted * mpulsweb/controllers/administration.py (AdministrationController.showUser): Moved from waskaweb. * waskaweb/controllers/administration.py (AdministrationController.showUser): Deleted * mpulsweb/templates/administration/show_user.mako: Moved from waskaweb * waskaweb/templates/administration/show_user.mako: Deleted * mpulsweb/templates/administration/dialogs/success_edit_usergroup.mako, waskaweb/templates/administration/dialogs/success_edit_usergroup.mako: Moved template. * mpulsweb/controllers/administration.py (AdministrationController.showUserGroup): Copied from waskaweb * mpulsweb/templates/administration/show_usergroup.mako, waskaweb/templates/administration/show_usergroup.mako: Moved template * waskaweb/controllers/administration.py (AdministrationController.showUserGroup): Deleted * mpulsweb/controllers/administration.py (AdministrationController.editUserGroup): Copied from waskaweb * mpulsweb/templates/administration/edit_usergroup.mako, waskaweb/templates/administration/edit_usergroup.mako: Moved template * waskaweb/controllers/administration.py (AdministrationController.editUserGroup): Deleted * mpulsweb/controllers/administration.py (AdministrationController.editUserGroupAction): Copied from waskaweb. Adapted imports. Fixed dialog vars and removed try except block. * mpulsweb/lib/validators.py: Moved some Validatore from waskaweb to base * waskaweb/lib/validators.py: Deleted moved Validators * waskaweb/controllers/administration.py (AdministrationController.editUserGroupAction): Deleted. * mpulsweb/controllers/administration.py (AdministrationController.newUserGroup): Copied from waskaweb. * mpulsweb/templates/administration/new_usergroup.mako, waskaweb/templates/administration/new_usergroup.mako: Moved template to base. * waskaweb/controllers/administration.py (AdministrationController.NewUserGroup): Deleted. * mpulsweb/controllers/administration.py (AdministrationController.newUserGroupAction): Copied from waskaweb. Removed try/except block. Changed c-vars for dialogs. * mpulsweb/templates/administration/dialogs/success_new_usergroup.mako, waskaweb/templates/administration/dialogs/success_new_usergroup.mako: Moved template * mpulsweb/templates/dialogs/failed.mako: Copied from waskaweb. Adapted c-vars for texts in dialog. * mpulsweb/templates/administration/dialogs/failed_new_usergroup.mako, waskaweb/templates/administration/dialogs/failed_new_usergroup.mako: Moved template. * waskaweb/controllers/administration.py (AdministrationController.createUserGroupAction): Deleted. * mpulsweb/controllers/administration.py (AdministrationController.deleteUserGroup): Copied from waskaweb. Adaped c-vars for dialog. * mpulsweb/templates/administration/dialogs/success_deletegroup_user.mako, waskaweb/templates/administration/dialogs/success_deletegroup_user.mako: Moved template to base. * mpulsweb/templates/administration/dialogs/confirm_deleteusergroup.mako, waskaweb/templates/administration/dialogs/confirm_deleteusergroup.mako: Moved template to base. * mpulsweb/templates/administration/dialogs/failed_new_user.mako, waskaweb/templates/administration/dialogs/failed_new_user.mako: Moved template to base. * mpulsweb/templates/dialogs/confirm.mako: Copied from waskaweb and adapted c-vars for dialogtexts * waskaweb/controllers/administration.py (AdministrationController.deleteUserGroup): Deleted. * waskaweb/controllers/administration.py (AdministrationController.viewPrivacyStatement): Deleted. Not called from anywhere. * mpulsweb/controllers/settings.py: New. Copied agencysetting methods from waskaweb administration controller. * mpulsweb/model/agencysettings.py: Copied from waskaweb. * waskaweb/model/appointment.py, waskaweb/model/case.py, waskaweb/controllers/administration.py: Import agencysettings model from base now. * waskaweb/model/agencysettings.py: Deleted. * mpulsweb/templates/settings/dialogs/success_edit.mako, mpulsweb/templates/settings/show.mako, mpulsweb/templates/settings/edit.mako: New. Copied templates for agency settings. * mpulsweb/lib/validators.py (MaxMinInt),(EditSettingsForm): New moved from waskaweb.valiadtors * waskaweb/lib/validators.py (MaxMinInt),(EditSettingsForm): Deleted * waskaweb/controllers/administration.py (AdministrationController.showSettings), (AdministrationController.editSettings), (AdministrationController.editSettingsAction): Deleted. Are now impleted under mpulsweb.settings. * waskaweb/templates/administration/show_settings.mako, waskaweb/templates/administration/edit_settings.mako, waskaweb/templates/administration/dialogs/success_edit_agency.mako: Deleted. * waskaweb/templates/administration/settings.mako: Deleted not rendered anywhere * mpulsweb/controllers/administration.py (AdministrationController.newUser): Copied from waskaweb. * mpulsweb/templates/administration/new_user.mako: Copied from waskaweb * waskaweb/controllers/administration.py (AdministrationController.newUser): Deleted. Is implemented in mpulsweb now * mpulsweb/lib/validators.py (NewUserForm), (LoginCheck): Copied from waskaweb * waskaweb/lib/validators.py (NewUserForm): Import from mpulsweb. Deleted implementation * mpulsweb/controllers/administration.py (AdministrationController.newUserAction): Copied from waskaweb. Removed try/except block as we do not want to display traceback * mpulsweb/templates/administration/new_user_result.mako: New. Copied from waskaweb * waskaweb/controllers/administration.py (createUserAction): Deleted. Is now implemented in mpulsweb 2010-02-09 Torsten Irländer Moved usersettings to base. * mpulsweb/controllers/usersettings.py: Copied from waskaweb * mpulsweb/templates/usersettings, mpulsweb/templates/usersettings/dialogs, mpulsweb/templates/usersettings/dialogs/success_edit_standin.mako, mpulsweb/templates/usersettings/dialogs/notificate_setpassword.mako, mpulsweb/templates/usersettings/show_settings.mako, mpulsweb/templates/usersettings/edit_standin.mako, mpulsweb/templates/usersettings/change_password.mako, mpulsweb/templates/dialogs, mpulsweb/templates/dialogs/success.mako, mpulsweb/templates/administration, mpulsweb/templates/administration/show_user_body.mako: Copied templates from waskaweb. * waskaweb/controllers/administration.py: imported "_" from pylons.i18n * mpulsweb/templates/usersettings/change_password_login.mako: Copied from waskaweb and adapted link to inherted template. * mpulsweb/controllers/usersettings.py (UsersettingsController.changePasswordOnLoginAction): Changed c-vars to set the title and text in dialogs. * waskaweb/templates/usersettings/dialogs/success_edit_standin.mako, waskaweb/templates/usersettings/dialogs/notificate_setpassword.mako, waskaweb/templates/usersettings/dialogs, waskaweb/templates/usersettings/change_password_login.mako, waskaweb/templates/usersettings/show_settings.mako, waskaweb/templates/usersettings/edit_standin.mako, waskaweb/templates/usersettings/change_password.mako, waskaweb/templates/usersettings: Deleted old templated files. They were moved into the base. * waskaweb/controllers/usersettings.py: Deleted ols controller. Was moved to base. 2010-02-08 Torsten Irländer Copied resposible.mako and help.mako to new locations. * waskaweb/templates/help, waskaweb/templates/help/help.mako: Copied from start/help.mako * waskaweb/templates/info, waskaweb/templates/info/info.mako: Copied from start/responsible.mako * waskaweb/templates/main.mako: Deleted. Use main from base instead. * waskaweb/controllers/waska.py (WaskaController.help), (WaskaController.info): Deleted. Not called from anywhere now. * mpulsweb/lib/config.py: Added new configuration var to enable/disable casemanagement. * mpulsweb/templates/main.mako: Load "/" instead of waska for links to blackboard. Set app title from config in navipath and menus. Make Casemanagement configurabel (endable/disable) * mpulsweb/lib/validators.py: New. Copied BaseFormValidator, SecurePassword, NewPasswordForm from waskaweb.lib.validators. * waskaweb/lib/validators.py (BaseFormValidator): Deleted. Now imported from mpulsweb. * waskaweb/lib/validators.py (NewPasswordForm): Deleted. Now imported from mpulsweb * waskaweb/lib/validators.py (SecurePassword): Deleted not used here anymore. * mpulsweb/templates/usersettings/edit_standin.mako: Call usersettings/showSettings to return to the usersettings page 2010-02-08 Torsten Irländer Added default templates for help * mpulsweb/templates/help, mpulsweb/templates/help/help.mako: New. Empty templates for help. Added default templates for info * mpulsweb/templates/info, mpulsweb/templates/info/info.mako: New. Empty templates for info. Added new controllers for help and info * mpulsweb/controllers/help.py, mpulsweb/controllers/info.py: New. Return empty default pages Call new controllers for help and info * mpulsweb/templates/main.mako: Modfied links for help and info to call the new controllers. 2010-02-08 Bernhard Herzog * waskaweb/controllers/caselifetime.py: Expand star imports. This it's more complicated because star imports were used for both waskaweb.lib.base and mpulsweb.lib.helpers and some names are exported by both. Also, the star imports overwrote datetime which before was the datetime class of the datetime module with the datetime module itself. 2010-02-08 Bernhard Herzog * waskaweb/controllers/evaluate.py: Expand star imports. 2010-02-08 Bernhard Herzog * waskaweb/controllers/logbook.py: Expand star imports. Added an explicit import sys because the sys module was implicitly imported from bwaskaweb.lib.base. 2010-02-08 Bernhard Herzog * waskaweb/controllers/phase.py: Expand star imports. 2010-02-08 Bernhard Herzog * waskaweb/controllers/template.py: Expand star imports. 2010-02-08 Bernhard Herzog * waskaweb/controllers/navigation.py: Fix formatting. 2010-02-08 Bernhard Herzog * waskaweb/controllers/document.py: Fix formatting. 2010-02-08 Bernhard Herzog * waskaweb/controllers/administration.py: Fix formatting. 2010-02-08 Torsten Irländer * mpulsweb/templates, mpulsweb/templates/auth, mpulsweb/templates/auth/logout.mako, mpulsweb/templates/auth/main.mako, mpulsweb/templates/auth/login.mako: Copied login and logout templates from waskaweb. * mpulsweb/controllers/auth.py (AuthController.logout), (AuthController.login): Call templates from new location. * development.ini: Added new config var 'mpuls.app.title' which will be used for the title in the html site * mpulsweb.egg-info/paste_deploy_config.ini_tmpl: Added new config var 'mpuls.app.title' which will be used for the title in the html site * mpulsweb/lib/helpers.py (get_app_title): New function to get the app title from config. * waskaweb/templates/main.mako: Call get_app_title function to insert app title for the html page (header/title) * mpulsweb/templates/home/home.mako: New. Default template for the "home" page aka "blackboard". * mpulsweb/templates/main.mako: Inherit from base.mako * mpulsweb/controllers/mpuls.py (MpulsController.index): Return main.mako * waskaweb/controllers/usersettings.py: Import validators and base from mpulsweb. * mpulsweb/templates/base.mako: New. Common to all template files. Mainly the header definition. * mpulsweb/templates/main.mako: Copied from waskaweb. * mpulsweb/templates/auth/logout.mako, mpulsweb/templates/auth/main.mako, mpulsweb/templates/auth/login.mako: Copied from waskaweb. Inherit from base.mako now. 2010-02-05 Bernhard Herzog * waskaweb/model/case.py (CREATE_CASE_SQL): Removed. No longer used. 2010-02-05 Bernhard Herzog * mpulsweb/model/annotations.py: Fix formatting. 2010-02-05 Bernhard Herzog * mpulsweb/config/routing.py: Fix formatting. 2010-02-05 Bernhard Herzog * INSTALL: Add some notes about configuration of fields shown in the case digest and the case overview. 2010-02-05 Bernhard Herzog * waskaweb/model/case.py (Case.getSessionCase): Get the values for the session case with getattr(self, ...) instead of self.get_value to make sure some of the values are strings for backwards compatibility reasons. Some templates have problems, otherwise. 2010-02-05 Bernhard Herzog * waskaweb/templates/casemanagement/digest_body.mako: Add a comment for the fields list. 2010-02-05 Bernhard Herzog * waskaweb/templates/casemanagement/caselist.mako: Add a comment describing the structure of the fields list. 2010-02-05 Bernhard Herzog * waskaweb/model/case.py (SessionCase.__init__): Make it possible to pass all values that have to be stored in the session case in the constructor. The case fields are defined by the Case.get_session_fields emthod. (SessionCase.setData, SessionCase.toFormData) (Case.getSessionCase): Use get_session_fields to decide which attributes/fields to copy (Case.get_session_fields): new. Returns a list of alias description for all fields that should be stored in the session case. 2010-02-05 Bernhard Herzog * waskaweb/model/case.py (AliasDescription.__init__): Add parameter and isntance variable in_session, which indicates whether the attribute should be available in the SessionCase object too. (Case.aliases): Mark all aliases that should be available in the SessionCase object. 2010-02-05 Bernhard Herzog * waskaweb/model/case.py (AliasDescription): New class to help describe the case attriute aliases. (Case.aliases): Convert into a list of AliasDescription instances. (Case.alias_dict): New. Dict mapping attribute names to AliasDescription instances. Automatically built from aliases. (Case.__getattr__, Case.get_preset_fields): Adapt to new alias descriptions. 2010-02-05 Bernhard Herzog * mpulsweb/lib/security.py (checkLogin): Move the import of SessionUser, SessionSuperAdmin toward the beginning of the function outside of any try/except blocks so that import errors are not suppressed. Fix the module name because the module is now in mpulsweb. 2010-02-05 Bernhard Herzog * waskaweb/controllers/case.py (CaseController.newAction): Always create a new SessionCase object and make sure it's actually stored in the session. 2010-02-05 Torsten Irländer * mpulsweb/config/environment.py (load_environment): use mpuls.app.path.controllers var to configure location of controllers. * mpulsweb/config/environment.py: * mpulsweb/config/routing.py (make_map): The index page can now be configured with the mpuls.app.indexcontroller config var. * development.ini: Adoped development.ini file for mpulsweb. Added comments and some config vars. * mpulsweb/lib/config.py (MpulsConfig.build_defaults): Remove phase definition * wasko.json: New. Config file for wasko instance (Phase definitions) * mpulsweb/config/routing.py (make_map): Fixed makeing of routes mapping. Search for controllers in basedir too. * INSTALL: Added notes how to INSTALL the appliction as WASKO instance * README.txt: Deleted note on installation. Refer to INSTALL * waskaweb/templates/main.mako: Do call showSettings controller directly in usersettings instead of settings method in waska controller * waskaweb/controllers/waska.py (WaskaController.settings): Deleted. Not called anymore. * mpulsweb/config/environment.py (load_environment): Added debugging info on startup about custom controller locations * mpulsweb/config/middleware.py (MyPylonsApp.find_controller): Log error and exception if no controller can be found. * mpulsweb/controllers/news.py: New. New controller for handling news. * waskaweb/templates/start/newslist.mako: Call hide function in new news controller to mark a news as read for the user. This means it will not be displayed on the blackboard. * waskaweb/controllers/waska.py (WaskaController.markNewsAsRead): Deleted. Functionality is moved to news controller in base (hide method) Adopt egg configuration * mpulsweb.egg-info/SOURCES.txt, mpulsweb.egg-info/paste_deploy_config.ini_tmpl, mpulsweb.egg-info/top_level.txt, mpulsweb.egg-info/PKG-INFO, mpulsweb.egg-info/requires.txt: Modified confguraiton of egg. Adopted template for ini files. Copied model.user to base * mpulsweb/model/user.py: Copied * waskaweb/model/case.py, waskaweb/controllers/usersettings.py, waskaweb/controllers/case_overview.py, waskaweb/controllers/waska.py, waskaweb/controllers/case.py, waskaweb/controllers/administration.py: Import model.user from base now. * waskaweb/model/user.py: Deleted. Was moved to base now. 2010-02-04 Torsten Irländer Added test dir for the base * mpulsweb/tests mpulsweb/tests/functional mpulsweb/tests/functional/__init__.py mpulsweb/tests/__init__.py Added new controller for authentification (login, logout) * mpulsweb/controllers/auth.py mpulsweb/tests/functional/test_auth.py Added new controller for the landing page (blackboard) * mpulsweb/controllers/mpuls.py mpulsweb/tests/functional/test_mpuls.py Adopted code to use the new auth controller * waskaweb/templates/login.mako: Send data to auth controller * waskaweb/templates/main.mako: call auth logout from auth controller * mpulsweb/lib/base.py: Redirect to new auth controller if user is not authorized. * waskaweb/controllers/waska.py: Is now inherited from MpulsController 2010-02-04 Bernhard Herzog * waskaweb/model/case.py (SessionCase.getEditor): Removed. Not used. 2010-02-04 Bernhard Herzog * waskaweb/model/case.py (SessionCase.getFormErrors) (SessionCase.setFormErrors): Removed. Not used anywhere. (SessionCase.__init__): Remove instance variable form_errors. Not used anymore. 2010-02-04 Torsten Irländer Moved controller/error.py * waskaweb/controllers/error.py, mpulsweb/controllers/error.py: Moved and adopted import 2010-02-04 Torsten Irländer Moved config to base * mpulsweb/config, waskaweb/config/middleware.py, waskaweb/config/__init__.py, waskaweb/config/environment.py, waskaweb/config/routing.py, mpulsweb/config, mpulsweb/config/middleware.py, mpulsweb/config/__init__.py, mpulsweb/config/environment.py, mpulsweb/config/routing.py, mpulsweb/config: Moved files and adopted imports Renamed egg-info to be able to initialse base application which will be located unter mpulsweb * mpulsweb.egg-info/SOURCES.txt, mpulsweb.egg-info/paste_deploy_config.ini_tmpl, mpulsweb.egg-info/top_level.txt, mpulsweb.egg-info/PKG-INFO, mpulsweb.egg-info/entry_points.txt, waskaweb.egg-info, waskaweb.egg-info/SOURCES.txt, waskaweb.egg-info/paste_deploy_config.ini_tmpl, waskaweb.egg-info/top_level.txt, waskaweb.egg-info/PKG-INFO, waskaweb.egg-info/entry_points.txt, waskaweb.egg-info/dependency_links.txt, waskaweb.egg-info/paster_plugins.txt, waskaweb.egg-info/requires.txt: Renamed dirs and adopted imports. 2010-02-04 Torsten Irländer Moved lib/helpers to base * waskaweb/lib/helpers.py, mpulsweb/lib/helpers.py: Moved files * waskaweb/model/logbook.py, waskaweb/model/appointment.py, waskaweb/model/case.py, waskaweb/model/document.py, waskaweb/model/user.py, waskaweb/model/agencysettings.py, waskaweb/config/environment.py, waskaweb/controllers/caselifetime.py, waskaweb/controllers/caseappointment.py, waskaweb/controllers/repeatgroup.py, waskaweb/controllers/appointment.py, waskaweb/controllers/evaluate.py, waskaweb/controllers/casedocument.py, waskaweb/lib/xmlexport.py, waskaweb/lib/renderer.py, waskaweb/lib/evaluation.py, waskaweb/lib/template.py, waskaweb/templates/casemanagement/caselist.mako, mpulsweb/lib/security.py mpulsweb/lib/base.py: Adopted imports 2010-02-04 Bernhard Herzog * waskaweb/model/case.py (CaseFactory._updateMasterOnCreate) (CaseFactory._initNewCase): Remove debug prints. 2010-02-04 Bernhard Herzog * waskaweb/model/case.py (CaseFactory.createNew): Use libformed's createNewInstanceTree to create the new case instead of accessing the database directly. (CaseFactory._updateMasterOnCreate): Takes the instance tree and not the case id as parameter now. It doesn't access session['uncommited_fields'] anymore as that doesn't make sense for a completely new case. 2010-02-04 Torsten Irländer Moved lib/filters to base * mpulsweb/lib/helper mpulsweb/lib/helper/__init__.py: Added new folder for helper libs * waskaweb/lib/filters.py, mpulsweb/lib/helper/filters.py: Moved file * waskaweb/lib/helpers.py: Adopted import * waskaweb/model/statement.py, waskaweb/controllers/case_overview.py, waskaweb/lib/renderer.py, waskaweb/templates/appointments/show_body.mako, waskaweb/templates/appointments/overview_body.mako, waskaweb/templates/appointments/remindlist_body.mako, waskaweb/templates/dialogs/confirm.mako, waskaweb/templates/dialogs/failed.mako, waskaweb/templates/dialogs/notification.mako, waskaweb/templates/dialogs/alert.mako, waskaweb/templates/dialogs/success.mako, waskaweb/templates/administration/show_usergroup.mako, waskaweb/templates/administration/show_user_body.mako, waskaweb/templates/administration/delete_user_helper.mako, waskaweb/templates/administration/edit_usergroup.mako, waskaweb/templates/administration/show_settings.mako, waskaweb/templates/administration/overview_user.mako, waskaweb/templates/administration/overview_usergroups.mako, waskaweb/templates/administration/reset_password.mako, waskaweb/templates/administration/edit_user.mako, waskaweb/templates/administration/new_user_result.mako, waskaweb/templates/caselifetime/overview.mako, waskaweb/templates/logbook/show.mako, waskaweb/templates/logbook/overview_print.mako, waskaweb/templates/logbook/overview.mako, waskaweb/templates/start/globalappointmentlist.mako, waskaweb/templates/start/newslist.mako, waskaweb/templates/login.mako, waskaweb/templates/usersettings/edit_standin.mako, waskaweb/templates/documents/case_overview.mako, waskaweb/templates/documents/global_overview.mako, waskaweb/templates/statement/list_statements.mako, waskaweb/templates/evaluation/evaluate_adele.mako, waskaweb/templates/evaluation/evaluate.mako, waskaweb/templates/casemanagement/bundle_standin.mako, waskaweb/templates/casemanagement/dialogs/success_set_phase.mako, waskaweb/templates/casemanagement/dialogs/failed_xml_import2.mako, waskaweb/templates/casemanagement/digest_body.mako, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/casemanagement/downloadXLS.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/caselist.mako, waskaweb/templates/casemanagement/bundle_editor.mako, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/downloadCSV.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/upload.mako, waskaweb/templates/casemanagement/downloadXML.mako: Adopted imports 2010-02-04 Torsten Irländer * waskaweb/lib/navigation.py: (FileCache): Moved from lib/filecache as it is only used here. * waskaweb/lib/filecace.py: Deleted. Not imported anywhere anymore. Moved lib/navigation to base * waskaweb/lib/navigation.py, mpulsweb/lib/navigation.py: Moved file * waskaweb/controllers/repeatgroup.py, waskaweb/controllers/navigation.py, waskaweb/controllers/case.py, waskaweb/controllers/formularpage.py, waskaweb/lib/helpers.py: Changed imports 2010-02-04 Torsten Irländer Moved lib/app_globals into base * waskaweb/lib/app_globals.py, mpulsweb/lib/app_globals.py: Moved file. * waskaweb/config/environment.py: Changed import. 2010-02-04 Torsten Irländer Moved lib/security into base * mpulsweb/lib/security.py, waskaweb/lib/security.py: Moved file. * waskaweb/model/user.py, waskaweb/controllers/caseappointment.py, waskaweb/controllers/logbook.py, waskaweb/controllers/annotations.py, waskaweb/controllers/appointment.py, waskaweb/controllers/navigation.py, waskaweb/controllers/usersettings.py, waskaweb/controllers/phase.py, waskaweb/controllers/case_overview.py, waskaweb/controllers/statement.py, waskaweb/controllers/waska.py, waskaweb/controllers/casedocument.py, waskaweb/controllers/case.py, waskaweb/controllers/document.py, waskaweb/controllers/formularpage.py, waskaweb/controllers/administration.py, waskaweb/lib/helpers.py, waskaweb/lib/search.py, waskaweb/lib/app_globals.py, mpulsweb/lib/base.py: Changed import of security 2010-02-04 Torsten Irländer * mpulsweb/lib/base.py: Get dbname, port, host and schemes for username and database name from config object and not from modul vars from lib.security * waskaweb/lib/security.py (checkLogin): Take dbname, port, host etc. from config object and not from modulvars. Deleted modulvars. * waskaweb/lib/app_globals.py (Globals.__init__): Do not set modul var for db connection anymore. 2010-02-04 Torsten Irländer Moved lib/config into base * waskaweb/lib/config.py, mpulsweb/lib/config.py: Moved file * waskaweb/model/agencysettings.py, waskaweb/lib/app_globals.py: Import from new location 2010-02-04 Torsten Irländer Moved lib/timelog into base * waskaweb/lib/timelog.py, mpulsweb/lib/timelog.py: Moved. * waskaweb/lib/app_globals.py, mpulsweb/lib/base.py: Import from base now. 2010-02-04 Torsten Irländer Moved model/annotations into base * waskaweb/model/annotations.py, mpulsweb/model, mpulsweb/model/annotations.py: Moved to base * waskaweb/lib/app_globals.py: Import Annotationsprovider from base 2010-02-04 Torsten Irländer * formed: Deleted. Formedtree and other files are now located unter waskaweb/public/formed 2010-02-03 Torsten Irländer * mpulsweb/lib/db.py, waskaweb/lib/db.py: Moved file * mpulsweb/lib/base.py, waskaweb/model/casexml.py, waskaweb/model/logbook.py, waskaweb/model/appointment.py, waskaweb/model/statement.py, waskaweb/model/case.py, waskaweb/model/news.py, waskaweb/model/document.py, waskaweb/model/user.py, waskaweb/model/agencysettings.py, waskaweb/controllers/caselifetime.py, waskaweb/controllers/repeatgroup.py, waskaweb/controllers/evaluate.py, waskaweb/controllers/case.py, waskaweb/controllers/formularpage.py, waskaweb/lib/navigation.py, waskaweb/lib/search.py, waskaweb/lib/renderer.py, waskaweb/lib/evaluation.py, waskaweb/lib/security.py, waskaweb/lib/validators.py: Import from mpulsweb.lib.db now. 2010-02-03 Bernhard Herzog * waskaweb/model/case.py: Remove unused imports 2010-02-03 Bernhard Herzog Rework the Statement interface. The Statement are now instantiated with case and agency objects and use those to fill out the statement templates when the actual statement text is actually needed. This avoids unncessary loading of case data just check whether a statement has been signed. * waskaweb/model/statement.py (Statement.__init__): Use case and agency as parameters instead of the case id. (Statement._substitute, Statement._fetchData) (Statement.getContent): Removed. (Statement.fillout): Doesn't take any parameters anymore. The case and agency needed are now instance variables. This base class method raises NotImplementedError and has to be overwritten in derived classes. (DiscretionStatement.fillout, PrivacyStatement.fillout): Rework to do all the actual work and adapt to case and agency being instance variables. (DiscretionStatement.__init__, PrivacyStatement.__init__): Removed. The base class __init__ already does what we need (DiscretionStatement._substitute, PrivacyStatement._substitute): Removed. (PrivacyStatement.sign, PrivacyStatement.keepUndefined) (PrivacyStatement.decline): The case id from the case object, not the case_id instance variable. * waskaweb/controllers/case.py (CaseController.newAction): dapt to new Statement interface * waskaweb/controllers/statement.py (StatementController.printPrivacyStatement) (StatementController.printDiscretionStatement): Adapt to new Statement interface * waskaweb/model/case.py (Case.getPrivacyStatement) (Case.getDiscretionStatement): Adapt to new Statement interface 2010-02-03 Torsten Irländer * mpulsweb, mpulsweb/controllers, mpulsweb/controllers/__init__.py, mpulsweb/__init__.py: Added new mpulsweb dir. This directory will hold all base classes and controllers for mpuls. * development.ini: Added new config vars to configuration dir * waskaweb/config/middleware.py (MyPylonsApp.find_controller): Search for controller first in instance dir. Then in basedir * waskaweb/config/routing.py (controller_scan): New. Function to scan for available controller in different locations. These locations can be configured. * waskaweb/config/environment.py (load_environment): Set default path for controllers to mpulsweb. * mpulsweb/lib, mpulsweb/lib/base.py, mpulsweb/lib/__init__.py: Added new directory for base libs. * waskaweb/lib/base.py: Import all from mpulsweb.lib.base 2010-02-03 Torsten Irländer * waskaweb/controllers/case.py (CaseController.digest): Removed outcommented code * waskaweb/controllers/case.py (CaseController.printdigest): Removed parameter check here. Is done in digest anyway. * waskaweb/controllers/case.py (CaseController.markForAnonymize): Call self._loadCase instead of load_case, which currently does a full initialisation of the case including building a new navigation. * waskaweb/templates/casemanagement/dialogs/success_anonymize.mako, waskaweb/templates/casemanagement/dialogs/confirm_anonymize.mako: Use session['case'].id instead of c.ds_id to refer to the current case id. * waskaweb/controllers/case.py (CaseController.markForAnonymizeFromOverview): Removed unused var ds_id * waskaweb/controllers/case.py (CaseController.anonymize): Removed unused var ds_id * waskaweb/controllers/case.py (CaseController.digest): Removed unused var ds_id * waskaweb/controllers/case.py (CaseController.setEditorAction): Removed unused var ds_id * waskaweb/controllers/case.py (CaseController.keepActive): Removed unused var ds_id * waskaweb/controllers/case.py (CaseController.__init_case): Removed assignment of self.navigation as it is not used anywhere. * waskaweb/controllers/case.py (CaseController.newAction): Do not call __init_case. It does nothing usefull in this context. * waskaweb/controllers/case.py (CaseController.neuaufnahmeAction): Do not call __init_case. It does nothing usefull in this context. * waskaweb/controllers/case.py (CaseController.wiederaufnahmeAction): Do not call __init_case. It does nothing usefull in this context. * waskaweb/controllers/case.py (CaseController.__init_case): Deleted not called from anywhere now. * waskaweb/controllers/case.py (CaseController.markForAnonymizeFromOverview): Call _loadCase instead if load_case * waskaweb/controllers/case.py (CaseController.init_case): New. Moved into CaseController. Was load_case before. * waskaweb/controllers/case.py (checkPrivacyStatement.validate): Do not call load_case. Load case directly using CaseFactory and loadById. * waskaweb/config/middleware.py: Inserted fresh middleware.py from a fresh initiated pylons project of version 0.9.7 * waskaweb/controllers/error.py: Iserted fresh error.py controller from a fresh initiated pylons project of version 0.9.7 * waskaweb/config/routing.py (make_map): Removed unused routes * waskaweb/controllers/case_overview.py (get_sort): New. Get sortfields from GET params. (CaseOverviewController.overview_extended): Call overview with no params (CaseOverviewController.overview_extended): Remove reset and sort params from function. They are now submitted as GET request * waskaweb/templates/casemanagement/caselist.mako: sort params are not encoded as GET params. * waskaweb/config/routing.py (make_map): Removed old unused routes * waskaweb/controllers/case.py (CaseController.organisation): Added return statement to return the rendered page for organisation 2010-02-02 Bernhard Herzog * waskaweb/model/case.py (CaseFactory._build_preset): Only add those fields to the preset dict that are actually present in the query result. 2010-02-02 Bernhard Herzog * waskaweb/model/case.py (CaseDigest, CaseField, CaseStringField) (CaseAgeField): Removed. No longer used. 2010-02-02 Bernhard Herzog * waskaweb/model/case.py (Case.getDigest): Removed. No longer used. 2010-02-02 Bernhard Herzog * waskaweb/controllers/case.py (CaseController.digest) (CaseController.printAll): Assign the case object to c.case. Do not assign the digest to c anymore. * waskaweb/templates/casemanagement/digest_body.mako: Get the values and descriptions from the case object in c.case, not from the digest in c.digest. 2010-02-02 Bernhard Herzog * waskaweb/model/case.py (Case.getDiscretionStatement) (Case.getPrivacyStatement): Use case object in place of the case digest object when calling the statement's fillout method. 2010-02-02 Bernhard Herzog * waskaweb/model/case.py (CaseFactory.loadFromQueryResult) (CaseFactory.loadByName): Rename loadByName to loadFromQueryResult and change its parameters. loadFromQueryResult takes a single query result row as a parameter and extracts the fields it needs. (CaseOverview.search): Call loadFromQueryResult instead of loadByName. 2010-02-02 Bernhard Herzog * waskaweb/model/case.py (Case.get_preset_fields): New. Class method to return a list of the field names that can be preset. (CaseFactory._build_preset): New method to build a preset mapping for the case object from a database query result (CaseFactory.loadById): Pass id, state and the query result as the preset mapping to the Case constructor instead of assigning instance variables explicitly 2010-02-02 Bernhard Herzog * waskaweb/model/case.py (Case.__init__): Add some parameters so that the case can be instantiated without having to assign to instance variables. This includes a parameter "preset" that can contain a subset of the case's fields. (Case.aliases): New class attribute describing which fields can be usefully preset and how they accessed by public instance variables. This mainly intended for compatibility with code that accesses these fields in the Case or CaseDigest instances. (Case.__getattr__): New. Provide attribute like access to the values described in aliases. (Case.get_value, Case.get_description): New. Get a value/description of the formed field. The value is taken from the preset dictionary the case was instantiated with if the formed instance has not yet been loaded. 2010-02-02 Torsten Irländer * waskaweb/templates/appointments/appointment_form.mako: Deleted. not used anywhere. 2010-02-02 Bernhard Herzog * waskaweb/controllers/case.py (CaseController.newAction) (CaseController.neuaufnahmeAction) (CaseController.wiederaufnahmeAction): __init_case calls load_case so don't call load_case immediately after calling self.__init_case just for the side-effects. 2010-02-02 Bernhard Herzog * waskaweb/controllers/case.py (CaseController.newAction): Remove some debug prints and turn some of them into log.debug calls. 2010-02-02 Bernhard Herzog * waskaweb/controllers/case.py (CaseController.digest): c.print_form is not used anywhere, so don't set it. 2010-02-02 Torsten Irländer * waskaweb/templates/documents/case_overview.mako: Formatting. * waskaweb/controllers/casedocument.py (CasedocumentController.show): New. Moved from controllers.document. * waskaweb/templates/documents/case_overview.mako: Call show method in casedocument controller. * waskaweb/controllers/document.py (DocumentController.caseShow): Deleted. Not calles from anywhere now. * waskaweb/controllers/casedocument.py (CasedocumentController.delete): New. Moved from controllers.document. * waskaweb/config/routing.py (make_map): Change route for deleting case documents. * waskaweb/templates/documents/case_overview.mako: Call delete method in casedocument controller. * waskaweb/controllers/document.py (DocumentController.caseDelete): Deleted. Not called from anywhere. * waskaweb/controllers/casedocument.py (CasedocumentController.delete): Removed case attribute from method parameters as they are not used anyway. * waskaweb/templates/documents/case_overview.mako: Adopted method call of delete in casedocument controller. * waskaweb/controllers/caseappointment.py: New. * waskaweb/tests/functional/test_caseappointment.py: New * waskaweb/controllers/caseappointment.py (CaseappointmentController.overview): New. Moved from controllers.case * waskaweb/templates/casemanagement/main.mako: Call overview method in caseappointment controller * waskaweb/templates/casemanagement/appointments.mako: Call overview and new method in caseappointment controller. * waskaweb/templates/casemanagement/appointmentlist.mako: Formatting. Call show and delete methods in caseappointments controller. * waskaweb/controllers/caseappointment.py (CaseappointmentController.show, CaseappointmentController.delete): Added new controllers. * waskaweb/controllers/case.py (CaseController.newDocument): Deleted. Not called from anywhere now. * waskaweb/templates/casemanagement/reminderlist.mako: Adopted link to call methods in caseappointment controller. * waskaweb/controllers/case.py (CaseController.deleteAppointment): Deleted. Not called from anywhere. * waskaweb/controllers/caseappointment.py (CaseappointmentController.new): New. Moved from case controller * waskaweb/controllers/caseappointment.py (CaseappointmentController.newAction): New. Moved from case controller. * waskaweb/controllers/case.py (CaseController.newAppointmentAction): Deleted. Not called from anywhere. * waskaweb/controllers/caseappointment.py (loadCase): New. Helper function to load a case. * waskaweb/controllers/caseappointment.py (CaseappointmentController.newReminder): New. Moved from case controller * waskaweb/controllers/case.py (CaseController.newReminder): Deleted. Not called from anywhere now. * waskaweb/controllers/case.py (CaseController.newAppointment): Deleted. Not called from anywhere now. * waskaweb/templates/casemanagement/showAppointment.mako: Adopt links to call new methods in caseappointment controller. * waskaweb/templates/casemanagement/editAppointment.mako: Adopt links to call new methods in caseappointment controller. * waskaweb/controllers/case.py (CaseController.editAppointment): Deleted. Not called from anywhere now. * waskaweb/controllers/caseappointment.py (CaseappointmentController.editAction): New. Moved from case controller * waskaweb/controllers/case.py (CaseController.editAppointmentAction): Deleted. Not called from anywhere. * waskaweb/templates/casemanagement/dialogs/success_edit_appointment.mako: Adopted links to call methods in caseappointment controller. * waskaweb/templates/casemanagement/dialogs/success_create_appointment.mako: Adopted links to call methods in caseappointment controller. * waskaweb/templates/casemanagement/dialogs/confirm_delete_appointment.mako: Adopted links to call methods in caseappointment controller. * waskaweb/templates/casemanagement/dialogs/success_delete_appointment.mako: Adopted links to call methods in caseappointment controller. * waskaweb/controllers/case.py (CaseController.appointments): Deleted. Not called from anywhere now. * waskaweb/config/routing.py (make_map): Deleted route for showAppointment * waskaweb/controllers/case.py (CaseController.showAppointment): Deleted. Not called from anywhere now. * waskaweb/controllers/case.py: Removed unused imports * waskaweb/templates/casemanagement/main.mako: Adopt links to call newReminder method in caseappointment controller * waskaweb/controllers/case.py (CaseController.select): Directly return self.digest. Do not load a case object. * waskaweb/controllers/case.py (CaseController.markForDelete): Deleted ds_id context var. Is not needed here. * waskaweb/controllers/case.py (CaseController.markForDelete): Call self._loadCase instead of load_case. * waskaweb/controllers/case.py (CaseController.delete): Delete ds_id context var. Is not used here. * waskaweb/controllers/case.py (CaseController.restore): Delete ds_id context var. Is not used here. * waskaweb/controllers/case.py (CaseController.open): Deleted. Is not called from anywhere. * waskaweb/controllers/case.py (CaseController.close): Deleted not called from anywhere. * waskaweb/config/routing.py (make_map): Deleted route to open and close a case. Not used anymore * waskaweb/controllers/case.py: Deleted static string for confirm dialog to open and close a case. 2010-02-01 Torsten Irländer Moved case document related methods in its own casedocument controller * waskaweb/controllers/casedocument.py (CasedocumentController): New. * waskaweb/tests/functional/test_casedocument.py: New. * waskaweb/templates/casemanagement/main.mako: Call index method of controllers.casedocument now. * waskaweb/controllers/casedocument.py (loadCase): New. Helper function to load a case. * waskaweb/controllers/casedocument.py (CasedocumentController.overview):: New. Method to build the casedocument list. * waskaweb/templates/documents/dialogs/failed_attachment.mako: Adopted navipath to call new method in casedocument * waskaweb/templates/documents/dialogs/success_attachment.mako: Adopted navipath to call new method in casedocument * waskaweb/templates/documents/dialogs/delete_attachment_success.mako: Adopted navipath to call new method in casedocument * waskaweb/templates/documents/case_new.mako: Adopted navipath to call new method in casedocument, Adapted modulsfield * waskaweb/templates/casemanagement/dialogs/delete_attachment_success.mako: Adopted navipath to call new method in casedocument * waskaweb/templates/casemanagement/dialogs/confirm_delete_attachment.mako: Adopted navipath to call new method in casedocument * waskaweb/controllers/case.py (CaseController.documents): Deleted not called from anywhere now. * waskaweb/controllers/casedocument.py (CasedocumentController.new): New. Return rendered template to add a document to the case * waskaweb/templates/documents/case_overview.mako: Call new method in casedocument controller * waskaweb/controllers/casedocument.py (CasedocumentController.newAction): New. * waskaweb/controllers/document.py (DocumentController.caseUploadAction): Deleted not called from anywhere now 2010-02-01 Torsten Irländer Moved phase related functions into controllers.phase * waskaweb/controllers/case.py (CaseController.phase, CaseController.setPhaseAction): Deleted unused functions. Are not called from anywhere now. * waskaweb/controllers/case.py: Removed unused imports * waskaweb/controllers/phase.py: Moved old phase related functions from controllers.case. Commented out those functions. The must be reimplemented by using the new libformed. * waskaweb/controllers/case.py: Removed unused static vars for phase dialogs * waskaweb/controllers/phase.py: Moved static vars for phase dialogs from controllers.case 2010-02-01 Torsten Irländer * waskaweb/config/routing.py (make_map): Deleted route for unused function undo_error * waskaweb/config/routing.py (make_map): Deleted route for unused function showHelpEvaluation * waskaweb/config/routing.py (make_map): Deleted route for unused function showHelp * waskaweb/config/routing.py (make_map): Deleted route for unused function showRequired * waskaweb/controllers/case.py (CaseController.undo_error): Deleted unused function. * waskaweb/controllers/case.py (CaseController.showHelpEvaluation): Deleted unused function. * waskaweb/controllers/case.py (CaseController.showHelp): Deleted unused function. * waskaweb/controllers/case.py (CaseController.showRequired): Deleted unused function. * waskaweb/controllers/case.py (CaseController.evaluate): Deleted unused function. * waskaweb/templates/casemanagement/help.mako, waskaweb/templates/casemanagement/required.mako: Deleted. Not used anymore. * waskaweb/controllers/case.py (CaseController.showAppointment): Restored method. Was deleted by accident. 2010-02-01 Torsten Irländer Moved logbook specific code from controllers/case to controllers/logbook. * waskaweb/controllers/logbook.py (LogbookController.overview): New. * waskaweb/templates/casemanagement/main.mako: Call overview controller in logbook. * waskaweb/controllers/logbook.py (LogbookController.printout): New. * waskaweb/templates/logbook/overview.mako: Call printout method in logbook controller * waskaweb/controllers/case.py (CaseController.printLogbook): Deleted not called from anywhere now. * waskaweb/controllers/logbook.py (LogbookController.new): New. * waskaweb/controllers/case.py (CaseController.newLogbookEntry): Deleted. Not called from anywhere now. * waskaweb/templates/logbook/new.mako: Adopted links to call new methods in logbook * waskaweb/controllers/logbook.py (LogbookController.show): Moved to logbook controller * waskaweb/templates/logbook/overview.mako: Call show method in logbook controller. * waskaweb/templates/logbook/show.mako: Call methods from logbook controller * waskaweb/templates/logbook/edit.mako: Call methods from logbook controller * waskaweb/controllers/case.py (CaseController.showLogbookEntry): Deleted not called from anywhere. * waskaweb/controllers/logbook.py (LogbookController.edit): Moved to logbook controller * waskaweb/controllers/case.py (CaseController.editLogbookEntry): Deleted. Not called from anywhere now. * waskaweb/controllers/case.py (CaseController.createNewLogbookEntry): Deleted. Not called from anywhere now. * waskaweb/controllers/logbook.py (LogbookController.editAcion): Moved to logbook controller * waskaweb/controllers/case.py (CaseController.saveLogbookEntry): Deleted. Not called from anywhere now. * waskaweb/controllers/logbook.py (LogbookController.delete): Moved to logbook controller * waskaweb/controllers/case.py (CaseController.deleteLogbookEntry): Deleted. Not called from anywhere now. * waskaweb/controllers/case.py (CaseController.logbook): Deleted. Not called from anywhere now. * waskaweb/controllers/logbook.py (LogbookController.newAction): Call overview in logbook controller after case was created * waskaweb/templates/logbook/overview.mako: Send sort params as GET params * waskaweb/controllers/logbook.py (get_sort): Extract sort params from GET params 2010-02-01 Bernhard Herzog * waskaweb/model/case.py (CaseDigest._fields): Remove unused entries. 2010-02-01 Bernhard Herzog * waskaweb/controllers/case.py (CaseController.importXMLAction): Remove unused local variable. 2010-02-01 Bernhard Herzog * waskaweb/lib/db.py: Make psycopg2 return unicode objects in query results so that they don't have to be converted explicitly later. Also, the since the formed instance tree uses this, it now contains unicode objects too. 2010-02-01 Bernhard Herzog * waskaweb/model/agencysettings.py (Agency._fetchData): Use ensure_unicode to convert the values to unicode immediately when read from the database. (Agency.getFKZ, Agency.getName, Agency.getMaxSavetime) (Agency.getPrivacyStatement, Agency.getDiscretionStatement): The config value are already unicode now, so don't try to convert them again, here. 2010-02-01 Torsten Irländer * waskaweb/model/casedocument.py (CaseDocument): Deleted. Class is not referenced anymore. It was initialised as g.formedTree in older versions which is not replaced by the new formedlib. * waskaweb/model/casedocument.py: Removed unused imports. * waskaweb/model/casedocument.py (PageCache): Deleted. Class is not referenced anymore. * waskaweb/model/casedocument.py: Removed unused imports. * waskaweb/controllers/caselifetime.py (DataSaveException): New. Moved from casedocument.py. This is exception is only used in connection with "Neuaufnahme" and "Wiederaufnahme". This exception is not thrown anywhere, so this is broken. Changed import. * waskaweb/controllers/case.py: Import DataSaveException from controllers.caselifetime now. * waskaweb/model/casedocument.py: Deleted. Not imported anywhere now. * waskaweb/controllers/caselifetime.py (DataExtractor.loadData): Moved from model.datapage. DataExtractor is only used in connection with "Neuaufnahme" and "Wiederaufnahme". Changed import. * waskaweb/model/datapage.py: Deleted. Not imported anywhere now. * waskaweb/templates/logbook/overview.mako: Call delete method in logbook controller * waskaweb/controllers/case.py: Removed static vars for logbook dialogs. Not used anymore. 2010-01-29 Bernhard Herzog * waskaweb/controllers/appointment.py: Expand star imports. 2010-01-29 Bernhard Herzog * waskaweb/controllers/appointment.py: Fix formatting. 2010-01-29 Bernhard Herzog * waskaweb/model/logbook.py (LogbookEntry.setByRow): Use ensure_unicode to convert to unicode instead of hardcoding the conversion inline. 2010-01-29 Bernhard Herzog * waskaweb/model/logbook.py: Fix formatting 2010-01-29 Bernhard Herzog * waskaweb/model/user.py (UserGroupList.__init__) (UserGroupFactory.load, UserListObject.__init__) (UserObject._fetchData): Use ensure_unicode to convert to unicode instead of hardcoding the conversion inline. 2010-01-29 Bernhard Herzog * waskaweb/lib/security.py (checkLogin) (load_db_mapping_from_file, getDbName): Improve logging. 2010-01-29 Bernhard Herzog * waskaweb/lib/security.py (checkLogin): Use ensure_unicode to convert to unicode instead of hardcoding the conversion inline. 2010-01-29 Bernhard Herzog * waskaweb/lib/security.py (ROLE_SQL): Removed. Unused. 2010-01-29 Bernhard Herzog * waskaweb/lib/security.py: Fix formatting. 2010-01-29 Bernhard Herzog * waskaweb/model/appointment.py (AppointmentFactory.createByDBRow): Use ensure_unicode to convert to unicode instead of hardcoding the conversion inline. 2010-01-29 Bernhard Herzog * waskaweb/model/case.py (ensure_unicode), waskaweb/lib/helpers.py (ensure_unicode): Move ensure_unicode from case to helpers to make it available to other parts of the code. 2010-01-29 Bernhard Herzog * waskaweb/model/user.py: Remove unused imports. 2010-01-29 Bernhard Herzog * waskaweb/model/user.py: Fix formatting. 2010-01-29 Bernhard Herzog * waskaweb/model/appointment.py: Remove unused imports 2010-01-29 Bernhard Herzog * waskaweb/model/appointment.py: Fix formatting. 2010-01-29 Bernhard Herzog * waskaweb/model/case.py (ensure_unicode): New function to convert objects to unicode. (CaseFactory.loadById, CaseFactory.loadByName) (CaseStringField.from_db, CaseDigest.getValue): Use ensure_unicode to convert to unicode instead of hardcoding the conversion inline. 2010-01-29 Torsten Irländer * waskaweb/controllers/caselifetime.py: Removed import of Widgetcollector as it would not be functional anyway. * waskaweb/model/case.py: Import UNKNOWN_DATE from new libformed instead of old model * waskaweb/lib/renderer.py: Import UNKNOWN_* from new libformed instead of defining own vars. * waskaweb/model/semantic.py: Import UNKNOWN_DATE from new libformed instead of old model 2010-01-29 Torsten Irländer Reestablish workflow in caselifetime controller. Not data is actuella saved yet. * waskaweb/templates/caselifetime/overview.mako: Disabled temporarily the findDescription function which tries to call getDescription in old formedtree. * waskaweb/controllers/caselifetime.py (CaselifetimeController.reopenAction): Basic workflow reestablished. Saving using formed does not work yet. * waskaweb/controllers/caselifetime.py (CaselifetimeController.extraTimeAction): Added extra time now seems to work again, but no time is actually inserted into database because data can not be saved with libformed from within the caselifetime controller. Saving is currently commented out * waskaweb/controllers/caselifetime.py (_set_data): New. Save data form using libformed. Saveing do not work yet correctly. 2010-01-29 Bernhard Herzog * waskaweb/lib/db.py (DB.closeConnections): Call the close() method of the connection objects, not the booleans in self.connections. This error was masked because exceptions were silently suppressed. 2010-01-29 Bernhard Herzog * waskaweb/lib/db.py (DB.recycleConnection, DB.closeConnections): Use the logging module to log warnings. Also, do not ignore exceptions, log them. 2010-01-29 Bernhard Herzog * waskaweb/lib/db.py: Fix formatting 2010-01-28 Bernhard Herzog * waskaweb/controllers/case.py: Add some spaces to text constants that were accidentally removed. 2010-01-28 Bernhard Herzog * waskaweb/controllers/usersettings.py: Expand star imports. Remove unused imports. 2010-01-28 Bernhard Herzog * waskaweb/controllers/usersettings.py: Fix formatting. 2010-01-28 Bernhard Herzog * waskaweb/lib/navigation.py: Remove unused imports 2010-01-28 Bernhard Herzog * waskaweb/lib/navigation.py: Fix formatting 2010-01-28 Bernhard Herzog * waskaweb/lib/config.py (get_path): No need to treat an absolute filename specially. os.path.join already does the right thing. 2010-01-28 Bernhard Herzog * waskaweb/lib/config.py: Fix formatting. 2010-01-28 Bernhard Herzog * waskaweb/lib/config.py: Remove unused imports 2010-01-28 Bernhard Herzog * waskaweb/model/case.py (State.getAccessTime, State.getLastDate): Remove the format parameter so that these methods always return the actual datetime object. The format parameter isn't used anymore now. 2010-01-28 Bernhard Herzog * waskaweb/templates/casemanagement/caselist.mako: Use h.format_date to format the access time, instead of passing an explicit format string to case.state.getAccessTime() 2010-01-28 Bernhard Herzog * waskaweb/controllers/case.py (CaseController.digest): Set c.last_access to the actual datetime object, not a formatted string. Formatting should be done in the template. * waskaweb/templates/casemanagement/digest_body.mako: Use h.format_datetime to format c.last_access 2010-01-28 Bernhard Herzog * waskaweb/templates/casemanagement/digest_body.mako: Fix formatting. 2010-01-28 Bernhard Herzog * waskaweb/lib/config.py: Fix formatting. 2010-01-28 Bernhard Herzog * waskaweb/lib/config.py (MpulsConfig.build_defaults): Add some phases definitions 2010-01-28 Bernhard Herzog * waskaweb/model/case.py (ImportCaseExistsError) (CaseOverview.sortByLastname, SessionCase.save): Removed. Not used. 2010-01-28 Bernhard Herzog * waskaweb/model/case.py (CREATE_RG_KOMPETENZ_DS, CASE_EXISTS): Removed. Not used. 2010-01-28 Bernhard Herzog * waskaweb/model/case.py (Case.getFirstMeeting) (SessionCase.getFirstMeeting): Removed. Not used. 2010-01-28 Bernhard Herzog Remove mode from SessionCase * waskaweb/model/case.py (SessionCase.__init__): Remove instance variable "mode". (SessionCase.setMode, SessionCase.setMode, Case.setMode) (Case.getMode): Removed. No longer used. 2010-01-28 Bernhard Herzog * waskaweb/templates/casemanagement/digest_body.mako: Generate the digest from a list of fields. This is now a more generic digest which needs to be adapted to specific MPuls applications. 2010-01-28 Bernhard Herzog * waskaweb/model/case.py (CaseDigest.getDescription) (CaseDigest.getValue): New methods to return the description and value of a formed field. 2010-01-28 Bernhard Herzog * waskaweb/controllers/case.py (CaseController.phase): Remove references to session_case. It was only used to fetch the mode, which isn't really used anymore and is currently always "show" 2010-01-28 Torsten Irländer Adopted caselifetime controller to work with libformed. * waskaweb/controllers/caselifetime.py (_get_value): New. Helperfunction to get values from the libformed. * waskaweb/controllers/caselifetime.py (checkcase): Use _get_value method to get values form the libformed. * waskaweb/controllers/caselifetime.py (CaselifetimeController.index): Use _get_value method to get values form the libformed. * waskaweb/controllers/caselifetime.py (CaselifetimeController.changeLifetime): Did removed unused code. * waskaweb/controllers/caselifetime.py (CaselifetimeController.abortAction): Removed unused code and call self.index now after case was aborted * waskaweb/controllers/caselifetime.py (CaselifetimeController.abortcase): Removed unused code 2010-01-28 Torsten Irländer Deleted orphaned mako templates. All of them are not referenced in any mako nor py file: * waskaweb templates/appointments/dialogs/notificate_delete_appointment.mako, waskaweb/templates/administration/dialogs/notificate_deleteuser.mako, waskaweb/templates/administration/dialogs/failed_deletegroup_user.mako, waskaweb/templates/caselifetime/verlaengerung.mako, waskaweb/templates/documents/upload_body.mako, waskaweb/templates/casemanagement/newLogbookEntry.mako, waskaweb/templates/casemanagement/dialogs/notificate_import_dub.mako, waskaweb/templates/casemanagement/dialogs/success_import_anon.mako, waskaweb/templates/casemanagement/dialogs/success_delete_agency.mako, waskaweb/templates/casemanagement/dialogs/notificate_bundle_delete_agency.mako, waskaweb/templates/casemanagement/dialogs/notificate_printall.mako, waskaweb/templates/casemanagement/dialogs/confirm_delete_aid.mako, waskaweb/templates/casemanagement/dialogs/failed_delete_agency.mako, waskaweb/templates/casemanagement/dialogs/success_export_agency.mako, waskaweb/templates/casemanagement/dialogs/notificate_bundle_export_agency.mako, waskaweb/templates/casemanagement/dialogs/success_delete_aid.mako, waskaweb/templates/casemanagement/dialogs/failed_markanonymize.mako, waskaweb/templates/casemanagement/agency_overview.mako, waskaweb/templates/casemanagement/listbadcases.mako, waskaweb/templates/casemanagement/new_appointment.mako: Deleted 2010-01-28 Bernhard Herzog * waskaweb/controllers/case_overview.py: Expand star imports 2010-01-28 Bernhard Herzog * waskaweb/controllers/statement.py: Accidentally removed one import too many (h from waskaweb.lib.base) 2010-01-28 Bernhard Herzog * waskaweb/controllers/case_overview.py: Fix formatting. 2010-01-28 Torsten Irländer Adopted form generation in form with htmlhelpers from webhelpers to API Changes. * waskaweb/templates/casemanagement/upload.mako: Fixed formatting. Provive "name" parameter for submit button, Changed h.file_field call to h.file. * waskaweb/templates/documents/case_new.mako: Formatting * waskaweb/templates/documents/global_upload.mako: Formatting.Provive "name" parameter for submit button, Changed h.file_field call to h.file. 2010-01-28 Torsten Irländer Replaced h.url calls with h.url_for calls * waskaweb/templates/appointments/appointment_form.mako: Removed commented out code. * waskaweb/templates/casemanagement/agency_overview.mako: Call h.url_for instead of h.url * waskaweb/templates/casemanagement/upload.mako: Call h.url_for instead of h.url * waskaweb/templates/documents/case_new.mako: Call h.url_for instead of h.url * waskaweb/templates/documents/global_upload.mako: Call h.url_for instead of h.url * waskaweb/templates/documents/upload_body.mako: Call h.url_for instead of h.url * waskaweb/templates/statement/dialogs/missing_statement_body.mako: Call h.url_for instead of h.url 2010-01-27 Bernhard Herzog Fetch instance variables of CaseDigest on demand from the instance tree. * waskaweb/model/case.py (CaseDigest.fields, CaseDigest._fields): Renamed fields to _fields because it's only used internally. (CaseDigest.__init__): Store id in instance variable id. (CaseDigest._loadFromDB): Only create the intance tree and save it in self._it. Any actual values needed are fetched on demand. (CaseDigest.__getattr__): Fetch instance variables from the instance tree, using self._names to map the currently used instance variable names to the field descriptions. (CaseDigest._names): New. Map instance variable names to field descriptions. 2010-01-27 Bernhard Herzog * waskaweb/model/case.py (log): Add logger. 2010-01-27 Bernhard Herzog * waskaweb/model/case.py (CaseStatementField): Removed. Not used anymore. 2010-01-27 Bernhard Herzog * waskaweb/model/case.py (CaseDigest.fields): Remove field statement. It's not used and referred to the wrong formed field anyway. 2010-01-27 Bernhard Herzog * waskaweb/model/case.py (Case.__init__): remove instance variables page and aidplanstatement. They're not used anywhere. 2010-01-27 Bernhard Herzog * waskaweb/lib/search.py (SEARCH_CASE_SQL): fix syntax error in query. 2010-01-27 Bernhard Herzog * waskaweb/model/case.py (Case.__init__): Remove instance variable privacy_statement_signed. It's not used anywhere. (CaseFactory.loadByName): Remove parameter einverst and don't assign it to the case object's privacy_statement_signed. (CaseOverview.search): Don't pass row['einverstaendniserklaerung'] to loadByName * waskaweb/lib/search.py (SEARCH_CASE_SQL): Remove column einverstaendniserklaerung from the search result. It's not used anymore. 2010-01-27 Bernhard Herzog * waskaweb/lib/search.py (SEARCH_CASE_SQL): Remove columns zeitraum_nachbetreuung and art_beendigung from the search result. They're not used anymore. 2010-01-27 Bernhard Herzog * waskaweb/model/case.py (State.setData): Remove cm_finished and cm_canceled parameters and instance variables. (CaseFactory.loadByName): Remove s_cm_finished and s_cm_canceled parameters. (CaseOverview.search): Don't pass row['art_beendigung'] and row['zeitraum_nachbetreuung'] to loadByName 2010-01-27 Bernhard Herzog * waskaweb/lib/search.py (SEARCH_CASE_SQL), waskaweb/model/case.py (CaseOverview.search): use the formed names for name, vorname, fn in the search API 2010-01-27 Bernhard Herzog * waskaweb/templates/casemanagement/static_form/statement.mako: Removed. Not used. 2010-01-27 Bernhard Herzog * waskaweb/model/case.py (LOAD_CASE_SQL, CaseFactory.loadById): Use the same field name in the SQL query result as in the formed tree and database. 2010-01-27 Bernhard Herzog * waskaweb/lib/search.py: Remove unused imports. Import hasRole directly from waskaweb.lib.security instead of accessing it via helpers. 2010-01-27 Bernhard Herzog * waskaweb/templates/documents/case_new.mako: Adapt to helpers API changes. 2010-01-27 Bernhard Herzog * waskaweb/lib/helpers.py: Adapt to changes in Python 0.9.7: Add some more imports to get more of the old helpers API back. 2010-01-27 Bernhard Herzog * waskaweb/lib/search.py: Fix formatting. Add some comments. 2010-01-27 Torsten Irländer * waskaweb/lib/helpers.py: Reordered functions and added some comments * waskaweb/model/expr.py: Deleted. Is not used anywhere. 2010-01-27 Bernhard Herzog * waskaweb/controllers/caselifetime.py (RENEW_TEXT_CONFIRM): Fix syntax erro introduced while reformatting. 2010-01-27 Bernhard Herzog * waskaweb/model/phases_factory.py (RequiredFields.getLinkListForPhase): Add some missing u-string-prefixes that were accidentally omitted during reformatting 2010-01-26 Bernhard Herzog * waskaweb/model/phases_factory.py: Expand star imports. Remove unused imports 2010-01-26 Bernhard Herzog * waskaweb/model/phases_factory.py: Fix formatting 2010-01-26 Bernhard Herzog * waskaweb/model/agencysettings.py: Remove unused imports 2010-01-26 Bernhard Herzog * waskaweb/model/agencysettings.py: Fix formatting 2010-01-26 Bernhard Herzog * waskaweb/model/case.py: Remove unused imports 2010-01-26 Bernhard Herzog * waskaweb/model/statement.py: Fix formatting 2010-01-26 Bernhard Herzog * waskaweb/controllers/statement.py: Expand star imports and remove unused imports. 2010-01-26 Bernhard Herzog * waskaweb/controllers/statement.py (DECLINE_QUESTION): Removed. Not used. 2010-01-26 Bernhard Herzog * waskaweb/controllers/statement.py: Fix formatting 2010-01-26 Bernhard Herzog * waskaweb/controllers/waska.py: Expand star imports. 2010-01-26 Bernhard Herzog * waskaweb/controllers/caselifetime.py: Fix formatting 2010-01-26 Bernhard Herzog * waskaweb/controllers/CaseBase.py: Expand star imports. 2010-01-26 Bernhard Herzog * waskaweb/controllers/case.py: Expand star imports. Import sys explicitly instead of importing it from waskaweb.lib.base. Nothing from waskaweb.lib.evaluation is actually used in case.py. 2010-01-26 Bernhard Herzog * waskaweb/controllers/case.py: Remove unused string constants 2010-01-26 Bernhard Herzog * waskaweb/controllers/case.py: Fix formatting 2010-01-26 Torsten Irländer * waskaweb/model/view.py: Deleted not imported anwhere * waskaweb/controllers/statement.py: Removed import of model.agency as none of the imported classes are referenced. Removed import of AidList from model.repeatgroup as it is not used. * waskaweb/lib/evaluation.py: Removed unused imports: AgencyBundle from model.agency; parseSearchOptions from controllers.case_overview; AVGKIND2TEXT, SUMKIND2TEXT from model.logbook; AgencySearch from lib.search. Cleanup of imports * waskaweb/model/agency.py: Deleted not imported anywhere * waskaweb/lib/search.py (AgencySearch): Removed. Not used anywhere. * waskaweb/lib/search.py: Removed SQL for AgencySearch. * waskaweb/lib/search.py (CaseSearch): Removed code which was commented out. * waskaweb/controllers/case.py (load_case): Removed debugging output. * waskaweb/model/navigation.py: Deleted. Not imported anywhere. * waskaweb/model/case.py: Removed CREATE_SQL statement. Not used. Removed import from waskaweb.model.repeatgroup. Not used anywhere. * waskaweb/controllers/navigation.py: Removed import of AidList from mode.repeatgroup. Not used. * waskaweb/model/repeatgroup.py: Deleted. Not imported anywhere. * waskaweb/model/forms.py: Deleted. Not imported anywhere. * waskaweb/lib/casedata.py: Deleted. Not imported anywhere. * waskaweb/lib/evaluation_new.py: Deleted. Not imported anywhere. * waskaweb/lib/helpers.py (getFormularHeaders): Removed. Not used anywhere. * waskaweb/templates/casemanagement/formular.mako: Deleted. Not rendered anywhere * waskaweb/lib/helpers.py (getHelp): Implemented helpHelp function again. TODO: Put rendering of link and icon into lib renderer, as is is used there too. * waskaweb/lib/helpers.py (hasErrorsOnPage): Removed is not called anywhere. * waskaweb/lib/navigation.py (get_pagename): New. Moved from lib.helpers getFormularName. * waskaweb/lib/helpers.py (getFormularName): Call get_pagename from lib.navigation now. * waskaweb/templates/formularpage/formular.mako: Removed template function buildFormErrors * waskaweb/lib/helpers.py (getErrorsAndWarningsOnPage): Removed. Not called from anywhere * waskaweb/lib/helpers.py (getFormularErrors): Removed. Not called from anywhere. * waskaweb/lib/helpers.py (getPrintUrl): Removed Not called from anywhere. * waskaweb/lib/renderer.py: Deleted. Not imported from anywhere. * waskaweb/lib/renderer_new.py: Renamed to renderer.py. * waskaweb/controllers/formularpage.py: Changed imports to import from new renderer.py * waskaweb/model/logbook.py (Logbook.addEntry): Added logging * waskaweb/controllers/case.py (CaseController.newLogbookEntry): Cleanup function. Removed uneeded vars. * waskaweb/lib/helpers.py (render_navigation): Removed commented out code * waskaweb/lib/navigation.py (render_navigation): New. Copied from lib.helpers * waskaweb/lib/helpers.py (render_navigation): Removed. Is now imported from lib.navigation * waskaweb/lib/helpers.py (hasRole): Moved dic with mapping of old and new rolenames into hasRole function. The dic is not used anywhere * waskaweb/lib/security.py (hasRole): New. Copied from lib.helpers * waskaweb/lib/helpers.py: Import hasRole from lib.security * waskaweb/templates/logbook/edit_body.mako: Leave case_id hidden form field empty. Will be field by htmlfill. * waskaweb/lib/helpers.py (getCaseShort): Moved function * waskaweb/lib/filters.py (shorten): Modifiy shorten function to behave like getCaseShort. * waskaweb/lib/helpers.py (getCaseShort): Call shorten function from lib.filters. * waskaweb/lib/navigation.py: New import of Filecache * waskaweb/lib/helpers.py: Removed unneeded import of Filecache * waskaweb/templates/casemanagement/caselist.mako: Use shorten function instead of getCaseShort * waskaweb/templates/casemanagement/main.mako: Use shorten function instead of getCaseShort * waskaweb/lib/helpers.py (getCaseShort): Removed not call anywhere * waskaweb/lib/filters.py (nl_to_br): Handle newline on window an mac system correct * waskaweb/lib/helpers.py (replaceNewlines): Call nl_to_br function from lib.filters * waskaweb/templates/caselifetime/overview.mako: Call nl_to_br function instead of replaceNewlines. * waskaweb/lib/helpers.py (replaceNewlines): Removed not called from anywhere * waskaweb/templates/documents/case_overview.mako: Call format_number instead of formatNumber * waskaweb/templates/documents/global_overview.mako: Call format_number instead of formatNumber * waskaweb/lib/evaluation.py (Evaluation_14.perform): Call format_number instead of formatNumber. Changed import from formatNumber to format_number * waskaweb/model/document.py (Document.create): Call format_number instead of formatNumber * waskaweb/lib/helpers.py (formatNumber): Removed not called from anywhere * waskaweb/lib/helpers.py (status_message): Call localized format_datetime function to format date of status message * waskaweb/lib/helpers.py (get_logouttime): Call localized format_time function to format logouttime * waskaweb/lib/security.py (slashSplit): New. Moved from lib.helpers * waskaweb/lib/security.py (getKAName): New Moved from lib.helpers * waskaweb/lib/security.py (getDBName): Log error in case of an exception istead of debug * waskaweb/lib/helpers.py: import getKAName from lib security. Access to the SSL certificate is done there anyway * waskaweb/lib/helpers.py (getKAName): Removed. Is not imported from lib.security now. * waskaweb/lib/helpers.py (slashSplit): Removed. Is not used here anymore * waskaweb/templates/formularpage/formular.mako: Call get_pagename instead of getFormularName * waskaweb/templates/repeatgroup/dialogs/confirm_delete_rg_entry.mako: Call get_pagename instead of getFormularName * waskaweb/lib/helpers.py (getFormularName): Removed. Not used anywhere. 2010-01-25 Bernhard Herzog * waskaweb/controllers/case.py: Removed unused imports 2010-01-25 Bernhard Herzog * waskaweb/controllers/CaseBase.py: Fix formatting 2010-01-25 Bernhard Herzog * waskaweb/controllers/CaseBase.py: Removed unused imports 2010-01-25 Bernhard Herzog * waskaweb/controllers/CaseBase.py (CasebaseController._getRenderdFormElements) (CasebaseController._getFormNavigation) (CasebaseController._getFormdata): Removed. Unused. 2010-01-25 Bernhard Herzog * waskaweb/controllers/CaseBase.py: Remove commented out code 2010-01-25 Bernhard Herzog * waskaweb/controllers/statement.py, waskaweb/controllers/caselifetime.py, waskaweb/controllers/case.py: Do not set c.form_navigation anywhere. It's not used. 2010-01-25 Bernhard Herzog * waskaweb/controllers/case.py: Removed commented out code 2010-01-25 Bernhard Herzog * waskaweb/controllers/rg_aid.py, waskaweb/tests/functional/test_rg_aid.py: Removed. Not used anymore. * waskaweb/config/routing.py (make_map): Remove references to rg_aid 2010-01-25 Bernhard Herzog * waskaweb/model/case.py (Case.getAppointments): Removed. Unused. 2010-01-25 Bernhard Herzog * waskaweb/model/case.py (getAidPlanStatement), waskaweb/model/agencysettings.py (Agency.getAidPlanStatement), waskaweb/model/statement.py (AidPlanStatement): Removed. Aid plans are not used in WASKO. 2010-01-25 Bernhard Herzog * waskaweb/model/case.py (_createDependencies) (_createTablesForImport, _fetchKundennummerFromPDF, _caseExists): Removed. Unused. 2010-01-25 Bernhard Herzog * waskaweb/controllers/case.py (CaseController.printAll): get_rendered_page always returns unicode so don't convert the its returnvalue to unicode again 2010-01-25 Bernhard Herzog * waskaweb/model/case.py (CaseDigest.fields): New class variable with a list of field descriptions (CaseDigest._loadFromDB): Iterate over self.fields to read the values from the instance tree and to set the instance variables. (CaseField, CaseStringField, CaseAgeField, CaseStatementField): New classes to describe the fields of the case digest. 2010-01-25 Bernhard Herzog * waskaweb/model/case.py (Case.getDigest): remove the parameter empty and the Ürkan mode with it. No caller uses it anymore. 2010-01-25 Bernhard Herzog * waskaweb/templates/casemanagement/digest_body.mako, waskaweb/model/case.py (CaseDigest._loadFromDB): Apply the F.NA and nl_to_br in the template, not in _loadFromDB. Also, html-escape the value properly. 2010-01-25 Bernhard Herzog * waskaweb/lib/filters.py (nl_to_br): New. filter to convert newlines to HTML
tags 2010-01-25 Bernhard Herzog * waskaweb/model/case.py: Remove unused SQL templates. 2010-01-22 Bernhard Herzog * waskaweb/templates/casemanagement/caselist.mako: Move list row code into a separate function. 2010-01-22 Bernhard Herzog * waskaweb/templates/casemanagement/caselist.mako: build table header rows and data row using a list of column descriptions. 2010-01-22 Bernhard Herzog * waskaweb/templates/casemanagement/caselist.mako: Move status icons and per-case actions into their own functions. 2010-01-22 Bernhard Herzog * waskaweb/templates/casemanagement/caselist.mako: Better way to handle alternating table row styles. Reduces code duplication. 2010-01-22 Bernhard Herzog * waskaweb/templates/casemanagement/caselist.mako: Move the code for the table headers into a separate function. 2010-01-22 Bernhard Herzog * waskaweb/model/case.py: Fix formatting. 2010-01-22 Torsten Irländer * waskaweb/lib/evaluation.py (Evaluation._build_eval_where_clause): Deleted is not called from anywhere. * waskaweb/lib/evaluation.py (Evaluation_X): Deleted unused evaluation classes which where not used anymore. Left over classes which are referenced from logbook for logbook evaluation. 2010-01-22 Torsten Irländer * waskaweb/controllers/case_overview.py: Removed import. Was not used * waskaweb/lib/search.py (build_inconsistency_type_querys): Removed. Was not used anyway. * waskaweb/controllers/agency_overview.py, waskaweb/tests/functional/test_agency_overview.py: Removed is not called anywhere, anymore (evaluation specific) * waskaweb/templates/casemanagement/agencylist.mako, waskaweb/templates/casemanagement/agency_search.mako: Removed unused templates (evaluation specific) 2010-01-22 Torsten Irländer * ChangeLog.txt: Renamed to ChangeLog (GNU naming) 2010-01-21 Bernhard Herzog * waskaweb/model/case.py (CaseOverview.__init__): Remove unused parameter search_str. 2010-01-21 Bernhard Herzog * waskaweb/model/case.py (Case.getPage, Case.getKompetenzId): Removed. Not used anywhere. 2010-01-21 Bernhard Herzog * waskaweb/controllers/case_overview.py (CaseOverviewController.overview): Remove misleading comment 2010-01-21 Bernhard Herzog * waskaweb/controllers/administration.py (AdministrationController.viewAidPlanStatement): Removed. It's unused. 2010-01-21 Bernhard Herzog * waskaweb/templates/administration/edit_settings.mako: Fix formatting. Remove commented out code 2010-01-21 Bernhard Herzog * waskaweb/templates/administration/show_settings.mako: Fix formatting. Remove commented out code 2010-01-21 Bernhard Herzog * waskaweb/templates/casemanagement/overview.mako: Removed commented out check_validity bundle action. * waskaweb/controllers/case_overview.py (CaseOverviewController.bundleAction): Remove check_validity bundle action. It was commented out anyway. * waskaweb/model/case.py (CaseBundle.checkValidity) (Case.checkValidity): Removed. Not used anywhere. 2010-01-21 Bernhard Herzog * waskaweb/templates/casemanagement/overview.mako: Remove evalue bundle action. It was commented out anyway. * waskaweb/controllers/case_overview.py (CaseOverviewController.bundleAction): Remove evaluate action 2010-01-21 Bernhard Herzog * waskaweb/controllers/case_overview.py (CaseOverviewController.listBadCases): Removed. Not used anywhere. 2010-01-21 Bernhard Herzog * waskaweb/lib/base.py (BaseController.__before__): Remove evalation server specific code. c.isEvaluationServer is gone now. 2010-01-21 Bernhard Herzog * waskaweb/lib/evaluation.py (Evaluation.where_clause) (Evaluation._build_eval_where_clause): Remove evalation server specific code. 2010-01-21 Bernhard Herzog * waskaweb/lib/evaluation.py, waskaweb/lib/filecache.py: Fix coding declation. Emacs doesn't UTF-8 with upper case letters. 2010-01-21 Bernhard Herzog * waskaweb/lib/helpers.py: remove unused adelexml import * waskaweb/lib/adelexml.py: Removed. No longer used. 2010-01-21 Bernhard Herzog * waskaweb/templates/administration/new_user.mako: Remove evaluation server parts. Cleaner handling of adm user. 2010-01-21 Bernhard Herzog * waskaweb/templates/administration/new_user.mako: Fix formatting. 2010-01-21 Bernhard Herzog * waskaweb/templates/casemanagement/downloadXML.mako: Fix formatting. Remove evaluation server parts. 2010-01-21 Bernhard Herzog * waskaweb/templates/casemanagement/downloadCSV.mako: Fix formatting. Remove evaluation server parts. 2010-01-21 Bernhard Herzog * waskaweb/templates/casemanagement/downloadXLS.mako: Fix formatting. Remove evaluation server parts. 2010-01-21 Bernhard Herzog * waskaweb/templates/casemanagement/overview.mako: Fix bundle action URL 2010-01-20 Bernhard Herzog * waskaweb/templates/main.mako: Show navigation for appointments, documents, import and evaluation only if they're activated. 2010-01-20 Bernhard Herzog * waskaweb/lib/config.py (MpulsConfig.build_defaults): Add more settings to enable/disable modules and case modules. 2010-01-20 Bernhard Herzog * waskaweb/templates/main.mako: remove evaluation specific parts. 2010-01-20 Bernhard Herzog * waskaweb/templates/main.mako: Fix formatting. 2010-01-20 Bernhard Herzog * waskaweb/templates/start/start.mako: Fix formatting 2010-01-20 Bernhard Herzog * waskaweb/templates/start/start.mako: remove message about inconsistencies. It's not used in wasko. 2010-01-20 Bernhard Herzog * waskaweb/templates/start/start.mako: Include newslist.mako, remindlist.mako, appointmentlist.mako, globalappointmentlist.mako only if the corresponding is enabled. 2010-01-20 Bernhard Herzog * waskaweb/templates/start/start.mako: Remove evaluation server specific branch. 2010-01-20 Bernhard Herzog * waskaweb/controllers/waska.py: Remove unused imports 2010-01-20 Bernhard Herzog * waskaweb/controllers/waska.py: Fix formatting 2010-01-20 Bernhard Herzog Fix application logic: * waskaweb/controllers/waska.py (get_remindlist): always return the max save time reminders. For case managers, also return the case reminders. (get_case_appointments): do not include the reminders. 2010-01-20 Bernhard Herzog * waskaweb/controllers/waska.py (WaskaController.start) (get_remindlist, get_newslist, get_case_appointments) (get_global_appointments): Split most of the code of WaskaController.start into the new get_* functions. The inconsistency reporting has been removed for now. 2010-01-20 Bernhard Herzog * waskaweb/lib/config.py (MpulsConfig.build_defaults): Add some settings to enable/disable modules and case modules. 2010-01-19 Bernhard Herzog * waskaweb/lib/helpers.py (get_logouttime): Do not use a hard-wired value of the time-out duration. Add a doc-string. 2010-01-19 Bernhard Herzog * waskaweb/lib/helpers.py (hasRole): Use a dictionary to map old role-names to the names. 2010-01-19 Bernhard Herzog * waskaweb/lib/helpers.py: Fix formatting 2010-01-19 Bernhard Herzog * waskaweb/lib/helpers.py (safe_unicode): Removed. Unused. 2010-01-19 Bernhard Herzog * waskaweb/lib/helpers.py (dd_mm_YYYY, HH_MM, dd_mm_yyyy_HH_MM): Improve doc-strings and comments. Implement dd_mm_yyyy_HH_MM in terms of the other two. 2010-01-19 Bernhard Herzog * waskaweb/lib/helpers.py (date2str, time2str, datetime2str) (format_date, format_time, format_datetime): The format_* functions are basically just aliases for the *2str functions. However, it's the format_* functions that are actually used. So basically rename the *2str functions to the corresponding format_* functions and implement them more consistently, in particular always log errors. 2010-01-19 Bernhard Herzog * waskaweb/model/phases_factory.py (space_short), waskaweb/lib/helpers.py (space_short): Move space_short from helpers to phases_factory because that's the only place where it's used. 2010-01-19 Bernhard Herzog * waskaweb/lib/helpers.py (get_adele_name, get_adele_description) (str2date, str2time, str2datetime): Removed. They're not used anywhere 2010-01-19 Bernhard Herzog * waskaweb/model/logbook.py (checkDate, checkTime), waskaweb/lib/helpers.py (checkDate, checkTime): Move checkDate and checkTime and the constants used by them to from helpers to logbook becase that's the only place where they're actually used. * waskaweb/model/logbook.py (LogbookEntryChecker.__init__): Adapt accordinly. 2010-01-19 Bernhard Herzog * waskaweb/lib/base.py (BaseController.__before__): Fix syntax error 2010-01-19 Bernhard Herzog * waskaweb/lib/config.py (MpulsConfig.build_defaults): Remove defaults for now unused paths settings 2010-01-19 Bernhard Herzog * waskaweb/lib/base.py: Fix formatting and remove commented out code 2010-01-19 Bernhard Herzog * waskaweb/lib/base.py (BaseController.__before__): Write error message to log instead of stderr. Remove unnecessary debug log 2010-01-19 Bernhard Herzog * waskaweb/lib/app_globals.py: Remove unused imports 2010-01-19 Bernhard Herzog * waskaweb/lib/app_globals.py (Globals.__init__): access pylons.config consistently as config 2010-01-19 Bernhard Herzog * waskaweb/lib/app_globals.py: Improve formatting 2010-01-19 Bernhard Herzog * waskaweb/lib/app_globals.py (Globals.__init__): Remove the config file logging messages that are now in MpulsConfig 2010-01-19 Bernhard Herzog * waskaweb/lib/config.py (MpulsConfig.__init__): Simplify try-finally-block and improve logging 2010-01-19 Bernhard Herzog * waskaweb/lib/app_globals.py (Globals.__init__): Better exception logging. Slightly better path handling due to configuration improvements. 2010-01-19 Bernhard Herzog * waskaweb/lib/app_globals.py: Remove unused import 2010-01-19 Bernhard Herzog * waskaweb/config/environment.py: Improve formatting 2010-01-19 Bernhard Herzog * environment.py (load_environment): Initialize application with the correct paths immediately instead of overriding them after initialization * development.ini: Add new settings: mpuls.app.path.public mpuls.app.path.i18n mpuls.app.path.addons mpuls.app.path.templates 2010-01-19 Bernhard Herzog * environment.py (load_environment): remove tmpl_options because it's not used 2010-01-19 Bernhard Herzog * environment.py (load_environment): remove debug print 2010-01-19 Bernhard Herzog * development_wsgi.ini, production_wsgi.ini: removed. no longer used. 2010-01-13 Torsten Irlaender Update to pylons 0.9.7 and reactivate running the application in standalone mode. * setup.py, development.ini, waskaweb/config/middleware.py, waskaweb/controllers/waska.py, waskaweb/lib/helpers.py, waskaweb/lib/security.py, waskaweb/lib/base.py: Updateded WASKO according to: http://wiki.pylonshq.com/display/pylonsdocs/Upgrading. Further enabled feature to run the appliction as paster app. DB-Name ist then fetched from the config file. Fixed some rendering issue comming with 0.9.7 of pylons * waskaweb/controllers/formularpage.py, waskaweb/lib/renderer_new.py, waskaweb/templates/casemanagement/overview.mako: Added some debugging and removed use of htmlfill for formularpage rendering as it seems to overwrite existing values. 2010-01-08 Frank Koormann * waskaweb/templates/caselifetime/overview.mako: Typo fixed 2009-11-23 Torsten Irlaender Load formed and annotations from public dir * waskaweb/config/environment.py, waskaweb/lib/config.py, waskaweb/lib/validators.py, waskaweb/lib/app_globals.py, waskaweb/templates/casemanagement/new.mako: Load formedtree and annotations from a formed dir located under public. Public can be configured in a config file. Added new structure for phase (Not functional yet) * waskaweb/model/phase.py, waskaweb/tests/functional/test_phase.py, waskaweb/controllers/phase.py, waskaweb/templates/phase, waskaweb/templates/phase/phase.mako: These files wil ideally replace to old phase-classe. Add a new controller to handle all phasespecific calls. Unifiy the old phases files in one new phase-file. Moved default statement to new public dir * waskaweb/model/agencysettings.py: Load statements from formed dir unter public. * waskaweb/public/formed/privacy_statement.html waskaweb/public/formed/discretion_statement.html waskaweb/public/formed/aid_plan_statement.html formed/privacy_statement.html formed/discretion_statement.html formed/aid_plan_statement.html: Moved files. * formed/waska-hilfetexte.xhtml: Deleted. Not referenced anymore. 2009-11-18 Torsten Irlaender Implement grouping of choicelists * waskaweb/lib/renderer_new.py, formed/formedtree_web.xml: New formedtree with groups. Adopted grouping 2009-11-17 Torsten Irlaender Issue606 * templates/casemanagement/phase.mako: Allow to restarting allready finished phases again. Further added check if end of CM was abort. if so, then nb phase can not be startet. 2009-11-11 Torsten Irlaender Issue522 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed error message Issue549 * waskaweb/controllers/case.py: Inproved confirmation dialog for deleting cases. Issue554 * waskaweb/controllers/caselifetime.py: - Added check on None-Values. - Disable Submit for admin in Verwaltungsfunktionen 2009-11-04 Torsten Irlaender Issue567 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Fixed spelling 2009-11-03 Torsten Irlaender Issue522 * waskaweb/lib/validators.py: Allow alternative date formats 2009-11-02 Torsten Irlaender Issue844 (waska) * waskaweb/templates/casemanagement/new.mako: Added new statement 2009-10-30 Torsten Irlaender Issue844 (waska) * waskaweb/public/documents/ee_ar.pdf, waskaweb/public/documents/ee_en.pdf, waskaweb/public/documents/ee_de_ohnetn.pdf, waskaweb/public/documents/ee_tr.pdf, waskaweb/public/documents/ee_ru.pdf, waskaweb/public/documents/ee_pl.pdf, waskaweb/templates/statement/list_statements.mako, formed/privacy_statement.html: Updated privacy statement. 2009-10-26 Torsten Irlaender Issue255: * formed/formedtree_web.xml: Commented out "Freie Dokumentation NB" Issue530: * waskaweb/public/xml/eval_analyse.xml, waskaweb/public/xml/eval_weitere.xml: Unified namings Issue522: * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/controllers/evaluate.py: Changed translation: Does not include umlauts anymore (quickfix) Issue466: * waskaweb/lib/search.py: Added new migration filter Issue427: * waskaweb/model/phases.py: Do not display dates nor calculate timeframes on phasepage if time is unknown (0001-01-01) 2009-10-23 Torsten Irlaender Set version to 1.1.0 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Set version * Changes.txt: Updated Changes Fixed getting default datefields * controllers/evaluate.py: Wrong key 2009-10-19 Torsten Irlaender Fixed Typo * waskaweb/templates/evaluation/evaluate.mako: Spelling erros Set version to 1.1.0-rc4 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po Issue542 * waskaweb/controllers/evaluate.py: If art ending is given check if the case was finished within the evaluation timeframe * waskaweb/public/xml/eval_zusammenfassung.xml: Fixed syntax error. Set version to 1.1.0-rc5 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po 2009-10-16 Torsten Irlaender Set version to 1.1.0-rc2 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po Issue537: * waskaweb/templates/evaluation/evaluate_tagebuch.mako: Added migration Issue522: * waskaweb/lib/validators.py: Start and enddate must not be empty Issue525: * waskaweb/templates/evaluation/evaluate_adele.mako: Disabled datefields (was only readonly) 2009-10-15 Torsten Irlaender Fixed spelling errors * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/start/help.mako: Fixed some spelling errors. Issue530 * waskaweb/public/xml/eval_tagebuch.xml, waskaweb/public/xml/eval_zusammenfassung.xml: Fixed typos Issue 194 * waskaweb/public/images/logo_ka_75.png: New logo 2009-10-14 Torsten Irlaender Issue525 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/controllers/evaluate.py, waskaweb/public/xml/eval_adele.xml, waskaweb/templates/evaluation/evaluate.mako, waskaweb/templates/evaluation/evaluate_adele.mako: Disabled configuration option when selecting adele evalution 2009-10-08 Torsten Irlaender Issue504 * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/phase.mako: Only allow to start NB if the case manager indicates that it is really planed. 2009-10-08 Torsten Irlaender Set Version string to 1.1.0 * waskaweb/i18n/waskaweb.pot waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Updated translations. Set version 2009-10-06 Torsten Irlaender Implemented searchfiters for evaluations * waskaweb/controllers/evaluate.py, waskaweb/lib/helpers.py, waskaweb/lib/validators.py, waskaweb/templates/evaluation/evaluate.mako: Added filters for phase and type of ending. Bases on the filters in connection with dates a sql query is generated which is used to build the base amount of cases for the evaluation. Open resultpage in a new windown (workaround for layout issues) * waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css, waskaweb/templates/evaluation/result.mako, waskaweb/templates/evaluation/evaluate.mako: Display result of the evaluation in a new window. Created new styles. Added XML and CSV Export * waskaweb/controllers/evaluate.py: Added controllers for XML and CSV Export. Fixed evaluations * waskaweb/public/xml/eval_tagebuch.xml, waskaweb/public/xml/eval_zusammenfassung.xml: Do evaluation on views instead on tables 2009-10-05 Torsten Irlaender Fixed logbuch evalauation * waskaweb/templates/logbook/overview.mako, waskaweb/templates/evaluation/logbook.mako: Evaluation of a single logbook was broken as the whole evaluation thing has changed. Added new template for logbook evaluations. Added new bundled action to check cases for validity * waskaweb/model/case.py, waskaweb/controllers/case_overview.py, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/dialogs/success_checkvalidity.mako, waskaweb/templates/casemanagement/dialogs/failed_checkvalidity.mako: Added function (bundle and single case) to check for validity. The function is currently commented out in bundles actions. Issue505 * waskaweb/public/xml/eval_adele.xml, waskaweb/public/xml/eval_analyse.xml, waskaweb/public/xml/eval_aktiv.xml, waskaweb/public/xml/eval_tagebuch.xml, waskaweb/public/xml/eval_verlauf.xml, waskaweb/public/xml/eval_weitere.xml, waskaweb/public/xml/eval_zusammenfassung.xml: Changed master_tbl_view to master_tbl_eval_total_view 2009-10-02 Torsten Irlaender Issue438 * waskaweb/controllers/statement.py: Return to digest if statement is unclear in set statement dialog. Issue432 (not fixed but marked) * waskaweb/model/case.py: Added comments. Issue466: * waskaweb/lib/search.py: Fixed search query Issue457: * waskaweb/controllers/statement.py: Fixed setStatement function. 2009-09-30 Torsten Irlaender Enhance evaluation interface * templates/evaluation/evaluate.mako: As using search results as base for evaluations does not work yet. The evaluation interface was enhanced to enabled users to set the start und end dates. This way the evaluation will work in the same way the Adele evalutions was performed for the ESF (no search before). Fixed layout * waskaweb/public/styles/all.css, waskaweb/public/styles/color3.css: Fixed styles 2009-09-24 Torsten Irlaender Fixed evaluations on db without rg * waskaweb/controllers/evaluate.py: Fixed start and end date parameter * waskaweb/public/xml/eval_adele.xml, waskaweb/public/xml/eval_tagebuch.xml: Adopted evaluations for db without rg. 2009-09-23 Torsten Irlaender Perform evaluations in with default options (No integration with search). * waskaweb/controllers/evaluate.py, waskaweb/lib/helpers.py, waskaweb/lib/validators.py: Replaced old evaluate controller with new one. * waskaweb/public/xml/eval_adele.xml, waskaweb/public/xml/eval_analyse.xml, waskaweb/public/xml/eval_aktiv.xml, waskaweb/public/xml/eval_tagebuch.xml, waskaweb/public/xml/eval_verlauf.xml, waskaweb/public/xml/eval_weitere.xml, waskaweb/public/xml/eval_zusammenfassung.xml: Added evaluations files. * waskaweb/public/styles/all.css, waskaweb/templates/evaluation, waskaweb/templates/evaluation/result.mako, waskaweb/templates/evaluation/evaluate.mako: Added new templates for evaluation * waskaweb/templates/casemanagement/evaluation.mako, waskaweb/templates/casemanagement/evaluation, waskaweb/templates/casemanagement/evaluation/evaluation_avg_effort.mako, waskaweb/templates/casemanagement/evaluation/evaluation_effort.mako, waskaweb/templates/casemanagement/evaluation/evaluation_esfstammblatt.mako, waskaweb/templates/casemanagement/evaluation/evaluation_adele.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_0.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_1.mako, waskaweb/templates/casemanagement/evaluation/evaluation_navigation.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_3.mako: Deleted old evaluation templates 2009-09-22 Torsten Irlaender Read jason-based configuration-files. List evaluations based on configfile. * production_wsgi.ini: Adding var to define json config * waskaweb/lib/config.py, waskaweb/lib/app_globals.py: Read config file on server startup and make it available under mpuls_config. * waskaweb/templates/main.mako: List available evaluations based on configfile. 2009-09-09 Frank Koormann Release 1.0.7 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed Version string * Changes.txt: Added changes. 2009-09-08 Torsten Irlaender * waskaweb/controllers/case.py (CaseController.anonymize): Check also phase: Must be end phase, since admins cannot change fields in the master table (as needed by the case finalisation). 2009-09-05 Frank Koormann * waskaweb/model/case.py: Include datum_cm_ende in LOAD_CASE_SQL 2009-09-04 Frank Koormann Call getData with explicite master_id to avoid side effects on case bundles. Anonymization check for all active cases of the current period, even if started in the former period (modified isYoungerThan). * waskaweb/model/phases_factory.py (RequiredFields.isPhaseComplete, RequiredFields.missingFields, RequiredFields.getLinkListForPhase, RequiredFields.phases_pairs, RequiredFields.currentPhase): Hand through the master_id. * waskaweb/model/case.py (CaseList.getCases): Avoid reuse of CaseFactory (SessionCase.isYoungerThan, Case.isYoungerThan): Evaluate the CM end date: Return True if case was active after given date. (CaseFactory.loadById): Load also "datum_cm_ende". (SessionCase.getFirstMeeting): Return first meeting (was: first_name) (State.phasesAreConsistent, State.phasesAreCompleted): Explicit use of master_id. * waskaweb/controllers/case.py (_completeAnonymizedCase): Explicit master_id in calll of getData 2009-09-04 Frank Koormann Activate new barriers also for cases with pending anonymization. * waskaweb/controllers/case_overview.py (CaseOverviewController.bundleAction): Check inconsistancies before anonymizing. * waskaweb/controllers/case.py (CaseController.anonymize): Added full consistancy check before asking for confirmation. * waskaweb/templates/dialogs/failed.mako: Removed call of "h", since it caused encoding corruption of messages. 2009-08-25 Frank Koormann Release 1.0.6 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed Version string * Changes.txt: Added changes. 2009-08-25 Frank Koormann Establish new barriers for anonymization (cases must be evaluable): - finished CM or post-care phase are anonymizable - exception: running CM mark as aborted is anonymizable, further unfilled mandatory fields are set to "unknown" * waskaweb/model/phase_transition.py (phase_end, phase_start): New, return true if the current phase is corresponding. * waskaweb/model/phases_factory.py (currentPhase): New, initialize phase object. * waskaweb/model/case.py (Case.getId): New. (State.phasesAreCompleted): New, true if current phase is complete. This implements special handling of aborted CM phase. * waskaweb/controllers/case_overview.py (CaseOverviewController._filterBundle): phasesAreCompleted added. * waskaweb/controllers/statement.py: Updated messages. (StatementController.declinePrivacyStatement): phasesAreCompleted and _completeAnonymizedCase added. * waskaweb/controllers/case.py: Updated messages. (_determineAnonymizedCaseEndPhase): Helper, determine phase to be set. (_completeAnonymizedCase): Helper, this implements the special handling of aborted CM phase. (CaseController.markForAnonymizeFromOverview, CaseController.markForAnonymize): phasesAreCompleted and _completeAnonymizedCase added. 2009-08-25 Frank Koormann * waskaweb/templates/casemanagement/caselist.mako: Sync pending deletion and pending anonymization behavior: Cases are browseable for admins. 2009-08-19 Frank Koormann * waskaweb/model/casedocument.py (CaseDocument.setData): Fixed typo in Semantic error collection, which caused error report to crash. 2009-08-14 Frank Koormann * waskaweb/model/casedocument.py (CaseDocument.setData): Fixed typo in Semantic error collection, which caused error report to crash. 2009-07-30 Torsten Irlaender Fixed issue392 * waskaweb/controllers/case_overview.py: Fixed name of sortfield. Fixed issue398 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/administration/account_deactivated.mako: Removed optionlist. 2009-08-07 Sascha L. Teichmann 2009-07-29 Torsten Irlaender Make creating cases work with libformed * waskaweb/model/case.py, waskaweb/controllers/case.py, waskaweb/lib/validators.py, waskaweb/templates/casemanagement/new.mako: Make printing of the statement work on case creation again. * waskaweb/model/case.py: Adopted fieldnames. Fixed selection of rg from overview pages * waskaweb/lib/renderer_new.py: Fixed select link Ported back rendering of rg digests in rg overviews * waskaweb/lib/renderer_new.py, waskaweb/public/styles/all.css: Copied styles and function to render rg digests. 2009-07-28 Sascha L. Teichmann * waskaweb/model/case.py: Fixed creation of new cases. 2009-07-28 Torsten Irlaender Major change. Replaced navigation, and Formrenderer! Ported from mpuls-ng. Navigation und Formrendering is basically working again but needs a lot of finetuning. * waskaweb/model/statement.py waskaweb/model/phases_factory.py waskaweb/model/case.py waskaweb/config/routing.py waskaweb/controllers/repeatgroup.py waskaweb/controllers/navigation.py waskaweb/controllers/CaseBase.py waskaweb/controllers/case.py waskaweb/controllers/formularpage.py waskaweb/lib/navigation.py waskaweb/lib/helpers.py waskaweb/lib/base.py waskaweb/lib/renderer_new.py waskaweb/lib/app_globals.py waskaweb/lib/db.py waskaweb/public/styles/all.css waskaweb/public/styles/screen.css waskaweb/public/images/icons/formular waskaweb/public/images/icons/formular/rg_first.png waskaweb/public/images/icons/formular/required.png waskaweb/public/images/icons/formular/rg_new.png waskaweb/public/images/icons/formular/rg_prev.png waskaweb/public/images/icons/formular/undo.png waskaweb/public/images/icons/formular/rg_next.png waskaweb/public/images/icons/formular/evaluation.png waskaweb/public/images/icons/formular/help.png waskaweb/public/images/icons/formular/rg_delete.png waskaweb/public/images/icons/formular/info.png waskaweb/public/images/icons/formular/rg_last.png waskaweb/public/images/icons/navigation waskaweb/public/images/icons/navigation/folder_open.png waskaweb/public/images/icons/navigation/entry.png waskaweb/public/images/icons/navigation/folder_closed.png waskaweb/templates/formularpage waskaweb/templates/formularpage/content.mako waskaweb/templates/formularpage/formular.mako waskaweb/templates/repeatgroup waskaweb/templates/repeatgroup/dialogs waskaweb/templates/repeatgroup/dialogs/confirm_delete_rg_entry.mako waskaweb/templates/casemanagement/main.mako formed/formedtree_web.xml: Lots of new files. Copied from mpuls-ng and adapted to code to work within wasko. Make the annotations work again * waskaweb/templates/annotations, waskaweb/templates/annotations/annotation.mako, waskaweb/controllers/annotations.py: Copied new controller and template from mpuls-ng. Make printing of a formularpage work again * waskaweb/controllers/formularpage.py, waskaweb/public/styles/print.css, waskaweb/templates/formularpage/formular.mako: Added new function to formularpage to handle print requests. Added new styles for printing. Make printing if the digest work again * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/digest_body.mako: New function in controller to handle print requests for the digest. Make printing of the whole case work again * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/main.mako: Removed link to print empty cases. Adopted traversal over the case to the new navigation. Make loading the digest wirk again * model/case.py, controllers/case.py, lib/navigation.py, templates/casemanagement/digest_body.mako: Load casedata and use the libformed for loading. Removed fields for secondary telephonenumbers, as they may not be present. Did not implement such logic to check wheter there is a second telephonenumer or not. Fixed navigation * waskaweb/controllers/navigation.py, waskaweb/controllers/formularpage.py, waskaweb/lib/navigation.py: Unfold folders on save an proceed. Layout of headers adopted to old WASKO-Layout * waskaweb/controllers/case.py, waskaweb/public/styles/screen.css, waskaweb/templates/formularpage/content.mako, waskaweb/templates/formularpage/formular.mako: Render Header of the formular in the similar way like it was in WASKO. 2009-07-16 Torsten Irlaender Set version to 1.0.5 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Set version. * Changes.txt: Added changes from 1.0.4 to 1.0.5 Added addidional search filter: * waskaweb/controllers/case_overview.py, waskaweb/lib/search.py, waskaweb/templates/casemanagement/search.mako: New search filter to search for migration 2009-07-15 Sascha L. Teichmann * waskaweb/model/casexml.py: Fixed issue344 2009-07-14 Torsten Irlaender Fixed issue338 * formed/formedtree_web.xml: Fixed rules for Nachbetreuung. Fixed issue339 * lib/helpers.py, templates/main.mako: Display time when the session will expire. 2009-07-10 Torsten Irlaender Set version to 1.0.4 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Set version. * Changes.txt: Added changes from 1.0.3 to 1.0.4 2009-07-07 Sascha L. Teichmann Fixed issue322 * waskaweb/controllers/case_overview.py: Enable unchecking of parts of the case when exporting. 2009-06-25 Torsten Irlaender Fixed evaluation "Art der Beendigung": Values have changed for "Abbruch" and "Vorzeitige Beendigung * lib/adelexml.py: Changed value for "Abbruch" 2009-06-23 Torsten Irlaender Tagged version 1.0.3 2009-06-22 Torsten Irlaender Added pdf version of EE * waskaweb/public/documents, waskaweb/public/documents/ee_ar.pdf, waskaweb/public/documents/ee_en.pdf, waskaweb/public/documents/ee_tr.pdf, waskaweb/public/documents/ee_ru.pdf, waskaweb/public/documents/ee_pl.pdf, waskaweb/templates/statement/list_statements.mako, waskaweb/templates/casemanagement/new.mako: Added PDF-Versions of EE 2009-06-16 Torsten Irlaender Fixed issue242 * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/main.mako: Admin can not view the logbook anymore. 2009-06-12 Sascha L. Teichmann Tagged as 1.0.2 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Set version string to 1.0.2 2009-06-11 Sascha L. Teichmann Partial Fix for issue207: * waskaweb/model/semantic.py: Corrected typo i error message. * waskaweb/model/casexml.py: Use FormEd type checking. 2009-06-10 Sascha L. Teichmann Tagged as 1.0.1 * Changes.txt: Changes since 1.0.0 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Set version string to 1.0.1 * formed/formedtree_web.xml: From upstream 2009-06-02 Sascha L. Teichmann Fixed issue247 (next attempt) * waskaweb/model/semantic.py: fixed regular expressions. 2009-06-02 Torsten Irlaender Fixed issue142 * waskaweb/controllers/caselifetime.py, waskaweb/lib/validators.py: Do "not" check formvalues if "Antrag ist abgelehnt" Fixed issue263 * formed/formedtree_web.xml: New Formedtree. 2009-05-27 Sascha L. Teichmann Fixed issue247 * waskaweb/model/semantic.py: Dates 'dd.mm' are now completed to 'dd.mm.yyyy' with yyyy being the current. For invalid dates a format suggestion is made. 2009-05-26 Sascha L. Teichmann Fixed issue205, issue219 * formed/formedtree_web.xml: Made name in FormEd unique. There where a a lot of rules with the same name which caused invalid cache access in rule evaluation on the "Phase im CM" page. 2009-05-19 Torsten Irlaender Fixed issue210, issue233: * waskaweb/model/casexml.py, waskaweb/lib/xmlexport.py: Read and write formed XML files in version 3 Set versionstring to 1.0.1-rc1 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Set version string 2009-05-18 Torsten Irlaender Fixed issue233: * formed/formedtree_web.xml: New formed. 2009-05-15 Torsten Irlaender Fixed issue 191: * formed/formedtree_web.xml: No checks on start "Kompetenzfestellung" Fixed issue220: * templates/casemanagement/formular.mako: Removed print link for aidplan statement 2009-04-24 Torsten Irlaender Fixed issue184 * waskaweb/lib/adelexml.py, waskaweb/lib/evaluation_new.py: Fixed syntax error and wrong table definition in evaluation query. 2009-04-07 Torsten Irlaender Fixed labeling * templates/casemanagement/wiederaufnahme.mako: Fixed missing relabeling on creation of a new case (Wiederaufnahme) Set versionstring to 1.0.0 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Set version string 2009-04-07 Torsten Irlaender Set version to 1.0.0-rc4 2009-04-07 Sascha L. Teichmann Fixed issue165 * waskaweb/converter/wasko_v1v2.py: Compared string with int :-/ * waskaweb/controllers/caselifetime.py: Unrelated: Fixed usage of traceback. 2009-04-07 Torsten Irlaender Renamed label for "Datum Genehmigung Wiederaufnahme" * waskaweb/templates/caselifetime/overview.mako, formed/formedtree_web.xml: s/am/ab Append NAU/WAU instead of NA/WA to the casenumber for the old cases after "Wiederaufnahme/Neuaufnahme" * waskaweb/controllers/caselifetime.py: Changed appending 2009-04-06 Torsten Irlaender Issue111 * waskaweb/model/case.py: Deactivated adding of groupname on creation again. Added missing required rule * formed/formedtree_web.xml Set version string to 1.0.0-rc3 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed version string. 2009-04-06 Torsten Irlaender Set version string to 1.0.0-rc2 * waskaweb/i18n/waskaweb.pot waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed version string. * waskaweb/templates/documents/upload_body.mako: Added magic enconding comment Fix for issue127 * waskaweb/templates/caselifetime/overview.mako: Added links next to formularelements linking to the right formpage. Fix for issue156 * waskaweb/controllers/case.py: Append "_NA/_WA" on initial case creation if it is a "Neuaufnahme/Wiederaufnahme". Fix for issue85 * formed/privacy_statement.html: Added some
to make vor room for signing. 2009-04-02 Sascha L. Teichmann Fix for issue128 * waskaweb/converter/wasko_v1v2.py: fields were prefix with 'f_'. 2009-04-02 Sascha L. Teichmann partial fix for issue106. Removed 'Unterstuetzungsangebote' from statements list. * waskaweb/templates/statement/list_statements.mako: Removed 'Unterstuetzungsangebote' from statement list. * waskaweb/controllers/statement.py: Removed corresponding controller. * waskaweb/model/statement.py: escape values before filling the templates to prevent HTML injections. 2009-04-02 Sascha L. Teichmann * waskaweb/converter/wasko_v1v2.py: forget '.self' in two places. 2009-04-02 Sascha L. Teichmann Fixes for issue150, issue149 and issue162 (partly) * waskaweb/model/casexml.py: Only import the case if its not 'schwebend-*'. Fixed XMLImportExceptions. * waskaweb/controllers/case.py: Another tweak againt UEE. 2009-04-02 Sascha L. Teichmann Fix for issue137 * waskaweb/templates/caselifetime/overview.mako: extra mapping for "anmerkungen". 2009-04-03 Torsten Irlaender Fix for issue137 * waskaweb/templates/caselifetime/overview.mako: Changed labeling of Field "anmerkungen" 2009-04-02 Sascha L. Teichmann Possible fix for issue150 * waskaweb/controllers/case.py: fix an unicode decode error. 2009-04-02 Sascha L. Teichmann Fixed issue149 (application part) * waskaweb/model/casexml.py: Check uuid for being already anonymized before importing the case. 2009-04-02 Torsten Irlaender Fixed issue151: * waskaweb/model/logbook.py, waskaweb/lib/evaluation.py, waskaweb/templates/logbook/edit_body.mako, waskaweb/templates/casemanagement/evaluation/evaluation_effort.mako: Added new option "Teambesprechung". Adjusted evaluation on logbook page. Fixed issue111: * waskaweb/model/case.py, waskaweb/model/user.py, waskaweb/lib/security.py: On creation of case the standin of the user is inserted into the case. Fixed issue96: * formed/annotations.xhtml: Added new helptext for "geschlecht" Fixed issue126: * waskaweb/controllers/caselifetime.py, formed/formedtree_web.xml: Added rules for datechecks on "verlaengerung". prefill form with dates for verlaengerung. Fixed issue156: * waskaweb/controllers/caselifetime.py: Append mark to casenumber when case is reopened or renewed. Fixed issue143: * formed/formedtree_web.xml: removed consistency date checks for end of "unterstuetzungangebot" Fixed issue161: * waskaweb/model/logbook.py, waskaweb/lib/evaluation.py, waskaweb/templates/logbook/edit_body.mako, waskaweb/templates/casemanagement/evaluation/evaluation_effort.mako:Added new option "Gespräch mit Mitarbeitern der Jugendhilfe". Adjusted evaluation on logbook page. Fixed issue69: * formed/formedtree_web.xml: Changed label of fields 2009-04-01 Sascha L. Teichmann * waskaweb/converter/wasko_v1v2.py: Fixed elimination of f_kf_meth_c_1. 2009-04-01 Sascha L. Teichmann Fixed issue128: * waskaweb/converter/wasko_v1v2.py: Added converter to eliminate f_kf_meth_c_1 during import. 2009-04-01 Torsten Irlaender Fixed issue129 * waskaweb/templates/start/responsible.mako: Changed emailaddress Fixed issue131 * formed/annotations.xhtml, formed/formedtree_web.xml: Removed required tag from "cm_kontakt_sonstige" and added tag for evaluation. Fixed issue125 * formed/discretion_statement.html: Replaced "Kompetenzagentur" with "Koordinierungsstelle". Added another field for parents to sign the statement. Fixed issue85 * formed/privacy_statement.html: Adjusted privacy statement. Fixed issue140 * waskaweb/controllers/caselifetime.py: Fixed spelling Fixed issue139 * waskaweb/controllers/caselifetime.py: Added missing copy of datfield into "erstgespraech" on "wiederaufnahme" 2009-03-31 Sascha L. Teichmann Fixed issue135 * waskaweb/model/phases_factory.py: 'Eingangs-dokumentation' -> 'Eingangs-dokumentation' 2009-03-30 Sascha L. Teichmann * waskaweb/model/exprtree.py: Re-enable print in out function. 2009-03-30 Torsten Irlaender * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Version 1.0-rc1 * waskaweb/model/exprtree.py, formed/formedtree_web.xml: New formedtree with more rules on datechacks. Fixed some small errors in rule evaluation. 2009-03-27 Sascha L. Teichmann * waskaweb/controllers/case_overview.py:set rendering for logbook and documents to false in parts selection of CSV export. * waskaweb/lib/csv.py: Only export master table. * waskaweb/templates/casemanagement/overview.mako: Reactive CSV export * waskaweb/templates/casemanagement/downloadCSV.mako: s/WASKA/WASKO/ 2009-03-27 Sascha L. Teichmann * waskaweb/controllers/caselifetime.py: outcomment debugging prints. 2009-03-27 Torsten Irlaender Changed fields which are copied on neuaufnahme and wiederaufnahme * waskaweb/controllers/caselifetime.py, waskaweb/controllers/case.py, formed/formedtree_web.xml: Changed list of fields. 2009-03-26 Sascha L. Teichmann * waskaweb/model/case.py: Do not use temporary file any more. * waskaweb/controllers/case_overview.py: set rendering for logbook and documents to false in parts selection of XLS export. * waskaweb/lib/excel.py: Rewrote it to scatter the master table to worksheets "Phase A", "Phase B" and "Phase C". * waskaweb/lib/renderer.py: Corrected rendering of conditionals * waskaweb/lib/exportselection.py: store projection of master table in parts selector. * waskaweb/templates/casemanagement/overview.mako: Reenable excel export. 2009-03-25 Torsten Irlaender * waskaweb/controllers/caselifetime.py, waskaweb/templates/caselifetime/overview.mako: Added new message to overview giving information why actions might not be available. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Set Version to 0.7.2-preview 2009-03-24 Torsten Irlaender * waskaweb/model/datapage.py, waskaweb/model/casedocument.py, waskaweb/controllers/caselifetime.py, waskaweb/controllers/case.py: Some cleanup in code for "neuaufnahme". Additional fixes in pagesaving code. * waskaweb/controllers/caselifetime.py, waskaweb/lib/helpers.py: Added automatic calculation of second date for "wiederaufnahme" 2009-03-23 Torsten Irlaender Fixed issue93 * waskaweb/controllers/waska.py: Automatic reminders not rendered under own appointments anymore. Fixed issue113 * waskaweb/model/appointment.py: Need expicit cast to timestamp in SQL-query. 2009-03-21 Torsten Irlaender Fixed issue110 * waskaweb/templates/casemanagement/digest_body.mako formed/formedtree_web.xml: New formed with fixed rules and added street no to digest 2009-03-20 Sascha L. Teichmann * waskaweb/model/datapage.py: If a there are conditionals on the page only modify fields that are 'active' (container conditionals evaluate to true). * waskaweb/model/data.py: Added ConditionalWidgetCollector to allow collection of 'active' fields only. 2009-03-20 Sascha L. Teichmann * waskaweb/lib/renderer.py: Evaluate conditionals in a way not to destroy the layout. 2009-03-20 Torsten Irlaender Set version string to 0.7.1-preview * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Set version string 2009-03-20 Sascha L. Teichmann * waskaweb/lib/renderer.py: Ported tab navigation index from offline client. 2009-03-20 Torsten Irlaender New formedtree for issue 107 * formed/formedtree_web.xml: new formed tree Fixed issue 105 * waskaweb/model/user.py: only show cm user for standin 2009-03-19 Sascha L. Teichmann * waskaweb/model/datapage.py: moved '-' -> '_' replacement to constructor. * waskaweb/model/casedocument.py: New methods to do a dry check against the defaults and store already converted and checked data without one more check. toErrorDicts() is now a method of DataSaveException * waskaweb/lib/helpers.py: removed toErrorDicts(). * waskaweb/controllers/caselifetime.py: replaced usage of toErrorDicts. * waskaweb/controllers/case.py: Added check of data validity _before_ creation of case. * waskaweb/templates/casemanagement/wiederaufnahme.mako: Fixed 'if' in error handling code. 2009-03-19 Sascha L. Teichmann * waskaweb/templates/logbook/edit_body.mako, waskaweb/templates/casemanagement/neuaufnahme.mako, waskaweb/templates/casemanagement/wiederaufnahme.mako: Merged. 2009-03-19 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/lib/validators.py, waskaweb/templates/casemanagement/neuaufnahme.mako, waskaweb/templates/casemanagement/wiederaufnahme.mako: Added new validator which checks "Keine Angabe". Further added error messages for invalid data when creating an new case. * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/dialogs/failed_create_case.mako: Added new error dialog if data can not be set in a fresh created case right aufter creating it. This might happen because the submitted data would result in an inconsistency. Unfortuantely we can check those inconsistency only after creating the case. So we do not take over the data in the new case and tell the user that he might to fill out the missing data afterwards. 2009-03-18 Sascha L. Teichmann * waskaweb/templates/logbook/edit_body.mako, waskaweb/templates/casemanagement/neuaufnahme.mako waskaweb/templates/casemanagement/wiederaufnahme.mako: More HTML fixes. 2009-03-18 Sascha L. Teichmann * waskaweb/templates/casemanagement/evaluation/evaluation_adele.mako: Fixed HTML. 2009-03-18 Sascha L. Teichmann * waskaweb/model/phases_factory.py: required fields that are on invisible pages (like einwilligung) are rendered on top of the phase link list with full description but with no link. 2009-03-18 Torsten Irlaender Added basic workflow for "wiederaufnahme"/"neuaufnahme" when creating a new case. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: New versionstrng * waskaweb/controllers/caselifetime.py, waskaweb/controllers/case.py, waskaweb/lib/validators.py, waskaweb/templates/casemanagement/neuaufnahme.mako, waskaweb/templates/casemanagement/wiederaufnahme.mako: New workflow Added missing files * waskaweb/templates/caselifetime/dialogs waskaweb/templates/caselifetime/dialogs/confirm_reopen.mako waskaweb/templates/caselifetime/dialogs/success_reopen.mako waskaweb/templates/caselifetime/verlaengerung.mako 2009-03-18 Sascha L. Teichmann * waskaweb/model/case.py: Convert session case back to form data * waskaweb/controllers/case.py: Create new cases in actions for Wiederaufnahme and Neuaufnahme. 2009-03-18 Sascha L. Teichmann * waskaweb/controllers/case.py: render special templates if new case should be created as 'Wiederaufnahme' or 'Neuaufnahme'. * waskaweb/lib/validators.py: Added Aufnahmetyp to new form check * waskaweb/templates/casemanagement/new.mako: Added radio group to display the alternatives when creating a new case. * waskaweb/templates/casemanagement/neuaufnahme.mako: Template to fill extra parameters needed for Neuaufnahme. Still empty. * waskaweb/templates/casemanagement/wiederaufnahme.mako: Template to fill extra parameters needed for Neuaufnahme. Still empty. 2009-03-18 Sascha L. Teichmann * waskaweb/lib/renderer.py: Handle conditionals correctly. TODO: Solve layout issues. 2009-03-18 Torsten Irlaender Fixed coping of casedata * waskaweb/model/datapage.py, waskaweb/controllers/caselifetime.py: Fixed SQL Update query and typo in function call. Implemented copiing of case data on "Neuaufnahme" * waskaweb/controllers/caselifetime.py, waskaweb/templates/caselifetime/overview.mako: Implemented coping data, documentation of "nicht genehmigte Neuaufnahme" 2009-03-18 Sascha L. Teichmann * waskaweb/model/datapage.py: New class DataExtractor to extract data from a case. * waskaweb/controllers/caselifetime.py: added function to extract data from current case and filter of some black listed fields. 2009-03-18 Sascha L. Teichmann * waskaweb/model/data.py: forgot isInvisible/setInvisible methods. * waskaweb/controllers/CaseBase.py: construct FormDataImpl with reference to formed tree. needed for evaluation of conditionals. 2009-03-18 Torsten Irlaender Encoding fixes * waskaweb/controllers/caselifetime.py, waskaweb/templates/caselifetime/overview.mako: Fixed some encoding errors and other small changes. * waskaweb/templates/caselifetime/overview.mako: Fixed helpicons Added helptexts * formed/annotations.xhtml Fixed display of dates * waskaweb/controllers/caselifetime.py, waskaweb/lib/helpers.py, waskaweb/templates/caselifetime/overview.mako: Use dateconvert function from helpers to display the date in the correct format. Fixed adding of notes to "Anmerkungen Neuaufnahme/Wiederaufnahme" * waskaweb/controllers/caselifetime.py: Added checks if the field is inital empty Create Logbookentry when renew/reopen a case * waskaweb/controllers/caselifetime.py: create logbook entries 2009-03-17 Torsten Irlaender Last snapshot before rc-candidate * waskaweb/controllers/caselifetime.py, waskaweb/lib/validators.py, waskaweb/templates/caselifetime/overview.mako: "Neuaufnahme" and "Wiederaufnahme" should be basically working now. "Neuaufnahme" is not complete yet. Copying data from the old into the new case is still missing. Some spelling errors fixed. * waskaweb/controllers/caselifetime.py, waskaweb/templates/caselifetime/overview.mako: Fixed spelling errors and renamed "actionMist" controller. Set version string to preview-6. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Set version string torsten@thoe:~/Intevation/Projekte/mpuls/s2c/wasko$ svn diff waskaweb/model/casedocument.py 2009-03-17 Sascha L. Teichmann * waskaweb/lib/helpers.py: new function toErrorDicts() which takes an error list from DataSaveException and returns a tuple (form_result, form_errors) suitable for formencode to refill the form. * waskaweb/model/casedocument.py: added method getDescription() to to return the description for a given widget name. If not found it returns the given name. * waskaweb/templates/caselifetime/overview.mako: use getDescription() to show the right description for a erroneous field. 2009-03-17 Sascha L. Teichmann * waskaweb/model/casedocument.py: Error are now report in form of lists of tuples (, , ). setData() has now a 'do_write' parameter (default: True). when set the data is written back to DB. 2009-03-17 Sascha L. Teichmann * waskaweb/model/casedocument.py: Fixed bug with rule evaluation in save data. 2009-03-17 Sascha L. Teichmann * waskaweb/model/casedocument.py: Fixed bugs with old values. 2009-03-17 Sascha L. Teichmann * waskaweb/model/casedocument.py: Write back the simulation results. 2009-03-17 Sascha L. Teichmann * waskaweb/model/casedocument.py: Do simulation and raise exceptions if rules are violated. TODO write back changes. 2009-03-17 Sascha L. Teichmann * waskaweb/model/datapage.py: Used cached rules from casedocument. * waskaweb/model/casedocument.py: Do type conversion. TODO: simulate to apply the converted data and write the if simulation has succeed. 2009-03-17 Torsten Irlaender Checkin Snapshot of "Wiederaufnahme", "Neuaufnahme" * waskaweb/controllers/caselifetime.py, waskaweb/lib/helpers.py, waskaweb/lib/validators.py, waskaweb/public/styles/color3.css, waskaweb/templates/caselifetime, waskaweb/templates/caselifetime/overview.mako, waskaweb/templates/casemanagement/main.mako, formed/formedtree_web.xml: Snapshot of the current state of "wiederaufnahme" implementation. 2009-03-17 Sascha L. Teichmann * waskaweb/model/casedocument.py: Added a setData() method. Not functional yet. 2009-03-16 Sascha L. Teichmann * waskaweb/model/exprtree.py: Forgot to call today with context. 2009-03-16 Sascha L. Teichmann * waskaweb/model/data.py: Added ConditionalNode. * waskaweb/model/casedocument.py: added eval logic for ConditionalNodes * waskaweb/model/io/document.py: Make conditionals loadable. * waskaweb/lib/renderer.py: render conditional. 2009-03-16 Sascha L. Teichmann * waskaweb/converter/wasko_v1v2.py: convert v1 nat_staat to v2 nat_staat. 2009-03-12 Sascha L. Teichmann * waskaweb/model/exprtree.py: New tree based implementation of the expression engine. The old stack based one is deprecated. Added a 'known' function to figure out if values are different from None and 'unknown' * waskaweb/model/__init__.py: Moved UNKNOWN_INT and UNKNOWN_DATE to module to prevent circular imports. * waskaweb/model/data.py: Use new tree based expression engine. * waskaweb/model/semantic.py, waskaweb/lib/renderer.py: Fixed import. 2009-03-12 Torsten Irlaender Fixed issue25 * waskaweb/templates/documents/upload_body.mako, waskaweb/templates/documents/case_new.mako, waskaweb/templates/documents/global_upload.mako, waskaweb/model/document.py: Files will be overwritten if the user uploads a file with the same name. * waskaweb/model/exprtree.py waskaweb/model/__init__.py: Changed definition of new "known"-operator 2009-03-11 Sascha L. Teichmann * waskaweb/model/casedocument.py: generate HTML for links on phase page. * waskaweb/controllers/case.py: render global warnings on phase page. * waskaweb/templates/casemanagement/phase.mako: Added div for global warnings. 2009-03-11 Sascha L. Teichmann Added handling for error class 'notice' which is a kind of global warning. * waskaweb/model/datapage.py: Do not recognize 'notice' as errors * waskaweb/model/casedocument.py: recognize 'notice' as warning on page. * waskaweb/model/phases_factory.py: removed needless import. 2009-03-11 Sascha L. Teichmann Fixed issue86 * waskaweb/model/navigation.py: added generator function to list all headers for a tree item. * waskaweb/controllers/case.py: Put all headers above the form data on each page. 2009-03-11 Torsten Irlaender New annotations * formed/annotations.xhtml: Remvoved required tags from "sonstiges" fields in radiomatrix Fixed issue 91 * formed/annotations.xhtml, formed/formedtree_web.xml: Six more static fields under "5.2.1.5 Erfassung von Fehlzeiten" Fixed issue94, Fixed issue93 * waskaweb/templates/appointments/edit_body.mako, waskaweb/templates/start/start.mako, waskaweb/templates/casemanagement/showAppointment.mako: Caseappointmnts are now shown on the blackboard again. Furter the creation of reminders was fixed. Fixed remaining error of hasRole-call * waskaweb/controllers/case_overview.py, waskaweb/templates/appointments/show.mako, waskaweb/templates/appointments/remindlist_body.mako, waskaweb/templates/casemanagement/caselist.mako: hasRole expects a list as parameter and not a string. Fixed rendering of legend under radiomatrix elements. * waskaweb/public/styles/all.css: Changed layout. Top border does not break anymore when legend is a moreliner. Fixed issue96 * formed/formedtree_web.xml: Added warning when user sets "geschlecht" to "unbekannt" Fixed issue98 * formed/formedtree_web.xml: set maxvalue of "Anzahl fehlstunden Jahr" to 8760 (24*365) Fixed issue89 * formed/formedtree_web.xml: Changed section "staatbügerschaft" 2009-03-10 Sascha L. Teichmann * waskaweb/lib/xmlhelper.py: Replaced usage of datetime.strptime() with a Python 2.4 equivalent function. This prevented import of dates in logbook entries. 2009-03-10 Torsten Irlaender * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/model/phases_factory.py, waskaweb/model/case.py, waskaweb/public/styles/all.css, waskaweb/templates/logbook/show.mako, waskaweb/templates/start/start.mako, waskaweb/templates/casemanagement/digest_body.mako, waskaweb/templates/casemanagement/evaluation/evaluation_effort.mako, formed/formedtree_web.xml: First part of fixes and enhancements. Fixed layout of radiomatrixlists, emailadresses and labels in digest etc. 2009-03-10 Torsten Irlaender * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed versionstring to 0.5-preview 2009-03-10 Sascha L. Teichmann * waskaweb/model/casexml.py: Forget code path in refactoring for converter plug-in. 2009-03-10 Torsten Irlaender Fixed rendering of useroverview * waskaweb/templates/administration/overview_user.mako: Fixed setting of "cm" and "admin" icons. Added new versions of formed an external choice lists. * formed/staatsangehoerigkeit.xml, formed/formedtree_web.xml, formed/laender.xml: New versions. Fixed addition in imoprt converter * waskaweb/converter/wasko_v1v2.py: Fixed addition. 2009-03-09 Torsten Irlaender Set Version String to 0.4-preview * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed version string 2009-03-09 Sascha L. Teichmann * waskaweb/model/casexml.py: lower case uuids. 2009-03-09 Sascha L. Teichmann * waskaweb/model/casexml.py, waskaweb/converter/wasko_v1v2.py: Handle import of multiple cases more gently. 2009-03-09 Sascha L. Teichmann * waskaweb/model/casexml.py: Added converter plug-in logic from Offline Client. * waskaweb/controllers/case.py: call XML import with v1 -> v2 converter. * waskaweb/converter/wasko_v1v2.py: New. Converts v1 to v2 XML documents during import. 2009-03-09 Torsten Irlaender * formed/privacy_statement.html: Replaced "Kompetenzagentur" with "Koordinierungsstelle" * formed/annotations.xhtml: Added helptexts. * waskaweb/model/case.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/casemanagement/digest_body.mako: Adjusted digest for WASKO Adopted code to changed rolenames (admin_ka -> admin etc.) * waskaweb/model/user.py, waskaweb/lib/helpers.py, waskaweb/templates/administration/overview_user.mako, waskaweb/templates/administration/new_user.mako: Adopted code to changed rolenames. 2009-03-06 Torsten Irlaender Fixed issue79 * waskaweb/templates/start/start.mako: Changed "Einrichtungstermine" to "Einrichtungsweite Termine" Created nonfunctional static preview of some additionl functionality in the case management process. * waskaweb/templates/casemanagement/phase.mako: Added a new area for management functions on the phases page Changed naming in effort evaluation of the logbook * waskaweb/templates/casemanagement/evaluation/evaluation_effort.mako: Changed "Sonstiges" to "Sonstige Angaben" and "Fallkonferenz" to "Förder- und Fallkonferenz" 2009-03-05 Torsten Irlaender Tagged Version 0.3-preview * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed version string 2009-03-05 Sascha L. Teichmann * waskaweb/lib/xmlexport.py: Set version of XML files to 2 * waskaweb/templates/casemanagement/downloadXML.mako: If more than one case is selected for export add hint that doing so will result in files which are not able to be processed by the Offline Client. 2009-03-05 Torsten Irlaender * waskaweb/public/styles/all.css, waskaweb/templates/casemanagement/selectParts.mako: Set margin of checkboxes to labels 2009-03-05 Sascha L. Teichmann * waskaweb/lib/validators.py: Fixed formencode validators. * waskaweb/lib/exportselection.py: fixed syntax typo. * waskaweb/templates/casemanagement/selectParts.mako: Fixed list. 2009-03-05 Sascha L. Teichmann * waskaweb/lib/validators.py: set validators for new fields. * waskaweb/lib/exportselection.py: Evaluate selective export. * waskaweb/templates/casemanagement/selectParts.mako: generated a new list of items to select for export. * waskaweb/templates/casemanagement/overview.mako: enable XML export. 2009-03-05 Sascha L. Teichmann * waskaweb/lib/xmlexport.py, waskaweb/lib/exportselection.py: Some adjustments logbook & document structure. 2009-03-04 Sascha L. Teichmann * waskaweb/model/casexml.py: Raise XMLImportException when an expected error occurs. Created new error dialog for the xml import * model/casexml.py, controllers/case.py, templates/casemanagement/dialogs/failed_xml_import2.mako: If where are inconsistencys in the xml while importing the import will fail and the user will see a detailed error message on which inkonsistencys are in the case. * controllers/case.py, templates/casemanagement/dialogs/failed_xml_import2.mako: Changed error and success dialogs: Messages are now for imports of only one singe case. 2009-03-04 Torsten Irlaender Store full username in logboook instead of user id * waskaweb/model/logbook.py: Do not update editor when saving a logbook. 2009-03-04 Sascha L. Teichmann * waskaweb/model/casexml.py: Store logbook entries to data base. 2009-03-04 Sascha L. Teichmann * waskaweb/model/casexml.py: Fixed unicode problem and removed debug output. 2009-03-04 Sascha L. Teichmann Store cases to data base. This is an intermediate commit suffering from UnicodeDecodeErrors (Python's unicode support really s*cks). * waskaweb/model/nodecomponents.py: Backported default values support from Offline Client. * waskaweb/model/casedocument.py: Cache defaults per widget after FormEd construction. * waskaweb/model/io/factories.py, waskaweb/model/io/document.py, waskaweb/model/data.py: Backported relative path loading for ExternalChoiceNodes from Offline Client. * waskaweb/lib/app_globals.py: Prefetching the external choice is not longer needed because loading is now handled by the external choice lists themself. * waskaweb/model/casexml.py: Store cases to database. Logbook storage still missing. Debug output is left in because this is work in progress. * waskaweb/lib/helpers.py, waskaweb/lib/xmlhelper.py: Some whitespace cleanup 2009-03-03 Torsten Irlaender Fixed check for inkonsistency before anonymization * waskaweb/model/case.py: Added missing import of RequiredFields Fixed search (phases) * waskaweb/templates/casemanagement/search.mako, * waskaweb/controllers/case_overview.py: Changed labeling of phases in search Reactivated checks if a case is older than maxsavetime * waskaweb/model/appointment.py, waskaweb/model/case.py, waskaweb/controllers/waska.py, waskaweb/templates/casemanagement/digest_body.mako: Mainly uncommented code and adopted checks if a case is finished to the phases model 2009-03-03 Sascha L. Teichmann Initial code to import XML documents. Parses the documents correctly but does not write it to the database. TODO: Apply rules to loaded cases to check for inconsistencies. * waskaweb/model/casexml.py: New. Parses incoming XML files. * waskaweb/controllers/case.py: Use new XML import model. * waskaweb/lib/xmlimport.py: Removed WASKA dictionaries. !!!This module is deprecated now!!! * waskaweb/lib/xmlhelper.py: New. From Offline Client. Various functions to make parsing the XML documents easier. * waskaweb/lib/uuid.py: New. Fake UUID lib because Python 2.4 lacks that library. * waskaweb/templates/main.mako: Enable XML import again. 2009-02-27 Sascha L. Teichmann * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Tagged as '0.2-preview' 2009-02-27 Sascha L. Teichmann * waskaweb/lib/helpers.py: New function space_short(s, n). Shorten a string to n characters, but if the last char of the shortend string is a none white space (= in the mid of a word) the sting is extended to the next white space. Shortend strings are postfixed with '...'. * waskaweb/model/phases_factory.py: Use space_short() to cut down the length of the descriptions of the listed variables. The full description is given as a link title. 2009-02-27 Sascha L. Teichmann * waskaweb/model/navigation.py: Fixed bug when rendering navigation with errors. All branches of the case where open and uncloseable. Only the branches with error should show this behavior. 2009-02-26 Sascha L. Teichmann Increased the usability of the phase overview page. * waskaweb/model/phases_factory.py: If the number of missing fields in a phase are less than six, now direct links into the case are generated. Reduce the use of color red, emphasize page names, short long item descriptions to length of 15 and render more descriptive title for the links. * waskaweb/controllers/case.py: link generator callback now allows trailing text to be able to render '#' offsets in page. * waskaweb/public/styles/color3.css: Made .require_field a general class. 2009-02-26 Sascha L. Teichmann * waskaweb/model/phases_factory.py: Fixed one code path the inverts the results of rule evaluation leading to wrong list of missing fields. Left debug code in. (commented out) 2009-02-26 Torsten Irlaender * waskaweb/public/styles/color3.css: Rows of Radiomatrix are now rendered with altering background. * waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/digest_body.mako: Fixed broken rendering of formular pages in IE7. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/controllers/case.py: Fixed Update of infofield. Renamed label in infofield 2009-02-25 Sascha L. Teichmann * waskaweb/model/phases_factory.py: Fixed problem with access to var cache. 2009-02-25 Torsten Irlaender Changed Version String to 0.1-preview * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed version string 2009-02-25 Sascha L. Teichmann Fixed printing a bit. * waskaweb/model/navigation.py: Exchanged getAllItems() with new code. * waskaweb/model/datapage.py: Log tracebacks if SELECT execution failed. * waskaweb/controllers/case.py: repaired call to _getRenderdFormElements(). Set None fake c.page_id for printing * waskaweb/lib/helpers.py: Make header/error helpers more robust against None references. 2009-02-25 Sascha L. Teichmann * waskaweb/model/phases_factory.py: Render number of missing fields for phases in phase overview. * waskaweb/templates/casemanagement/phase.mako: Removed isYoungerThan() from phase activation. 2009-02-25 Sascha L. Teichmann * waskaweb/model/casedocument.py: Suppress traceback output if rule evalution fails. Fixed problem with missing dates in phase overview. * waskaweb/model/phases_factory.py: Repair several small issue with rule evaluation. Do some more caching to prevent redundant rule evaluations. Repaired links to missing fields. Generate links to already filled pages. 2009-02-25 Torsten Irlaender Modified logbook * waskaweb/model/logbook.py, waskaweb/templates/logbook/edit_body.mako, formed/formedtree_web.xml: Renamed sections to fit customers wishes. 2009-02-25 Sascha L. Teichmann Rewrite of the phase transition checking model. It does not rely on SQL any more and it is more consistent because of evaluating the rules of the required fields. Phase transition should only be possible if there are no contradictions in the data model. XXX: It still does not work correctly. * waskaweb/model/casedocument.py: Build more look-ups at FormEd tree loading because traversing the tree over and over again to filter out the rules is not very efficent. * waskaweb/model/phases_factory.py: Removed old SQL stuff and applies checking the rules to figure out if a case is consistent. * waskaweb/model/case.py: Uses new model now. Removed some _very_ cruel code which misused the search engine to figure out if a case is consistent. * waskaweb/controllers/case.py: Use new model now. * waskaweb/lib/search.py: Removed some ugly code for checking phases. This lib needs a complete replacement! 2009-02-24 Sascha L. Teichmann * waskaweb/lib/renderer.py: Fixed quoting in HTML attributes. This was broken for a very long time. Urgent TODO: WASKA and the Offline Client need this fix, too! 2009-02-24 Sascha L. Teichmann * waskaweb/lib/renderer.py: In read only mode render radio bools in radio matrices with disabled flag. Do not give them id to cure the generated HTML. 2009-02-24 Torsten Irlaender New Styles for radio-matrix * waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css, waskaweb/public/styles/color3.css: New style for radio matrix. Fixed width of formular headers. New formedtree and annotations * formed/annotations.xhtml, formed/formedtree_web.xml: Added new field for start "Nachbetreuung" 2009-02-23 Sascha L. Teichmann * waskaweb/model/casedocument.py: if getData is called with only one argument the needed case id is fetched from session. 2009-02-23 Sascha L. Teichmann * waskaweb/model/datapage.py: Access depending vars in expression thru thread local page cache. 2009-02-23 Sascha L. Teichmann Make warning mechanism wor on pages. * waskaweb/model/casedocument.py: Fixed problem with accessing pages. * waskaweb/model/io/document.py: allow loading douments with user defined documents. * waskaweb/model/io/factories.py: remove hard wired loading of case documents. * waskaweb/lib/app_globals.py: Special factory for case documents. 2009-02-23 Torsten Irlaender Fixed issue36 (WASKO-Online) * waskaweb/model/logbook.py, waskaweb/lib/evaluation.py, waskaweb/templates/logbook/edit_body.mako, waskaweb/templates/casemanagement/evaluation/evaluation_effort.mako: Added new logbookentries. Adopted evaluation. Fixed Warningsrendering * waskaweb/model/navigation.py, waskaweb/controllers/CaseBase.py, waskaweb/lib/helpers.py, waskaweb/public/styles/all.css, waskaweb/public/styles/color3.css, waskaweb/templates/casemanagement/formular.mako: Markers for warnings are now rendered in the formular. Warning and error list at top of the page is rendered correctly too. 2009-02-23 Sascha L. Teichmann Added the beloved JavaScript modified field checks to renderer and navigation. * waskaweb/model/navigation.py: added 'onclick="return checkModification();"' to links. * waskaweb/lib/renderer.py: Added 'onchange="setModification();"' to widgets. 2009-02-23 Sascha L. Teichmann * waskaweb/lib/helpers.py: Fixed bad commit. 2009-02-22 Sascha L. Teichmann Make "Speichern und Weiter" work again. * waskaweb/templates/main.mako: Fixed span tag in status field. WASKO may need that fix, too. * waskaweb/templates/casemanagement/formular.mako: removed 'A' in HTML output. * waskaweb/lib/renderer.py: Fixed submit tag in form. * waskaweb/lib/helpers.py: new helper for figure out if there are errors on page. * waskaweb/controllers/case.py: Make "Speichern und weiter" work again. * waskaweb/model/navigation.py: removed needless code and chain pages to make it easier to find next page. * 2009-02-22 Sascha L. Teichmann * waskaweb/model/navigation.py: Fixed HTML rendering bug. TODO: Offline client needs this fix, too. 2009-02-22 Sascha L. Teichmann Support invisible pages. * waskaweb/model/data.py: PageNode object now support the attribiute "invisible". * waskaweb/model/navigation.py: Leave out pages in tree buildung which are invisible. * waskaweb/model/data.py: Mark first page invisible. TODO: This feature has to be ported back to the FormEd editor or this change is lost! 2009-02-22 Sascha L. Teichmann More changes backported from offline client. * waskaweb/model/navigation.py: Behavior should now be nearly identical to offline client. * waskaweb/config/routing.py: Added a few routes to find the controllers in navigation. * waskaweb/controllers/navigation.py: New navigation from offline client. Old toggle stuff removed. * waskaweb/controllers/CaseBase.py: Moved some common code of navigation and case controller into base class, mainly show(), edit() and select_item(). show() and edit() are considered deprecated because the current mode is fetched from session anyway. edit/show are left in by now because there many places from where they are called directly. * waskaweb/controllers/case.py: Removed more old special code. Implemented the undo error function. * waskaweb/controllers/rg_aid.py: fixed some naming issues. This controller should be removed anyway. * waskaweb/lib/helpers.py: fixed naming issues. Generating of form headers is now done with the new navigation. * waskaweb/lib/renderer.py: Replaced javascript from offline client to call undo with a valid call to case controller. * waskaweb/public/images/icons/undo.png: New. Image for undo function. * waskaweb/templates/casemanagement/formular.mako: Fixed helpers call to render form headers. 2009-02-20 Sascha L. Teichmann Bring new error system to work. * waskaweb/lib/db.py, waskaweb/lib/base.py: Removed needless import. * waskaweb/templates/casemanagement/formular.mako: Use new ErrorRenderer to render errors and warnings on page. * waskaweb/lib/helpers.py: New helper function to call ErrorRenderer to display the errors. * waskaweb/controllers/case.py: New select_item method for navigation. Removed some 'page in [list]' code. * waskaweb/controllers/CaseBase.py: use the select_item method instead of edit/show. * waskaweb/model/expr.py: Upstream expression engine from offline client supporting the 'isset' function. * waskaweb/model/casedocument.py: Implemented a caching mechanism to allow case wide access to variables not only on page. * waskaweb/model/data.py: Enable marks in RuleLeafs. * waskaweb/model/datapage.py: Ported some enhancements from data model of the Offline Client. Fixed problems with errors which weren't descripted correctly. * waskaweb/model/semantic.py: Upstream version of Offline Client. Enables usage of 'unbekannt' in dates and integers. * waskaweb/model/navigation.py: Some more tweaks on its stony way to the much better version of the Offline Client. It is still broken. :-( 2009-02-20 Torsten Irlaender Changed labeling of "Agentur" to "Einrichtung" * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/controllers/agency_overview.py, waskaweb/controllers/case_overview.py, waskaweb/templates/administration/edit_settings.mako, waskaweb/templates/start/start.mako, waskaweb/templates/casemanagement/agency_overview.mako: Changed labels Changed labeling of "Kompetenzagentur" to "Einrichtung" * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/main_help.mako, waskaweb/templates/start/start.mako, waskaweb/templates/login.mako, waskaweb/templates/main_login.mako, waskaweb/templates/main.mako: Changed labeling of "Kompetenzagentur" to "Einrichtung" Removed old files from beta phase * waskaweb/templates/appointments/beta, waskaweb/templates/appointments/beta/show_1.mako, waskaweb/templates/appointments/beta/show_10.mako, waskaweb/templates/appointments/beta/show_2.mako, waskaweb/templates/appointments/beta/show_3.mako, waskaweb/templates/appointments/beta/show_4.mako, waskaweb/templates/appointments/beta/show_5.mako, waskaweb/templates/appointments/beta/show_6.mako, waskaweb/templates/appointments/beta/show_7.mako, waskaweb/templates/appointments/beta/show_8.mako, waskaweb/templates/appointments/beta/show_9.mako: Deleted. 2009-02-19 Sascha L. Teichmann Cache pages on request base to make global value analysis more efficient. Which is particular import for the phase checking stuff. * waskaweb/lib/security.py: Print traces to stderr instead to stdout * waskaweb/model/casedocument.py: Use a thread local cache to store pages of current document. * waskaweb/lib/base.py: Added enter/leave code for the page cache. 2009-02-19 Torsten Irlaender First adoption of the adele evaluation for WASKO. * waskaweb/lib/adelexml.py: Changed fieldnames. Still missing some evaluations as it is not clear yet how to evaluate all fields. Added explicit casts in date comparisons * waskaweb/model/appointment.py, waskaweb/lib/search.py, waskaweb/lib/security.py, waskaweb/lib/evaluation.py: Postgres 8.3 needs explicit casts when comparing date-strings with dates. Conditional cast of dates on checking default values in phase * waskaweb/model/phases_factory.py: SQL query is selected depending on type of the checkes field. Commented out some functions which will not be functional for the WASKO prototype: * waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/main.mako: Commented out options and links Removed special code from WASKA for handling RG in printing * waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py: Removed special code. Migrated search from WASKA * waskaweb/lib/search.py, waskaweb/templates/casemanagement/search.mako: Changed some fieldnames * waskaweb/lib/evaluation_new.py: flipped index of men and women as it differs from WASKA Adopted help- und responsible page for WASKO * waskaweb/templates/start/responsible.mako, waskaweb/templates/start/help.mako: Mainly replaced WASKA with WASKO and commented some phrase which seems not to be needed in WASKO. 2009-02-17 Torsten Irlaender Use Widgetcollector from offlineclient * waskaweb/model/nodecomponents.py, waskaweb/model/data.py, waskaweb/model/phases_factory.py: Ported use of Widgetcollector from the offlineclient. It is now uses to select aal widgets when checking the phases. New Formedtree * waskaweb/model/phase_transition.py, waskaweb/model/phases_factory.py, formed/formedtree_web.xml: Required fields are now defined for start and end part of the phases 2009-02-16 Torsten Irlaender Implemented renderer and help-handling from the offline client * waskaweb/model/annotations.py, waskaweb/model/semantic.py, waskaweb/lib/app_globals.py, formed/annotations.xhtml: New. Cominded Handling of help, and annotations. Ported from offline client * waskaweb/model/datapage.py, waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py, waskaweb/lib/helpers.py, waskaweb/lib/renderer.py, waskaweb/lib/filecache.py, waskaweb/templates/main.mako: Ported pagerendering from offlineclient (radio-matrix-support) to the webclient from the offline client. * waskaweb/lib/formular_help.py: Deleted 2009-02-13 Torsten Irlaender * waskaweb/templates/main.mako: Changed pagetitle to WASKO 2009-02-11 Sascha L. Teichmann * waskaweb/model/navigation.py: removed needless prints * waskaweb/model/datapage.py: replaced '-' by '_' in relation names. 2009-02-11 Sascha L. Teichmann Initial rebuild of the navigation. * waskaweb/model/navigation.py: Build navigation tree from formed tree. * waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py: Removed some special WASKA code. 2009-02-11 Torsten Irlaender Make creation of cases work * formed/privacy_statement.html, waskaweb/model/statement.py: Added STRASSENR keyword for substitution. * waskaweb/model/case.py: Load strassenr additionally when loading a case. Modified createNew Function. It now takes an additional param with the values from the new case form. The case will then be initialised on creation. * waskaweb/controllers/case.py, waskaweb/lib/validators.py: Cleanup. Removed old code where the case data was set with the page data mechanism. * waskaweb/templates/casemanagement/new.mako: Added new field for strassenr. 2009-02-11 Sascha L. Teichmann * waskaweb/model/data.py: Little workaround to get after case creation. 2009-02-10 Torsten Irlaender Disabled Checks for inkonsistency and old cases. * waskaweb/model/appointment.py, waskaweb/controllers/waska.py, waskaweb/templates/start/start.mako: Commented out inconsistency checks and search for old cases. TODO: Reactivate search for old cases. Needs a database update and a genral check if the function is working as expected. (e.g cm_end_art <> 1) First adoption for the casesearch * waskaweb/controllers/case_overview.py, waskaweb/lib/search.py: Changed search query to new dbfieldnames. Works now for basc querys (no extra options selected) Further adoptions to make the creation of new cases almost work: * model/nodecomponents.py, model/data.py, model/case.py, model/io/document.py: Added CaseNode and LogbookNode. * model/statement.py, controllers/waska.py, controllers/case.py, lib/search.py, templates/casemanagement/digest_body.mako: Adopted more fieldnames in DB-Querys. * formed/formedtree_web.xml: New formedtree. 2009-02-09 Torsten Irlaender Merged changes from Version 1.5.0 2009-02-05 Torsten Irlaender Removed some evalautions as they are not relevant yet. * waskaweb/lib/adelexml.py: removed some evaluations 2009-02-05 Torsten Irlaender Fixed issue 708: * templates/casemanagement/search.mako: Changed description in selectfield to "Eingangsanamnese" Fixed issue 639: * waskaweb/model/navigation.py: Fixed Next-Key in the navigation. Set version string to 1.5.0 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Modfied version string Fixed Issue 662: * waskaweb/controllers/administration.py: Changed ordering of first and lastname Completed adele evaluation * waskaweb/controllers/evaluate.py: Fixed timeframe * waskaweb/lib/adelexml.py: Added descritpions and headers * waskaweb/lib/evaluation.py: Fixed generation of where clauses * waskaweb/templates/casemanagement/evaluation/evaluation_adele.mako, waskaweb/templates/main.mako: Renamed "quartalsbericht" to Zwischenbericht. Fixed issue 722 * waskaweb/lib/search.py: Chaged definition of the timeframe in search strings. Fixed issue 726 * waskaweb/controllers/evaluate.py, waskaweb/templates/casemanagement/evaluation/evaluation_navigation.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako: Removed again old version of WASKA-Stammblatt evaluation Small typo changes: * i18n/de/LC_MESSAGES/waskaweb.po, templates/casemanagement/evaluation/evaluation_avg_effort.mako: Fixed numbering in evaluation headers 2009-02-04 Torsten Irlaender Added new evalution adele stammblatt. * waskaweb/controllers/evaluate.py, waskaweb/lib/adelexml.py, waskaweb/lib/helpers.py, waskaweb/lib/evaluation_new.py, waskaweb/templates/casemanagement/evaluation/evaluation_adele.mako, waskaweb/templates/casemanagement/evaluation/evaluation_navigation.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako, waskaweb/templates/main.mako: The evaluations is hardcoded and is based on the new mpuls implementation. So do not extect a well integrated evulation. 2009-01-09 Torsten Irlaender Added new favicon * waskaweb/public/images/kompetenz3.ico: New facicon for s2c * waskaweb/templates/main_help.mako, waskaweb/templates/main_login.mako: Added favicon to page (was missing) 2009-01-08 Torsten Irlaender First adoptions to a new look and feel for WASKO * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/lib/renderer.py, waskaweb/public/servicezeit.html, waskaweb/public/styles/screen.css, waskaweb/public/styles/color3.css, waskaweb/public/images/arrow.gif, waskaweb/public/images/logo_ka_75.png, waskaweb/templates/main_help.mako, waskaweb/templates/main_login.mako, waskaweb/templates/main.mako: First changes to a new look and feel for the WASKO Projekt. Adopted some texts and changed some color in stylesheet. 2009-01-07 Torsten Irlaender Fork Version 1.4.2 for WASKO 2009-01-05 Torsten Irlaender 1.4.2 Release * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed Versionstring to 1.4.2 * Changes.txt: Added Changed for Version 1.4.2 2008-12-08 Torsten Irlaender Fixed issue663 * waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako: Changed labeling of the evaluation Issue651 * waskaweb/lib/security.py: Be a littlebit more verbose if no mapping file is found or something while reading it goes wrong. 2008-12-05 Torsten Irlaender Fixed issue681 * waskaweb/model/case.py, waskaweb/controllers/case.py: Added checks for inconsistencys and adjusted error message 2008-12-04 Frank Koormann * waskaweb/controllers/case.py (CaseController.organisation): Bugfix: Editors ID was added to groupfilter list instead of GroupID. Since both can differ, some other user (groups) were dropped from the selection lists under certain situations (GID == Editor's UID). 2008-11-25 Torsten Irlaender Fixed issue671 * waskaweb/controllers/case_overview.py: Fixed call of nonexistent function. 2008-11-14 Torsten Irlaender Fixed issue652 * waskaweb/model/news.py, waskaweb/model/user.py, waskaweb/controllers/waska.py, waskaweb/templates/start/newslist.mako: News now stay on blackboard until they get deleted by the user. Actually the are marked as read and therefor not shown anymore. TODO: Handle how news get show for fresh created user. 2008-11-14 Sascha L. Teichmann * waskaweb/lib/app_globals.py: looking for a 'db_mapping_file' entry in config. If found try to load db name remapping. Format: # comment new-name;old-name * waskaweb/lib/security.py: added function to load mapping from file. 2008-11-12 Torsten Irlaender Fixed issue645 * waskaweb/controllers/waska.py: Do not check inkonsistency on evaluation server. 2008-11-03 Torsten Irlaender Commented out evaluation of ESF Stammblatt. * waskaweb/controllers/evaluate.py, waskaweb/templates/casemanagement/evaluation/evaluation_navigation.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako: Because currently the specifications for this evaluation are not confirmed this function will be commented out for 1.4.1 release. Set date in Versionstring 1.4.1 and updated Changes * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: changed date * ChangeLog.txt: updated changes 2008-10-30 Sascha L. Teichmann Removed PDF import. * waskaweb/lib/pdfimporter.py: Deleted, no longer required. * waskaweb/model/case.py: Removed call to pdfimporter * waskaweb/controllers/case.py: Removed controller to handle imports. * waskaweb/lib/app_globals.py: Removed configuration for pdf2xfa * waskaweb/templates/casemanagement/upload.mako: Removed GUI for PDF import. 2008-10-24 Torsten Irlaender Fixed issue 618 * waskaweb/lib/evaluation.py: Fixed evalution query. Enhancement to issue518 * waskaweb/lib/validators.py: fixed regular expression in formencode validators * waskaweb/controllers/case.py: code formatting issue. 2008-10-23 Sascha L. Teichmann Another fix for issue518 * waskaweb/lib/helpers.py: Catch ValueError when a bad date (22.22.2008) is given. 2008-10-23 Torsten Irlaender Fixed issue591 * waskaweb/lib/evaluation.py: Fixed error of counting unique cases which are taken as base for the evaluation. 2008-10-22 Sascha L. Teichmann Fixed issue518 * waskaweb/lib/helpers.py: Use correct regular expression for date validation now. 2008-10-21 Torsten Irlaender Fixed issue542 * waskaweb/model/logbook.py: Fixed typo in logbookentry listing 2008-10-20 Torsten Irlaender Fixed issue562 * templates/casemanagement/phase.mako: Gray out active phase 2008-10-10 Sascha L. Teichmann Fixed issue184 * waskaweb/controllers/evaluate.py: raise 404 if evaluation is not found. 2008-10-10 Sascha L. Teichmann * waskaweb/templates/start/responsible.mako: removed invalid statemnent about 'TÜV-Plakette', spelled 'Datenschutz cert GmbH' correctly and inserted Intevation GmbH as responsible for maintenance. 2008-09-26 Torsten Irlaender Completed ESF-Stammblatt evaluation. Small fix on evaluation * waskaweb/lib/evaluation.py: Fixed false counting * waskaweb/templates/casemanagement/evaluation/evaluation_esfstammblatt.mako: Added missing template. Set version string to 1.4.1 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed version string. * Changes.txt: Added changes to version 1.4.1 Hotfix for Traceback on Anonymisation * waskaweb/model/case.py: Renamed method. 2008-09-25 Sascha L. Teichmann * waskaweb/controllers/agency_overview.py: Link back to download was wrong which resulted in unathorized errors. 2008-09-25 Sascha L. Teichmann Fixed issue577 * waskaweb/lib/validators.py: There was no validator for 'Einschaetzung des Case-Managers'. 2008-09-25 Torsten Irlaender Moved evaluation of "verweildauer" to category for finished cases. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/controllers/evaluate.py, waskaweb/templates/casemanagement/evaluation/evaluation_navigation.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_3.mako: Mainly adjusted translation strings. Moved evaluation block to another template adjusted controller code. 2008-09-25 Sascha L. Teichmann Fixed issue 574 * waskaweb/controllers/agency_overview.py: Rewired link paths. They are not equal to the ones in case overview! TODO: This should be harmonized. Data on evaluation server is alway anonymized so there is no need to do it again. 2008-09-25 Sascha L. Teichmann Fixed issue575 * waskaweb/controllers/agency_overview.py: Rewired link paths. They are not equal to the ones in case overview! TODO: This should be harmonized. 2008-09-25 Sascha L. Teichmann * waskaweb/controllers/waska.py, waskaweb/lib/base.py: make question if server is evaluation server more robust. Now it's not mandatory any more to set evaluation_server in *.ini. It defaults to '0'. 2008-09-24 Torsten Irlaender Added new evaluation for ESF-Stammblatt. Fix for issue572 * waskaweb/controllers/evaluate.py, waskaweb/lib/evaluation.py, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako: New evaluations are currentely commented out, as they need some work. Implemented evalaution "esf-stammblatt" * i18n/waskaweb.pot, i18n/de/LC_MESSAGES/waskaweb.po, controllers/evaluate.py, lib/evaluation.py, templates/casemanagement/evaluation/evaluation_navigation.mako, templates/casemanagement/evaluation/evaluation_result_2.mako: Implemented missing subevalutions and finished export. Fixed small error on esf-stammblatt evaluation and set version to 1.4.1 rc1 * i18n/de/LC_MESSAGES/waskaweb.po: Versionstring change * lib/evaluation.py: Fix calculation of percents 2008-09-23 Torsten Irlaender Added two new evaluations * waskaweb/i18n/waskaweb.pot, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/controllers/evaluate.py, waskaweb/lib/evaluation.py, waskaweb/templates/casemanagement/evaluation/evaluation_navigation.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako: Added two new evaluations on unemployment over kids in case-management. Added helptext for one evaluation * waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako, formed/waska-hilfetexte.xhtml: Added new helptexts Fixed issue571 * waskaweb/controllers/case_overview.py, waskaweb/templates/casemanagement/search.mako: Search was broken in connection with new search options on phases. If no phase was given the search string includes a whitespace with results in an empty result list for a search. 2008-09-22 Torsten Irlaender Set Version number to 1.4.0 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed version number. * Changes: Updates changes Fixed error on updateing first_meeting date * waskaweb/controllers/case.py: Save date as dateobject in the session. 2008-09-19 Sascha L. Teichmann Fixed issue567 * waskaweb/templates/casemanagement/agency_search.mako, waskaweb/templates/casemanagement/search.mako: Changed "Intersexuel" to "Intersexuell". 2008-09-19 Sascha L. Teichmann Fixed issue568 * waskaweb/templates/casemanagement/phase.mako: Only enable change buttons for cm_kas. 2008-09-19 Sascha L. Teichmann Fixed issue565 * waskaweb/controllers/case.py: fetch "Erstgespraech" and "Kundennummer" from the FormEd data page which always contains the valid values. 2008-09-19 Sascha L. Teichmann Fixed issue563 * waskaweb/templates/casemanagement/evaluation/evaluation_avg_effort.mako waskaweb/model/logbook.py, waskaweb/templates/casemanagement/evaluation/evaluation_effort.mako: "Arbeit mit den Ditten" -> "Arbeit mit Dritten" 2008-09-19 Torsten Irlaender QA, small fixes. * waskaweb/controllers/waska.py: Fixed counting number of inconsitent cases. * waskaweb/lib/evaluation.py: Do not do "inconsistency" checks in evaluation. Only look on phases. * waskaweb/templates/casemanagement/listbadcases.mako: Renamed phase "clearing" to "Eingangsanamnese". * waskaweb/templates/usersettings/change_password.mako: Layout fix issue564 Adjusted info and login page * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/start/responsible.mako: Changed texts on login and infopage * waskaweb/public/images/logo__esf__klein.jpg, waskaweb/public/images/datenschutz_nord.jpg: New logos 2008-09-18 Sascha L. Teichmann * waskaweb/lib/evaluation.py: Fixed SQL typo, which caused error when clicking on "Auswertungen 4.1. Zeitaufwände" 2008-09-18 Sascha L. Teichmann * waskaweb/templates/casemanagement/phase.mako, waskaweb/controllers/case.py: Renamed isOlderThan() to isYoungerThan() because of inverted usage. * waskaweb/model/case.py: Fixed problem witch are too old for phase model. 2008-09-18 Torsten Irlaender Fixed phases in evaluation * waskaweb/lib/evaluation.py: Changed phases indication cm-cases and informational cases. 2008-09-17 Torsten Irlaender Modified checks on determining if a case can be anonymized * waskaweb/model/case.py, waskaweb/controllers/case.py: A case can now be only anonymized if the current und prior phases are completed and all required fields are present (feedback gsub) Further fixes for feedback for 1.4.0 release. * waskaweb/model/phases_factory.py: Fixed encoding * waskaweb/controllers/waska.py: Fixed summing of inconsistent cases Layoutchanges in "Weiterer Verlauf" * formed/formedtree_web.xml 2008-09-16 Torsten Irlaender Changed date limit for inconsistency checks to '31.08.2008' * waskaweb/lib/search.py: Changed date. Small layout and text changes. Changed version string to 1.4.0 rc2 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed version string And text changes. * waskaweb/model/phases_factory.py, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/phase.mako: Small layout changes on phase page. Changed description of phase "Clearing" to "Eingangsanamnese" * waskaweb/model/phase_transition.py, waskaweb/model/phases_factory.py, waskaweb/lib/evaluation.py: Changed naming 2008-09-15 Torsten Irlaender Added support for displaying only relevant phases (commented out yet). * waskaweb/model/phases_factory.py, waskaweb/model/phase_transition.py, waskaweb/model/phases.py: Only phases are displayed which are on the path of the current phase. E.g if this is a CM case the "beratung" will not be displayed. Changed Version string to 1.4.0 rc1 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po Implemented ignoring consistency checks for cases before a the 01.09.2008 * waskaweb/model/phases_factory.py, waskaweb/model/case.py, waskaweb/controllers/case_overview.py, waskaweb/controllers/waska.py, waskaweb/controllers/case.py, waskaweb/lib/search.py, waskaweb/templates/casemanagement/phase.mako: Date of "erstgespräch" is loaded on creating a new case obejct. This date is then used for for determining if a case should be included in inconsistency checks. Small layout fixes for IE * waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/phase.mako: Fixed Layout of phases page for IE. 2008-09-15 Sascha L. Teichmann * waskaweb/lib/security.py: Clean up usage db connection pool during login. Issue COMMIT after update last login time. Hopefully this solves the problem of the none persistent last login time. 2008-09-12 Torsten Irlaender Changed version string to 1.4.0 preview 2 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed version string 2008-09-12 Sascha L. Teichmann Added GUI support for selective CV export. TODO: Support evaluation server, too. * waskaweb/lib/csv.py: Fixed bug if not exporting 'unterstuetzungsangebote' * waskaweb/controllers/case_overview.py: Add routing thru selection template. * waskaweb/templates/casemanagement/downloadCSV.mako: Added link to select case parts. 2008-09-12 Torsten Irlaender Fixed switching to phases * waskaweb/model/phases.py, waskaweb/public/styles/color3.css, waskaweb/templates/casemanagement/phase.mako: Phases can now only be switched in forward direction. A short info is rendered on each phase if the phase was finished or currently running. 2008-09-12 Torsten Irlaender Added new search option for cases after a current date * waskaweb/controllers/waska.py, waskaweb/lib/search.py, waskaweb/templates/casemanagement/listbadcases.mako, ChangeLog.txt, formed/annotations.xhtml: Added new searchoption "only_cases_after" which takes a date as argument and results in a search for cases where the "erstgespraech" is after the given date. 2008-09-12 Sascha L. Teichmann * formed/formedtree_web.xml: Sync from db setup master. 2008-09-12 Sascha L. Teichmann * waskaweb/templates/casemanagement/selectParts.mako: make selection of logbook and documents optional because CSV and Excel do not have the ability to export these. * waskaweb/controllers/case_overview.py: XML is able to export logbook and documents. 2008-09-12 Sascha L. Teichmann * waskaweb/controllers/agency_overview.py waskaweb/controllers/case_overview.py: Added selection from session to call. TODO: Adjust GUI. * waskaweb/model/case.py: Added selection to library call. * waskaweb/model/phase_transition.py: Removed needless function * waskaweb/lib/exportselection.py: Fixed bug which prevents anonymisation from working. Added feature to user configurable where clauses because CSV-export works slightly different from Excel/XML. * waskaweb/lib/csv.py: Added selection. * waskaweb/lib/xmlexport.py: uses selection correctly now. 2008-09-11 Torsten Irlaender Modified search for inconsistent cases. * waskaweb/model/phase_transition.py, waskaweb/model/phases_factory.py, waskaweb/templates/casemanagement/listbadcases.mako: Search e.g for inconsistencies in phase 3 now includes also searches on inconsistensies in prior phases. 2008-09-10 Torsten Irlaender Anonymisation is now only possible when the required fields for the current phase are complete * waskaweb/model/phases_factory.py, waskaweb/model/case.py, waskaweb/config/routing.py, waskaweb/controllers/case_overview.py, waskaweb/controllers/case.py, waskaweb/templates/casemanagement/dialogs/failed_markanonymize_phase_incomplete_from_overview.mako, waskaweb/templates/casemanagement/dialogs/failed_markanonymize_phase_incomplete.mako: Added check in markAnonymize controllers to check if the required fields for the current phase is complete. If not the we raise a notifiction dialog, which informs the user on that fact. Incomplete cases will be silently ignored in casebundles as it is done already for invalid case-states. 2008-09-09 Torsten Irlaender Added link to create a new logbook entry when switching the phase of a case. * waskaweb/templates/casemanagement/dialogs/success_set_phase.mako: New link to create a logbook entry 2008-09-08 Sascha L. Teichmann * waskaweb/model/phases.py: add a method phase.isPredecessor() * waskaweb/templates/casemanagement/phase.mako: Only allow adanvacing forward in phase tree. 2008-09-08 Sascha L. Teichmann * waskaweb/model/phases_factory.py: Build a list of preds for each phase * waskaweb/model/phases.py: track preds, too * waskaweb/templates/casemanagement/phase.mako: eval the possibility to activate phase recursively depending on the completeness of the preds. 2008-09-08 Torsten Irlaender Added more inconsistency checks * model/phases_factory.py, controllers/case_overview.py, controllers/waska.py, lib/search.py, public/styles/all.css, templates/casemanagement/listbadcases.mako: Added inconsistency checks for missing fields in a particular phase. Furter refactored the listing a the inconsistent cases. Further improved inconsestency checks * waskaweb/model/phases_factory.py, waskaweb/model/phase_transition.py, waskaweb/controllers/case_overview.py, waskaweb/controllers/waska.py, waskaweb/templates/casemanagement/listbadcases.mako: Ignore checks on inkonsistent phases for cases which are older than 01.09.2008. Further only check inconsistency on current phase. 2008-09-08 Sascha L. Teichmann * waskaweb/model/navigation.py: add method findTreeItem(). * waskaweb/model/phases_factory.py: generate direct links to missing fields * waskaweb/controllers/case.py: use navigation tree to find page for missing fields. 2008-09-08 Sascha L. Teichmann * waskaweb/model/phases_factory.py: added a method getSQLWhereClauses() to return a list of tuples (, ) to check phase inconsistencies at database level. 2008-09-04 Sascha L. Teichmann * waskaweb/model/phases.py, waskaweb/model/phases_factory.py: Fixed typo which prevented 'running' states from working. * waskaweb/controllers/case.py: Raises StandardErrors in setPhase() now. 2008-09-04 Torsten Irlaender Search works now with new phase model * waskaweb/controllers/case_overview.py, waskaweb/lib/evaluation.py, waskaweb/lib/search.py: Exchanged old cm_state search with new phase search. cm-keyword is no longer valid. Introduced phase-keywork instead. This was primarily needed as precondition of the inconsistency checks on the blackboard, where we need to differ between the different phases. TODO: Currently the phases of waska are hardcoded in /lib/search and /controllers/case_overview (parsing search options). Ideally this can be done dynamically based on the phase model, * waskaweb/lib/validators.py: Fixed default value of gender. * waskaweb/templates/casemanagement/agency_search.mako, waskaweb/templates/casemanagement/search.mako: Added new search options for cm-phase "Keine Angabe" and "Clearing" 2008-09-04 Sascha L. Teichmann * waskaweb/lib/helpers.py: Added function to print times in weeks * waskaweb/templates/casemanagement/phase.mako: Only print dd:mm:YYYY for dates and time sums in weeks. 2008-09-04 Sascha L. Teichmann * waskaweb/model/phase_transition.py: add function to map back phase symbol to phase number. * waskaweb/controllers/case.py: Set phase. TODO: Mako template for error conditions. 2008-09-03 Sascha L. Teichmann * waskaweb/model/phase_transition.py: Added missing transition. * formed/formedtree_web.xml: Added times for nachbetreuung. 2008-09-03 Sascha L. Teichmann Sum up times in phases * waskaweb/model/phases_factory.py: Fix bug in accessing time * waskaweb/model/phases.py: Fix attribute error * waskaweb/lib/helpers.py: add default parameter to human_timedelta() * waskaweb/templates/casemanagement/phase.mako: Sum up the time deltas * formed/formedtree_web.xml: Mark fields for phase times. TODO: Sync with formed tree from database setup. 2008-09-03 Sascha L. Teichmann Load phase times from database. * waskaweb/model/phases_factory.py: Load phase times from database. Needs a flag 'time:phase1,phase2,..'. * waskaweb/model/case.py: Load required fields and times from database. 2008-09-03 Sascha L. Teichmann Build phases table from FormEd tree. * waskaweb/model/phases_factory.py: New. contains old needed.py stuff and is build list of phase pairs. * waskaweb/model/phase_transition.py: Added method to check if two phases are neighbored. * waskaweb/model/case.py: uses phases_factory now. * waskaweb/model/phases.py: Models for phases and phase pairs * waskaweb/controllers/case.py: rewired to use phases_factory now * waskaweb/lib/needed.py: Removed. It's now integrated in phases_factory. * waskaweb/templates/casemanagement/phase.mako: Iterates over a list of phase pairs now. Remove hard wired phases. 2008-09-03 Sascha L. Teichmann * waskaweb/templates/casemanagement/main.mako: Show current phase in case digest * waskaweb/model/case.py: Removed '#' before loading of phase from database. 2008-09-03 Sascha L. Teichmann * waskaweb/model/phase_transition.py: New. Transition table for phase model. Contains descption strings for phases, too. 2008-09-03 Sascha L. Teichmann * formed/formedtree_web.xml: Synced with database. 2008-09-03 Torsten Irlaender Changed length of input field for search string * waskaweb/templates/casemanagement/search.mako: Changed length to 256 Fixed evaluation on migration * waskaweb/lib/evaluation.py: replaced geburtsland with staatsangehoerigkeit. Added new privacy statement * formed/privacy_statement.html: New privacy statement. Changed institution Added new formedtree * formed/formedtree_web.xml: Added new phase "clearing" Adjusted evaluation to the new clearing phase * waskaweb/lib/search.py, waskaweb/lib/evaluation.py: Beratung becomes clearing. added new beratung. Changed search options regarding beratung phase. Adjusted evaluation of cm/beratung. Enabled new information site (including licensing) * waskaweb/templates/start/responsible.mako 2008-09-02 Sascha L. Teichmann Partial XLS export * waskaweb/lib/excel.py: uses the selection lib now. * waskaweb/lib/exportselection.py: Added a convinience method to lookup views. * waskaweb/model/case.py: uses selection for XLS export now. * waskaweb/controllers/case_overview.py: Rewired to integrate parts selection. * waskaweb/controllers/agency_overview.py: XXX: Some controller is missing! Check this if eval server is testes the next time. * waskaweb/templates/casemanagement/selectParts.mako: Make it more general to be useful for XLS and CSV too. * waskaweb/templates/casemanagement/downloadXLS.mako: Added link to part selection. 2008-09-02 Torsten Irlaender Adjusted evaluation to work with new phases model. TODO: Consolidate phase ids if modell changes again * waskaweb/lib/evaluation.py: Adjusted evaluations. adjusted new grouping of age evaluations. adjusted evalaution on migration background. New icon for evaluation relevant fields * waskaweb/public/images/icons/needed_12x12.png: Changed icon Added new check for inconsistent cases. * waskaweb/controllers/case_overview.py, waskaweb/lib/search.py, waskaweb/templates/casemanagement/listbadcases.mako: Check if the phase for the case is -1 (unknown). This is mainly usefull after upgrading the database to set the inital phase. If we can not determine for surein which phase this case belongs, the the unknown phase is set and the user needs to get active. Cases which are marked for deletion are no longer checked for inconsistency * waskaweb/templates/casemanagement/listbadcases.mako: removed state 3 from search string. 2008-09-02 Sascha L. Teichmann * waskaweb/lib/exportselection.py: New. out-factorized selection of case parts. * waskaweb/lib/xmlexport.py: Uses new lib now. * waskaweb/controllers/agency_overview.py, waskaweb/controllers/case_overview.py: Adjusted imports. 2008-09-02 Sascha L. Teichmann * waskaweb/model/case.py: phase is now stored in the master_tbl 2008-09-02 Sascha L. Teichmann * waskaweb/lib/xmlimport.py: Updated checking dictionaries from FormEd. 2008-09-02 Sascha L. Teichmann * waskaweb/lib/xmlexport.py: Always export phase and einverstaendniserklaerung 2008-09-02 Sascha L. Teichmann * formed/formedtree_web.xml: FormEd tree from setup. 2008-09-01 Sascha L. Teichmann * formed/formedtree_web.xml: FormEd tree from setup. 2008-09-01 Torsten Irlaender Fixed syntax error * waskaweb/model/user.py, waskaweb/lib/security.py: Fixed sytanx error. Added helptexts on required fields and evalution help * waskaweb/model/user.py, waskaweb/config/routing.py: Added new route for evaluationhelp * waskaweb/controllers/case.py: New controller for evaluationhelp * waskaweb/lib/renderer.py, formed/annotations.xhtml: New helptexts Removed debuggung output for issue556 * waskaweb/model/repeatgroup.py: Removed debugging output 2008-08-30 Torsten Irlaender Implemented listing news based on last logintime * waskaweb/model/news.py, waskaweb/model/user.py, waskaweb/lib/security.py, waskaweb/templates/start/start.mako: News are now listed for 3 days after the last login. TODO: Check why set_last_logintime function does not set the logindate. 2008-08-29 Torsten Irlaender Added newslisting on startpage. * waskaweb/model/news.py, waskaweb/controllers/waska.py, waskaweb/public/styles/all.css, waskaweb/templates/start/start.mako, waskaweb/templates/start/newslist.mako: New template and style for newslisting. Added new model for news. 2008-08-28 Sascha L. Teichmann * waskaweb/lib/needed.py: Open help in new window. using parent's description if description of item is empty. 2008-08-28 Sascha L. Teichmann * waskaweb/lib/needed.py: Handle the case that a data base field has no default value correctly. 2008-08-28 Sascha L. Teichmann * waskaweb/lib/needed.py: recognize comma separated phases. 2008-08-28 Sascha L. Teichmann * waskaweb/lib/needed.py: Fix link to help. 2008-08-28 Sascha L. Teichmann * waskaweb/controllers/case.py: pass link list to template * waskaweb/lib/needed.py: generate link list for phases * waskaweb/templates/casemanagement/phase.mako: use link list. 2008-08-28 Torsten Irlaender Added additional status message regarding privacy when saving data in the formular * waskaweb/controllers/case.py, waskaweb/public/styles/color3.css, waskaweb/templates/main.mako, formed/waska-hilfetexte.xhtml: Created new helptext regarding printous after saving the data in the formular. linked helptext to the new status message. Implemented print dialog after setting phase. Made site for changing phases dynamic. * waskaweb/controllers/case.py, waskaweb/lib/validators.py, waskaweb/templates/casemanagement/dialogs/success_set_phase.mako, waskaweb/templates/casemanagement/phase.mako, formed/waska-hilfetexte.xhtml, formed/formedtree_web.xml, formed/annotations.xhtml: Added new printdialog. implemented workflow to print case after changing a phase. make site for changing the phase more dynamic. Changed Version String to "1.2.0 alpha" Prepared renderer for evaluation icons at formfields. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/model/repeatgroup.py, waskaweb/lib/renderer.py: New Versionstring, rendering evaluation icons. 2008-08-28 Sascha L. Teichmann * waskaweb/lib/needed.py: Sort nc lists by description. 2008-08-28 Sascha L. Teichmann * waskaweb/model/case.py: Load required fields via case object now. * waskaweb/controllers/case.py: use case object. * waskaweb/lib/needed.py: Make required fields a class. 2008-08-27 Sascha L. Teichmann * waskaweb/lib/needed.py: New. extracting required fields for phases from FormEd tree. * waskaweb/model/nodecomponents.py: Added walk() across the tree. * waskaweb/controllers/case.py: Call (needed.py)extractRequiredFields 2008-08-27 Sascha L. Teichmann * waskaweb/templates/casemanagement/required.mako: Added missing Mako template. 2008-08-27 Torsten Irlaender Added template for switching phases * waskaweb/i18n/waskaweb.pot, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/controllers/agency_overview.py, waskaweb/controllers/case.py, waskaweb/public/styles/screen.css, waskaweb/public/styles/color3.css, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/phase.mako: New template. Added styles for coloring. New translations. Added new formedtree with fixed required attributes * formedtree_web.xml: New required attributes 2008-08-26 Sascha L. Teichmann * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/main.mako: Controller for phase of CM. 2008-08-25 Sascha L. Teichmann * waskaweb/model/case.py: Load phase from ka_status_tbl. 2008-08-21 Sascha L. Teichmann * waskaweb/controllers/agency_overview.py: Added dispositon headers for CSV and XML export on evaluation server. 2008-08-21 Torsten Irlaender Changed default sorting order of logbook and preparation for dynamic sorting. * waskaweb/model/logbook.py: Prepared model for dynanmic sorting. Added dynamic sorting of logbook * waskaweb/model/logbook.py, waskaweb/model/repeatgroup.py, waskaweb/config/routing.py, waskaweb/controllers/case.py, waskaweb/templates/logbook/overview.mako: Added dynamic sorting Added new helptexts and fixed formedtree * formed/waska-hilfetexte.xhtml: New helptext * formed/formedtree_web.xml: Added fixed formedtree Implemented print version of logbook * waskaweb/controllers/case.py: New controller for printing * waskaweb/public/styles/all.css: New class to remove border * waskaweb/templates/logbook/overview_print.mako, waskaweb/templates/logbook/overview.mako, ChangeLog.txt: New template and linked printing Small changed in formular * waskaweb/model/navigation.py: Renamed "erreichte Ziele" to "erreichte Oberziele" * formed/formedtree_web.xml: Added and renamed options 2008-08-20 Sascha L. Teichmann * waskaweb/public/images/icons/required_12x12.png, waskaweb/public/images/icons/needed_12x12.png: New. Icons for required and needed fields. * waskaweb/lib/renderer.py: Use new 'required' icon. 2008-08-20 Torsten Irlaender Added new section "Lebensbewaeltigung" to "Abschlussbewertung" * formed/formedtree_web.xml: Added new fields. Fixed issue 546: * waskaweb/model/case.py: Added missing attributes in reset function. Added new datefields for different phases in CM * formed/formedtree_web.xml: Added new fields. 2008-08-19 Torsten Irlaender Added new section "Zielsetzung" to the Unterstuetzungs-Repeatgroups * model/repeatgroup.py: Modified SQL-Query and added new attribute for rg-objects. * model/statement.py, lib/renderer.py: Changed rendering of the Aid-Overview and the Aidplanstatement. * i18n/de/LC_MESSAGES/waskaweb.po: New transalation for "Zielvereinbarung" 2008-08-18 Sascha L. Teichmann Added controller support for required fields. TODO: make icon. * waskaweb/config/routing.py: Added route to required fields * waskaweb/controllers/case.py: Added controller. * waskaweb/lib/formular_help.py: Fixed key errror. * waskaweb/lib/renderer.py: Issue (*) on required fields. 2008-08-18 Sascha L. Teichmann Added support for form annotations. TODO: add controller and adapt renderer. * formed/annotations.xhtml: New. File containing annonations. * waskaweb/lib/formular_help.py: Add dictionary for annotations. * waskaweb/lib/app_globals.py: Load annotations file. 2008-08-13 Torsten Irlaender Issue515 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: Renamed status "Offen" to "Bearbeitbar" Fixed formating of floats. * waskaweb/lib/evaluation.py: Use "," instead of "." in floats. New Style for columns holding numbers in evalution * waskaweb/public/styles/all.css, waskaweb/templates/casemanagement/evaluation/evaluation_avg_effort.mako, waskaweb/templates/casemanagement/evaluation/evaluation_effort.mako: Added new Style for columns in evaluation which includes numbers. Those columns are now aligned right. Implemented export of effort evaluation * waskaweb/controllers/case.py, waskaweb/controllers/evaluate.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/lib/evaluation.py, waskaweb/model/logbook.py, waskaweb/templates/casemanagement/evaluation/evaluation_avg_effort.mako, waskaweb/templates/casemanagement/evaluation/evaluation_effort.mako, waskaweb/templates/casemanagement/evaluation/evaluation_navigation.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_0.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_3.mako: Evaluation of efforts can now be exported as CVS. Disable effort evaluation on evaluation-server. Changed version string to 1.1.0 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed date and version string. This was done for a preview version 2008-08-12 Sascha L. Teichmann partial Fix for Issue539 * waskaweb/controllers/waska.py: make 'waska_auth' a secure cookie. 2008-08-12 Torsten Irlaender Implemented evaluation if logbook entrys on single cases. * waskaweb/controllers/case.py, waskaweb/model/logbook.py, waskaweb/templates/logbook/overview.mako: A short evalution on the logbook entries is now displayed under the logbooklisting. Implemented evaluation of logbook in global evaluation. * waskaweb/controllers/case.py, waskaweb/controllers/evaluate.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/lib/evaluation.py, waskaweb/model/logbook.py, waskaweb/templates/casemanagement/evaluation/evaluation_result_1.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_3.mako, waskaweb/templates/logbook/overview.mako, waskaweb/templates/casemanagement/evaluation/evaluation_avg_effort.mako, waskaweb/templates/casemanagement/evaluation/evaluation_effort.mako, waskaweb/templates/casemanagement/evaluation/evaluation_navigation.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_0.mako: The evaluation of logbook entries was moved into the evaluation lib, as it is in fact a evaluation. Regardless if the user now evaluates over a single case, or over all cases the lib/evalution will do this job. TODO: Formatting and Export. 2008-08-07 Torsten Irlaender Issue515 * waskaweb/model/case.py, waskaweb/templates/casemanagement/caselist.mako: Handle closed cases as open cases. Unsorted: * Changes.txt: Added issue515 2008-08-06 Torsten Irlaender Tagged Version 1.0.4 Issue517: * waskaweb/lib/evaluation.py: Fixed WHERE statement in evaluation, which results in wrong evaluation result: Evaluation was based on to much cases. Unsorted: * Changes.txt: Added issue517 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed date of version string * waskaweb/templates/start/responsible.mako: Reactivated old text. 2008-08-05 Torsten Irlaender Issue522: * waskaweb/lib/evaluation.py: Fixed evaluation on age. The age is now calculated at the time of the first meeting. If the date of the meeting is not present the age at time of last modification will be calculated. Issue523: * waskaweb/controllers/case_overview.py, waskaweb/templates/casemanagement/caselist.mako: Fixed sorting of cases on base of "Kundennummer" Release: * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Adjusted Versionstring to Version 1.0.4 * Changes.txt: Added notes vor Version 1.0.4 2008-08-04 Torsten Irlaender Issue516 * waskaweb/lib/evaluation.py, waskaweb/lib/search.py: Modified Search to handle "Beratungskunden" correctly. 2008-08-04 Sascha L. Teichmann * */**/*.py: An encoding problem once again. find -name \*.py | xargs \ sed -i 's/Projekttraeger im Deutschen Zentrum f./Projekttraeger im Deutschen Zentrum fue/g' 2008-08-04 Frank Koormann * waskaweb/public/images/icons/form_help.png: New, selfbuild image to ensure full copyrights. * waskaweb/public/styles/screen.css: Center images by default 2008-07-29 Torsten Irlaender Fixed Issue509 * formed/waska-hilfetexte.xhtml: Modified helptext. Changes on the editor of the case are tracked automatically in the case now. Issue508 * formed/waska-hilfetexte.xhtml, waskaweb/templates/start/start.mako: Basically added new helptext in infodialog for inconsistent cases. 2008-07-29 Sascha L. Teichmann * waskaweb/templates/start/responsible.mako: New text. 2008-07-29 Sascha L. Teichmann * LICENSE: New. GNU AFFERO GENERAL PUBLIC LICENSE Version 3 2008-07-29 Sascha L. Teichmann * **/*.py: Added copyright/license header. 2008-07-29 Sascha L. Teichmann * README.txt: Added naming mplus WASKA to README. 2008-07-28 Torsten Irlaender Issue513 * waskaweb/lib/evaluation.py: On evaluation server: If no timeinterval is defined do not filter out inconsistent cases. Unsorted: * waskaweb/controllers/case_overview.py waskaweb/controllers/waska.py: List inconsistent cases if their state is either marked for deletion or marked for anonymisation. (Was missing) 2008-07-23 Torsten Irlaender Tagged as "1.0.3" * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed versionstring Issue312 * waskaweb/controllers/case.py: Added pagebreak after casedigest in printout. Issue496 * waskaweb/templates/administration/edit_settings.mako, waskaweb/templates/administration/edit_user.mako, waskaweb/templates/administration/edit_usergroup.mako, waskaweb/templates/administration/new_user.mako, waskaweb/templates/administration/new_usergroup.mako, waskaweb/templates/administration/userform_body.mako, waskaweb/templates/appointments/appointment_form.mako, waskaweb/templates/appointments/edit_body.mako, waskaweb/templates/casemanagement/newLogbookEntry.mako, waskaweb/templates/casemanagement/search.mako, waskaweb/templates/casemanagement/static_form.mako, waskaweb/templates/logbook/edit_body.mako, waskaweb/templates/login.mako: Added maxlength attribute to textfields. * waskaweb/templates/administration/userform_body.mako, waskaweb/templates/casemanagement/static_form.mako, waskaweb/templates/tests/forms.mako: Removed obsolete templates Unsorted: * waskaweb/templates/start/start.mako: Fixed typo 2008-07-22 Torsten Irlaender Retagged as "1.0.3rc9" 2008-07-22 Sascha L. Teichmann * waskaweb/templates/casemanagement/new.mako: Added id to label sign statement correctly. 2008-07-22 Torsten Irlaender * waskaweb/controllers/case.py: Fixed confirmation dialog on anonymisation Fixed Issue502 * waskaweb/controllers/case.py, waskaweb/model/case.py, waskaweb/model/statement.py: Set state of EE to undefined on restoring a case if EE is declined (anonymisation). 2008-07-22 Torsten Irlaender Tagged as "1.0.3rc9" * waskaweb/controllers/error.py: Fixed indention error * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: New version string 2008-07-21 Sascha L. Teichmann Security fix (http://wiki.pylonshq.com/display/pylonsdocs/0.9.6.2) * waskaweb/controllers/error.py: Applied changes suggested in URL above. TODO: Upgrade to Routes 1.7.3. Rated impact: We do not use error.py in production. Static content is served by Apache. We may need to have a deeper look at serving documents, XML, XSL and CSV. 2008-07-21 Sascha L. Teichmann Fixed issue501 * waskaweb/controllers/case.py, waskaweb/controllers/case_overview.py: Used wrong message constants for mark anonymize and anonymized. 2008-07-18 Sascha L. Teichmann Fixed issue499 * waskaweb/controllers/case.py: load case after successful creation. 2008-07-17 Sascha L. Teichmann * waskaweb/lib/evaluation.py, waskaweb/model/agency.py: Fix for the evaluation server. freie_doku_abschlussbewertung must be NULL and evaluation server was mispelled. 2008-07-17 Sascha L. Teichmann Tagged as "1.0.3rc8" * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Tagged as "1.0.3rc8" 2008-07-17 Sascha L. Teichmann * formed/formedtree_web.xml: Synced with FormEd tree from DB setup. 2008-07-15 Frank Koormann * formed/waska-hilfetexte.xhtml: Fixed help text reference for "freie_dokumentation_abschlussbewertung" 2008-07-15 Frank Koormann * formed/waska-hilfetexte.xhtml: Added help texts for free documentation fields and diseases. 2008-07-15 Sascha L. Teichmann * ChangeLog.txt: Tagged as 1.0.3rc7 2008-07-10 Frank Koormann * formed/waska-hilfetexte.xhtml: Formatting fix for "schulpflichtig". 2008-07-10 Torsten Irlaender Worked on Issue 472 * formed/formedtree_web.xml: Placed new formedtree. * formed/waska-hilfetexte.xhtml: Changed helptext * waskaweb/lib/evaluation.py: Changed evaluation "Verweildauer". "vorzeitige Beendigung" is now count as "regulär Beendigung" too. * waskaweb/lib/xmlimport.py: Added new dictionary based on formed to the xmlimporter 2008-07-10 Frank Koormann * formed/waska-hilfetexte.xhtml: New entry for "schulpflichtig". 2008-07-09 Sascha Teichmann * Changes.txt: Adjusted to 1.0.3rc6 2008-07-09 Torsten Irlaender Worked on issue484 * waskaweb/templates/logbook/edit_body.mako: Labels of formularfields with errors are now render in red color too. First version of a fix for Issue312 * waskaweb/controllers/case.py, waskaweb/model/case.py, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/digest_body.mako: Added the digest as first page of the printout of the full formular. First version of a fix for Issue488 * waskaweb/controllers/agency_overview.py, waskaweb/controllers/evaluate.py, waskaweb/lib/evaluation.py, waskaweb/templates/casemanagement/agencylist.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_1.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_3.mako: Added a short information on each evaluation result page on how many cases where used for the evaluation result. Further added information on how many cases are totaly on the evaluation server in the overview page. Changed Version string to rc6 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed version string 2008-07-08 Torsten Irlaender Fixed Issue483 * waskaweb/templates/appointments/edit_body.mako: Added maxlength of 128 to the title of appointments Fixed Issue478 * waskaweb/controllers/case_overview.py, waskaweb/templates/casemanagement/caselist.mako: Show cases which are marked for anonymisation in overview when selection anonymized cases for users with cm-role. Fixed Issue477 * waskaweb/config/routing.py, waskaweb/controllers/case.py, waskaweb/templates/casemanagement/caselist.mako: Added new Action to mark cases for anonymisation when the user selects this case from the overview instead of within a selected case. Fixed Issue484 * waskaweb/controllers/case.py, waskaweb/templates/logbook/edit_body.mako: Formularfields with errors are now rendered with a red border. Fixed Issue490 * waskaweb/model/semantic.py: Encoding of the file changed to utf-8. Inserted umlauts. 2008-07-08 Sascha L. Teichmann Workaround for issue264 * waskaweb/controllers/rg_aid.py: return None if aid object cannont be load. * waskaweb/model/repeatgroup.py: if on delete load failed say that deletion succeed. 2008-07-08 Sascha L. Teichmann Fixed issue371 * waskaweb/lib/renderer.py: _('...') inside '''....''' does not work. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: 2008-07-08 Sascha L. Teichmann * formed/formedtree_web.xml: Fixed twisted pair geburtsdatum/geschlecht. repaired bezug_alg1, bezug_alg2. 2008-07-07 Torsten Irlaender Worked on issue492 * waskaweb/lib/evaluation.py: Added additional where statement to filter out inconsisistent cases (only for evaluation server). Indication for those cases is the field "freie_doku_abschlussbewertung" is not NULL. * waskaweb/templates/casemanagement/listbadcases.mako, waskaweb/templates/main.mako, waskaweb/templates/start/start.mako: Changed wording "Fehlerhafte Fallakten" to "Inkonsistene Fallakte". Unsorted * waskaweb/lib/xmlimport.py: Added new python dictionaries from the new formedtree to the importer. 2008-07-04 Torsten Irlaender Fixed issue475 * formed/privacy_statement.html: Modified message in privacy statement. Fixed issue491 * waskaweb/templates/casemanagement/static_form/statement_print.mako: Removed file as it is not needed anymore. Worked in issue492 * waskaweb/controllers/case_overview.py, waskaweb/lib/search.py, waskaweb/templates/main.mako, waskaweb/templates/casemanagement/listbadcases.mako: Added new search options to find cases which have errors in data. Added template with userfriendly buttons which cann be used to fire up predefinded searches. * waskaweb/controllers/waska.py, waskaweb/templates/casemanagement/listbadcases.mako, waskaweb/templates/main.mako, waskaweb/templates/start/start.mako: Added notifier an blackboard which informs the user if he has cases which includes errors. * waskaweb/controllers/case_overview.py, waskaweb/controllers/waska.py, waskaweb/templates/casemanagement/listbadcases.mako: Only show links to start a search for error cases if there are cases of the error type. Fixed issue489 * waskaweb/model/statement.py: Added filter functions for empty fields in aidstatements when printing. Unsorted * waskaweb/templates/casemanagement/overview.mako: Removed word "Auswahl" from bundled action menu as this word is redundant. 2008-07-03 Torsten Irlaender Issue483 * waskaweb/lib/validators.py: Added validation to title of an appointment. Issue484 * waskaweb/lib/validators.py: Added new validation for duration of a logbookentry 2008-07-01 Sascha L. Teichmann Fixed Issue490 * waskaweb/model/semantic.py: Fixed typo 2008-07-01 Sascha L. Teichmann Fixed Issue487 * waskaweb/controllers/case.py: raise 404 if requested help is not available. 2008-07-01 Torsten Irlaender Tagged version 1.0.3rc5 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed verision string to 1_0_3rc5 Issue482 * waskaweb/templates/appointments/remindlist_body.mako: Added default member f unctions to the template Issueissue383 * waskaweb/controllers/administration.py, waskaweb/lib/validators.py: changed validation on usergroups. Unsorted: * waskaweb/templates/appointments/overview.mako: Removed explaination string in appointment overview for admin. came from beta versions. * waskaweb/lib/renderer.py: Fixed encoding error 2008-07-01 Sascha L. Teichmann Fixed Issue481 * waskaweb/lib/validators.py: raise validation exception if string is too long. * waskaweb/templates/logbook/edit.mako, waskaweb/templates/logbook/edit_body.mako, waskaweb/templates/logbook/new.mako: Adjusted templates to print correct error message. 2008-07-01 Sascha L. Teichmann * Changes.txt: Updated to recent changes. 2008-07-01 Torsten Irlaender Issue409 * waskaweb/config/routing.py, waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py, waskaweb/templates/appointments/remindlist_body.mako, waskaweb/templates/start/remindlist.mako: Added function to mark a case as active directly from the blackboard. Issue369 * waskaweb/controllers/waska.py, waskaweb/templates/start/start.mako, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po waskaweb/i18n/waskaweb.pot waskaweb/templates/start/globalappointmentlist.mako: Separated global appointments on the blackboard in its own section. 2008-06-30 Sascha L. Teichmann Fixed Issue341 * waskaweb/lib/helpers.py: new function human_timedelta() which gives a timedelta in human readable form. * waskaweb/model/appointment.py: use human_timedelta() for duration of appointments. 2008-06-30 Torsten Irlaender Issue472 * formed/formedtree_web.xml: New formedtree. * formed/waska-hilfetexte.xhtml: New helptext for "Behinderung" Issue465 * waskaweb/templates/start/responsible.mako, waskaweb/public/images/agplv3-155x51.png: Changed text on info page. The new version now includes licensing issues and differs between WASKA und mpuls. New version is commented out yet. Issue479 * waskaweb/templates/casemanagement/search.mako: Added accept-charset="uft-8" to the search formularfield. Issue476 * waskaweb/templates/start/help.mako: Adjusted links on helppage to the new structure of the waska-anwender wiki 2008-06-30 Sascha L. Teichmann Fixed Issue480 * waskaweb/controllers/agency_overview.py: Used pylons validator + htmlfill to fill the parts selection form. 2008-06-30 Sascha L. Teichmann * waskaweb/templates/casemanagement/downloadCSV.mako, waskaweb/templates/casemanagement/downloadXLS.mako, waskaweb/templates/casemanagement/downloadXML.mako: Adjusted templates for evaluation server. 2008-06-27 Sascha L. Teichmann Implemented anonymized XLS export. * waskaweb/controllers/case_overview.py: use anonymize parameter. * waskaweb/lib/excel.py: switch to anon views if anonymize parameter is given. * waskaweb/model/case.py: use anonymize parameter. * waskaweb/templates/casemanagement/downloadXLS.mako: Added anonymize parameter to dialog. 2008-06-27 Sascha L. Teichmann Implemented anonymized CSV export. * waskaweb/controllers/case_overview.py: use anonymize parameter. * waskaweb/lib/csv.py: switch to anon views if anonymize parameter is given. * waskaweb/model/case.py: use anonymize parameter * waskaweb/templates/casemanagement/downloadCSV.mako: Changed dialog to use anonymize parameter * waskaweb/templates/casemanagement/downloadXML.mako: Fix numbering. 2008-06-27 Torsten Irlaender Hopfully last changes on evaluation and its workflow. * waskaweb/lib/evaluation.py, waskaweb/lib/search.py, waskaweb/controllers/agency_overview.py: Fixed timeframe query * waskaweb/controllers/case_overview.py, waskaweb/controllers/evaluate.py, waskaweb/templates/casemanagement/evaluation/evaluation_result_1.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_3.mako: Searchoption on the evaluation result page are now only displayed if the user comes from the default search in the main-menu. Else hide search option as their impact is too complicated for users. Issue475 * formed/privacy_statement.html: Adjusted privacy statement to standard workflow of anonymization. Issue473 * waskaweb/templates/logbook/show.mako: Fixed output of note in show dialog of an logbook entry. Unsorted * waskaweb/lib/validators.py: Make field "duration" disposable 2008-06-27 Sascha L. Teichmann Implemented anonymized XML export. * waskaweb/controllers/case_overview.py: added evaluation of flag for anonymization. * waskaweb/lib/xmlexport.py: Switch to anon-views if export should be anonymized. * waskaweb/model/case.py: take optional flag for anonymization. * waskaweb/templates/casemanagement/downloadXML.mako: Attempt to make dialog look more like import (which failed partly). 2008-06-27 Sascha L. Teichmann * waskaweb/lib/excel.py: Same '$'-Fix as for the CSV export. 2008-06-26 Frank Koormann * formed/formedtree_web.xml: Reformatting of "Persoenliche Daten" using new weights. 2008-06-26 Frank Koormann Added further weights to the form element rendering * waskaweb/lib/renderer.py: Enhanced list of weights. * waskaweb/public/styles/all.css, waskaweb/public/styles/ie6.css: Added weight styles 2008-06-26 Torsten Irlaender Modified SQL query on evaluation server (massive perfomrance issues with compressed ids) * waskaweb/controllers/evaluate.py, waskaweb/lib/evaluation.py, waskaweb/model/agency.py: Added special code for building where statements of the evaluation querys if we are running an evaluation server. Because of some side effects this isn't a really nice soluation and somewhat hackish. * waskaweb/templates/casemanagement/evaluation/evaluation_result_1.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_3.mako: Fixed syntax errors Changed version string * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: 1_0_3rc4 2008-06-26 Sascha L. Teichmann * waskaweb/lib/csv.py: Separate differen 'Unterstuetzungsangebote' of same kind with '$' instead of '_' to avoid proplems with name collisions. 2008-06-24 Sascha L. Teichmann Fix related to Issue461 * waskaweb/lib/pdfimporter.py, waskaweb/model/case.py: comment out output of unknown fields. 2008-06-24 Sascha L. Teichmann Fixed Issue467: * waskaweb/templates/main.mako: Sanitized HTML * waskaweb/lib/helpers.py: new function status_message(s) which generates a line suitable for the status bar. * waskaweb/controllers/case.py: uses status_message() now 2008-06-24 Torsten Irlaender Issue466 * waskaweb/templates/logbook/edit_body.mako, waskaweb/templates/logbook/show.mako: Automatic generated entries in logbook are not editable anymore. Extended Searchoptions for evaluation server (not tested too much yet): * waskaweb/config/routing.py, waskaweb/controllers/agency_overview.py, waskaweb/lib/search.py, waskaweb/lib/validators.py, waskaweb/model/agency.py, waskaweb/templates/casemanagement/agency_overview.mako, waskaweb/templates/casemanagement/agencylist.mako: Agency overview is now searchable with the following criteria: gender, cm_state, and timeframe. Further the listing is no sortable. Fixed extended search * waskaweb/lib/search.py: changed db query to get cases which are in cm to make use of a new view. Old view (master_tbl_eval_incm_view) leads to sideeffects if the user searches for cases including standin cases. Fixed evaluation 1 * waskaweb/controllers/evaluate.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/lib/evaluation.py, waskaweb/templates/casemanagement/evaluation/evaluation_result_1.mako: Differ more between all, incm and not incm in first evaluation. Fixed help texts * formed/waska-hilfetexte.xhtml, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/casemanagement/evaluation/evaluation_result_1.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_3.mako: Fixed some helptexts (feedback DLR) Removed status message from bottom of the page * waskaweb/templates/main.mako: Removed status msg. Unsorted: * waskaweb/public/styles/print.css: Do not print status msg * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Set Versionstring to 1_0_3rc3 2008-06-23 Sascha L. Teichmann Partial fix for Issue463. Removed ids, uuids and master_ids from output. * waskaweb/lib/csv.py: Fixed wrong usage of cursor.description. 2008-06-23 Sascha L. Teichmann * waskaweb/lib/validators.py: Set appointments to 1 if missing * waskaweb/lib/xmlexport.py: Removed needless parameter in selection 2008-06-23 Sascha L. Teichmann * waskaweb/lib/xmlexport.py: Added 'tagebuch-sonstiges' to XML export. 2008-06-23 Torsten Irlaender Restructured templates of logbook. Pylonisize dataflow for logbook * waskaweb/controllers/case.py: Changed way how to set and validate logbook data. * waskaweb/lib/validators.py: Added new validator for logbooks * waskaweb/templates/casemanagement/editLogbookEntry.mako, waskaweb/templates/casemanagement/newLogbookEntry.mako, waskaweb/templates/logbook/dialogs/confirm_delete_logbook_entry.mako, waskaweb/templates/logbook/dialogs/failed_create_logbook_entry.mako, waskaweb/templates/logbook/dialogs/failed_delete_logbook_entry.mako, waskaweb/templates/logbook/dialogs/failed_save_logbook_entry.mako, waskaweb/templates/logbook/dialogs/failed_show_logbook_entry.mako, waskaweb/templates/logbook/dialogs/success_create_logbook_entry.mako, waskaweb/templates/logbook/dialogs/success_delete_logbook_entry.mako, waskaweb/templates/logbook/dialogs/success_save_logbook_entry.mako, waskaweb/templates/logbook/edit.mako, waskaweb/templates/logbook/edit_body.mako, waskaweb/templates/logbook/new.mako, waskaweb/templates/logbook/overview.mako, waskaweb/templates/logbook/show.mako: Moved and created new templates * waskaweb/templates/casemanagement/dialogs/confirm_delete_logbook_entry.mako, waskaweb/templates/casemanagement/dialogs/failed_create_logbook_entry.mako, waskaweb/templates/casemanagement/dialogs/failed_delete_logbook_entry.mako, waskaweb/templates/casemanagement/dialogs/failed_save_logbook_entry.mako, waskaweb/templates/casemanagement/dialogs/failed_show_logbook_entry.mako, waskaweb/templates/casemanagement/dialogs/success_create_logbook_entry.mako, waskaweb/templates/casemanagement/dialogs/success_delete_logbook_entry.mako, waskaweb/templates/casemanagement/dialogs/success_save_logbook_entry.mako, waskaweb/templates/casemanagement/logbook.mako, waskaweb/templates/casemanagement/showLogbookEntry.mako: Removed old templates Added statusbar at top of the page, add help text to the statementlisting * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/public/styles/color3.css, waskaweb/public/styles/screen.css, waskaweb/templates/main.mako: New style for statusbar at top of the page. Changed translation strings for more helo in statementlisting Added default vlaues for new logbook entrys * waskaweb/controllers/case.py: make use of htmlfill. Issue251 * waskaweb/controllers/case_overview.py, waskaweb/templates/casemanagement/overview.mako: Replaced two checkboxes for states "Offen" and "Geschlossen" with one "checkbox" for "Bearbeitbar" which includes both states. * waskaweb/templates/casemanagement/organisation.mako: Removed setting state from organisation Changed version string * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed version string to rc2 IE6 rendering fix * waskaweb/public/styles/all.css, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/main.mako: Fixed rendering error in caseoverview (tablewidth) 2008-06-23 Sascha L. Teichmann * waskaweb/model/logbook.py: Added short notice ('Nennung Sonstiges') and extend list of kinds ('Erstgespräche', 'Kompetenzfeststellung'). * waskaweb/templates/casemanagement/editLogbookEntry.mako, waskaweb/templates/casemanagement/logbook.mako, waskaweb/templates/casemanagement/newLogbookEntry.mako, waskaweb/templates/casemanagement/showLogbookEntry.mako: Add new field and values to templates. 2008-06-20 Torsten Irlaender * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed Version string. Fixed Evaluation * waskaweb/controllers/evaluate.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/lib/evaluation.py, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako: Fixed incorrect evaluation of the duration of cm. Added new evaluation for the averange duration of cm. Fixed evaluation on aid plan. 2008-06-18 Torsten Irlaender Adjusted for Version 1.0.3rc1 * Changes.txt: enhanced changes 2008-06-17 Sascha L. Teichmann * waskaweb/templates/casemanagement/downloadCSV.mako, waskaweb/templates/casemanagement/downloadXLS.mako waskaweb/templates/casemanagement/downloadXML.mako: Added privacy warnings for exports. 2008-06-17 Sascha L. Teichmann * waskaweb/controllers/case.py: Fix for issue460 2008-06-17 Sascha L. Teichmann * waskaweb/lib/xmlexport.py: Implemented export of documents. * waskaweb/templates/casemanagement/selectParts.mako: Re-inserted submit button. 2008-06-17 Sascha L. Teichmann * waskaweb/templates/casemanagement/selectParts.mako: Fixed h.url_for() usage. 2008-06-17 Sascha L. Teichmann * waskaweb/lib/xmlexport.py: Export log book. 2008-06-16 Sascha L. Teichmann * waskaweb/lib/xmlexport.py: Remove appointments * waskaweb/templates/casemanagement/selectParts.mako: Remove from selection 2008-06-16 Sascha L. Teichmann Partial XML (Part II). Implemented: export only parts of the data * waskaweb/lib/xmlexport.py: Filter out unneeded parts. * waskaweb/model/nodecomponents.py: added method to formed tree to find node by name only. 2008-06-16 Sascha L. Teichmann Partial XML (Part I). Implemented: connect selection to export * waskaweb/controllers/agency_overview.py, waskaweb/controllers/case_overview.py: fetch selection from session a connect it to export. * waskaweb/model/case.py: Removed selection. * waskaweb/lib/xmlexport.py: Re-inserted here. 2008-06-16 Torsten Irlaender Fixed issue459 * formed/waska-hilfetexte.xhtml, waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/lib/helpers.py, waskaweb/model/navigation.py, waskaweb/templates/casemanagement/evaluation/evaluation_result_1.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_3.mako, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/start/help.mako: Added new help texts Fixed issue352 * formed/formedtree_web.xml: Added new options in formular: "in der Maßnahme" and "sonstiges" for Zugang "sonstiges" in "Uebernahme in das CM nicht notwendig weil..." 2008-06-16 Torsten Irlaender Worked on issue425 * waskaweb/controllers/case.py, waskaweb/public/styles/color3.css, waskaweb/public/styles/screen.css, waskaweb/templates/main.mako: Added status line at the bottom of the page. Actions in controller can write some information in c.status_msg which will be then displayed as status msg. Implemented this for setting the editor, standin and for saving formular page which had no notification dialog yet. Fixed issue383 * waskaweb/controllers/administration.py, waskaweb/lib/validators.py: Added two new checks against the DB to the validator: 1. Check if a group with the given name already exist. 2. On creating a new user check if there is already a user with the given loginname. If so show error dialog. 2008-06-12 Sascha L. Teichmann Make day time editable and prevent editing of automatic entries. * waskaweb/lib/helpers.py, waskaweb/model/logbook.py: check day time * waskaweb/templates/casemanagement/editLogbookEntry.mako, waskaweb/templates/casemanagement/logbook.mako, waskaweb/templates/casemanagement/newLogbookEntry.mako, waskaweb/templates/casemanagement/showLogbookEntry.mako: Adjusted templates 2008-06-12 Torsten Irlaender Pylonisize the part selection of the xml export * waskaweb/controllers/case_overview.py, waskaweb/lib/validators.py, waskaweb/model/case.py, waskaweb/templates/casemanagement/selectParts.mako: Removed special code from the template and let htmlfill handle to correct rendering of checked and unchecked boxes. Added new validator for this formular. Added uuid for documents * waskaweb/model/document.py: create function now has optional uuid param. If this param is not given than a fresh uuid will be genereated (db-side). Worked on Issue448 * waskaweb/templates/casemanagement/caselist.mako: Added icon for cm_ka users to anonymize a case directly from the case overview. Fixed Issue290 * waskaweb/templates/appointments/appointmentlist.mako, waskaweb/templates/casemanagement/appointmentlist.mako: Reformted html code. 2008-06-12 Sascha L. Teichmann * waskaweb/public/servicezeit.html: Fixed typo. 2008-06-12 Sascha L. Teichmann * waskaweb/public/servicezeit.html: Simple HTML page for service purposes. 2008-06-12 Sascha L. Teichmann * waskaweb/model/logbook.py: cleaned SQL * waskaweb/templates/casemanagement/logbook.mako: Renamed to 'Tagebuch' 2008-06-12 Sascha L. Teichmann Logbook (Part V). TODO: Cleanup code, really i18n. Implemented 'edit' * waskaweb/controllers/case.py: Added controllers to edit log book entries. * waskaweb/model/logbook.py: Enable entries to be stored by id. * waskaweb/templates/casemanagement/main.mako: Removed i18n. :-( * waskaweb/templates/casemanagement/newLogbookEntry.mako: Added modus field. * waskaweb/templates/casemanagement/dialogs/failed_save_logbook_entry.mako, waskaweb/templates/casemanagement/dialogs/success_save_logbook_entry.mako, waskaweb/templates/casemanagement/editLogbookEntry.mako: Dialogs for editing. 2008-06-12 Sascha L. Teichmann Logbook (Part IV). TODO: i18n, edit entries. Implemented 'show' * waskaweb/controllers/case.py: Added controllers to show log book entry * waskaweb/model/logbook.py: Load individual entry by id * waskaweb/templates/casemanagement/dialogs/failed_show_logbook_entry.mako, waskaweb/templates/casemanagement/showLogbookEntry.mako: New. Templates for showing one entry. 2008-06-12 Torsten Irlaender Issue451 * waskaweb/controllers/evaluate.py, waskaweb/lib/validators.py: Save search options on the evaluation page in a session so we can display the seleted time interval on the resultpages of the evaluation. Worked on Issue14: * waskaweb/controllers/case_overview.py, waskaweb/lib/search.py, waskaweb/templates/casemanagement/overview.mako: Added new search option "branch" to the search engine. This option can be used by admins to seperate cases to the differnet branches of their KA. Fixed Issue456: * waskaweb/templates/casemanagement/downloadCSV.mako: Emphasized (red color) problematics regarding to CSV export in CSVExport-Diaolog. 2008-06-11 Sascha L. Teichmann Logbook (Part III). TODO: i18n, edit entries. implemented 'delete' * waskaweb/config/routing.py: New route for delete confirmation * waskaweb/controllers/case.py: controllers for deletion of log book entries. * waskaweb/model/logbook.py: Enabled to delete entries from database. * waskaweb/templates/casemanagement/dialogs/confirm_delete_logbook_entry.mako, waskaweb/templates/casemanagement/dialogs/failed_delete_logbook_entry.mako, waskaweb/templates/casemanagement/dialogs/success_delete_logbook_entry.mako, waskaweb/templates/casemanagement/newLogbookEntry.mako: New. Confirmation, success and failure dialogs. 2008-06-11 Sascha L. Teichmann Logbook (Part II). TODO: i18n, edit/delete entries. implemented 'create' * waskaweb/controllers/case.py: controllers for creation of new log book entries. * waskaweb/lib/helpers.py: New helper for time intervals * waskaweb/model/logbook.py: Enabled to store entries to database. * waskaweb/model/user.py: Add a method for shortened name. * waskaweb/templates/casemanagement/logbook.mako: Removed i18n. * waskaweb/templates/casemanagement/dialogs/failed_create_logbook_entry.mako, waskaweb/templates/casemanagement/dialogs/success_create_logbook_entry.mako: New. dialogs after (successful) creation of new log book entry. 2008-06-11 Sascha L. Teichmann * waskaweb/model/logbook.py: Fixed text substitution. 2008-06-11 Torsten Irlaender Issue448 * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/main.mako: Small textchanges in the confirmation dialogs. * waskaweb/public/images/icons/anonym_red.gif: Added missing icon for issue448 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: Added new translated strings * waskaweb/model/case.py: Call anonymize wrapper function. Issue452: Implemented more bundled actions * waskaweb/controllers/case.py, waskaweb/controllers/case_overview.py, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/dialogs/confirm_bundle_anonymize.mako, waskaweb/templates/casemanagement/dialogs/success_bundle_anonymize.mako: Added bundled action for anonymisation, mark for anonymisation and restoring cases in the web gui. Workflow ist functional now Issue126 * waskaweb/model/case.py: Print "0" instead of "-/-" for age in case digest if child is younger that one year. Issue410 * waskaweb/model/appointment.py: Filter out reminders and appointments of cases for which the current user is only standin. Admin will still see reminders on outdated cases. Unsorted: * waskaweb/templates/casemanagement/overview.mako: Added new labels on the extended search link which depends on the extended search is visible or not. 2008-06-10 Torsten Irlaender * waskaweb/lib/search.py: Changed field for the end of the timeframe from last access time to field "beendigung_5" Issue447 (fix preview) * waskaweb/controllers/case_overview.py waskaweb/lib/search.py: Changed default search options in case overview for admin users. On default they only see cases with are marked for deletion or for anonymisation Issue448 * waskaweb/config/routing.py, waskaweb/controllers/case.py, waskaweb/controllers/case_overview.py, waskaweb/controllers/statement.py, waskaweb/model/case.py, waskaweb/templates/casemanagement/caselist.mako, waskaweb/templates/casemanagement/dialogs/confirm_anonymize.mako, waskaweb/templates/casemanagement/dialogs/success_anonymize.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/dialogs/confirm_markanonymize.mako, waskaweb/templates/casemanagement/dialogs/failed_markanonymize.mako, waskaweb/templates/casemanagement/dialogs/success_markanonymize.mako: Implemented the anonymisation of a case in the way like it is done for deleting cases: Anonymisation is now done in two steps. First marking it for deletion. Second anonymize, whereby the first step is done by users with cm-ka role and the second step will be done by users with admin-ka role. 2008-06-10 Sascha L. Teichmann Logbook (Part I). TODO: i18n, add/edit/delete entries. Implemented 'overview' * waskaweb/controllers/case.py: render logbook overview. * waskaweb/lib/helpers.py: new time interval function * waskaweb/templates/casemanagement/main.mako: Added link to logbook * waskaweb/controllers/logbook.py: New. controller for logbook handling. Empty. * waskaweb/model/logbook.py: New. Model for logbook and entries. * waskaweb/templates/casemanagement/logbook.mako: New. Template for the logbook overview. * waskaweb/tests/functional/test_logbook.py: New. Test stub. 2008-06-09 Torsten Irlaender Fixed issue417 * waskaweb/controllers/evaluate.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/lib/evaluation.py, waskaweb/templates/casemanagement/evaluation/evaluation_result_1.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_3.mako: Added two new evaluations over all cases. First highest graduation and current work situation. Implemented toggling of the extended search * waskaweb/controllers/case_overview.py, waskaweb/templates/casemanagement/overview.mako: Extended search can now be opened and collapsed. In collopses state no extended search option will be used for a search and only the default options will be used. Implemented search on cm state * waskaweb/controllers/case_overview.py, waskaweb/controllers/evaluate.py, waskaweb/lib/search.py, waskaweb/templates/casemanagement/overview.mako: Search for the cm-state of a case is now functional. Implemented extended search with more search options * waskaweb/controllers/case_overview.py, waskaweb/controllers/evaluate.py, waskaweb/lib/validators.py, waskaweb/templates/casemanagement/overview.mako: Added field for gender selection, Added field for setting a timeframe, adding field for selecting case_state (non functional yet). Moved checkboxes for open and closed cases to the extended search as these options are not used frequently. Added counting of different types of cases in the search results. Openening and collapsing the extended search is not functional yet. 2008-06-06 Torsten Irlaender Fixed issue423 * waskaweb/lib/renderer.py, waskaweb/model/repeatgroup.py: Added additional field in the aidlist overview. Modified SQL statement to fetch some more information to the aid. Fixed issue333 * waskaweb/model/case.py: The name of the editor is updated in the master_tbl when the admin changes the editor. Fixed issue416 * formed/formedtree_web.xml: New formedtree which includes additional option on familienstand ('in fester Partnerschaft') Fixed issue397 * formed/formedtree_web.xml: New formedtree which includes additional option on Rechstkreis ('SGB IX') Worked on issue14 * waskaweb/lib/search.py: Added searchoption "gender" to the search engine 2008-06-05 Sascha L. Teichmann * waskaweb/lib/xmlimport.py: Do not crash if cases without UUIDs are imported. 2008-06-05 Torsten Irlaender Added search on timeintervals * waskaweb/controllers/case_overview.py, waskaweb/model/case.py: The "searchengine" now understands four new keywords which can be used to define a timeinterval for cases. These are: the start and end date und the fields in the database holding the fields which will be tested. Default search. If no date is given the search will look for the date of first contact and the last access time. Time intervall is 1970-01-01 - today. Refactored search * waskaweb/model/case.py, waskaweb/lib/search.py: Extracted search specific code out of the caseoverview und put it into the new lib "search" which can now be used at other places to Implemented search mask for timeintervals on evaluations * waskaweb/controllers/case_overview.py, waskaweb/controllers/evaluate.py, waskaweb/lib/sql_helper.py: Added search method in the evaluation controller. It is able to search for cases in a particular time interval and the does a evaluation on search result. * waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/evaluation/evaluation_result_1.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_3.mako: Added search mask to define a timeinterval on the the evaluation. Fixed issue426 * waskaweb/controllers/case_overview.py: Fixed spelling Fixed issuei342 * waskaweb/lib/renderer.py: Replace '\r' and '\r\n' with
tag in readonly mode too. Fixed issue427 * waskaweb/model/casedocument.py: Removed forgotten debugging output 2008-06-05 Sascha L. Teichmann GUI for partial XML export * waskaweb/controllers/agency_overview.py, waskaweb/controllers/case_overview.py: Store selection to session. * waskaweb/model/case.py: Added model for selection. TODO: feed to XML export * waskaweb/templates/casemanagement/downloadXML.mako: add third button to select parts of the document. * waskaweb/templates/casemanagement/selectParts.mako: New. Parts of the case. 2008-06-04 Torsten Irlaender Implemented sorting in case overview. * waskaweb/config/routing.py waskaweb/controllers/case_overview.py waskaweb/model/case.py: Modified SQL search string. It now takes two additional params: the field on which the sorting will happen and the oder of the sorting. * waskaweb/templates/casemanagement/caselist.mako, waskaweb/public/styles/screen.css, waskaweb/public/images/icons/sort_asc.png, waskaweb/public/images/icons/sort_desc.png: Added sorting icons in the caselisting. 2008-06-03 Torsten Irlaender Implemented evaluation over subsets of cases and agencys (evaluation-server) * waskaweb/config/routing.py: Added new route for resetting the evaluation (evaluate over all cases again after defining a subset) * waskaweb/controllers/agency_overview.py: Added evaluation for agencys. Basically build a huge casebundle which will be uses for the evaluation. * waskaweb/controllers/case_overview.py: Implement evaluation over cases. * waskaweb/controllers/evaluate.py waskaweb/lib/evaluation.py, waskaweb/lib/sql_helper.py: Modified sql statements in evaluation to support subsets of cases. * waskaweb/templates/casemanagement/agency_overview.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/main.mako: Added evaluation to the selection field on overviewpages. Added reset param to the evaluate link in the main menue. Remove evaluation option from bundled actions if the users searches for cases of an particualr user (privacy) * waskaweb/controllers/case_overview.py, waskaweb/templates/casemanagement/overview.mako: Added regular expression to check wheter the search string contains editor specific earch options. If so then hide evalution option in case-overview. 2008-05-30 Sascha L. Teichmann * Changes.txt: Adjusted for 1.0.2 2008-05-30 Torsten Irlaender Changed text for the reminders in the digest * waskaweb/templates/casemanagement/digest.mako: Suggest anonymisation instead of deleteing cases if they seems to be old. Changed version String * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed to Version 1.0.2 2008-05-30 Sascha L. Teichmann * waskaweb/model/appointment.py: Hotfixed SQL syntax not understood by psycopg2. 2008-05-29 Sascha L. Teichmann Fixed issue408 * waskaweb/model/appointment.py: Optimized query to figure out old inactive cases. 2008-05-29 Sascha L. Teichmann * waskaweb/lib/csv.py: Build list of used row indices once instead of repeated field lookup in black list. 2008-05-29 Torsten Irlaender Deactivated Appointments and Reminders on Blackboard for the evaluation server * waskaweb/controllers/waska.py, waskaweb/templates/start/start.mako: Display some information regarding to the evaluation server instead of reminders and appointments. Support bundled Actions for all agency at once. * waskaweb/config/routing.py: Added new route for agency_overview with reset parameter * waskaweb/controllers/agency_overview.py: Support doing an bundled action for all agencys * waskaweb/lib/validators.py, waskaweb/templates/casemanagement/agency_overview.mako: Add new checkbox to select all agencys. * waskaweb/templates/casemanagement/overview.mako: Add label to a formular element. * waskaweb/templates/main.mako: Reset agency selection when selection agencyoverview in the main menue Changed Version String and tagged Version 1.0.1 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Version string to 1.0.1 2008-05-29 Sascha L. Teichmann * waskaweb/lib/csv.py: Removed stupid creation of key/value tuples which resulted in heavy memory loads. 2008-05-28 Sascha L. Teichmann * waskaweb/lib/csv.py: Removed stupid sorting of rows. TODO: Do the same in XML and XSL export. * waskaweb/model/case.py: Removed usage of psycopg2.extras.DictCursor in CSV export. 2008-05-28 Sascha L. Teichmann * waskaweb/lib/csv.py: interned column names to save some memory. 2008-05-28 Sascha L. Teichmann * waskaweb/lib/csv.py: Make it O(N*logN) instead of O(N^2) 2008-05-28 Torsten Irlaender Performance improvment on caseoverview. * waskaweb/controllers/case_overview.py, waskaweb/controllers/waska.py, waskaweb/model/appointment.py, waskaweb/model/case.py: Do not load the State of an case for every case. Do it in one search query!. 2008-05-27 Torsten Irlaender Implemented xml and xsl export for the evaluation server * waskaweb/controllers/agency_overview.py: Implemented xml and xls export. * waskaweb/templates/casemanagement/agency_overview.mako: Added options for xml and xsl export to the choice list. * waskaweb/controllers/waska.py: Fixed permission to open start page for users with pb_ka role. 2008-05-27 Sascha L. Teichmann * waskaweb/lib/sql_helper.py: New. Optimizes WHERE id clauses. * waskaweb/lib/csv.py: Optimized export. TODO: get rid of needless sorts() and header info for each data set. 2008-05-27 Sascha L. Teichmann * waskaweb/lib/xmlimport.py: Do not call UPDATE on a dataset which has no fields to change. 2008-05-26 Torsten Irlaender Removed time in caselisting * waskaweb/controllers/case.py, waskaweb/model/case.py, waskaweb/templates/casemanagement/caselist.mako: The caselisting does not longer contain the last access time to make the listing more compact. Reactivated custom formating in model/case.py. This was deavitvated due to problems with dates before 1900. Added try-except block to handle this. Fixed issue385 * waskaweb/config/routing.py, waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/lib/renderer.py, waskaweb/model/casedocument.py, waskaweb/model/datapage.py, waskaweb/templates/casemanagement/main.mako: Basically inhertied a new class from DataPage which does not hold any data and therefor results in an empty formularpage. Drawback: An existend case is needed. 2008-05-20 Sascha L. Teichmann * waskaweb/model/help.py: Removed. Unused duplicate of waskaweb/lib/formular_help.py 2008-05-23 Torsten Irlaender Fixed issue267, Fixed bug that users can set standin without beeing the editor: * waskaweb/model/case.py: Add filtering of cases. * waskaweb/templates/casemanagement/caselist.mako: Some cleaup * waskaweb/templates/casemanagement/overview.mako: Added new checkbox to select all cases for bundled actions. * waskaweb/controllers/case_overview.py: Added logic to fetch alle cases if the user selects all cases. Filter out cases in set-standin bundled action if the user is not the editor * waskaweb/lib/validators.py: add new checkbox as valid form param. Fixed fix for issue267 * waskaweb/controllers/case_overview.py: Fixed issue with merging two dctionarys in a session. Before merging the dic is now copied 2008-05-21 Torsten Irlaender Another Fix for issue387 * waskaweb/public/styles/screen.css, waskaweb/templates/start/help.mako, waskaweb/public/images/icons/extern_link.png:Added icons to the external links on the help page to make it more clear that the user leaves the application on this point. Tagged as Version 1.0 2008-05-20 Torsten Irlaender Fixed issue387 * waskaweb/templates/start/help.mako: Added link to an external FAQ for the CM at the PT-DLR site. 2008-05-20 Sascha L. Teichmann * Changes.txt: Adjusted for Beta 30 2008-05-16 Sascha L. Teichmann Fixed issue263 * waskaweb/lib/security.py: Try to encode password as ASCII. If this fails an invalid password is given and login fails. 2008-05-16 Torsten Irlaender Fixed issue357 (part3) * waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py: Use url_for function istead of ahrdcoding the url in the redirect method. Removed try except block which prevents redirects to work as expected. Redirects are relaized as exceptions in Pylons. Too general catching of exceptions lead to problemes. 2008-05-16 Sascha L. Teichmann Fixed issue357 (part 2) * waskaweb/controllers/CaseBase.py: Added a getNavigation() method which redirects to case overview ig no navigation exists. * waskaweb/controllers/case.py, waskaweb/controllers/rg_aid.py: use the new getNavigation() method. 2008-05-16 Sascha L. Teichmann Fixed issue297 * waskaweb/lib/security.py: Removed redundant call to method getDbName() * waskaweb/templates/casemanagement/downloadCSV.mako: Added warning about MS Excel * waskaweb/templates/casemanagement/overview.mako: Reordered export options. 2008-05-16 Torsten Irlaender Fixed issue200, issue136 * waskaweb/config/routing.py, waskaweb/controllers/case_overview.py, waskaweb/templates/main.mako: Searchoptions are now saved in a session and will be reused unitl the user selects the case overview from the mainmenu. In this case the session will be reset and a search is done with the default search options. 2008-05-15 Sascha L. Teichmann Fixed issue262 * waskaweb/model/case.py: Catch KeyErrors for none-existing parameters. 2008-05-15 Sascha L. Teichmann Fixed issue287 * waskaweb/lib/db.py: replaced '\' with '\\' in passwords. 2008-05-15 Sascha L. Teichmann Fixed issue357 * waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py: redirect to case overview if we don't have a session. 2008-05-15 Sascha L. Teichmann Fixed issue360 * waskaweb/lib/security.py: The user identity is only the browser signature. 2008-05-15 Torsten Irlaender Fixed issue351 * waskaweb/controllers/case.py, waskaweb/model/appointment.py, waskaweb/templates/appointments/show_body.mako: Changed behavior if the user enters no enddate. Now the enddate will be NULL in database. Changed the SQL-Statement. If no enddate ist given, than take startdatum as enddatum (coalesce). Further fixed an ISE when entering a date in a wrong format while editing a appointment. Fixed issue222: * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/lib/validators.py, waskaweb/templates/usersettings/change_password.mako: Fixed spelling and removed dupclicated columns. Changed error-message in case the user enters an unsafe password. Fixed issue379: * waskaweb/controllers/case_overview.py, waskaweb/templates/casemanagement/bundle_standin.mako: Usergroups are now loaded for selecting groups as standin. Modfied mako template to work with usergroups. 2008-05-14 Torsten Irlaender Fixed issue372 * waskaweb/lib/evaluation.py: Changed SQL query of Evaluation 7. It was a worng table referenced. Fixed issue374 * M waskaweb/lib/evaluation.py: Check if there will be a null-devision. If so set divisor to 1. 2008-05-14 Sascha L. Teichmann Fixed issue375 * waskaweb/templates/casemanagement/organisation.mako: Uses group name correctly now. 2008-05-13 Sascha L. Teichmann * waskaweb/templates/main_help.mako: New. Was missing. Caused an ISE when clicking on on-line help. 2008-05-13 Sascha L. Teichmann * waskaweb/controllers/case.py: Removed printing of new errors to Apache error log while saving a page. This spamed the the log a lot. 2008-05-13 Sascha L. Teichmann * waskaweb/lib/base.py: Added error logging when raising HTTPUnauthorized exceptions. 2008-05-13 Sascha L. Teichmann * waskaweb/controllers/case.py: Removed wrong check for changed cases in edit controller which pervented editing 'Unterstuezungsangebote'. * Changes.txt: Replaced tabs with spaces. 2008-05-09 Sascha L. Teichmann * waskaweb/lib/xmlimport.py: lower() incoming uuids to prevent mismatches. 2008-05-09 Torsten Irlaender Fixed issue355 * waskaweb/lib/renderer.py: Added submitbuttons to the top of each formular page Fix in listing the standin for standin * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/organisation.mako: The user who is standin now gets listest in the list of standin user if he is logged in as standin. * waskaweb/controllers/waska.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/model/appointment.py, waskaweb/templates/start/appointmentlist.mako, waskaweb/templates/start/start.mako: Appointment are now displayed one day longer. Changed the structure of appointments on the startpage. automatically generated reminders are now dislplayed exclusive in the automatic reminders section. Alle other appointments get listes in section "own appointments" 2008-05-08 Sascha L. Teichmann * waskaweb/lib/security.py: Use only the 'www.xxx.yyyy' part of 'www.xxx.yyy.zzz' IPv4 and the part before the last ':' in IPv6 addresses for session hi-jacking prevention. Attackers coming from the same subnet are not longer detected. :-/ 2008-05-08 Torsten Irlaender Changes.txt angepasst und das Datum der Beta geändert. Tag der Version verschoben. Fixed issue256 and a hotfix for the user and usergroup list when setting the editor or standing. * waskaweb/controllers/case.py, waskaweb/controllers/usersettings.py, waskaweb/lib/security.py: Set gid for session user. now we can filter out the usergroup in various listings. Fixed issue202 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/casemanagement/dialogs/bundle_noselection.mako, waskaweb/templates/casemanagement/dialogs/notificate_bundle_setstandin.mako, waskaweb/templates/casemanagement/downloadCSV.mako, waskaweb/templates/casemanagement/downloadXLS.mako, waskaweb/templates/casemanagement/downloadXML.mako: Unified breadcrumbs on bundled actions. 2008-05-07 Sascha L. Teichmann * Changes.txt: Adjusted to Beta 29 2008-05-07 Torsten Irlaender Fixed setting of standin * waskaweb/controllers/case.py: Implementation of usergroup broke the setting of editors. Fixed that. 2008-05-07 Torsten Irlaender issue361 * db_setup/install/01waska_tmpl.sql: adjusted formedtree to the model. 2008-05-07 Sascha L. Teichmann * waskaweb/controllers/administration.py: Reverted last change because of special case 'Auswertungsserver' * waskaweb/templates/administration/new_user.mako: Take special case 'Auswertungsserver' into account. 2008-05-07 Sascha L. Teichmann * waskaweb/controllers/administration.py: If logged in as 'adm' force new users to be 'Admin-KA's. 2008-05-07 Sascha L. Teichmann * waskaweb/templates/administration/new_user.mako: If logged in as 'adm' only allow creation of 'Admin-KA' users. 2008-05-06 Sascha L. Teichmann Fixed issue362 * waskaweb/lib/helpers.py: Added check for None before converting dates to strings. 2008-05-06 Sascha L. Teichmann Fixed issue359 * waskaweb/controllers/waska.py: Added checkRole to start(). Only logged in people should see the 'Schwarzes Brett'. * waskaweb/lib/security.py: Catch dbapi.OperationalError in checkRole decorator. In this case raise an Unauthorized exception because its likely in invalid login attempt. 2008-05-06 Sascha L. Teichmann * waskaweb/public/images/anonym.gif: New. Wasn't in version control but needed by application. 2008-05-06 Sascha L. Teichmann * waskaweb/model/case.py: Fixed int(None) error. 2008-05-06 Sascha L. Teichmann * waskaweb/lib/security.py: Catch dbapi.OperationalErrors at login. These are likely login failure. Is there a more precise way with DB API 2.0 to check this database independent? 2008-05-06 Sascha L. Teichmann * waskaweb/lib/base.py: Out commented log message on redirection if not logged in. This one spammed the error log file of Apache. 2008-05-06 Sascha L. Teichmann Fixed issue357: * waskaweb/controllers/CaseBase.py: check in _getFormNavigation() if case really exists. 2008-04-30 Torsten Irlaender Fixed issue94: * formed/waska-hilfetexte.xhtml, waskaweb/templates/casemanagement/help.mako: Added headers to the helptexts to bring them into a better relation to the forumular field. Changed Layout of the helpwindow. Removed "sponsors" 2008-04-30 Sascha L. Teichmann Fixed issue297 * waskaweb/controllers/case_overview.py, waskaweb/templates/casemanagement/downloadCSV.mako, waskaweb/templates/casemanagement/downloadXML.mako: Set HTTP header 'Content-Disposition=attachment; filename="fallakten-export.(xml|csv|xls)"' 2008-04-29 Torsten Irlaender Fixed issue346 * waskaweb/public/styles/color3.css, waskaweb/templates/start/start.mako: Fixed Syntax error in appointment overview. Changed style of border in the table_header to 1px (was 0.5pt) Fixed issue347 * waskaweb/controllers/case.py: Called noexistend attribute of the appointment class. Changed default end_date for appointments * waskaweb/model/appointment.py: If no enddate is submitted, then end_date is equal start_date. 2008-04-29 Sascha L. Teichmann * waskaweb/lib/xmlexport.py: Changed order of repeat groups to fit the XML schema. 2008-04-28 Torsten Irlaender Reduced length of printout * waskaweb/controllers/case.py, waskaweb/public/styles/print.css: Changed fontsize to 10pt/12pt. No pagebreaks after heading issue184: Detect change of the case (this is more a pseudofix :( ) * waskaweb/controllers/case.py, waskaweb/controllers/navigation.py, waskaweb/model/case.py: Compare saved caseid with provided case id in the controller. If the ids differ, open the new case. Fixed issue345 * waskaweb/templates/appointments/appointmentlist.mako, waskaweb/templates/casemanagement/appointmentlist.mako, waskaweb/templates/casemanagement/reminderlist.mako: Changed alt text of delete images to "delete" instead of "show" 2008-04-28 Sascha L. Teichmann Fixed issue305 part 2 (mako templates) * waskaweb/model/appointment.py: Removed formating from get(Start|End)Date. * waskaweb/templates/appointments/overview_body.mako, waskaweb/templates/appointments/remindlist_body.mako, waskaweb/templates/appointments/show_body.mako: Use helper functions to format the dates. 2008-04-25 Sascha L. Teichmann Fixed issue265 * formed/aid_plan_statement.html, formed/discretion_statement.html, formed/privacy_statement.html: Removed needless extra chars in style import. 2008-04-25 Sascha L. Teichmann Fixed issue305 * waskaweb/lib/helpers.py: New methods to format date/datetime because strftime dislikes dates before 1900. * waskaweb/controllers/appointment.py, waskaweb/controllers/case.py waskaweb/model/case.py, waskaweb/model/repeatgroup.py: Use the helper functions now to format date/datetime 2008-04-25 Torsten Irlaender Fixed issue61 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/main.mako, waskaweb/templates/start/help.mako, waskaweb/templates/start/responsible.mako, waskaweb/templates/usersettings/change_password.mako, waskaweb/templates/usersettings/show_settings.mako: Added breadcrumbs to pages in startmenu. Fixed issue131 * waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/lib/validators.py, waskaweb/templates/casemanagement/agency_overview.mako: Added encoding information in those files. Fixed issue112 * waskaweb/controllers/case.py, waskaweb/model/navigation.py: Modified function "getTreeItemByPageName" to return the treeitem which will be actually rendered. This way we can collect all headers for the formularpage Fixed issue223 * waskaweb/controllers/case.py, waskaweb/model/navigation.py: Fixed getAllItemsFunction. Modified printAll function to only render content only leafes. Headers are renderes for all items Fixed issue178 * waskaweb/controllers/case.py: Only proceed to next page after savining if the formular does not contain any errors. Else stay on the same page and show errors Fixed issue241 * formed/formedtree_web.xml: Fixed typo: Schulttest > Schultest 2008-04-24 Torsten Irlaender Fixed ISE when entering invalid data on usergroup editing * waskaweb/controllers/administration.py: Load usergroup in error case too. Fixed issue335 * waskaweb/controllers/administration.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Added lastname, firstname and login of the user to be deleted to the confimration dialog. Partially fixed issue259 * waskaweb/lib/evaluation.py: Fixed header of csv-files. Using the translated string here too. 2008-04-23 Frank Koormann Fixed issue325 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Typos in statement_explaination_ud fixed 2008-04-23 Sascha L. Teichmann Fixed issue248 * waskaweb/lib/pdfimporter.py: If 'Mutter' of 'Vater' is found in context of 'Formular1' we a v1.0 pdf containing 'Geburtsland_Mutter' and 'Geburtsland_Vater'. This detailed information is aggregated to the info if they are born in Germany. 2008-04-23 Torsten Irlaender Updated formedtree * formed/formedtree_web.xml: Replaces formedtree with a newer version Fixed bug when when changing into edit mode after selecting a page over the folder symbol in a fresh selected case. * waskaweb/controllers/navigation.py: Take either this stored page_id or submitted. Added note if the usergroup has no members * waskaweb/templates/administration/show_usergroup.mako: Fixed small bug which prevents the note beeing shown. 2008-04-22 Torsten Irlaender Implemented showing and editing of usergroups * waskaweb/controllers/administration.py: Added new controller for showing and editing usergroups * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: New translation strings for dialogs * waskaweb/lib/validators.py: Fixed EditUserGroup Validation * waskaweb/model/user.py: Added method for setting users in the groups. * waskaweb/templates/administration/dialogs/success_edit_usergroup.mako, waskaweb/templates/administration/edit_usergroup.mako, waskaweb/templates/administration/show_usergroup.mako: New. Added templates for showing and editing usergroups. Fixed issue304 * waskaweb/lib/evaluation.py: Fixed grouping of age classes. Fixed display of standard standin. * waskaweb/model/user.py: Fixed loading and setting values of the UserGroup. Fixed tableheader of standin in organsation * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/casemanagement/organisation.mako: Fixed naming of the tableheader. 2008-04-21 Sascha L. Teichmann Fix for issue301 * waskaweb/lib/helpers.py: Added function getUserLastname() * waskaweb/templates/main.mako: Only print the lastname if logged in as adm user. 2008-04-21 Torsten Irlaender Implemented usergroup listing * waskaweb/controllers/administration.py: Added method to show usergroups. The groups of each user (immutable groups) are filtered * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: Added new translation strings * waskaweb/templates/main.mako: Added link to the group overview. * waskaweb/templates/administration/overview_usergroups.mako: List usergroups. Implemented adding and deleting of usergroups waskaweb/controllers/administration.py * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: New translated string in the dialogs * waskaweb/lib/validators.py: New validator for adding new groups (groupname must not be empty) * waskaweb/model/user.py: Added Factory for creating and loading usergroups. Added delete method to the usergroup class. * waskaweb/templates/administration/overview_usergroups.mako: Give some info if no usergroups are present. * waskaweb/templates/administration/dialogs/confirm_deleteusergroup.mako, waskaweb/templates/administration/dialogs/failed_deletegroup_user.mako, waskaweb/templates/administration/dialogs/failed_new_usergroup.mako, waskaweb/templates/administration/dialogs/success_deletegroup_user.mako, waskaweb/templates/administration/dialogs/success_new_usergroup.mako, waskaweb/templates/administration/new_usergroup.mako: New. Added new dialogs for adding and deleting new usergroups. 2008-04-18 Torsten Irlaender Fixed error on evaluation in evaluation (Vermittlung) * waskaweb/lib/evaluation.py: Changed SQL statements. Adjusted the show user dialog in the administration to work with usergroups now. * waskaweb/controllers/administration.py, waskaweb/templates/administration/show_user.mako: Load usergroup instead of user. 2008-04-17 Sascha L. Teichmann * waskaweb/lib/excel.py: Extended limit to 32765 characters. 2008-04-17 Sascha L. Teichmann * waskaweb/lib/excel.py: Limit text in cells to 16383 characters. 2008-04-15 Torsten Irlaender Adopted dialogs for setting the standard standing to the new group standing policy * waskaweb/controllers/usersettings.py: Adjusted controllercode to load groups instead of users for standin. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Added note that the list now consists of groups too. * waskaweb/model/user.py: Added new classes for usergroup and usergrouplist, added sql statements. and fixed setStandin method. * waskaweb/templates/administration/show_user_body.mako, waskaweb/templates/usersettings/edit_standin.mako, waskaweb/templates/usersettings/show_settings.mako: Adjust templates. Listing os now grouplisting. Adjusted code of the organisation page to work with the new standin group policy * waskaweb/controllers/case.py: Load groups instead of users. * waskaweb/model/case.py: Renamed vars and methods in Standin to reflect that is handles groups not not users. * waskaweb/model/user.py: Implemented filtering for grouplists. * waskaweb/templates/casemanagement/organisation.mako: List groups instead of users. 2008-04-15 Torsten Irlaender Tagged Beta 28 issue285: Handle canceled cases * waskaweb/controllers/case.py, waskaweb/model/appointment.py, waskaweb/model/case.py, waskaweb/templates/casemanagement/digest.mako: If a case is cancled it will be handled in the same way like cases with finished aftercare. 2008-04-15 Sascha L. Teichmann * ChangeLog.txt: Tagged as Beta 28 2008-04-14 Sascha L. Teichmann * waskaweb/templates/casemanagement/downloadXML.mako: Open XML export in a separate window. 2008-04-14 Sascha L. Teichmann * Changes.txt: Adjusted to splitted evaluation result. 2008-04-14 Torsten Irlaender Added missing result of evaluation * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako: Added missing evaluation. It got lost during restructuring the evaluation results. 2008-04-12 Sascha L. Teichmann * waskaweb/templates/casemanagement/digest.mako: Fixed typos. 2008-04-10 Torsten Irlaender Fixed issue285. * waskaweb/controllers/case.py, waskaweb/model/appointment.py, waskaweb/model/case.py, waskaweb/templates/casemanagement/digest.mako: Changed text of the reminder dialogs. Fixed ISE after creating a new case * waskaweb/controllers/case.py: Added targeturl for the missing-statement dialog. Changed workflow of declining the statement (anonymisation) * waskaweb/controllers/statement.py, waskaweb/templates/casemanagement/main.mako: Selecting "no" in confirmation dialog for anonymisation opens the case again. Depending on the state of the privacy statement the missing statement will be opend or the case digest. Fixed issue288 * waskaweb/controllers/evaluate.py: Added new param to the evaluation method. Depending on this param a different resultpage will be rendered. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: New Translations for the resultpage. * waskaweb/templates/main.mako: Call evaluation with default for 1 resultpage. * waskaweb/templates/casemanagement/evaluation/evaluation_result_1.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_2.mako, waskaweb/templates/casemanagement/evaluation/evaluation_result_3.mako: New resultpages fpr the evaluation. * waskaweb/templates/casemanagement/evaluation_result.mako: Removed. Old resultpage. 2008-04-11 Sascha L. Teichmann * Changes.txt: Summarized changes since last release. 2008-04-10 Sascha L. Teichmann * waskaweb/controllers/case_overview.py, waskaweb/templates/casemanagement/downloadCSV.mako: Applied plain-csv-export_beta27.patch to server CSV case exports as plain text. 2008-04-10 Torsten Irlaender Changed creating of reminders depening on aftercasestate. * waskaweb/controllers/case.py: Added flag to indicate if a the aftercare of a case is finished. This flag determines about how the reminders will be displayed. * waskaweb/model/appointment.py: Changed to ReminderOverview Controller. Depending of the state of aftercare it will look for the latest date of each case of create a reminder if the date is older than the max savetime. * waskaweb/model/case.py: The stateobject now have information about state of aftercare and the latest date of the case. * waskaweb/templates/casemanagement/digest.mako: Modified dialogs in the digest giving information about last modification and the maxsavetime. Added form validtion to edit agency-settings. * waskaweb/controllers/administration.py: Fixed ISE when validation fails. * waskaweb/lib/validators.py: Added check that maxsavetime must not be null * waskaweb/templates/administration/edit_settings.mako: Errors in Formular are now displayed at the top of the page Added new validator for Int-values: * waskaweb/lib/validators.py: Addded an new Int-validator with the capability to check max and min value. This was actually copied from a newer version of formencode. Added date and time check for appointments. * waskaweb/lib/validators.py: Beside checking if the date is given in a correct format, we now check if the date is valid (e.g 45.12.2008). Checks for time also included. Removed default end-date from appointments * waskaweb/controllers/appointment.py, waskaweb/controllers/case.py, waskaweb/lib/validators.py, waskaweb/model/appointment.py: The enddate is not a manditroy field anymore. The field isn't prefilled in the formular. Default duration of an appointment with not endate/endtime is 1 day. This value will be inserted into the database. Reminders do not vanish anymore when start_date or end_date is exceeded. * waskaweb/model/appointment.py: Changed SQL statement for fetching reminders. Dates are irrelevant for reminders now! Just fetch all appointments which are classified as reminders Show type of appointment when viewing appointments details * waskaweb/templates/appointments/show_body.mako: Added type of the appointment to the template Do not display link to create a reminder for the admin * waskaweb/templates/casemanagement/main.mako: Added rolecheck for the quicklink to create a reminder for the case. Fix for error message on rangetest of int values. * waskaweb/lib/validators.py: Changed error messge in MaxMinInt-Validator 2008-04-08 Frank Koormann Improved fix for issue277 * waskaweb/model/navigation.py: Include the general checks on item's children into the has* methods. 2008-04-08 Torsten Irlaender Made Fix for issue277 more robust * waskaweb/model/navigation.py: Instead of hardcoding the pageid of the aidoffers to display this item as formular instead of a folder, we now check if the page has children which are enabled (visible). 2008-04-07 Sascha L. Teichmann * waskaweb/lib/excel.py: Fixed encoding problem. Now its generated in Unicode. 2008-04-07 Sascha L. Teichmann * waskaweb/lib/excel.py: Fixed naming in headers. 2008-04-07 Sascha L. Teichmann * waskaweb/controllers/case_overview.py, waskaweb/lib/excel.py: Fixed small ISEs while exporting as XLS. 2008-04-07 Sascha L. Teichmann * waskaweb/controllers/case_overview.py: Add code to download as XLS * waskaweb/model/case.py: Make case bundle exportable as XLS * waskaweb/templates/casemanagement/overview.mako: Added option to download case bundle as XLS. * waskaweb/templates/casemanagement/downloadXLS.mako: Dialog for XLS download. 2008-04-07 Sascha L. Teichmann * waskaweb/lib/csv.py: Fixed minor bug. * waskaweb/lib/excel.py: New. exports as cases as Excel-Spreadsheets. 2008-04-07 Torsten Irlaender Fixed issue269: * formed/privacy_statement.html: Changed text of the privacy statement bases on a new template from the DLR. Added additional information on lastaccesstime and remaining days until maxsavetime is reached to the case digest. * waskaweb/controllers/case.py: Load last-accesstime and maxsavetime * waskaweb/model/case.py: Added function which returns the remaining days until the max-savetime for the case is reached * waskaweb/model/appointment.py: Make use of the new daysToMaxSavetime function on calculation of the maxsavetime reminders. * waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/digest.mako: Added new box to display the max savetime an last-accesstime in the digest. Changed style for the additional information. * waskaweb/templates/appointments/edit_body.mako: Only show reminders for cm-users. (admin can not have any cases anyway) Added new discretion statement. Reorganised privacy statement. There is now a central page where all statements are listed. * waskaweb/controllers/statement.py: Added new methods to render the list of available statements and to print the new descretion statement. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: New translation string for the discretion statement. * waskaweb/model/agencysettings.py: Added new method to get the discretion statement. * waskaweb/model/case.py: Added new method to get a filled out version of the discretion statement for a case. * waskaweb/model/statement.py: Added new statement to the model. * waskaweb/templates/casemanagement/main.mako: Removed printPrivycyStatement-link from the PrivacySection and added new link to the list of available statements. * formed/discretion_statement.html: New. Default descretion statement. * waskaweb/templates/statement/list_statements.mako: New. Central page where all available statements are listed. Fixed issue277: * waskaweb/model/navigation.py: Added special Rule for the aiplan overview in the navigation tree. It is now displayed with a page-symbol instead of a folder symbol. 2008-04-06 Frank Koormann * waskaweb/lib/helpers.py (getKAName): We want the OU != WASKA. 2008-04-04 Torsten Irlaender Fixes and html escaping for appointments. * waskaweb/lib/filters.py: Added optional parameter "lenght" for the shorten function. * waskaweb/templates/appointments/overview_body.mako, waskaweb/templates/appointments/remindlist_body.mako: Added html-escaping. * waskaweb/templates/appointments/show.mako, waskaweb/templates/casemanagement/showAppointment.mako: The links to edit an appointment are now only shown for users who are allowed to edit the appointment (rolecheck). * waskaweb/templates/appointments/show_body.mako: Replace newlines with html-
for description. Implemented manual reminders for cases * waskaweb/controllers/case.py: Added methods to create a new reminder. Basically this is a clone of the new appointment controller, but this fillout some fields (name of the kid). * waskaweb/controllers/waska.py: Combine the remindlist with the maxsavetime list * waskaweb/model/appointment.py: Added new classes regarding to the remindlist. Added new attrubibute type which differs between normal appointments and reminders. Changed that all appointments which are after now() are displayed to a more softer rule that all appointments of today and in futuer are displayed. * waskaweb/templates/appointments/edit_body.mako: Added selection field to choose which kind of appointment will be created. * waskaweb/templates/casemanagement/main.mako: Added new link to the main menu which leads directly to the create appointment dialog. * waskaweb/templates/casemanagement/appointments.mako, waskaweb/templates/start/start.mako, waskaweb/templates/appointments/remindlist_body.mako, waskaweb/templates/casemanagement/reminderlist.mako, waskaweb/templates/start/remindlist.mako: Added new templates for the listing of appointments. Note, this whole thing is not as nice as it could be but it works. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: Added some translations 2008-04-03 Torsten Irlaender Implemented appointment list on startpage * waskaweb/config/routing.py: Changed route for showAppointment. It now takes an optional confirmed param (defaults to 1). * waskaweb/controllers/case.py: Added new decorator "checkPrivacyStatement" which could be used if some functions of a case will be calles from somewhere else than in the case (e.g appointments on startpage). Then we need to bound in the nag screen handling the privacy-statement. * waskaweb/controllers/waska.py: Load reminders and a united list of global and caseappointments. * waskaweb/model/appointment.py: Changed inheritance of the Appointment overviews. Added methods to set the appointmentslist or join two overview object to one. Furter added a sorting algorithm for sorting appointments in the overview. * waskaweb/controllers/appointment.py: Instanciate GlobalAppointmentOverview instead of AppointmentOverview. * waskaweb/templates/start/start.mako, waskaweb/templates/start/appointmentlist.mako: Added appointmentlists to the startpage. * waskaweb/templates/statement/dialogs/missing_statement_body.mako: Made this dialog a little bit more generic. The URL which will be called if the user selects that the state of the statement is further unclear, is now dynamic and provided through the c.targeturl param. Restructured loading of cases * waskaweb/controllers/case.py: Because loading of cases can now be triggerd from more places than selecting a case from within the case overview the code for loading a case is now seperated in a new function load_case. This function can be calles from other places (e.g checkprivacy-decorator) 2008-04-02 Torsten Irlaender Implemented adding of case-specific appointments * waskaweb/controllers/appointment.py: Added default value (htmlfill) for case_id * waskaweb/controllers/case.py: Added controller-functions to add a new appointment. * waskaweb/model/appointment.py: createNew-method of the factory now take an optional "case_id" parameter. * waskaweb/templates/appointments/edit_body.mako: Added hidden field for the case_id * waskaweb/templates/casemanagement/appointments.mako: url for adding new appointments is now dynamically generated (h.url_for) * waskaweb/templates/casemanagement/dialogs/success_create_appointment.mako, waskaweb/templates/casemanagement/newAppointment.mako: New. Dialogs for adding a new appointment. Success-dialog after the appointment was added. Implemented editing of case-specific appointments * waskaweb/controllers/case.py: Added new function to edit the appointment. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: Changed some strings in the editing dialogs. * waskaweb/model/appointment.py: ID of an appointment can not be set in the setData anymore (wasn't needed anyway). * waskaweb/templates/appointments/edit_body.mako: Added hiddenfield for the appointmentid (needed only for editing) * waskaweb/templates/casemanagement/dialogs/success_edit_appointment.mako, waskaweb/templates/appointments/edit.mako, waskaweb/templates/casemanagement/editAppointment.mako: New. Dialogs for editing an existing appointment. Success-dialog after editing. Changed sorting of appointments * waskaweb/model/appointment.py: Only appointments are listed in the overview page if either the startdate or enddate of the appointment is in the future. Otherwise the appointment doesn't get listet anymore. appointments are ordered ascending by the startdate. 2008-04-01 Torsten Irlaender Fixed issue45 * waskaweb/controllers/case.py, waskaweb/model/casedocument.py, waskaweb/model/data.py: Added new Proxy for nodecomponents. It takes the submitted dicionary of a formular submission. The Proxy only returns those elements which are also in the provided dicionary. This proxy is only used when creating a new case with a formular. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Small typo fix. Fixed issue252 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Shorten text Fixed issue259 * waskaweb/lib/evaluation.py: Added commentline to the exportfiles of each evaluation containing some additional information. 2008-03-31 Sascha L. Teichmann * waskaweb/controllers/case.py: Call XML import. * waskaweb/templates/casemanagement/upload.mako: Modified to show XML import dialog too. * waskaweb/templates/casemanagement/dialogs/failed_xml_import.mako, waskaweb/templates/casemanagement/dialogs/success_xml_import.mako: New. Shown after XML import. 2008-03-31 Sascha L. Teichmann * waskaweb/lib/xmlimport.py: New. XML import. 2008-03-31 Sascha L. Teichmann * waskaweb/model/case.py: Use new import. * waskaweb/lib/xmlimport.py -> xmlexport.py: Was named incorrectly. 2008-03-31 Sascha L. Teichmann * waskaweb/controllers/case_overview.py: Use correct dialog now. * waskaweb/lib/xmlimport.py: Don't use the anon views. 2008-03-31 Sascha L. Teichmann * waskaweb/lib/xml.py -> xmlimport.py: To avoid problems with xml.* imports. * waskaweb/model/case.py: use new import. 2008-03-31 Sascha L. Teichmann * waskaweb/controllers/case_overview.py: call XML import. * waskaweb/templates/casemanagement/overview.mako: Added option to export cases as XML. * waskaweb/templates/casemanagement/downloadXML.mako: New. Confirmation dialog for XML download. 2008-03-31 Sascha L. Teichmann * waskaweb/controllers/case_overview.py: Added code to call XML export. 2008-03-31 Sascha L. Teichmann * waskaweb/lib/xml.py: New. Contains XML export. 2008-03-31 Torsten Irlaender Fixed issue255 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/casemanagement/evaluation_result.mako: Added small note to the migration evaluation telling the user which criteria is important for the evalutation. Partially fixed issue258 * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/upload.mako: Added checkbox to enable direct anonymisation of an imported pdf-file. * waskaweb/templates/casemanagement/dialogs/failed_anonymize.mako, waskaweb/templates/casemanagement/dialogs/success_import_anon.mako: New. Added success dialog which is show after a case was imported and anonymized. Further added failed dialogs, which is generally showm if something goes wrong while importing pdf file Further Fixes for issue258 * waskaweb/templates/statement/dialogs/missing_statement.mako, waskaweb/templates/statement/dialogs/missing_statement_body.mako: This dialog now has 3 options to choose from: 1) The statement is accecpted, statement is declined, statement is still unclear. Separated the body of the dialog, so it can be used in other places. * waskaweb/controllers/case.py, waskaweb/templates/statement/edit.mako.old, waskaweb/templates/statement/edit.mako: Changed the dialog for setting the privacy statement after the case was already opend. This dialog is now the same as it the dialog shown when opening a case with missing statement. * waskaweb/controllers/statement.py: Changed headers in the statement dialog. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: Changed text in statement dialog 2008-03-28 Torsten Irlaender Fixed issue128 * waskaweb/lib/helpers.py: Iterate over SSL_CLIENT_S_DN in HTTP-Headers. string and take the second OU for the kaname. Partially Fixed issue259 * waskaweb/lib/evaluation.py, waskaweb/templates/casemanagement/evaluation_result.mako: Fixed CVS export of migration evalauation. Furter changed naming of the xported files. The filenames now fits to the numbering of the evaluations. Partially Fixed issue255 * waskaweb/lib/evaluation.py: Mothertounge is now the only criteria for migration background in evaluation. Fixed issue274 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/casemanagement/organisation.mako: Gendermainstreamed the namings on this page. Implemented editing of global appointments * waskaweb/controllers/appointment.py, waskaweb/templates/appointments/dialogs/success_edit_appointment.mako, waskaweb/templates/appointments/edit.mako: Added method to edit a global appointment. New successdialog. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/appointments/show.mako, waskaweb/templates/casemanagement/showAppointment.mako: Fixed some translation issues Implemented adding of new global appointments * waskaweb/controllers/appointment.py: Added methods to create global appointments. * waskaweb/lib/validators.py: Added new validator which checks if the given datestring is in a valid format. TODO: Check if the data and time is valid e.g 31.02.2008 or 25:78. * waskaweb/model/appointment.py: Some restructure of the inheritence of the appointment classes. Added SQL statements for creating and storing appointments. * waskaweb/templates/appointments/dialogs/success_create_appointment.mako: New. Successdialog for creating global appointments. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/appointments/new.mako, waskaweb/templates/appointments/edit_body.mako: The formular is in the same design like the rest. Error messages are displayed above the form and fields are hightlighted red in case of an error. Added translation string. 2008-03-27 Torsten Irlaender Partially fixed Issue268 * waskaweb/templates/administration/show_settings.mako: Show maxsavetime for cases in agency setting. Should this setting be editable? Fixed issue270 * waskaweb/controllers/case.py: Choosing "No" in confirmation dialog of the anonymisation of a case now opens the digest of a case. Additionally added the navigation to the confirmation dialog of open/close case and anonymisation. Fixed issue269 * formed/privacy_statement.html, waskaweb/model/statement.py: Changed text of the EE handling the maxsavetime of a case from months to days, as the savetime is entered in days in the agencysettings. 2008-03-26 Torsten Irlaender Listing of appointments now basically works * waskaweb/model/appointment.py: AppointmentOverview now works for global and case appointments. Appointments now have a getStart- getEndDate function which optionally takes a format string. * waskaweb/public/styles/all.css, waskaweb/templates/appointments/overview_body.mako: Worked on the layout of the appointment listing. * waskaweb/templates/casemanagement/appointmentlist.mako, waskaweb/templates/appointments/appointmentlist.mako: Call the correct controller methods. Implemented viewing of appointments * waskaweb/controllers/appointment.py waskaweb/controllers/case.py: Implemented loading an appointment. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: Added new translation strings. * waskaweb/model/appointment.py: Added Global- and CaseAppointmentFactory. * waskaweb/templates/appointments/show.mako, waskaweb/templates/appointments/show_body.mako, waskaweb/templates/casemanagement/showAppointment.mako: New templates for viewing a appointment. Implemented deleting of appointments * waskaweb/templates/appointments/dialogs/failed_delete_appointment.mako, waskaweb/templates/appointments/dialogs/success_delete_appointment.mako, waskaweb/templates/casemanagement/dialogs/confirm_delete_appointment.mako, waskaweb/templates/casemanagement/dialogs/failed_delete_appointment.mako, waskaweb/templates/casemanagement/dialogs/success_delete_appointment.mako: New. Added new confirmation and notification dialogs for deleting appointments. * waskaweb/config/routing.py: Added new route for deleting case appointments. * waskaweb/controllers/appointment.py waskaweb/controllers/case.py: Added new delete controller method. * waskaweb/model/appointment.py: Some changes on the AppointmentFactorys. Added delete method. * waskaweb/templates/appointments/appointmentlist.mako, waskaweb/templates/casemanagement/appointmentlist.mako: Only show the delete link if the user is allowed to delete appointments. 2008-03-25 Torsten Irlaender Remindlist for cases with expired max savetime * waskaweb/controllers/waska.py: Load MaxSaveTimeReminders. * waskaweb/model/case.py, waskaweb/templates/casemanagement/caselist.mako: Default return value of getAccessTime is the timestamp-object. Optionally a format string can be provided. Then the time is returned as string. * waskaweb/public/styles/all.css: Added new style for appointment listings. * waskaweb/templates/start/start.mako: Added reminder listing for cases with expired max savetime to the startpage. * waskaweb/model/appointment.py: New. Model for Appointment and Reminders. Preparation for the listing of appointments * waskaweb/controllers/appointment.py, waskaweb/controllers/case.py: Load appointment overview. * waskaweb/model/appointment.py: AppointmentOverview can now setup for the global appointments or if a caseid is provided for the case appointments. * waskaweb/templates/appointments/overview.mako, waskaweb/templates/appointments/overview_body.mako, waskaweb/templates/casemanagement/appointments.mako: Cleanup of the listing of appointments. overview_body can now be used to be inherited in other files. * waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: Reenabled appointments. * waskaweb/templates/appointments/appointmentlist.mako, waskaweb/templates/casemanagement/appointmentlist.mako: New. These files are inherited from the appointments/overview_body and include module specific (appointments, case) functionionality. 2008-03-20 Torsten Irlaender * Changes.txt: Added missing feature of saving the last access time. 2008-03-17 Torsten Irlaender * waskaweb/model/case.py: Small fix for casesearch. Display cases if kundennummer and name and vorname are null (in case of anonymized cases e.g). Before the case was listed if one of the above fields was None. * waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: Privacy field is only displayed for cm users. * waskaweb/controllers/case_overview.py: Fixed filtering for delete bundle actions. Only cases wich are anonymized or marked for deletion can be deleted. * waskaweb/model/statement.py: Removed None-Values in Privacy-statement. * waskaweb/templates/administration/overview_user.mako: Fixed syntax error on image title. titel > title * waskaweb/templates/administration/edit_user.mako: Fixed missing closing of a fieldset. 2008-03-17 Sascha L. Teichmann * waskaweb/templates/casemanagement/evaluation_result.mako, waskaweb/templates/usersettings/change_password.mako: Fixed HTML 2008-03-17 Sascha L. Teichmann * waskaweb/templates/administration/overview_user.mako: Fixed HTML titel -> title. 2008-03-13 Torsten Irlaender * Changes.txt: Added new features and improvements of the upcoming release. 2008-03-12 Sascha L. Teichmann * waskaweb/lib/csv.py: Removed redundant calculation of filling cells. 2008-03-12 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/controllers/case_overview.py, waskaweb/lib/helpers.py, waskaweb/model/case.py, waskaweb/templates/casemanagement/bundle_editor.mako, waskaweb/templates/casemanagement/bundle_standin.mako: Display placeholder "--/--" in case of cases with no first or lastname. Removed unneeded check of state in casemodel when deleting. Earlier check of the casebundele when deleting or marking if there is at least one case which can be deleted (valid state 4 or 5). Else show a dialog. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po waskaweb/i18n/waskaweb.pot: Added translated text for anonymizing the case directly. * waskaweb/templates/casemanagement/main.mako: Added link to anonymize the case directely in the privacy section. * waskaweb/config/routing.py: Added new roue for anonymize function * waskaweb/templates/casemanagement/dialogs/confirm_anonymize.mako, waskaweb/templates/casemanagement/dialogs/success_anonymize.mako: New. Confirmation and Success Dialog for anonymisation. * waskaweb/controllers/case.py, waskaweb/model/case.py: Added controllerfunction to anonymize the case * waskaweb/controllers/CaseBase.py, waskaweb/controllers/agency_overview.py, waskaweb/controllers/case_overview.py, waskaweb/templates/casemanagement/overview.mako: Added CSV-Export for bundled cases for the normal server (evaluation server aready includes CSV-export). Improved filtering of cases in the bundleAction method. * waskaweb/templates/casemanagement/downloadCSV.mako: Replaced hardcodes links with c-vars containing links. 2008-03-12 Sascha L. Teichmann * waskaweb/model/case.py: After anonymization all attachments of case are deleted. 2008-03-11 Torsten Irlaender * waskaweb/controllers/case_overview.py, waskaweb/model/case.py: Fixed call of anonymize function. Fix for selecting bundle of anonymize cases for deletion. 2008-03-11 Sascha L. Teichmann * waskaweb/model/case.py: Call db function to anonymize a case. 2008-03-11 Torsten Irlaender * M waskaweb/controllers/statement.py, M waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, M waskaweb/i18n/waskaweb.pot, M waskaweb/templates/casemanagement/main.mako, M waskaweb/templates/statement/edit.mako: The privacy statement can now be revoked. The privacy menu on the left side is now always displayed. Its content depends on the state of the privacy statement: Is not set yet -> set statement, print statement. Statement is signed -> revoke statement. * M waskaweb/controllers/statement.py, M waskaweb/model/case.py: Added anonymize function to the case-model. TODO: Implement SQL-based anonymize-function and call it! For now only the state of the case is set to "5", wich is the anonymized state. * M waskaweb/controllers/statement.py, M waskaweb/model/case.py, M waskaweb/templates/casemanagement/digest.mako, M waskaweb/templates/statement/dialogs/confirm.mako, M waskaweb/templates/statement/dialogs/ee_decline_success.mako, A waskaweb/templates/statement/dialogs/ee_accept_failed.mako, A waskaweb/templates/statement/dialogs/ee_accept_success.mako, A waskaweb/templates/statement/dialogs/ee_decline_failed.mako, M waskaweb/templates/statement/edit.mako: Added confirmation and notification dialogs into the process of setting the privacy statement. * M waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, M waskaweb/i18n/waskaweb.pot, M waskaweb/templates/casemanagement/caselist.mako: Reactivated the display of the last accesstime in the case overview for users with role "cm-ka" * M waskaweb/controllers/case_overview.py, M waskaweb/model/case.py, M waskaweb/templates/casemanagement/caselist.mako, M waskaweb/templates/casemanagement/overview.mako: Anonymized cases can now be displayed in the caseoverview. Anonymized cases can not be edited or view by the user. They are only listed to increase transperency of the case listing. Anonymized cases can be deleted without the need to me marked for deletion by a cm. 2008-03-10 Torsten Irlaender * M waskaweb/model/case.py: Fixed searching of cases. Cases with no kundennummer, name or vorname will be listed now 2008-03-10 Sascha L. Teichmann * waskaweb/lib/evaluation.py: Fixed 'Migrationshintergrund' 2008-03-09 Torsten Irlaender * Tagged Beta 25 * M waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, M waskaweb/model/case.py, M waskaweb/templates/casemanagement/caselist.mako: Changed footer to BETA 25. Commented out last access time and fixed display of the anonymized icon * M waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, M waskaweb/i18n/waskaweb.pot, M waskaweb/templates/casemanagement/evaluation_result.mako: Moved some static text from the evaluation_result page into po file. 2008-03-07 Torsten Irlaender * M waskaweb/public/styles/all.css, M waskaweb/i18n/de/LC_MESSAGES/waskaweb.po M waskaweb/templates/casemanagement/evaluation_result.mako, M waskaweb/lib/evaluation.py: Changed Layout of the evaluation. The evalauations are now grouped into different evaluation categories. (incm, all, finished). Simplify of the esq statement and renaming of some descriptions in result. * M waskaweb/model/case.py, M waskaweb/templates/casemanagement/caselist.mako: Cases which have no privacy statement are now signed with an on own icon in the admin view. Further the admin can not restore these cases (they are markded to be deleted) anymore. * M waskaweb/lib/evaluation.py, M waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, M waskaweb/templates/casemanagement/evaluation_result.mako: Changed naming in the first evaluation. Feedback (DLR) * M waskaweb/model/case.py, M waskaweb/templates/casemanagement/caselist.mako: Added last access time to the caselisting of cm-users. admins do not see the last access time yet as the time does not fit into the caselisting. TODO: Change Layout here. 2008-03-04 Torsten Irlaender Hotfix for evaluationserver * M waskaweb/model/user.py, M waskaweb/templates/administration/overview_user.mako: The "adm" user is not listed anymore in the user overview. Normally this did not happen anyway but on the evaluation Server the adm user also gets an entry in the user table and would therefor be listed. 2008-03-04 Torsten Irlaender * Tagged Beta 24 2008-03-03 Torsten Irlaender * waskaweb/controllers/case_overview.py: Fixed wrong import and use of AgencyBundle which should be a CaseBundle. * waskaweb/lib/evaluation.py: Commented out debugging output * waskaweb/controllers/agency_overview.py: Removed unused function 2008-03-03 Sascha L. Teichmann * waskaweb/lib/timelog.py: If no host is given timelog is deactivated. 2008-03-03 Sascha L. Teichmann * waskaweb/lib/casedata.py: removed imports. TODO: remove entire file because its not needed any more. * waskaweb/controllers/administration.py: Import the other Agency (the setting one). 2008-02-29 Benjamin Kirschner * waskaweb/controllers/agency_overview.py waskaweb/i18n/de/LC_MESSAGES/waskaweb.po waskaweb/i18n/waskaweb.pot waskaweb/public/styles/color3.css waskaweb/public/styles/screen.css waskaweb/templates/casemanagement/agency_overview.mako waskaweb/templates/casemanagement/downloadCSV.mako: Changed Dialog in CSV Export. 2008-02-29 Torsten Irlaender * waskaweb/templates/casemanagement/upload.mako: Commented out XML-Import as it is not fully functional yet. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po waskaweb/lib/evaluation.py: Added "Sonstige" to "Förderbedarf" evaluation. Changed label of this evaluation. 2008-02-28 Sascha L. Teichmann * waskaweb/lib/csv.py: Added. exports list of cases as CSV to a given stream. 2008-02-28 Torsten Irlaender * waskaweb/controllers/agency_overview.py, waskaweb/model/agency.py, waskaweb/templates/casemanagement/agency_overview.mako, waskaweb/templates/casemanagement/dialogs/failed_delete_agency.mako, waskaweb/templates/casemanagement/dialogs/failed_export_agency.mako, waskaweb/templates/casemanagement/dialogs/notificate_bundle_delete_agency.mako, waskaweb/templates/casemanagement/dialogs/notificate_bundle_export_agency.mako, waskaweb/templates/casemanagement/dialogs/success_delete_agency.mako, waskaweb/templates/casemanagement/dialogs/success_export_agency.mako, waskaweb/templates/casemanagement/downloadCSV.mako: Added dialogs for CSV export of agencys for the evaluation server. * waskaweb/lib/evaluation.py: Evaluation "Förderbedarf" is now perfomed on the base of the selected fields in 4.2, and not over the various "Unterstützungsangebote". * waskaweb/controllers/agency_overview.py, waskaweb/controllers/evaluate.py, waskaweb/model/agency.py, waskaweb/model/case.py, waskaweb/templates/casemanagement/downloadCSV.mako: Implemented CSV export of the cases. Functionality for export ist implemented in CaseBundle. 2008-02-27 Torsten Irlaender * waskaweb/controllers/evaluate.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/lib/evaluation.py, waskaweb/templates/casemanagement/evaluation_result.mako: Fixed issue 239. Modified evaluation to correctly handle fields where no information is given on which the evaluation could work. These cases are now displayed in the category "Keine Angabe" in each evaluation section. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: Rebuild of the langauge-files after merging the branches. * development_wsgi.ini: On default the server is not meant to be driven as evaluation server. * waskaweb/lib/evaluation.py, waskaweb/templates/main.mako: Reformatting code 2008-02-26 Torsten Irlaender * waskaweb/controllers/evaluate.py: Allow pb_ka users to do evaluations on the cases. * waskaweb/lib/evaluation.py: Fixed issue234.Fixed evaluation 6 and 7. Now only cases which are in case-management and are finished (aborted or regular end) are evaluated. Fixed issue issue229. Evaluation 10. Return "k.A" instead of "None" if there is no data for the length of the CM in weeks. 2008-02-22 Torsten Irlaender work. These cases are now displayed in the category "Keine Angabe" in each evaluation section. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: Rebuild of the langauge-files after merging the branches. * development_wsgi.ini: On default the server is not meant to be driven as evaluation server. * waskaweb/lib/evaluation.py, waskaweb/templates/main.mako: Reformatting code 2008-02-26 Torsten Irlaender * waskaweb/controllers/evaluate.py: Allow pb_ka users to do evaluations on the cases. * waskaweb/lib/evaluation.py: Fixed issue234.Fixed evaluation 6 and 7. Now only cases which are in case-management and are finished (aborted or regular end) are evaluated. Fixed issue issue229. Evaluation 10. Return "k.A" instead of "None" if there is no data for the length of the CM in weeks. 2008-02-22 Torsten Irlaender * waskaweb/controllers/agency_overview.py, waskaweb/templates/casemanagement/agencylist.mako, waskaweb/model/agency.py: Cases of one agency can now be deleted from the overview page * waskaweb/config/routing.py, waskaweb/controllers/agency_overview.py, waskaweb/controllers/case_overview.py, waskaweb/lib/validators.py, waskaweb/model/agency.py, waskaweb/templates/casemanagement/agency_overview.mako, waskaweb/templates/casemanagement/agencylist.mako: Implemented bundled deletion for agencys on the evealutation server. This will delete all cases of a particular agency. 2008-02-21 Torsten Irlaender * waskaweb/controllers/usersettings.py: Added new role "pb_ka" to the checkrole decorators. * waskaweb/model/agencysettings.py, waskaweb/model/agency.py, waskaweb/model/case.py: Renamed agency.py into agencysettings. Fixed references to the new file in case.py * waskaweb/controllers/agency_overview.py, waskaweb/templates/casemanagement/agencylist.mako, waskaweb/model/agency.py: Listing of agencys on the evalutation server is build from the database. 2008-02-20 Frank Koormann Bugfix for issue242 * waskaweb/lib/helpers.py: import sys, (slashSplit): New function slashSplit to splitDN-string, (getKAName): Use slashSplit() and return empty string on failure 2008-02-18 Torsten Irlaender * development_wsgi.ini, waskaweb/controllers/administration.py, waskaweb/templates/administration/new_user.mako: Modified create_user templates. Depended if this server is an evalutation server or not the options which type of user (role) can be created differ. 2008-02-15 Torsten Irlaender * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/main.mako, waskaweb/controllers/agency_overview.py, waskaweb/templates/casemanagement/agency_overview.mako, waskaweb/templates/casemanagement/agencylist.mako, waskaweb/tests/functional/test_agency_overview.py: Created new controller and templates for the "case-overview" on the evalutation server. The "case-overview" is more a listing of all agencys which submitted casesdata for evaluation. Startet to setup the templates for the new role "pb_ka" 2008-02-15 Torsten Irlaender * waskaweb/templates/administration/edit_settings.mako, waskaweb/templates/administration/show_settings.mako: Commented out the max savetime for the cases in agency settings. 2008-02-13 Torsten Irlaender * development.ini: Added new variabled to check if the current server instance is used as an evaluation server. 2 * waskaweb/controllers/agency_overview.py, waskaweb/templates/casemanagement/agencylist.mako, waskaweb/model/agency.py: Cases of one agency can now be deleted from the overview page * waskaweb/config/routing.py, waskaweb/controllers/agency_overview.py, waskaweb/controllers/case_overview.py, waskaweb/lib/validators.py, waskaweb/model/agency.py, waskaweb/templates/casemanagement/agency_overview.mako, waskaweb/templates/casemanagement/agencylist.mako: Implemented bundled deletion for agencys on the evealutation server. This will delete all cases of a particular agency. 2008-02-21 Torsten Irlaender * waskaweb/controllers/usersettings.py: Added new role "pb_ka" to the checkrole decorators. * waskaweb/model/agencysettings.py, waskaweb/model/agency.py, waskaweb/model/case.py: Renamed agency.py into agencysettings. Fixed references to the new file in case.py * waskaweb/controllers/agency_overview.py, waskaweb/templates/casemanagement/agencylist.mako, waskaweb/model/agency.py: Listing of agencys on the evalutation server is build from the database. 2008-02-20 Frank Koormann Bugfix for issue242 * waskaweb/lib/helpers.py: import sys, (slashSplit): New function slashSplit to splitDN-string, (getKAName): Use slashSplit() and return empty string on failure 2008-02-18 Torsten Irlaender * development_wsgi.ini, waskaweb/controllers/administration.py, waskaweb/templates/administration/new_user.mako: Modified create_user templates. Depended if this server is an evalutation server or not the options which type of user (role) can be created differ. 2008-02-15 Torsten Irlaender * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/main.mako, waskaweb/controllers/agency_overview.py, waskaweb/templates/casemanagement/agency_overview.mako, waskaweb/templates/casemanagement/agencylist.mako, waskaweb/tests/functional/test_agency_overview.py: Created new controller and templates for the "case-overview" on the evalutation server. The "case-overview" is more a listing of all agencys which submitted casesdata for evaluation. Startet to setup the templates for the new role "pb_ka" 2008-02-15 Torsten Irlaender * waskaweb/templates/administration/edit_settings.mako, waskaweb/templates/administration/show_settings.mako: Commented out the max savetime for the cases in agency settings. 2008-02-13 Torsten Irlaender * development.ini: Added new variabled to check if the current server instance is used as an evaluation server. 2008-02-11 Benjamin Kirschner * waskaweb/templates/casemanagement/upload.mako waskaweb/templates/usersettings/change_password.mako waskaweb/templates/documents/case_new.mako waskaweb/templates/documents/global_upload.mako templates/casemanagement/bundle_standin.mako waskaweb/public/styles/screen.css waskaweb/controllers/case.py: changed format, added sentence * waskaweb/templates/administration/overview_user.mako: added role to overview * waskaweb/templates/administration/edit_settings.mako: added explanations and changed format * waskaweb/model/navigation.py: changed encoding to utf-8 2008-02-08 Benjamin Kirschner * waskaweb/public/images/icons/delete_grey.gif waskaweb/public/images/icons/delete_red.gif waskaweb/public/images/icons/done_grey.gif waskaweb/public/images/icons/editor_grey.gif waskaweb/public/images/icons/form_help.png waskaweb/public/images/icons/recover_red.gif waskaweb/public/images/icons/stand-in_grey.gif waskaweb/public/images/icons/view_red.gif waskaweb/public/images/icons/work_in_progress_grey.gif: changes on icons 2008-02-07 Benjamin Kirschner * waskaweb/controllers/rg_aid.py waskaweb/i18n/de/LC_MESSAGES/waskaweb.po waskaweb/i18n/waskaweb.pot: Consistent dialogs in rg_aid and the po file. * A waskaweb/templates/casemanagement/dialogs/failed_seteditor.mako A waskaweb/templates/casemanagement/dialogs/success_delete_admin.mako A waskaweb/templates/casemanagement/dialogs/success_markdelete.mako waskaweb/templates/casemanagement/dialogs/notificate_bundle_seteditor.mako waskaweb/templates/casemanagement/dialogs/notificate_bundle_setstandin.mako waskaweb/controllers/case_overview.py waskaweb/controllers/statement.py: Added several new dialogs. * waskaweb/public/images/np_arrow.gif waskaweb/public/styles/color3.css: Changed font-color to 252525, black was a bit hard. Changed table and block highlighting to softer grey. * waskaweb/templates/casemanagement/upload.mako waskaweb/templates/documents/case_new.mako waskaweb/templates/documents/global_upload.mako waskaweb/templates/usersettings/change_password.mako: Changed format of the content fields. These changes will lead to a consistent workflow for waska-actions like changing password or set standin. * waskaweb/public/styles/screen.css: Small fix on layout (width and height of content and header) * waskaweb/public/styles/color3.css: highlighting of not allowed / dealt with actions/cases * waskaweb/templates/casemanagement/bundle_standin.mako waskaweb/templates/casemanagement/bundle_editor.mako waskaweb/templates/casemanagement/bundle_standin.mako: changed sequence of first and last.name * waskaweb/templates/administration/edit_user.mako waskaweb/lib/validators.py i18n/de/LC_MESSAGES/waskaweb.po: Login changed to "Anmeldekennung" * waskaweb/controllers/case_overview.py: "Delete feedback" when user is not allowed to delete a case that is not "markdelete" * waskaweb/public/styles/all.css waskaweb/templates/usersettings/change_password.mako: improved layout of new "upload" and "change pw" pages 2008-02-07 Torsten Irlaender * ChangeLog.txt, Changes.txt, NEWS: Added notes for Beta 21 to changes.txt. Removed NEWS file. 2008-02-04 Torsten Irlaender Tages Beta 21 Benni also added a fix for an error which prevents the release of beta 20. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed footer to Beta 21 2008-02-04 Torsten Irlaender Tagged Beta 20 * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Changed footer to Beta 20 2008-02-04 Benjamin Kirschner * waskaweb/controllers/administration.py waskaweb/i18n/de/LC_MESSAGES/waskaweb.po waskaweb/i18n/waskaweb.pot: Small fix on new exception dialog. Fix on typos. * waskaweb/templates/administration/edit_user.mako: Added table format * waskaweb/controllers/administration.py A waskaweb/templates/administration/dialogs/success_edit_user.mako: Added dialog to "Benutzer bearbeiten". After pressing the save button a dialog with the information, that the settings have been saved, pops up. * waskaweb/controllers/administration.py A waskaweb/templates/administration/dialogs/success_edit_agency.mako: Added dialog to "Agentureinstellungen bearbeiten". After pressing the save button a dialog with the information, that the settings have been saved, pops up. * waskaweb/controllers/usersettings.py A waskaweb/templates/administration/success_edit_user.mako waskaweb/i18n/de/LC_MESSAGES/waskaweb.po waskaweb/i18n/waskaweb.pot: Added dialog to "Vertretung (Standard-Vertretung) setzen". After pressing the save button a success dialog pops up. 2008-02-03 Torsten Irlaender * waskaweb/controllers/administration.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/administration/dialogs/failed_new_user.mako: Fixed issue190. Database exception when creating a user with a login name which already exists in the database is now caught and a error dialog is displayed. 2008-02-03 Torsten Irlaender * waskaweb/templates/administration/overview_user.mako: The currently logged in user will not see the delete icon for his user in the user overview. This prevents the admin for deleting himself. * waskaweb/controllers/administration.py: Added check in the controller to make sure that the user can not delete himself. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/administration/dialogs/failed_delete_user.mako: Added new error dialof which pops up if the user tries to delete himself (by crafting and delete-url by hand e.g) 2008-02-01 Torsten Irlaender Tagged BETA 19 * waskaweb/model/case.py, waskaweb/model/repeatgroup.py: Added "uuid" paramater to create_ds functions. Modified SQL-statement. All new datasets will be generated with an unique uuid. This will make it possible to identify each single datases across many KAs, which is needed to implement the update functionallity for im- and export of XML. uuid defaults to "None" which means generating a new uuid for the dataset. If an uuid is given (import of a exported case) there will be some logic in the futuer which checks if we need to create a new dataset with the given uuid or update an existing dataset. * waskaweb/templates/casemanagement/formular.mako: Reactivated the printfunction for the aidplan in aid overview. Seems it got lost while restructuring the aidoverview. 2008-02-01 Benjamin Kirschner * waskaweb/controllers/case.py waskaweb/model/navigation.py: torstens changes on print version. formulars are now serialized correctly. Headers of the formulars are not correct, but it is an improvment to the former version. * waskaweb/public/styles/print.css: Small changes on print version. In IE7 the print version looks quite good. Every formular starts with a new page. FF has some problem because of floatings. I have to improve the print version in FF. Print overview page not finished yet. 2008-01-31 Torsten Irlaender * waskaweb/controllers/case_overview.py, waskaweb/templates/casemanagement/overview: Added selectionbox for admin users to search for cases of a particular user. * waskaweb/controllers/case.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/organisation.mako: Changed naming along the workflow of opening and closing cases. Moved the option to open and close a case to the organisation so that it isn't so exposed in the main-menu. Added note that openening and closing of a case isn't related to finishing a case in the meaning of Case-Management. Added Notification Dialog on succsessfully reopening a case. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/lib/renderer.py, waskaweb/public/styles/all.css: Better use of space in the aid-overview. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot waskaweb/model/case.py, waskaweb/templates/casemanagement/digest.mako: Added additional telephonenumbers to the digest. Added clickable email-addresses. 2008-01-30 Benjamin Kirschner * waskaweb/controllers/case.py: Added user feedback to dialog "restore" * waskaweb/public/styles/screen.css: Small fix on grey box: * waskaweb/controllers/case.py A waskaweb/templates/casemanagement/dialogs/success_delete.mako A waskaweb/templates/casemanagement/dialogs/success_delete_cm.mako A waskaweb/templates/casemanagement/dialogs/success_restore.mako waskaweb/i18n/de/LC_MESSAGES/waskaweb.po waskaweb/i18n/waskaweb.pot: Added user feedback to "delete case" and "restore case" in case_overview. 2008-01-30 Benjamin Kirschner * waskaweb/public/styles/screen.css waskaweb/public/styles/color3.css waskaweb/templates/statement/edit.mako: Small format changes on text. Important information is now in grey box. * waskaweb/controllers/case.py: Fix on ISE when importing none case-pdf. * waskaweb/public/styles/screen.css waskaweb/public/styles/color3.css waskaweb/i18n/de/LC_MESSAGES/waskaweb.po waskaweb/i18n/waskaweb.pot waskaweb/templates/casemanagement/digest.mako: Added "parent" information to overview. This information was requested by casemanagers during beta. 2008-01-30 Torsten Irlaender * waskaweb/templates/usersettings/edit_standin.mako, waskaweb/templates/administration/show_user_body.mako, waskaweb/templates/casemanagement/caselist.mako: Fixed Issue221. Changed ordering of first and lastname in standin-dialog of the usersettings and case overview. * waskaweb/lib/helpers.py, waskaweb/templates/login.mako: Added function which extracts the name of the ka from the client certificate. The name is now displayed on the loginscreen * waskaweb/model/case.py: Added further informations to the case digest. Added contact information of the parents of the kid. Changed SQL-query. Results are now fetched by name and not by index. This makes the query more robust. * controllers/rg_aid.py: Fixed issue33. Deleting aid: If the user clicks not in the confirmation dialog, waska stys now in edit mode. Dialog is now displayed in the correct context: case mode not start mode * formed/formedtree_web.xml: Fixed f05 of issue87: Setting some fieldssets to invisible (actvities of the juvenile) * waskaweb/templates/casemanagement/digest.mako: Added links to email-address of the contacts * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/casemanagement/bundle_editor.mako, waskaweb/templates/casemanagement/bundle_standin.mako: Fixed issue partially issue202. Added breadcrumbs to the confirmation dialog of of bundled actions. * waskaweb/templates/casemanagement/dialogs/notificate_bundle_seteditor.mako, waskaweb/templates/casemanagement/dialogs/notificate_bundle_setstandin.mako: Navipath now looks the same as in other dialogs now. 2008-01-29 Sascha L. Teichmann * waskaweb/lib/base.py: Fix for issue227. The import of the needed HTTPUnauthorized was hashed. Why? 2008-01-29 Torsten Irlaender * waskaweb/lib/validators.py, waskaweb/templates/usersettings/change_password.mako: Fixed issue222: Partially missing and wrong wording in errordialog on setting userpassword. 2008-01-29 Sascha L. Teichmann * development_wsgi.ini: Configured time logger. * waskaweb/lib/app_globals.py: Feef time logger from config * waskaweb/lib/base.py: Probe time when calling controller. * waskaweb/lib/timelog.py: New the time logger. 2008-01-29 Torsten Irlaender * waskaweb/model/case.py: Removed debugging output. Changed "print"-statements so that they print to stderr instead of stdout. * waskaweb/templates/administration/edit_user.mako: Added translation matrix for error-messages. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/model/case.py, waskaweb/templates/casemanagement/digest.mako: Added mobile telephone to the case-digest. * waskaweb/templates/casemanagement/organisation.mako: Changed order of first and lastname in the userlisting to lastname, firstname. * waskaweb/controllers/rg_aid.py, waskaweb/model/repeatgroup.py: Refactored model of the repeat group which should make them more flexible and readable. Added Factory class to load and create new repeat groups. * waskaweb/model/navigation.py: Renamed "Kontaktdaten" to "Externe Ansprechpartner" in formular outline. 2008-01-28 Benjamin Kirschner * waskaweb/templates/administration/new_user.mako: Errors are not longer displayed with the exclamation mark but with highlighting of the input fields and red colored label text. 2008-01-28 Benjamin Kirschner * waskaweb/templates/casemanagement/organisation.mako: Added " " to table because ie doesn't display table borders without content * waskaweb/templates/start/help.mako: Added small text which guides to waska-anwender. * waskaweb/controllers/administration.py waskaweb/i18n/de/LC_MESSAGES/waskaweb.po waskaweb/i18n/waskaweb.pot waskaweb/templates/administration/dialogs/notificate_delete_user_helper.mako: Changed dialog icon (consistent to the other dialogs) and added two different msgs so users recognize the difference between "Fallakten übertragen - Nutzer löschen" and "Fallakten übertragen - Weitere Fallakten vorhanden". 2008-01-28 Benjamin Kirschner * waskaweb/lib/renderer.py waskaweb/templates/usersettings/change_password_login.mako waskaweb/templates/usersettings/change_password.mako waskaweb/templates/administration/edit_user.mako waskaweb/public/styles/color3.css: Errors are not longer displayed with the exclamation mark but with highlighting of the input fields and red colored label text. * waskaweb/templates/casemanagement/overview.mako: Changed search according to issue220 to method "post" * waskaweb/templates/documents/case_overview.mako: Only cm_ka is able to delete case related documents. Delete function isn't displayed to admin_ka anymore. 2008-01-28 Sascha L. Teichmann * Changes.txt: Summarized changes from Beta 14 to 18. 2008-01-25 Torsten Irlaender * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Tagged Beta 18 2008-01-25 Benjamin Kirschner * waskaweb/controllers/administration.py waskaweb/i18n/de/LC_MESSAGES/waskaweb.po waskaweb/i18n/waskaweb.pot: Fixed Dialog "Delete User and give his cases to another cm" Added msg strings to the controller and the po file. * waskaweb/controllers/document.py waskaweb/controllers/usersettings.py: Damaged msg strings (used wrong encoding) fixed * waskaweb/templates/dialogs/alert.mako waskaweb/templates/dialogs/confirm.mako waskaweb/templates/dialogs/failed.mako waskaweb/templates/dialogs/notification.mako waskaweb/templates/dialogs/success.mako: Added escaping (F.NA, h) to the dialogs. 2008-01-24 Torsten Irlaender * waskaweb/controllers/statement.py, waskaweb/model/case.py: Cases are now marked as deleteable if the user declines the privacy statement. 2008-01-24 Torsten Irlaender * waskaweb/controllers/case_overview.py, waskaweb/model/case.py, waskaweb/templates/casemanagement/caselist.mako, waskaweb/templates/casemanagement/overview.mako: Enhanced Casesearch. Added more options for user to define their search. They can now filter "open", "closed" and "outstanding delete" cases. And they can choose if the want to see their own or standin cases. All option can be comibined in various ways. 2008-01-23 Benjamin Kirschner * waskaweb/lib/helpers.py: Added "CaseShort" to cut strings e.g. in caselist.mako (first_name, last_name) and infofield. 2008-01-22 Torsten Irlaender * waskaweb/controllers/case_overview.py, waskaweb/model/case.py, waskaweb/templates/casemanagement/overview.mako: Enhanced cases search: Default behavior is now to filter out closed cases. Added checkbox to showup closed cases. The users search is now redisplayed on the result page. 2008-01-21 Torsten Irlaender * waskaweb/controllers/case_overview.py, waskaweb/model/case.py, waskaweb/templates/casemanagement/overview.mako: Implemented bundled delete action for cm_ka-users on the case overview page. All cases won't be actually delted but get marked to be deleted by the administration. 2008-01-18 Torsten Irlaender Added new workflow of cases. Cases can now have different states: - Open (1) - Closed (2) - Outstanding delte (3) - Outstanding anonymise (4) - Anonymised (5) * waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py, waskaweb/controllers/case_overview.py: Added new controller function to switch between the different states of a case. Casebundle actions: Non deleteable cases (state != 3) are filtered out in the casebundle. * waskaweb/config/routing.py: Added routes for the new controllers. * waskaweb/model/agency.py, waskaweb/model/case.py: Added new function to agency to get the max savetime im days for a the cases. Changed SQL Statements in model case to fetch the bearbeiter_id in the overview. Adjusted factory methods to build cases with the bearbeiter_id. getEditor() method in case.py now really returns a UserObject instead of an user_id. Added new class State which represents the State of a case. Added methods to Case and SessionCase to get the current state. * waskaweb/templates/administration/edit_settings.mako, waskaweb/templates/administration/show_settings.mako: Added new fields to show and edit max savetime in agency configuration. * waskaweb/templates/casemanagement/bundle_standin.mako, waskaweb/templates/casemanagement/caselist.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/overview.mako: Enhanced case overview pages: Added icons for action and state-information. Admins now see the (shorten) name of the editor of each case. Added new links into the main menu to open/close the case * waskaweb/public/styles/all.css: Added new style for the status column of the case overview. * waskaweb/public/images/icons/delete_red.gif, waskaweb/public/images/icons/done_grey.gif, waskaweb/public/images/icons/editor_grey.gif, waskaweb/public/images/icons/recover_red.gif, waskaweb/public/images/icons/stand-in_grey.gif, waskaweb/public/images/icons/view_red.gif, waskaweb/public/images/icons/work_in_progress_grey.gif, waskaweb/templates/casemanagement/dialogs/confirm_close.mako, waskaweb/templates/casemanagement/dialogs/confirm_delete.mako, waskaweb/templates/casemanagement/dialogs/confirm_open.mako, waskaweb/templates/casemanagement/dialogs/confirm_restore.mako: Added icons for state and action in case overview. Added new confirmation dialogs which pop up if the user wants to change to a different state. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: Added new translatet strings for the new actions and states. * NEWS: Added NEWS files which should contain high level information of new Features and functions for endusers of waska. 2008-01-18 Sascha L. Teichmann * waskaweb/model/expr.py: changed copyright to 2008 2008-01-18 Benjamin Kirschner * waskaweb/templates/dialogs/failed.mako waskaweb/templates/dialogs/success.mako waskaweb/templates/documents/dialogs/failed_attachment.mako waskaweb/templates/documents/dialogs/failed_document.mako waskaweb/templates/documents/dialogs/success_attachment.mako waskaweb/templates/documents/dialogs/success_documents.mako waskaweb/controllers/document.py waskaweb/controllers/statement.py: Added dialog for document and attachment upload. Users get a direct feedback if the document/attachment has been uploaded or not. 2008-01-14 Torsten Irlaender * waskaweb/model/case.py: Fix for issue 216 2007-01-14 Sascha L. Teichmann * waskaweb/model/case.py: Fix for issue 209 2007-01-14 Sascha L. Teichmann * Changes.txt: New. Userfriendly summary of changes. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Tagged as Beta 14 2008-01-11 Torsten Irlaender * waskaweb/public/styles/color3.css, waskaweb/public/styles/ie6.css, waskaweb/public/styles/screen.css: Fixed rendering error of teh formular structure in IE6+7 2008-01-11 Torsten Irlaender * waskaweb/model/case.py: Added kundennummer to case oobject when selecting a case from the overview. Fixed issue 212 2008-01-11 Sascha L. Teichmann * waskaweb/model/case.py: convert kundennr to UTF-8. Fix for 211 2008-01-11 Sascha L. Teichmann * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Tagged as Beta 13 2008-01-11 Torsten Irlaender * waskaweb/i18n/de/LC, SSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/public/styles/screen.css, waskaweb/templates/administration/new_user_result.mako: Fixed issue 198: Login and Passwort of new created user is now better visible. Fixed typo in po file. 2008-01-10 Torsten Irlaender * waskaweb/controllers/rg_aid.py, waskaweb/lib/renderer.py, waskaweb/model/repeatgroup.py: Fixed issue 207. "Unterstützungsangebote" could not be deleted because the renderer rendered a wrong id for deletion. This error was introduced by the refactoring. 2008-01-10 Sascha L. Teichmann * waskaweb/controllers/navigation.py: If a new selected case as toggled in the first time before selecting a page, the session has no parent page and it tried to toggle a not 'bookmarked' page -> 404. Now this case is caught. Fix for issue 206. TODO: Using session for this kind of bookmarking is bad!!! Use the toggle link instead to code the currently displayed page. 2008-01-10 Sascha L. Teichmann * waskaweb/model/case.py: A field in SQL statement was missing. Sorting by lastname is now stable against None values. Fix for issue 205. 2008-01-10 Torsten Irlaender * waskaweb/lib/helpers.py: Fixed 404 when trying to print out the whole formular. 2008-01-10 Torsten Irlaender * waskaweb/model/case.py: Filtering cases for cm for which the privacy statement is is not set and will not be set in the future. Admin can see the cases. 2008-01-10 Sascha L. Teichmann * waskaweb/controllers/administration.py: Revert loop to edit_settings. I consider this a usability bug! Remember: the forms for uploading the privacy and the aid plan statement are reachable over this page. 2008-01-10 Torsten Irlaender * waskaweb/controllers/case_overview: Fixed issue 201. ISE on setting the editor for bundeled cases in the case overview. 2008-01-10 Sascha L. Teichmann * waskaweb/controllers/administration.py: After storing of agency settings the agency settings form is shown again. * waskaweb/model/agency.py: fixed Agency.isAnonTransfer(). Fix for issue 176. * waskaweb/templates/administration/edit_settings.mako: Removed an empty line. 2008-01-09 Sascha L. Teichmann * waskaweb/model/navigation.py: The methods NavigationTree.getTreeItem NavigationTree.getTreeItemByPageName() now raise a HTTPNotFound exception if an item is not found: another puzzle piece to fix issue 184. Removed STRUCTURE string which doesn't represent the structure of the navigation any more. 2008-01-09 Sascha L. Teichmann * waskaweb/templates/login.mako: Send login credentials as UTF-8 not Latin-1. * waskaweb/lib/app_globals.py, waskaweb/lib/security.py: uses unicode strings to store db patterns. * waskaweb/lib/validators.py: When changing passwords force ASCII characters. 2008-01-09 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/overview.mako: Fixed issue 29,199 * waskaweb/controllers/administration.py: Reactiveted deletion of users. fixed typos * waskaweb/model/navigation.py: Fixed "next"-section in the navigation. Fixed typo 2008-01-08 Torsten Irlaender * waskaweb/controllers/navigation.py: Fixed opening and closing of treeitems... but really now :)- * waskaweb/model/navigation.py: Fixed opening and closing of folders in navigation * waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako, waskaweb/templates/start/start.mako: Removed links to the appointment stubs. * waskaweb/lib/renderer.py, waskaweb/public/styles/all.css: Added new css-tag for paragraphs which are used to fake textareas in readonly mode. Modified renderer to render parapgraphs with styletag. * waskaweb/controllers/navigation.py: Fixed ISE when clicking on the folder icon of "unterstützungsangebote" in the navigation. 2008-01-08 Sascha L. Teichmann * waskaweb/model/case.py: Added method CaseOverviewController.sortByLastname() which sorts the list by the surname taking the server locale into account. * waskaweb/controllers/case_overview.py: Call sortByLastname() when generating the overview and the search result. 2008-01-07 Torsten Irlaender * waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py, waskaweb/controllers/rg_aid.py, waskaweb/model/navigation.py: Implemented first version of printing the whole case. Added new convinient function "getRendererdFormElements" which returns a tuple holding the navigation and the formular page (tried to make the api a littlebit more easy). This function is able to cope with repeat groups an normal formular pages, which is handy for printing the whole document. NOTE: Printing of the whole ducument is not complete for now! Formatting issues are missing completely. Adjusted code to make use if this new function. * waskaweb/lib/renderer.py: Moved rendering of the Aidoverview from the mako template into the renderer. * waskaweb/templates/casemanagement/rg_aid_overview.mako: Deleted. 2008-01-02 Sascha L. Teichmann * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Tagged as Beta 11 2008-01-02 Torsten Irlaender * waskaweb/templates/main.mako: Fixed path to fav. icon 2008-01-02 Torsten Irlaender * development_wsgi.ini, waskaweb/controllers/administration.py: Activated "not implemented" dialog on user deletion as there is still an permission issue on the database. Reactivated old memcachd. 2008-01-02 Torsten Irlaender * waskaweb/config/routing.py, waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py, waskaweb/controllers/navigation.py, waskaweb/model/case.py, waskaweb/model/navigation.py, waskaweb/public/styles/color3.css, waskaweb/public/styles/screen.css: Separeted toggling and selecting formular items. Added new controller "navigation" which handles toggling thenavigation tree. Adjusted code to make use if the new controller. * waskaweb/model/case.py, waskaweb/model/navigation.py, waskaweb/public/images/icons/folder.png, waskaweb/public/images/icons/folder_closed.png, waskaweb/public/images/icons/folder_error.png, waskaweb/public/images/icons/folder_open.png, waskaweb/public/images/icons/formular_page_error.png: Added new icons for formular navigation 2007-12-21 Torsten Irlaender * waskaweb/lib/pdfimporter.py, waskaweb/model/navigation.py, formed/formedtree_web.xml: Splitup of "ergebnisse der KF": Added new formed tree. the section is now seperated in four single pages. Modified navigation. Adjusted code to handle splitted up section "ergebnisse der KF" in pdfimporter. 2007-12-21 Torsten Irlaender * waskaweb/lib/renderer.py: Fixed issue197. Selectionlists d in views-modeo not have the disabled tag in view-mode anymore as CSS does not have any effect when using IE. Instead we render only the selected item in the selectionlist in views-mode. 2007-12-20 Torsten Irlaender * waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py, waskaweb/controllers/statement.py, waskaweb/model/case.py: Fixed issue184. If someone tries to load an nonexistent case he will get an 404. * waskaweb/controllers/case_overview.py, waskaweb/controllers/document.py, waskaweb/controllers/rg_aid.py, waskaweb/controllers/statement.py, waskaweb/controllers/usersettings.py, waskaweb/controllers/waska.py: Continued validation of GET parameters in controllers. Validation of POST parameters are still missing, but the formenceode stubs for this are available in each controller method. * waskaweb/lib/renderer.py, waskaweb/public/styles/color3.css, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/formular.mako: Make colorscheme more readable at least for the FF. IE doesn't like this. 2007-12-19 Torsten Irlaender * waskaweb/templates/main.mako: Fixed broken layout. * waskaweb/controllers/case.py, waskaweb/controllers/rg_aid.py, waskaweb/lib/renderer.py, waskaweb/model/navigation.py, waskaweb/model/repeatgroup.py: Implemented checking of input data in case controller. Further changed key ids for untertützungs rg to pure integer values. (not 14rg anymore) 2007-12-19 Torsten Irlaender * waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/main.mako: Fixed broken templates. Opening and closing divs was not done in the correct way. Reading the code was confusing. Fixed this now, but it broken that layout. This will be fixed next. 2007-12-17 Torsten Irlaender * waskaweb/templates/administration/new_user.mako, waskaweb/templates/main.mako: Mapping (fieldname -> human compatible descriptions) for error messages are now local for the templates. dictionary for the mapping will be passed as argument zo the "buildForumlarErrors" Function. 2007-12-17 Torsten Irlaender * formed/formedtree_web.xml, waskaweb/lib/evaluation.py: Fixed typos (issue81) 2007-12-17 Torsten Irlaender * waskaweb/controllers/statement.py: Workflow. Fixed issue170. If the user declined the privacy statement. He gets redirected to the caseoverview instead of showing the case. 2007-12-17 Sascha L. Teichmann * waskaweb/lib/security.py: new method to generate a new shared secret. new method to concat IP and client user agent. * waskaweb/controllers/waska.py: Set a second cookie with shared secret if authenticated. Shared secret is concatenated with IP and user agent info. A MD5 hash of this string is stored in the session. 2007-12-17 Torsten Irlaender * waskaweb/templates/casemanagement/overview, waskaweb/templates/casemanagement/caselist.mako: NEW. Seperated caselisting in extra file to make it potentially reusable at other places. * waskaweb/controllers/administration.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/lib/validators.py, waskaweb/model/case.py, waskaweb/templates/casemanagement/caselist.mako: Implemented helper dialogs for deleting users. This dialogs helps the user to transfer cases to other users if the user which should be deleted still is the editor of some cases. * waskaweb/lib/evaluation.py: Fixed issue195. Evaluation for of the "Unterstützungsangeote" are only performed for cases where the user is the editor of. 2007-12-17 Sascha L. Teichmann * waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py, waskaweb/controllers/rg_aid.py: Replaced HTTPExceptions(404) with HTTPNotFound. 2007-12-17 Sascha L. Teichmann * waskaweb/lib/evaluation.py: Fix for issue196. Evaluations are now exported as Latin-1 and line breaks are coded DOS-style. * waskaweb/controllers/evaluate.py: Raise HTTPNotFound exceptions instead of HTTPExceptions. Last ones are abstract and raising them causes expcetions themself. 2007-12-12 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/controllers/case_overview.py, waskaweb/model/case.py: Implemented setting the standin as another bundled action. * waskaweb/templates/casemanagement/bundle_editor.mako, waskaweb/templates/casemanagement/bundle_standin.mako, waskaweb/temp lates/casemanagement/dialogs/notificate_bundle_delete.mako, waskaweb /templates/casemanagement/dialogs/notificate_bundle_seteditor.mako, w askaweb/templates/casemanagement/dialogs/notificate_bundle_setstandi n.mako, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/dialogs/alert.mako: Added dialogs for the bundled actions. This includes enhancement of the case overview page as same as new notification dialogs and other dialogs. * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: Added new translation strings for dialogs in bundles actions * waskaweb/lib/validators.py: Added to to new formvalidators for bundled actions * waskaweb/config/routing.py: Added new route for bundled actions 2007-12-12 Torsten Irlaender * development_wsgi.ini, waskaweb/config/routing.py, waskaweb/controllers/case_overview.py, waskaweb/model/case.py, waskaweb/templates/casemanagement/bundle_editor.mako, waskaweb/templates/casemanagement/dialogs/bundle_noselection.mako: Implemented "Bundled Actions". Bundled actions are action on multiple cases at once. Currently two different actions are implemented: 1. Deletion 2. Setting the editor. Introduced new class "Casebundle" which encapsulates the functionallity. 2007-12-12 Torsten Irlaender * waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py, waskaweb/controllers/statement.py: Fixed ISE when user creates a case without statement, but want to set the status of the statement in the confirmation dialog which pops up after creation. The ISE was triggered because of a non existend navigation tree at this moment. 2007-12-11 Sascha L. Teichmann * waskaweb/controllers/waska.py, waskaweb/lib/base.py: Removed (out commented) check SSL-id to prevent session hijacking. Code is left in because 'conventional' hijacking prevention will work the same but based on second cookie. 2007-12-11 Torsten Irlaender * waskaweb/controllers/case_overview.py, waskaweb/tests/functional/test_case_overview.py: New. Added new controller for actions which are preformed from the case overview page. * waskaweb/controllers/case.py, waskaweb/controllers/document.py, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/main.mako: Moved some code from the case controller into the new case_overview controller. Adjusted code in templates. 2007-12-11 Torsten Irlaender * waskaweb/lib/renderer.py, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: Changed code in renderer to fix last remaining warnings in renderer formular page. Anchor-names are now unique. Adjusted code in templates. 2007-12-10 Torsten Irlaender * waskaweb/templates/casemanagement/formular.mako: Removed uneeded check if the form should be displayed. * waskaweb/controllers/CaseBase.py, waskaweb/controllers/case.py waskaweb/controllers/rg_aid.py: Mainly cleaned up code in rg_aid and removed unneeded fragments which where copied from the case controller. Simplified call of the getFormNavigation method. All needed values are stored in the session and do not need to be privided as paramenters. Adjusted code to this. * waskaweb/config/routing.py: Adjusted routing to handle changed parameters of show and edit functions in rg_aid 2007-12-10 Torsten Irlaender * waskaweb/controllers/case.py: Fixed dataset id converting error which leads into saving data in the wrong dataset. (dataset id need to be converted to determine the id of an repeatgroup for a praticular case.) 2007-12-10 Torsten Irlaender * waskaweb/config/routing.py, waskaweb/controllers/case.py, waskaweb/templates/casemanagement/rg_aid_overview.mako: Case controller and aid repeatgroup controller are now inherited from the Casebase controller. Cleaned up case base controller and moved code for aid repeatgroups into the new controller (just copied for now -> needs more cleanup). Adjusted routing to make the new controller work. * waskaweb/controllers/CaseBase.py, waskaweb/controllers/rg_aid.py, waskaweb/tests/functional/test_CaseBase.py, waskaweb/tests/functional/test_rg_aid.py: New. Added a new Casebase controller which provides methods common to all case related controller (e.g case, or repeatgroups). Added new controller handling aid repeat groups. 2007-12-10 Sascha L. Teichmann * waskaweb/lib/pdfimporter.py: Added 'root' as a possible root of the XFA document. 2007-12-10 Torsten Irländer * waskaweb/controllers/case.py: Fixed typo which leads into not beeing able to exit edit-mode after we once entered it. 2007-12-08 Sascha L. Teichmann * waskaweb/controllers/waska.py: Beaker does not delete the backend data on invalidate() (I consider this a bug). So we delete a session before we invalidate it. 2007-12-08 Sascha L. Teichmann * waskaweb/controllers/waska.py: call session.invalidate() at logout. This really removes the session. 2007-12-07 Sascha L. Teichmann * waskaweb/lib/base.py: Add extra check against SSL session id to prevent session hijacking. * waskaweb/controllers/waska.py: When log out remove SSL ID from session. TODO: call session.invalidate() 2007-12-07 Torsten Irländer * waskaweb/controllers/case.py: Fixed ISE when creating new aid statements. TODO: separate repeatgroup handling from case controller into an own controller. 2007-12-07 Sascha L. Teichmann * waskaweb/controllers/administration.py waskaweb/controllers/appointment.py waskaweb/controllers/case.py waskaweb/controllers/document.py waskaweb/controllers/evaluate.py waskaweb/controllers/statement.py waskaweb/controllers/usersettings.py waskaweb/controllers/waska.py: Added checkRole() decorator to controllers. * waskaweb/lib/security.py: Using tuples instead of lists in checkRole * waskaweb/model/repeatgroup.py: import missing traceback. 2007-12-07 Sascha L. Teichmann * waskaweb/controllers/case.py: Added missing return statement in method __init_case(). 2007-12-07 Torsten Irländer * waskaweb/controllers/case.py, waskaweb/controllers/statement.py, waskaweb/lib/base.py, waskaweb/model/case.py, waskaweb/model/user.py: Removed use various session vars for saving case realated attributes. All these attributes are now stores in one single session var named "cases" which is a Sessioncase object. * waskaweb/templates/casemanagement/*.mako: Adjust mako templates to make use of the new session var 2007-12-06 Sascha L. Teichmann * waskaweb/lib/security.py: added decorator function checkRole() * waskaweb/controllers/case.py: add checkRole() decorator to delete. 2007-12-06 Torsten Irländer * waskaweb/controller/usersettings.py: Removed obsolte code in show setting (determining if incoming user id ist "0") 2007-12-06 Torsten Irländer * waskaweb/model/user.py: Reapplied patch to make user objects aware of the fact that there may be no standins. Therefore its value is set to None. 2007-12-05 Sascha L. Teichmann * waskaweb/config/middleware.py: Make serving of static content optional via flag 'serve_static'. * development_wsgi.ini, production_wsgi.ini: Adjusted, 2007-12-05 Sascha L. Teichmann * waskaweb/controllers/document.py, waskaweb/controllers/evaluate.py: Set the HTTP-headers 'Cache-Control' to 'must-revalidate' and 'Pragma' to 'must-revalidate' to workaround SSL download problems with IE6 and IE7. 2007-12-05 Sascha L. Teichmann * waskaweb/model/user.py: Applied patch to make user objects aware of the fact that there may be no standins. Therefore its value is set to None. 2007-12-05 Torsten Irländer * waskaweb/controllers/statement.py, waskaweb/model/case.py, waskaweb/model/statement.py: Statements (for printing) are now fetched from the case instead of creating an own statementin the controller. Statement will be automatically filled out if possible. * wwaskaweb/model/case.py, waskaweb/templates/casemanagement/digest.mako: Changed attribute "address" to "street" 2007-12-05 Torsten Irländer * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/model/case.py: Moved import and import related helper methods into the case factory. Modified code in case controller to make use of the new import methods. 2007-12-05 Torsten Irländer * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/model/case.py, waskaweb/model/navigation.py: Moved special code for generating the Navigationtree in connection with the "Kompetenz" repeat group into the navigation class. Moved method for getting the komptentzid of a case into the caseclass 2007-12-05 Torsten Irländer * waskaweb/model/repeatgroup.py: New. Moved repeatgroups from old /lib/casedata into new /model/repeatgroup.py. Renamed classes. * waskaweb/controllers/case.py, waskaweb/controllers/statement.py, waskaweb/lib/casedata.py: Adopted code in these classes to the introduced class for repeatgroup * waskaweb/lib/helpers.py: Fixed typo of a function call 2007-12-04 Sascha L. Teichmann * waskaweb/model/casedocument.py: New. Subclassed FormEd's document to model the special extensions needed for case management. * waskaweb/model/datapage.py: New. Bridge between data base and case management model, constructed via CaseDocument. its value is set to None. * waskaweb/model/io/factories.py: Modified to build a CaseDocument instead of a simple Document * waskaweb/lib/casedata.py: Moved several classes out to their new position in model. Removed some out-commented code. * waskaweb/model/case.py: Fixed typo with form_errors. Removed dependency from none-existing code. * waskaweb/controllers/case.py: United usage of CaseDocument and Case. Adjusted controller functions to new model. * waskaweb/lib/helpers.py, waskaweb/controllers/statement.py: Adjusted to use new model. 2007-12-03 Sascha L. Teichmann * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Tagged to Beta 7 2007-12-03 Sascha L. Teichmann * waskaweb/controllers/case.py: Commented out not to show cases with neglected 'Einverständniserklärung' * waskaweb/lib/casedata.py: Commented out debug info. 2007-12-03 Sascha L. Teichmann * waskaweb/lib/casedata.py: Modified not to show cases to cm_ka where the 'Einverständniserklärung' is set to be definitely absent. 'admin_ka' sees them all. * waskaweb/lib/pdfimporter.py: Modified to handle fields of 'Einverständniserklärung' ('Optionsfeldliste') so that a 'Nein' is not a definite 'Nein'. 2007-11-30 Torsten Irl�nder * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Tagged Beta 6 * waskaweb/model/user.py, * waskaweb/templates/usersettings/edit_settings.py: Reverted change for non existend standin. Values are now set to "None" instead of "-1" 2007-11-30 Torsten Irl�nder * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Tagged Beta 5 2007-11-30 Torsten Irl�nder * waskaweb/controllers/administration.py, waskaweb/templates/main.mako, waskaweb/templates/main_login.mako, waskaweb/lib/security.py: Removed session variable which holds the agency name. Removed agency name from website title. * waskaweb/model/user.py, waskaweb/templates/usersettings/edit_standin.mako: Modified selction field for the standin. Value for non existend standin is now "-1" 2007-11-29 Sascha L. Teichmann * waskaweb/config/middleware.py: Removed StaticJavascripts middleware. We don't need this. 2007-11-29 Torsten Irl�nder * waskaweb/model/user.py: Added setAdm function again to the userobjects as we rely on that the super admin can be treated as a real existing user in some places. So "setAdm" setups the userobject with appropriate data 2007-11-29 Sascha L. Teichmann * development_wsgi.ini: Uses a local memcached to store the session data. 2007-11-29 Sascha L. Teichmann * waskaweb/lib/evaluation.py: Recyle an open db connection in evaluation #4 correctly. 2007-11-28 Torsten Irl�nder * waskaweb/lib/validators.py, waskaweb/controllers/administration.py, waskaweb/templates/administration/new_user.mako: Fixed issue174 and issue175. For editing the usersettings (and only for this) I changed the way how we render the formular page if formencode fails to check the value. Now we make use of htmlfill which parses the rendere html output, und sets the values in the formular page. This way we can clean up the templates as setting values in the formular is now done by html field in the controller. 2007-11-28 Torsten Irl�nder * waskaweb/controllers/case.py, waskaweb/controllers/usersettings.py, waskaweb/controllers/waska.py, waskaweb/lib/base.py, waskaweb/lib/casedata.py, waskaweb/lib/helpers.py, waskaweb/lib/validators.py, waskaweb/model/user.py: Changed the way how login and password of the user are stored. Both is now stored within the sessionuser object, so the USER_AUTHORIZED session variable do not need to store a tuple anymore. Adopted the new access on the session at all places. 2007-11-28 Torsten Irl�nder * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/casemanagement/evaluation_result.mako: Fixed missing translation in the evalutaion result page * waskaweb/lib/evaluation.py: Fixed wrong calculation which were caused because some querys were on the wrong which return wrong values 2007-11-28 Benjamin Kirschner * waskaweb/*.mako: substituted hardcoded strings with gettext calls at variuos places in the mako templates. Fixed syntax errors 2007-11-28 Torsten Irl�nder * waskaweb/model/user.py, waskaweb/lib/security.py, waskaweb/lib/helpers.py: Refactored user class. Subclassed the user class and created two new classes for the sessionuser. Removed some orphaned code and adopted helper functions in the helpers.py 2007-11-28 Sascha L. Teichmann * waskaweb/model/document.py: Added a getName() method which gives the file name in a given encoding. Defaults to UTF-8. * waskaweb/templates/documents/case_overview.mako, waskaweb/templates/documents/global_overview.mako: Use the new getName() method. 2007-11-28 Sascha L. Teichmann * waskaweb/model/agency.py: get() methods return UTF-8 encoded strings now. This fixes the problem of KA names containing Umlauts. * waskaweb/templates/administration/edit_settings.mako, waskaweb/templates/administration/show_settings.mako: They used the internal conf dictionary. This is replaced by using the respective get() methods now. 2007-11-28 Sascha L. Teichmann * waskaweb/controllers/case.py: Removed debug output * waskaweb/lib/evaluation.py: Fixed wrong spelled connection recycling. 2007-11-28 Sascha L. Teichmann * waskaweb/lib/db_factory.py: Removed. Old DB model is no longer needed. * waskaweb/controllers/administration.py, waskaweb/controllers/case.py, waskaweb/lib/base.py, waskaweb/lib/helpers.py, waskaweb/model/user.py: removed imports of old DB model. 2007-11-27 Sascha L. Teichmann * waskaweb/lib/evaluation.py: Correct a few syntax typos. 2007-11-27 Sascha L. Teichmann * waskaweb/controllers/administration.py, waskaweb/controllers/case.py, waskaweb/controllers/evaluate.py, waskaweb/controllers/statement.py, waskaweb/controllers/usersettings.py, waskaweb/lib/casedata.py, waskaweb/lib/evaluation.py, waskaweb/lib/validators.py, waskaweb/model/statement.py, waskaweb/model/user.py: Further refactoring to new DB connection model. Still needs some testing. 2007-11-27 Sascha L. Teichmann * waskaweb/lib/db.py: New. Models a thread locale DB connection * waskaweb/controllers/case.py, waskaweb/controllers/document.py, waskaweb/lib/base.py, waskaweb/lib/casedata.py, waskaweb/lib/security.py, waskaweb/model/agency.py, waskaweb/model/document.py, waskaweb/model/statement.py, waskaweb/model/user.py: Adjusted to use new model. Not working perfect yet. 2007-11-27 Sascha L. Teichmann * waskaweb/lib/base.py: Moved DB connection closing from __after__ into a try/finally block in __call__. This fixes issue171. 2007-11-22 Sascha L. Teichmann * waskaweb/controllers/evaluate.py: Use DataApp instead of FileApp to serve the export of the evaluations. This fixes issue56 * waskaweb/lib/evaluation.py: Replaced the code to write into /tmp/eval*.csv files by writing to an in core file. * waskaweb/templates/casemanagement/evaluation_result.mako: Renamed the served *.csv files according to there evalution number and context. 2007-11-22 Torsten Irlaender * ChangeLog.txt: We hopefully now have a Changelog! Migrated Frank's entrys from an older Version. 2007-11-22 Torsten Irlaender * .hgtags: Added tag Beta 2 for changeset 4e2cbffa2075 [f02935ccc7ce] [tip] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Set po file for Beta 2 [4e2cbffa2075] [Beta 2] * waskaweb/templates/documents/case_overview.mako, waskaweb/templates/documents/global_overview.mako: Fixed broken file listing when no files are available [cc86107ac05d] 2007-11-22 teichmann * Merged. [b72efa969426] * waskaweb/config/middleware.py, waskaweb/lib/pdfimporter.py: - comment out authkit - catch encoding errors when log to Apache log. [4eded514593a] 2007-11-22 Torsten Irlaender * .hgtags: Added tag Beta 1 for changeset d58ebb2bf674 [dce78e10bc5f] * Merged. Public Beta 1 [d58ebb2bf674] [Beta 1] * Merged [a2c6488e3385] * Merged [28c5c4dc06d6] 2007-11-22 teichmann * waskaweb/lib/base.py: Add positive list of parts of login page. Its commented out. [03177c7c7719] 2007-11-21 frank * waskaweb/templates/start/start.mako: Meldung für Admin überarbeitet. [dc5ff626d690] * waskaweb/templates/start/start.mako: Fix: Überzähliges is-Statement entfernt. [e6523ff95759] * waskaweb/templates/start/start.mako: Komplette Trennung der Begrüßungsdialoge Admin-KA und CM-KA [3e86fea3230d] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Bugfix waskaweb/i18n/de/LC_MESSAGES/waskaweb.po:172: Found plural forms for non-pluralizable message [62129f6360e4] 2007-11-22 Torsten Irlaender * .hgtags: Added tag Beta 1 for changeset 459635837fc5 [adc2d81f6183] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/lib/casedata.py, waskaweb/model/user.py: Added ordering for user and cases in the overview pages Changed date in footer. [459635837fc5] * waskaweb/templates/appointments/overview_body.mako, waskaweb/templates/casemanagement/appointments.mako: Changes appointments. User can not select or delete any appointment in casemode (only for beta9 [0cbbec36fa63] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/model/statement.py, waskaweb/templates/casemanagement/new.mako: Reactivated parts of the old behavior when creating a new case. The user can now printout out the privacy statement _before_ the case is actually created Added 'address' as possible Substitution in statementens. [5af5fbf6b818] 2007-11-21 Torsten Irlaender * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Fixed po file [098bc1fe93b5] * Merged [7fad1d464f34] 2007-11-21 teichmann * production_wsgi.ini, waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/lib/pdfimporter.py: - Added production_wsgi.ini - Send missing fields of PDF import to stderr - comment some debugging info [c8c84642250b] 2007-11-21 Torsten Irlaender * waskaweb/lib/evaluation.py: Hopefully fixed ISE for evaluation with no casedata [c81a04ede8d7] * waskaweb/templates/casemanagement/formular.mako: Fixed open clearer [b7f39f680698] * waskaweb/templates/dialogs/notification.mako: Fixed layout in notification dialog [f5b013621059] * Merged [d9145e2f1d3a] 2007-11-21 benni * waskaweb/templates/start/help.mako: commented latin help out. added small help sentence [a2ff1389b27c] * waskaweb/templates/dialogs/alert.mako, waskaweb/templates/dialogs/confirm.mako, waskaweb/templates/dialogs/notification.mako: added alt to img [a324a97faab1] * waskaweb/templates/start/help.mako: removed modusfield DRUCKVERSION from help [99567a572b44] * waskaweb/templates/start/help.mako: html validation, headers have no the id help_NUMBER [c40be385fe28] * waskaweb/templates/casemanagement/new.mako: html validation in "fallakte anlegen" [8b873c25be4a] * waskaweb/templates/documents/global_overview.mako: html validation [4166a8486e87] * waskaweb/public/styles/print.css: print version improved [ac3c13ad4f7a] * waskaweb/public/styles/all.css, waskaweb/templates/statement/edit.mako: privacyStatement layout [2d5cedc27cef] 2007-11-21 Torsten Irlaender * waskaweb/controllers/appointment.py, waskaweb/templates/appointments /dialogs/notificate_delete_appointment.mako: Implemented "Not implemented Notifier" on deleting appointments [f45aec03987e] * waskaweb/templates/main.mako: Fixed Html syntax on error messages [38019f368699] * waskaweb/lib/validators.py: Removed punctuation from custom error messages [293bd7d48d9b] * waskaweb/templates/main.mako, waskaweb/templates/main_login.mako: Added translation dictionary for translating error output of formencode [747ac008f955] 2007-11-21 benni * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/administration/edit_user.mako: merged [b91ae2c0a6e9] * waskaweb/public/styles/print.css: changed font-size for h1 and content_ueberschrift [b25064306dba] * waskaweb/templates/appointments/beta/show_1.mako, waskaweb/templates/appointments/beta/show_10.mako, waskaweb/templates/appointments/beta/show_2.mako, waskaweb/templates/appointments/beta/show_3.mako, waskaweb/templates/appointments/beta/show_4.mako, waskaweb/templates/appointments/beta/show_5.mako, waskaweb/templates/appointments/beta/show_6.mako, waskaweb/templates/appointments/beta/show_7.mako, waskaweb/templates/appointments/beta/show_8.mako, waskaweb/templates/appointments/beta/show_9.mako: breadcrumbs in fake appointments [7ebf0410b21e] * waskaweb/templates/start/start.mako: changed content in "Schwarzes Brett" for user adm [cf0a3d5750b9] * waskaweb/public/styles/screen.css, waskaweb/templates/administration/edit_user.mako: changed content in "Schwarzes Brett" for adm user [927a044ff2eb] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: changed "zurück zur nutzerübersicht" to "zurück zu: Benutzeransicht" and added key to po, pot [108d20c42c57] 2007-11-21 Torsten Irlaender * waskaweb/templates/casemanagement/main.mako, waskaweb/templates/documents/case_overview.mako, waskaweb/templates/main.mako, waskaweb/templates/usersettings/show_settings.mako: Fixed cause for various syntax warnings [11ac0ebcde7c] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/administration/edit_user.mako: Fixedi translation issue in user administration [d2761dc8a0f9] 2007-11-21 benni * waskaweb/templates/appointments/beta/show_1.mako~, waskaweb/templates/appointments/beta/show_2.mako~, waskaweb/templates/appointments/beta/show_3.mako~, waskaweb/templates/appointments/beta/show_4.mako~: merged [cf7f03171120] * waskaweb/templates/appointments/beta/show_1.mako, waskaweb/templates/appointments/beta/show_1.mako~, waskaweb/templates/appointments/beta/show_10.mako, waskaweb/templates/appointments/beta/show_2.mako, waskaweb/templates/appointments/beta/show_2.mako~, waskaweb/templates/appointments/beta/show_3.mako, waskaweb/templates/appointments/beta/show_3.mako~, waskaweb/templates/appointments/beta/show_4.mako, waskaweb/templates/appointments/beta/show_4.mako~, waskaweb/templates/appointments/beta/show_5.mako, waskaweb/templates/appointments/beta/show_6.mako, waskaweb/templates/appointments/beta/show_7.mako, waskaweb/templates/appointments/beta/show_8.mako, waskaweb/templates/appointments/beta/show_9.mako, waskaweb/templates/appointments/overview_body.mako, waskaweb/templates/start/start.mako: appointments fake templates added [ea887ba10b36] 2007-11-21 Torsten Irlaender * waskaweb/templates/documents/overview.mako, waskaweb/templates/documents/overview_body.mako: Merged [2593fd97f491] 2007-11-21 teichmann * waskaweb/controllers/waska.py, waskaweb/model/agency.py: Remove some unneeded code. [e8934b0daf6d] 2007-11-21 Torsten Irlaender * formed/formedtree_web.xml: Fixed broken Layout in "Biographische Daten" [0bdf424fb4f0] * waskaweb/lib/casedata.py, waskaweb/templates/casemanagement/main.mako: Set default value for aid objects to "-/-". Printing of the addplan (mian template of case), opens a new window now [791bf4e29f71] * waskaweb/templates/appointments/beta/show_1.mako~, waskaweb/templates/appointments/beta/show_2.mako~, waskaweb/templates/appointments/beta/show_3.mako~, waskaweb/templates/appointments/beta/show_4.mako~: Removed temporary files. [bebad1b7d2c4] 2007-11-21 benni * waskaweb/templates/appointments/beta/show_1.mako, waskaweb/templates/appointments/beta/show_1.mako~, waskaweb/templates/appointments/beta/show_2.mako, waskaweb/templates/appointments/beta/show_2.mako~, waskaweb/templates/appointments/beta/show_3.mako, waskaweb/templates/appointments/beta/show_3.mako~, waskaweb/templates/appointments/beta/show_4.mako, waskaweb/templates/appointments/beta/show_4.mako~: changed path to main.mako, fake appointments working [3bd07d48ba44] * waskaweb/controllers/dummy.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/documents/overview.mako, waskaweb/templates/documents/overview_body.mako: merged [99456aed3c14] * waskaweb/templates/appointments/beta/show_1.mako, waskaweb/templates/appointments/beta/show_1.mako~, waskaweb/templates/appointments/beta/show_2.mako, waskaweb/templates/appointments/beta/show_2.mako~, waskaweb/templates/appointments/beta/show_3.mako, waskaweb/templates/appointments/beta/show_3.mako~, waskaweb/templates/appointments/beta/show_4.mako, waskaweb/templates/appointments/beta/show_4.mako~, waskaweb/templates/appointments/show.mako, waskaweb/templates/start/start.mako: added folder "beta" with fake appointments show_1 - show_4 [73681661aa27] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: changed agentureinstellungen in left menu to agentur [40f181040513] 2007-11-21 Torsten Irlaender * waskaweb/controllers/appointment.py: Modified show controller for appointments to serve fake appointments in beta [c8e90e7be799] * waskaweb/templates/documents/overview.mako, waskaweb/templates/documents/overview_body.mako: Removed obsolte overview pages for documents [71d564372ac8] * waskaweb/controllers/dummy.py: Merged [a26900282e6d] 2007-11-21 teichmann * waskaweb/controllers/dummy.py: Removed dummy controller to solve issue11. [a9075326d449] * waskaweb/model/navigation.py: Fix fuer issue161 [9b8a0c9b9c12] 2007-11-20 teichmann * waskaweb/model/navigation.py: Propagate highlighting of 'Gliederung' deeper into navigation tree. [a6242695189a] 2007-11-21 Torsten Irlaender * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/documents/case_new.mako, waskaweb/templates/documents/case_overview.mako: Fixed issue 162 [851b615fff43] * waskaweb/model/agency.py, waskaweb/templates/administration/edit_settings.mako, waskaweb/templates/administration/show_settings.mako: Renamed ap_formular to fp_formular idn agenency and affected templates [e016aee9ac01] 2007-11-21 benni * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/public/styles/print.css: changed menu in adm "benutzerübersicht" to "benutzer" [8257ffb9bd78] 2007-11-20 benni * waskaweb/public/styles/color3.css, waskaweb/public/styles/screen.css: improved modusfield and code [5744501d6baf] * waskaweb/public/styles/ie6.css, waskaweb/public/styles/screen.css: menu gliederung highlighting whole line [dd8ba9b26f0b] * merged [183f97c9cd82] * waskaweb/public/styles/color3.css, waskaweb/public/styles/ie6.css, waskaweb/public/styles/screen.css: changes on menu - not yet completed [86e1a9eb5dcf] * waskaweb/public/styles/print.css, waskaweb/public/styles/screen.css: small changes on print layout, menu paddings [854dfa5821a9] 2007-11-20 Torsten Irlaender * Merged [1fc53a73a895] * Merged [8fcdb94ab4f8] 2007-11-20 teichmann * waskaweb/model/navigation.py: Removed invalid '>' bracket. [09d918d4bb06] 2007-11-20 benni * waskaweb/public/styles/color3.css: highlighting gliederungspunkte [87a78c6376dc] * merged [815b74945ba0] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/public/styles/color3.css: footer changed [9826732f96bf] 2007-11-20 Torsten Irlaender * waskaweb/model/user.py: Fixed pemanent "need login" problem [447bd46458ac] 2007-11-20 teichmann * waskaweb/controllers/case.py, waskaweb/model/navigation.py: Hilight selected 'Gliederung' [ae31f4f37cd6] 2007-11-20 Torsten Irlaender * formed/formedtree_web.xml: Set headers to invisible [9d06d5cc0845] 2007-11-20 benni * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/casemanagement/main.mako: merged [0bacd76c5744] * waskaweb/public/styles/print.css, waskaweb/public/styles/screen.css, waskaweb/templates/appointments/overview.mako, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/start/start.mako: modusfields, left menu height [b2a4aba5dc01] * waskaweb/templates/documents/global_upload.mako: merged [4b87a11d272f] * waskaweb/public/styles/print.css, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/main.mako: removed pagenumber (beta phase) worked on print version [9a497fd6ab40] * waskaweb/public/styles/color3.css, waskaweb/public/styles/screen.css: improved left menu height because of footer [311b719188ae] * waskaweb/public/styles/screen.css: space between p and .button in dialog [adad9a4d3eed] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/administration/new_user_result.mako, waskaweb/templates/appointments/overview.mako, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/start/help.mako: modusfield in new user, renaming of menuitems, changed sentence [010b7adb452f] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/public/styles/ie6.css, waskaweb/public/styles/screen.css, waskaweb/templates/main.mako: added footer [a4c572d5f9ca] 2007-11-19 benni * development_wsgi.ini, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/formular.mako: changed port, changed table in casemanagement digest [757767753722] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/administration/new_user.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako, waskaweb/templates/usersettings/edit_standin.mako: merged [97d428b20797] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/public/styles/print.css, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako: backbtns changed, print version [cac972c994ec] * waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/new_document.mako, waskaweb/templates/documents/case_new.mako, waskaweb/templates/documents/case_overview.mako: merged [151061e5f306] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/public/styles/all.css, waskaweb/public/styles/ie6.css, waskaweb/public/styles/print.css, waskaweb/templates/administration/edit_user.mako, waskaweb/templates/administration/new_user.mako, waskaweb/templates/administration/show_user.mako, waskaweb/templates/appointments/new.mako, waskaweb/templates/appointments/show.mako, waskaweb/templates/documents/global_upload.mako, waskaweb/templates/start/help.mako: modusfield backbtns [e86ca3bfcdc0] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/documents/case_overview.mako, waskaweb/templates/usersettings/change_password.mako, waskaweb/templates/usersettings/edit_standin.mako: table in documents fixed, renaming backbtns in mein konto [b1bb6750b9af] * waskaweb/public/styles/all.css, waskaweb/templates/appointments/show.mako, waskaweb/templates/usersettings/change_password.mako, waskaweb/templates/usersettings/edit_standin.mako: modusfield in "mein konto" backbtn in change pw and change stand-in [e9d78773a1e4] * waskaweb/templates/documents/global_upload.mako, waskaweb/templates/main.mako: greater than valid html, link document "globalOverview" [e57ef4a804a0] * waskaweb/templates/documents/global_new.py, waskaweb/templates/documents/global_upload.mako: merged [dea8ec38fdbc] * waskaweb/public/styles/all.css, waskaweb/templates/documents/case_new.mako, waskaweb/templates/documents/case_overview.mako, waskaweb/templates/documents/global_upload.mako: admin documents div [4e425a8adf90] * waskaweb/public/styles/ie6.css, waskaweb/public/styles/screen.css, waskaweb/templates/login.mako: login screen submit button [960a20f176ba] 2007-11-20 Torsten Irlaender * waskaweb/controllers/case.py: Merged [c0662163bfdc] 2007-11-20 teichmann * merged [c3f458d3ffd0] * waskaweb/controllers/case.py: Use correct _save() call for new case. [2983a0b9d058] 2007-11-20 frank * Merge [d386116dd792] 2007-11-20 waska * waskaweb/templates/administration/show_settings.mako: Einverständnis and Förderplan commented - taken out of display. [b5c605657bf6] * waskaweb/templates/administration/edit_settings.mako: Einverständnis and Förderplan taken out of settings edit. Minor formatting changes [f689f4894876] 2007-11-20 teichmann * waskaweb/controllers/case.py: Using keys for page identifcation. [6e62090b4108] 2007-11-20 Torsten Irlaender * Merged [da15fa9a17ad] 2007-11-20 frank * Merge [35b93fd51995] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Update String for "cm_form_standin_submit": "Aendern" is more generic than "Uebertragen" [d52c906ecf99] 2007-11-20 Torsten Irlaender * Merged [9423284c2c6d] * waskaweb/controllers/case.py: Merged [e5c75298f0b7] * waskaweb/controllers/case.py: Merged [0173f9bad402] 2007-11-20 teichmann * waskaweb/controllers/case.py: Fixed problem with "Unterstuetzungsangebote" in "Speichern und weiter" [fc8666fb3a3c] 2007-11-20 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/statement/dialogs/missing_statement.mako: Fixed issue114 [d9f535f87ece] * waskaweb/controllers/administration.py, waskaweb/model/user.py: Fixed issue147 ISE on deleting error. Removed some debugging output from user.py [c70c988d46ca] * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/dialogs/notificate_printall.mako: Fixed again notification dialog for missing printall feature in beta [168d207b73e3] * waskaweb/controllers/case.py: Merged [9fe5ae72725d] 2007-11-20 teichmann * waskaweb/controllers/case.py, waskaweb/lib/renderer.py, waskaweb/model/navigation.py: First version of "Speichern und weiter" button in formular. Still broken: Unterstützungsangebote and advancing first page of subtopic. [4e563e02ef84] 2007-11-19 teichmann * waskaweb/templates/documents/global_overview.mako: Fix for Issue153 [1f488a950f25] 2007-11-19 waska * waskaweb/templates/documents/global_upload.mako: Bugfix issue153: call correct action [ae5b36120c60] 2007-11-19 teichmann * development_wsgi.ini, waskaweb/controllers/document.py: - Fix for issue151 - Changed default DB port to 5343 [55cf3cfbbff7] 2007-11-19 frank * Merge [48b38903d138] 2007-11-19 waska * waskaweb/templates/administration/show_user_body.mako: Account details "isActivated" and "needsNewPass" only visible to role Admin-KA. [b14e893f3b1c] * waskaweb/templates/usersettings/show_settings.mako: editStandin only visible for role CM_KA. [e57904a70636] 2007-11-20 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/controllers/usersettings.py, waskaweb/model/user.py: Admin users can not be set as standin anymore (enhacement of issue138) [765247c7e9f1] * waskaweb/templates/casemanagement/dialogs/notificate_printall.mako: Added missing "not implemented" dialog. [c65ae31c76e3] * development_wsgi.ini: Switched to new DB-Cluster [7d9daea74619] 2007-11-19 Torsten Irlaender * Merged [8d1e22ff0906] 2007-11-19 frank * waskaweb/lib/security.py: Merge [bbf2609eee2a] * waskaweb/model/user.py, waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/new_document.mako: Merge [8123b72f08eb] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Korrektur Strings in Agentureinstellungen. [8aea8fefa0c6] * Merge [6c31bd0ec253] * waskaweb/lib/security.py, waskaweb/model/user.py: Merge [66106cfc3959] 2007-11-18 frank * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Harmonisiergun: Einheitlich "Konto" statt teilweise "Account". [645f47b648a2] * waskaweb/templates/documents/global_new.py: Merge [3a9e5cdfc5a3] 2007-11-16 frank * waskaweb/lib/security.py: getDbName: Anpassung an neue Zertifikatsstruktur: dbname im 3. Teil des CN. [8eae46d44f97] * waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/new_document.mako, waskaweb/templates/documents/global_overview_body.mako, waskaweb/templates/documents/overview.mako, waskaweb/templates/documents/overview_body.mako, waskaweb/templates/documents/upload.mako, waskaweb/templates/main.mako: Merge [a77049c7baf5] 2007-11-16 waska * waskaweb/lib/helpers.py, waskaweb/lib/security.py, waskaweb/model/user.py, waskaweb/templates/main.mako: issue124: Zentraler Admin-User implementiert, im Menu nur Benutzer /DB-Verwaltung sichtbar [c78771a7e5ad] 2007-11-19 Torsten Irlaender * Merged [e1598277e032] * Merged [98064ce46319] 2007-11-19 teichmann * merged. [e8e821554018] * waskaweb/lib/base.py: Print redirect to Apache-Log in case of invalid sessions. [f561951cd6f6] 2007-11-19 Torsten Irlaender * waskaweb/lib/validators.py: Hard wired german language for formencode error messages [2189a633e559] * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/main.mako: Added notification dialog for missing "printall" function in beta version of waska notification dialog for missing "printall" function in betaa [585c4e06cd41] * waskaweb/controllers/usersettings.py: Fixed issue146 [e02af146df1c] * waskaweb/lib/security.py: Fixed worng regular expression on login [fb24ad2804cf] * waskaweb/templates/administration/new_user.mako: Fixed issue143 [40a1114270c7] * waskaweb/lib/validators.py: Fixed issue142 [2292278687a9] * waskaweb/controllers/case.py: Added missing part of fix for issue138 [44482bc65422] * waskaweb/controllers/usersettings.py, waskaweb/model/user.py, waskaweb/templates/usersettings/edit_standin.mako: Fixed issue138. [596c09d1fd34] * waskaweb/controllers/administration.py: Changed target when admin chooses not to reset the users password in confirmation dialog [0b0c30210d57] * waskaweb/templates/casemanagement/appointments.mako, waskaweb/templates/casemanagement/new_appointment.mako, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/documents/case_new.mako, waskaweb/templates/documents/case_overview.mako: Fixed missing "confirmed" flag on selecting a case in various templates [4e6e83a5617b] * waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/new_document.mako: Removed obsolete document templates from the case templates -> they new created under the document templates [ac6d40c45e0d] * waskaweb/model/agency.py: Removed debugging output [94ecbe77ca35] * waskaweb/controllers/case.py: Fixed issue148 [89b4e5b0844a] 2007-11-18 teichmann * waskaweb/templates/documents/global_overview.mako: Added target="_blank" to download links of global documents. [f95e1c147c53] * waskaweb/lib/app_globals.py, waskaweb/lib/filters.py, waskaweb/templates/casemanagement/digest.mako: Replaced './.' by '-/-' for None values. [5a1efd8c79de] * development_wsgi.ini, waskaweb/controllers/evaluate.py, waskaweb/lib/app_globals.py, waskaweb/lib/pdfimporter.py: Made pdf2xfa server connections configurable by .ini [340bc2df362b] * waskaweb/controllers/evaluate.py, waskaweb/model/user.py: Removed unneeded imports of connection urls. [1225b9d870c2] * waskaweb/lib/security.py: Removed needless check for "'" in passwords. [638e76476854] * development_wsgi.ini, waskaweb/lib/app_globals.py, waskaweb/lib/base.py, waskaweb/lib/db_factory.py, waskaweb/lib/security.py: How to connect to DB is now configurable by .ini file. [7a65f548e93f] 2007-11-16 Torsten Irlaender * Merged [747886807d8a] * waskaweb/controllers/document.py, waskaweb/templates/documents/global_new.py: Merged Bennis Layout Changes [2476d50979fb] 2007-11-16 teichmann * waskaweb/lib/renderer.py, waskaweb/model/data.py: Added support for invisible info fields. [94cbf8b6feeb] 2007-11-16 Torsten Irlaender * waskaweb/controllers/document.py, waskaweb/templates/documents/global_upload.mako: Merged [be34858a3fde] * waskaweb/templates/documents/global_overview.mako: Merged with Bennis layout fixes [756359920735] 2007-11-16 benni * waskaweb/templates/appointments/new.mako, waskaweb/templates/appointments/show.mako, waskaweb/templates/casemanagement/new_appointment.mako: fake table in" termine" [a43983d06927] * waskaweb/public/styles/all.css, waskaweb/templates/documents/global_overview.mako, waskaweb/templates/documents/global_upload.mako, waskaweb/templates/documents/upload_body.mako: "jumping div" in documents cmka [785eeaf01e95] * waskaweb/templates/usersettings/show_settings.mako: modusfield in "mein konto", sentence changed "hier sehen sie..." [254466a1657a] * waskaweb/public/styles/all.css, waskaweb/templates/appointments/overview.mako, waskaweb/templates/casemanagement/new.mako: fixed "jumping table" in appointments [caebdfb789c9] * waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css, waskaweb/templates/usersettings/change_password_login.mako: dialog reseted password: small changes on layout and sentences [a63a23c2dcf9] 2007-11-16 Torsten Irlaender * Merged [3a77f2e39c87] 2007-11-16 teichmann * waskaweb/templates/documents/global_overview.mako: Fixed broken link in viewing and deleting global documents. [d03248ced9ba] * waskaweb/config/routing.py, waskaweb/controllers/case.py, waskaweb/controllers/document.py, waskaweb/lib/filters.py, waskaweb/model/document.py, waskaweb/templates/documents/case_new.mako, waskaweb/templates/documents/case_overview.mako, waskaweb/templates/documents/global_overview.mako: Fixed links for documents of cases. [c4086023f527] 2007-11-16 Torsten Irlaender * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/administration/edit_settings.mako: Updated language files [0da321ba7e35] * waskaweb/controllers/document.py, waskaweb/i18n/waskaweb.pot, waskaweb/templates/documents/global_new.py, waskaweb/templates/documents/global_upload.mako: removed global_new.py in Templates. [fde938753a9e] 2007-11-16 benni * waskaweb/model/file.py, waskaweb/model/renderer.py, waskaweb/templates/administration/edit_settings.mako, waskaweb/templates/administration/show_settings.mako, waskaweb/templates/casemanagement/rg_aid_overview.mako, waskaweb/templates/documents/global_overview_body.mako, waskaweb/templates/documents/global_upload.mako, waskaweb/templates/documents/upload.mako: merged and fix table in "unterstützungsangebot" [1f624ee8a619] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: merge: FU merge from this morning [ceea329d9e54] * waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css, waskaweb/templates/administration/edit_settings.mako, waskaweb/templates/administration/edit_user.mako, waskaweb/templates/administration/show_settings.mako, waskaweb/templates/administration/show_user.mako, waskaweb/templates/appointments/new.mako, waskaweb/templates/appointments/overview.mako, waskaweb/templates/casemanagement/appointments.mako, waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/documents/overview.mako, waskaweb/templates/documents/upload.mako: modusfields and possibility to navigate to previous page added [e6369e6516d7] * waskaweb/public/styles/all.css, waskaweb/public/styles/ie6.css, waskaweb/public/styles/screen.css, waskaweb/templates/administration/new_user.mako, waskaweb/templates/administration/overview_user.mako: modusfield and format of formulars [ca82b6e725bc] * waskaweb/public/styles/ie6.css: space between input fields ie6 login [716d07ac34fb] * waskaweb/public/styles/screen.css, waskaweb/templates/logout.mako, waskaweb/templates/main_login.mako: login, logout finished [aaff4f1e5204] * waskaweb/templates/main_login.mako: login screen [9768bc3eea9c] * waskaweb/public/styles/screen.css: login screen [8c379260da94] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/casemanagement/rg_aid_overview.mako: merged [b51c4ee1e48e] * waskaweb/public/styles/screen.css, waskaweb/templates/login.mako, waskaweb/templates/main_login.mako: login screen [0fa69d44588d] 2007-11-15 benni * waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/appointments.mako, waskaweb/templates/documents/overview_body.mako, waskaweb/templates/documents/upload_body.mako: table in cm documents is now equal to the table in cm appointment [1da1fbdf24cb] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/public/styles/screen.css, waskaweb/templates/appointments/show.mako, waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/new_appointment.mako, waskaweb/templates/casemanagement/new_document.mako, waskaweb/templates/casemanagement/rg_aid_overview.mako: added content_header_small to improve space between content and header [4cf4b96f128a] 2007-11-16 teichmann * waskaweb/controllers/document.py, waskaweb/templates/documents/global_new.py, waskaweb/templates/documents/global_overview.mako, waskaweb/templates/documents/global_upload.mako, waskaweb/templates/documents/upload.mako, waskaweb/templates/main.mako: Fixed linking for global document import. [d704e25fed9a] 2007-11-16 Torsten Irlaender * Merged [c47fb143e5fc] 2007-11-16 frank * waskaweb/lib/renderer.py: Überflüssiges
-Tag zwischen Label und Textarea entfernt [9a9564e5c70e] * Merge [a22456658f16] * waskaweb/model/file.py, waskaweb/model/renderer.py: Merge [786804e38e58] * formed/waska-hilfetexte.xhtml: Bugfix Hilfetexte (paragraph schliessen) [c541cdc7ca10] 2007-11-15 frank * waskaweb/controllers/usersettings.py: Bugfix issue130: Typo in action-String [c66a3bdd9195] * formed/waska-hilfetexte.xhtml: Neu: Hilfetexte für "besuchte Schule" und "Schulabschluss" [05e6aef0074c] 2007-11-16 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/new_document.mako, waskaweb/templates/documents/case_new.mako, waskaweb/templates/documents/case_overview.mako, waskaweb/templates/documents/global_overview.mako, waskaweb/templates/documents/global_overview_body.mako, waskaweb/templates/documents/overview.mako, waskaweb/templates/documents/overview_body.mako: Prepared document templates for adding case specific documents. [0f01fa8cc82d] 2007-11-16 teichmann * waskaweb/lib/filters.py, waskaweb/templates/administration/show_user_body.mako, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/rg_aid_overview.mako: Added fixes for None-issue (full text search in RoundUp should be improved) [72dcf6a500d2] 2007-11-16 Torsten Irlaender * Merged [5d95b38d4dfa] 2007-11-16 teichmann * waskaweb/lib/filters.py, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/documents/global_overview_body.mako: - Added filename in document download - added filters library. [2465893d685f] 2007-11-16 Torsten Irlaender * formed/aid_plan_statement.html, waskaweb/controllers/administration.py, waskaweb/model/agency.py, waskaweb/templates/administration/edit_settings.mako, waskaweb/templates/administration/show_settings.mako: Enhanced edit settings in administration for editing the aid plan statement [53d7b6c00b8e] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/model/agency.py, waskaweb/model/file.py, waskaweb/model/renderer.py: Merged [ac8f2a6abc69] 2007-11-16 teichmann * waskaweb/model/agency.py: Fix for issue131 [ebdccdd88b33] 2007-11-16 teichmann * waskaweb/controllers/case.py: Removed import dependency from removed file. [8792e5dad1fc] * waskaweb/controllers/document.py, waskaweb/controllers/waska.py, waskaweb/lib/casedata.py, waskaweb/lib/pdfimporter.py, waskaweb/model/document.py, waskaweb/model/file.py, waskaweb/model/renderer.py, waskaweb/templates/documents/global_overview_body.mako: Added support for database driven global document serving. Removed old unneeded code. [14170b6ae6aa] 2007-11-15 Torsten Irlaender * Merged [dbe44e4abc6a] * waskaweb/controllers/usersettings.py: Fixed issue130 [051d26422509] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Merged [131d24e823e6] 2007-11-15 frank * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Eingeloggt als -> Angemeldet als und ein paar weitere Übersetzungen [a03bcbdf3c44] 2007-11-15 Torsten Irlaender * formed/aid_plan_statement.html, formed/privacy_statement.html, formed/statement.html, waskaweb/controllers/case.py, waskaweb/controllers/statement.py, waskaweb/lib/casedata.py, waskaweb/model/agency.py, waskaweb/model/statement.py, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/rg_aid_overview.mako, waskaweb/templates/statement/dialogs/missing_statement.mako, waskaweb/templates/statement/edit.mako: Added new statement for the aid plan. Did some refactoring on the statements. This mainly includes Renaming classes as we need to differ between to kinds of statements now (PrivacyStatement, AidPlanStatement) [708b5cc24cf3] * Merged [e15b55f2d916] 2007-11-15 benni * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/public/styles/all.css, waskaweb/public/styles/ie6.css, waskaweb/public/styles/screen.css, waskaweb/templates/appointments/appointment_form.mako, waskaweb/templates/appointments/show.mako, waskaweb/templates/casemanagement/new_appointment.mako, waskaweb/templates/casemanagement/new_document.mako, waskaweb/templates/casemanagement/rg_aid_overview.mako, waskaweb/templates/documents/upload_body.mako, waskaweb/templates/main_login.mako: modusfields added, login screen [70e424fab940] * waskaweb/templates/casemanagement/repeat.mako: merged [9756851be688] * waskaweb/public/styles/color3.css, waskaweb/public/styles/ie6.css, waskaweb/public/styles/screen.css, waskaweb/templates/login.mako, waskaweb/templates/main_login.mako: modusbox width, login ff waska [0153d528c942] 2007-11-14 benni * waskaweb/public/styles/screen.css: header fontsize of main nav fits with gliederung headers [f38ee62238fc] * waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/appointments.mako, waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/main.mako: modusbox in documents and appointments [e6079cedff6e] * waskaweb/public/styles/all.css, waskaweb/public/styles/color3.css, waskaweb/public/styles/ie6.css, waskaweb/public/styles/screen.css, waskaweb/templates/main.mako: fallback solution: gliederung, legends, border. position abmelden changed [9900cade6e89] * waskaweb/templates/casemanagement/digest.mako: sentence corrected: hier wird zusammenfassung [408e6617ab9f] * waskaweb/templates/casemanagement/overview.mako: select field in "fallakten übersicht" commented out [8c36e4adf8a9] * waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css: added min-height fast hack for ie6 [97d1fd72a745] 2007-11-15 Torsten Irlaender * formed/statement.html, waskaweb/controllers/statement.py, waskaweb/model/agency.py, waskaweb/templates/statement/edit.mako: Fixed printing of the privacy statement [58bb7fa9b570] * waskaweb/controllers/administration.py, waskaweb/controllers/usersettings.py, waskaweb/model/user.py: Fixed missing standin user object on showing user details in admin view [b141af39e294] * waskaweb/lib/casedata.py, waskaweb/model/user.py: User can now modify their standin. [11f86aaf25f7] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/templates/casemanagement/repeat.mako: Merged [852f91b659b6] 2007-11-15 teichmann * waskaweb/lib/security.py: Removed logging of connection url on DB connect. The url contains the password of user the current user in plain text. [307c5d434306] * waskaweb/templates/casemanagement/dialogs/notificate_import_dub.mako : Added missing template for error handling for PDF import. [15cb70a5d539] 2007-11-14 teichmann * waskaweb/controllers/case.py: - Exceptions in PDF import are no longer reported as Tracebacks. - Changed text of 'kundennummer' duplications a bit. [5019618f6127] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/lib/pdfimporter.py: Redirect to overview after successfull PDF-Upload. Check for duplications of 'kundennummer'. [ef171e7c2589] 2007-11-15 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/lib/validators.py, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/casemanagement/repeat.mako, waskaweb/templates/casemanagement/rg_aid_overview.mako: Implemented setting stanin an editor for cases. Renamed repeat.mako to rg_aid_overview.mako [18e894e5546f] 2007-11-14 Torsten Irlaender * waskaweb/templates/casemanagement/repeat.mako: Fixed issue35. Application stays in edit-mode when selecting an aid object [13d6ccc1038f] 2007-11-14 benni * waskaweb/model/file.py: Added helper import [c2e4816da76c] * waskaweb/lib/renderer.py, waskaweb/public/no-certificate.html, waskaweb/templates/main.mako: Merged with main [5e00cb3bcdb6] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/new.mako, waskaweb/templates/main.mako: typos t01-t04, onclick event is now available in the templates [dfe0fa8397c0] * formed/formedtree_web.xml, waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css: formular boxes fixed, legends without strikeout. [f21362728490] * formed/formedtree_web.xml, waskaweb/model/objects.py, waskaweb/templates/administration/change_password.mako, waskaweb/templates/administration/change_password_login.mako, waskaw eb/templates/administration/dialogs/notificate_setpassword.mako, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/start/settings.mako: merged [e90df7e997d2] 2007-11-13 benni * waskaweb/public/styles/screen.css: .. [d137d3f1c09f] * waskaweb/public/styles/color3.css, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: icons, contentheader formats [901ce6d667f7] * formed/formedtree_web.xml, waskaweb/public/styles/all.css, waskaweb/public/styles/color3.css, waskaweb/public/styles/ie6.css, waskaweb/public/styles/print.css, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: new contentheader, forward backward navigation deleted, spacing tables, spacing p, div container adminnavigation fixed, modusfield displayed correct in casemanagement, problems: legend, left menu ff, format formulars [1623e3a36e15] 2007-11-12 benni * waskaweb/public/styles/all.css, waskaweb/public/styles/color3.css, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: fixed jumping div content container (ie browser) [c5c152b70984] * formed/formedtree_web.xml: reverted form [76ca117c18e3] * waskaweb/model/ka_data.py, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: merged [cc7d834f87b3] * waskaweb/lib/renderer.py, waskaweb/public/styles/all.css, waskaweb/public/styles/color3.css, waskaweb/public/styles/ie6.css, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: layout [6c0e5f4e3489] 2007-11-09 benni * formed/formedtree_web.xml: merged [2559c9f99a33] * waskaweb/public/styles/ie6.css, waskaweb/public/styles/screen.css: ie6css [b0c8184d438b] * formed/formedtree_web.xml, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako: small changes functionality [0c12d266227a] 2007-11-08 benni * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/public/styles/color3.css, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: element "datenschutz". trying to implement new functionality in the menubar [cbc0dd3f1ea9] * waskaweb/public/styles/color3.css, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: merged [84d5344c380b] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: new modusfield position. casemanagement header changednew modusfield position. casemanagement header changed.. [41030c8f7c5b] * waskaweb/public/styles/color3.css, waskaweb/public/styles/screen.css: new elements positioned and colored. [711e63c2e84e] 2007-11-07 benni * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: New elements created, left menu and casemanagement [75acab90c638] * waskaweb/public/styles/color3.css, waskaweb/public/styles/screen.css: news elements positioned [a32b5298ae49] * merged [d51771e34199] * sicherung pull [a7869c0cdde8] 2007-11-06 benni * waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: uberschriften in content_header [e8a9ab89caf0] * waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: modusfield in contentheader eingepflegt C D modusfield u [9ddf7db93936] 2007-11-14 Torsten Irlaender * waskaweb/lib/casedata.py: Merged [fa0a3bcf8227] 2007-11-14 teichmann * waskaweb/lib/renderer.py, waskaweb/model/navigation.py, waskaweb/public/js/check.js, waskaweb/public/no-certificate.html, waskaweb/templates/main.mako: Added simple JavaScript check for modifications for formular data. [770134d740eb] 2007-11-13 Torsten Irlaender * Merged [d0d434b2774c] 2007-11-13 frank * waskaweb/templates/statement/dialogs/missing_statement.mako: Tippfehler im Hinweistext korrigiert, kleine Verkürzung des Textes. [fecc59e5b7e0] 2007-11-13 Torsten Irlaender * Merged [42ca86d1f575] * waskaweb/model/objects.py, waskaweb/templates/administration/change_password.mako, waskaweb/templates/administration/change_password_login.mako, waskaw eb/templates/administration/dialogs/notificate_setpassword.mako, waskaweb/templates/start/settings.mako: Merged [c54c685ff541] 2007-11-13 teichmann * waskaweb/lib/pdfimporter.py: Fix for issue68 [42fc3a7de31f] 2007-11-13 Torsten Irlaender * waskaweb/lib/casedata.py: Merged [5c642d382dc6] * Merged [7e279dd80d7f] * Merged [40f9fefc3b65] 2007-11-13 teichmann * merged. [55be1fe1f989] * waskaweb/lib/pdfimporter.py: Fix for issue73 [02daa3e71dd7] 2007-11-13 Torsten Irlaender * waskaweb/lib/casedata.py: Merged [8d0bc0f7f32f] 2007-11-13 teichmann * formed/formedtree_web.xml, waskaweb/lib/pdfimporter.py: Fix for issue106. [6fa32c5134fb] * merged [d9c6b2c55860] * waskaweb/lib/casedata.py: Bug fix for DB code of PDF-Importer. [4f787bc8f04b] 2007-11-14 Torsten Irlaender * waskaweb/lib/casedata.py: Fixed issue88. German date format in aid list. [a9bc621185a2] 2007-11-13 Torsten Irlaender * waskaweb/controllers/usersettings.py, waskaweb/templates/administration/show_user_body.mako, waskaweb/templates/usersettings/edit_standin.mako: Standinuser is now show in the user details. Further the section box in the edit standin dialog is now preselected with the current standin [4ec861d0665d] * waskaweb/model/user.py: Userobjects now include the standin user. [39a5390e43b1] * waskaweb/controllers/administration.py, waskaweb/controllers/usersettings.py, waskaweb/controllers/waska.py, waskaweb/lib/base.py, waskaweb/templates/administration/change_password.mako, waskaweb/templates/administration/change_password_login.mako, waskaw eb/templates/administration/dialogs/notificate_setpassword.mako, waskaweb/templates/start/settings.mako, waskaweb/templates/usersettings/change_password.mako, waskaweb/templates/usersettings/change_password_login.mako, waskaweb/templates/usersettings/dialogs/notificate_setpassword.mako, waskaweb/templates/usersettings/show_settings.mako: Moved fuctions to change the userpassword (by the user) to the usersettings controller. [0692adf2c56a] * waskaweb/model/file.py: Added new file holding the fileobjects [281e44355a70] * waskaweb/templates/administration/dialogs/notificate_deleteuser.mako : Added short dialog telling the user that the the deletion of users are not implemented yet [5d8ea14e4943] * waskaweb/controllers/usersettings.py, waskaweb/templates/usersettings/edit_standin.mako, waskaweb/tests/functional/test_usersettings.py: Added new controller and template for handling the usersettings [95151675460b] * waskaweb/controllers/administration.py, waskaweb/controllers/case.py, waskaweb/controllers/document.py, waskaweb/controllers/waska.py, waskaweb/lib/security.py, waskaweb/lib/validators.py, waskaweb/model/objects.py, waskaweb/model/user.py, waskaweb/templates/start/settings.mako: Refactored UserObject, Added dialogs for setting the user's standin [cb46a4b1712d] * waskaweb/lib/casedata.py: Fixed issue111 [e89624a15815] * waskaweb/controllers/administration.py: Added notification on user deletion which tells the user that deleiting is not implementend in the beta version yet [e19a23ad5838] * waskaweb/templates/casemanagement/evaluation_result.mako: Fixed issue108: Renaming "Erstberatung" -> "Beratungskunde" [1f573f7005ee] * waskaweb/lib/evaluation.py, waskaweb/templates/casemanagement/digest.mako: Fixed issue 98. Implemented right join for evaluations and make debugging output is going to sys.stderr. [518607052035] * waskaweb/templates/casemanagement/overview.mako: Added short output if the search did not return a result [05f6839ab6bf] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/lib/validators.py, waskaweb/templates/casemanagement/overview.mako: Implemented search for cases [8e3105d4d7a1] * waskaweb/controllers/statement.py, waskaweb/templates/statement/dialogs/missing_statement.mako, waskaweb/templates/statement/edit.mako: Fixed issue110. Changed texts for dialogs handling missing statements. [624acc5b2c35] 2007-11-12 Torsten Irlaender * waskaweb/templates/casemanagement/formular.mako: Fixed issue104. [3472a9a55f52] * Merged [db1f51a5d337] * waskaweb/templates/administration/new_user_result.mako: Fixed issue102: Resultpage on user creation now displays the correct value for the users login [5cb988828fa8] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py: Merged [36a8a404829f] 2007-11-12 teichmann * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/lib/pdfimporter.py: Write PDF import to DB. [e1db87265cf7] 2007-11-12 Torsten Irlaender * waskaweb/controllers/administration.py: Fixed issue103. Confirmation dialog on user deleting is now more verbose [0a25f2e3998c] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/model/agency.py: New created cases are now initialised with ka specific data and the name of the current user. [8d6680fbea2b] * waskaweb/controllers/case.py, waskaweb/controllers/statement.py, waskaweb/lib/casedata.py, waskaweb/model/statement.py, waskaweb/templates/casemanagement/main.mako: The statement flag can now be saved [50725195641c] * waskaweb/controllers/administration.py, waskaweb/controllers/statement.py, waskaweb/lib/validators.py, waskaweb/model/agency.py, waskaweb/model/ka_data.py, waskaweb/templates/administration/edit_settings.mako, waskaweb/templates/administration/show_settings.mako, waskaweb/templates/main.mako: KA settings are now editable by the administrator. Setting include: * Name of the KA * Name of the FKZ * Html content for the privacy statement * Flag for anonymous syncing with the DLR [b9c97dee9014] 2007-11-09 teichmann * waskaweb/model/navigation.py: Added navigation for Kontaktdaten. [8677d5b7a116] 2007-11-09 Torsten Irlaender * formed/formedtree_web.xml, waskaweb/lib/renderer.py: Fixed renderer. New foredtree version [13b80dfe8af8] * waskaweb/lib/validators.py: Disabled form validation on creating new casedata [a0b9842921f9] * formed/formedtree_web.xml: Fixed Layout for "schule" [0bf30dd40d49] * formed/formedtree_web.xml: Merged [1e0d0e804595] * formed/formedtree_web.xml: New formed tree [ce5fda6c8dfd] 2007-11-08 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/lib/validators.py: Prepared form validation on creating new cases. Currently form data is validated but there are no error messages shown if the data is not valid. [803016c272ac] 2007-11-09 teichmann * formed/formedtree_web.xml, waskaweb/lib/pdfimporter.py: New FormEd tree to get in sync with the master web FormEd tree. [442ae9ff7e48] 2007-11-09 teichmann * formed/formedtree_web.xml: New FormEd tree with a new 'einverstaendnis_page' and a new 'einverstaendnis' boolean. [0425a9b9858e] 2007-11-08 teichmann * waskaweb/lib/pdfimporter.py: Try to encode strings which are not unicode with Latin-1 encoding in relation dump of the PDF importer. [609d0089ecc7] * waskaweb/lib/pdfimporter.py: Added remap for 'Kompetenzagentur' -> 'Kundenummer' in PDF importer. [74ebd9fac215] * waskaweb/lib/pdfimporter.py: Added remaps in PDF importer to handle version differences between 1.0 an 1.1+ for 'Foerderplanung.' [6fe3c206dd0f] 2007-11-08 Torsten Irlaender * Merged [c87dc544a89f] 2007-11-08 teichmann * formed/formedtree_web.xml: Changed choice bools sonstiges all to value -2 [fd60d9356483] * waskaweb/lib/pdfimporter.py: Add support for PDF combo boxes. [fb281b764a84] 2007-11-08 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/new.mako: Display the nag screen for missing privacy statement on creation of new cases [179ddd501342] * waskaweb/templates/statement/dialogs/missing_statement.mako, waskaweb/templates/statement/edit.mako: Changed (cleaned up) options in the nag screen which is shown when the privacy statement is missing. [6918e885efe7] * Merged [aa6e7bf86046] * waskaweb/lib/validators.py: Fixed issue86: Max length of the login is now checked while creating the user. [4cfff6441c7e] * waskaweb/templates/casemanagement/new.mako: Fixed path to the inherited main template [43603507c80d] * waskaweb/config/routing.py, waskaweb/controllers/case.py, waskaweb/controllers/statement.py, waskaweb/lib/casedata.py, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/new.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/main.mako, waskaweb/templates/statement/default_statement.mako, waskaweb/templates/statement/dialogs/confirm.mako, waskaweb/templates/statement/dialogs/missing_statement.mako, waskaweb/templates/statement/edit.mako: Changed workflow regarding to handling missing privacy statements. Now we show up a nag screen everytime the user selects a case which does not have a signed privacy statement. The user can then decide how to proceed. This behaviour differs from the former way where the user needs to set the statement on creation of a new case. The changes mainly includes adding a new controller and template files for handing web requests for the statement. Further some changes on some other places to bind in the current workflow. [281b94734982] 2007-11-07 Torsten Irlaender * waskaweb/model/ka_data.py: Added new class under model which will hold information about the agency. [20c7e4411035] 2007-11-07 teichmann * formed/formedtree_web.xml: Added alternatives for 'Familiare Situation' [9863127147b6] * formed/formedtree_web.xml: New FormEd tree with alternatives for 'Begleitung'. [30f9ab988fda] * waskaweb/lib/pdfimporter.py: Added a remap dictionary to PDF importer to map XFA fields that are modeled differently in FormEd. [b29ad9891970] * formed/formedtree_web.xml, waskaweb/lib/pdfimporter.py: New FormEd tree with 'arreitsmarkt' alternative for 'arbeitsmarkt' [27daa8d092bb] * formed/formedtree_web.xml: New FormEd tree with alternatives for 'Verfahren_Kompetenzfeststellung' [8e22fb3f4b2e] * waskaweb/model/semantic.py: Added support for ISO noted dates. [4e04fe87279f] * formed/staatsangehoerigkeit.xml, waskaweb/model/semantic.py: Using 'alternative' attribute in PDF import. [4a2668f68f81] 2007-11-07 Torsten Irlaender * Merged [013652fb6e68] 2007-11-07 teichmann * waskaweb/model/semantic.py: Added support for date of form 'dd.MM.yy' if yy > 0 and y < 70 then 2000 is added to year if yy >= 70 and y < 100 then 1900 is added to years [3220d597c5b2] * waskaweb/model/nodecomponents.py, waskaweb/model/semantic.py: Add support for 'alternative' attribute in node components. [63980b3c07c2] 2007-11-07 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/organisation.mako: Selection list in the case organisation ist now generated with the actual users in the db. [9783e8bd31b6] * formed/waska-hilfetexte.xhtml, waskaweb/lib/formular_help.py: Added files needed for diplaying help texts in the formular [d538a683b270] * waskaweb/model/navigation.py: GetHeaders function now returns a list of headers which represents the path to the selected formular item. [ac71c25c2515] 2007-11-06 Torsten Irlaender * waskaweb/config/routing.py, waskaweb/controllers/case.py, waskaweb/lib/app_globals.py, waskaweb/lib/renderer.py, waskaweb/templates/casemanagement/help.mako: Implemented help on the formular pages again. Added new functions and templates to access the help from within the formular. The helpdata is loaded once on application startup. [ad2a5783bbd8] * waskaweb/lib/helpers.py, waskaweb/model/navigation.py: Added function to fetch the headers for a particular site. [1e4874d775b1] * waskaweb/templates/casemanagement/static_form/page_0.mako, waskaweb/templates/casemanagement/static_form/page_1.mako, waskaweb/templates/casemanagement/static_form/page_10.mako, waskaweb/templates/casemanagement/static_form/page_11.mako, waskaweb/templates/casemanagement/static_form/page_12.mako, waskaweb/templates/casemanagement/static_form/page_13.mako, waskaweb/templates/casemanagement/static_form/page_14.mako, waskaweb/templates/casemanagement/static_form/page_15.mako, waskaweb/templates/casemanagement/static_form/page_16.mako, waskaweb/templates/casemanagement/static_form/page_17.mako, waskaweb/templates/casemanagement/static_form/page_18.mako, waskaweb/templates/casemanagement/static_form/page_19.mako, waskaweb/templates/casemanagement/static_form/page_2.mako, waskaweb/templates/casemanagement/static_form/page_20.mako, waskaweb/templates/casemanagement/static_form/page_21.mako, waskaweb/templates/casemanagement/static_form/page_22.mako, waskaweb/templates/casemanagement/static_form/page_23.mako, waskaweb/templates/casemanagement/static_form/page_24.mako, waskaweb/templates/casemanagement/static_form/page_3.mako, waskaweb/templates/casemanagement/static_form/page_4.mako, waskaweb/templates/casemanagement/static_form/page_5.mako, waskaweb/templates/casemanagement/static_form/page_6.mako, waskaweb/templates/casemanagement/static_form/page_7.mako, waskaweb/templates/casemanagement/static_form/page_8.mako, waskaweb/templates/casemanagement/static_form/page_9.mako, waskaweb/templates/casemanagement/static_form/rg_beruf_quali.mako, w askaweb/templates/casemanagement/static_form/rg_berufsvorbereitung.m ako, waskaweb/templates/casemanagement/static_form/rg_foederung_allg emein_bildener.mako, waskaweb/templates/casemanagement/static_form/r g_lebensbewaeltingung.mako: Removed unneeded old static html formular pages [60c57e018687] * waskaweb/model/objects.py: Fixed unicode decode error [4ff300209719] * waskaweb/templates/administration/dialogs/notificate_setpassword.mak o, waskaweb/templates/dialogs/notification.mako: Added notification Dialog. This can be uses to indicate the user if an action was completed successfull or if there where any errors. First use of this new dialog is to the indicate the user his password change [787e8185d92b] * waskaweb/templates/administration/edit_user.mako, waskaweb/templates/administration/show_user_body.mako: Templates to show the user data now fetches the users role by calling the getRole() function of the user class. [e510b5d2bafb] * waskaweb/lib/helpers.py, waskaweb/model/objects.py: Impelemented getRole function in user class which returns the users role. Modified helpers getRole function so that it uses the new created get role function. Further adopted sql query the fetch oid of the user [b8b8415e0a84] 2007-11-06 teichmann * formed/formedtree_web.xml, waskaweb/lib/security.py: New FormEd-Tree [369e9b6f8657] 2007-11-05 Torsten Irlaender * Merged [84930cc7c8da] 2007-11-05 teichmann * waskaweb/lib/base.py, waskaweb/lib/security.py: Changed access to client side certificate to new way. [fb6257c4b77c] 2007-11-05 Torsten Irlaender * Merged [2ff47be6fe87] * waskaweb/controllers/administration.py: Users can now change their password. This can be sone in two ways: 1. The user is forced to change his password on login. 2. The user changes his password in the user settings. [5f831ccde336] * waskaweb/controllers/administration.py, waskaweb/model/objects.py, waskaweb/templates/administration/change_password_login.mako: User can now change their password. This can be done in two ways: 1. The user is forced to change its username on logon. 2. The user changed his password in his user settings. [a17cec7ab4dc] * Merged [ccabcb4b21b9] * waskaweb/controllers/administration.py, waskaweb/model/objects.py: Users can now set their own password in the user settings [4f6b0b14e87d] * Merged Benni's stylesheets [ed2bba861313] * waskaweb/public/styles/all.css, waskaweb/public/styles/color3.css, waskaweb/public/styles/ie6.css, waskaweb/public/styles/print.css, waskaweb/public/styles/screen.css, waskaweb/templates/main.mako: Added IE specific stylesheet [5e4736bc2f8a] * waskaweb/public/styles/all.css, waskaweb/public/styles/color3.css, waskaweb/public/styles/ie6.css, waskaweb/public/styles/print.css, waskaweb/public/styles/screen.css, waskaweb/templates/main.mako: Added new stylesheets from benni [26acc4b03a9d] 2007-11-02 benni * waskaweb/public/styles/color3.css: farbänderung für layout.. aukommentiert [836337c5ff30] 2007-11-01 benni * waskaweb/templates/main.mako: eintrag ie6.css rightheader id eintrag [091ea1a8727a] * waskaweb/public/styles/all.css, waskaweb/public/styles/ie6.css, waskaweb/public/styles/screen.css: anpassungen der legend, headerabstand... [e58512ec9f93] * waskaweb/public/styles/all.css, waskaweb/public/styles/color3.css, waskaweb/public/styles/ie6.css, waskaweb/public/styles/print.css, waskaweb/public/styles/screen.css: ufholen der verlorengegangenen änderungen [8f109bfe49f4] 2007-10-31 benni * waskaweb/public/styles/all.css, waskaweb/public/styles/color3.css, waskaweb/public/styles/old_css/all.css, waskaweb/public/styles/old_css/color3.css, waskaweb/public/styles/old_css/print.css, waskaweb/public/styles/old_css/screen.css, waskaweb/public/styles/print.css, waskaweb/public/styles/screen.css: Moved all styles into old_css [0b6a11ec0324] 2007-11-05 Torsten Irlaender * Merged [3466b753ebe4] * waskaweb/model/objects.py, waskaweb/templates/administration/edit_user.mako, waskaweb/templates/administration/new_user.mako, waskaweb/templates/administration/new_user_result.mako, waskaweb/templates/administration/show_user_body.mako: Added two additional fields "roomnumber" and "branchoffice" to the formular. [5078bcb1f328] * waskaweb/model/objects.py: Fixed naming of a column in the database. [7ff1d2ee4222] * waskaweb/templates/main.mako: Evaluate function is now shown for the admin too [3bea945ca391] 2007-11-02 Torsten Irlaender * Merged [ab9726b46873] 2007-11-02 teichmann * waskaweb/lib/base.py, waskaweb/lib/security.py, waskaweb/public/no- certificate.html: Added redirect if no valid certificate was found. [1511030fb80b] 2007-11-02 Torsten Irlaender * waskaweb/controllers/administration.py, waskaweb/lib/validators.py, waskaweb/model/objects.py: Adopted functions for creating new users and reseting their passwords. The functions has moved in the underlying db-scheme from the waska_maintenance into the ka-db. [8073cae856cd] * waskaweb/model/objects.py: Added additional fields to the user class. [e4b869710aae] * waskaweb/model/objects.py: Adpopted sql statement to changes in the table structure ok ka_benutzer_tbl [78b071a482b2] 2007-11-01 Torsten Irlaender * waskaweb/controllers/administration.py, waskaweb/lib/validators.py, waskaweb/model/objects.py, waskaweb/templates/administration/change_password.mako: Added validation on forumalar data when the user tries to change his password. This includes: Checking min length -> currently 8 Checking if the password includes at least 2 not alpha chars Checking if the the user entered same password in password conformation field. If an error occours the user gets presented a formular error page [346a1c2f37b4] 2007-10-31 Torsten Irlaender * waskaweb/controllers/administration.py, waskaweb/controllers/waska.py, waskaweb/lib/base.py: Moved checks if the user needs to change his password or the user account is deactivated at all to base.py. This way we can guarantee that no unathorized users can login. [ff60e0bfdb06] * waskaweb/controllers/administration.py, waskaweb/controllers/waska.py, waskaweb/templates/administration/account_deactivated.mako, waskaweb/templates/administration/change_password_login.mako: User who will need to reset their password or are deactivated by the administration are now redirected on a stub page which need to be filled with functionallity. [a270b3b9b839] * waskaweb/public/styles/screen.css, waskaweb/templates/login.mako, waskaweb/templates/logout.mako, waskaweb/templates/main_login.mako: Login and Logout are now inherited by a new main_login.mako template. Added a small piece of style sheet for the new template. [b968edd43c76] * waskaweb/controllers/administration.py, waskaweb/controllers/waska.py, waskaweb/templates/administration/change_password_login.mako: Aadded switch to redirect to user to a special "reset password" page if the user flag is set that the user needs to change his password on login. [b55ecc1b0280] * waskaweb/controllers/waska.py, waskaweb/templates/administration/show_user.mako, waskaweb/templates/administration/show_user_body.mako, waskaweb/templates/start/settings.mako: Users can now view their own account settings. [977667b58874] * waskaweb/controllers/waska.py, waskaweb/lib/helpers.py, waskaweb/templates/main.mako: Added getUserId() helper function which returns the id of the currently loggend in user (id in the ka_benutzer_tbl) Added this id into the main template to be able to display the users setting. [16b659a8bcb9] * Merged [47fd9329d1d4] 2007-10-31 teichmann * waskaweb/lib/pdfimporter.py: PDF-Import: Fixed context problem with unset context in Unterstuetzungs-RGs. [a2fd93b48d7a] * waskaweb/controllers/case.py, waskaweb/lib/pdfimporter.py: Tweaked PDF-Importer to support RGs. [3f53729fbcab] 2007-10-31 Torsten Irlaender * waskaweb/controllers/waska.py, waskaweb/lib/helpers.py, waskaweb/lib/security.py, waskaweb/model/objects.py: A user object is now created on login which holds more information about the currently logged in user. This includes fullname, and some flags indicating if the user will need to reset his pass are is allowed to login at all. This change involves further changes: * check_login now returns a user object instead of the user's role * adopted helpers to get the user role out of the user objects. [9b1bf0582a5c] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot: Updated translation of the user administration. Some strings are still hardcoded in the templates and the controllers [29a663d166d9] 2007-10-30 Torsten Irlaender * waskaweb/controllers/administration.py, waskaweb/lib/validators.py, waskaweb/model/objects.py, waskaweb/templates/administration/edit_user.mako, waskaweb/templates/administration/new_user.mako, waskaweb/templates/administration/new_user_result.mako, waskaweb/templates/administration/reset_password.mako, waskaweb/templates/administration/show_user.mako, waskaweb/templates/main.mako: Mainly added editing user data and resetting userpassword [00479fc796c0] * waskaweb/controllers/administration.py, waskaweb/model/objects.py, waskaweb/templates/administration/new_user.mako, waskaweb/templates/administration/new_user_result.mako: Added first version of adding new users [e20b7a6f05df] * waskaweb/lib/validators.py: Added library for checking formular values using formencode [36ba6143a8ee] * waskaweb/lib/security.py: The databasename fetched from the SSL certificate is now stored lowercase in the session [1e0aed0affe3] * development_wsgi.ini: Added config var with the name of the maintenance database [259cb707019d] 2007-10-26 Torsten Irlaender * waskaweb/controllers/administration.py, waskaweb/controllers/case.py, waskaweb/model/objects.py, waskaweb/templates/administration/overview_user.mako, waskaweb/templates/administration/userform_body.mako, waskaweb/templates/casemanagement/overview.mako: Userlist is now generated from db content. Userdetails are now generated from db content. [3d5b8c4aed84] * waskaweb/config/routing.py: Fixed "broken" routing on deleting cases [13ec89c2e57a] * waskaweb/templates/casemanagement/repeat.mako: Removed Header and Actions links from repeatgroup listing [817a7cc0369f] * waskaweb/lib/casedata.py: Fixed typo in function call Removed unneeded constant var and modified create_statement to make use of prepared statements [ca21bf0033ec] * waskaweb/lib/casedata.py: Activated deleting of untrstützungsangebote [01eca0a0c999] 2007-10-25 Torsten Irlaender * Merged [8c9cbab9022e] 2007-10-25 teichmann * waskaweb/public/styles/all.css, waskaweb/public/styles/color3.css, waskaweb/public/styles/screen.css: New CSS files with different colors. [e0135d2b42ad] 2007-10-25 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/overview.mako: Fixed ISE on selecting digest of a case Fixed part 1 of issue 61 [a2ee8372009c] * waskaweb/templates/casemanagement/evaluation_result.mako: fixed type in style definition [18f73a105430] * waskaweb/lib/helpers.py: Removed locale information. Need to be set now in wsgi starter script [ee4de6aef448] 2007-10-25 teichmann * waskaweb/controllers/case.py: Fixed an accidental toggle after edit a formular page. [ea3e5cc25675] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/templates/casemanagement/formular.mako: Select a dataset after upload from PDF. [dd7ce9a0e68b] 2007-10-25 Torsten Irlaender * waskaweb/templates/casemanagement/overview.mako: Removed doubled header in overview [6e621126500a] * waskaweb/templates/main.mako: Fixed call for evaluation [bc466fd5e540] * waskaweb/controllers/case.py, waskaweb/lib/helpers.py, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/main.mako: Moved printing dialog for the case digest on the left side. Needed to write some extra logic here as we can not determine needed info out of the inheritance of the templates anymore. [6269fe79a394] * waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/main.mako: Moved actions links from page to the left side. [b973f0ce4e69] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py: Merged [8877fcf6894a] 2007-10-25 teichmann * waskaweb/controllers/case.py: Disable debug info after upload and redirect to edit page 0. [ab869259c792] * formed/formedtree_web.xml: New FormEd tree [c7ca9d8612de] 2007-10-25 Torsten Irlaender * waskaweb/config/routing.py, waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/templates/casemanagement/repeat.mako: Cleaned up routing paths [f7bf9494797d] 2007-10-25 teichmann * formed/formedtree_web.xml, waskaweb/lib/casedata.py, waskaweb/lib/pdfimporter.py: Use new FormEd tree [18af50f62b75] 2007-10-24 Torsten Irlaender * waskaweb/lib/casedata.py: Activated creation of embedded repeat group "massnahme" [1688569ba12f] * waskaweb/config/routing.py, waskaweb/templates/casemanagement/evaluation_result.mako: Added route for evaluation downloads so that the downloaded csv file has the correct file suffix. [3abb686a80c8] 2007-10-24 teichmann * formed/formedtree_web.xml, waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/model/navigation.py: Make Kompetenz RG data accessible [e55b643916d1] 2007-10-24 Torsten Irlaender * Merged [a72cda826c39] 2007-10-24 teichmann * formed/formedtree_web.xml: A new FormEd tree [3f1b5a75303f] 2007-10-24 Torsten Irlaender * waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/evaluation_result.mako: Modified the evaluation result page to make it look cleaner. [24d1dc804c74] * Merged [dbf264a73b6c] 2007-10-24 teichmann * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/model/navigation.py: First commit on the kompentenz RG navigation. Not working yet. [946568758675] 2007-10-24 Torsten Irlaender * waskaweb/lib/evaluation.py: Fixed wrong calculations in evalutation. [e1c156daf55e] 2007-10-23 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/model/navigation.py: Merged with Sascha. Hopfully nothing broke up while 3way merge using kdiff [df11c4a18105] 2007-10-23 teichmann * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/model/navigation.py: Add factory model for Navigation tree. [a44c67e5d8c3] 2007-10-23 Torsten Irlaender * waskaweb/public/images/error_small.png: Added mini error icon [2d8683c15e95] * waskaweb/controllers/case.py, waskaweb/lib/helpers.py, waskaweb/lib/renderer.py, waskaweb/model/navigation.py, waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: Added error summary on the top of the forular page Moved form action to the left side into the main navigation Marked navigation tree items if the pages are faulty Linked error messages Added image next to formfield to indicate errors [df2522b49dec] * waskaweb/controllers/case.py: Merged [d87a76f570b8] * waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/main.mako: Modified navigation. might look a little bit bad at the moment. Added error summary on the top of the formular page. [61a3e2f3da59] 2007-10-23 teichmann * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/lib/pdfimporter.py: Created RGs when import case from PDF. [9901565fadb0] 2007-10-23 Torsten Irlaender * waskaweb/lib/renderer.py: Prepared ErrorItem to eat the widget description [c8310a4b5d74] * waskaweb/controllers/case.py: Error Item now eats the descriotion of the widgets it holds the error. (needed for error summary) [96fb31a258f8] * waskaweb/controllers/case.py: Reactived display of formular errors in the formualar [c769acbec8df] * waskaweb/lib/helpers.py: Added helper function for fetching error messages in formular page [67df8bfa1fde] * waskaweb/lib/renderer.py: Prepared ErrorItem for fetching data from the formedtree [f6de58cffd8f] * Merged [33969efdd9f5] 2007-10-23 teichmann * waskaweb/lib/pdfimporter.py, waskaweb/templates/casemanagement/upload.mako: Fix for issue42 [e821dd7d9ef1] 2007-10-23 Torsten Irlaender * waskaweb/config/routing.py, waskaweb/controllers/case.py: Fixed ISE when creating new a new dataset without signed statement. [78a4faef26a6] 2007-10-22 Torsten Irlaender * Merged [c23a9343b5a9] 2007-10-22 teichmann * waskaweb/public/images/logo_ka_75.png: Exchanged KA logo with a smaller one in terms of byte size. [df44c2a3fba5] 2007-10-22 Torsten Irlaender * waskaweb/controllers/appointment.py: Fixed ISE on creating new appointment [d9b808901f84] * waskaweb/config/routing.py, waskaweb/controllers/administration.py: Fixed ISE on unimplementes functions in user administration [4bd6b573aab3] * waskaweb/controllers/case.py: Fixed updating infobox when saving casedata [b245c3b402ad] * waskaweb/lib/evaluation.py: Fixed some issues on evaluation. [faf9feccdb48] * waskaweb/controllers/evaluate.py, waskaweb/lib/casedata.py, waskaweb/lib/renderer.py, waskaweb/model/semantic.py, waskaweb/templates/casemanagement/evaluation_result.mako: Changed connection recycling in evaluations Fixed various unicode errors in semantic checker and renderer Fixed broken checkbox renderer (for imported formulars). [20d11be9e395] * waskaweb/controllers/evaluate.py, waskaweb/templates/casemanagement/evaluation_result.mako: Removed eval 10 [8bad1ddc202c] * waskaweb/lib/evaluation.py: Syntax Typo [f7cf9d1be604] * waskaweb/controllers/evaluate.py: Syntax typo [36b84f044706] * Merged [ad78e33d081a] 2007-10-22 teichmann * Merged [3b9884c034f7] * waskaweb/lib/pdfimporter.py, waskaweb/templates/casemanagement/upload.mako: When a relation is empty it is not written. [079866052729] 2007-10-22 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/controllers/evaluate.py, waskaweb/lib/evaluation.py: Test [129a295d27e1] * waskaweb/lib/evaluation.py: Try except block for null values in evaluation [7b8b04b2855d] * Merged [6ac6fbc13140] 2007-10-22 teichmann * waskaweb/controllers/case.py, waskaweb/model/semantic.py: Fixed a small bug preventing PDFs to be stored in DB. [f8e677ef7d14] 2007-10-22 Torsten Irlaender * waskaweb/controllers/evaluate.py, waskaweb/lib/evaluation.py, waskaweb/templates/casemanagement/evaluation_result.mako: Fixed broken evaluation on formdata. results on evaluation can be incorrect because of inkonsistent data in the database. (issue45) [ca4219385e8b] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py: Merge [3763e6e93ecb] 2007-10-22 teichmann * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/lib/pdfimporter.py, waskaweb/model/semantic.py, waskaweb/templates/tests/trace.mako: Write master table entries to DB. [3612ad6d7290] 2007-10-22 Torsten Irlaender * waskaweb/controllers/administration.py, waskaweb/controllers/case.py, waskaweb/lib/casedata.py: Removed broken dynamic userlist Fixed issue40. Staying in edit mode after saving the issue Fixed issue31. Fixed another encoding error which occours when comparing already stored data in the database with new submitted data. [d3aa3c4fb0b9] 2007-10-21 Frank Koormann * waskaweb/lib/helpers.py: (getLogin): New, return login name from session (getRole): New, return role from session (with translation) * waskaweb/templates/main.mako: Use getLogin and getRole to display status information 2007-10-21 Frank Koormann * waskaweb/templates/start/responsible.mako: Tippfehler korrigiert. 2007-10-21 Frank Koormann * waskaweb/templates/start/responsible.mako: Intevation Kontakt umgestellt, Tippfehler korrigiert. * waskaweb/public/images/logo_intevation.png: Auf nontransparent antialiased aktualisiert, passt zu anderen Logos und sieht gefälliger aus. 2007-10-21 Torsten Irlaender * waskaweb/templates/documents/global_overview_body.mako: Added document overview page for global documents [8e2185cfa00c] * waskaweb/controllers/document.py, waskaweb/templates/documents/overview.mako, waskaweb/templates/documents/upload_body.mako: Fixed bug that files are stored with full path when uploading from windows [67245900ec43] * Merge [ce67f58910c8] 2007-10-21 teichmann * waskaweb/lib/pdfimporter.py, waskaweb/model/semantic.py: Added firt version of semantic check for PDF import. [cc944a1841d9] 2007-10-21 Torsten Irlaender * waskaweb/lib/casedata.py: Fixed syntax typo [cffea7995be6] 2007-10-21 teichmann * waskaweb/lib/pdfimporter.py: Better matches for Repeat Groups. [23bafb0a0f46] 2007-10-21 Torsten Irlaender * waskaweb/templates/main.mako: Merge [6c15df658c82] * waskaweb/controllers/evaluate.py, waskaweb/lib/casedata.py, waskaweb/lib/evaluation.py, waskaweb/templates/casemanagement/evaluation_result.mako, waskaweb/templates/casemanagement/repeat.mako, waskaweb/templates/start/start.mako: * Temporalily removed Delete from repeat groups * Work in progress: Get evaluation back to work [ae3108560dd3] * waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css, waskaweb/templates/main.mako: Tried to fix layout issues on IE6. Display should now be ok but not perfect. [2ca7cbe2bbae] 2007-10-21 teichmann * waskaweb/lib/pdfimporter.py: Better support for repeat groups [919ca40f246c] * Merged [48f846c5c6d7] * waskaweb/lib/pdfimporter.py: Introduce relations in PDF import [16f05a5b2c86] 2007-10-21 frank * waskaweb/templates/main.mako: Minor fix for Login status info. [4d9644f35725] * Merge [5f6ab1873119] * ChangeLog, waskaweb/lib/helpers.py, waskaweb/templates/main.mako: * waskaweb/lib/helpers.py: (getLogin): New, return login name from session (getRole): New, return role from session (with translation) * waskaweb/templates/main.mako: Use getLogin and getRole to display status information [5ce8a0ef73b7] 2007-10-21 Torsten Irlaender * waskaweb/controllers/case.py: Fixed Internal Server error in search. (missing controller) [c77c778a3f80] * waskaweb/lib/renderer.py: Fixed issue31. Unicode error [35846695f996] * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/static_form/statement_print.mako: Fixed statement printing [c0bdf2b48c2c] 2007-10-21 frank * ChangeLog, waskaweb/templates/start/responsible.mako: * waskaweb/templates/start/responsible.mako: Tippfehler korrigiert. [1c7f51986b56] * ChangeLog, waskaweb/public/images/logo_intevation.png, waskaweb/templates/start/responsible.mako: * waskaweb/templates/start/responsible.mako: Intevation Kontakt umgestellt, Tippfehler korrigiert. * waskaweb/public/images/logo_intevation.png: Auf nontransparent antialiased aktualisiert, passt zu anderen Logos und sieht gefälliger aus. [f25746b50add] * ChangeLog: * ChangeLog: ChangeLog angelegt [0395dfdb8ede] 2007-10-21 teichmann * waskaweb/lib/pdfimporter.py: More cases for PDF import [76732062be14] * waskaweb/lib/pdfimporter.py: More cases in PDF import [6dfc3e2f79ca] * waskaweb/controllers/case.py, waskaweb/lib/pdfimporter.py, waskaweb/templates/casemanagement/upload.mako: Add some output to PDF import [87f703b2a6e9] 2007-10-21 Torsten Irlaender * waskaweb/lib/casedata.py: Fixes syntax type which prevents case digest ti be displayed correct [a988eccc47f9] * waskaweb/templates/main.mako: * Linked logo with start page * Fixed indention [190fc974fa37] * Merged with main [2e2df774bd4f] 2007-10-20 teichmann * waskaweb/lib/pdfimporter.py: Fixed a few syntax errors in PDF importer. [f1916db5efe6] 2007-10-21 Torsten Irlaender * waskaweb/public/styles/all.css, waskaweb/templates/start/responsible.mako: Set fontsize in tables to 10pt Made the project info page a little bit nicer [2d031cc2a23b] 2007-10-20 Torsten Irlaender * waskaweb/lib/security.py, waskaweb/templates/login.mako, waskaweb/templates/logout.mako, waskaweb/templates/main.mako: Fixed title in templates. Agency name is now saved in the session and is used in title of the templates. [b8a06ec88664] 2007-10-20 teichmann * waskaweb/controllers/case.py, waskaweb/lib/pdfimporter.py, waskaweb/templates/tests/trace.mako: Added a trace Mako template to display tracebacks in HTML result. For debugging purpose only! [5b458c4283de] 2007-10-20 Torsten Irlaender * waskaweb/lib/casedata.py, waskaweb/lib/helpers.py: Hopefully fixed unicode decode error an listing cases, digest and listing aids [d68b98277542] * waskaweb/controllers/evaluate.py, waskaweb/lib/evaluation.py: Commited current version of the evaluation which is still broken. [754211a945f8] * waskaweb/controllers/waska.py, waskaweb/public/images/BMFSFJ_C_M_web.jpg, waskaweb/public/images/eu_logo_4c_pos_web2.jpg, waskaweb/public/images/logo_dlr.png, waskaweb/public/images/logo_intevation.png, waskaweb/public/styles/screen.css, waskaweb/templates/main.mako, waskaweb/templates/start/responsible.mako: Added info page for this project [2b799dc960c9] * waskaweb/controllers/case.py: Added context variable for data_sets [c01e8bcf6782] * waskaweb/lib/helpers.py, waskaweb/model/navigation.py, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/repeat.mako: Implemented dynamic navipath when selecting formular pages. You will need to restart the server an delete your sessiondata. [67736c5c7236] * waskaweb/templates/casemanagement/appointments.mako, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/casemanagement/repeat.mako: Fixed some issues on the navigation path. might need some more work [5cd3b0702fff] * waskaweb/lib/casedata.py: Renamed variable name c to cur because c is already used as context var in pylons. This might lead to problems. [7a16babb13ae] * waskaweb/lib/base.py: Some Cleanup [3da9eff9d198] * waskaweb/templates/casemanagement/repeat.mako: Added roles to repeat groups and inserted short info if no dataset where found [1a6e16f9d65f] * waskaweb/controllers/case.py: Fixed display of the formular when selection appointments, documents etc. in casemode. [4cedbbf4e926] * waskaweb/controllers/case.py: On creation of new Datasets the data of the "einverständniserklärung" is directly stored in the new case. The infofield is now updated when the names in the case changes. [6905bf4549ad] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/templates/casemanagement/static_form/statement.mako: Moved creation of new Datasets into the DSFactory _save Method in the casecontroller now expects a dictionary of lists holding te formulardata instead of an MultiDic. parameter instead of the Pylons [03d86a6ce430] 2007-10-19 teichmann * waskaweb/lib/security.py: Fixed a small syntax typo. [5691e97a310b] 2007-10-19 Torsten Irlaender * waskaweb/lib/security.py: Added check in check_login if we were able to fetch the dbname from the SSL certificate [8036f1ef316f] * waskaweb/lib/base.py, waskaweb/lib/security.py: The database base name is now fetched from the SSL certificate (SSL_CLIENT_S_DN_OU) [cd3546307671] * waskaweb/controllers/case.py, waskaweb/lib/app_globals.py, waskaweb/lib/casedata.py: Implemented deletion of datasets. Fixed bug that admin enters dasedata in edit mode. [9ee135a79236] * development_wsgi.ini, waskaweb/config/environment.py: Moved custom config var from the environment.py to development.ini [ddf8afdc940e] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po: Fixed issue2 and various encoding issues [0d7a284a11d5] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py: Moved creation (sql statements) of master datasets from controller into casedata.lib Prepared casedata.lib for deleting datasets [1434fc59d93a] * waskaweb/controllers/case.py: Fixed Navigation tree. [8c6f23bd1f14] * waskaweb/config/environment.py, waskaweb/lib/app_globals.py: Removed again config var as it seems not be available in globals [44dbd4a18262] * waskaweb/config/routing.py, waskaweb/controllers/case.py, waskaweb/lib/casedata.py: Fixed printout. Fixed creating new aid repeat groups (wrong indention). [83b11057631b] 2007-10-19 teichmann * waskaweb/controllers/case.py, waskaweb/lib/pdfimporter.py: Extract all widgets from FormEd tree and from PDF XFA [9448d4cc0b97] * waskaweb/model/nodecomponents.py: Small fix for visitors. [3b346cd5c407] * waskaweb/model/data.py, waskaweb/model/nodecomponents.py: Removed dynamic behavior of FormEd tree (modes + events) [b9c817f51b29] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py: replaced 'openDocument()' by 'g.formedTree [81ea743f2cab] 2007-10-19 Torsten Irlaender * development_wsgi.ini: Removed missplaced formed.tree from development.ini [079ba55e32dd] * waskaweb/config/environment.py: Added config var for the path to the formedtree [b3a083dd80ae] 2007-10-19 teichmann * Merged [58dbc04f8b03] * development_wsgi.ini, formed/formedtree_web.xml, formed/laender.xml, formed/sprachen.xml, formed/staatsangehoerigkeit.xml, waskaweb/lib/app_globals.py: The FormEd tree is loaded at applikation startup time and published under 'g'. External choices are loaded as well. [eee9afeb3a04] 2007-10-19 Torsten Irlaender * waskaweb/controllers/case.py: Merged with main [a2bbd1067988] 2007-10-18 teichmann * waskaweb/controllers/case.py, waskaweb/lib/pdfimporter.py, waskaweb/templates/main.mako: Added code to upload PDF data from Web-Client, send the data to the pdf2xfa server and convert result to DOM tree. [a0036645cacb] 2007-10-19 Torsten Irlaender * waskaweb/config/routing.py, waskaweb/controllers/administration.py, waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/lib/renderer.py, waskaweb/model/navigation.py, waskaweb/model/objects.py, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/repeat.mako: Impelemted Adding, Listenling and editing of "Untertsützungs" repeat groups. [dce74e98b3e5] 2007-10-18 Torsten Irlaender * development_wsgi.ini: Store sessiondata as file again [de747f6aa275] * development_wsgi.ini: Beaker sessions does not cope with redirects. so disabling this again. [d000b94c3a33] * development_wsgi.ini, waskaweb/config/middleware.py, waskaweb/lib/security.py, waskaweb/model/objects.py: Added development_wsgi.ini with better security for sessions. Sessions are now held in meory and expire after 1800secs (30min) Fixed finally statement in exceptions and syntax [5e69a2528549] * waskaweb/controllers/administration.py, waskaweb/lib/base.py, waskaweb/lib/db_factory.py, waskaweb/model/objects.py: Added some lines to fetch userdata for administration [7f0624d55c7f] * waskaweb/controllers/case.py, waskaweb/model/navigation.py, waskaweb/public/styles/all.css, waskaweb/templates/casemanagement/repeat.mako: * Added overviewpage for the repeatgroups so that it is only one page for all "unterstuetzungsangebote" * Added stub for adding new untertsuetzungsang. in case controller [50d27889c270] 2007-10-17 Torsten Irlaender * waskaweb/model/navigation.py, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/static_form/statement.mako: * Removed numbering in the formular structure * Fixed statement (Einverstaendniserklaerung) [8ff3617bc4e9] * development.ini, waskaweb/config/middleware.py, waskaweb/controllers/administration.py, waskaweb/controllers/appointment.py, waskaweb/controllers/case.py, waskaweb/controllers/document.py, waskaweb/controllers/error.py, waskaweb/controllers/waska.py, waskaweb/lib/base.py, waskaweb/lib/helpers.py, waskaweb/lib/security.py, waskaweb/templates/login.mako, waskaweb/templates/main.mako: Removed authkit and implemented an own sessionbased authentification * Roles are now determined by the user roles of te database users * removed role switching selectbox [93d8e79ac863] * waskaweb/controllers/administration.py, waskaweb/lib/db_factory.py, waskaweb/lib/helpers.py, waskaweb/lib/security.py, waskaweb/model/objects.py, waskaweb/templates/casemanagement/repeat.mako: Implemented loginfunction. Users are now authenticated against the db [8dad867a0f6b] * waskaweb/lib/renderer.py, waskaweb/public/styles/all.css: Added style for disabed select boxes. This does not work fpr IE [40a2a8076464] 2007-10-16 Torsten Irlaender * waskaweb/lib/renderer.py, waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/main.mako, waskaweb/templates/start/start.mako: * Added rendering of "readonly class attribute in renderer * Added readonly css * Reformated templates (indention) * Fixed some sytax errors in html [48a11e098adb] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/lib/renderer.py, waskaweb/templates/casemanagement/main.mako: Did some cleanup in the casecotroller code. Modiefied FormDataImpl. FormDataImpl is now instanciated by providing a nodecomponent instead of a list of widgets. This makes to toolchain which leads to a renderable page a littlebit more easy. [d8bc6264f004] * waskaweb/controllers/case.py, waskaweb/lib/renderer.py, waskaweb/public/styles/all.css: Implemented Read/Write Mode in Formular [486a47b8d0ff] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/templates/casemanagement/static_form/statement.mako: * DataSetDigest: Fix for fetching the wrong names from the db * New DataSet can now be created form the webinterface. TODO: modify create_master_ds so that is takes agruments to be able to create non empty ds. * Replaced session "statement" var by already existing sessions vars. [0c9e07bf11a1] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/lib/db_factory.py, waskaweb/lib/evaluation.py, waskaweb/lib/helpers.py, waskaweb/lib/renderer.py, waskaweb/model/data.py, waskaweb/model/navigation.py, waskaweb/model/nodecomponents.py, waskaweb/model/objects.py, waskaweb/model/semantic.py, waskaweb/public/styles/all.css, waskaweb/templates/appointments/overview.mako, waskaweb/templates/appointments/overview_body.mako, waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/documents/overview_body.mako, waskaweb/view/__init__.py, waskaweb/view/renderer.py: Mainly implemented dynamic formular generation from database. * Formulardata is now filled by data form the database * Formdata ca be saved in the database * Changed formating of numbers to german notation [ebf062d2d3b8] 2007-10-15 Torsten Irlaender * waskaweb/templates/main.mako: Convertet hardcoded absolut urls into a function call "url_for" which hopefully helps generating the correct paths in a wgsi environment. [66961d19139b] * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/appointments/overview.mako: Updated translation [cb5e0b1293d7] 2007-10-14 Torsten Irlaender * waskaweb/config/routing.py, waskaweb/controllers/case.py, waskaweb/lib/helpers.py, waskaweb/model/data.py, waskaweb/model/memory.py, waskaweb/model/nodecomponents.py, waskaweb/model/renderer.py, waskaweb/templates/administration/overview_user.mako, waskaweb/templates/administration/show_user.mako, waskaweb/templates/appointments/overview.mako, waskaweb/templates/appointments/overview_body.mako, waskaweb/templates/appointments/show.mako, waskaweb/templates/casemanagement/appointments.mako, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/evaluation.mako, waskaweb/templates/casemanagement/evaluation_result.mako, waskaweb/templates/casemanagement/export.mako, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/repeat.mako, waskaweb/templates/casemanagement/static_form/rg_beruf_quali.mako, waskaweb/templates/documents/overview.mako, waskaweb/templates/documents/overview_body.mako, waskaweb/templates/main.mako, waskaweb/templates/start/start.mako: * bound in roles in templates. case management should be complete. need some for for documents and appointments. [816163e899fe] 2007-10-12 Torsten Irlaender * waskaweb/config/routing.py, waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/model/objects.py, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/overview.mako: Digest view of the dataset is now driven by data from the database. [979040952845] * waskaweb/controllers/case.py, waskaweb/lib/casedata.py, waskaweb/lib/db_factory.py, waskaweb/model/objects.py, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/main.mako: * Did some renaming on the factorys * Bound in new DB api * Overview is now generated from the db datasets * Removed propritary "alt" attribute in links [a6ac08fe9607] * waskaweb/config/routing.py, waskaweb/controllers/administration.py, waskaweb/public/styles/all.css, waskaweb/public/styles/print.css, waskaweb/public/styles/screen.css, waskaweb/public/styles/web.css, waskaweb/templates/administration/change_password.mako, waskaweb/templates/administration/dialogs/confirm.mako, waskaweb/templates/administration/dialogs/confirm_deleteuser.mako, w askaweb/templates/administration/dialogs/confirm_resetpassword.mako, waskaweb/templates/administration/new_user.mako, waskaweb/templates/administration/overview_user.mako, waskaweb/templates/administration/reset_password.mako, waskaweb/templates/administration/show_user.mako, waskaweb/templates/administration/userform_body.mako, waskaweb/templates/casemanagement/appointments.mako, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/new_appointment.mako, waskaweb/templates/casemanagement/new_document.mako, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/dialogs/confirm.mako, waskaweb/templates/start/settings.mako: Various changes: * Added resetPassworod stub * Added changePassworod stub * Reorganised stylesheet which make them hopefully a littlebit more clear. This should have sived some small layout issues (alignement of headers on tables) * Modified the navipath for administration an the casemanagement. Added to an "selected" item to the casemanagement. [406c7f442977] 2007-10-11 Torsten Irlaender * waskaweb/controllers/dummy.py, waskaweb/lib/helpers.py, waskaweb/templates/main.mako: Added function to remove all views so that we are able to see all parts of the page regardless of the userrole. This is only for tests. [e8eae28f3ce3] * waskaweb/controllers/dummy.py, waskaweb/lib/helpers.py, waskaweb/templates/main.mako: Implemented simple role changer at the bottom of the page. Role will be saved as string for testing. [7b0f52e13914] * waskaweb/lib/helpers.py, waskaweb/templates/main.mako: Added helper function "hasRole" and made use of it in the main.mako template to hide the admin menu. Note that the hasRole always returns False at the moment so the admin menu will be hidden. [baaee347aa9c] * Changelog.txt, waskaweb/controllers/dummy.py, waskaweb/controllers/evaluate.py, waskaweb/lib/evaluation.py, waskaweb/lib/template.py, waskaweb/public/styles/all.css, waskaweb/templates/casemanagement/evaluation_result.mako: Added last missing evalutaion on the casedata. Modified the style for evaluation tables a little bit. Added missing template.py file which is responsible for rendering a customized login form in connection with authkit. [55439d0617ce] * development.ini, waskaweb/templates/login.mako: Added customized loginmask [8b13d369732b] * development.ini, waskaweb/controllers/waska.py, waskaweb/templates/logout.mako, waskaweb/templates/main.mako: Added logout function. Clicking on Logout will remove the authorisation cookie of authkit and throw the user on a logout page. [1639984a3890] 2007-10-10 teichmann * development.ini: Changed port back to 5001 [8e3bf879da7c] * development.ini, waskaweb/config/middleware.py, waskaweb/lib/security.py: Added check for password with custom check function. [ac7aa7d86685] 2007-10-10 Torsten Irlaender * development.ini, waskaweb/config/middleware.py: Added authentification and authorization with authkit [abdb2a8f9dd7] * .hgignore, waskaweb/controllers/waska.py, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/login.mako, waskaweb/templates/main.mako: Added very simple login screen. [178d332edbee] * Merged from main [202d9fd98ba8] * waskaweb/templates/documents/overview_body.mako: Fixed file size in documents overview. Size is now shown in KB [b1483b0f9bfa] 2007-10-10 teichmann * waskaweb/controllers/case.py: Prevent navigaation toggle when displaying first page. [3a7abfabd1c5] 2007-10-10 Torsten Irlaender * waskaweb/lib/evaluation.py, waskaweb/templates/casemanagement/evaluation_result.mako: Fixed ordering on evalaution of the age structure [59d0fbda97e8] * waskaweb/public/styles/all.css: fixed floating labels on checkboxes [798f484a47fe] 2007-10-09 Torsten Irlaender * waskaweb/templates/casemanagement/static_form/rb_lebensbewaeltingung .mako: merged from main [39ca51880951] * waskaweb/public/styles/screen.css: changed fonts for screen to sans-serif [2bee5ee6c531] 2007-10-09 teichmann * Merged! [26fa90a13439] * waskaweb/model/navigation.py, waskaweb/templates/casemanagement/stat ic_form/rb_lebensbewaeltingung.mako, waskaweb/templates/casemanageme nt/static_form/rg_lebensbewaeltingung.mako: Fixed typo rb_ -> rg [aff7578afc55] 2007-10-09 Torsten Irlaender * merged from main [a92f5825e76d] * waskaweb/templates/main.mako: Changed role [117dce9bc36c] 2007-10-09 teichmann * Merged [62ef5b93518d] * waskaweb/templates/casemanagement/static_form/rb_lebensbewaeltingung .mako: Added missing RG template. Added missing RG template. [ff7284154677] 2007-10-09 Torsten Irlaender * waskaweb/templates/casemanagement/evaluation_result.mako: Fixed umlauts in evaluation [f03585a4894b] * waskaweb/controllers/case.py: Type in alert dialog [4e2bcd2b07ec] * waskaweb/controllers/case.py, waskaweb/templates/casemanagement/evaluation_result.mako, waskaweb/templates/casemanagement/organisation.mako: Fixed typos. [d7fe5a6475dd] * waskaweb/controllers/case.py, waskaweb/controllers/document.py, waskaweb/templates/casemanagement/static_form/statement_print.mako, waskaweb/templates/documents/overview_body.mako, waskaweb/templates/main.mako, waskaweb/templates/start/start.mako: Fixed typo and made document uploads and downloads work (only for global docs) [785a0c8859ac] * waskaweb/controllers/case.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/start/settings.mako: Fixed translation [a8dacca79586] * waskaweb/controllers/case.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/public/images/icons/form_help.png, waskaweb/templates/appointments/overview_body.mako, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/static_form/page_0.mako, waskaweb/templates/casemanagement/static_form/statement.mako, waskaweb/templates/documents/overview_body.mako, waskaweb/templates/main.mako, waskaweb/templates/start/start.mako: Added translations [d2740fa1ef88] 2007-10-09 teichmann * waskaweb/controllers/case.py, waskaweb/model/navigation.py, waskaweb/templates/casemanagement/repeat.mako, waskaweb/templates/casemanagement/static_form/page_21.mako, waskaweb/templates/casemanagement/static_form/page_22.mako, waskaweb/templates/casemanagement/static_form/page_23.mako, waskaweb/templates/casemanagement/static_form/page_24.mako, waskaweb/templates/casemanagement/static_form/rg_beruf_quali.mako, w askaweb/templates/casemanagement/static_form/rg_berufsvorbereitung.m ako, waskaweb/templates/casemanagement/static_form/rg_foederung_allg emein_bildener.mako: Add fake repeat group navigation for case managment. [d9f5f39e2fcf] 2007-10-09 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/public/images/alert.png, waskaweb/public/images/error.png, waskaweb/templates/administration/overview_user.mako, waskaweb/templates/casemanagement/dialogs/alert.mako, waskaweb/templates/casemanagement/dialogs/confirm.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/static_form/statement.mako, waskaweb/templates/dialogs/alert.mako, waskaweb/templates/documents/overview.mako, waskaweb/templates/documents/overview_body.mako: Various fixes and small enhancements [776f1adc5f1f] * waskaweb/controllers/case.py, waskaweb/model/navigation.py, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/static_form/statement.mako: Implemented dynamic formular navigation [385fd4ba28f3] 2007-10-09 teichmann * waskaweb/model/navigation.py: Added lookup, toggle and rendering for navigation menu. [8c13519cc947] * waskaweb/controllers/case.py, waskaweb/controllers/hardcopy.0, waskaweb/model/navigation.py: Added a simple model for dynamic document navigation. [de50a520ea5b] 2007-10-09 Torsten Irlaender * waskaweb/config/routing.py, waskaweb/controllers/case.py, waskaweb/controllers/waska.py, waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/evaluation.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/static_form/page_1.mako, waskaweb/templates/casemanagement/static_form/page_10.mako, waskaweb/templates/casemanagement/static_form/page_15.mako, waskaweb/templates/casemanagement/static_form/page_16.mako, waskaweb/templates/casemanagement/static_form/page_17.mako, waskaweb/templates/casemanagement/static_form/page_18.mako, waskaweb/templates/casemanagement/static_form/page_19.mako, waskaweb/templates/casemanagement/static_form/page_2.mako, waskaweb/templates/casemanagement/static_form/page_20.mako, waskaweb/templates/casemanagement/static_form/page_21.mako, waskaweb/templates/casemanagement/static_form/page_22.mako, waskaweb/templates/casemanagement/static_form/page_23.mako, waskaweb/templates/casemanagement/static_form/page_24.mako, waskaweb/templates/casemanagement/static_form/page_3.mako, waskaweb/templates/casemanagement/static_form/page_4.mako, waskaweb/templates/casemanagement/static_form/page_5.mako, waskaweb/templates/casemanagement/static_form/page_6.mako, waskaweb/templates/casemanagement/static_form/page_7.mako, waskaweb/templates/casemanagement/static_form/page_8.mako, waskaweb/templates/casemanagement/static_form/page_9.mako, waskaweb/templates/casemanagement/static_form/statement.mako: Added static formular pages Added first version of the "Einverständniserklärung" [00363f9f813f] * waskaweb/config/routing.py, waskaweb/controllers/case.py, waskaweb/controllers/dummy.py, waskaweb/controllers/waska.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/lib/evaluation.py, waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css, waskaweb/templates/administration/settings.mako, waskaweb/templates/administration/userform_body.mako, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/static_form/page_0.mako, waskaweb/templates/casemanagement/static_form/page_1.mako, waskaweb/templates/casemanagement/static_form/page_10.mako, waskaweb/templates/casemanagement/static_form/page_11.mako, waskaweb/templates/casemanagement/static_form/page_12.mako, waskaweb/templates/casemanagement/static_form/page_13.mako, waskaweb/templates/casemanagement/static_form/page_14.mako, waskaweb/templates/casemanagement/static_form/page_15.mako, waskaweb/templates/casemanagement/static_form/page_16.mako, waskaweb/templates/casemanagement/static_form/page_18.mako, waskaweb/templates/casemanagement/static_form/page_19.mako, waskaweb/templates/casemanagement/static_form/page_2.mako, waskaweb/templates/casemanagement/static_form/page_20.mako, waskaweb/templates/casemanagement/static_form/page_21.mako, waskaweb/templates/casemanagement/static_form/page_22.mako, waskaweb/templates/casemanagement/static_form/page_23.mako, waskaweb/templates/casemanagement/static_form/page_24.mako, waskaweb/templates/casemanagement/static_form/page_3.mako, waskaweb/templates/casemanagement/static_form/page_4.mako, waskaweb/templates/casemanagement/static_form/page_5.mako, waskaweb/templates/casemanagement/static_form/page_6.mako, waskaweb/templates/casemanagement/static_form/page_7.mako, waskaweb/templates/casemanagement/static_form/page_8.mako, waskaweb/templates/casemanagement/static_form/page_9.mako, waskaweb/templates/login.mako, waskaweb/templates/main.mako: Added dummy files for static formular pages Added some translation Began to bind in the db [d3b7e02fff8b] 2007-10-08 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/lib/casedata.py, waskaweb/lib/db_factory.py, waskaweb/model/objects.py: Started to implemented the binding for the database. [68db31f87ee9] * waskaweb/controllers/dummy.py, waskaweb/lib/evaluation.py: Added small dummyfunction "setup" to ad 100 dummy datasets for evaluation Fixed encoding issue in the evaluation [c32f16f48aae] 2007-10-07 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/controllers/evaluate.py, waskaweb/lib/evaluation.py, waskaweb/templates/casemanagement/evaluation.mako, waskaweb/templates/casemanagement/evaluation_result.mako: Moved evaluation in its own controller. Implemented csv export [6a3b3dc08304] 2007-10-06 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/lib/evaluation.py, waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css, waskaweb/templates/casemanagement/evaluation_result.mako: Added more evaluations on the cases. [08f6dd97f45f] 2007-10-05 Torsten Irlaender * waskaweb/controllers/case.py, waskaweb/lib/evaluation.py, waskaweb/public/styles/all.css, waskaweb/templates/casemanagement/evaluation_result.mako: Started to add evaluation functions [e232a4a65825] 2007-10-04 Torsten Irlaender * waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/templates/casemanagement/overview.mako: Modified translation Click on view in the case overview now opens the case digest site. [86bf462cf0b9] * waskaweb/public/styles/screen.css, waskaweb/templates/administration/overview_user.mako, waskaweb/templates/appointments/overview_body.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/documents/overview_body.mako: Added style sheet for "action"-icons. [b08446017937] * waskaweb/public/images/icons/trash.png, waskaweb/public/images/icons/view.png, waskaweb/templates/administration/overview_user.mako, waskaweb/templates/appointments/overview_body.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/documents/overview_body.mako: Added trash and view icon to the overview pages [24597da89bf9] * waskaweb/controllers/case.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/en/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/templates/administration/show_user.mako, waskaweb/templates/appointments/show.mako, waskaweb/templates/casemanagement/create_export_scheme.mako, waskaweb/templates/casemanagement/dialogs/confirm.mako, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/evaluation.mako, waskaweb/templates/casemanagement/evaluation_result.mako, waskaweb/templates/casemanagement/export.mako, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/repeat_group_overview.mako, waskaweb/templates/casemanagement/upload.mako: Continued internationalisation. [38db29397b53] 2007-10-02 Torsten Irlaender * waskaweb/controllers/appointment.py, waskaweb/controllers/case.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/public/styles/all.css, waskaweb/public/styles/screen.css, waskaweb/templates/administration/delete_user.mako, waskaweb/templates/administration/dialogs/confirm.mako, waskaweb/templates/administration/new_user.mako, waskaweb/templates/administration/overview_user.mako, waskaweb/templates/administration/show_user.mako, waskaweb/templates/administration/userform_body.mako, waskaweb/templates/appointments/appointment_form.mako, waskaweb/templates/appointments/new.mako, waskaweb/templates/appointments/new_body.mako, waskaweb/templates/appointments/overview.mako, waskaweb/templates/appointments/overview_body.mako, waskaweb/templates/appointments/show.mako, waskaweb/templates/appointments/show_body.mako, waskaweb/templates/casemanagement/appointments.mako, waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/new_appointment.mako, waskaweb/templates/casemanagement/new_document.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/dialogs/confirm.mako, waskaweb/templates/documents/overview.mako, waskaweb/templates/documents/overview_body.mako, waskaweb/templates/documents/upload.mako, waskaweb/templates/documents/upload_body.mako, waskaweb/templates/main.mako, waskaweb/templates/start/start.mako, waskaweb/templates/tests/forms.mako: Added internationalisation [c8087970c5f2] 2007-10-01 Torsten Irländer * .hgignore, development.ini, setup.py, waskaweb/config/routing.py, waskaweb/controllers/case.py, waskaweb/i18n/de/LC_MESSAGES/waskaweb.po, waskaweb/i18n/en/LC_MESSAGES/waskaweb.po, waskaweb/i18n/waskaweb.pot, waskaweb/public/styles/print.css, waskaweb/public/styles/web.css, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/main.mako: Added i18n support for the main template. Added print support for formular pages. [1ad740adb964] 2007-09-30 Torsten Irlaender * .hgignore, waskaweb/public/styles/print.css, waskaweb/templates/main.mako: Added printerfriendly stylesheet [2d426fd2404a] * data/templates/login.mako.py, data/templates/logout.mako.py, data/templates/main.mako.py, data/templates/start/help.mako.py, data/templates/start/settings.mako.py, data/templates/start/start.mako.py: Removed cached templates [09bc3d1ccc96] 2007-09-28 Torsten Irländer * data/templates/start/settings.mako.py, data/templates/start/start.mako.py, waskaweb/config/routing.py, waskaweb/controllers/administration.py, waskaweb/controllers/appointment.py, waskaweb/controllers/case.py, waskaweb/controllers/document.py, waskaweb/public/images/error.png, waskaweb/public/images/icons/arrow3_e.gif, waskaweb/public/images/question.png, waskaweb/public/styles/web.css, waskaweb/templates/administration/dialogs/confirm.mako, waskaweb/templates/administration/overview_user.mako, waskaweb/templates/appointments/dialogs/confirm.mako, waskaweb/templates/appointments/overview_body.mako, waskaweb/templates/casemanagement/dialogs/confirm.mako, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/static_form.mako, waskaweb/templates/dialogs/confirm.mako, waskaweb/templates/documents/dialogs/confirm.mako, waskaweb/templates/start/settings.mako: Added confirmation dialogs. [aa8fd401a9de] 2007-09-26 Torsten Irländer * data/templates/main.mako.py, data/templates/start/start.mako.py, waskaweb/controllers/case.py, waskaweb/public/styles/web.css, waskaweb/templates/administration/delete_user.mako, waskaweb/templates/administration/new_user.mako, waskaweb/templates/administration/overview_user.mako, waskaweb/templates/administration/show_user.mako, waskaweb/templates/appointments/new.mako, waskaweb/templates/appointments/new_body.mako, waskaweb/templates/appointments/overview.mako, waskaweb/templates/appointments/overview_body.mako, waskaweb/templates/appointments/show.mako, waskaweb/templates/appointments/show_body.mako, waskaweb/templates/casemanagement/appointments.mako, waskaweb/templates/casemanagement/create_export_scheme.mako, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/evaluation.mako, waskaweb/templates/casemanagement/evaluation_result.mako, waskaweb/templates/casemanagement/export.mako, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/upload.mako, waskaweb/templates/documents/overview.mako, waskaweb/templates/documents/overview_body.mako, waskaweb/templates/documents/upload.mako, waskaweb/templates/documents/upload_body.mako, waskaweb/templates/main.mako, waskaweb/templates/start/start.mako: Written stylesheet for the layout. The website now looks (hopfullly) pretty much like the final version will be. [ae89efe9f86e] 2007-09-24 Torsten Irländer * waskaweb/controllers/administration.py, waskaweb/templates/administration/newUser.mako, waskaweb/templates/administration/new_user.mako, waskaweb/templates/administration/overviewUser.mako, waskaweb/templates/administration/overview_user.mako: Renamed files to make nameing mmore consistent [e4420cfb1b1c] * data/templates/main.mako.py, waskaweb/controllers/administration.py, waskaweb/controllers/appointment.py, waskaweb/controllers/case.py, waskaweb/templates/administration/overviewUser.mako, waskaweb/templates/appointments/overview.mako, waskaweb/templates/appointments/show.mako, waskaweb/templates/casemanagement/appointments.mako, waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/documents/overview.mako, waskaweb/templates/main.mako: Various small changes in templating. Added some missing pages. Wired the pages. [f08cec6fd357] 2007-09-24 teichmann * waskaweb/model/help.py, waskaweb/view/__init__.py, waskaweb/view/renderer.py: Added classes for help and formular rendering. [d6df299cae37] 2007-09-24 Torsten Irländer * data/templates/main.mako.py, waskaweb/config/environment.py, waskaweb/controllers/case.py, waskaweb/controllers/document.py, waskaweb/model/forms.py, waskaweb/model/objects.py, waskaweb/templates/administration/newUser.mako, waskaweb/templates/administration/overviewUser.mako, waskaweb/templates/appointments/new.mako, waskaweb/templates/appointments/show.mako, waskaweb/templates/casemanagement/appointments.mako, waskaweb/templates/casemanagement/documents.mako, waskaweb/templates/casemanagement/main.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/upload.mako, waskaweb/templates/documents/overview.mako, waskaweb/templates/documents/upload.mako, waskaweb/templates/main.mako: Finished restructuring the templating. Added fileuploads. [954b971c9267] 2007-09-24 teichmann * waskaweb/model/engine.py: Remove engine. [a53e8f58b1be] * waskaweb/model/data.py, waskaweb/model/io/__init__.py, waskaweb/model/io/document.py, waskaweb/model/io/factories.py, waskaweb/model/io/parser.py: Added io support for FormEd documents. [6b8c07994240] 2007-09-24 Torsten Irländer * Merge from the main repo [db3e3c310a26] * data/templates/main.mako.py, data/templates/start/help.mako.py, data/templates/start/settings.mako.py, data/templates/start/start.mako.py, waskaweb/controllers/administration.py, waskaweb/controllers/appointment.py, waskaweb/controllers/case.py, waskaweb/controllers/document.py, waskaweb/controllers/waska.py, waskaweb/model/engine.py, waskaweb/templates/appointments/overview.mako, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/repeat_group_overview.mako, waskaweb/templates/documents/overview.mako, waskaweb/templates/main.mako, waskaweb/templates/start/help.mako, waskaweb/templates/start/settings.mako, waskaweb/templates/start/start.mako: Changed the way how the site is rendered. Instead of using a statemachine which controls what will be rendered, now the templates take over the responsibility for this. So we removed the Stateengie which becomes needless. [3f8973323ee3] 2007-09-24 teichmann * waskaweb/model/data.py, waskaweb/model/expr.py, waskaweb/model/nodecomponents.py: Added the model for the FormEd tree. [2d66b39f5410] * waskaweb/model/memory.py, waskaweb/model/view.py: Models the rendering access to views [21a02954f8f8] 2007-09-21 Torsten Irländer * .hgignore, data/templates/start/start.mako.py, waskaweb/controllers/administration.py, waskaweb/controllers/appointment.py, waskaweb/controllers/case.py, waskaweb/controllers/document.py, waskaweb/controllers/waska.py, waskaweb/model/engine.py, waskaweb/model/renderer.py, waskaweb/templates/appointments/overview.mako, waskaweb/templates/casemanagement/digest.mako, waskaweb/templates/casemanagement/formular.mako, waskaweb/templates/casemanagement/organisation.mako, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/casemanagement/repeat_group_overview.mako, waskaweb/templates/documents/overview.mako, waskaweb/templates/start/start.mako: Added for templates and continued to wire the pages. And yes... we should introduce a more detailed changelog! [a18b62a49019] * data/templates/start/help.mako.py, data/templates/start/settings.mako.py, data/templates/start/start.mako.py, waskaweb/controllers/case.py, waskaweb/controllers/waska.py, waskaweb/model/engine.py, waskaweb/model/renderer.py, waskaweb/templates/casemanagement/overview.mako, waskaweb/templates/start/help.mako, waskaweb/templates/start/settings.mako, waskaweb/templates/start/start.mako: Just a snapshot of the current development [d9fc85348547] 2007-09-19 Torsten Irländer * data/templates/main.mako.py, waskaweb/controllers/administration.py, waskaweb/controllers/appointment.py, waskaweb/controllers/case.py, waskaweb/controllers/document.py, waskaweb/controllers/waska.py, waskaweb/model/engine.py, waskaweb/model/renderer.py, waskaweb/templates/main.mako: Fixed outstanding bugs. I hope we now have some sort of boilerplate code to build on. [39ddb5621abd] 2007-09-18 Torsten Irländer * data/templates/main.mako.py, waskaweb/controllers/waska.py, waskaweb/model/engine.py, waskaweb/model/renderer.py, waskaweb/public/styles/web.css, waskaweb/templates/main.mako: Started to implemented the dicussed rending model. Checked in current snapshot which is _not_ working currently. [bc8fb5d38019] * MANIFEST.in, README.txt, data/templates/login.mako.py, data/templates/logout.mako.py, data/templates/main.mako.py, development.ini, docs/index.txt, ez_setup/README.txt, ez_setup/__init__.py, setup.cfg, setup.py, test.ini, waskaweb.egg- info/PKG-INFO, waskaweb.egg-info/SOURCES.txt, waskaweb.egg- info/dependency_links.txt, waskaweb.egg-info/entry_points.txt, waskaweb.egg-info/paste_deploy_config.ini_tmpl, waskaweb.egg- info/paster_plugins.txt, waskaweb.egg-info/requires.txt, waskaweb .egg-info/top_level.txt, waskaweb/__init__.py, waskaweb/config/__init__.py, waskaweb/config/environment.py, waskaweb/config/middleware.py, waskaweb/config/routing.py, waskaweb/controllers/__init__.py, waskaweb/controllers/administration.py, waskaweb/controllers/appointment.py, waskaweb/controllers/case.py, waskaweb/controllers/document.py, waskaweb/controllers/error.py, waskaweb/controllers/hardcopy.0, waskaweb/controllers/template.py, waskaweb/controllers/waska.py, waskaweb/lib/__init__.py, waskaweb/lib/app_globals.py, waskaweb/lib/base.py, waskaweb/lib/helpers.py, waskaweb/model/__init__.py, waskaweb/model/engine.py, waskaweb/model/renderer.py, waskaweb/public/images/logo_ka_75.png, waskaweb/public/styles/web.css, waskaweb/templates/login.mako, waskaweb/templates/logout.mako, waskaweb/templates/main.mako, waskaweb/tests/__init__.py, waskaweb/tests/functional/__init__.py, waskaweb/tests/functional/test_administration.py, waskaweb/tests/functional/test_appointment.py, waskaweb/tests/functional/test_case.py, waskaweb/tests/functional/test_document.py, waskaweb/tests/functional/test_waska.py, waskaweb/tests/test_models.py, waskaweb/websetup.py: Initial import [07112f53bb53]