lemmy/crates/db_schema/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
..
aggregates Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
impls Sitemap (#3808) 2023-08-22 10:30:15 -04:00
source Automatically resolve report when post/comment is removed (#3850) 2023-08-08 11:19:55 -04:00
diesel_ltree.patch feat: re-added captcha checks (#3289) 2023-06-27 06:38:53 -04:00
lib.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00
newtypes.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
schema.rs Dont use sha hash for password reset token (fixes #3491) (#3795) 2023-08-02 13:02:53 -04:00
traits.rs Automatically resolve report when post/comment is removed (#3850) 2023-08-08 11:19:55 -04:00
utils.rs Use same table join code for both read and list functions (#3663) 2023-07-28 10:36:50 +02:00