mirror of https://github.com/LemmyNet/lemmy
Merge branch 'main' into mark_accounts_as_bot
commit
4e98cea679
@ -1 +1 @@
|
||||
0.9.9
|
||||
0.10.2
|
||||
|
@ -1,3 +1,91 @@
|
||||
{
|
||||
hostname: "localhost:8536"
|
||||
# # optional: parameters for automatic configuration of new instance (only used at first start)
|
||||
# setup: {
|
||||
# # username for the admin user
|
||||
# admin_username: ""
|
||||
# # password for the admin user
|
||||
# admin_password: ""
|
||||
# # optional: email for the admin user (can be omitted and set later through the website)
|
||||
# admin_email: ""
|
||||
# # name of the site (can be changed later)
|
||||
# site_name: ""
|
||||
# }
|
||||
# settings related to the postgresql database
|
||||
database: {
|
||||
# username to connect to postgres
|
||||
user: "lemmy"
|
||||
# password to connect to postgres
|
||||
password: "password"
|
||||
# host where postgres is running
|
||||
host: "localhost"
|
||||
# port where postgres can be accessed
|
||||
port: 5432
|
||||
# name of the postgres database for lemmy
|
||||
database: "lemmy"
|
||||
# maximum number of active sql connections
|
||||
pool_size: 5
|
||||
}
|
||||
# the domain name of your instance (eg "lemmy.ml")
|
||||
hostname: lemmy-alpha
|
||||
# address where lemmy should listen for incoming requests
|
||||
bind: "0.0.0.0"
|
||||
# port where lemmy should listen for incoming requests
|
||||
port: 8536
|
||||
# whether tls is required for activitypub. only disable this for debugging, never for producion.
|
||||
tls_enabled: true
|
||||
# json web token for authorization between server and client
|
||||
jwt_secret: "changeme"
|
||||
# address where pictrs is available
|
||||
pictrs_url: "http://pictrs:8080"
|
||||
# address where iframely is available
|
||||
iframely_url: "http://iframely"
|
||||
# rate limits for various user actions, by user ip
|
||||
rate_limit: {
|
||||
# maximum number of messages created in interval
|
||||
message: 180
|
||||
# interval length for message limit
|
||||
message_per_second: 60
|
||||
# maximum number of posts created in interval
|
||||
post: 6
|
||||
# interval length for post limit
|
||||
post_per_second: 600
|
||||
# maximum number of registrations in interval
|
||||
register: 3
|
||||
# interval length for registration limit
|
||||
register_per_second: 3600
|
||||
# maximum number of image uploads in interval
|
||||
image: 6
|
||||
# interval length for image uploads
|
||||
image_per_second: 3600
|
||||
}
|
||||
# settings related to activitypub federation
|
||||
federation: {
|
||||
# whether to enable activitypub federation.
|
||||
enabled: false
|
||||
# Allows and blocks are described here:
|
||||
# https://join.lemmy.ml/docs/en/federation/administration.html#instance-allowlist-and-blocklist
|
||||
#
|
||||
# comma separated list of instances with which federation is allowed
|
||||
# Only one of these blocks should be uncommented
|
||||
# allowed_instances: ["instance1.tld","instance2.tld"]
|
||||
# comma separated list of instances which are blocked from federating
|
||||
# blocked_instances: []
|
||||
}
|
||||
captcha: {
|
||||
enabled: true
|
||||
difficulty: medium # Can be easy, medium, or hard
|
||||
}
|
||||
# # email sending configuration
|
||||
# email: {
|
||||
# # hostname and port of the smtp server
|
||||
# smtp_server: ""
|
||||
# # login name for smtp server
|
||||
# smtp_login: ""
|
||||
# # password to login to the smtp server
|
||||
# smtp_password: ""
|
||||
# # address to send emails from, eg "noreply@your-instance.com"
|
||||
# smtp_from_address: ""
|
||||
# # whether or not smtp connections should use tls
|
||||
# use_tls: true
|
||||
# }
|
||||
}
|
||||
|
@ -1,91 +0,0 @@
|
||||
{
|
||||
# # optional: parameters for automatic configuration of new instance (only used at first start)
|
||||
# setup: {
|
||||
# # username for the admin user
|
||||
# admin_username: ""
|
||||
# # password for the admin user
|
||||
# admin_password: ""
|
||||
# # optional: email for the admin user (can be omitted and set later through the website)
|
||||
# admin_email: ""
|
||||
# # name of the site (can be changed later)
|
||||
# site_name: ""
|
||||
# }
|
||||
# settings related to the postgresql database
|
||||
database: {
|
||||
# username to connect to postgres
|
||||
user: "lemmy"
|
||||
# password to connect to postgres
|
||||
password: "password"
|
||||
# host where postgres is running
|
||||
host: "localhost"
|
||||
# port where postgres can be accessed
|
||||
port: 5432
|
||||
# name of the postgres database for lemmy
|
||||
database: "lemmy"
|
||||
# maximum number of active sql connections
|
||||
pool_size: 5
|
||||
}
|
||||
# the domain name of your instance (eg "lemmy.ml")
|
||||
hostname: null
|
||||
# address where lemmy should listen for incoming requests
|
||||
bind: "0.0.0.0"
|
||||
# port where lemmy should listen for incoming requests
|
||||
port: 8536
|
||||
# whether tls is required for activitypub. only disable this for debugging, never for producion.
|
||||
tls_enabled: true
|
||||
# json web token for authorization between server and client
|
||||
jwt_secret: "changeme"
|
||||
# address where pictrs is available
|
||||
pictrs_url: "http://pictrs:8080"
|
||||
# address where iframely is available
|
||||
iframely_url: "http://iframely"
|
||||
# rate limits for various user actions, by user ip
|
||||
rate_limit: {
|
||||
# maximum number of messages created in interval
|
||||
message: 180
|
||||
# interval length for message limit
|
||||
message_per_second: 60
|
||||
# maximum number of posts created in interval
|
||||
post: 6
|
||||
# interval length for post limit
|
||||
post_per_second: 600
|
||||
# maximum number of registrations in interval
|
||||
register: 3
|
||||
# interval length for registration limit
|
||||
register_per_second: 3600
|
||||
# maximum number of image uploads in interval
|
||||
image: 6
|
||||
# interval length for image uploads
|
||||
image_per_second: 3600
|
||||
}
|
||||
# settings related to activitypub federation
|
||||
federation: {
|
||||
# whether to enable activitypub federation.
|
||||
enabled: false
|
||||
# Allows and blocks are described here:
|
||||
# https://join.lemmy.ml/docs/en/federation/administration.html#instance-allowlist-and-blocklist
|
||||
#
|
||||
# comma separated list of instances with which federation is allowed
|
||||
# Only one of these blocks should be uncommented
|
||||
# allowed_instances: ["instance1.tld","instance2.tld"]
|
||||
# comma separated list of instances which are blocked from federating
|
||||
# blocked_instances: []
|
||||
}
|
||||
captcha: {
|
||||
enabled: true
|
||||
difficulty: medium # Can be easy, medium, or hard
|
||||
}
|
||||
# # email sending configuration
|
||||
# email: {
|
||||
# # hostname and port of the smtp server
|
||||
# smtp_server: ""
|
||||
# # login name for smtp server
|
||||
# smtp_login: ""
|
||||
# # password to login to the smtp server
|
||||
# smtp_password: ""
|
||||
# # address to send emails from, eg "noreply@your-instance.com"
|
||||
# smtp_from_address: ""
|
||||
# # whether or not smtp connections should use tls
|
||||
# use_tls: true
|
||||
# }
|
||||
}
|
@ -1 +1 @@
|
||||
pub const VERSION: &str = "0.10.0-rc.13";
|
||||
pub const VERSION: &str = "0.10.2";
|
||||
|
@ -0,0 +1 @@
|
||||
alter table local_user drop column show_scores;
|
@ -0,0 +1 @@
|
||||
alter table local_user add column show_scores boolean default true not null;
|
@ -0,0 +1,6 @@
|
||||
alter table person rename display_name to preferred_username;
|
||||
|
||||
-- Regenerate the person_alias views
|
||||
drop view person_alias_1, person_alias_2;
|
||||
create view person_alias_1 as select * from person;
|
||||
create view person_alias_2 as select * from person;
|
@ -0,0 +1,6 @@
|
||||
alter table person rename preferred_username to display_name;
|
||||
|
||||
-- Regenerate the person_alias views
|
||||
drop view person_alias_1, person_alias_2;
|
||||
create view person_alias_1 as select * from person;
|
||||
create view person_alias_2 as select * from person;
|
@ -0,0 +1 @@
|
||||
drop index idx_community_aggregates_users_active_month;
|
@ -0,0 +1,2 @@
|
||||
create index idx_community_aggregates_users_active_month on community_aggregates (users_active_month desc);
|
||||
|
@ -0,0 +1,168 @@
|
||||
<div align="center">
|
||||
|
||||
![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/LemmyNet/lemmy.svg)
|
||||
[![Build Status](https://cloud.drone.io/api/badges/LemmyNet/lemmy/status.svg)](https://cloud.drone.io/LemmyNet/lemmy/)
|
||||
[![GitHub issues](https://img.shields.io/github/issues-raw/LemmyNet/lemmy.svg)](https://github.com/LemmyNet/lemmy/issues)
|
||||
[![Docker Pulls](https://img.shields.io/docker/pulls/dessalines/lemmy.svg)](https://cloud.docker.com/repository/docker/dessalines/lemmy/)
|
||||
[![Translation status](http://weblate.yerbamate.ml/widgets/lemmy/-/lemmy/svg-badge.svg)](http://weblate.yerbamate.ml/engage/lemmy/)
|
||||
[![License](https://img.shields.io/github/license/LemmyNet/lemmy.svg)](LICENSE)
|
||||
![GitHub stars](https://img.shields.io/github/stars/LemmyNet/lemmy?style=social)
|
||||
[![Awesome Humane Tech](https://raw.githubusercontent.com/humanetech-community/awesome-humane-tech/main/humane-tech-badge.svg?sanitize=true)](https://github.com/humanetech-community/awesome-humane-tech)
|
||||
</div>
|
||||
|
||||
<p align="center">
|
||||
<a href="../README.md">English</a> |
|
||||
<span>Español</span>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://join.lemmy.ml/" rel="noopener">
|
||||
<img width=200px height=200px src="https://raw.githubusercontent.com/LemmyNet/lemmy-ui/main/src/assets/icons/favicon.svg"></a>
|
||||
|
||||
<h3 align="center"><a href="https://join.lemmy.ml">Lemmy</a></h3>
|
||||
<p align="center">
|
||||
Un agregador de enlaces / alternativa a Menéame - Reddit para el fediverso.
|
||||
<br />
|
||||
<br />
|
||||
<a href="https://join.lemmy.ml">Unirse a Lemmy</a>
|
||||
·
|
||||
<a href="https://join.lemmy.ml/docs/es/index.html">Documentación</a>
|
||||
·
|
||||
<a href="https://github.com/LemmyNet/lemmy/issues">Reportar Errores (bugs)</a>
|
||||
·
|
||||
<a href="https://github.com/LemmyNet/lemmy/issues">Solicitar Características</a>
|
||||
·
|
||||
<a href="https://github.com/LemmyNet/lemmy/blob/main/RELEASES.md">Lanzamientos</a>
|
||||
·
|
||||
<a href="https://join.lemmy.ml/docs/es/code_of_conduct.html">Código de Conducta</a>
|
||||
</p>
|
||||
</p>
|
||||
|
||||
## Sobre El Proyecto
|
||||
|
||||
Escritorio|Móvil
|
||||
---|---
|
||||
![desktop](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/main_img.webp)|![mobile](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/mobile_pic.webp)
|
||||
|
||||
[Lemmy](https://github.com/LemmyNet/lemmy) es similar a sitios como [Menéame](https://www.meneame.net/), [Reddit](https://reddit.com), [Lobste.rs](https://lobste.rs), [Raddle](https://raddle.me), o [Hacker News](https://news.ycombinator.com/): te subscribes a los foros que te interesan, publicas enlaces y debates, luego votas y comentas en ellos. Entre bastidores, es muy diferente; cualquiera puede gestionar fácilmente un servidor, y todos estos servidores son federados (piensa en el correo electrónico), y conectados al mismo universo, llamado [Fediverso](https://es.wikipedia.org/wiki/Fediverso).
|
||||
|
||||
Para un agregador de enlaces, esto significa que un usuario registrado en un servidor puede suscribirse a los foros de otro servidor, y puede mantener discusiones con usuarios registrados en otros lugares.
|
||||
|
||||
El objetivo general es crear una alternativa a reddit y otros agregadores de enlaces, fácilmente auto-hospedada, descentralizada, fuera de su control e intromisión corporativa.
|
||||
|
||||
Cada servidor lemmy puede establecer su propia política de moderación; nombrando a los administradores del sitio y a los moderadores de la comunidad para mantener alejados a los trolls, y fomentar un entorno saludable y no tóxico en el que puedan sentirse cómodos contribuyendo.
|
||||
|
||||
*Nota: Las APIs WebSocket y HTTP actualmente son inestables*
|
||||
|
||||
### ¿Por qué se llama Lemmy?
|
||||
|
||||
- Cantante principal de [Motörhead](https://invidio.us/watch?v=pWB5JZRGl0U).
|
||||
- El [videojuego de la vieja escuela](<https://es.wikipedia.org/wiki/Lemmings>).
|
||||
- El [Koopa de Super Mario](https://www.mariowiki.com/Lemmy_Koopa).
|
||||
- Los [roedores peludos](http://sunchild.fpwc.org/lemming-the-little-giant-of-the-north/).
|
||||
|
||||
### Creado Con
|
||||
|
||||
- [Rust](https://www.rust-lang.org)
|
||||
- [Actix](https://actix.rs/)
|
||||
- [Diesel](http://diesel.rs/)
|
||||
- [Inferno](https://infernojs.org)
|
||||
- [Typescript](https://www.typescriptlang.org/)
|
||||
|
||||
# Características
|
||||
|
||||
- Código abierto, [Licencia AGPL](/LICENSE).
|
||||
- Auto-hospedado, fácil de desplegar (deploy).
|
||||
- Viene con [Docker](#docker) y [Ansible](#ansible).
|
||||
- Interfaz limpia y fácil de usar. Apta para dispositivos móviles.
|
||||
- Sólo se requiere como mínimo un nombre de usuario y una contraseñar para inscribirse!
|
||||
- Soporte de avatar de usuario.
|
||||
- Hilos de comentarios actualizados en directo.
|
||||
- Puntuaciones completas de los votos `(+/-)` como en el antiguo reddit.
|
||||
- Temas, incluidos los claros, los oscuros, y los solarizados.
|
||||
- Emojis con soporte de autocompletado. Empieza tecleando `:`
|
||||
- *Ejemplo* `miau :cat:` => `miau 🐈`
|
||||
- Etiquetado de Usuarios con `@`, etiquetado de Comunidades con `!`.
|
||||
- *Ejemplo* `@miguel@lemmy.ml me invitó a la comunidad !gaming@lemmy.ml`
|
||||
- Carga de imágenes integrada tanto en las publicaciones como en los comentarios.
|
||||
- Una publicación puede consistir en un título y cualquier combinación de texto propio, una URL o nada más.
|
||||
- Notificaciones, sobre las respuestas a los comentarios y cuando te etiquetan.
|
||||
- Las notificaciones se pueden enviar por correo electrónico.
|
||||
- Soporte para mensajes privados.
|
||||
- Soporte de i18n / internacionalización.
|
||||
- Fuentes RSS / Atom para Todo `All`, Suscrito `Subscribed`, Bandeja de entrada `inbox`, Usuario `User`, y Comunidad `Community`.
|
||||
- Soporte para la publicación cruzada (cross-posting).
|
||||
- **búsqueda de publicaciones similares** al crear una nueva. Ideal para comunidades de preguntas y respuestas.
|
||||
- Capacidades de moderación.
|
||||
- Registros públicos de moderación.
|
||||
- Puedes pegar las publicaciones a la parte superior de las comunidades.
|
||||
- Tanto los administradores del sitio, como los moderadores de la comunidad, pueden nombrar a otros moderadores.
|
||||
- Puedes bloquear, eliminar y restaurar publicaciones y comentarios.
|
||||
- Puedes banear y desbanear usuarios de las comunidades y del sitio.
|
||||
- Puedes transferir el sitio y las comunidades a otros.
|
||||
- Puedes borrar completamente tus datos, reemplazando todas las publicaciones y comentarios.
|
||||
- Soporte para publicaciones y comunidades NSFW.
|
||||
- Alto rendimiento.
|
||||
- El servidor está escrito en rust.
|
||||
- El front end está comprimido (gzipped) en `~80kB`.
|
||||
- El front end funciona sin javascript (sólo lectura).
|
||||
- Soporta arm64 / Raspberry Pi.
|
||||
|
||||
## Instalación
|
||||
|
||||
- [Docker](https://join.lemmy.ml/docs/es/administration/install_docker.html)
|
||||
- [Ansible](https://join.lemmy.ml/docs/es/administration/install_ansible.html)
|
||||
|
||||
## Proyectos de Lemmy
|
||||
|
||||
### Aplicaciones
|
||||
|
||||
- [lemmy-ui - La aplicación web oficial para lemmy](https://github.com/LemmyNet/lemmy-ui)
|
||||
- [Lemmur - Un cliente móvil para Lemmy (Android, Linux, Windows)](https://github.com/krawieck/lemmur)
|
||||
- [Remmel - Una aplicación IOS nativa](https://github.com/uuttff8/Lemmy-iOS)
|
||||
|
||||
### Librerías
|
||||
|
||||
- [lemmy-js-client](https://github.com/LemmyNet/lemmy-js-client)
|
||||
- [Kotlin API ( en desarrollo )](https://github.com/eiknat/lemmy-client)
|
||||
- [Dart API client ( en desarrollo )](https://github.com/krawieck/lemmy_api_client)
|
||||
|
||||
## Apoyo / Donación
|
||||
|
||||
Lemmy es un software libre y de código abierto, lo que significa que no hay publicidad, monetización o capital de riesgo, nunca. Tus donaciones apoyan directamente el desarrollo a tiempo completo del proyecto.
|
||||
|
||||
- [Apoya en Liberapay](https://liberapay.com/Lemmy).
|
||||
- [Apoya en Patreon](https://www.patreon.com/dessalines).
|
||||
- [Apoya en OpenCollective](https://opencollective.com/lemmy).
|
||||
- [Lista de patrocinadores](https://join.lemmy.ml/sponsors).
|
||||
|
||||
### Crypto
|
||||
|
||||
- bitcoin: `1Hefs7miXS5ff5Ck5xvmjKjXf5242KzRtK`
|
||||
- ethereum: `0x400c96c96acbC6E7B3B43B1dc1BB446540a88A01`
|
||||
- monero: `41taVyY6e1xApqKyMVDRVxJ76sPkfZhALLTjRvVKpaAh2pBd4wv9RgYj1tSPrx8wc6iE1uWUfjtQdTmTy2FGMeChGVKPQuV`
|
||||
|
||||
## Contribuir
|
||||
|
||||
- [Instrucciones para contribuir](https://join.lemmy.ml/docs/es/contributing/contributing.html)
|
||||
- [Desarrollo por Docker](https://join.lemmy.ml/docs/es/contributing/docker_development.html)
|
||||
- [Desarrollo Local](https://join.lemmy.ml/docs/es/contributing/local_development.html)
|
||||
|
||||
### Traducciones
|
||||
|
||||
Si quieres ayudar con la traducción, echa un vistazo a [Weblate](https://weblate.yerbamate.ml/projects/lemmy/). También puedes ayudar [traduciendo la documentación](https://github.com/LemmyNet/lemmy-docs#adding-a-new-language).
|
||||
|
||||
## Contacto
|
||||
|
||||
- [Mastodon](https://mastodon.social/@LemmyDev)
|
||||
- [Matrix](https://matrix.to/#/#lemmy:matrix.org)
|
||||
|
||||
## Repositorios del código
|
||||
|
||||
- [GitHub](https://github.com/LemmyNet/lemmy)
|
||||
- [Gitea](https://yerbamate.ml/LemmyNet/lemmy)
|
||||
- [Codeberg](https://codeberg.org/LemmyNet/lemmy)
|
||||
|
||||
## Creditos
|
||||
|
||||
Logo hecho por Andy Cuccaro (@andycuccaro) bajo la licencia CC-BY-SA 4.0.
|
Loading…
Reference in New Issue