Giter VIP home page Giter VIP logo

wp-module-data's People

Contributors

0averyan avatar arunshenoy99 avatar brianhenryie avatar circlecube avatar desrosj avatar earnjam avatar mamatharao05 avatar manikantakailasa avatar mikehansenme avatar pls78 avatar ramyakrishnai avatar sumathi3399 avatar wpalani avatar wpscholar avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp-module-data's Issues

Reset throttle count on successful connection

When a site attempts to self-connect, we increment the throttle counter. This helps with the back-off timing for successive connection failures to prevent performance issues on a site, or a site sending many repeated Hiive connection requests.

However, once a site is successful in connecting (a new token is stored) we should clear this throttle counter value, or reset it to 0.

Move the site launched event listener to the Coming Soon module

This is located in the src/Listeners/BluehostPlugin.php file:

// Site Launched - Coming Soon page disabled
add_filter( 'pre_update_option_mm_coming_soon', array( $this, 'site_launch' ), 10, 2 );

We need to create a Listeners/ComingSoon.php file in the coming soon module and register it as a listener via the newfold_data_listeners hook.

Auto encrypt unencrypted tokens in the database

In some cases, a token may get injected into the database without being properly encrypted. We should add a check for this and automatically encrypt it.

We'll need to run a regex check for ^\d+| and then encrypt.

Add module version check to release workflow

We have a version number constant as NFD_DATA_MODULE_VERSION, we need to keep it synced with the actual tagged release version.

This will help track bugs down and add upgrade routines like what we'll could put in place for #8

Standard/Spec for Pageviews and Events

There should be a standard and a specification for pageviews and events. And all of that should be sent from various clients to the hiive. Then hiive can send it to GA, Data Warehouse, whatever else.

Each consumer shouldn't have to figure it out themselves or look at an existing implementation and figure out how to use it for a new use case.

The shape needs to have some default key values, and then a way for additional meta, so that it can support all use cases easily.

This might already exist, but we need documentation for the wp rest api for collecting events, a JS example, a PHP example. Engineers shouldn't have to reverse engineer an existing implementation, we should be able to just reference the docs.

Documentation should live in confluence.

Tracking number 0a14f99f-0e66-49fb-a77f-16fe591fb1cd

Move SSO event listeners to the SSO module

This is located in the src/Listeners/BluehostPlugin.php file:

// SSO (Legacy)
add_action( 'eig_sso_success', array( $this, 'sso_success' ), 10, 2 );
add_action( 'eig_sso_fail', array( $this, 'sso_fail' ) );

// SSO
add_action( 'newfold_sso_success', array( $this, 'sso_success' ), 10, 2 );
add_action( 'newfold_sso_fail', array( $this, 'sso_fail' ) );

We need to create a Listeners/SSO.php file in the SSO module and register it as a listener via the newfold_data_listeners hook.

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.