Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
971707b
Add husky and lint-staged (#1302)
howard-e Jan 9, 2025
70f7dbd
Testing ansible version bump to 2.16 to maintain compatibility with d…
howard-e Jan 13, 2025
a82578f
Update ansible 2.11 references to 2.16
howard-e Jan 13, 2025
e616da6
Fix auto husky formatted README
howard-e Jan 13, 2025
ebd58f0
Fix auto husky formatted README
howard-e Jan 13, 2025
bac8aac
Merge pull request #1303 from w3c/ansible-bump
jugglinmike Jan 14, 2025
0d09b37
fix: Prevent reassignment of bot run before status is completed, canc…
stalgiag Jan 14, 2025
2108025
Adds database management API calls and update crons (#1301)
howard-e Jan 22, 2025
7563f6d
fix: Include additional "Raise an Issue" links (#1281)
howard-e Jan 23, 2025
998bc96
docs: doc explaining process for adding automation support for a new …
stalgiag Jan 28, 2025
67b7148
Maintain `aria-bot` sudo permission to run the `import-tests` script …
howard-e Jan 28, 2025
7e22455
feat: Include Settings page for admin and UI to manually import lates…
howard-e Jan 28, 2025
80f0026
restrict AT release dates to after 1999
outofambit Jan 28, 2025
342c47a
update snapshots
outofambit Jan 29, 2025
6486bf9
re-update snapshot
outofambit Jan 30, 2025
27c131b
Re-re-update snapshots
stalgiag Jan 30, 2025
526aeb6
improve error message
outofambit Feb 3, 2025
c5e591b
Merge pull request #1308 from w3c/minimum-release-year-validation
outofambit Feb 3, 2025
e7bcb45
Only use push event for running tests (#1309)
outofambit Feb 3, 2025
46851ce
feat: Add report section summarizing failing assertions from all test…
stalgiag Feb 4, 2025
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
40 changes: 12 additions & 28 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"ignorePatterns": [
"client/dist/*",
"client/dist/bundle.js",
"client/tests/e2e/snapshots/saved"
],
"env": {
"browser": true,
"es6": true,
Expand All @@ -19,40 +24,19 @@
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
"react",
"json",
"prettier",
"jest"
],
"plugins": ["react", "json", "prettier", "jest"],
"rules": {
"linebreak-style": [
"error",
"unix"
],
"semi": [
"error",
"always"
],
"eol-last": [
"error",
"always"
],
"linebreak-style": ["error", "unix"],
"semi": ["error", "always"],
"eol-last": ["error", "always"],
"no-console": [
"error",
{
"allow": [
"warn",
"error"
]
"allow": ["warn", "error"]
}
],
"no-use-before-define": [
"off"
],
"react/display-name": [
"off"
]
"no-use-before-define": ["off"],
"react/display-name": ["off"]
},
"settings": {
"react": {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
python-version: '3.10'
- name: Install ansible and deploy to production
run: |
python -m pip install --user ansible-core==2.11.1
python -m pip install --user ansible-core==2.16.14
cd deploy
echo ${{ secrets.ANSIBLE_VAULT_PASSWORD }} > ansible-vault-password.txt
ansible-vault view --vault-password-file ansible-vault-password.txt files/jwt-signing-key.pem.enc > ../jwt-signing-key.pem
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
python-version: '3.10'
- name: Install ansible and deploy to staging
run: |
python -m pip install --user ansible-core==2.11.1
python -m pip install --user ansible-core==2.16.14
cd deploy
echo ${{ secrets.ANSIBLE_VAULT_PASSWORD }} > ansible-vault-password.txt
ansible-vault view --vault-password-file ansible-vault-password.txt files/jwt-signing-key.pem.enc > ../jwt-signing-key.pem
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/runtest.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Run the tests
on: [push, pull_request]
on: [push]

jobs:
runtest_task:
Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
client/dist/*
client/dist/bundle.js

# snaphosts
client/tests/e2e/snapshots/saved
2 changes: 0 additions & 2 deletions client/.eslintignore

This file was deleted.

4 changes: 2 additions & 2 deletions client/components/App/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const App = () => {
const [isNavbarExpanded, setIsNavbarExpanded] = useState(false);

const auth = evaluateAuth(data && data.me ? data.me : {});
const { username, isSignedIn, isAdmin, isVendor } = auth;
const { username, isSignedIn, isAdmin, isVendor, isTester } = auth;

const signOut = async () => {
await fetch('/api/auth/signout', { method: 'POST' });
Expand Down Expand Up @@ -104,7 +104,7 @@ const App = () => {
)}
{isSignedIn && (
<>
{!isVendor && (
{(isAdmin || isTester) && (
<li>
<Nav.Link
as={Link}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,8 @@
position: relative;
top: -5px;
}

.begin-review-button-container {
margin-left: auto;
flex-grow: 0;
}
Loading
Loading