Commit Graph

9005 Commits

Author SHA1 Message Date
Paolo 095ce57da4 - NavigationWidget header menu dropdown fixed
- NavigationWidget optimizations
2018-07-11 11:57:17 +02:00
Paolo bfaf4e774b APIv1_Controller now loads helper fhc too 2018-07-10 11:37:04 +02:00
Paolo eb89ee18fe Merge branch 'master' into permissions 2018-07-10 10:43:40 +02:00
Cris 4a89c213dd Added feature to create report description
. added feature to add content_id with a button in vilesci statistics
When content_id is set, a link is created to that content_id to add the description of concerned report.
2018-07-10 10:32:37 +02:00
Paolo ea5d9cc2b8 Merge branch 'master' into permissions 2018-07-09 12:17:11 +02:00
Paolo 5b1d801a32 NavigationWidget: implemented drop down menu in the header menu 2018-07-09 12:15:19 +02:00
Paolo 4a29c03c39 - Added private _onComplete method to AjaxLib that calls the eventually given completeCallback and hides the veil
- Changed method _checkAndGenerateAjaxParams to add the possibility to give a completeCallback function as parameter of the Ajax call
2018-07-09 11:24:01 +02:00
Paolo 6791f58cb2 - Renamed the class veil to fhc-ajaxclient-veil in AjaxLib.css
- Added new classes to AjaxLib.css to configure the new error dialog box
- Adapted AjaxLib.js to use the class fhc-ajaxclient-veil
- Added a new private method _defaultErrorCallback to AjaxLib.js
- Now if an errorCallback function is not given when AjaxLib.js is used, then _defaultErrorCallback is used as fallback
2018-07-06 13:30:19 +02:00
Paolo c6f1b7beca 't' method of FHC_PhrasesLib now replace '{<parameter name>}' with '<paramter value>' 2018-07-05 17:14:29 +02:00
Paolo d08eb75b5a Adapted MessageLib, PhrasesLib and UDFLib to use the function getUserLanguage from language_helper 2018-07-05 12:13:02 +02:00
Paolo 83f262f170 - Added helper language_helper to retrive the language of the logged user
- FHC_Controller now loads also the language_helper
- Added missing comments to Auth_Controller
- Fixed comments of session_helper
2018-07-05 12:10:00 +02:00
Paolo 56524dcef2 Merge branch 'master' into permissions 2018-07-02 17:44:14 +02:00
Paolo 419e53a656 - Changed filtersupdate to better divide filters for infocenter overview and freigegeben
- Changed infocenterData to retrive overview filters
- Changed infocenterFreigegebenData to retrive freigegeben filters
- Changed InfoCenter controller to load overview and freigegeben filter's names into the left menu
2018-07-02 17:40:22 +02:00
Manfred Kindl 6e469c3668 Merge remote-tracking branch 'origin/master' 2018-07-02 13:50:34 +02:00
Manfred Kindl 6e0134f2e9 Formalkorrekturen an Backk- und Diplomurkunde 2018-07-02 13:45:46 +02:00
Paolo 9309aeb3ba Merge branch 'master' into permissions 2018-06-29 12:32:36 +02:00
Paolo 9ff3eeff75 - PermissionLib uses isEmptyArray, added comments
- Added requiredPermissions property to the navigation array in the config navigation.php
- Added constant PERMISSION_NAVIGATION_METHOD to NavigationLib
- Added parameter and array element requiredPermissions to method oneLevel of NavigationLib
- Renamed method _sortArray to _sortNavigationArray in NavigationLib
- Added private method _rmNotAllowedEntries to NavigationLib to remove menu entries that the logged user is not allow to use
2018-06-29 12:31:45 +02:00
Paolo 845975ebfe Method hasAtLeastOne of PermissionLib can check permissions with a fixed given permission type
or retrive the permission type from each element of the requiredPermissions array
2018-06-29 12:02:05 +02:00
Paolo 2cba129076 - Added method hasAtLeastOne to the library PermissionLib
- Adapted the method isAllowed of the library FiltersLib to use hasAtLeastOne
- Corrected/added comments
2018-06-29 11:51:16 +02:00
Paolo 2b15c88410 - Moved the loading of the fhcauth from Filters controller to the library FiltersLib
- Added comments
2018-06-29 11:24:50 +02:00
Andreas Österreicher a61e350705 Script zum Holen der Matrikelnummer Clearingdaten hinzugefügt 2018-06-29 09:08:16 +02:00
Andreas Österreicher 9822e07ac8 Neue Spalte bpk zu Tabelle public.tbl_person hinzugefügt
Cronjob für automatische Abfrage von Matrikelnummern hinzugefügt
Script für import der Matriklenummer Clearing Daten hinzugefügt
2018-06-28 18:55:55 +02:00
Paolo 99292f93a7 PermissionLib->isEntitled is NOT checking anymore if the HTTP method to access to the
controller method is POST or GET to define what permission type (RW/SUID) is needed
2018-06-28 16:34:26 +02:00
Paolo 8f566e0499 Auth_Controller is now able to display a better message if the user is unauthorized
This message contains:
- the name of the called controller
- the name of the called method of the called controller
- all the possible permissions and related modes needed to acces to this content
2018-06-28 16:09:12 +02:00
Paolo 46e85a2317 Merge branch 'master' into permissions 2018-06-28 14:52:09 +02:00
oesi 01ca9d61ce Klammerung korrigiert 2018-06-28 10:06:55 +02:00
Andreas Österreicher 7900c39c61 Merge branch 'master' of github.com:FH-Complete/FHC-Core 2018-06-28 08:31:11 +02:00
Andreas Österreicher 3c3ed7e46b Konfiguration für Datenverbund Services hinzugefügt
Testclient für Datenverbund erweitert für manuelle Abfrage und Meldung
einzelner Personen und Logging von Datenverbund Requests
2018-06-28 08:29:25 +02:00
Paolo 25e66bf9dd - Added function isEmptyString to fhc_helper
- Added function isEmptyArray to fhc_helper
- Adapted the code in application/* to use as much as possible this two new functions
- Removed the php function empty almost everywhere
2018-06-27 15:06:04 +02:00
Paolo d04b0450da - AuthLib is loaded only in fhcauth_helper, PermissionLib and REST_Controller
- Removed all the NOT usefull loads of helpers and libraries
- Fixed undefined index in controllers/system/UDF and model system/UDF_model
- APIv1_Controller now loads helper fhcauth
- FHC_Controller now loads ithe fhc and session helpers too
- Added/Fixed comments
- PermissionLib does NOT use anymore the getAuthUID function from the fhcauth helper, now relies on AuthLib directly
- REST_Controller loads directly the AuthLib when is needed
2018-06-27 13:12:46 +02:00
Paolo 2f0048c0c3 - Removed load->helper->('message') from the remaining libraries
- Removed AuthLib from the autoload config file
2018-06-27 11:35:58 +02:00
Paolo d4e6027c7c Removed load->helper->('message') from libs 2018-06-27 11:26:42 +02:00
Paolo d8bcc25ac2 Now the helper message is loaded only by these controllers and models:
- APIv1_Controller
- FHC_Controller
- MessageToken_model
2018-06-27 11:10:40 +02:00
Paolo 581cb69a6f - FiltersLib: fixed typo that prevents to save custom filters 2018-06-27 10:45:57 +02:00
Andreas Österreicher 2a5e36021c Added Sorting Attribute to Infocenter Menu Entries 2018-06-27 10:02:27 +02:00
Andreas Österreicher 2fed75f175 Fixed PHP compatibility issues 2018-06-26 18:10:21 +02:00
Cris dbb420bcac Optimized Sancho images for the web
. reduced size of sancho images for better performance
2018-06-26 17:34:36 +02:00
Paolo 737c9fa07e Merge branch 'master' into permissions 2018-06-26 14:02:54 +02:00
Andreas Österreicher 22a8e91e15 Fixed broken Navigation when Extensions are installed 2018-06-26 13:57:38 +02:00
Andreas Österreicher fb07ffcea0 Merge branch 'master' of github.com:FH-Complete/FHC-Core 2018-06-26 13:43:40 +02:00
Andreas Österreicher bd0979a096 PHP Version compatibility Fixes 2018-06-26 13:42:54 +02:00
Paolo bd101e154c Merge branch 'master' into permissions 2018-06-26 13:38:12 +02:00
Paolo 945d439426 - Added method _getNavigationArray to NavigationLib
- Adapted getMenuArray and getHeaderArray to use this new method
- Added comments
2018-06-26 13:35:21 +02:00
Andreas Österreicher c26289cff6 Tippfehler bei Zurück Button behoben 2018-06-26 11:22:15 +02:00
Paolo 51ab4feeea Merge branch 'master' of https://github.com/FH-Complete/FHC-Core 2018-06-26 10:55:28 +02:00
Paolo 70d865a703 - Better error message in method saveCustomFilter of Filters controller
- NavigationWidget.css: added margin-right to icons in the header menu
- FilterWidget.js: function sideMenuHook now calls the renamed refreshSideMenuHook function
- NavigationWidget.js:
	- Added comments
	- Renamed function _printNavItem to _buildLeftMenuStructure
	- Added funtion _buildHeaderMenuStructure to build the header menu
	- Added function refreshSideMenuHook to call a controller that will refresh the left menu array and GUI
- infocenterPersonDataset.js:
	- Renamed function refreshSideMenu to refreshSideMenuHook
	- Now this function calls the NavigationWidget -> refreshSideMenuHook function
2018-06-26 10:45:20 +02:00
Cris fc0a68c168 Adapted Sancho Popup (mandatory Ampeln) to new Sancho Design
. popup for mandatory notifications  in CIS has now same design like eMails
. added bootstrap to popup
. added title "Aktuelle Ampeln" to CIS Ampelsystem
2018-06-26 10:38:54 +02:00
Manfred Kindl 2adb4c91df Merge remote-tracking branch 'origin/master' 2018-06-25 18:15:02 +02:00
Manfred Kindl 20e5e84ea8 Adapted Vorlage Bescheid 2018-06-25 18:13:55 +02:00
Manfred Kindl 1b3d41cd50 Changed :hover background color of tablesorter 2018-06-25 18:13:38 +02:00