Commit Graph

190 Commits

Author SHA1 Message Date
bison-paolo 1ccc8a8a6f Enhancement of method _validate of controller Person 2017-01-26 11:32:04 +01:00
bison-paolo 59ab63ace2 Enhancement of method _validate of controller Person 2017-01-25 15:13:57 +01:00
bison-paolo ecc10431fe Added method getLastStatuses to Prestudent model and controller 2017-01-13 17:59:58 +01:00
bison-paolo fb9f4e046b Added getAppliedStudiengang method 2016-12-23 12:03:49 +01:00
bison-paolo 603ccd1793 Added method getAkteAcceptedDms 2016-12-21 17:50:03 +01:00
bison-paolo b99123efc6 Added method getCountUnreadMessages 2016-12-20 11:28:51 +01:00
bison-paolo 729b4930bd Message system bugfixes 2016-12-15 15:59:11 +01:00
bison-paolo ad204604b1 Fix 2016-12-15 12:00:59 +01:00
bison-paolo 4b16accd33 Added new parameter multiPartMime to method postMessageVorlage of
controller Message
2016-12-14 11:00:49 +01:00
bison-paolo d96a0e98d5 - Fixed codeception test
- Updated the api test suite
- Added the script generate.php to automatically generate the test cases
for the controllers
2016-11-23 15:09:10 +01:00
bison-paolo 66afe6d8f9 Added new parameter nachreichbar to controller Dokumentstudiengang and
to model Dokumentstudiengang_model
2016-11-17 14:53:23 +01:00
bison-paolo 2a0cd525dd - Updated codeception test cases
- Fixed controllers
- Removed unused controller Thread
2016-11-15 17:00:01 +01:00
bison-paolo 39b4c8057d Removed _parseData workaround 2016-10-19 14:49:54 +02:00
bison-paolo 7c1d0bb58a Controller Person _validate method updated 2016-10-18 10:43:05 +02:00
bison-paolo 9e7f9a7fe5 Added new controller Statusgrund 2016-10-17 17:11:31 +02:00
bison-paolo f3b79cd731 - Added method chkRights to DB_Model
- Added method toPhp to DB_Model to convert array and boolean types from PostgresSQL to php
- Added method execQuery to DB_Model to execute a query (it calls toPhp)
- Added method pgsqlArrayToPhpArray to convert a pgsql array to php
- Updated DB_Model methods to using chkRights (and toPhp where it is needed)
- Removed methods escapeArray and _pgsqlArrayToPhpArray from controller APIv1_Controller
- Removed escapeArray from controllers Dokumentstudiengang and Dokument
- Updated models to use execQuery (and chkRights where it is needed)
2016-10-17 17:07:51 +02:00
bison-paolo a20bf91193 - Added functions isSuccess, isError and hasData in message helper
- Updated the code using these new functions
2016-10-14 15:04:15 +02:00
bison-paolo f8c70df0bc - Renamed PCRMLib to CallerLib :(
- Splitted the controller PCRM in two different controllers: CallerLibrary and CallerModel
2016-10-14 13:33:22 +02:00
bison-paolo 8e0ca12deb - All permission functionalities now are in the library PermissionLib
- All return messages functions are in the message helper and it is loaded by the core classes
- Added the missing constant FHC_NOPK
- Updated all the interested classes with the new permission method
- Updated all the interested classes with the new return message functions
2016-10-13 17:53:12 +02:00
bison-paolo 40f51d035f - Added method postSetAcceptedDocuments to controller Dokumentprestudent
- Added method setAcceptedDocuments to model Dokumentprestudent_model
2016-10-13 14:35:39 +02:00
bison-paolo ccb9daffaa Automatically set as accepted all the uploaded documents
- Added migration script 019_dokumentprestudent.php
- Added method postSetAccepted to controller Dokumentprestudent
- Added method setAccepted to model Dokumentprestudent_model
2016-10-12 15:39:37 +02:00
bison-paolo 56cb58ca5e Removing parameter "accepted" when saving an akte 2016-10-12 11:07:22 +02:00
bison-paolo 3d4167c39f Changes to manage the specialization of a prestudent:
- Added method getSpecialization to controller Prestudent
- Added method postRmSpecialization to controller Prestudent
- Added method postSpecialization to controller Prestudent
- Added method getSpecialization to model Notiz_model
- Added method rmSpecialization to model Notiz_model
- Added method addSpecialization to model Notiz_model
2016-10-11 16:56:12 +02:00
bison-paolo ffb5cb50ca Changes in method getAktenAccepted of controller Akte and model Akten_model 2016-10-11 14:12:38 +02:00
bison-paolo 318787b195 Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-10-11 13:17:21 +02:00
bison-paolo dfcb7ac2bd - Added new method getAktenAccepted in the Akte controller
- Added new method getAktenAccepted in the Akte model
2016-10-11 13:16:18 +02:00
Stefan Puraner 7b7039d9bc added workaround to convert pgsql arrays to php arrays to another method 2016-10-11 12:16:08 +02:00
bison-paolo 0465c1639f Added a workaround to convert pgsql arrays into php arrays
Affected controllers: Dokument and Dokumentstudiengang
2016-10-10 16:14:48 +02:00
bison-paolo 1fed18dd9b - Added Redirect controller to redirect from the link present in the email to
the page for viewing the message
2016-10-07 12:00:59 +02:00
bison-paolo 5ab5b291b3 MessageLib -> sendMessageVorlage:
- If no sender_id is specified the system default person_id will be used
- If the receiver_id is not given and the oe_kurzbz is set, sends the message
to every receiver that is enabled to receive messages for that organization unit.
2016-10-05 11:00:12 +02:00
bison-paolo 1feec909cb MessageLib -> sendMessage: if no sender_id is specified the system default person_id will be used 2016-10-04 18:19:39 +02:00
bison-paolo 863d6af4eb - Method sendMessage of library MessageLib now if the receiver_id is not given and
the oe_kurzbz is set, sends the message to every receiver that is enabled to receive
messages for that organization unit.
- Added new costants for the messaging system
- Added new phrases for the messaging system
2016-10-04 15:49:55 +02:00
bison-paolo 9a8863e5ef Added _parseData to method postPrestudent of controller Prestudent 2016-09-29 14:46:29 +02:00
bison-paolo 23b22c0817 Added method getSentMessagesByPerson to controller Message 2016-09-28 17:29:14 +02:00
bison-paolo 7db01c8eb5 Added the ability to choose a template (Vorlage) as email text 2016-09-28 17:15:19 +02:00
bison-paolo 3009a03eac Task #404: GUI zum Schreiben von Nachrichten im FAS: 2nd part 2016-09-26 12:10:31 +02:00
bison-paolo 0ae8b4d8fa - Added method postDelDms to controller Dms
- Added method delete to library DmsLib
2016-09-22 13:16:46 +02:00
bison 5b02f22186 Added functionalities for deleting a Prestudent and a PrestudentStatus 2016-09-14 11:18:31 +02:00
bison 924dee8da8 Method getSprache of controller Sprache2 now can returns all data 2016-09-14 09:28:00 +02:00
oesi 45c87db9b8 Added additional API Function to get current Bewerbungstermine 2016-09-08 17:48:20 +02:00
bison 89744f36f5 - Added parameter available to methods getByStudiengangStudiensemester and
getReihungstestByPersonID of controller Reihungstest
- Added parameter available to method getReihungstestByPersonID of library ReihungstestLib
2016-09-07 15:41:29 +02:00
bison 0b5644d6f1 - Added method getStudiengangBewerbung to controller Studiengang2
- Renamed method loadList to loadTree
- Improved method loadTree
- Added method getStudiengangBewerbung to model Studiengang_model
2016-09-06 15:52:34 +02:00
bison 939ca288fc - Cleaned the controllers by moving the database related code and more complex logic
in the models or libraries
- DmsLib bug fix
- Person_model bug fix
2016-08-31 14:15:39 +02:00
bison 0c912c0122 Bug fix: update person data 2016-08-31 10:39:26 +02:00
bison 46bc8bdb8c Bug fix 2016-08-30 14:48:08 +02:00
bison 2e3e0efb83 Updating data on tbl_person with the same svnr but with a different person_id will generate the following svnr:
<svnr> + "v" + <counter>
2016-08-30 14:22:48 +02:00
bison 3823f7f1d1 Now when inserting a new person with the same svnr, it will be created a new version of the svnr: <svnr> + "v" + <counter> 2016-08-30 13:52:40 +02:00
bison fbed4b2261 - Added new library ReihungstestLib
- Added method isEntitled to FCH_Model
- Cleaned the controllers by moving the database related code in the models or libraries
2016-08-30 12:26:22 +02:00
bison 66de5536ac Moved logic from Dms controller to DmsLib 2016-08-29 13:28:00 +02:00
bison 7e71681d26 - Added method loadList to model DB_model
- Added method getStudienplan to model Studiengang_model
- Changes in method getStudiengangStudienplan of controller Studiengang2
2016-08-26 14:21:04 +02:00