From b4dd48ec858447bef6655a9ef41d2b48fb8d3d40 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 12 Mar 2024 11:34:38 +0100 Subject: [PATCH] Moved GitHub to Gitea --- README.md | 25 ++------------ README.src.md | 59 --------------------------------- arn/autodocs/Type.go | 2 +- assets/organization.json | 2 +- bots/discord/commands/Source.go | 2 +- docs/about.md | 2 +- docs/contributing.md | 2 +- docs/new-contributor-task.md | 2 +- elements/SocialMedia.pixy | 6 ++-- pages/settings/extras.pixy | 6 ++-- pages/users/users.pixy | 2 +- 11 files changed, 16 insertions(+), 94 deletions(-) delete mode 100644 README.src.md diff --git a/README.md b/README.md index d2407d27..7746d53e 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,6 @@ # notify.moe -[![Godoc][godoc-image]][godoc-url] -[![Report][report-image]][report-url] -[![Tests][tests-image]][tests-url] -[![Coverage][coverage-image]][coverage-url] -[![Sponsor][sponsor-image]][sponsor-url] +Anime tracker, database and community. ## Prerequisites @@ -15,7 +11,7 @@ ## Installation ```shell -git clone https://github.com/animenotifier/notify.moe.git +git clone https://git.akyoto.dev/web/notify.moe.git cd notify.moe go mod download make tools @@ -42,13 +38,6 @@ make db * Make some changes and upload them to a new branch on your fork. * Create a pull request on this repository. -## Find us - -* [Discord](https://discord.gg/0kimAmMCeXGXuzNF) -* [Facebook](https://www.facebook.com/animenotifier) -* [Twitter](https://twitter.com/animenotifier) -* [GitHub](https://github.com/animenotifier/notify.moe) - ## Contributing Please read [CONTRIBUTING.md](docs/contributing.md) for details on how to contribute to this project. @@ -64,14 +53,6 @@ Please read [CONTRIBUTING.md](docs/contributing.md) for details on how to contri Please take a look at the [style guidelines](https://github.com/akyoto/quality/blob/master/STYLE.md) if you'd like to make a pull request. -## Sponsors - -| [![Cedric Fung](https://avatars3.githubusercontent.com/u/2269238?s=70&v=4)](https://github.com/cedricfung) | [![Scott Rayapoullé](https://avatars3.githubusercontent.com/u/11772084?s=70&v=4)](https://github.com/soulcramer) | [![Eduard Urbach](https://avatars3.githubusercontent.com/u/438936?s=70&v=4)](https://eduardurbach.com) | -| --- | --- | --- | -| [Cedric Fung](https://github.com/cedricfung) | [Scott Rayapoullé](https://github.com/soulcramer) | [Eduard Urbach](https://eduardurbach.com) | - -Want to see [your own name here?](https://github.com/users/akyoto/sponsorship) - [godoc-image]: https://godoc.org/github.com/animenotifier/notify.moe?status.svg [godoc-url]: https://godoc.org/github.com/animenotifier/notify.moe [report-image]: https://goreportcard.com/badge/github.com/animenotifier/notify.moe @@ -81,4 +62,4 @@ Want to see [your own name here?](https://github.com/users/akyoto/sponsorship) [coverage-image]: https://codecov.io/gh/animenotifier/notify.moe/graph/badge.svg [coverage-url]: https://codecov.io/gh/animenotifier/notify.moe [sponsor-image]: https://img.shields.io/badge/github-donate-green.svg -[sponsor-url]: https://github.com/users/akyoto/sponsorship +[sponsor-url]: https://ko-fi.com/akyoto diff --git a/README.src.md b/README.src.md deleted file mode 100644 index 56bfe447..00000000 --- a/README.src.md +++ /dev/null @@ -1,59 +0,0 @@ -# {name} - -{go:header} - -## Prerequisites - -* Install [Linux](https://en.wikipedia.org/wiki/Linux), [MacOS](https://en.wikipedia.org/wiki/MacOS) or [WSL](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux) -* Install [Go](https://golang.org/) -* Install [TypeScript](https://www.typescriptlang.org/) - -## Installation - -```shell -git clone https://github.com/animenotifier/notify.moe.git -cd notify.moe -go mod download -make tools -make assets -make server -make db -./notify.moe -``` - -## Networking - -* Add `beta.notify.moe 127.0.0.1` to your `hosts` file -* Run `make ports` - -## In your browser - -* Open the settings, search for certificates -* Import the file `security/default/root.crt` as a trusted Root authority -* Open `https://beta.notify.moe` - -## What now? - -* Try the [example task for newcomers](docs/new-contributor-task.md). -* Make some changes and upload them to a new branch on your fork. -* Create a pull request on this repository. - -## Find us - -* [Discord](https://discord.gg/0kimAmMCeXGXuzNF) -* [Facebook](https://www.facebook.com/animenotifier) -* [Twitter](https://twitter.com/animenotifier) -* [GitHub](https://github.com/animenotifier/notify.moe) - -## Contributing - -Please read [CONTRIBUTING.md](docs/contributing.md) for details on how to contribute to this project. - -## Statistics - -![Uptime (30 days)](https://img.shields.io/uptimerobot/ratio/m777678498-177cb6b2990056768877bc2a.svg) -![Mozilla Observatory](https://img.shields.io/mozilla-observatory/grade/notify.moe.svg?publish) -![Chrome Extension](https://img.shields.io/chrome-web-store/users/hajchfikckiofgilinkpifobdbiajfch.svg?label=chrome%20users) -![Firefox Extension](https://img.shields.io/amo/users/anime-notifier.svg?label=firefox%20users) - -{go:footer} diff --git a/arn/autodocs/Type.go b/arn/autodocs/Type.go index 5c3ba29c..d4bea7de 100644 --- a/arn/autodocs/Type.go +++ b/arn/autodocs/Type.go @@ -21,7 +21,7 @@ func (typ *Type) Endpoint() string { // GitHubLink returns link to display the type in GitHub. func (typ *Type) GitHubLink() string { - return fmt.Sprintf("https://github.com/animenotifier/notify.moe/blob/go/arn/%s.go#L%d", typ.Name, typ.LineNumber) + return fmt.Sprintf("https://git.akyoto.dev/web/notify.moe/blob/go/arn/%s.go#L%d", typ.Name, typ.LineNumber) } // GetTypeDocumentation tries to gather documentation about the given type. diff --git a/assets/organization.json b/assets/organization.json index b74642bc..e0435b70 100644 --- a/assets/organization.json +++ b/assets/organization.json @@ -10,7 +10,7 @@ "https://www.facebook.com/animenotifier", "https://twitter.com/animenotifier", "https://discord.gg/0kimAmMCeXGXuzNF", - "https://github.com/animenotifier/notify.moe" + "https://git.akyoto.dev/web/notify.moe" ], "founder":{ "@type":"Person", diff --git a/bots/discord/commands/Source.go b/bots/discord/commands/Source.go index 33e73573..2b9ffd54 100644 --- a/bots/discord/commands/Source.go +++ b/bots/discord/commands/Source.go @@ -11,7 +11,7 @@ func Source(s *discordgo.Session, msg *discordgo.MessageCreate) bool { return false } - _, err := s.ChannelMessageSend(msg.ChannelID, msg.Author.Mention()+" B-baaaaaaaka! Y..you...you want to...TOUCH MY CODE?!\n\nhttps://github.com/animenotifier/notify.moe/tree/go/bots/discord") + _, err := s.ChannelMessageSend(msg.ChannelID, msg.Author.Mention()+" B-baaaaaaaka! Y..you...you want to...TOUCH MY CODE?!\n\nhttps://git.akyoto.dev/web/notify.moe/tree/go/bots/discord") if err != nil { color.Red(err.Error()) diff --git a/docs/about.md b/docs/about.md index 94a9832f..5f977ae4 100644 --- a/docs/about.md +++ b/docs/about.md @@ -39,7 +39,7 @@ In the past it was, but not anymore. We're growing bigger by establishing a data * [Facebook](https://www.facebook.com/animenotifier) * [Twitter](https://twitter.com/animenotifier) * [Google+](https://plus.google.com/+AnimeReleaseNotifierOfficial) -* [GitHub](https://github.com/animenotifier/notify.moe) +* [Git](https://git.akyoto.dev/web/notify.moe) * [Discord](https://discord.gg/0kimAmMCeXGXuzNF) ## Where can I read the Terms of Service? diff --git a/docs/contributing.md b/docs/contributing.md index 7db56b59..101c204a 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -6,7 +6,7 @@ You do not need to be a developer to contribute. There are multiple ways to help - [Database Editing](https://notify.moe/users/editors) - [Donations](https://github.com/users/akyoto/sponsorship) -- [Pull Requests](https://github.com/animenotifier/notify.moe/pulls) +- [Pull Requests](https://git.akyoto.dev/web/notify.moe/pulls) ## How do I make a proper pull request? diff --git a/docs/new-contributor-task.md b/docs/new-contributor-task.md index b10cfbae..bd6209d4 100644 --- a/docs/new-contributor-task.md +++ b/docs/new-contributor-task.md @@ -1,6 +1,6 @@ # Task for new contributors -This task assumes that you have [installed](https://github.com/animenotifier/notify.moe#installation) notify.moe already, started the server with the `run` tool and have the code open in Visual Studio Code. It will teach you the basics by creating an entirely empty page within notify.moe. +This task assumes that you have [installed](https://git.akyoto.dev/web/notify.moe#installation) notify.moe already, started the server with the `run` tool and have the code open in Visual Studio Code. It will teach you the basics by creating an entirely empty page within notify.moe. # Step 1: Create a new page diff --git a/elements/SocialMedia.pixy b/elements/SocialMedia.pixy index a7558fd8..8357dadc 100644 --- a/elements/SocialMedia.pixy +++ b/elements/SocialMedia.pixy @@ -15,9 +15,9 @@ component SocialMediaLinks Icon("patreon") span Patreon - a.footer-element(href="https://github.com/animenotifier/notify.moe", target="_blank", rel="noopener") + a.footer-element(href="https://git.akyoto.dev/web/notify.moe", target="_blank", rel="noopener") Icon("github") - span GitHub + span Git component SocialMediaButtons a.social-media-button.circle-1(href="https://discord.gg/0kimAmMCeXGXuzNF", title="Discord", target="_blank", rel="noopener") @@ -32,5 +32,5 @@ component SocialMediaButtons a.social-media-button.circle-4(href="https://patreon.com/eduardurbach", title="Patreon", target="_blank", rel="noopener") RawIcon("patreon") - a.social-media-button.circle-5(href="https://github.com/animenotifier/notify.moe", title="GitHub", target="_blank", rel="noopener") + a.social-media-button.circle-5(href="https://git.akyoto.dev/web/notify.moe", title="GitHub", target="_blank", rel="noopener") RawIcon("github") \ No newline at end of file diff --git a/pages/settings/extras.pixy b/pages/settings/extras.pixy index 7a6d9a06..e731a6d4 100644 --- a/pages/settings/extras.pixy +++ b/pages/settings/extras.pixy @@ -47,10 +47,10 @@ component SettingsExtras(user *arn.User) span API .widget-section - label GitHub: - a.button(href="https://github.com/animenotifier/notify.moe") + label Git: + a.button(href="https://git.akyoto.dev/web/notify.moe") Icon("github") - span GitHub + span Git //- PRO .widget.mountable(data-api="/api/settings/" + user.ID) diff --git a/pages/users/users.pixy b/pages/users/users.pixy index a81fdfba..786d0074 100644 --- a/pages/users/users.pixy +++ b/pages/users/users.pixy @@ -41,7 +41,7 @@ component UserLists(groups []*utils.UserList, url string) component StaffRecruitment footer.footer.mountable p - a(href="https://github.com/animenotifier/notify.moe#installation", target="_blank", rel="noopener") Interested in contributing code? + a(href="https://git.akyoto.dev/web/notify.moe#installation", target="_blank", rel="noopener") Interested in contributing code? br a(href="https://discord.gg/0kimAmMCeXGXuzNF", target="_blank", rel="noopener") Interested in editing data?