Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit f97094d

Browse files
authored
Merge branch 'contributions' into accessibility-issue
2 parents 43daff0 + 6510201 commit f97094d

File tree

227 files changed

+8042
-8174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+8042
-8174
lines changed

.github/ISSUE_TEMPLATE/bug.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ body:
2020
- type: input
2121
attributes:
2222
label: Version of BioDrop (for example "v1.2.3")
23-
description: Can be found in the lower right corner of the web interface in the footer.
23+
description: Can be found in the footer of the BioDrop.io website.
2424
validations:
2525
required: true
2626
- type: textarea

.github/scripts/check-filenames.js

-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
let fileNames = process.env.FILENAMES.split(" ");
2-
const baseFileNames = process.env.BASE_FILENAMES.split(" ");
32
const user = process.env.USERNAME;
43
let exitCode = 0;
54

6-
// Remove files not changed in this PR from list
7-
if (baseFileNames.length > 0) {
8-
fileNames = fileNames.filter((file) => !baseFileNames.includes(file));
9-
}
10-
115
if (fileNames.length > 0) {
126
fileNames.forEach((file) => {
137
const splitFile = file.split("/");

.github/workflows/build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
matrix:
2424
step: [lint, build]
2525
steps:
26-
- uses: actions/checkout@v3
27-
- uses: actions/setup-node@v3
26+
- uses: actions/checkout@v4
27+
- uses: actions/setup-node@v4
2828
with:
2929
node-version: "18"
3030
cache: "npm"
@@ -47,8 +47,8 @@ jobs:
4747
shardIndex: [1, 2, 3, 4, 5]
4848
shardTotal: [5]
4949
steps:
50-
- uses: actions/checkout@v3
51-
- uses: actions/setup-node@v3
50+
- uses: actions/checkout@v4
51+
- uses: actions/setup-node@v4
5252
with:
5353
node-version: "18"
5454
cache: "npm"

.github/workflows/check-assignee.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Check if the author has issues assigned
1919
id: check-assignee

.github/workflows/check-profile.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: JSON Profile API check
1+
name: JSON Profile source check
22

33
on:
44
pull_request:
@@ -11,7 +11,7 @@ jobs:
1111

1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
# Make the API request corresponding to the pull request author and outputs the data of the user as JSON string
1717
- name: Make API request
@@ -34,5 +34,5 @@ jobs:
3434
- name: Check if source is database
3535
if: steps.myRequest.outputs.response != '' && fromJson(steps.myRequest.outputs.response).source == 'database'
3636
run: |
37-
echo "${{ github.event.pull_request.user.login }}'s Profile is already in database"
37+
echo "${{ github.event.pull_request.user.login }}'s Profile is already in database - you are already using forms, please continue to use them"
3838
exit 1

.github/workflows/codeql.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ jobs:
4848

4949
steps:
5050
- name: Checkout repository
51-
uses: actions/checkout@v3
51+
uses: actions/checkout@v4
5252

5353
# Initializes the CodeQL tools for scanning.
5454
- name: Initialize CodeQL
55-
uses: github/codeql-action/init@v2
55+
uses: github/codeql-action/init@v3
5656
with:
5757
languages: ${{ matrix.language }}
5858
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -65,7 +65,7 @@ jobs:
6565
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
6666
# If this step fails, then you should remove it and run the build manually (see below)
6767
- name: Autobuild
68-
uses: github/codeql-action/autobuild@v2
68+
uses: github/codeql-action/autobuild@v3
6969

7070
# ℹ️ Command-line programs to run using the OS shell.
7171
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -78,6 +78,6 @@ jobs:
7878
# ./location_of_script_within_repo/buildscript.sh
7979

8080
- name: Perform CodeQL Analysis
81-
uses: github/codeql-action/analyze@v2
81+
uses: github/codeql-action/analyze@v3
8282
with:
8383
category: "/language:${{matrix.language}}"

.github/workflows/data-filenames.yml

+6-11
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,21 @@ jobs:
1010
runs-on: ubuntu-latest
1111
name: Test changed-files
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
1416

1517
- name: Setup Node
16-
uses: actions/setup-node@v3
18+
uses: actions/setup-node@v4
1719
with:
18-
node-version: "18"
20+
node-version: "lts/*"
1921

2022
- name: Get changed files
2123
id: changed-files
22-
uses: tj-actions/[email protected]
23-
24-
- name: Get changed files between base & head
25-
id: base-changed-files
26-
uses: tj-actions/[email protected]
27-
with:
28-
base_sha: ${{ github.event.pull_request.head.sha }}
24+
uses: tj-actions/changed-files@v41
2925

3026
- name: Check changed files
3127
env:
32-
BASE_FILENAMES: ${{ steps.base-changed-files.outputs.all_changed_files }}
3328
FILENAMES: ${{ steps.changed-files.outputs.all_changed_files }}
3429
USERNAME: ${{ github.actor }}
3530
run: |

.github/workflows/events.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
ports:
1414
- 27017:27017
1515
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-node@v3
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-node@v4
1818
with:
1919
node-version: "18"
2020
cache: "npm"

.github/workflows/json-check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
check:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
- name: json-syntax-check
1414
uses: limitusus/json-syntax-check@v2
1515
with:

.github/workflows/labels.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3 # Uploads repository content to the runner to ensure config file available
15+
- uses: actions/checkout@v4 # Uploads repository content to the runner to ensure config file available
1616
with:
1717
sparse-checkout: |
1818
.github/config/labeler.yml

.github/workflows/prettier.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
runs-on: ubuntu-latest
1515
name: Format Files
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

19-
- uses: actions/setup-node@v3
19+
- uses: actions/setup-node@v4
2020
with:
2121
node-version: "18"
2222
cache: "npm"
@@ -28,7 +28,7 @@ jobs:
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030

31-
- uses: stefanzweifel/git-auto-commit-action@v4
31+
- uses: stefanzweifel/git-auto-commit-action@v5
3232
id: format-files
3333
with:
3434
commit_message: "style: format files"

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
# check out the repository with all releases
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
2222

.github/workflows/storybook.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
if: github.repository == 'EddieHubCommunity/BioDrop'
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v3
32-
- uses: actions/setup-node@v3
31+
- uses: actions/checkout@v4
32+
- uses: actions/setup-node@v4
3333
with:
3434
node-version: "18"
3535
cache: "npm"
3636

3737
- name: Setup Pages
38-
uses: actions/configure-pages@v3
38+
uses: actions/configure-pages@v4
3939

4040
- name: install dependencies
4141
run: npm ci
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Upload artifact
4646
if: github.event_name != 'pull_request'
47-
uses: actions/upload-pages-artifact@v1
47+
uses: actions/upload-pages-artifact@v3
4848
with:
4949
path: "./storybook-static"
5050

@@ -59,4 +59,4 @@ jobs:
5959
steps:
6060
- name: Deploy to GitHub Pages
6161
id: deployment
62-
uses: actions/deploy-pages@v1
62+
uses: actions/deploy-pages@v4

.github/workflows/testimonial.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626

27-
- uses: actions/checkout@v3
28-
- uses: actions/setup-node@v3
27+
- uses: actions/checkout@v4
28+
- uses: actions/setup-node@v4
2929
with:
3030
node-version: "18"
3131

@@ -57,7 +57,7 @@ jobs:
5757
DATA_DATE: ${{ steps.date.outputs.time }}
5858
- name: validate JSON
5959
run: jq . "data/${{ steps.issue-parser.outputs.issueparser_name }}/testimonials/${{ github.actor }}.json"
60-
- uses: stefanzweifel/git-auto-commit-action@v4
60+
- uses: stefanzweifel/git-auto-commit-action@v5
6161
with:
6262
commit_message: "Testimonial for '${{ steps.issue-parser.outputs.issueparser_name }}' by '${{ github.actor }}'"
6363

.github/workflows/vercel-preview.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
deploy:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
- name: install Vercel CLI
1717
run: npm install --global vercel@latest
1818
- name: pull Vercel environment information

.github/workflows/vercel.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
if: github.repository == 'EddieHubCommunity/BioDrop'
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- name: install Vercel CLI
2424
run: npm install --global vercel@latest
2525
- name: pull Vercel environment information
@@ -40,8 +40,8 @@ jobs:
4040
runs-on: ubuntu-latest
4141
needs: deploy
4242
steps:
43-
- uses: actions/checkout@v3
44-
- uses: dorny/paths-filter@v2
43+
- uses: actions/checkout@v4
44+
- uses: dorny/paths-filter@v3
4545
id: changes
4646
with:
4747
filters: |

.husky/pre-commit

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npm run lint

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.16.0
1+
v18.17.0

.storybook/main.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import remarkGfm from "remark-gfm";
22

33
const config = {
44
stories: [
5-
"../stories/**/*.stories.mdx",
65
"../stories/**/*.stories.@(js|jsx|ts|tsx)",
76
],
7+
88
addons: [
99
"@storybook/addon-essentials",
1010
"@storybook/addon-a11y",
@@ -30,6 +30,9 @@ const config = {
3030
...config,
3131
STORYBOOK_RUN: true,
3232
}),
33+
docs: {
34+
autodocs: false
35+
}
3336
};
3437

3538
export default config;

.storybook/preview.js

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export const decorators = [
2020
];
2121

2222
export const parameters = {
23-
actions: { argTypesRegex: "^on[A-Z].*" },
2423
controls: {
2524
matchers: {
2625
color: /(background|color)$/i,

CHANGELOG.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
1-
# [2.95.0](https://github.com/EddieHubCommunity/BioDrop/compare/v2.94.3...v2.95.0) (2023-12-07)
1+
## [2.101.1](https://github.com/EddieHubCommunity/BioDrop/compare/v2.101.0...v2.101.1) (2024-05-13)
22

33

4-
### Features
4+
### Bug Fixes
55

6-
* admin stats active users ([#9857](https://github.com/EddieHubCommunity/BioDrop/issues/9857)) ([29a142b](https://github.com/EddieHubCommunity/BioDrop/commit/29a142bf56044481da030f85fe47eefba3e8a661))
6+
* remove create profile button ([#10375](https://github.com/EddieHubCommunity/BioDrop/issues/10375)) ([e0e90a7](https://github.com/EddieHubCommunity/BioDrop/commit/e0e90a7ced6901c68dd063ed1d656dc5b6233d84))
77

88

99

10-
## [2.94.3](https://github.com/EddieHubCommunity/BioDrop/compare/v2.94.2...v2.94.3) (2023-12-07)
10+
# [2.101.0](https://github.com/EddieHubCommunity/BioDrop/compare/v2.100.4...v2.101.0) (2024-05-13)
1111

1212

13-
### Bug Fixes
13+
### Features
1414

15-
* milestone icons ([#9870](https://github.com/EddieHubCommunity/BioDrop/issues/9870)) ([61a5c35](https://github.com/EddieHubCommunity/BioDrop/commit/61a5c35019c5dea184a3876709665783bf76ee68))
15+
* premium plan for all ([#10361](https://github.com/EddieHubCommunity/BioDrop/issues/10361)) ([bb4383d](https://github.com/EddieHubCommunity/BioDrop/commit/bb4383dbebe033e7b87f89799c4127cffee98d56))
1616

1717

1818

19-
## [2.94.2](https://github.com/EddieHubCommunity/BioDrop/compare/v2.94.1...v2.94.2) (2023-12-07)
19+
## [2.100.4](https://github.com/EddieHubCommunity/BioDrop/compare/v2.100.3...v2.100.4) (2024-05-06)
2020

2121

2222
### Bug Fixes
2323

24-
* playwright networkidle to domcontentloaded ([#9882](https://github.com/EddieHubCommunity/BioDrop/issues/9882)) ([18661a4](https://github.com/EddieHubCommunity/BioDrop/commit/18661a4800b1bfd7dafe2f339e70c5d91376f40b))
24+
* archive website message about db deletion ([#10369](https://github.com/EddieHubCommunity/BioDrop/issues/10369)) ([57badca](https://github.com/EddieHubCommunity/BioDrop/commit/57badcab79555f2d6bbd7d8f977b958a6acb3241))
2525

2626

2727

28-
## [2.94.1](https://github.com/EddieHubCommunity/BioDrop/compare/v2.94.0...v2.94.1) (2023-12-01)
28+
## [2.100.3](https://github.com/EddieHubCommunity/BioDrop/compare/v2.100.2...v2.100.3) (2024-05-05)
2929

3030

3131
### Bug Fixes
3232

33-
* changelog update ([#9867](https://github.com/EddieHubCommunity/BioDrop/issues/9867)) ([8caa8b0](https://github.com/EddieHubCommunity/BioDrop/commit/8caa8b0cde91666ffc441229b6b6bc674592a863))
33+
* archive alert message ([#10366](https://github.com/EddieHubCommunity/BioDrop/issues/10366)) ([8f52efc](https://github.com/EddieHubCommunity/BioDrop/commit/8f52efc97943ccb5796604726a0b71b1520f156c))
3434

3535

3636

37-
# [2.94.0](https://github.com/EddieHubCommunity/BioDrop/compare/v2.93.2...v2.94.0) (2023-12-01)
37+
## [2.100.2](https://github.com/EddieHubCommunity/BioDrop/compare/v2.100.1...v2.100.2) (2024-03-25)
3838

3939

40-
### Features
40+
### Bug Fixes
4141

42-
* re-ordering tags ([#9823](https://github.com/EddieHubCommunity/BioDrop/issues/9823)) ([8e3abe6](https://github.com/EddieHubCommunity/BioDrop/commit/8e3abe6c155661dab66f47310029181023cacf7a))
42+
* revert husky to regular dependency ([#10310](https://github.com/EddieHubCommunity/BioDrop/issues/10310)) ([cccd62f](https://github.com/EddieHubCommunity/BioDrop/commit/cccd62f39b721b529aa9f626b07859cd53461fc4))
4343

4444

4545

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ representative at an online or offline event.
5959
## Enforcement
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62-
reported (this can be done anonymously) to the Project Maintainers responsible for enforcement at http://eddiejaoude.io/contact.
62+
reported (this can be done anonymously) to the Project Maintainers responsible for enforcement at http://eddiejaoude.io.
6363
All complaints will be reviewed and investigated promptly and fairly.
6464

6565
All Project Maintainers are obligated to respect the privacy and security of the

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 - 2023 Eddie Jaoude
3+
Copyright (c) 2021 - 2024 Eddie Jaoude
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)