lemmy/src
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_routes_http.rs Sitemap (#3808) 2023-08-22 10:30:15 -04:00
code_migrations.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
lib.rs Fix process shutdown (#3673) 2023-07-20 11:36:48 -04:00
main.rs Remove actix_rt & use standard tokio spawn (#3158) 2023-06-26 10:45:22 +02:00
prometheus_metrics.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
root_span_builder.rs Fixing .drone.yml (#2677) 2023-01-30 14:17:24 -05:00
scheduled_tasks.rs fix: add client connect timeout to scheduled task (#3883) 2023-08-21 10:53:35 +02:00
telemetry.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00