Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email templates user signature #252

Open
wants to merge 12 commits into
base: feature-branch-for-aged-PR's
Choose a base branch
from

Conversation

skrchnavy
Copy link
Contributor

Added an e-mail signature variable into e-mail templates, which is configurable for each user and from the GUI under My Profile settings (so it is available to everyone, not just admins).
It utilizes the CKEditor.

Limitation: 255 chars might be enough for plain text, but might not be for HTML formatted text - this could be extended but schema update is required.

Example of email signature:

My Name | 0900 200 300 | myWebsite.com
[email protected]

@skrchnavy skrchnavy added this to the 0.9.5-next milestone Apr 27, 2017
@skrchnavy skrchnavy requested review from mlespiau and RussH April 27, 2017 12:16
@opencats opencats deleted a comment Jul 17, 2018
@opencats opencats deleted a comment Jul 17, 2018
@opencats opencats deleted a comment Jul 17, 2018
# Conflicts:
#	lib/EmailTemplates.php
@opencats opencats deleted a comment Nov 1, 2018
@opencats opencats deleted a comment Nov 1, 2018
@opencats opencats deleted a comment Nov 1, 2018
@RussH RussH changed the base branch from develop to feature-branch-for-aged-PR's October 1, 2019 15:51
@RussH RussH requested review from shantadam and removed request for mlespiau and RussH October 1, 2019 15:59
@RussH
Copy link
Member

RussH commented Oct 1, 2019

this is now targeting a php7 feature branch. It was originally on the php5 master branch. Do I need tor rebase & merge if/when accepting it?

@shantadam
Copy link
Contributor

shantadam commented Oct 15, 2019

My observations:
1- Indeed, it's been couple of years held behind. It certainly needs a rebase.
2- I concur with Codacy's red flagged issues. However, the project is infected with bad coding habits and free will usage of the global variables.
3- I also concur with Codacy's unnecessary usage of "else" statement.

My recommendation:
1- Since, there has been none enforcing the best coding practice, I'm tempted to push for the implementation of singleton getters in CATSUtility.php, once and for good, to resolve the references to the required global variables. This project needs to get in shape.

Copy link
Contributor

@shantadam shantadam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I won't hold back the progress by approving this feature. However, we'll have to consider implementing getters for global variables and being more proactive on applying coding best practices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants