Skip to content

Commit

Permalink
refactor: rename project from "Casdoor App" to "Casdoor Authenticator" (
Browse files Browse the repository at this point in the history
  • Loading branch information
IZUMI-Zu authored Feb 5, 2025
1 parent b4d77e1 commit 518ef51
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 25 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docs.links.check.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
{
"pattern": "^https://developer.android.com/guide/topics/manifest/manifest-element#package"
},
{
"pattern": "^https://developer.android.com/studio"
},
{
"pattern": "^https://developer.twitter.com/en/portal/dashboard"
},
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
yarn build
- name: Deploy 🚀
if: github.repository_owner == 'casdoor'
uses: JamesIves/github-pages-deploy-action@v4
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions blog/2024-10-18.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
slug: welcome
title: Welcome
author: IZUMI-Zu
authorTitle: Casdoor App Contributor
authorTitle: Casdoor Authenticator Contributor
authorURL: https://github.com/IZUMI-Zu
authorImageURL: https://avatars.githubusercontent.com/u/23271676?s=100
tags: [Casdoor, Authenticator, Totp]
Expand Down Expand Up @@ -44,7 +44,7 @@ For detailed instructions on setup, usage, and migration from other authenticato

We welcome contributions and feedback from our users. Join our community to stay updated on the latest developments, share your experiences, and contribute to making Casdoor Authenticator even better!

* [GitHub Repository](https://github.com/casdoor/casdoor-app)
* [GitHub Repository](https://github.com/casdoor/casdoor-authenticator)
* [Discord Channel](https://discord.gg/5rPsrAzK7S)
* [QQ Group](https://cdn.casdoor.com/casdoor/resource/built-in/admin/qq_casdoor.png)

Expand Down
4 changes: 2 additions & 2 deletions docs/basic/getting-started.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Getting Started
description: Casdoor App Getting Started
description: Casdoor Authenticator Getting Started
keywords: [casdoor, authenticator]
authors: [IZUMI-Zu]
---
Expand All @@ -23,7 +23,7 @@ Before you begin, ensure you have the following prerequisites:
- You can build the app from source code. See [here](../build/configuration.md) for more details.

2. For Android users:
- You can download the app from the [GitHub Releases page](https://github.com/casdoor/casdoor-app/releases).
- You can download the app from the [GitHub Releases page](https://github.com/casdoor/casdoor-authenticator/releases).
- Install the APK file on your device.

## Initial Setup
Expand Down
2 changes: 1 addition & 1 deletion docs/basic/usage.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Basic Usage
description: Casdoor App Basic Usage
description: Casdoor Authenticator Basic Usage
keywords: [casdoor, authenticator]
authors: [IZUMI-Zu]
---
Expand Down
6 changes: 3 additions & 3 deletions docs/build/configuration.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Build Configuration
description: Casdoor App Build Configuration
description: Casdoor Authenticator Build Configuration
keywords: [casdoor, authenticator, configuration, build, android, ios]
authors: [IZUMI-Zu]
---
Expand All @@ -24,8 +24,8 @@ Before you begin, ensure you have the following installed:
1. Clone the Casdoor Authenticator App repository:

```bash
git clone https://github.com/casdoor/casdoor-app.git
cd casdoor-app
git clone https://github.com/casdoor/casdoor-authenticator.git
cd casdoor-authenticator
```

2. Install dependencies:
Expand Down
2 changes: 1 addition & 1 deletion docs/build/process.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Build Process
description: Casdoor App Build Process
description: Casdoor Authenticator Build Process
keywords: [casdoor, authenticator, build, process]
authors: [IZUMI-Zu]
---
Expand Down
2 changes: 1 addition & 1 deletion docs/overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Overview
description: Casdoor App Overview
description: Casdoor Authenticator Overview
keywords: [casdoor, authenticator]
authors: [IZUMI-Zu]
---
Expand Down
20 changes: 10 additions & 10 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ const darkCodeTheme = require("prism-react-renderer/themes/dracula");

/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: "Casdoor App",
title: "Casdoor Authenticator",
tagline: "A mobile app for iOS and Android providing multi-factor authentication with TOTP, built using React Native.",
favicon: "img/favicon.png",

url: "https://casdoorapp.github.io",
baseUrl: "/",

organizationName: "casdoor",
projectName: "casdoorapp-website",
projectName: "casdoor-authenticator-website",

onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
Expand Down Expand Up @@ -55,7 +55,7 @@ module.exports = {
({
image: "img/casdoor.png",
navbar: {
title: "Casdoor App",
title: "Casdoor Authenticator",
logo: {
alt: "Casdoor Logo",
src: "img/casdoor.png",
Expand All @@ -70,7 +70,7 @@ module.exports = {
{to: "/blog", label: "Blog", position: "left"},
{to: "/help", label: "Help", position: "left"},
{
href: "https://github.com/casdoor/casdoor-app/releases",
href: "https://github.com/casdoor/casdoor-authenticator/releases",
label: "Download",
position: "left",
},
Expand All @@ -83,13 +83,13 @@ module.exports = {
value: "<hr style=\"margin: 0.3rem 0;\">",
},
{
to: "https://crowdin.com/project/casdoorapp-website",
to: "https://crowdin.com/project/casdoor-authenticator-website",
label: "Help translate",
},
],
},
{
href: "https://github.com/casdoor/casdoor-app",
href: "https://github.com/casdoor/casdoor-authenticator",
position: "right",
className: "header-github-link",
"aria-label": "GitHub repository",
Expand Down Expand Up @@ -129,8 +129,8 @@ module.exports = {
to: "https://casdoor.org",
},
{
label: "Casdoor App",
to: "https://github.com/casdoor/casdoor-app",
label: "Casdoor Authenticator",
to: "https://github.com/casdoor/casdoor-authenticator",
},
],
},
Expand Down Expand Up @@ -160,11 +160,11 @@ module.exports = {
},
{
label: "GitHub",
href: "https://github.com/casdoor/casdoor-app",
href: "https://github.com/casdoor/casdoor-authenticator",
},
{
html: `
<iframe src="https://ghbtns.com/github-btn.html?user=casdoor&repo=casdoor-app&type=star&count=true&size=large" frameborder="0" scrolling="0" width="170" height="30" title="GitHub">Casdoor App</iframe>
<iframe src="https://ghbtns.com/github-btn.html?user=casdoor&repo=casdoor-authenticator&type=star&count=true&size=large" frameborder="0" scrolling="0" width="170" height="30" title="GitHub">Casdoor Authenticator</iframe>
`,
},
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"serve": "docusaurus serve",
"lint:js": "eslint --fix . --ext .js",
"lint:css": "stylelint \"src/**/*.{css,scss}\" --fix",
"lint:md": "markdownlint 'docs/**/*.{md,mdx}' --fix",
"lint:md": "markdownlint \"docs/**/*.{md,mdx}\" --fix",
"lint": "yarn lint:js && yarn lint:css && yarn lint:md",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
Expand Down
4 changes: 2 additions & 2 deletions src/components/DownloadSection/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ export default function DownloadSection() {
<div className={styles.downloadButtons}>
<Link
className={`${styles.primaryButton} button--lg button`}
to="https://github.com/casdoor/casdoor-app/releases/latest">
to="https://github.com/casdoor/casdoor-authenticator/releases/latest">
<Translate>Download for Android</Translate>
</Link>
<Link
className={`${styles.secondaryButton} button--lg button`}
to="https://github.com/casdoor/casdoor-app">
to="https://github.com/casdoor/casdoor-authenticator">
<Translate>View on GitHub</Translate>
</Link>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function Help() {
</div>
<div className="col">
<h2>Github</h2>
<Translate>At our</Translate> <a href="https://github.com/casdoor/casdoor-app"><Translate>GitHub repo</Translate></a><Translate>, browse and submit</Translate> <a href="https://github.com/casdoor/casdoor-app/issues">issues</a> or <a href="https://github.com/casdoor/casdoor-app/pulls">pull requests</a> <Translate>for bugs you find or any new features you may want implemented.</Translate>
<Translate>At our</Translate> <a href="https://github.com/casdoor/casdoor-authenticator"><Translate>GitHub repo</Translate></a><Translate>, browse and submit</Translate> <a href="https://github.com/casdoor/casdoor-authenticator/issues">issues</a> or <a href="https://github.com/casdoor/casdoor-authenticator/pulls">pull requests</a> <Translate>for bugs you find or any new features you may want implemented.</Translate>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function HomepageHeader() {
</Link>
<Link
className="button button--primary button--lg download-button"
to="https://github.com/casdoor/casdoor-app/releases">
to="https://github.com/casdoor/casdoor-authenticator/releases">
<Translate>Download</Translate>
</Link>
</div>
Expand Down

0 comments on commit 518ef51

Please sign in to comment.