GithubHelp home page GithubHelp logo

d8-contrib-modules / tfa_basic Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 4.0 121 KB

THIS CODE IS NOT MAINTAINED. MOST FUNCTIONALITY MOVED TO THE GA_LOGIN MODULE ON DRUPAL.ORG

Home Page: https://drupal.org/project/ga_login

PHP 100.00%

tfa_basic's People

Contributors

bjeavons avatar dbjpanda avatar doylejd avatar dragos-dumi avatar drumm avatar irek02 avatar nerdstein avatar pebosi avatar stmixnovich avatar therealssj avatar varvashenya avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tfa_basic's Issues

Implement configForm for TFABasic.

The D7 module used a hook_form_alter() to modify the form elements of the TFA settings form.

I don't see a need to alter the existing form for these settings. My recommendation would be to provide TFA Basic with its own configuration form. Further investigation will be needed to confirm this assumption.

Implement Tests for TFA Basic

Implement tests for the TFA basic module.

This will need to be done as plugin types are finalized. Should this be broken out into a test per plugin?

Pull In Google authenticator Code using Composer Manager

Currently the module is deployed with a copy of the google authenticator source code. The standard in D8 is to include third-party code using composer. This will allow the module to quickly and easily provide updates. It will also prevent conflicts with other module that may use authenticator for other tasks.

Weight option for "Security" Menu tab (Local task menu)

There should be a weight option inside Tfa configuration page for "Security" menu . So that admin can configure the weight of Security menu according to his/her wish. He/She may want to keep this menu just after "Edit" menu or may want atlast. Please suggest so that i can code accordingly.

Move qrcodejs to libraries.yml

qrcode js should be in the libraries.yml file.
Currently it is defined in hook_library.

Though we are not using this currently, should we remove this altogether given it requires you to add inline js?

I tried a lot but could not find any info on how to add inline js in drupal 8.

Create a Service class to handle service type functions

There are several functions in the .module file that should be placed into a service. Doing this will be a better demonstration of how D8 should be done and will clean up the .module file which typically should only contain hook_ implementations.

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.