Yashashvi Dave
|
2a73b2b805
|
custom profile field: Add at-least-one-choice validation for choice field.
Add validation at-least-one-choice required for every choice type field
in backend.
|
2018-08-14 10:17:57 -07:00 |
Yashashvi Dave
|
8909cb1d15
|
custom fields: Allow list of users in user type of custom fields.
Allow user to add more than one user-value in user type of custom
fields.
Tweaked by tabbott to improve the models.py code and type annotations.
|
2018-06-16 09:37:49 -07:00 |
Yashashvi Dave
|
f7f039e772
|
custom fields: Add endpoint to delete value of custom profile data.
Add delete endpoint at `users/me/profile_data` to delete value of
custom profile data.
Fixes #9669
|
2018-06-07 08:35:04 -07:00 |
Yashashvi Dave
|
e82c879b85
|
custom fields: Add user type of custom fields.
Fixes #8878
|
2018-05-27 23:01:21 -07:00 |
Angelika Serwa
|
f4f64243dd
|
custom_profile_fields: Support changing the sort order of the fields.
Tweaked by tabbott for variable naming and the URL.
Closes #8879.
|
2018-04-30 18:17:41 -07:00 |
Yashashvi Dave
|
a97a00a4c6
|
custom fields: Replace field id with field name in error message.
|
2018-04-30 10:53:23 -07:00 |
Umair Khan
|
cf2f6b38dd
|
profile: Add choice field.
Fixes part of #8878
|
2018-04-26 00:35:51 -07:00 |
Umair Khan
|
a1b384039c
|
profile: Check field_type against FIELD_TYPE_CHOICES.
|
2018-04-25 23:28:27 -07:00 |
Tim Abbott
|
79e8bff8fa
|
views: Change use of typing.Text to str.
This is the first part of a general migration of our typing codebase
to use the simpler `str` for strings.
|
2018-04-23 18:51:23 -07:00 |
Umair Khan
|
0420b89468
|
profile: Add hint attribute to custom profile fields.
This is the model for #8876.
|
2018-04-19 11:32:35 -07:00 |
nyan-salmon
|
0fd0332a2c
|
mypy: Use Python 3 type syntax in zerver/views/custom_profile_fields.py.
|
2017-12-26 08:34:06 -05:00 |
Tim Abbott
|
1cd017288d
|
views: Fix imports of REQ/has_request_variables from the wrong place.
These were never in zerver/decorator.py, and so it makes sense to
import them zerver/lib/request.py, mostly for ease of finding things.
|
2017-10-27 15:07:31 -07:00 |
rht
|
45e8ce559d
|
zerver/views: Use python 3 syntax for typing.
|
2017-10-26 21:58:22 -07:00 |
rht
|
15ca13c8de
|
zerver/views: Remove absolute_import.
|
2017-09-27 10:00:39 -07:00 |
Tim Abbott
|
9bf02fb913
|
custom_profile: Prevent bot users from accessing endpoint.
|
2017-07-31 13:08:06 -07:00 |
Umair Khan
|
cf3b6c6ca9
|
profile: Support custom profile data.
Implements backend for #1760.
|
2017-04-18 15:20:59 -07:00 |