Commit Graph

53 Commits

Author SHA1 Message Date
Paolo 34329edb74 - Better code style
- Clened views structure
- Use session to store the filter state
2017-11-29 18:26:43 +01:00
Paolo c105363fd0 First preview completed 2017-11-22 15:33:44 +01:00
Paolo ee3998f62e - Changed system/dbupdate_3.3.php to create table system.tbl_filters and what its needed
- Added model system/Filters_model to manage system.tbl_filters
- Removed method execQuery from model system/UDF_model
- Added property executedQueryMetaData to DB_Model
- Added property executedQueryListFields to DB_Model
- Added method getExecutedQueryListFields to DB_Model
- Added method getExecutedQueryMetaData to DB_Model
- Added method execReadOnlyQuery to DB_Model to execute read only queries from outside a model
- Changed DB_Model method _toPhp to store infos about an executed query into properties executedQueryMetaData and executedQueryListFields
- Updated library UDFLib to use execReadOnlyQuery
- Added widget FilterWidget to render and manage a filter into VileSci
- Added views widgets/filter/selectFields, widgets/filter/selectFilters and widgets/filter/tableDataset used by FilterWidget
2017-11-22 12:08:54 +01:00
Paolo 0bc0a09bf4 - Removed file system execute permission for all files (no directories)
- application/extensions file system permission now is 775
- application/logs file system permission now is 775
- Added extensions directory in application/: config, controllers, helpers, hooks, libraries, models, views and widgets
- Added view views/extensions/manage.php
- Added controller controllers/system/extensions/Manager.php
- Added library ExtensionsLib to manage extensions
- Added model models/system/Extensions_model.php
- Moved code related to print out info from MigrationLib to EPrintfLib
2017-11-13 10:45:49 +01:00
Paolo 10f263aaa5 Renamed widget vorlage_widget.php into Vorlage_widget.php 2017-08-25 14:17:35 +02:00
Paolo 1a2fce8d1c - Moved property $htmlParameters from HTMLWidget to DropdownWidget
- Moved all the UDF related code from UDFWidget to UDFLib
- UDFWidget is now using UDFLib
2017-08-17 16:33:45 +02:00
Paolo e4160088e8 - Added headers where they were missing
- Added comments where needed
- Beautified the code where needed, more readable and more compliant to CS
- loadResource function in helper fhc_helper.php is not using anymore CI
- Moved all constants from UDFWidget to UDFLib
- Added constant SORT to UDFLib
- Renamed constant REGEX_LANGUAGE to FE_REGEX_LANGUAGE in UDFLib
- Better formatting and indentation of the code of WidgetLib (more compliant to CS)
- Added missing validation attributes to HTML widgets
- Added constant HTML_DEFAULT_VALUE to CheckboxWidget
- Unset parameter multiple in DropdownWidget constructor
- Changed value of constant REQUIRED in widget HTMLWidget
- Added protected property $htmlParameters to widget HTMLWidget
  (it works as alias to $this->_args[HTMLWidget::HTML_ARG_NAME] -> better code)
- Replaced $this->_args[HTMLWidget::HTML_ARG_NAME] with $this->htmlParameters in the widgets
- Changed the CSS class label[udf-required=true]::after to label[required-field=true]::after in widgets.css
- Better use of constants in UDFWidget: constants from HTMLWidget are used only for the HTML parameters,
  while constants from UDFLib are used only for UDF parameters
2017-08-17 11:51:40 +02:00
Paolo f126bca708 - New directory application/widgets/html/ for widgets to render HTML
elements
- All the widgets classes to render HTML elements moved from WidgetLib
to application/widgets/html/
- New directory application/widgets/udf/ for widgets to render UDF
- All the UDF widgets classes moved from WidgetLib to
application/widgets/udf/
- HTMLWidget is now the main class to render HTML widget
- UDFWidget is now the mail class to render UDF
- Removed UDFWidgetTpl
- Added function loadResource to fhc helper
- Changed method widget of WidgetLib (using loadResource)
- Moved UDFWidget method from WidgetLib to UDFLib
- Slimmed down class Widget present in WidgetLib
- Controller system/UDf now uses UDFLib
- View application/views/system/udf.php now uses UDFLib
- Updated udf and html widgets to adapt them to the new libs
2017-08-11 18:41:21 +02:00
Paolo d7d550d53f - Multipledropdown: fixed problem to see and to save more selected
elements
- Dropdown: reset selected element to null
2017-08-03 15:20:32 +02:00
Paolo 66de1e18f8 - Removed /core from URL
- If UDf are not set in DB UDF view will not display them
- Removed placeholder from multiple dropdown widget
- Dropdown widget has null value as placeholder
- Added permission system/udf to checksystem
2017-08-01 18:25:23 +02:00
Paolo 0ff635f5ea - Added Zusatzfelder tab for UDF in FAS, students and employees
- UDF for person and prestudent only
- Added CSS for widgets
- Fixed checkbox
- Improved aesthetics of widgets
2017-07-28 17:25:27 +02:00
Paolo dab6515038 - Added widgets.css
- Better widgets HTML format
- Changed required attribute to udf-required
2017-07-21 15:02:04 +02:00
Paolo de2c9703de UDF bugfixes 2017-07-18 12:48:20 +02:00
Paolo 62cc6613c2 UDF checkbox bugfix 2017-07-12 11:52:26 +02:00
Paolo a530cd22b4 - Bugfix UDF dropdown, wrong check for selected value
- UDF checkbox now is only one value, no multiple checkbox anymore
- Added method saveUDFs to model UDF_model
- Added new constants to resolve json schema parameters
2017-07-06 11:07:43 +02:00
Paolo 9eb2ea854d Merge branch 'master' into udf 2017-06-28 12:07:41 +02:00
Paolo 45b4c84764 Task #1355:
- If the sender of a message is an admin: show all the vorlage with
mimetype = text/html
 - If the sender of a message is NOT an admin: show all the
