Commit Graph

9718 Commits

Author SHA1 Message Date
Paolo b364cfae06 - Moved controllers FASMessages and Messages to system/messages/
- Adapted code to use the new path
2019-06-19 15:29:17 +02:00
Paolo 99570978c3 - Renamed view system/messages/messageHTML to system/messages/htmlRead
- Renamed view system/messages/messageWriteReply to system/messages/htmlWriteReply
- Removed views system/messages/messageReplySent and system/messages/messageForm
- Moved logic from controller ViewMessage to model CL/Messages_model
- Added new constants CFG_REDIRECT_VIEW_MESSAGE_URL to MessageLib
- Removed public method getPersonData from model system/MessageToken_model
- Changed query in method system/Recipient_model->getMessage to include column tbl_msg_recipient.sent
- Added new public method prepareHtmlRead to model CL/Messages_model
- Changed constant REPLY_BODY_FORMAT of model CL/Messages_model
- Added new constant NO_AUTH_UID to model CL/Messages_model
- Added new public method prepareHtmlWriteReply to model CL/Messages_model
- Changed public method sendReply of model CL/Messages_model
- Added new private method _getReplyBody to model CL/Messages_model
- Changed method _personLog of model CL/Messages_model to manage not authenticated users
2019-06-19 14:51:54 +02:00
Paolo f6e0f58b3d - Renamed view system/messages/messageSent.php to system/messages/htmlSuccess.php
- Added new view system/messages/htmlError.php
- Renamed view system/messages/messageWrite.php to system/messages/htmlWriteTemplate.php
- Added new widget views: widgets/Dropdown_widget.php and widgets/MultipleDropdown_widget.php
- Added new CSS public/css/Widgets.css
- Controller system/FASMessages:
	- Renamed method write to writeTemplate and method writeReply to writeReplyTemplate
	- Removed all the private methods and moved all the logic to model CL/Messages_model
	- Methods writeTemplate and writeReplyTemplate do not need anymore the sender id as parameter
- Controller system/Messages:
	- Renamed method write to writeTemplate
	- Renamed method send to sendImplicitTemplate
	- Renamed method sendJson to sendExplicitTemplateJson
	- Moved all the logic to model CL/Messages_model
