Bumps [next](https://github.com/vercel/next.js) from 14.0.4 to 14.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vercel/next.js/releases">next's releases</a>.</em></p> <blockquote> <h2>v14.1.0</h2> <h3>Core Changes</h3> <ul> <li>Turbopack: switch to a single client components entrypoint: <a href="https://redirect.github.com/vercel/next.js/issues/59352">#59352</a></li> <li>Update <code>swc_core</code> to <code>v0.86.98</code> and turbopack: <a href="https://redirect.github.com/vercel/next.js/issues/59393">#59393</a></li> <li>Fix cases for the <code>optimize_server_react</code> transform: <a href="https://redirect.github.com/vercel/next.js/issues/59390">#59390</a></li> <li>Use new JSX transform: <a href="https://redirect.github.com/vercel/next.js/issues/56294">#56294</a></li> <li>loading.tsx should have no effect on partial rendering when PPR is enabled: <a href="https://redirect.github.com/vercel/next.js/issues/59196">#59196</a></li> <li>Update font data: <a href="https://redirect.github.com/vercel/next.js/issues/59426">#59426</a></li> <li>Remove CacheNode.status field: <a href="https://redirect.github.com/vercel/next.js/issues/59472">#59472</a></li> <li>Rename CacheNode.data → .lazyData : <a href="https://redirect.github.com/vercel/next.js/issues/59473">#59473</a></li> <li>Generate Params Cleanup: <a href="https://redirect.github.com/vercel/next.js/issues/59431">#59431</a></li> <li>Fix webpack chunks handling in traces: <a href="https://redirect.github.com/vercel/next.js/issues/59498">#59498</a></li> <li>Rename CacheNode.subTreeData -> .rsc : <a href="https://redirect.github.com/vercel/next.js/issues/59491">#59491</a></li> <li>fix NODE_OPTIONS=inspect: <a href="https://redirect.github.com/vercel/next.js/issues/59530">#59530</a></li> <li>Add CacheNode.prefetchRsc field: <a href="https://redirect.github.com/vercel/next.js/issues/59537">#59537</a></li> <li>allow passing wildcard domains in serverActions.allowedDomains: <a href="https://redirect.github.com/vercel/next.js/issues/59428">#59428</a></li> <li>Page Info Cleanup: <a href="https://redirect.github.com/vercel/next.js/issues/59430">#59430</a></li> <li>Fix force-static and fetch no-store cases: <a href="https://redirect.github.com/vercel/next.js/issues/59549">#59549</a></li> <li>Should not show no index for client rendering bailout: <a href="https://redirect.github.com/vercel/next.js/issues/59531">#59531</a></li> <li>Enable build worker by default: <a href="https://redirect.github.com/vercel/next.js/issues/59405">#59405</a></li> <li>Fork navigateReducer into PPR and non-PPR versions: <a href="https://redirect.github.com/vercel/next.js/issues/59538">#59538</a></li> <li>cleanup magic segment strings: <a href="https://redirect.github.com/vercel/next.js/issues/59552">#59552</a></li> <li>chore: update Turbopack: <a href="https://redirect.github.com/vercel/next.js/issues/59589">#59589</a></li> <li>Fix another magic segment string constant: <a href="https://redirect.github.com/vercel/next.js/issues/59591">#59591</a></li> <li>Make CacheNodeSeedData match FlightRouterState more closely: <a href="https://redirect.github.com/vercel/next.js/issues/59590">#59590</a></li> <li>transpilePackages should override default settings for external packages: <a href="https://redirect.github.com/vercel/next.js/issues/59385">#59385</a></li> <li>move segment constants to separate file: <a href="https://redirect.github.com/vercel/next.js/issues/59587">#59587</a></li> <li>Revert "Page Info Cleanup (<a href="https://redirect.github.com/vercel/next.js/issues/59430">#59430</a>)": <a href="https://redirect.github.com/vercel/next.js/issues/59592">#59592</a></li> <li>Fix useOptimistic in server components bug. Add tests for invalid React server APIs: <a href="https://redirect.github.com/vercel/next.js/issues/59621">#59621</a></li> <li>Partial Pre Rendering Headers: <a href="https://redirect.github.com/vercel/next.js/issues/59447">#59447</a></li> <li>Add tests for invalid React server APIs: <a href="https://redirect.github.com/vercel/next.js/issues/59622">#59622</a></li> <li>Refactor setup-dev-bundler to make Turbopack/Webpack split clearer: <a href="https://redirect.github.com/vercel/next.js/issues/59650">#59650</a></li> <li>refactor and simplify app dynamic components: <a href="https://redirect.github.com/vercel/next.js/issues/59658">#59658</a></li> <li>Change manifestPath to pagesManifestPath: <a href="https://redirect.github.com/vercel/next.js/issues/59657">#59657</a></li> <li>Fix issue with outputFileTracingExcludes and pages/api edge runtime: <a href="https://redirect.github.com/vercel/next.js/issues/59157">#59157</a></li> <li>Update font data: <a href="https://redirect.github.com/vercel/next.js/issues/59722">#59722</a></li> <li>Remove path normalization logic when uploading .next/trace traces: <a href="https://redirect.github.com/vercel/next.js/issues/59305">#59305</a></li> <li>LayoutRouter: Support segment value of Promise<!-- raw HTML omitted --> to asynchronously bail out and trigger a server patch: <a href="https://redirect.github.com/vercel/next.js/issues/59724">#59724</a></li> <li>fix: Allow start turbopack dev server for a project using middleware: <a href="https://redirect.github.com/vercel/next.js/issues/59759">#59759</a></li> <li>fix: gracefully shutdown server: <a href="https://redirect.github.com/vercel/next.js/issues/59551">#59551</a></li> <li>Revert "fix: gracefully shutdown server (<a href="https://redirect.github.com/vercel/next.js/issues/59551">#59551</a>)": <a href="https://redirect.github.com/vercel/next.js/issues/59792">#59792</a></li> <li>Optionally bundle legacy react-dom/server APIs based on usage: <a href="https://redirect.github.com/vercel/next.js/issues/59737">#59737</a></li> <li>fix <code>default</code> handling in route groups that handle interception: <a href="https://redirect.github.com/vercel/next.js/issues/59752">#59752</a></li> <li>Transpile all code on app browser layer: <a href="https://redirect.github.com/vercel/next.js/issues/59569">#59569</a></li> <li>Initial implementation of PPR client navigations: <a href="https://redirect.github.com/vercel/next.js/issues/59725">#59725</a></li> <li>fix(turbopack): prevent edge entrypoint from becoming an async module: <a href="https://redirect.github.com/vercel/next.js/issues/59818">#59818</a></li> <li>Ensure we validate revalidate configs properly: <a href="https://redirect.github.com/vercel/next.js/issues/59822">#59822</a></li> <li>Update error check in validateRevalidate: <a href="https://redirect.github.com/vercel/next.js/issues/59826">#59826</a></li> <li>Rename confusing loaders: <a href="https://redirect.github.com/vercel/next.js/issues/59827">#59827</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="16e7a5bd93"><code>16e7a5b</code></a> v14.1.0</li> <li><a href="8a3881fef0"><code>8a3881f</code></a> Update labeler.json (<a href="https://redirect.github.com/vercel/next.js/issues/60843">#60843</a>)</li> <li><a href="1b255a6c5b"><code>1b255a6</code></a> v14.0.5-canary.68</li> <li><a href="02c2f11ec9"><code>02c2f11</code></a> Enable missing suspense bailout by default (<a href="https://redirect.github.com/vercel/next.js/issues/60840">#60840</a>)</li> <li><a href="2096dfa687"><code>2096dfa</code></a> v14.0.5-canary.67</li> <li><a href="b8d8e6e7cc"><code>b8d8e6e</code></a> dx: warn the deprecated cache configs are used (<a href="https://redirect.github.com/vercel/next.js/issues/60836">#60836</a>)</li> <li><a href="c192f4ec2f"><code>c192f4e</code></a> turbopack: rename custom cache handler configs (<a href="https://redirect.github.com/vercel/next.js/issues/60828">#60828</a>)</li> <li><a href="2227ae5f34"><code>2227ae5</code></a> Revert "Fix: Throw an error for empty array return in <code>generateStaticParams</code> ...</li> <li><a href="b7f5107544"><code>b7f5107</code></a> Fix: respect init.cache if fetch input is request instance (<a href="https://redirect.github.com/vercel/next.js/issues/60821">#60821</a>)</li> <li><a href="752c15e798"><code>752c15e</code></a> Add metrics names for unstable_cache (<a href="https://redirect.github.com/vercel/next.js/issues/60802">#60802</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vercel/next.js/compare/v14.0.4...v14.1.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bracket
Tournament system meant to be easy to use. Bracket is written in async Python (with FastAPI) and Next.js as frontend using the Mantine library.
It has the following features:
- Supports single elimination, round-robin and swiss formats.
- Build your tournament structure with multiple stages that can have multiple groups/brackets in them.
- Drag-and-drop matches to different courts or reschedule them to another start time.
- Various dashboard pages are available that can be presented to the public, customized with a logo.
- Create/update teams, and add players to teams.
- Create multiple clubs, with multiple tournaments per club.
- Swiss tournaments can be handled dynamically, with automatic scheduling of matches.
Preview
Quickstart
To quickly run bracket to see how it works, clone it and run docker-compose up:
git clone git@github.com:evroon/bracket.git
cd bracket
sudo docker-compose up -d
This will start the backend and frontend of Bracket, as well as a postgres instance. You should now
be able to view bracket at http://localhost:3000. You can log in with username test@example.org
and password aeGhoe1ahng2Aezai0Dei6Aih6dieHoo.
To insert dummy rows into the database, run:
sudo docker exec bracket-backend pipenv run ./cli.py create-dev-db
Setup
Database
First create a bracket cluster:
sudo pg_createcluster -u postgres -p 5532 16 bracket
pg_ctlcluster 16 bracket start
Subsequently, create a new bracket_dev database:
sudo -Hu postgres psql -p 5532
CREATE USER bracket_dev WITH PASSWORD 'bracket_dev';
CREATE DATABASE bracket_dev OWNER bracket_dev;
You can do the same but replace the user and database name with:
bracket_ci: for running testsbracket_prod: for a production database
The database URL can be specified per environment in the .env files (see config).
Read the full documentation about setting up Bracket in the docs.
Config
Copy ci.env to prod.env and fill in the values:
PG_DSN: The URL of the PostgreSQL databaseJWT_SECRET: Create a random secret usingopenssl rand -hex 32CORS_ORIGINSandCORS_ORIGIN_REGEX: Specify allowed frontend domain names for CORS (see the FastAPI docs)ADMIN_EMAILandADMIN_PASSWORD: The credentials of the admin user, which is created when initializing the database
Read more about configuration in the docs.
Running the frontend and backend for development
The following starts the frontend and backend for local development:
Frontend
cd frontend
yarn run dev
Backend
cd backend
pipenv install -d
pipenv shell
./run.sh
More screenshots
License
Bracket is licensed under AGPL-v3.0 See LICENSE



