Commit Graph

8334 Commits

Author SHA1 Message Date
Werner Masik 44c52abd21 Merge branch 'master' of https://github.com/FH-Complete/FHC-Core 2017-08-18 12:55:02 +02:00
Werner Masik 1a2c663e72 Funktion für Änderungen bei Firmen innerhalb KW 2017-08-18 10:48:48 +02:00
kindlm b47776ac24 Modified function check_infrastruktur 2017-08-18 10:38:58 +02:00
Gerald Raab cf19284132 updated function to get infrastructure-ma 2017-08-18 09:38:31 +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 35a4861abf Bugfix in system/aufnahme/PrestudentMultiAssign:
- Converting strings 'null' to null values
- Better error messages in case of invalid parameters
2017-08-17 12:49:41 +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
kindlm 31e21acd67 New columns in tbl_service
- Added columns design_uid, betrieb_uid and operativ_uid to tbl_service
2017-08-17 11:38:16 +02:00
kindlm a18c6816a6 Merge branch 'master' of https://github.com/FH-Complete/FHC-Core 2017-08-16 15:00:13 +02:00
kindlm d9207e5364 Added static Verbaende to Select 2017-08-16 15:00:00 +02:00
kindlm 74d3a89688 Add column "bewerbung_abgeschicktamum" to FAS GUI
- Added to Tab Prestudentstatus. Optional culumn. Default invisible
2017-08-16 14:59:28 +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 d7bed89869 - Added class label[udf-required=true]::after to skin/widgets.class
- Added attribute udf-required to tag label in the HTML components widges
2017-08-09 17:10:10 +02:00
Paolo 226eda73e5 - Added comments to DB_Model
- Method _manageUDFs using a temp variable to store result from _validateUDFs
2017-08-09 16:20:10 +02:00
Paolo 973b74ce7e $validate variable reset on every loop 2017-08-09 15:55:32 +02:00
Paolo 9ee1820ac3 - Not to check the required attribute for them all together, but only if the UDF is present in the given parameters.
Update of UDF should work in the same way as the update of regular columns.
- Required rules:
    - If required === false && value to be saved == (null || false) => validation avoided
    - If required == false && value to be saved != null => validation performed
    - If required == true => validation performed && value cannot be null
    - If required == true && value to be saved == (null || false) => raise error: required field
    - If raised error required field => validation is not performed
2017-08-09 15:21:19 +02:00
Paolo c351ef781a Changed method getAppliedStudiengangFromNow in Studiengang_model.
Now also takes into consideration the current semester
2017-08-08 11:17:33 +02:00
Paolo a56412d687 Merge branch 'udf' 2017-08-07 16:44:03 +02:00
Paolo 35e8df3b22 Added method getAppliedStudiengangFromNow to controller Studiengang.
This method can retrive all the applied studiengang for a person from
the current studiensemester
2017-08-07 15:15:08 +02:00
kindlm a3e63a99b8 Merge branch 'master' of https://github.com/FH-Complete/FHC-Core 2017-08-07 11:34:16 +02:00
kindlm ed1d7ae0b0 lehrauftrag.xml.php $fb_arr wird nun auch mit oe_kurzbz befüllt 2017-08-07 11:32:04 +02:00
Paolo db63dd1dd0 - Added method dropdownListValuesToString to udf.class.php
- Added enum element to UDF definition in method _getUDFDefinition
- Exports now show the values of dropdowns and not the id
2017-08-07 11:18:41 +02:00
Paolo 2edcfae0af - Added method existsUDF
- Added comments
2017-08-04 15:12:36 +02:00
Paolo f5d3f20ec7 Merge branch 'master' into udf 2017-08-03 15:37:37 +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
alex 9e14e39b66 Added Comments in Controllers
called html_escape function for all textfields before saving (against html injection)
Reformatted
Fixed Studienjahr Dropdown prefill in Studiensemester view
2017-08-03 13:48:10 +02:00
Paolo 68189bb7a5 - If required == false and a null value is given for a UDF, then no
validation is performed
- No validation is performed for checkboxes
- Better workaround in UDF_Model
2017-08-02 17:02:39 +02:00
Paolo dda920dd58 Fixed URL without double slashes 2017-08-02 16:56:51 +02:00
Andreas Oesterreicher 42960ffe20 Moodle-Integration aus FHComplete Core entfernt und in eigenes Addon
ausgelagert.
Support für Moodle 1.9 entfernt
2017-08-02 14:05:31 +02:00
Paolo 65be806e91 Merge branch 'master' into udf 2017-08-01 18:31:30 +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
Andreas Oesterreicher 5d0dcb6e4a Kommentar ergänzt 2017-08-01 16:54:43 +02:00
alex afd1667645 GUI für Studiensemester und Studienjahr hinzugefügt 2017-08-01 14:50:19 +02:00
Andreas Oesterreicher b7da7b86f9 PHP7 compatibility fix 2017-08-01 10:45:00 +02:00
Paolo bba27f75e0 Merge branch 'master' into udf 2017-07-28 18:41:35 +02:00
Paolo 59045e1136 Added private method _fillMissingChkboxUDF to UDF_model.
It checks if UDF checkboxes are NOT posted and sets theirs values to
false
2017-07-28 18:36:08 +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 994c4e1d36 If a UDF is of type checkbox, convert the string value to a boolean 2017-07-28 17:21:01 +02:00
Paolo 0d9e5cc7a0 It checks in the index if $person_id and $prestudent_id parameters are
given. If they are given it loads the respective data.
2017-07-28 17:07:01 +02:00
Paolo 28be99c952 In case a table is updated and UDF are present in that table,
the method _manageUDFs will preserve the UDF values that
are NOT given as parameters.
Updates only the wanted UDF, without overwriting the others.
2017-07-28 17:00:42 +02:00
Paolo 6afd71876f Added UDF to FAS -> export 2017-07-28 16:08:36 +02:00
Andreas Oesterreicher 0bd66c37b4 Problem beim Erstellen von Dokumenten mit alten unoconv Versionen
behoben bei denen es zu Berechtigungsproblemen bei der Erstellung der
Dokumente kommt
2017-07-28 09:33:27 +02:00
Andreas Oesterreicher dfe476799b Berechtigungspruefung korrigiert 2017-07-28 09:30:22 +02:00
Andreas Oesterreicher b538b82946 SD-Tools Link im Vilesci aus Core entfernt 2017-07-28 08:31:30 +02:00
Andreas Oesterreicher cd89b8ce75 Addons koennen jetzt Menuepunkte im Vilesci hinzufuegen und aendern 2017-07-28 08:25:59 +02:00
Andreas Oesterreicher 61b86f06e7 Anzeige bei fehlendem CI_ENV optimiert 2017-07-26 16:30:10 +02:00
Andreas Oesterreicher ad99ba9044 Environment check erweitert 2017-07-26 16:16:44 +02:00
Andreas Oesterreicher 4ad335dc9a Funktion erweitert zur Suche nach Berechtigungen zu Organisationseinheit 2017-07-24 15:30:57 +02:00
Paolo 7859b07e70 Use extended studens export for both student export commands 2017-07-24 14:25:21 +02:00
Andreas Oesterreicher 4ce104a738 Fehler behoben wodurch temporäre Dateien nach der Dokumentenerstellung
nicht korrekt aufgeräumt wurden
2017-07-21 15:46:46 +02:00