Commit Graph

19 Commits

Author SHA1 Message Date
Paolo 0bc0a09bf4 - Removed file system execute permission for all files (no directories)
- application/extensions file system permission now is 775
- application/logs file system permission now is 775
- Added extensions directory in application/: config, controllers, helpers, hooks, libraries, models, views and widgets
- Added view views/extensions/manage.php
- Added controller controllers/system/extensions/Manager.php
- Added library ExtensionsLib to manage extensions
- Added model models/system/Extensions_model.php
- Moved code related to print out info from MigrationLib to EPrintfLib
2017-11-13 10:45:49 +01:00
Paolo f7153aa6f5 - Changed config entry addons_aufnahme_url in fhcomplete.php. Now it's an array having an entry for each organisation unit root
- Changed redirectByToken method in controllers/Redirect, now:
	- Loads the root of the organisation unit tree using the oe_kurzbz present in the message, loaded using a token
	- Redirect to the related aufnahme using the organisation unit previously found
- Changed method send in system/Messages, now retrives the oe_kurzbz of the recipients/prestudents to store these oe_kurzbz in the table tbl_msg_message (used by FAS)
- Added method getRoot to library OrganisationseinheitLib to retrive the root of an organisation unit by the given oe_kurzbz
- Added method getOrganisationunits to model crm/Prestudent_model, retrives the oe_kurzbz using the given prestudent/s id/s
- Added some comments here and there
2017-09-19 17:34:00 +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 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 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
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 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
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
Paminger 70e83b6e18 Messages 2016-06-22 08:11:04 +02:00
Paminger dbe19fafb5 Messages 2016-06-21 11:27:36 +02:00
Paminger 4c58b95728 Libs and Vorlagen 2016-06-17 00:12:46 +02:00