lemmy/crates/db_schema/src/impls
Lukas Trombach 28324ad2c8
Sitemap (#3808)
* generate sitemap.xml file

* set up endpoint for sitemap

* Update sitemap generation

- remove sitemap generation from scheduled tasks
- add posts query for sitemap
- create sitemap module in API crate

* remove priority and change freq from sitemap

* add configuration option for number of posts for sitemap

* fix default config

* rate limit sitemap endpoint

* update sitemap query

* update sitemap generation

- remove config value for query limit
- adjust sitemap generation to query changes
- tidy up error handling

* refactor sitemap generation loop

* remove `limit` argument

* refactor `generate_urlset` and add unit test

* change query to only fetch local posts of past 24h

* fix outdated comment and log

* cargo fmt
2023-08-22 10:30:15 -04:00
..
activity.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
actor_language.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
captcha_answer.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
comment.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
comment_reply.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
comment_report.rs Automatically resolve report when post/comment is removed (#3850) 2023-08-08 11:19:55 -04:00
community.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
community_block.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
custom_emoji.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
email_verification.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
federation_allowlist.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
federation_blocklist.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
instance.rs Omit local instance from federated instances list (#3712) 2023-07-27 12:12:18 +02:00
language.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
local_site.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
local_site_rate_limit.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
local_user.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
mod.rs feat: re-added captcha checks (#3289) 2023-06-27 06:38:53 -04:00
moderator.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
password_reset_request.rs Dont use sha hash for password reset token (fixes #3491) (#3795) 2023-08-02 13:02:53 -04:00
person.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
person_block.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
person_mention.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
post.rs Sitemap (#3808) 2023-08-22 10:30:15 -04:00
post_report.rs Automatically resolve report when post/comment is removed (#3850) 2023-08-08 11:19:55 -04:00
private_message.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
private_message_report.rs Automatically resolve report when post/comment is removed (#3850) 2023-08-08 11:19:55 -04:00
registration_application.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
secret.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
site.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
tagline.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00