Commit Graph

396 Commits

Author SHA1 Message Date
bison-paolo 0a19cbfba4 - Changed the routes used to call the controllers, now accept also
capital names
- Now method getStudiengangBewerbung of controller Studiengang returns
also data relative to the table lehre.tbl_akadgrad
- Fixes and enhancements of method loadTree of DB_Model.
2016-11-25 15:09:19 +01:00
Andreas Moik c4ed2d05f1 - removed forgotten break
- restored feature 'delete person'
2016-11-23 16:26:58 +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 278be4cc61 - Added migration script 020_dokumentstudiengang to add a new column
called nachreichbar
- Added property nachreichbar to class dokument into dokument.class.php
- VileSci->Wartung->"Dokumente Zuteilung" in now handling the field
nachreichbar
2016-11-16 16:30:39 +01:00
bison-paolo 56901b51d2 Removed XSS filter from system/Phrases controller 2016-11-16 14:46:03 +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 3e618a991b Now loads only the templates with text/html as mime type 2016-11-11 16:04:48 +01:00
bison-paolo 857eef0ff6 application/migrations/002_pk_migrations.php now is using MigrationLib 2016-11-11 14:44:16 +01:00
bison-paolo 8025974438 Migration scripts, where it is possible, now are using MigrationLib 2016-11-11 11:16:27 +01:00
bison-paolo f13985620c Bug fix in method loadVorlagetext 2016-11-10 16:12:54 +01:00
Gerald Raab 457f50705f array 2 str bug 2016-11-04 14:36:35 +01:00
Gerald Raab 2d2c236391 bugfix obj/arr-problem 2016-11-04 13:52:55 +01:00
Gerald Raab 3b76398a94 array cleanups 2016-10-25 13:54:46 +02:00
bison-paolo 5087826891 - phpC(d)I
- Renamed method chkRights to _isEntitled in model DB_Model
- Updated models where it was needed
2016-10-20 16:37:52 +02: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 5e09025602 Updated interface to manage statusgrund 2016-10-17 17:54:28 +02:00
bison-paolo 9e7f9a7fe5 Added new controller Statusgrund 2016-10-17 17:11:31 +02:00
bison-paolo 94ff30f24d Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-10-17 17:08:03 +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
Stefan Puraner a495153a8b changed order of db result 2016-10-17 15:26:19 +02:00
bison-paolo 19ff69110d Bug fix: debug email is also used for CC and BCC 2016-10-14 18:02:58 +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 ea920d11d4 - Added private method _saveMessage in library MessageLib
- Bug fixed in model Studiensemester_model
- Config property send_immediately set to false, default value
2016-10-14 11:32:17 +02:00
bison-paolo 9effd11fcd Moved the assistent function name in the message config file 2016-10-13 17:57:19 +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 4ace90adc7 Added the capability to use a debug email address for receiving all the
sent emails
2016-10-12 16:53:45 +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 9df9ec8f41 - MessageLib: Better error messages when sending messages
- Added a new constant for the messaging system
- Added a new phrase for the messaging system
2016-10-12 13:45:06 +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 3588047989 All the libraries, when it is required, now are using the message helper 2016-10-07 14:13:58 +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 b0459c6603 Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-10-07 10:46:14 +02:00
bison-paolo a2c38c67a0 Method getStudiengangBewerbung of model Studiengang_model now is getting only active studienplaene 2016-10-07 10:46:08 +02:00
oesi fe42f54cd6 Fixed broken Datatype 2016-10-07 10:27:27 +02:00
bison-paolo 044cfb8819 Added grants to sequences in the migration scripts 2016-10-06 16:54:56 +02:00
bison-paolo 00143e4c38 Now the statusgrund interface loads only enabled languages 2016-10-06 16:34:58 +02:00
bison-paolo bfaf901550 - Added new template for plain text email
- Renamed template for html email mail.php -> mailHTML.php
- Changed method getMessageByToken of Recipient_model for getting only the last message by token
- Changed method getMessages of Recipient_model for getting event the token
- Changed method send of library MailLib to add the possibility to send an alternative plain text
body for a html mail
- Changed library MessageLib to add the possibility to send emails in html/text format to inform
the users about new messages
- Added method toHTML to controller Messages
- Added new configuration entries in message.php
- Added new view messageHTML.php
2016-10-06 16:27:04 +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