lemmy/crates
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
..
api Sitemap (#3808) 2023-08-22 10:30:15 -04:00
api_common Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
api_crud Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
apub Add person name to PersonIsBannedFromSite error (#3786) (#3855) 2023-08-16 11:36:58 +02:00
db_schema Sitemap (#3808) 2023-08-22 10:30:15 -04:00
db_views Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
db_views_actor Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
db_views_moderator Make lemmy_api_common wasm-compatible (#3587) 2023-07-14 10:45:18 +02:00
routes Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
utils Add person name to PersonIsBannedFromSite error (#3786) (#3855) 2023-08-16 11:36:58 +02:00