Commit Graph

167 Commits

Author SHA1 Message Date
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
bison 59b5d76e44 - Fixed logic in method postDms of controller Dms, now is it possibile to
insert a new version for a dms
- Fix method getMessagesByPerson of model Message_model, now is not showing messages with status 3
2016-08-25 13:18:11 +02:00
bison 2c86315f42 Method getStudiengangStudienplan is now returning all fields of table tbl_studienplan 2016-08-25 10:29:15 +02:00
bison b83cf14841 Has been wrote the method getStudiengangStudienplan of controller Studiengang2
from the scratch to achieving better performances
2016-08-24 17:12:37 +02:00
bison 5c7d2e9688 Changed method getGemeindeByPlz, added DISTINCT and ORDER BY clauses on column ortschaftsname 2016-08-22 13:37:21 +02:00
bison dd02a5ff0e Added method getCompleteStudiengang to get all data about all Studiengang with better performance.
The methods _getStudienplaene, _getBewerbungstermine and _getReihungstests are complementary.
2016-08-22 11:28:22 +02:00
bison 60681d5402 Added parameter "new" in method postDms of Dms controller 2016-08-19 10:06:36 +02:00
Stefan Puraner 959b01f6a1 fixed delete method 2016-08-17 17:56:06 +02:00
bison f21db9531e - Added new controller RtPerson
- Changed pk in model RtPerson
- Added grants for new sequence in migration script 011_reihungstest
2016-08-17 15:41:07 +02:00
bison d419cc327d - Added method getGemeindeByPlz to controller Gemeinde 2016-08-17 12:10:16 +02:00
paolo c8c580131c - Moved all the logic from controller PCRM to PCRMLib
- Extended functionality to others HTTP methods
- Added checking permissions if the requested resource is a library
(permissions are automatically handled by models) using PermissionLib
- Extended PermissionLib
2016-08-01 14:07:40 +02:00
paolo 1c01faba5f This controller allows to call any methods of any class present in libraries and in models.
First raw version, code to be refined. Functionality to be extended to others HTTP methods.

PS: PCRM stands for "Please Christian Rename Me", because I've no name to give to it :D
2016-07-29 16:33:21 +02:00
paolo 4b82843c76 - Added parameter blockTags to controller Phrase
If this parameter is set to "no", it will be removed the tags <p> and </p>
from the beginning and from the end of the returned phrases
2016-07-29 15:36:32 +02:00
paolo 9ed193d9b8 Moved methods getLastStatus from Prestudent to Prestudentstatus 2016-07-27 14:28:10 +02:00
paolo 3599294237 Added method getLastStatus to controller Prestudentstatus 2016-07-27 13:50:07 +02:00
paolo 88a395b31e Bug fixes 2016-07-25 19:27:04 +02:00
paolo 178b15315f Slightly better performance 2016-07-19 17:33:27 +02:00
paolo 0eaf360140 Added parameters aktiv and onlinebewerbung to method getByStudiengangStudiensemester of controller Bewerbungstermine 2016-07-19 17:04:44 +02:00
paolo 42dabba56e Merge origin/ci into ci 2016-07-19 16:03:20 +02:00
paolo 8899a162fd Added method getByStudiengangStudiensemester to controller Bewerbungstermine 2016-07-19 16:03:08 +02:00
Stefan Puraner 19e63622d7 fixed typo 2016-07-19 15:57:16 +02:00
paolo 5b1ad70677 Merge origin/ci into ci 2016-07-19 15:32:30 +02:00
paolo e580df583a Added method getStudiengangStudienplan to controller Studiengang 2016-07-19 15:32:14 +02:00
Stefan Puraner 325608ff6f fixed typo in method name 2016-07-19 11:25:52 +02:00