Skip to content

[pull] master from googleworkspace:master #2

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

Open
wants to merge 50 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
172f648
Add PKCE support (#339)
sqrrrl Apr 25, 2022
1110559
Adding Stack Overflow (#344)
May 2, 2022
509d981
Add pkce parameters in the authorization url (#366)
labnol May 16, 2022
3e75562
fix refresh token expiry lost during refresh
chrisirhc Apr 20, 2022
c4be535
add failing test
chrisirhc Apr 20, 2022
baa250e
revert previous changes to go with a different approach
chrisirhc Apr 28, 2022
7a31cec
stab at expires at variables
chrisirhc Apr 28, 2022
2ce204d
fix test and typo
chrisirhc Apr 28, 2022
8a3334f
fix typo
chrisirhc Apr 28, 2022
9f9ace2
clean up code for easier review, minimize changes, follow previus pat…
chrisirhc Apr 28, 2022
10d728d
add missing var
chrisirhc Apr 28, 2022
e71b6b2
fix canRefresh logic
chrisirhc May 17, 2022
499c04b
add setExpiresAt tests
chrisirhc May 17, 2022
105c611
remove extra comment
chrisirhc May 17, 2022
451080b
add tests and fix typo in logic
chrisirhc May 17, 2022
2455c7c
Tighten expire checks to differentiate between 0 and unset, rename fu…
sqrrrl May 17, 2022
058dfcd
Retain refresh token expiry on refreshing (#360)
chrisirhc May 17, 2022
88996b5
Updated JSDoc syntax for better type suggestions - getRedirectUri (#…
sggolakiya Jun 17, 2022
1aa3201
Update dependency copy-props to 2.0.5 [SECURITY]
renovate[bot] Jun 27, 2022
db0624e
Merge pull request #373 from googleworkspace/renovate/npm-copy-props-…
davidharcombe Jun 27, 2022
b578a08
chore: Synced file(s) with googleworkspace/.github (#381)
googleworkspace-bot Jul 21, 2022
3842b82
chore: add license headers (#382)
jpoehnelt Jul 21, 2022
f618a9d
chore: Synced local '.github/workflows/automation.yml' with remote 's…
googleworkspace-bot Jul 21, 2022
eb0696e
chore: Synced local '.github/workflows/automation.yml' with remote 's…
googleworkspace-bot Jul 22, 2022
72d4dbc
chore: switch to main (#386)
jpoehnelt Jul 22, 2022
a5480c1
fix: prevent samples from leaking OAuth client ID + Secret to users (…
AlnisS Jul 27, 2022
2933a8c
chore: Synced file(s) with googleworkspace/.github (#389)
googleworkspace-bot Jul 29, 2022
cf5f1dc
build: remove travis (#387)
jpoehnelt Aug 2, 2022
5305253
Add sample for Onshape (#377)
AlnisS Aug 2, 2022
41ca295
Update dependencies + remove node fiber as it is no longer supported …
sqrrrl Aug 2, 2022
4216ea1
Enable workflows for releases (#393)
sqrrrl Aug 3, 2022
4e2c633
chore: kick release-please
sqrrrl Aug 4, 2022
7e1b759
chore: Add id to workflow step to ref output correctly
sqrrrl Aug 4, 2022
6da6876
fix: "Prompt" property for auth URL in sample (#317)
korolkevich Aug 4, 2022
7f1ed4f
Remove -b flag when checking out master
sqrrrl Aug 4, 2022
34916cd
chore: Resolve merge conflict
sqrrrl Aug 4, 2022
bed9992
build: remove travis (#387)
jpoehnelt Aug 2, 2022
fd27bb6
Update dependencies + remove node fiber as it is no longer supported …
sqrrrl Aug 2, 2022
fced652
Enable workflows for releases (#393)
sqrrrl Aug 3, 2022
b8b3a59
chore: kick release-please
sqrrrl Aug 4, 2022
e2e0647
chore: Add id to workflow step to ref output correctly
sqrrrl Aug 4, 2022
7b66069
Merge branch 'master'
sqrrrl Aug 4, 2022
6c6b739
chore: Fix doc generation command
sqrrrl Aug 4, 2022
a1178bd
chore: Created local '.github/linters/' from remote 'sync-files/defau…
googleworkspace-bot Aug 5, 2022
0ba94c0
chore: Synced file(s) with googleworkspace/.github (#397)
googleworkspace-bot Aug 9, 2022
8527346
chore: Disable date/time in docs
sqrrrl Sep 22, 2022
611c176
chore: Make workflow manually callable
sqrrrl Sep 22, 2022
cf14956
chore: adds entrypoint (#398)
spacenate Sep 22, 2022
6476916
chore: Add fix command + delint existing files (#392)
sqrrrl Sep 22, 2022
6ae908a
Add support for refresh_expires_in (#358)
chrisirhc Sep 22, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/**
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

module.exports = {
"extends": "google",
"parserOptions": {
Expand Down
17 changes: 17 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

.github/ @googleworkspace/workspace-devrel-dpe
25 changes: 25 additions & 0 deletions .github/linters/.htmlhintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"tagname-lowercase": true,
"attr-lowercase": true,
"attr-value-double-quotes": true,
"attr-value-not-empty": false,
"attr-no-duplication": true,
"doctype-first": false,
"tag-pair": true,
"tag-self-close": false,
"spec-char-escape": false,
"id-unique": true,
"src-not-empty": true,
"title-require": false,
"alt-require": true,
"doctype-html5": true,
"id-class-value": false,
"style-disabled": false,
"inline-style-disabled": false,
"inline-script-disabled": false,
"space-tab-mixed-disabled": "space",
"id-class-ad-disabled": false,
"href-abs-or-rel": false,
"attr-unsafe-chars": true,
"head-script-disabled": false
}
59 changes: 59 additions & 0 deletions .github/linters/.yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
###########################################
# These are the rules used for #
# linting all the yaml files in the stack #
# NOTE: #
# You can disable line with: #
# # yamllint disable-line #
###########################################
rules:
braces:
level: warning
min-spaces-inside: 0
max-spaces-inside: 0
min-spaces-inside-empty: 1
max-spaces-inside-empty: 5
brackets:
level: warning
min-spaces-inside: 0
max-spaces-inside: 0
min-spaces-inside-empty: 1
max-spaces-inside-empty: 5
colons:
level: warning
max-spaces-before: 0
max-spaces-after: 1
commas:
level: warning
max-spaces-before: 0
min-spaces-after: 1
max-spaces-after: 1
comments: disable
comments-indentation: disable
document-end: disable
document-start:
level: warning
present: true
empty-lines:
level: warning
max: 2
max-start: 0
max-end: 0
hyphens:
level: warning
max-spaces-after: 1
indentation:
level: warning
spaces: consistent
indent-sequences: true
check-multi-line-strings: false
key-duplicates: enable
line-length:
level: warning
max: 120
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true
new-line-at-end-of-file: disable
new-lines:
type: unix
trailing-spaces: disable
Loading