Skip to content

Commit

Permalink
reorganized
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattjoh committed Apr 20, 2018
1 parent 7d64411 commit 10d2735
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 19 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Expand Up @@ -38,6 +38,7 @@ plugins/*
!plugins/talk-plugin-google-auth
!plugins/talk-plugin-ignore-user
!plugins/talk-plugin-like
!plugins/talk-plugin-local-auth
!plugins/talk-plugin-love
!plugins/talk-plugin-member-since
!plugins/talk-plugin-mod
Expand All @@ -50,10 +51,11 @@ plugins/*
!plugins/talk-plugin-notifications-digest-hourly
!plugins/talk-plugin-offtopic
!plugins/talk-plugin-permalink
!plugins/talk-plugin-profile-settings
!plugins/talk-plugin-profile-data
!plugins/talk-plugin-profile-settings
!plugins/talk-plugin-remember-sort
!plugins/talk-plugin-respect
!plugins/talk-plugin-rich-text
!plugins/talk-plugin-slack-notifications
!plugins/talk-plugin-sort-most-downvoted
!plugins/talk-plugin-sort-most-liked
Expand All @@ -67,7 +69,6 @@ plugins/*
!plugins/talk-plugin-toxic-comments
!plugins/talk-plugin-upvote
!plugins/talk-plugin-viewing-options
!plugins/talk-plugin-rich-text

**/node_modules/*
yarn-error.log
11 changes: 6 additions & 5 deletions plugins.default.json
@@ -1,25 +1,26 @@
{
"server": [
"talk-plugin-auth",
"talk-plugin-featured-comments",
"talk-plugin-respect",
"talk-plugin-profile-data"
"talk-plugin-local-auth",
"talk-plugin-profile-data",
"talk-plugin-respect"
],
"client": [
"talk-plugin-auth",
"talk-plugin-author-menu",
"talk-plugin-featured-comments",
"talk-plugin-flag-details",
"talk-plugin-ignore-user",
"talk-plugin-local-auth",
"talk-plugin-member-since",
"talk-plugin-moderation-actions",
"talk-plugin-permalink",
"talk-plugin-profile-data",
"talk-plugin-respect",
"talk-plugin-sort-most-replied",
"talk-plugin-sort-most-respected",
"talk-plugin-sort-newest",
"talk-plugin-sort-oldest",
"talk-plugin-viewing-options",
"talk-plugin-profile-data"
"talk-plugin-viewing-options"
]
}
1 change: 0 additions & 1 deletion plugins/talk-plugin-auth/README.md
Expand Up @@ -7,7 +7,6 @@ plugin:
default: true
provides:
- Client
- Server
---

This provides the base plugin that is the basis for all auth based plugins that
Expand Down
12 changes: 1 addition & 11 deletions plugins/talk-plugin-auth/index.js
@@ -1,11 +1 @@
const typeDefs = require('./server/typeDefs');
const resolvers = require('./server/resolvers');
const mutators = require('./server/mutators');
const path = require('path');

module.exports = {
translations: path.join(__dirname, 'server', 'translations.yml'),
typeDefs,
mutators,
resolvers,
};
module.exports = {};
20 changes: 20 additions & 0 deletions plugins/talk-plugin-local-auth/README.md
@@ -0,0 +1,20 @@
---
title: talk-plugin-local-auth
permalink: /plugin/talk-plugin-local-auth/
layout: plugin
plugin:
name: talk-plugin-local-auth
default: true
provides:
- Client
- Server
---

This plugin will eventually contain all the local authentication code that is
responsible for creating, resetting, and managing accounts provided locally
through an email and password based login.

## Features

- *Email Change*: Allows users to change their existing email address on their account.
- *Local Account Association*: Allows users that have signed up with an external auth strategy (such as Google) the ability to associate a email address and password for login. **Note: Existing users with external authentication will be prompted to setup a local account when they sign in and when new users create an account.**
11 changes: 11 additions & 0 deletions plugins/talk-plugin-local-auth/index.js
@@ -0,0 +1,11 @@
const typeDefs = require('./server/typeDefs');
const resolvers = require('./server/resolvers');
const mutators = require('./server/mutators');
const path = require('path');

module.exports = {
translations: path.join(__dirname, 'server', 'translations.yml'),
typeDefs,
mutators,
resolvers,
};
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 10d2735

Please sign in to comment.