Commit Graph

1586 Commits

Author SHA1 Message Date
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
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
Stefan Puraner a971fa11a2 Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-07-28 11:45:59 +02:00
kindlm 591013e09a Icons Reihungstestverwaltung, DB update
Spalte "arbeitsplaetze" in tbl_ort
2016-07-28 11:39:48 +02:00
Stefan Puraner 05ef6a4deb Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-07-28 11:34:10 +02:00
Stefan Puraner 91f4851462 added new value to read method 2016-07-28 11:25:48 +02:00
kindlm 98b8cd450d Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-07-28 11:12:37 +02:00
kindlm b998a42b87 Reihungstestverwaltung
- Studiensemester
- Stufen
- Aufteilung der BewerberInnen
- Raumzuordnung
- Aufsichtspersonen
2016-07-28 11:12:32 +02:00
paolo 13145fd696 Color it!!! 2016-07-27 16:49:49 +02:00
paolo 9ed193d9b8 Moved methods getLastStatus from Prestudent to Prestudentstatus 2016-07-27 14:28:10 +02:00
paolo 11960628c0 Fixed method getMessagesByToken 2016-07-27 14:16:10 +02:00
paolo 3599294237 Added method getLastStatus to controller Prestudentstatus 2016-07-27 13:50:07 +02:00
paolo 763eaa6592 Added migration script 013_akte.php 2016-07-27 13:36:45 +02:00
paolo cec2bb1a27 - Added field status in the primary key array of model MsgStatus_model
- Changes in the logic of the messaging system, now every message status
is a new entry in the table tbl_msg_status
2016-07-27 13:27:55 +02:00
paolo d3bc72539a - message_helper.php fixed
- Changes in the logic of sending email
2016-07-26 18:19:13 +02:00
paolo 6eec1ba0b7 - Added method addUniqueKey, addCommentToColumn, addCommentToTable and grantSequence to MigrationLib
- Ported script 008_message.php to MigrationLib
- Added fields sent and sentinfo to tbl_msg_recipient
- Changes to 012_bewerbungsfrist.php to be phpcs compliant
2016-07-26 17:28:01 +02:00
paolo 88a395b31e Bug fixes 2016-07-25 19:27:04 +02:00
paolo 150a7863d6 Integrated LogLib into MessageLib 2016-07-25 11:07:06 +02:00
paolo 8f55f11346 - config.php: Set log_threshold to 1 to avoid the log to be too verbose
- Added a basic log library based on CI
2016-07-25 10:56:05 +02:00
paolo ec4b13f100 Integrated a system to send messages via email based on CI 2016-07-22 16:09:04 +02:00
Stefan Puraner b11f8e8b8f fixed bug 2016-07-21 14:19:38 +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
paolo ad1ada800c Added method getDokumentstudiengangByStudiengang_bz to controller Dokumentstudiengang 2016-07-19 10:31:58 +02:00
paolo ed6152dc46 - Improved MigrationLib
- Moved 010_vorlage migration script to new lib
2016-07-15 17:17:12 +02:00
paolo 15a1eb2afd - Improved MigrationLib
- Improved migration script 011_reihungstest
- Added migration script 012_bewerbungsfrist
2016-07-15 14:57:57 +02:00
paolo 2568d8f912 - Removed the parameter "sprache" from controller Message
- Added method escape to class DB_Model
- Changed method sendMessageVorlage of MessageLib to send messages trying
to use the same language of the receiver, and improved message errors
- Added OrganisationseinheitLib to handle a recursive search using in the
organisation tree
- Removed from PhrasesLib the method loadVorlagetext because is already
present in VorlageLib
- Changed method loadVorlagetext of VorlageLib, now it searches the template
using the organisation tree
- Added method getOneLevel to model Organisationseinheit_model to get one
level of the organisation tree
2016-07-15 13:38:09 +02:00
paolo c0bf5a544f Added method postDelReihungstest() to controller Prestudent 2016-07-13 10:13:19 +02:00
Paminger ed6f9fa676 Sprache bei Templatetext 2016-07-13 07:56:19 +02:00
paolo 483d133fc1 Added parameter "sprache" to method postMessageVorlage of controller Message. It's required. 2016-07-12 11:27:58 +02:00
paolo 6f3a02abe2 Fixed method addColumn. Now it checks correctly if a column exists.
The method provided from CI (db->field_exists) is not reliable.
2016-07-12 10:52:43 +02:00
Paminger 364ca5ed72 Sprache bei Vorlagentext 2016-07-11 16:52:00 +02:00
paolo d58ba92b15 - phpC(dis)I fixes 2016-07-11 13:35:12 +02:00
paolo 8fbc64bbff - Try to fix problems with phpC(dis)I
- Changed permissions in dump.sql
2016-07-07 17:15:30 +02:00
paolo 79230cd85d Added function getBerechtigungKurzbz to model FHC_Model.
Using this function will be avoided the notice "Undefined index".
All models have been adapted.
2016-07-07 16:42:04 +02:00
Paminger 03d84be366 Vorlagentexte 2016-07-07 09:26:40 +02:00
paolo 64b68c180f - MigrationLib is now using, where it is possible, dbforge from CI
- 011_reihungstest.php migration script adapted to the new MigrationLib
2016-07-06 16:59:57 +02:00
paolo 04db2afed1 Merge origin/ci into ci 2016-07-06 16:07:32 +02:00