Commit Graph

51 Commits

Author SHA1 Message Date
Paolo 9eb2ea854d Merge branch 'master' into udf 2017-06-28 12:07:41 +02:00
Paolo 45b4c84764 Task #1355:
- If the sender of a message is an admin: show all the vorlage with
mimetype = text/html
 - If the sender of a message is NOT an admin: show all the
vorlage that belongs to the organisation units of the user
and the parents of those organisation units until the root
of the organisation unit tree

Changes:
 - Added method isAdminByPersonId to model Benutzerrolle_model
 - Added method _getAllHTMLVorlage to Vorlage_widget
 - Added method _getUserVorlage to Vorlage_widget
2017-06-06 15:21:22 +02:00
Paolo b840352377 - Vorlage widget now works with oe_kurzbz
- Added method getByPersonId to model Benutzerfunktion_model
- Added method treeSearchEntire to library OrganisationseinheitLib
- Added method getOneLevelAlias to model Organisationseinheit_model
2017-05-23 17:00:03 +02:00
Paolo f092867602 2nd preview 2017-05-10 09:54:23 +02:00
Paolo e143aa8815 1st preview 2017-05-09 18:14:18 +02:00
Paolo 6a11cc09cf 7th release 2017-05-05 18:45:28 +02:00
Paolo 0fd34807ca 3rd release 2017-04-27 19:06:36 +02:00
Paolo 11d3d7d7c0 1st release 2017-04-20 18:28:20 +02:00
Paolo e5d483caba Bugfix: relationmessage_id was missing in case of reply 2017-04-11 12:23:00 +02:00
Paolo de0ed58ba6 - Removed method index, inbox, view and outbox from controller
system/Messages
- Removed views messageReply, messageView, messages, messagesInbox and
messagesOutbox
- Removed menu item "Nachrichten" from VileSci->Admin
- Controller system/Messages: method write also works for replying to a
message
- View system/messageWrite also worki for replying to a message
- Updated content/messages.js.php to call the system/Messages controller
with the new parameters
2017-04-11 12:03:15 +02:00
Paolo 9dc9a712c4 - Moved file to manage vorlage into subdir vorlage
- Updated sprache, orgform, organisationseinheit and vorlage to the new
widget
- Changed method getRecursiveList of model Organisationseinheit_model
- Updated vilesci_menu_main.inc.php
- Changed method loadDropDownView of WidgetLib: if a selected value is
not given, by default it is set as HTML_DEFAULT_VALUE
- Updated all the affectd files
2017-03-29 16:57:29 +02:00
Paolo 1f65f7737c - Splitted Usersfilters_widget in:
- Aufnahmegruppe_widget
	- Reihungstest_widget
	- Studiengang_widget
	- Studiensemester_widget
	- Stufe_widget
- Renamed /system/Users controller to system/aufnahme/PrestudentMultiAssign
- Added method getPrestudentMultiAssign to Prestudent_model
- Changed WidgetLib to allow to set the name and the id html attributes
of a widget
2017-03-24 16:39:50 +01:00
Paolo 2711430eb9 - Renamed TemplateLib to WidgetLib
- Updated controllers and views to use WidgetLib
- Removed TempleteLib from autoload config file
- Removed loading of session library from FHC_Controller (already
present in the autoload configuration file)
2017-03-23 12:25:58 +01:00
Paolo 50f7531fa6 system/Users: saving stufe and gruppe via ajax 2017-03-22 17:21:10 +01:00
Paolo 1615470a8f Third version of the VileSci interface that allows easily to add more prestudent
to a group or change their stufe
2017-03-21 18:29:25 +01:00
Paolo b8830667cd Second version of the VileSci interface that allows easily to add more prestudent
to a group or change their stufe
2017-03-17 17:31:52 +01:00
Paolo e4151e0905 First version of the VileSci interface that allows easily to add more prestudent
to a group or change their stufe
2017-03-17 11:54:02 +01:00
bison-paolo b14b1d6eec Bugfix: get the organisation unit from DB 2017-03-08 14:24:23 +01:00
bison-paolo e7be37708d - Bug fix in MessageLib
- Now is possible to send a message to more recipients from FAS
- Can be used the variables substitution from FAS
2017-03-02 15:47:17 +01:00
bison-paolo 56901b51d2 Removed XSS filter from system/Phrases controller 2016-11-16 14:46:03 +01: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 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 7db01c8eb5 Added the ability to choose a template (Vorlage) as email text 2016-09-28 17:15:19 +02:00
bison-paolo a90adbda72 Task #404: GUI zum Schreiben von Nachrichten im FAS: 3rd part 2016-09-26 13:08:03 +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 1fe6ec5ccc Task #404: GUI zum Schreiben von Nachrichten im FAS 2016-09-23 17:38:02 +02:00
Andreas Moik 4ad5de915a added page to link documents with templates 2016-08-08 11:14:22 +02:00
Paminger ed6f9fa676 Sprache bei Templatetext 2016-07-13 07:56:19 +02:00
Gerry Raab 0c7df621a5 orgform widget + neues recht 2016-07-05 14:34:50 +02:00
Gerry Raab a6c61d0bc1 phrases stuff 2016-07-05 00:22:53 +02:00
Gerry Raab 23201670b1 Phrasentext delete 2016-07-04 18:25:35 +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
Paminger 4f14e7fa92 Messages Inbox Outbox 2016-06-23 10:28:26 +02:00
Gerry Raab c8e4b463b5 new phrase inhalt 2016-06-22 17:19:43 +02:00
Paminger 49ebc3945b Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci 2016-06-22 08:11:59 +02:00
Paminger 70e83b6e18 Messages 2016-06-22 08:11:04 +02:00
root 25e0ba9407 basic phrases editing 2016-06-22 01:24:59 +02:00
root e2744500a6 Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci
Conflicts:
	application/core/FHC_Controller.php
2016-06-21 16:31:06 +02:00
root ca83b2f59d phrases system 2016-06-21 16:25:55 +02:00
Paminger dbe19fafb5 Messages 2016-06-21 11:27:36 +02:00
Paminger 68963a962a BugFix 2016-06-20 08:36:37 +02:00
Paminger 377b1ecdd0 JSON-Forms 2016-06-19 19:41:10 +02:00
Paminger 3d45527a5d TemplateParser 2016-06-18 09:11:00 +02:00
Paminger b5d14fb59f BugFix 2016-06-17 23:12:07 +02:00
Paminger 7aea047537 Templates 2016-06-17 23:09:50 +02:00
Paminger 4c58b95728 Libs and Vorlagen 2016-06-17 00:12:46 +02:00
Paminger 9ed42794a7 Recover fhcdb_helper 2016-06-16 11:40:49 +02:00
Paminger eb712f4242 Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci
Conflicts:
	application/core/FHC_Model.php
2016-06-10 15:41:09 +02:00
Paminger 850777476e Message 2016-06-09 10:00:23 +02:00
paolo 6b1968ae5b Codesniffer compliant: if, for and while 2016-05-20 13:04:25 +02:00