Paolo
c84c484a2a
Fixed models
2019-04-26 12:43:51 +02:00
Werner Masik
74f7a54c17
Add missing paranthesis
2018-11-05 22:02:41 +01:00
Paolo
46e85a2317
Merge branch 'master' into permissions
2018-06-28 14:52:09 +02:00
Paolo
1fcc878cb5
Added permissions array to every controller that extends APIv1_Controller
...
CheckUserAuth and Test controllers now extends directly the REST_Controller
2018-03-28 12:09:54 +02:00
Andreas Oesterreicher
b8b5b95251
Added additional parameter checks
2017-07-19 15:25:17 +02:00
Andreas Oesterreicher
4603befefc
Added API calls to get Prestudents according to its status
2017-07-18 17:19:53 +02:00
bison-paolo
76046c6b94
- Bugfix Reihungstest controller
...
- Bugfix method getCountUnreadMessages in Recipient_model
2017-02-02 12:03:23 +01:00
bison-paolo
fac1b77681
Added method getAvailableReihungstestByPersonId
2017-01-31 11:59:11 +01:00
bison-paolo
ecc10431fe
Added method getLastStatuses to Prestudent model and controller
2017-01-13 17:59:58 +01:00
bison-paolo
ad204604b1
Fix
2016-12-15 12:00:59 +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
39b4c8057d
Removed _parseData workaround
2016-10-19 14:49:54 +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
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
9a8863e5ef
Added _parseData to method postPrestudent of controller Prestudent
2016-09-29 14:46:29 +02:00
bison
5b02f22186
Added functionalities for deleting a Prestudent and a PrestudentStatus
2016-09-14 11:18:31 +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
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
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
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
8899a162fd
Added method getByStudiengangStudiensemester to controller Bewerbungstermine
2016-07-19 16:03:08 +02:00
Stefan Puraner
325608ff6f
fixed typo in method name
2016-07-19 11:25:52 +02:00
paolo
ad1ada800c
Added method getDokumentstudiengangByStudiengang_bz to controller Dokumentstudiengang
2016-07-19 10:31:58 +02:00
paolo
c0bf5a544f
Added method postDelReihungstest() to controller Prestudent
2016-07-13 10:13:19 +02:00
paolo
c85a406ec6
Merge origin/ci into ci
2016-07-05 16:25:24 +02:00
paolo
8e37e85ecc
Because the column ort_kurzbz of the table tbl_rt_person is now optional,
...
the join with the table tbl_ort has been replaced with a left join
2016-07-05 16:24:46 +02:00
Stefan Puraner
1590fad8bb
fixed bug
2016-07-05 15:36:00 +02:00
paolo
9cce095e9b
- Added permissions for table public.tbl_rt_person
...
- Added method postAddReihungstest to controller Prestudent
- Added method getReihungstestByPersonID to controller Reihungstest
- Fixed tables structure in the migration script 011_reihungstest.php
- Added model RtPerson_model
2016-07-01 10:50:37 +02:00
paolo
7cdac1d047
Added method getByStudiengangStudiensemester to controller Reihungstest
2016-06-29 16:16:14 +02:00
paolo
9a4f5480c4
- Added permission basis/phrase to dump.sql
...
- The function getAuthUID() present in the helper fhcauth_helper.php
now tries to work always with CI session to get the uid
- REST_controller doesn't need anymore to handle the uid
- FHC_Controller and FHC_Model load fhcauth_helper in their constructor,
so any class that extends them now could call the function getAuthUID()
anywhere in the code
- The controllers don't need anymore to pass the uid to the models or to the
libraries
- Library FHC_DB_ACL load fhcauth_helper in its constructor and uses getAuthID()
2016-06-24 13:22:27 +02:00
paolo
3df35d0ed5
- Added method getOnlyKontakt to controller Kontakt
...
- Added method getAkten to the controller Akte
2016-06-14 15:26:51 +02:00
paolo
3955d4b395
- Moved old libraries to CI
...
- Extended Controllers functionalities
- Added controls to ueberbuchung.php, zeitwuensche.php and funktion_det.php
pages to avoid warnings and notices, especially when no data are in DB
- Removed fhcdb_helper.php because it's no more needed
2016-06-07 17:55:31 +02:00
paolo
e76e1af15c
- Remove parameters "new" after checked it in method postPrestudentstatus of controller Prestudentstatus
...
- Method insert of DB_Model doesn't use anymore insert_id() from CI because it forces to have a sequence
and doesn't return the primary key when it's composed by more columns
2016-05-24 15:04:35 +02:00
paolo
4f8826dc3f
Merge origin/ci into ci
...
Conflicts:
application/controllers/api/v1/crm/Prestudentstatus.php
2016-05-24 12:32:32 +02:00
paolo
bb3f8ef617
- Added method getStudienplan to the controller Studienplan
...
- Introduced parameter new in method postPrestudentstatus of the controller Prestudentstatus
2016-05-24 12:28:49 +02:00
Stefan Puraner
71f3b91516
removed debugging code
2016-05-24 10:05:43 +02:00
Stefan Puraner
cf272c0e40
added method to parse post data
2016-05-20 17:34:22 +02:00
paolo
606bd3d342
Added method PrestudentByPersonID to Prestudent controller
2016-05-20 14:07:31 +02:00