discourse/app
Osama Sayegh 00196b8652
FIX: Restore and deprecate the :type param of uploads#create (#29736)
Follow up to 6f8f6a7726

Prior to the linked commit, the `uploads#create` endpoint had a `upload_type` and `type` param that acted as aliases for each other and raised an error if both of them were missing. In the linked commit, we removed the `type` param and always required the `upload_type` param which break API consumers that only included `type` in their requests.

This commit adds back the `type` param temporarily and introduces a deprecation message for it so that API consumers are made aware of the eventual removal of the `type` param.
2024-11-13 14:07:20 +03:00
..
assets FIX: correctly supports dropping image (#29733) 2024-11-13 17:30:14 +09:00
controllers FIX: Restore and deprecate the :type param of uploads#create (#29736) 2024-11-13 14:07:20 +03:00
helpers DEV: Drop WithServiceHelper 2024-09-05 09:58:20 +02:00
jobs DEV: Remove logical OR assignment of constants (#29201) 2024-10-16 10:09:07 +08:00
mailers
models UX: Split hide_profile_and_presence user option (#29632) 2024-11-12 22:22:58 -03:00
serializers UX: Split hide_profile_and_presence user option (#29632) 2024-11-12 22:22:58 -03:00
services UX: Split hide_profile_and_presence user option (#29632) 2024-11-12 22:22:58 -03:00
views UX: Change the authorize button color to primary (#29666) 2024-11-08 17:33:50 -05:00