Commit Graph

600 Commits

Author SHA1 Message Date
Cris 61a6bc7bfc Fixed SQL query: corrected column order in subquery for Projektbetreuung 2019-09-25 16:25:04 +02:00
Cris 6f5de6a786 Adapted SQL query: gruppen aggregated in one cell, not in seperated rows
Before same lehreinheiten of same lector were shown in different rows,
when they were taught in different groups. This caused incorrect contract
inserts.

One contract is for per lector and per lehreinheit. Gruppen are only
displayed in one cell (aggregated if more)
2019-09-25 15:39:42 +02:00
Cris d7cbc89d8b Added password validation to accept Lehraufträge in view & controller
. added password input field in view
. added password check in controller
. adapted ajax data object and logic to handle password check
2019-09-25 12:15:19 +02:00
Cris 8685f5ed1b Minor fix: Corrected wrong hover color behaviour
Now the row stays green when accepted. Before it was still changing
color when hovering.
2019-09-25 12:11:28 +02:00
Cris dc64cadc4a Changed: now rows are marked green only for accepted Lehraufträge
This is to achieve same behaviour for whole process Lehraufträge
bestellen/erteilen/akzeptieren.
2019-09-25 08:50:21 +02:00
Cris 43452a2127 Hided column 'Betrag' if lector has inkludierte Lehre
If the lectors actual Verwendung has inkludierte Lehre, the tabulators
column betrag is hided.
2019-09-24 16:10:23 +02:00
Cris 6caec74df5 Created SQL-query and tabulator to accept Lehraufträge 2019-09-24 10:10:42 +02:00
Cris 9829532e4f Created View to accept Lehraufträge
Created view and jQuery functions to manipulate the tabulator.
2019-09-24 10:08:20 +02:00
Paolo 0a4dffa704 FilterWidget is now back to only one filter per page, but others features were kept 2019-09-20 17:54:44 +02:00
Cris aa5ad40d5c Minor code enhancement
changed clearFilter method; deleted comment
2019-09-19 14:19:45 +02:00
Cris dd22ae71e3 Added alert/exit when no lehrauftrag was selected 2019-09-19 14:17:03 +02:00
Cris 2d8618b746 Added button to show only new Lehraufträge 2019-09-19 14:16:26 +02:00
Cris 6d2f911d58 Extended tabulator functionalities
Added some adaptations like
. group by lektor
. deselection on rowUpdate
. row formatting
. Text "Anzahl" to bottom line
2019-09-19 14:07:59 +02:00
Cris 9de4faf25d Created View data to approve Lehraufträge (query & tabulator) 2019-09-19 13:16:30 +02:00
Cris 1cbbf2652d Created View to approve Lehraufträge 2019-09-19 13:15:17 +02:00
Cris ad5309e273 Corrected SQL: bestellt/erteilt/akzeptiert in same row; added mitarbeiter_uid
. Corrected SQL to get bestellt/erteilt/akzeptiert in same row
  Before it was creating new row for each stati, which was wrong.

. Added mitarbeiter_uid column.

. Changed column names for better maintainance and understanding.
  (e.g. row_index instead of id)
2019-09-17 15:54:41 +02:00
Paolo bf8b7e0ccd Added JobsViewer 2019-09-16 14:00:51 +02:00
Cris c91cfcb679 Added tabulator options and behaviour 2019-09-12 14:18:14 +02:00
Cris b92f3a1ee5 Adapted tabulator data-query (row index; some extra columns)
. Added incrementing id column which provides unique number to enable
tabulator to use it as row index.

. Added extra colums studiengang_kz, lv_oe_kurzbz
2019-09-12 14:16:08 +02:00
hainberg 35b37179e9 Added Javascript button functionalities and functions for Tabulator
Added buttons and functionalities for
. showing all
. showing new
. select all
. deselect all
...Lehraufträge in tabulator-table

