Sahil Batra
5675860707
channel-folders: Send event when reordering channel folders.
2025-08-12 11:17:17 -07:00
Shubham Padia
c4cb75979a
channel-folders: Order by order field in GET method.
2025-08-06 16:34:40 -07:00
Shubham Padia
22b231ab6f
channel-folders: Add PATCH method to reorder channel folders.
...
The test cases are copied from ReorderCustomProfileFieldTest since we
are imitating the reordering mechanism from custom profile fields to
channel folders.
2025-08-06 16:34:40 -07:00
Shubham Padia
d609bd44a9
channel-folders: Setup data in class instead of each test.
...
We used the data setup from the get test case since it needed the most
number of folders.
2025-08-06 16:34:40 -07:00
Sahil Batra
072516c2bb
channel-folders: Update unique name constraint.
...
This commit updates code to require unique names for only
non-archived folders in a realm, which means a folder can
use a name which is being used by an archived folder.
2025-08-04 13:22:11 -07:00
Sahil Batra
8ae9cca3c9
channel_folders: Check max length restrictions while updating.
...
This commit updates code to make sure we check maximum allowed
length for name and description for channel folders when updating
them.
2025-07-28 23:12:58 -07:00
Sahil Batra
945e5553e4
test_channel_folders: Add test for long name and description.
...
This commit add tests for name and description being too long
when creating channel folders.
2025-07-28 23:12:58 -07:00
Sahil Batra
d8ae21a4f4
folders: Don't allow archiving a folder if it contains channels.
2025-05-29 15:39:03 -07:00
Sahil Batra
677390d3f6
channel_folders: Add tests for case-insensitive duplicate name check.
...
This commit adds tests for checking the requirement of folder
names to be unique case insensitively.
2025-05-29 15:39:03 -07:00
Sahil Batra
88b47be938
channel_folders: Pass realm as argument to check_add_channel_folder.
...
Passing realm explicitly to check_add_channel_folder instead of
using realm field from acting_user seems much cleaner and readable.
2025-05-29 15:39:03 -07:00
Sahil Batra
5de0f265bd
channel_folders: Add support to update channel folders.
...
Fixes part of #31972 .
2025-05-20 13:25:06 -07:00
Sahil Batra
e93667cc06
channel_folders: Add API endpoint to get all channel folders.
...
Fixes part of #31972 .
2025-05-20 13:25:06 -07:00
Sahil Batra
332abd9e91
channel_folder: Add API to create a channel folder.
...
This commit also includes code to include channel_folders
data in register response.
Fixes part of #31972 .
2025-05-20 13:25:06 -07:00