* refactor: move .env to .env.example * refactor(labrinth): allow setting SMTP port and TLS This will help setting up labrinth for local development. You can now use a mock SMTP server such as smtp4dev. The TLS options will stay the same as before if set to `true`, and disabled when `false`. Depends on #2883 * chore(labrinth): lint * chore(labrinth): conflicts * chore(labrinth): conflicts * fix: use TLS port by default Co-authored-by: AlexTMjugador<me@alegon.dev> Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com> Signed-off-by: Erb3 <49862976+Erb3@users.noreply.github.com> * fix(labrinth): correct deafult SMTP port in .env * feat(labrinth): expose all SMTP TLS settings Replaced if/else with a switch statement. The new values for `SMPT_TLS` are `none`, `opportunistic_start_tls`, `requires_start_tls`, `tls`. When none of these values are supplied, it defaults to full TLS (`tls`), and throws a warning. Resolves PR review * fix(labrinth): correct SMTP TLS example .env setting Signed-off-by: Erb3 <49862976+Erb3@users.noreply.github.com> * fix(labrinth) SMTP tls env var check Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com> Signed-off-by: Erb3 <49862976+Erb3@users.noreply.github.com> --------- Signed-off-by: Erb3 <49862976+Erb3@users.noreply.github.com> Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
Modrinth Monorepo
Welcome to the Modrinth Monorepo, the primary codebase for the Modrinth web interface and app. It contains lines of code and has
contributors!
If you're not a developer and you've stumbled upon this repository, you can access the web interface on the Modrinth website and download the latest release of the app here.
Development
This repository contains two primary packages. For detailed development information, please refer to their respective READMEs:
Contributing
We welcome contributions! Before submitting any contributions, please read our contributing guidelines.
If you plan to fork this repository for your own purposes, please review our copying guidelines.
Security
If you discover a security vulnerability within our codebase, please follow our responsible disclosure guidelines.
Support
If you need help with the Modrinth web interface or app, please visit our support page. For general inquiries, you can also join our Discord server.
License
All packages in this repository are licensed under their respective licenses. Refer to the LICENSE file in each package for more information.
