inakianduaga / angular-remote-logger Goto Github PK
View Code? Open in Web Editor NEWAngular Exception/XHR/log remote logger
License: MIT License
Angular Exception/XHR/log remote logger
License: MIT License
After #17 is implemented, we want to add a filter to censor out certain fields, which can be user defined, such as cc numbers and other financial information for example
Filter should allow for
{
"fieldName" : "type"
}
where `type` is remove|censor
We need to have the jasmine.clock.mockDate()
function available, which is not on the current karma-jasmine version
We need to separate the actual decorator registration logic with the actual code itself, maybe using require.js as a dependency
Update: for good ideas,
http://solutionoptimist.com/2013/10/07/enhance-angularjs-logging-using-decorators/
gulp-bump, gulp tag and gulp-git
(also see gulp-release-tasks
) to build a gulp release
task that will bump package version, build the application for production, tag the release and push it to git master branch.
We want to be able to transform the logged payload in a certain way, for example strip CC numbers automatically. We need a way to register these filters and run them on the payload object
We want to be able to append to each payload certain fields, like datetime, or user id, or whatever. For this we need a way to register additional fields in each of the fields, which will extend the logged payload object
We need an "enabled" configuration variable that is true by default for both loggers. That way they can be dynamically disabled.
http://docs.travis-ci.com/user/languages/javascript-with-nodejs/
http://docs.travis-ci.com/user/build-configuration/
We need to remove the mocked dashboard variable and mock the constant (if possible), using provider , or otherwise just actually defining the constant, and removing the constant from the actual base code (or check to see if constant can be modified after the fact and code pays attention to it)
Update: We can first try by simply redefining the constant for the module using
module('angular-remote-logger')
.constant('EXCEPTION_LOGGER_CONFIG', {NEW_OBJECT_WITH_VALUES})
which would be what a regular user would do for configuring the module
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.