Giter VIP home page Giter VIP logo

angular-remote-logger's People

Stargazers

 avatar  avatar

angular-remote-logger's Issues

Add "censor" payload filter

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

Fix karma-jasmine version

We need to have the jasmine.clock.mockDate() function available, which is not on the current karma-jasmine version

Add release task

  • Use 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.
    • Since we are pushing directly to master without using a pull request, Travis shouldn't retrigger a build

Add payload filter plugin mechanism

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

Add additional logged fields registration capabilities

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

Add "enabled" configuration variable

We need an "enabled" configuration variable that is true by default for both loggers. That way they can be dynamically disabled.

  • Add a check for the flag in the code, if it's disabled it should do nothing, except return back the chain
  • Update mock configuration/readme with examples
  • Add tests for the disable case to make sure nothing is happening when disabled. Also add tests to dynamically toggle and make sure it works after reenabled.

Add badges

  • Travis (set up travis build)
  • Coveralls
  • Code climate

Setup configuration / Make tests pass

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.