Added methods to manipulate date-data and filtering in tabulator.
2019-09-12 14:09:57 +02:00
alex 67415a4707 - possible to read and write user Variables in Codeigniter
- added Variablenname_model, VariableLib, Variables controller
- Infocenter Übersicht - infocenterData, infocenterFreigegebenData, infocenterReihungstestAbsolviertData: added possibility of toggle of infocenter_studiensemester variable, only prestudents of selected Studiensemester are shown
2019-09-06 17:33:56 +02:00
Cris 6c2cc7412d Enhanced tabulator selection/filtering functionality
. Added buttons "select all" and "deselect all"
. Now filtering will deselect previously selected rows (before: if user
selected rows and filtered after, the previously selected rows were kept
causing misleading Lehrauftrag orderings)
. Added bottom calculations
2019-09-03 10:26:24 +02:00
hainberg aad5f7bd5e Amended Lehrauftrag Controller - GUI with Tabulator-table
Amended the Lehrauftrag Controller GUI:
. corrected DB query
. corrected processing of GET-params
. corrected filter of tabulator (LE-ID caused problems -> now LE_ID)
. now stg are retrieved by permission entitlement of user
. implemented Tabulator filter and other properties/functions
. minor GUI adaptations
. added phrase
2019-08-29 14:19:01 +02:00
Cris 757ba05bc7 Started Lehrauftrag data query [PRE-ALPHA-VERSION]
Started: Building the Lehrauftrag data query to populate the
tabulator-table.
2019-08-01 15:49:23 +02:00
Cris bb99d7b722 Started Lehrauftrag View [PRE-ALPHA-VERSION]
Started: Building the Lehrauftrag view.
2019-08-01 15:47:47 +02:00
Paolo 970744464d Added jqueryui to home.php, now required from AjaxLib.js 2019-07-18 16:33:01 +02:00
Paolo 6752dc649f Now is possible to have more than one FilterWidget in a single page 2019-07-17 11:38:47 +02:00
Paolo 2013c86ad3 Added jQuery wrapper to tabulator 2019-07-12 18:03:04 +02:00
Paolo 9cb1062275 Added new option hideMenu to FilterWidget 2019-07-11 12:59:30 +02:00
Paolo 31caf460ec Removed extra divs from views/widgets/filter/tableDataset.php 2019-07-11 12:14:35 +02:00
Paolo 73220d8dd6 More options to hide or show filter widget settings panel 2019-07-11 09:42:13 +02:00
Paolo 2922aa26fe Added tabulator to composer, FHC-Header and a CSS for it 2019-07-09 11:57:52 +02:00
Paolo f0ee8b0161 Added Tabulator to FilterWidget (alpha version) 2019-07-09 11:30:16 +02:00
Paolo 48bcc77c97 - Added CSS public/css/Tabulator.css and public/css/TinyMCE.css
- Added these new CSS to views/templates/FHC-Header.php
- Unified messages CSS in public/css/messaging/message.css
- Messages Inbox/Outbox GUI beautified
2019-07-04 17:18:01 +02:00
Andreas Oesterreicher 7886cfc9e3 Tooltiptext für Notendurchschnitt auf Gradeliste hinzugefügt.
Menüpunkt im FAS gegendert
2019-07-01 14:37:14 +02:00
Paolo 34dc82766a - Renamed public/js/messaging/messageClient.js to public/js/messaging/read.js
- Added new JS public/js/messaging/write.js used in view application/views/system/messages/ajaxWrite.php
- Added new public method write, listReceivedMessages, listSentMessages and sendMessageToOU to controller system/messages/MessageClient.php
- Removed private method _getReceiversByOekurzbz from MessageLib
- Fixed method sendMessageOU of MessageLib
- Added new public method prepareAjaxWrite to model CL/Messages_model
- Fixed method prepareAjaxReadReceived of model CL/Messages_model
- Added new public method prepareAjaxReadSent to model CL/Messages_model
- Changed method CL/Messages_model->_personLog interface
- Added new public method getOrganisationunitsByPersonId to crm/Prestudent_model
- Added new public method getReceivedMessages to model system/Recipient_model
- Changed getReceivedMessages method of model system/Recipient_model
- Changed view system/messages/ajaxRead.php
- Added new view system/messages/ajaxWrite.php
2019-06-28 19:01:25 +02:00
Andreas Österreicher 7ff6427d55 Notenspiegel Student umbenannt in Studienverlauf und Menüpunkt nach Berichte->Student verschoben 2019-06-25 08:48:20 +02:00
Paolo 27ccd086ac - Added new functions getAuthFirstname and getAuthSurname to helper hlp_authentication_helper
- Added methods getReceivedMessages and getSentMessages to model system/Recipient_model.php
- Added jqueryui and dialoglib to view system/messages/ajaxRead
- Added method prepareAjaxRead to model CL/Messages_model
- Removed private method _getAuthUser from model CL/Messages_model
- Adapted code in model CL/Messages_model to use functions isLogged and getAuthPersonId
2019-06-24 17:32:31 +02:00
Paolo 1cb9c28f7d - Added new controller system/messages/MessageClient used to read and write messages using a new GUI based on ajax and tabulator
- system/messages/MessageClient currently has only two methods: read and listMessages
- Added new view system/messages/ajaxRead.php used for the GUI to read messages
- Added new parameters to templates/FHC-Header: tabulator and momentjs
- Added new packages to composer: tabulator and momentjs
2019-06-19 17:53:51 +02:00
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 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
raab 1b87073060 Formatierung Datum der Anmeldefrist 2019-06-07 11:19:45 +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
raab ce61b30ec4 spalte anzahlaktepflicht, bugfixes 2019-05-24 13:03:44 +02:00
Paolo 56e5718120 Merge branch 'master' into cleanci 2019-05-10 10:36:21 +02:00
Andreas Österreicher 0136d78cfd Aligned ECTS in Gradelist 2019-05-10 07:53:39 +02:00
Manfred Kindl 69d624b841 Fixed display of dragAndDrop filters 2019-05-06 14:06:44 +02:00