Commit Graph

329 Commits

Author SHA1 Message Date
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 3065b02512 - Added migration script to removing table lehre.tbl_bewerbungsfrist
- Added migration script to adding column studienplan_id and relative foreign key
to table public.tbl_bewerbungstermine
- Changed model Studiengang_model to use the new column in table public.tbl_bewerbungstermine
2016-09-07 12:15:02 +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 9f919e6e7b - Added new parameter $email_from_system to MailJob controller
- Added library MailLib to manage the sending of the email
- Changed configuration file mail.php
- Changed configuration file message.php
- Changed library MessageLib to get a better separation between the messaging
system and sending e-mail
2016-09-06 11:10:48 +02:00
bison 451c1ec541 Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-08-31 14:17:53 +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
oesi 578742c5c1 Fixed File Upload 2016-08-31 12:54:51 +02:00
bison 0c912c0122 Bug fix: update person data 2016-08-31 10:39:26 +02:00
bison bfe8d50772 - New migration script for changing chk_person_svnr constraint on table tbl_person
- Changed MigrationLib->execQuery for a better output
2016-08-30 15:43:21 +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 0581183b28 Updated migration_version to 014 in migration.php 2016-08-29 13:41:55 +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 7b99d7ead3 - MessageLib fix: if sending an email fails inside of method sendMessageVorlage,
it will no longer rolls back the database
- Added parameter all in method getMessagesByPerson of model Message_model
2016-08-25 09:52:00 +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 d6664e74c5 - Added element email_send_immediately in configuration array in mail.php
- Renamed sendOne to sendEmail
- Added new method sendOne
- Added $message_id parameter to method getMessages of model Recipient_model
2016-08-24 13:38:47 +02:00
bison 011dbb980f Changes in method getMessagesByPerson of model Message_model 2016-08-23 14:28:43 +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 44694c2a08 Merge origin/ci into ci 2016-08-19 15:29:26 +02:00
bison d4edb54c4c Added changes in migration scripts, new column zugangscode_timestamp
for table tbl_person
2016-08-19 15:29:15 +02:00
oesi edb60ef17b - Fixed Fallback if Vorlage doesnt exist
- Added Additional Parameters to Message
2016-08-19 11:31:30 +02:00
Paminger b46692913c Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-08-19 10:23:19 +02:00
Paminger 58bd4d003d Vorlage MailStatConfirmInteressent 2016-08-19 10:22: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 1dde2c5cb2 Fixed method loadVorlagetext, now it take care about all the parameters 2016-08-17 16:24:42 +02:00
bison 18f401d365 Merge origin/ci into ci 2016-08-17 15:41:29 +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
oesi 4d3205a6e7 Fixed Template 2016-08-17 12:41:15 +02:00
bison d419cc327d - Added method getGemeindeByPlz to controller Gemeinde 2016-08-17 12:10:16 +02:00
bison b2c8d1b2de - VorlageLib fix
- MessageLib better message error
2016-08-17 11:59:43 +02:00
bison dd6ef9fdb1 Migration scripts and lib fixes 2016-08-16 17:09:30 +02:00
kindlm 66226f7e8d Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-08-09 14:01:44 +02:00
kindlm 5e4833bac5 Migration 011_reihunstest anpassungen
- Add Studienplan_id to testtool.tbl_ablauf
- Add Aktiv to testtool.tbl_frage
- Add Aktiv to testtool.tbl_vorschlag
- Add Bezeichnung_mehrsprachig to testtool.tbl_gebiet
- Typing error "stundenplan_id" corrected to "studienplan_id"
- New column rt_person_id with Primary-Key to tbl_rt_person
- UniqueKey on "person_id","rt_id","studienplan_id"
2016-08-09 13:58:39 +02:00
Stefan Puraner 4036f5f7cd Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-08-08 11:17:15 +02:00
Andreas Moik deba2733d6 Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-08-08 11:15:09 +02:00
Andreas Moik 4ad5de915a added page to link documents with templates 2016-08-08 11:14:22 +02:00
Stefan Puraner e5952f93cc Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-08-08 08:31:35 +02:00
paolo 527a627574 Removed var_dumps from library REST_Controller 2016-08-04 14:53:32 +02:00
paolo 92a81ae3a4 - Migration tool workaround for new installation
- phpC(dis)I better configuration
2016-08-03 11:58:46 +02:00
paolo 65aa2b5d29 - Added codeception test for PCRM
- Fixes and improvements for PCRMLib
2016-08-01 16:18:38 +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 c431f8e015 Merge origin/ci into ci 2016-07-29 15:37:15 +02:00