Commit Graph

502 Commits

Author SHA1 Message Date
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
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 a5aea17fa6 UDF fields are present in json output as other fields 2017-05-08 18:46:38 +02:00
Paolo 7312a4afe1 Tast #1342: Messages: root-url of link to ViewMsgByToken-Seite in Info-Email configurable 2017-05-08 14:17:35 +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 d7771da74e - Added utility function var_dump_to_error_log to the fhc_helper
- Added method checkAvailability to model Reihungstest_model
- Added method checkAvailability to library ReihungstestLib
- Added a validation for the test in the method insertPersonReihungstest
of the library ReihungstestLib
2017-05-05 11:06:35 +02:00
Paolo bc4ff5c8e9 6th release 2017-05-04 15:09:06 +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
oesi 870f088549 Added Permission Logging in Debug Mode 2017-04-27 09:01:52 +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 e5d483caba Bugfix: relationmessage_id was missing in case of reply 2017-04-11 12:23:00 +02:00
Paolo de0ed58ba6 - Removed method index, inbox, view and outbox from controller
system/Messages
- Removed views messageReply, messageView, messages, messagesInbox and
messagesOutbox
- Removed menu item "Nachrichten" from VileSci->Admin
- Controller system/Messages: method write also works for replying to a
message
- View system/messageWrite also worki for replying to a message
- Updated content/messages.js.php to call the system/Messages controller
with the new parameters
2017-04-11 12:03:15 +02:00
Paolo 811f5d395d - Escaped all the parameters concatenated to a query
- Added parameter titel to Studiengang2->getAppliedStudiengang
- Added parameter titel to Studiengang_model->getAppliedStudiengang
2017-04-06 11:13:16 +02:00
Paolo a2d2296f33 - Added method addGroupBy to DB_Model
- Changed the query present in method getPrestudentMultiAssign of Prestudent_model
2017-04-05 16:58:23 +02:00
Paolo 4984b69366 - DB_Model: workaround for CI_DB_driver->_list_columns (if there are two
tables with the same name in two different schemas, it returns a list of
fields from the two tables)
- DB_Model: changed loadTree to use the new method _list_columns
- DB_Model: added the method getSchemaAndTable
- Updated Studiengang_model to specify the schema when using the
loadTree method
- Studiengang_model: removed the titel parameter from method getAppliedStudiengang
- Studiengang2 controller removed the titel parameter from method getAppliedStudiengang
2017-04-04 18:27:31 +02:00
Gerald Raab 70a1b16bd8 Introduced sender-alias for system-mail-sender 2017-04-04 11:19:46 +02:00
Paolo d9781e99c8 Comments correction 2017-03-31 10:53:27 +02:00
Paolo 559b1b4cdf - ViewMessage: checks if the receiver is an employee or not. If an
employee then hides the reply link
- Added isEmployee method to MessageToken_model
2017-03-30 17:44:43 +02:00