- Adapted php and JS code to use these new methods names and interfaces
- Removed public method getIsAdmin from MessageLib
- Method _sendMessage of MessageLib now returns the saved message ids
- Added new package olifolkerd/tabulator to composer
- Added new parameter widgets to view templates/FHC-Header.php
- Added new HTML widget widgets/Dropdown_widget and widgets/MultipleDropdown_widget
- Added constants REPLY_SUBJECT_PREFIX and REPLY_BODY_PREFIX to model CL/Messages_model
- Added new public methods prepareHtmlWriteTemplatePersons, prepareHtmlWriteTemplatePrestudents, sendImplicitTemplate, sendExplicitTemplate, getVorlage, parseMessageText and getMessageFromIds to model CL/Messages_model
- Added new private methods _getAuthUser, _lowerReplaceSpaceArrayKeys, _addOeToPrestudents, _personLog and _prepareHtmlWriteTemplate to model CL/Messages_model
2019-06-18 18:25:26 +02:00
Paolo 5bda5eb966 - Moved view system/messages/messageList.php -> system/infocenter/messageList.php
- Moved js public/js/messaging/messageList.js -> public/js/infocenter/messageList.js
- Updated includes in controller system/infocenter/InfoCenter.php and view system/infocenter/infocenterDetails.php
2019-06-14 15:40:15 +02:00
Paolo 0ef94aacda - Fixed query method getMessages in model models/system/Recipient_model.php
- Changed interface method sendMessages of job jobs/MailJob.php
- Added function terminateWithError to helper helpers/hlp_common_helper.php
- Changed method overrideConfigs of library MailLib
- Removed method getConfigs from library MailLib
- Added public method getEmailNumberToSent to library MailLib
- Changed method sendAllNotices of library MessageLib
- Renamed private method _sendNotice to _sendOneNotice in library MessageLib
- Added new private methods _loadDbNoticeEmailTemplate, _loadFsNoticeEmailTemplate and _sendNotice to library MessageLib
- Changed method _getNoticeBody in library MessageLib
- Removed methods _getNoticeHTMLBody and _getNoticeTXTBody from in library MessageLib
2019-06-13 18:23:24 +02:00
Paolo 8135c6275e - Fixed query building in method getMessages of model models/system/Recipient_model.php
- Better code in controller api/v1/system/Message.php
- Adapted controller api/v1/system/Message.php to use sendMessageUser and sendMessageUserTemplate methods from MessageLib
- Adapted model models/CL/Messages_model.php to use sendMessageUser and sendMessageUserTemplate methods from MessageLib
- Adapted model models/CL/Messages_model.php to use function parseText
- Removed constant MSG_INDX_PREFIX from MessageLib
- Added constants to MessageLib: CFG_SYSTEM_PERSON_ID, CFG_SEND_IMMEDIATELY, CFG_MESSAGE_SERVER, CFG_MESSAGE_HTML_VIEW_URL, CFG_OU_RECEIVERS, NOTICE_TEMPLATE_HTML, NOTICE_TEMPLATE_TXT, NOTICE_TEMPLATE_FALLBACK_HTML, NOTICE_TEMPLATE_FALLBACK_TXT, EMAIL_KONTAKT_TYPE and SENT_INFO_NEWLINE
- MessageLib does not load anymore library parser
- Improved MessageLib code
- Added private methodis _sendMessage, _getSender, _getNoticeBody, _getNoticeHTMLBody, _getNoticeTXTBody and _ouExists to MessageLib
- Added public methods sendMessageUser, sendMessageUserTemplate and sendMessageOU to MessageLib
- Renamed method sendAll to sendAllNotices in MessageLib
- Renamed method sendOne to _sendNotice and changed it from public to private
- Renamed method _checkReceiverId to _getReceiversByPersonId
2019-06-13 15:57:45 +02:00
Paolo a5b3f0ed88 - Moved constants EMAIL_KONTAKT_TYPE and SENT_INFO_NEWLINE from config/constants.php to MessageLib
- Added function parseTemplate to helper helpers/hlp_common_helper.php
- Changed method getMessages of model models/system/Recipient_model.php
- Changed views/templates/mailHTML.php and views/templates/mailTXT.php
2019-06-13 14:09:56 +02:00
Paolo 2ef386c34e - Changed system/dbupdate_3.3.php to add oe_kurzbz to table public.tbl_msg_recipient and foreign key fk_tbl_msg_recipient_oe_kurzbz
- Removed not used constants for messaging from config/constants.php
- Renamed config entry assistent_function to ou_receivers and converted from string to array
- Moved controllers/MailJob.php to controllers/jobs/MailJob.php
- Controller MailJob now extends CLI_Controller
- Added new function parseText to helpers/hlp_common_helper.php
- Improved code function generateToken in helpers/hlp_common_helper.php
- helpers/hlp_sancho_helper.php now uses parseText function from hlp_common_helper
- Removed method parseVorlagetext from PhrasesLib.php
- PhrasesLib.php now uses parseText function from hlp_common_helper
- Removed method parseVorlagetext from VorlageLib
- Improved code of controller controllers/system/Messages.php (uses parseText too)
- Controller controllers/system/Vorlage.php now uses parseText
2019-06-12 17:27:35 +02:00
Andreas Österreicher 056f0a0a2d Zeugnisvorlage angepasst damit auch Lehrveranstaltungen angezeigt werden die noch nicht benotet wurden 2019-06-11 18:23:09 +02:00
Andreas Österreicher c631eb4bad Removed legacy Addslashes 2019-06-07 21:04:28 +02:00
raab 975e222faa Merge branch 'master' of https://github.com/FH-Complete/FHC-Core 2019-06-07 11:21:28 +02:00
raab 1b87073060 Formatierung Datum der Anmeldefrist 2019-06-07 11:19:45 +02:00
Nikolaus Krondraf d827f895b2 Merge branch 'master' of github.com:FH-Complete/FHC-Core 2019-06-07 11:19:27 +02:00
Nikolaus Krondraf da23fa77cc Bugfix fürs Auslesen der studiengang_kz 2019-06-07 11:19:10 +02:00
Andreas Österreicher 9b87a69528 Removed Legacy Templates 2019-06-07 08:18:34 +02:00
Andreas Österreicher 960cfd40b3 Studiengangsname für Bescheid/Prüfungsprotokoll/etc wird vom Studienplan des letzten Status geholt anstatt vom Absolventenstatus 2019-06-07 07:58:38 +02:00
Paolo f30296d9b3 Merge branch 'phpci' 2019-06-06 12:30:06 +02:00
alex d5f444e98c public/tablesort.js: tablesorter is destroyed before new initialization if already applied to a table 2019-06-06 10:12:33 +02:00
hainberg 033bb35f88 Merge branch 'master' of https://github.com/FH-Complete/FHC-Core 2019-06-06 08:50:24 +02:00
Cris fab7c72dda Changed menu titles (BASIS -> Basisgebiete; Quereinstieg -> Quereinstiegsgebiete) 2019-06-06 08:50:15 +02:00
Cris eb3f814e09 Enhanced CSS for correct responsive testtool behaviour
Bootstrap, HTML- and CSS stylings were colliding and causing issues when
resizing the screen. This is fixed now.
2019-06-06 08:48:25 +02:00
Paolo 3dfa95b9cd Changed phpci.yml 2019-06-05 16:35:18 +02:00
Paolo 5fde855e12 - Added ignore option to php_cpd and php_code_sniffer in phpci.yml 2019-06-05 14:14:27 +02:00
Paolo 0aec9ee694 Merge branch 'master' of https://github.com/FH-Complete/FHC-Core 2019-06-05 13:57:31 +02:00
Andreas Oesterreicher 57102409c9 Phrase Matrikelnummer auf Personenkennzeichen korrigiert 2019-06-05 11:41:50 +02:00
Nikolaus Krondraf 448bb1ed91 Anzeige der Erfolgs-/Fehlermeldung verlängert 2019-06-05 11:25:24 +02:00
Paolo 6b17dbca52 - Removed tests/codeception/_data/dump.sql
- Changed phpci.yml to make php_parallel_lint a blocking test
- Changed phpci.yml to configure the rules used by php mess detector
- Changed phpci.yml added allowed_warnings: -1 to php_code_sniffer
2019-06-05 11:19:05 +02:00
Cris 99d0564656 Removed convertProblemChars functions for correct presentation with CDATA
When using CDATA there is no need to first transform the signs into
HTML characters (e.g. & instead of &), actually it caused wrong
display in text. This is fixed now.
2019-06-04 11:59:50 +02:00
Cris 5a3aacbb58 Wellformed XML code with CDATA
The document was not created because of XML parsing error.
Now special signs like the & (ampersand) will be parsed correctly.
2019-06-04 11:26:50 +02:00
Cris 0eead44c6a Fixed display for smaller screens
Now the answer-possibilities were compressed in an unreadable manner on
smaller screens. This is fixed now.
2019-06-03 16:47:23 +02:00
alex 05a049edca Infocenter message Quereinsteiger Freigabe
- Orgform bezeichnung shown in german and english
Infocenter Controller changes
- constants for Interessent and Abgewiesener names added
- removed unnecessary parameters in comments
crm/Prestudent_model
- fixed typo
2019-06-03 16:30:44 +02:00
Andreas Österreicher ff31397bc5 Moved DMS Tools to Coreutils Repo 2019-06-03 14:26:40 +02:00
Andreas Österreicher 5db6614e5b Commented Extension installation for PHPCI 2019-06-03 14:22:53 +02:00
Andreas Österreicher 8d5742136c Gradelist
- added additional Informations for courses
   - only display courses where the person is assigned to
   - added SWS Sum
   - Improved Multilanguage support
