Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
ember-logging-flash-messages
Advanced tools
Readme
This addon provides a logging consumer for the ember-logging-service addon. The consumer handles sending any configured events events to the Flash messages service.
As indicated, this addon requires the installation of ember-logging-service and ember-cli-flash.
ember install ember-cli-flash
ember install ember-logging-service
ember install ember-logging-flash-messages
By default, this addon will listen for all error messages and display them with danger formatting. The addon can be configured to listen for additional tags and severity levels. When these are configured they check for the message string to be displayed by checking for the following properties in order:
If the event.name is 'Success' and the severity level is info
then the message will be displayed with the successful message formatting rather than the info formatting.
First you must install the Flash messages and ember-logging-service addon. Additionally, the ember-logging-service
addon must be configured with enableErrors = true
if you want Error flash messages displayed.
You must set enabled = true
for each environment you wish to monitor (both in the
ember-logging-service and in the ember-logging-flash-messages modules).
ENV['ember-logging-service'] = {
enabled: true,
errorsEnabled: true,
.....
}
ENV['ember-logging-flash-messages'] = {
enabled: true
}
This README outlines the details of collaborating on this Ember addon.
git clone git@github.com:acquia/ember-logging-flash-messages.git
this repositorycd ember-logging-flash-messages
npm install
bower install
ember serve
npm test
(Runs ember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit https://ember-cli.com/.
FAQs
A logging consumer to integrate flashMessages with ember-logging-service.
We found that ember-logging-flash-messages demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).