Files
zulip/static/js
Steve Howell f0c99b42ec Rename people.add_in_realm to people.add().
We had this API:

    people.add_in_realm = full-fledged user
    people.add = not necessarily in realm

Now the API is this:

    people.add = full-fledged user
    people._add_user = internal API for cross-realm bots
        and deactivated users

I think in most of our tests the distinction between
people.add() and people.add_in_realm() was just an
accident of history and didn't reflect any real intention.

And if I had to guess the intention in 99% of the cases,
folks probably thought they were just creating ordinary,
active users in the current realm.

In places where the distinction was obviously important
(because a test failed), I deactivated the user via
`people.deactivate`.

For the 'basics' test in the people test suite, I clean
up the test setup for Isaac.  Before this commit I was
adding him first as a non-realm user then as a full-fledged
user, but this was contrived and confusing, and we
didn't really need it for test coverage purposes.
2020-03-22 10:55:11 -07:00
..
2020-03-02 17:45:44 -08:00
2020-02-25 15:37:37 -08:00
2020-02-28 17:11:24 -08:00
2020-02-25 15:37:37 -08:00
2020-02-15 12:20:20 -08:00
2020-02-25 14:09:39 -08:00
2020-02-15 12:20:20 -08:00
2020-02-04 12:22:03 -08:00
2020-02-15 12:20:20 -08:00
2020-02-25 15:37:37 -08:00
2020-02-25 15:37:37 -08:00
2019-10-25 13:51:21 -07:00
2020-02-25 15:37:37 -08:00
2020-02-25 15:37:37 -08:00
2020-02-15 12:20:20 -08:00
2020-02-15 12:20:20 -08:00
2020-02-10 15:57:20 -08:00
2020-02-25 15:37:37 -08:00
2020-02-21 12:06:31 -08:00
2020-02-15 12:20:20 -08:00
2020-02-25 15:37:37 -08:00
2020-02-25 15:37:37 -08:00
2020-02-25 15:37:37 -08:00
2019-10-25 13:51:21 -07:00
2020-02-25 15:37:37 -08:00
2020-02-05 13:04:16 -08:00