2019-05-28 18:37:21 +02:00
Andreas Österreicher 0c05e18949 Reverted additional View Permissions 2019-05-28 18:32:20 +02:00
Cris fc316efd3d Fixed XML parsing error of ampersand '&' for study description
Ampersand within study description was causing error messages in
rdf files while XML parsing. Now this is fixed (by wrapping with CDATA)
2019-05-28 17:16:27 +02:00
Cris 7109b7974b Added GRANT privileges on campus.vw_student
Needed to download some FAS documents (like Accountinfoblatt or
DiplomaSupplement).
2019-05-28 17:09:51 +02:00
Cris e52e1fa001 Added job that informs about new applications sent after reihungstest absolved.
Added job that sends eMail(s) to the relevant stg assistance(s)
informing about all applicants, who have sent new applications
AFTER they had absolved a placement test in the actual studiensemester
AND who have been confirmed yesterday.
2019-05-27 10:42:02 +02:00
raab ce61b30ec4 spalte anzahlaktepflicht, bugfixes 2019-05-24 13:03:44 +02:00
Andreas Österreicher 2e69900a50 Erfolgsnachweise angepasst
- Infotext angepasst dass nur positive LVs angezeigt werden
	- Studiensemester in Summenzeile entfernt
	- ECTS und SWS werden immer mit 2 Nachkommastellen angedruckt
	- Studiensemester und Ausbildungssemester Anzeige am Zeugnis getauscht
2019-05-23 18:41:50 +02:00
Andreas Österreicher b72c3ba0e4 Added additional information in tempus to show if lecturer is fixed/external 2019-05-23 17:15:13 +02:00
Andreas Österreicher 9465852f2b FAS search includes the matrikelnumber attribute 2019-05-22 18:10:37 +02:00
alex d341e5e1b1 Merge branch 'master' into stplreservierung 2019-05-21 18:32:33 +02:00
alex 73328f0dea Infocenter Message Sending
- Infocenter RT Freigabe not sent if Prestudent has ANY bestätigt Interessentenstatus for the Studiensemester (not only last Status)
- removed unnecessary interessentenCount array
- moved part of message send check logic to InfoCenter Controller
2019-05-21 18:28:28 +02:00
raab d95441fb52 text eidesstattliche erklärung angepasst 2019-05-21 13:30:14 +02:00
Manfred Kindl d449431469 SQL formatted 2019-05-17 14:49:10 +02:00
Manfred Kindl 45c1304b51 convert_html_chars bei Studiengangsnamen
Um Sonderzeichen herauszufiltern
2019-05-17 14:48:49 +02:00
Manfred Kindl 92b1850cd8 Cronjobverwaltung GUI-Verbesserungen 2019-05-17 14:45:44 +02:00
Manfred Kindl 31de258b7f Lehrgangsart in Studiengangübersicht 2019-05-17 14:45:27 +02:00
Manfred Kindl a8bd11b03c Testuser für Camus International in Testtool Login 2019-05-17 14:45:13 +02:00