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
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
alex
afd1667645
GUI für Studiensemester und Studienjahr hinzugefügt
2017-08-01 14:50:19 +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
6573d46525
Merge branch 'master' into udf
2017-07-21 15:08:50 +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
Andreas Oesterreicher
b8b5b95251
Added additional parameter checks
2017-07-19 15:25:17 +02:00
Andreas Oesterreicher
4603befefc
Added API calls to get Prestudents according to its status
2017-07-18 17:19:53 +02:00
Paolo
b9c846f18f
FAS UDF tab
2017-07-18 12:48:47 +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
5d16a79cd3
- Added UDF tab in fas
...
- Added global constant FAS_UDF
2017-07-07 19:14:15 +02:00
Paolo
df51fb2988
Added method postUDF to controller system/UDF/UDF
2017-07-06 11:17:12 +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
3abfcbc429
- Better naming convention for variables
...
- Method toPhp has a more strict check about UDF
- Added constant UDF_FIELD_JSON_DESCRIPTION
- Added new code comments and improved the old ones
- Improved code formatting
- UDF validation now checks also the required fields
- UDF validation now checks also if the UDF value is an array or an
object and discard them
- Method _getUDFs renamed to _getUDFsDefinitions
2017-06-30 13:31:21 +02:00
Paolo
e2f87534ff
- Added new constants that represent the exit codes for the UDF validation
...
- Added new error messages for the UDF validation
2017-06-30 13:28:24 +02:00
Paolo
9eb2ea854d
Merge branch 'master' into udf
2017-06-28 12:07:41 +02:00
Paolo
d3a675bf52
Testing phase
2017-06-28 12:04:41 +02:00
Paolo
ac438c1b94
Added parameter no_file to API content/Dms/AktenAcceptedDms
2017-06-27 11:32:59 +02:00
Paolo
be9fc8121e
- Added exit codes for udf validation to constants.php
...
- Added messages for udf validation to fhc_model_lang
- Added MAX_LENGTH and MIN_LENGTH to UDFWidgetTpl in WidgetLib
- UDF validation second version in DB_Model
2017-06-23 18:54:34 +02:00
Stefan Puraner
a7d3214dd6
fixed return value of method '_manageUDFs'
2017-06-22 11:32:56 +02:00
Stefan Puraner
1a9d6de487
changed api method to return status 'Interessent'
2017-06-22 08:33:25 +02:00
Stefan Puraner
c026aecfbe
changed api method to return status 'Interessent'
2017-06-22 08:29:51 +02:00
Paolo
26c4865c43
- Property bb of PermissionLib is now static and is initialized in the
...
constructor, to have better performance.
- Method isBerechtigt has been renamed to _isBerechtigt
- Removed logs debug from _isBerechtigt
2017-06-21 14:02:24 +02:00
Paolo
5e3c8d8421
Replaced global constant FCPATH with FHCPATH
2017-06-21 11:30:45 +02:00
Paolo
950da84cf3
- Added constant EXIT_VALIDATION_UDF into constants.php
...
- Added message 'fhc_'.EXIT_VALIDATION_UDF into fhc_model_lang
- Added method _validateUDFs into DB_Model
- Renamed _manageUDF to _manageUDFs into DB_Model
- Renamed _getUDFParamters to _getUDFs into DB_Model
- Introduced first version of UDF validation
2017-06-21 11:05:20 +02:00
Paolo
b73bf1dd32
- Added method listFields to DB_Model
...
- Added method fieldExists to DB_Model
2017-06-19 12:39:08 +02:00
Paolo
3ac8d7d604
- Added parameter decode to API /system/UDF/UDF to decode json
...
- UDF bugfix: now it checks if a table has the column udf_values before
performing an insert or update
2017-06-19 12:15:28 +02:00
Paolo
e8d395f4f1
UDF update and insert bug fix
2017-06-14 16:18:43 +02:00
Paolo
86a1eb876e
UDF update bug fix
2017-06-14 15:24:08 +02:00
Paolo
236cf4ec3d
Better log debug output for the name of the called web service
2017-06-13 12:43:42 +02:00
Paolo
daa08ea30c
Added the query of the restful web service call to the log debug
2017-06-13 12:33:44 +02:00
Paolo
085fed5284
Added a log debug to the constructor of controller APIv1_Controller to
...
undestand what is the called restful web service
2017-06-13 12:00:24 +02:00
Paolo
3706131ed7
Use udf_ as prefix
2017-06-12 13:53:57 +02:00
Paolo
294c65a9bf
Added controller UDF to read UDFs definitions
...
UDFs update&insert second version
2017-06-09 15:45:33 +02:00
Paolo
30c31211aa
Added insert and update for UDFs, first version
2017-06-08 18:26:32 +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