Commit Graph

322 Commits

Author SHA1 Message Date
Gerald Raab ed5ee67cc0 Quickfix multiple Prestudent-Verwendung 2018-05-23 15:39:21 +02:00
Andreas Österreicher f9346a37fb PHP Version fix 2018-05-23 15:28:01 +02:00
alex ae052ec212 updated phrases for infocenter, layoutchanges phrasesupdate 2018-05-22 17:17:09 +02:00
alex 95e18e1ef1 possible to answer to messages with token without login 2018-05-18 19:28:27 +02:00
Paolo a1b9e4e8b1 Merge branch 'master' of https://github.com/FH-Complete/FHC-Core 2018-05-18 13:11:24 +02:00
Paolo 13beae23cc - Added public/css/FilterWidget.css and public/css/NavigationWidget.css to define CSS for Filter and Navigation widgets
- Added public/js/FilterWidget.js and public/js/NavigationWidget.js to collect all the JS for Filter and Navigation widgets
- Added filterwidget and navigationwidget paramaters to FHC-Header to include the new CSS and JS for Filter and Navigation widgets
- Removed all CSS and JS from the views used from Filter and Navigation widgets
- Added method _getFilterUniqueId to controller Filters to generate a unique id for a filter based on fhc_controller_id and the current page
- Adapted the code in controller Filters to use _getFilterUniqueId
- Added method _getFilterUniqueId to widget FilterWidget to generate a unique id for a filter based on fhc_controller_id and the current page
- Adapted the code in widget FilterWidget to use _getFilterUniqueId
- Removed fhc_controller_id from menu generation in InfoCenter controller
- InfoCenter controller now gives as parameter fhc_controller_id to view infocenterDetails
- InfoCenter controller now gives as parameter fhc_controller_id to various redirect
- Views infocenter, infocenterData, infocenterDetails and infocenterFreigegeben:
	- including new JS and CSS to work with Navigation and Filter widgets
	- including AjaxLib (required by FilterWidget.js and NavigationWidget.js)
	- using fhc_controller_id in Details and unlockPerson links
- fhc_controller_id in not anymore a parameter for FilterWidget, adapted the code where FilterWidget is called
- AjaxLib: renamed method _getUrlParameter to getUrlParameter
- Removed function getUrlParameter from public/js/infocenter/infocenterDetails.js, now uses the method from AjaxLib
- Added fhc_controller_id where needed into public/js/infocenter/infocenterDetails.js
- public/js/infocenter/infocenterPersonDataset.js now uses getUrlParameter from AjaxLib
- Added paramater filter_page in infocenterPersonDataset.js when calling Filters/rowNumber
2018-05-18 12:10:14 +02:00
alex 45c3aad94d Adapted query for infocenter parking, replaced null in parkdate with -, set min and max size for messages, increased msglist size, pager counts now only trs in tbody 2018-05-17 17:46:00 +02:00
alex 6a67183738 added Parking feauture to infocenter 2018-05-16 20:00:19 +02:00
Cris 24d4c316e4 Merge remote-tracking branch 'origin/master' 2018-05-16 15:44:24 +02:00
Paolo 4f993b06f4 Merge branch 'master' into permissions 2018-05-14 13:44:03 +02:00
Gerald Raab 257c833d45 'Interessent rejected' ignored in list 2018-05-11 15:43:39 +02:00
alex 26600dac05 added kurzbz to zgv info, optimized responsiveness of panel headers, whole notizenrow clickable 2018-05-11 14:14:16 +02:00
Cris 1254e8d618 Added translation using phrases
. added translation functionality by
-- adding loadPhrases-method in Controllers
-- replacing hardcoded html-text with $this->p->t(...)
2018-05-09 12:36:35 +02:00
alex aa278e89f0 Infocenter details changes: popup for ZGV info, show Bewerbungsfriste(n), optimized mobile responsiveness, set dokumente to "akzeptiert" when freigegeben 2018-05-08 14:13:47 +02:00
alex e4cdac1acb moved infocenter and sb admin js and css from include to public, get inactive parents/children oe is possible 2018-05-03 13:33:08 +02:00
Paolo dba08d4d9e - Added the feature to the Infocenter controller to generate a unique identifier for each call of itself, and to keep using the identifier for the next calls in the same browser/tab
- Added the feature to the FilterWidget to use this identifier to create a different session for each FilterWidget
2018-05-03 12:33:01 +02:00
Cris b7160b00fb Adapted curser pointer for notices
cursor changes now to pointer-symbol when hovering a notice
2018-04-23 14:58:29 +02:00
Paolo 9d5c9b443e Merge branch 'master' into permissions 2018-04-18 17:35:33 +02:00
Cris daab764a14 Added Notice-Update functionality
. added notice updates functionality by clicking on a row in the notice-table
. log "Notice updated" is set into log-table when note was updated successfully
2018-04-18 14:34:36 +02:00
Cris 898b15a6b6 Added view for "Freigegebene Bewerber" - not active yet
added 
. view for freigegebene bewerber
. controller calling the view
. navigation icons / text 

