mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
9975a793fe
2458: Fix: Don't update updated_at on quota_bytes_used change r=mergify[bot] a=DjVinnii ## What type of PR? bug-fix ## What does this PR do? This PR makes sure that the `updated_at` field is not updated when `quota_bytes_used` is updated. All other updates to the `User` model still updates the `updated_at` field. This is done by explicitly using an method in the `Base` class triggering [`flag_modified`][url-flag-modified]. ### Related issue(s) - closes #1363 ## Prerequisites Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [ ] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file. <!-- LINKS--> [url-flag-modified]: https://docs.sqlalchemy.org/en/14/orm/session_api.html#sqlalchemy.orm.attributes.flag_modified Co-authored-by: Vincent Kling <v.kling@vinniict.nl> |
||
---|---|---|
.. | ||
224.feature | ||
1258.removal | ||
1363.bugfix | ||
2099.bugfix | ||
2117.bugfix | ||
2121.misc | ||
2124.bugfix | ||
2125.bugfix | ||
2135.bugfix | ||
2138.bugfix | ||
2139.bugfix | ||
2141.bugfix | ||
2185.doc | ||
2193.bugfix | ||
2195.bugfix | ||
2196.bugfix | ||
2199.bugfix | ||
2207.bugfix | ||
2210.bugfix | ||
2211.misc | ||
2213.feature | ||
2214.doc | ||
2221.feature | ||
2239.bugfix | ||
2249.bugfix | ||
2260.bugfix | ||
2278.feature | ||
2281.bugfix | ||
2284.bugfix | ||
2295.feature | ||
2302.bugfix | ||
2325.bugfix | ||
2338.misc | ||
2346.bugfix | ||
2357.misc | ||
2368.bugfix | ||
2383.misc | ||
2388.bugfix | ||
2402.bugfix | ||
2415.bugfix | ||
2429.feature | ||
2432.bugfix | ||
2447.bugfix | ||
2449.feature | ||
2467.bugfix | ||
2485.bugfix |