Commit Graph

9435 Commits

Author SHA1 Message Date
Paolo 04b1ec327a - Added new config file permission.php
- It contains the following entries:
	- List of permissions that are allowed to perform loginAs
	- List of permissions that cannot be gained with loginAs
	- List of users whose identity cannot be obtained with loginAs
- Removed config entries authentication_loginas_perms and authentication_loginas_blacklist from config file auth.php
- Added constants to PermissionLib: LOGINAS_ALLOWED, LOGINAS_BLACKLIST and LOGINAS_USERS_BLACKLIST
- PermissionLib loads the config file permission.php
- Added public method isEntitledLoginAS to PermissionLib
- Added private methods _inLAUsersBlacklist, _hasLANotAllowedPermissions and _hasLAPermissions to PermissionLib
- Added public method loginAS to AuthLib
- Fixed logout method in AuthLib
- Fixed loginLDAP method in AuthLib
2019-03-13 18:07:15 +01:00
Paolo 53a0b60ba8 - Removed method getCheckUserAuth form api/v1/CheckUserAuth
- Changed LDAP_Model to a library: LDAPLib
- Removed controller system/Login

AuthLib:
- Added new private method _createAuthObjByPerson
- Moved config load from constructor to _authenticate
- Moved Person_Model load from constructor to _createAuthObjByPerson
- Removed method checkUserAuthByCode
- Removed method checkUserAuthByCodeEmail
- Adapted code to use LDAPLib
2019-03-13 11:57:36 +01:00
Paolo fd9a2266ec Added new public method loginLDAP to AuthLib 2019-03-13 10:24:19 +01:00
Paolo d1b4024b76 - Added new constants LDAP_NO_USER_DN and LDAP_TOO_MANY_USER_DN in constants.php
- LDAP_Model->getUserDN now returns errors with more information
- Login redirection is performed with HTTP code 302 instead of 301
- Fixed _checkHBALDAPAuthentication behavior
- AuthLib errors have more information
2019-03-12 16:14:58 +01:00
Paolo 13db712fa7 - Changed authentication_login to AUTH_LDAP in auth.php
- Fixed paths in array authentication_login_pages in ayth.php
- Added new constants AUTHENTICATION_LOGIN and AUTHENTICATION_LOGIN_PAGES to AuthLib
- Added private method _redirectToLogin to AuthLib
- Better comments
2019-03-12 14:00:56 +01:00
Paolo aefd210273 - Added new configuration file auth.php for authentication
- Added new configuration file ldap.php for LDAP connection
- Added new controller system/Login to manage logins
- Added new controller system/Logout to manage logout
- Added new core model LDAP_Model to manage LDAP connections
- Added new constants in config/constants for authentication
- Added new function getCode to hlp_message_helper
- Now core/Auth_Controller loads the AuthLib as first step
- Now PermissionLib does NOT load anymore the AuthLib
- Removed old logic from PermissionLib
- Now function getAuthUID (hlp_authentication_helper) does not load anymore the AuthLib
- Now REST_Controller loads hlp_message_helper and hlp_common_helper
- core/APIv1_Controller does NOT load anymore hlp_message_helper and hlp_common_helper
- Added new constants to AuthLib
- AuthLib constructor now accept a parameter to enable the authentication immediatly (default)
- AuthLib loads configuration file auth.php and Person_model by default
- Added public methods getAuthObj and logout to AuthLib
- Renamed CheckUserAuthByUsernamePassword to checkUserAuthByUsernamePassword, CheckUserAuthByCode to checkUserAuthByCode and CheckUserAuthByCodeEmail to checkUserAuthByCodeEmail in AuthLib
- Added private methods _createAuthObj, _isLogged, _showInvalidAuthentication, _showError, _checkBTAuthentication, _checkHBALDAPAuthentication, _checkLDAPAuthentication, _checkForeignAuthentication, _storeAuthObj and _authenticate to AuthLib
2019-03-12 11:33:01 +01:00
Paolo abf766ce51 - Added session_start() to hlp_session_helper to start a PHP standard session (NOT CI session)
- Added functions cleanSession and cleanSessionElement to hlp_session_helper
- Renamed setElementSession to setSessionElement in hlp_session_helper
- Renamed getElementSession to getSessionElement in hlp_session_helper
- Adapted the code that were using this helper
- Autoload does NOT load anymore helper hlp_session_helper
- Controller controllers/system/Filters now loads the AuthLib
- Removed var_dump from controllers/jobs/ReihungstestJob
2019-03-12 11:16:42 +01:00
Paolo fdddb52259 - Moved REST_Controller from libraries to core directory
- Changed the relatives includes
- Changed the controller api/v1/CheckUserAuth to be adapted to the AuthLib changes
- Removed function auth from helpers/hlp_authentication_helper
- Adapted function getAuthUID of helpers/hlp_authentication_helper to the AuthLib changes
- Adapted constructor of PermissionLib to the AuthLib changes
2019-02-27 11:24:27 +01:00
Paolo c20d7779ca Moved all constants definitions from config/* to config/constants.php 2019-02-26 12:33:13 +01:00
Andreas Oesterreicher 729611aa87 Problem behoben beim Erstellen der Studienerfolgsbestätigung mit
Sonderzeichen
2019-02-26 08:35:37 +01:00
Paolo 663c1d9f35 Merge branch 'messages' 2019-02-25 15:57:40 +01:00
Paolo acd918a547 system/MessageToken_model and system/PersonLog_model models now extend DB_Model 2019-02-25 15:57:07 +01:00
Paolo 8dd7ed0335 Merge branch 'master' into messages 2019-02-25 15:28:13 +01:00
Paolo 2d7cc09d02 - Added new model CL/Messages_model.php
- Moved logic from controllers system/Messages and ViewMessage to CL/Messages_model
- Better code
- MessageLib and PersonLogLib methods do not use anymore show_error and return success/error object
- helpers/hlp_message_helper: hasData function changed
2019-02-25 15:23:31 +01:00
Manfred Kindl e598264f30 New Cronjobs for Reihungstests
- runZentraleReihungstestAnmeldefristAssistenzJob
- runZentraleReihungstestNachtraeglichHinzugefuegtJob
- runRemindApplicantsOfPlacementTestJob
- New function getWorkingDays returns business days between two dates
- New function checkReachedRegistrationDate
- New function getApplicantsOfPlacementTestForCronjob
- New function getApplicantAssignedAfterDate
- New function getApplicantsOfPlacementTest
- New function getTestsOnDate
- New function loadStudiengaengeFromTyp
2019-02-25 10:30:34 +01:00
Manfred Kindl d98f66e27e Academy-Logo für Bewerbungstool 2019-02-25 10:24:24 +01:00
Manfred Kindl 6b4f480e70 BugFix Notenanzeige Incomings
Bei Incoming-Studierenden wurden bisher keine Noten angezeigt. Das ist nun behoben.
2019-02-25 10:23:55 +01:00
Manfred Kindl 7ef2d44a78 Menüpunkt Lektorenzuordnunginstitute verschoben
Menüpunkt Lektorenzuordnunginstitute von "Extras" in "Statistik" verschoben
2019-02-25 10:06:48 +01:00
Manfred Kindl 835c1081fc BugFix Anzeige Begutachter
BugFix Mail an BetreuerInnen senden
2019-02-25 10:04:40 +01:00
Manfred Kindl 07d994a68a Attribute Sprache, Subject und OrgFormKurzbz in GUI und Klasse
- Tinymce für HTML-Vorlagen
- Kopierfunktion für Vorlagen
2019-02-25 10:03:22 +01:00
Andreas Österreicher 5020f00d3c Merge branch 'master' into lvgruppen 2019-02-21 18:41:07 +01:00
Andreas Österreicher 8fdf91b4bb CI Dashboard can now be injected by Addons
Cleaned Up CI Navigation
2019-02-21 18:10:25 +01:00
alex e9757016fe Merge remote-tracking branch 'origin/master' 2019-02-21 17:18:35 +01:00
alex 0cb86f84ed Infocenter:
- No Message sent when FIT program Freigabe
2019-02-21 17:18:12 +01:00
Andreas Oesterreicher 1474400a3c Zusatztext für Lehrgänge wird jetzt auch erstellt wenn der Lehrgang mit
Typ E erfasst ist
2019-02-21 11:29:58 +01:00
Andreas Österreicher 5fe28e4904 Removed Header Styling from default Header 2019-02-21 10:37:32 +01:00
alex a2d0ae6da8 Infocenter:
- FIT Programme Studiengänge 10021,10027 can be freigegeben an Studiengang
 - earlier check for existing prestudentid in prestudentmodel in getPrestudentWithZgv method
 - reduced Sprache attributed to sprache, locale, bezeichnung in prestudentmodel in getPrestudentWithZgv method
2019-02-20 16:50:20 +01:00
raab 0645095af0 Unterscheidung ob intern / extern bei MitarbeiterInnen ind Suche und Profil 2019-02-19 15:31:58 +01:00
Manfred Kindl 4b8615df8d Merge remote-tracking branch 'origin/master' 2019-02-18 17:05:39 +01:00
Manfred Kindl ae29f9e93a Function getStudiensemesterOnlinebewerbung with optional "art" 2019-02-18 16:55:58 +01:00
Paolo e93ee71466 Removed not implemented method 2019-02-15 15:34:48 +01:00
Paolo d82c35f964 Merge branch 'master' into messages 2019-02-15 15:31:55 +01:00
Paolo a913482ef4 - Added private method _replaceKeys to controller system/Messages.php
- Fixed replacement of keys in the message vars array
2019-02-15 15:30:04 +01:00
Paolo f3bc764930 - Better code
- Better errors handling
- Fixed include path for view messageList.php
2019-02-15 14:37:14 +01:00
Andreas Oesterreicher c3d4cb4bfc Spezielle Vorlage für ESA / EIF da dort der Stundensatz immer angedruckt
werden soll
2019-02-14 17:56:58 +01:00
alex 37c4ad85b8 changed Name "getActiveKostenstellenForGeschaeftsjahr" to "getKostenstellenForGeschaeftsjahr" in Kostenstelle_model to avoid confusion (kostenstelle has active field in db, but meant is active as "valid in a Geschaeftsjahr") 2019-02-14 17:20:50 +01:00
Andreas Österreicher 4cd7abe60b Wenn der letzte User aus einer direkten Gruppe entfernt wird, werden die
Stunden aus der tbl_stundenplandev entfernt
2019-02-13 17:55:51 +01:00
Andreas Österreicher 4e41086bdc Direkte Gruppen umbenannt in GRP_<LEID> 2019-02-13 16:36:42 +01:00
Andreas Österreicher 9c78169c52 Merge branch 'master' into lvgruppen 2019-02-13 16:32:02 +01:00
Andreas Österreicher 7662edd061 Neue Notenübersicht für Studenten
- Ansicht aller LVs die der Studierende lt Studienplan besuchen muss
- Lehrveranstaltungen die ausserhalb des Studienplanes besucht wurden
- Notendurchschnitt pro Semester und über alle Semester nur für
Studienplanrelevante LVs
- Neuer Menüpunkt im FAS für Zugriff auf die Notenliste
2019-02-13 15:52:51 +01:00
raab 0289ab85b5 infocenter default columns 2019-02-12 17:58:27 +01:00
alex c33e9ba501 extended infocenter message sending flow with special cases:
- Stgfreigabe not sent when already stg freigegeben
- statusgrund checked for rtfreigabe (null)
2019-02-12 17:56:36 +01:00
Andreas Österreicher 8511ebe667 Warning bei der Anzeige der Studierenden in den Mailverteilern behoben 2019-02-11 12:10:17 +01:00
Paolo fad7894ec8 Halfway commit 2019-02-08 17:20:36 +01:00
Paolo 9729036e26 Added new function getData to helper hlp_message_helper.php 2019-02-08 17:19:56 +01:00
Paolo 085d612d94 - Added new view system/messages/messageReplySent.php to show the message reply delivery status
- system/messages/messageSent.php is now used to thow message delivery status
- Moved JS from view system/messages/messageWriteReply.php to public/js/messaging/messageWriteReply.js
2019-02-07 14:18:32 +01:00
Nikolaus Krondraf 2ce471ac03 Bugfix: Prüfungsbeginn wird nun laut Reihung in DB berechnet 2019-02-07 10:34:56 +01:00
Andreas Österreicher 67461ce2a2 Lehraufträge zeigen die Organisationseinheit statt dem Fachbereich an
Fachbereich aus campus.vw_lehreiheit entfernt
2019-02-07 08:30:54 +01:00
Andreas Österreicher 5508974c49 Added additional degree programs to Infocenter freigegeben and absovliert page 2019-02-06 18:39:27 +01:00
Andreas Österreicher ab7cdd0da4 Added additional degreeprograms to infocenter page 2019-02-06 18:23:38 +01:00