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

PingOne Identity Bulk user migration #165

Closed
wants to merge 207 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
d04212c
Small Typo (#2896)
LucasPMorris Feb 16, 2024
331b56d
adding Forgerock password hash storage (#2888)
mark-robustelli Feb 16, 2024
f2233d5
add break words to prose-code (#2898)
lyleschemmerling Feb 16, 2024
ec7a13b
No base 64 secret in user response (#2899)
mooreds Feb 16, 2024
9dadaf6
Update connector doc to reflect twofactor changes (#2895)
mooreds Feb 16, 2024
4db08d0
Re-enable regular cache invalidation (#2901)
mooreds Feb 20, 2024
951e74e
update to newer version of checkout so we don't have node js deprecat…
mooreds Feb 20, 2024
409390e
Advanced threat detection can be enabled when a license is created. (…
mrudatsprint Feb 21, 2024
ec43595
fix typos (#2907)
mrudatsprint Feb 21, 2024
d183a05
Update fast path install instructions. (#2905)
mrudatsprint Feb 21, 2024
8ad94a9
Update the FusionAuth screenshot to have the latest released version …
mrudatsprint Feb 22, 2024
b022479
Docs: add device limit guide (#2889)
sixhobbits Feb 22, 2024
7228c85
Adding the "Device Limiting" guide to example apps and renaming their…
vcampitelli Feb 23, 2024
398c0e4
Buyer Content - Digital Identity (#2904)
bradmccarty Feb 23, 2024
bcc9d2f
Updated a bad link. (#2912)
bradmccarty Feb 26, 2024
0fee5cb
add ngrok to native apps (#2903)
alex-fusionauth Feb 26, 2024
97c0ae7
:construction: Adding `vale` for text linting (#2235)
vcampitelli Feb 27, 2024
3713483
fix broken anchors (#2915)
alex-fusionauth Feb 27, 2024
0c37b8c
removed FusionAuth from diagram, this is vendor neutral (#2919)
mooreds Mar 1, 2024
432f62a
Show that AS validates credentials (#2920)
mooreds Mar 1, 2024
3acb46a
Update default entities admin UI (#2921)
mooreds Mar 2, 2024
68a202d
add aside for users[x].registrations[x].roles (#2918)
alex-fusionauth Mar 5, 2024
d89a27c
update docs landing (#2894)
alex-fusionauth Mar 5, 2024
853da04
docs: Add quickstart rust actix web (#2880)
sixhobbits Mar 6, 2024
01bea8e
Parsing headers from Identity Provider pages to create TOCs (#2917)
vcampitelli Mar 6, 2024
25e47bd
Sync with fusionauth-app
robotdan Mar 6, 2024
7853a0c
Release notes (#2929)
robotdan Mar 7, 2024
9f828a1
release notes copy.
robotdan Mar 7, 2024
dbe9d38
deprecation warning to use openapi (#2927)
alex-fusionauth Mar 7, 2024
71b5a18
fixed typo (#2931)
mooreds Mar 7, 2024
725ef36
added 1.49 release blog post (#2922)
mooreds Mar 7, 2024
c76f3f1
Add CI/CD using GitHub actions guide (#2820)
sixhobbits Mar 7, 2024
ffcf483
updated autogenerated anchor tags (#2932)
mooreds Mar 7, 2024
8b16974
second attempt at fixing links (#2933)
mooreds Mar 7, 2024
6cb2214
adjust regex for rss to include quote (#2935)
alex-fusionauth Mar 7, 2024
643b4b0
update ui components in quickstarts (#2924)
alex-fusionauth Mar 8, 2024
f5e0198
Added CTAs to blog posts and articles (#2930)
bradmccarty Mar 8, 2024
65995f5
Added note based on customer call. (#2936)
mooreds Mar 8, 2024
6ef2ac3
Add note immutable required disabled linking strategy, take 2 (#2937)
mooreds Mar 8, 2024
c3e8a6e
Copy updates
robotdan Mar 8, 2024
2530779
Release/1.49.0 (#2938)
robotdan Mar 9, 2024
2064d08
SEO / Buyer Content - Beyond Passwords (#2900)
bradmccarty Mar 11, 2024
aeb39df
Doc changes for new confirmation required themed page (#2940)
robotdan Mar 11, 2024
5835b0e
copy updates
robotdan Mar 11, 2024
dcd5209
Removing Angular and React with express backend from exampleapps beca…
JakeLo123 Mar 12, 2024
a0e23d5
initial blue, red, purple team article (#2925)
mooreds Mar 12, 2024
edda57a
Updating WebAuthn and biometrics to passkeys (#2928)
bradmccarty Mar 12, 2024
c38f629
Fixed a broken link (#2944)
bradmccarty Mar 12, 2024
8843fe9
fix coderoot in quickstarts (#2946)
alex-fusionauth Mar 13, 2024
d8370c3
Fix core concepts diagrams (#2950)
mooreds Mar 14, 2024
b198104
Updating passkeys promo blog (#2947)
bradmccarty Mar 14, 2024
93b6bd4
add ping identity migration guide (#2913)
sixhobbits Mar 15, 2024
d34311b
Move bulk migration docs to a better location (#2952)
mooreds Mar 15, 2024
4a9ebab
mark provider-specific as an index (#2954)
mooreds Mar 15, 2024
9a9a402
Fix bulk move ping issue (#2955)
mooreds Mar 15, 2024
55aad1a
reworked content on this page (#2956)
mooreds Mar 16, 2024
26b9a75
Fix firebase blog and docs that have extra angle brackets (#2957)
mooreds Mar 18, 2024
c86d6d7
:rewind: Reverting changes in the `count-repos.sh` script (#2926)
vcampitelli Mar 18, 2024
ea4e41a
Update application id limits (#2958)
mooreds Mar 18, 2024
5ca6888
Fixed a typo (#2959)
bradmccarty Mar 18, 2024
ad9c6ad
Add registration index page (#2961)
mooreds Mar 18, 2024
1ce8ba5
added github actions, revamped page (#2962)
mooreds Mar 19, 2024
c4779b9
Fix lambda reconcile intro (#2963)
mooreds Mar 19, 2024
3297a04
cleaning up extra h2s (#2964)
mooreds Mar 19, 2024
7031d15
fix red arrows on diagrams (#2967)
mooreds Mar 19, 2024
2a21444
Update accept.txt for stytch doc (#2966)
mark-robustelli Mar 19, 2024
6f19194
updating doc after renaming fusionauth repo (#2965)
mark-robustelli Mar 19, 2024
3a4d1d2
updating example.json (#2968)
mark-robustelli Mar 20, 2024
a2a7de5
Passkeys webinar promo blog post (#2969)
bradmccarty Mar 20, 2024
3f91e04
Write SDK maintenance policy (#2916)
vcampitelli Mar 20, 2024
6d55992
Update various remote content urls to point to SDK monorepo instead o…
JakeLo123 Mar 20, 2024
1a2f465
docs: Add migrate stytch guide (#2863)
sixhobbits Mar 20, 2024
2023c63
release notes 1.49.2
robotdan Mar 21, 2024
36a5e07
copy
robotdan Mar 21, 2024
a995e2f
Cleaning up article (#2971)
mooreds Mar 21, 2024
61aab91
add limit to cloud (#2973)
mooreds Mar 21, 2024
060d670
fix missing migration guides attributes (#2914)
sixhobbits Mar 26, 2024
11f13fa
docs: add migrate from wordpress guide (#2942)
sixhobbits Mar 26, 2024
bef3a74
document fusionauth-app.search.default-refresh-interval. and fix lin…
bhalsey Mar 26, 2024
f4910e0
Document that FusionAuth admin app can set the app MFA policy regardl…
robotdan Mar 26, 2024
8aada35
Add more user and registration response verificationIds (#2978)
robotdan Mar 26, 2024
8005bd7
user_support_manager capabilities update (#2982)
LucasPMorris Mar 27, 2024
038ea47
Update GitHub actions with marketplace version (#2975)
sixhobbits Mar 28, 2024
a71357d
pulling out docker.yml for kafka (#2980)
mark-robustelli Mar 28, 2024
6d8a867
adding tshirt to quickstarts (#2979)
mark-robustelli Mar 29, 2024
13f085d
Blog: Quantum Computing April Fools (#2949)
alex-fusionauth Apr 1, 2024
cf9607d
updating tshirt link (#2984)
mark-robustelli Apr 1, 2024
c2c913d
updating image link (#2985)
mark-robustelli Apr 1, 2024
5b6c5b6
updating info about API properties and Button properties. (#2878)
mark-robustelli Apr 1, 2024
ead7f6c
Fix wordpress link and nav issues (#2986)
mooreds Apr 1, 2024
935144c
Many themes guidance (#2987)
mooreds Apr 1, 2024
0a8bc4a
we don't really update the forum with releases any more, removing (#2…
mooreds Apr 2, 2024
b98878e
fix(kickstart): all examples should be generateRefreshTokens (#2989)
Aaron-Ritter Apr 2, 2024
708f177
Language updates for passkeys (#2972)
bradmccarty Apr 3, 2024
6e992e8
Have webinar page be on homepage (#2993)
mooreds Apr 4, 2024
72c666f
SEO / Buyer content - A Quick Explanation Of Multi-Factor Authenticat…
bradmccarty Apr 5, 2024
69c4836
Update tenant scoped api key warning (#2994)
mooreds Apr 5, 2024
415a8d4
Fix Edition Blurbs (#2996)
spwitt Apr 8, 2024
7a82b68
updating api docs footer link (#2995)
mark-robustelli Apr 8, 2024
b81ef4c
Bradm/oops (#3001)
bradmccarty Apr 11, 2024
0c14c39
removing shell prompt from install command. (#3003)
mooreds Apr 12, 2024
6797d6c
Diagrams for integrations (#3005)
mooreds Apr 15, 2024
8d674be
Update mfa guide with step up auth state (#3007)
mooreds Apr 16, 2024
3a9c009
bumping versions to deal with node version 16 being deprecated (#3008)
mooreds Apr 16, 2024
f1b9d20
correct url, no need to send the user to the Chinese AWS docs (#3009)
mooreds Apr 16, 2024
ca8a4c9
make it clearer what FusionAuth offers (#3010)
mooreds Apr 16, 2024
8c104d5
the trust policy settings apply for application mfa when enabled or r…
lyleschemmerling Apr 18, 2024
8dfd5b2
small changes to the azure ad oidc doc (#3013)
mooreds Apr 18, 2024
211427b
Passkeys webinar files (#3014)
bradmccarty Apr 18, 2024
3668284
Tangany community story (#3004)
mooreds Apr 18, 2024
00ec0c8
Add tangany community story v2 (#3015)
mooreds Apr 18, 2024
2e946e9
fix the copy on the api authentication page (#3017)
lyleschemmerling Apr 19, 2024
0188974
make the direct downloads static, avoids the need to cache in browser…
lyleschemmerling Apr 19, 2024
64ca370
remove todos (#3018)
lyleschemmerling Apr 19, 2024
cefe6ec
Fix archive release notes code blocks (#3022)
mooreds Apr 22, 2024
3742802
make it clear that FusionAuth never pushes data back into LDAP (#2997)
mooreds Apr 23, 2024
7103d70
fixed oidc link (#3023)
mooreds Apr 23, 2024
5b9de0c
fetch the downloads json on load (#3020)
lyleschemmerling Apr 23, 2024
216fdd6
Update group core concepts (#3025)
mooreds Apr 24, 2024
0b4c0b0
Update robots.txt (#3028)
SeanBobby Apr 24, 2024
a111a56
update to show the moved files in the updated quickstart (#3029)
lyleschemmerling Apr 24, 2024
d29d0a7
AWS CloudFront redirect to URL example. (#3027)
mrudatsprint Apr 25, 2024
7098c40
wrap all paid plan api notes in a <p> tag so they pick up correct sty…
mooreds Apr 25, 2024
26c5920
Documentation updates for 1.50.0 (#3002)
spwitt Apr 25, 2024
6af260e
oops (#3033)
lyleschemmerling Apr 25, 2024
426bd25
1.50 release blog (#3021)
mooreds Apr 26, 2024
69ce28f
Update 1 50 blog post (#3035)
mooreds Apr 26, 2024
f7f74bc
Update 1 50 blog post v2 (#3036)
mooreds Apr 26, 2024
f8fa96c
update custom scopes (#3026)
alex-fusionauth Apr 26, 2024
d6446c2
Luke/Import doc changes (#3032)
LucasPMorris Apr 26, 2024
8d9b609
Remove duplicate name parameter from Form API request body (#3037)
dcharles8 Apr 26, 2024
aef12d2
Redraft part of copy for quickstart-javascript-react-web tutorial in …
JakeLo123 Apr 26, 2024
9ad3d3d
Adding License Key Instructions to Common Config (#3038)
JoshTheHero Apr 26, 2024
6d27aa1
update to astro 4 (#3034)
lyleschemmerling Apr 26, 2024
b28fcf7
removed busted link to closed github issue (#3041)
mooreds Apr 27, 2024
6af1100
fix the license page (#3046)
lyleschemmerling Apr 29, 2024
0c4efe2
fix the license page (#3047)
lyleschemmerling Apr 29, 2024
e899835
Better document admin form customization (#3042)
mooreds Apr 30, 2024
fec22e9
Fix links april 2024 (#3049)
mooreds Apr 30, 2024
845b6c4
Update setup wizard and first time setup (#3048)
bhalsey Apr 30, 2024
5f737a9
small change to make doc more precise (#3050)
mooreds May 1, 2024
178cc10
Update robots.txt - Disallow events/passkeys-unlocked (#3052)
SeanBobby May 1, 2024
98bb0e9
Update sitemap.xml - https://fusionauth.io/password-history (#3051)
SeanBobby May 1, 2024
053a299
updated to make it clearer we don't do adaptive MFA (#3055)
mooreds May 1, 2024
f88d14e
fixed links (#3056)
mooreds May 1, 2024
05b4b36
Update index.astro (#3057)
bradmccarty May 2, 2024
ed5f341
Custom scopes, third party applications and FusionAuth (#3024)
mark-robustelli May 3, 2024
021a7cc
First pass at a public feature deprecation policy (#3045)
mooreds May 3, 2024
37ad7b9
Mcr/custom blog update (#3058)
mark-robustelli May 3, 2024
2a871d8
updating title (#3060)
mark-robustelli May 6, 2024
44adf3d
fixing Safari and other diagram issues (#3059)
mark-robustelli May 7, 2024
1356a69
Fix typos may 2024 (#3063)
mooreds May 8, 2024
66f3a8c
Fixes to broken formatting. (#3064)
robotdan May 8, 2024
7001448
Update Head.astro - Kapa.ai Branding Update (#3065)
SeanBobby May 8, 2024
c21d053
update pagefind and tune the query a bit (#3061)
lyleschemmerling May 9, 2024
a65cec7
Nuxt 3 - Quickstart (#3012)
alex-fusionauth May 9, 2024
e4cb039
adding redirect (#3066)
mark-robustelli May 13, 2024
e05d93f
Adding missing possible results for userState (#3072)
LucasPMorris May 17, 2024
def2851
Add note about BYOSS for email configuration (#3073)
mooreds May 20, 2024
c69624b
Update to application API Parameter (#3075)
LucasPMorris May 21, 2024
7653270
Lyle/license update (#3077)
lyleschemmerling May 21, 2024
023710f
fix blog button underline (#3078)
lyleschemmerling May 21, 2024
355c504
remove the dark styles (#3079)
lyleschemmerling May 21, 2024
2138d3b
add license-update to redirect (#3080)
lyleschemmerling May 21, 2024
a47f666
Updated copy on 1.2v License (#3081)
SeanBobby May 21, 2024
542476b
Updated layout to both License files. (#3082)
SeanBobby May 22, 2024
ba13ee4
document that you should not set this parameter to zero (#3083)
mooreds May 22, 2024
6ded4af
Revert "document that you should not set this parameter to zero (#308…
mooreds May 22, 2024
7ec0a41
add aside (#3095)
bhalsey May 23, 2024
efdcbbf
Bulk uploading draft.dev article icons (#3069)
bradmccarty May 24, 2024
7620fee
draft.dev - Passwordless Compliance (#3087)
bradmccarty May 24, 2024
14239c2
Updating description (#3091)
bradmccarty May 24, 2024
8f03f78
draft.dev - How Passwordless Works (#3070)
bradmccarty May 30, 2024
40895b3
Release/1.51.0 (#3097)
andrewpai May 30, 2024
381a519
Updates to How SSO Works article (#3093)
bradmccarty May 30, 2024
650801b
simple theme doc (#3092)
lyleschemmerling May 30, 2024
5a0176e
themes is an index now (#3098)
lyleschemmerling May 30, 2024
a80da82
Announcing FusionAuth 1.51 (#3062)
alex-fusionauth May 30, 2024
785fe26
draft.dev - Adaptive MFA for UX (#3090)
bradmccarty Jun 3, 2024
45ea74f
draft.dev - Securing UX with MFA (#3086)
bradmccarty Jun 3, 2024
10d29e8
fix typo on title of theme request example json (#3100)
mooreds Jun 4, 2024
af52f5f
fix the response body for simple theme create request (#3101)
lyleschemmerling Jun 5, 2024
d46b20d
fixed link reference (#3102)
mooreds Jun 5, 2024
9f795b4
fixed formatting issue (#3103)
mooreds Jun 5, 2024
850515d
wordsmithing, organizing text better (#3104)
mooreds Jun 6, 2024
b03e1d7
Update cloud guide remove cname (#3105)
mooreds Jun 6, 2024
d1644c0
Fix links (#3106)
mooreds Jun 6, 2024
7415b25
Adding links, removing spaces (#3107)
bradmccarty Jun 10, 2024
7777f83
Bradm/tpc update2 (#3109)
bradmccarty Jun 11, 2024
a376214
change workflow branches to main (#3113)
johnjeffers Jun 12, 2024
52f2101
Removed matomo analytics script from backend. (#3115)
SeanBobby Jun 12, 2024
65907ab
change master to main in docs (#3114)
johnjeffers Jun 13, 2024
dabecbe
[skip ci] fix help msg
johnjeffers Jun 13, 2024
5adf2a7
image urls had lowercase r and l (Url vs URL) which was incorrect bas…
mooreds Jun 13, 2024
e481559
Release notes for 1.51.1 (#3116)
andrewpai Jun 13, 2024
09a8118
Fixed URL appearance in images (#3120)
bradmccarty Jun 13, 2024
28db046
Fixing 404 (#3121)
bradmccarty Jun 14, 2024
349c71e
Update change pw doc (#3110)
mooreds Jun 14, 2024
c755f10
datadog and fusion auth
NoOneSpecialCodes Jun 16, 2024
92c2c6f
datadog and fusion auth done
NoOneSpecialCodes Jun 16, 2024
fd8f5d1
alex-fusionauth/android-sdk-blog-update (#3123)
alex-fusionauth Jun 17, 2024
29794e3
Doc for new Health API (#3122)
robotdan Jun 17, 2024
63d5524
fix typo (#3124)
mark-robustelli Jun 17, 2024
4bca09a
Merge branch 'FusionAuth:main' into master
NoOneSpecialCodes Jun 18, 2024
4040a43
Fix spelling errors jun 18 2024 (#3125)
mooreds Jun 18, 2024
2e42b13
FusionAuth Style changes
NoOneSpecialCodes Jun 18, 2024
5224ea2
Merge branch 'FusionAuth:main' into master
NoOneSpecialCodes Jun 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 23 additions & 1 deletion .github/knownwords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,6 @@ clientAuthenticationMethod
clientAuthenticationPolicy
clientId
clientSecret
cloient
cloudfront
cnf
cockroachdb
Expand Down Expand Up @@ -1865,6 +1864,7 @@ relicensing
relyingPartyApplicationId
relyingPartyURL
rememberDevice
rememberOAuthScopeConsentChoiceTimeToLiveInSeconds
rememberPreviousPasswords
renderErrors
replicable
Expand Down Expand Up @@ -3057,3 +3057,25 @@ SATAC's
audiobooks
monetization
boto
ebooks
sunsetting
Nuxt
nuxt
Vue's
typedoc
Vercel
SSR
injectable
observables
Actix
vue
DockerHub
Forgerock
Stytch
premade
actionee
MailDev
unscoped
scopeHandlingPolicy
GIS

2 changes: 2 additions & 0 deletions .github/scripts/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.list
*.sorted
170 changes: 148 additions & 22 deletions .github/scripts/count-repos.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,31 +1,157 @@
#!/bin/sh
#!/usr/bin/env bash

SHOW_DIFF=0
if [ "$1x" == "-vx" ]; then
SHOW_DIFF=1
fi
# Ensure the example apps listed at https://fusionauth.io/docs/extend/examples/example-repos
# and the count of repos that should be on that page are the same.

# count the repos we have in our example apps page and the number we have in our organization and make sure they match
# set -o errexit
set -o nounset
set -o pipefail

#fusionauth-containers, fusionauth-theme-helper, etc
EXTRA_IN_JSON_NOT_NAMED_CORRECTLY=4
MYDIR=$(cd -- "$(dirname "$0")" || exit >/dev/null 2>&1; pwd -P)
export MYDIR
cd "${MYDIR}" || exit

# fusionauth-example-template and (temporarily) fusionauth-example-vue-sdk
EXTRA_IN_GH_NOT_DISPLAYABLE=2
JSONFILE="../../astro/src/content/json/exampleapps.json"
SUM_JSON=0 # Count of repos from JSONFILE
SUM_GH=0 # Count of repos from gh cli
TOTAL=0 # Difference between SUM_JSON and SUM_GH

cat astro/src/content/json/exampleapps.json|jq '.[]|.url' |sed 's/"//g'|sed 's!https://github.com/!!i' > json.list
COUNT_IN_JSON=`wc -l json.list |sed 's/^ *//' |sed 's/ .*//'`
# Parse args, if any.
DIFF=0
VERBOSE=0
while [[ $# -gt 0 ]]; do
case "$1" in
-d|--diff) DIFF=1; shift;;
-v|--verbose) VERBOSE=1; shift;;
*) echo "ERROR: invalid argument"; exit 1;;
esac
done

gh repo list fusionauth --no-archived --visibility public -L 300 |grep fusionauth-example | sed 's/\t.*//g'> ex.list
COUNT_EXAMPLE_REPOS=`wc -l ex.list |sed 's/^ *//' |sed 's/ .*//'`

gh repo list fusionauth --no-archived --visibility public -L 300 |grep fusionauth-quickstart | sed 's/\t.*//g'> qs.list
COUNT_QUICKSTART_REPOS=`wc -l qs.list |sed 's/^ *//' |sed 's/ .*//'`
# Get the repo URLs from JSONFILE and extract the repo names.
# Sort them and output to json.list
function get_json_repos() {
# Repos that will be returned by the `gh` commands below, but are
# intentionally excluded from JSONFILE for... reasons?
local EXCLUDE=(
"fusionauth-example-ruby-on-rails-custom-scopes"
"fusionauth-example-template"
"fusionauth-example-vue-sdk"
"fusionauth-quickstart-kotlin-android-native"
"fusionauth-quickstart-javascript-nuxt-web"
)

if [ $SHOW_DIFF -eq 1 ]; then
sort json.list > json.sorted
sort ex.list qs.list > gh.sorted
diff json.sorted gh.sorted
fi
jq -r '.[].url' "$JSONFILE" | awk -F'/' '{print $NF}' > json.list

echo "$COUNT_QUICKSTART_REPOS + $COUNT_EXAMPLE_REPOS - $EXTRA_IN_GH_NOT_DISPLAYABLE - $COUNT_IN_JSON + $EXTRA_IN_JSON_NOT_NAMED_CORRECTLY"|bc
# Add the EXCLUDE repos to json.list
for repo in "${EXCLUDE[@]}"; do
echo "$repo" >> json.list
done
sort -o json.list json.list

# Get the count of repos in json.list
SUM_JSON=$(wc -l < json.list | xargs)

if [[ "$VERBOSE" -eq 1 ]]; then
echo -e "\nRepos read from exampleapps.json:\n"
cat json.list
echo -e "\nSUM_JSON: $SUM_JSON"
fi
}


# Get repos via gh cli
# Sort them and output to gh.list
function get_gh_repos() {
# Repos that don't conform to naming standards. These have to be manually
# added to the list of repos retrieved via the gh cli tool.
local ADD_NAMES=(
"fusionauth-containers"
"fusionauth-contrib"
"fusionauth-import-scripts"
"fusionauth-theme-helper"
)

gh repo list fusionauth --no-archived --visibility public -L 300 \
| grep fusionauth-example | awk '{print $1}' | awk -F'/' '{print $NF}' > gh.list

# Get all fusionauth-quickstart repos, sort them, and output them to qs.list.
gh repo list fusionauth --no-archived --visibility public -L 300 \
| grep fusionauth-quickstart | awk '{print $1}' | awk -F'/' '{print $NF}' >> gh.list

# Add the ADD_NAMES repos to gh.list
for repo in "${ADD_NAMES[@]}"; do
echo "$repo" >> gh.list
done
sort -o gh.list gh.list

SUM_GH=$(wc -l < gh.list | xargs)

if [[ "$VERBOSE" -eq 1 ]]; then
echo -e "\ngh cli repos:\n"
cat gh.list
echo -e "\nSUM_GH: $SUM_GH"
fi
}


function get_total() {
TOTAL=$(( SUM_JSON - SUM_GH ))

if [[ "$VERBOSE" -eq 1 ]]; then
echo -e "\nTotals\n"
echo "SUM_JSON: $SUM_JSON"
echo " SUM_GH: - $SUM_GH"
echo " -----"
echo " TOTAL: $TOTAL"
fi
}


function show_diff() {
set +xv
echo -e "\nShowing file diff...\n"
output="$(diff -du --color=always json.list gh.list)"
if [[ -n "$output" ]]; then
printf -- "%s\n" "$output"
else
printf -- "Files are identical, no diff to show\n"
fi
}


function help() {
echo -e "\nERROR: DIFF is non-zero\n"
cat << EOF
This means that there is a discrepancy between the number of repos
in $(basename "$JSONFILE") and the repo counts being returned by calls
to the GitHub API. Try running the script with the -d flag to show the
file diff. This may indicate which repo(s) are causing the discrepancy.

If there is a discrepancy, you have three options to resolve it:

1. Add it to $JSONFILE
2. Add it to the EXCLUDE array, if it's intentionally excluded from $JSONFILE
3. Add it to the ADD_NAMES array, if it's a repo with a non-standard name
EOF
}


function main() {
get_json_repos
get_gh_repos
get_total

# Show a file diff if reqiested.
if [[ "$DIFF" -eq 1 ]]; then show_diff; fi

# Show help if the check fails.
if [[ "$TOTAL" -ne 0 ]]; then help; fi

# Use TOTAL as the exit code. This means that if there's a non-zero
# difference in the counts, this will fail.
exit $TOTAL
}


main "$@"
131 changes: 131 additions & 0 deletions .github/vale/styles/config/vocabularies/FusionAuth/accept.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
[Aa]utoscaling
Aiven
anonymization
API
authorizer
Bachman
Basecamp
[Bb]crypt
Boolean
boolean
CAPTCHA
[Cc]yber
[Cc]yberattack
[Cc]ybercriminal
[Cc]ybersecurity
Cognito
CRM
cron
crypto
CSP
cutover
CVE
datacenter
datastore
[Dd]ev
defragmentation
deprovision
deserialize
Dinoch
Dockerfile
Equifax
Erlich
esport
failover
Fastly
FIDO
[Ff]intech
[Ff]usion[Aa]uth
gameplay
Guice
HAProxy
Hashicorp
Hathcock
Hooli
hostname
Hubspot
Id
Infosec
initializer
interoperate
Inversoft
ISP
Istio
jinja
Jens
JMeter
[Jj][Ww][Tt]
Kaspersky
Kerberos
Keycloak
keypair
Laravel
Linkerd
Linode
lossy
Metasploit
middleware
minifier
namespace
nginx
ngrok
npm
Nuxt
OAuth
Okta
onboarded
[Oo]ffboarding
[Oo]nboarding
Packagist
passcode
pentesting
performant
Pinterest
plaintext
Postgres
[Pp]asswordless
pretexting
prototype
pseudocode
pseudonymization
pseudonymize
Psyonix
Pulumi
[Qq]uickstart
reauthenticate
reauthentication
repo
[Rr]eindex
[Rr]elicensing
[Rr]oadmap
Schaefer
SDK
SHA
Shopify
signup
SLA
[Ss]crypt
SSD
[Ss]erverless
[Ss]harding
Splunk
Stytch
Supabase
Tangany
themeable
Twilio
URI
virtualized
VPN
Vue
WebAuthn
webview
Wordpress
WUPHF
[Ww]ebapp
Xbox
Xcode
xkcd
Yubico
YubiKey
Zendesk
Loading
Loading