vorlage that belongs to the organisation units of the user
and the parents of those organisation units until the root
of the organisation unit tree

Changes:
 - Added method isAdminByPersonId to model Benutzerrolle_model
 - Added method _getAllHTMLVorlage to Vorlage_widget
 - Added method _getUserVorlage to Vorlage_widget
2017-06-06 15:21:22 +02:00
Paolo b840352377 - Vorlage widget now works with oe_kurzbz
- Added method getByPersonId to model Benutzerfunktion_model
- Added method treeSearchEntire to library OrganisationseinheitLib
- Added method getOneLevelAlias to model Organisationseinheit_model
2017-05-23 17:00:03 +02:00
Paolo 2286d47b69 Task #1353: First solution, to be refined 2017-05-16 18:52:38 +02:00
Paolo f092867602 2nd preview 2017-05-10 09:54:23 +02:00
Paolo e143aa8815 1st preview 2017-05-09 18:14:18 +02:00
Paolo 51ccee4d16 8th release 2017-05-08 11:39:21 +02:00
Paolo 6a11cc09cf 7th release 2017-05-05 18:45:28 +02:00
Paolo dcedac9617 6th release 2017-05-04 15:08:39 +02:00
Paolo 0456c2c059 5th release 2017-05-02 18:55:54 +02:00
Paolo a6a6592db0 4th release 2017-04-28 17:17:31 +02:00
Paolo 0fd34807ca 3rd release 2017-04-27 19:06:36 +02:00
Paolo ebd892e333 2nd release 2017-04-21 19:03:20 +02:00
Paolo 11d3d7d7c0 1st release 2017-04-20 18:28:20 +02:00
Paolo 9dc9a712c4 - Moved file to manage vorlage into subdir vorlage
- Updated sprache, orgform, organisationseinheit and vorlage to the new
widget
- Changed method getRecursiveList of model Organisationseinheit_model
- Updated vilesci_menu_main.inc.php
- Changed method loadDropDownView of WidgetLib: if a selected value is
not given, by default it is set as HTML_DEFAULT_VALUE
- Updated all the affectd files
2017-03-29 16:57:29 +02:00
Paolo 61317978ce - Added class DropdownWidget
- Extended functionalities to Widget class
- Only one view for the dropdown html element
- Updated system/aufnahme/prestudentMultiAssign.php
- Updated affected widgets
2017-03-27 17:23:20 +02:00
Paolo ee827983b0 Fixed widgets to show if data are not present 2017-03-27 10:48:12 +02:00
Paolo 1f65f7737c - Splitted Usersfilters_widget in:
- Aufnahmegruppe_widget
	- Reihungstest_widget
	- Studiengang_widget
	- Studiensemester_widget
	- Stufe_widget
- Renamed /system/Users controller to system/aufnahme/PrestudentMultiAssign
- Added method getPrestudentMultiAssign to Prestudent_model
- Changed WidgetLib to allow to set the name and the id html attributes
of a widget
2017-03-24 16:39:50 +01:00
Paolo b8830667cd Second version of the VileSci interface that allows easily to add more prestudent
to a group or change their stufe
2017-03-17 17:31:52 +01:00
oesi eb46a7534b Cleanup CI Header Template 2017-03-17 16:18:46 +01:00
Paolo e4151e0905 First version of the VileSci interface that allows easily to add more prestudent
to a group or change their stufe
2017-03-17 11:54:02 +01:00
bison-paolo 14aab3dd56 - Vorlage widget now add an empty element to the beginning of the drop
down box
- Bugfix message write controller:
	- JS function getVorlageText was missing
	- Wrong URL in form action
2017-03-13 16:39:38 +01:00
bison-paolo 3e618a991b Now loads only the templates with text/html as mime type 2016-11-11 16:04:48 +01:00
Gerald Raab 2d2c236391 bugfix obj/arr-problem 2016-11-04 13:52:55 +01:00
Gerald Raab 3b76398a94 array cleanups 2016-10-25 13:54:46 +02:00
bison-paolo 7db01c8eb5 Added the ability to choose a template (Vorlage) as email text 2016-09-28 17:15:19 +02:00
Paminger ed6f9fa676 Sprache bei Templatetext 2016-07-13 07:56:19 +02:00
Gerry Raab 0c7df621a5 orgform widget + neues recht 2016-07-05 14:34:50 +02:00
paolo 58a6da42ae The method loadWhole has been removed from model DB_Model.
The same functionality has given by calling the load method without parameters
2016-06-24 10:39:52 +02:00
Paminger 4f14e7fa92 Messages Inbox Outbox 2016-06-23 10:28:26 +02:00
Gerry Raab 437959221e sprache widget added 2016-06-22 13:09:16 +02:00
Paminger 68963a962a BugFix 2016-06-20 08:36:37 +02:00
Paminger 377b1ecdd0 JSON-Forms 2016-06-19 19:41:10 +02:00
Paminger 83540e068a VorlageExtension 2016-06-18 11:32:29 +02:00
Paminger 3d45527a5d TemplateParser 2016-06-18 09:11:00 +02:00