-- navigation item "Freigegeben" DEACTIVATED UNTIL FILTER is revised (filter should return ALL freigegebene Bewerber)
2018-04-17 11:35:16 +02:00
Cris 63a56932e8 Adapted Freigabe-Button at ZGV Prüfung
Freigabe-button is now disabled:
. as long the application was not sent by the bewerber
. for all study programs that are not bachelor
2018-04-16 16:35:50 +02:00
Andreas Österreicher 0ea5d53b0a Replaced base_url with site_url 2018-04-13 14:10:09 +02:00
Paolo 3d42622490 - Better code in controller system/Phrases
- Added new folder views/system/phrases
- Moved views phraseinhaltEdit.php, phrases.php, phrasesEdit.php, phrasesList.php and phrasesinhaltList.php from views/system/ to views/system/phrases/
- Adapted the code to work with this change
2018-04-12 18:14:01 +02:00
Gerald Raab baf6503f2f Updated BaseSQL 2018-04-12 12:12:25 +02:00
Paolo 49e24b0431 - Controller system/Filters now extends CI_Controller
- Added private method _isAllowed to controller system/Filters
- The method _isAllowed is called in the controller constructor and checks if the caller has the permission to read data with this instance of the FilterWidget
- The permission is given as parameter when calling the FilterWidget, the parameter is called requiredPermissions
- Updated the view system/infocenter/infocenterData to give the infocenter permission to the FilterWidget
- Changed the logic into the FilterWidget to manage the requiredPermissions parameter
2018-03-29 16:53:38 +02:00
Gerald Raab a1c4537540 Filter Infocenter angepasst 2018-03-23 09:57:01 +01:00
Paolo e4a254a284 Fixed permissions: now all the controllers that extend FHC_Controller and need the write permission, have added the read permission
It it a workaroud for GET/POST checks
2018-03-22 17:13:12 +01:00
Gerald Raab a5fbd45357 Spalte Nation hinzgrfügt, Login with code wird für Liste ignoriert 2018-03-16 17:54:33 +01:00
Paolo dd610c83d9 - Added navigation.php in application/config to configure menus used by NavigationWidget
- Addded controller system/Navigation to retrive menus via ajax
- Renamed method _setNavigationMenuArray to setNavigationMenuArray and set as public in system/infocenter/InfoCenter
- Now the InfoCenter menu is stored in the session
- The menu is generated by the widget NavigationWidget via JS
- No need anymore to give as parameters to the views the menu arrays
2018-03-09 15:14:16 +01:00
Manfred Kindl b2fcb12936 Merge remote-tracking branch 'origin/master' 2018-03-06 17:04:20 +01:00
Manfred Kindl 56d2686e72 Infocenter Notiz Button für Autotext
"Anmerkung zur Bewerbung"-Text wird automatisch eingefügt
- "Select..."-Option bei Preview nur wenn mehr als 1 Empfänger
2018-03-06 16:54:49 +01:00
Andreas Österreicher 9362f56b63 Modified Infocenter Filter 2018-03-06 15:44:33 +01:00
Andreas Österreicher 99f075ee2f Link zu Onlinebewerbung korrigiert 2018-03-02 11:44:55 +01:00
Andreas Österreicher 67d7deeffc Infocenter Spalten angepasst 2018-03-02 11:35:42 +01:00
Andreas Österreicher 96e2648b06 Infocenter Übersicht
- Lock User hinzugefügt
- Bereits bestätigte Personen werden nicht angezeigt
- Es werden nur Personen angezeigt die nach dem 1.3.2018 18:00
abgeschickt haben
2018-03-02 08:03:24 +01:00
Gerald Raab 67dbca5be3 Click2Dial-Funktion auf InfocenterDetails
Addon-JS injection FHC-Header
2018-03-01 17:16:13 +01:00
alex a2864eb47a added notizen (Anmerkungen) zur Bewerbung 2018-03-01 16:05:23 +01:00
alex 7581ac05dd replaced php requests with ajax requests 2018-02-28 12:56:14 +01:00
Paolo 7869113396 - FilterWidget: bugfixes
- Added column StgAbgeschickt to formatRaw in system/infocenter/infocenterData.php
2018-02-27 18:48:21 +01:00
Paolo bf46abdcc0 Removed columnsAliases parameter from views/system/infocenter/infocenterData.php 2018-02-27 18:38:48 +01:00
Paolo a5059f0d27 Merge branch 'master' of https://github.com/FH-Complete/FHC-Core 2018-02-27 18:37:51 +01:00
Paolo b8c1aae251 Changed FilterWidget to be more responsive with Javascript 2018-02-27 18:37:16 +01:00
alex 6f99a0ff0c fixed bug with zgvdatum when datum null and infoonly 2018-02-26 17:53:46 +01:00
alex 5a4659c2b8 Merge remote-tracking branch 'origin/master' 2018-02-26 16:54:52 +01:00
alex 8f6ee06b9d added "zgv uebernehmen" for prefill of zgv with latest edited zgv, optimized sort of zgvs 2018-02-26 16:54:41 +01:00
Andreas Österreicher 67ae79d4e0 Infocenter Spalte fuer abgeschickte Studiengaenge hinzugefügt 2018-02-26 10:40:55 +01:00
Paolo 75d1a60401 - Removed parameter alternativeMarkRowClass from FilterWidget
- Now the parameter markRow must be a function that returns directly the class to mark records in FilterWidget
- Changed InfoCenter to mark locked record with the new markRow function
2018-02-22 13:54:30 +01:00
Andreas Österreicher 45485ee02a Fixed Bug where wrong Messages are sent if they are not sent immediately
Messages are only sent with the Employee-Adress of the Sender instead of
the private Address. If the Sender is not an Employee, the Messages are
sent with the System-EMail
2018-02-21 23:27:24 +01:00
Paolo 983a73fa48 Merge branch 'master' of https://github.com/FH-Complete/FHC-Core 2018-02-21 18:02:48 +01:00
Paolo 72bb40e786 - Added method escapeLike to DB_Model to escape strings for LIKE operator
- Added JS include jqueryui to InfoCenter
- Added left join to system.tbl_person_lock in infocenterData.php
- Added field LockDate to InfoCenter filter
- Added parameter markRow to InfoCenter filter
- Added DragNDrop to FilterWidget to sort/remove the selected filter fields
- FilterWidget now display the name of the loaded filter if available
- Added the property "name" to the jsonb of filters to display the name of the loaded filter
- Added the static method displayFilterName to the FilterWidget to display the name of the loaded filter
- The collapsible panel in FilterWidget now shows/hides the fields selection, the filter operators and the inputs to save the custom filter
- The GUI remembers if the collapsible panel should be closed or open
- Added the "Apply" button to the filter operators
- Added the markRow parameter to the FilterWidget, used to mark a row if one or more conditions are matched
- Added the alternativeMarkRowClass to use a different class to mark a row
- Added the public static function markRow to the FilterWidget
2018-02-21 17:48:03 +01:00