Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: GAS based subscription #44

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

WIP: GAS based subscription #44

wants to merge 11 commits into from

Conversation

azu
Copy link
Owner

@azu azu commented May 12, 2021

Spec

  • use cron syntax

Usage

  1. Deploy gas to user's spreadsheet
  2. Authrize the gas script by user
  • This gas script owner is user. We can not do automatic
  1. Run cron every day and add record if the date is matched

New Subscription management page

  1. Authroize subscription
  2. Update subscription
  3. Remove subscription

Issues

  • timeout: GAS creating is over 10s
  • require additional OAuth scope that requires Google review

fix #8

@vercel vercel bot temporarily deployed to Preview July 23, 2021 02:33 Inactive
@vercel vercel bot temporarily deployed to Preview July 23, 2021 03:26 Inactive
@vercel vercel bot temporarily deployed to Preview July 23, 2021 03:28 Inactive
@vercel vercel bot temporarily deployed to Preview July 23, 2021 06:19 Inactive
@vercel vercel bot temporarily deployed to Preview July 23, 2021 06:20 Inactive
@vercel vercel bot temporarily deployed to Preview July 23, 2021 06:30 Inactive
@@ -23,6 +23,7 @@ const handler = nextConnect<NextApiRequestWithSession, NextApiResponse>()
prompt: "consent",
scope: [
"https://www.googleapis.com/auth/drive.file", // require to create and edit sheet
"https://www.googleapis.com/auth/script.projects", // require to create apps script
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • It requires Google review...

@vercel vercel bot temporarily deployed to Preview July 24, 2021 05:42 Inactive
@vercel vercel bot temporarily deployed to Preview July 24, 2021 15:24 Inactive
@vercel vercel bot temporarily deployed to Preview July 25, 2021 07:55 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add subscription type like monthly?
1 participant