Brock Whittaker
849d63dd1c
settings: Change error for "no data" to something more friendly.
2018-01-23 14:38:59 -05:00
Brock Whittaker
ffe3a6c127
settings: Remove password confirmation in modal.
...
This removes the requirement to confirm your new password.
It isn't necessary and can be fixed easily with an email
reset if messed up.
2018-01-23 14:38:59 -05:00
YJDave
fa44d2ea69
settings: Remove autoscroll_forever setting.
...
Fixes #6845
2018-01-02 10:35:49 -05:00
rht
04f4f7166c
zerver/tests: Use python 3 syntax for typing.
...
This patch was extracted by tabbott for just the files with no open
PRs modifying them.
2017-11-08 12:50:27 -08:00
rht
26f5d9a32c
zerver/tests: Remove print_function.
2017-09-27 18:05:45 -07:00
rht
1e87a4b68c
zerver/tests: Remove absolute_import.
2017-09-27 10:00:39 -07:00
Umair Khan
eb04fc006e
result.json: Upgrade test_settings.
2017-08-17 09:03:35 -07:00
Tim Abbott
1e5aee054b
settings: Migrate main settings-change code to API.
...
This was one of the few major remaining endpoints that were still on
the old-style legacy API.
2017-07-31 13:08:06 -07:00
Sarah
eef9f15910
test_settings: Refactor to use UserProfile property_types framework.
2017-07-18 15:49:20 -07:00
Vishnu Ks
5230eaef1c
Replace hamlet@zulip.com with example_email('hamlet').
2017-05-24 19:37:36 -07:00
Rick Chern
e53d1c3885
tests: Remove get_user_profile_by_email from most tests.
2017-05-24 13:05:19 -07:00
Tim Abbott
13a37f74a1
users: Ban names shorter than 3 characters.
...
The empty string is not a reasonable name.
2017-05-11 19:21:51 -07:00
Steve Howell
7f9057ba99
tests: Use example_user() in more places.
2017-05-08 11:57:38 -07:00
Steve Howell
942db9b6c5
tests: Added ZulipTestCase.example_user() function.
...
The example_user() function is specifically designed for
AARON, hamlet, cordelia, and friends, and it allows a concise
way of using their built-in user profiles. Eventually, the
widespread use of example_user() should help us with refactorings
such as moving the tests users out of the "zulip.com" realm
and deprecating get_user_profile_by_email.
2017-05-08 11:57:38 -07:00
Harshit Bansal
07081196f4
backend: Allow to change UserProfile's `emojiset` field via api.
2017-04-24 22:30:07 -07:00
Aditya Bansal
bdcddd35d0
tests: Add wrapper for client.logout in ZulipTestCase.
...
In this commit we add a logout wrapper so as to enable developers
to just do self.logout instead of doing a post request at API
endpoint for logout. This is achieved by adding a wrapper function
for the Django's client.logout contained in TestCase. We add this
by extending ZulipTestCase to have a logout function.
2017-04-21 21:45:55 -07:00
Umair Khan
242d3ffaf4
Add timezone field in UserProfile.
...
Implements backend of #1506 .
2017-03-15 11:18:24 -07:00
Tim Abbott
eefd5d4cf6
tests: Move UserChangesTest to test_settings.py.
2017-03-08 03:57:37 -08:00
Tim Abbott
b5cca309d6
tests: Extract zerver/tests/test_settings.py.
2017-03-08 03:13:28 -08:00