Tomasz Kolek
f4bd9dfda5
integrations doc: Move phabricator doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
4a6acc4fb9
integrations doc: Move perforce doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
5426725c43
integrations doc: Move openshift doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
484fef059b
integrations doc: Move nagios doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
489a7d1784
integrations doc: Move mercurial doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
372c7224f0
integrations doc: Move jira-plugin doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
f0ace02e6c
integrations doc: Move jenkins doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
34500f755c
integrations doc: Move hubot doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
bd1103373d
integrations doc: Move google-calendar doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
6ff130b829
integrations doc: Move git doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
d1b4a4546d
integrations doc: Move email doc to separate file.
2017-04-05 13:43:47 -07:00
Tomasz Kolek
3c0287cfc7
integrations doc: Move codebase doc to separate file.
2017-04-05 13:37:37 -07:00
Tomasz Kolek
cbe00e020c
integrations doc: Move capistrano doc to separate file.
2017-04-05 13:37:37 -07:00
Tomasz Kolek
a39c55b4ab
integrations doc: Move asana doc to separate file.
2017-04-05 13:19:58 -07:00
Tomasz Kolek
5b17622589
docs: Move integrations.html to integrations/index.html.
...
Add omiting rule for all of integrations docs in test_templates.
2017-04-05 13:19:58 -07:00
Tomasz Kolek
62603940a7
integrations doc: Remove basecamp old-style doc.
2017-04-05 13:19:58 -07:00
Tim Abbott
cfe8871dfc
test_audit_log: Put all tests in a single test class.
...
This simplifies the process for adding new tests here a bit.
2017-04-05 12:53:59 -07:00
Maxim Averin
02900ff54a
Switch do_change_bot_owner to use RealmAuditLog.
...
This requires adding an `acting_user` parameter to the
`do_change_bot_owner` function.
2017-04-05 12:50:55 -07:00
Umair Khan
be65125d3d
Handle unicode characters in email mirror.
...
Fixes #2328 .
2017-04-05 12:18:41 -07:00
Cynthia Lin
59bfd4e1c7
integrations: Update logos.
...
Fixes #3219
2017-04-05 11:45:51 -07:00
Umair Khan
846e8686c4
makemessages: Exclude hidden files.
...
Fixes #3981 .
2017-04-05 11:09:32 -07:00
Umair Khan
8e87ba439d
github: Go to registration if email is invalid.
2017-04-04 18:03:33 -07:00
Umair Khan
3bac73159a
backends: Test authenticate() with kwargs.
...
Django uses arguments to differentiate between different authenticate
function so it is important to pass arguments in a predictable manner.
Keyword args will test the name of the argument as well.
2017-04-04 18:03:33 -07:00
Umair Khan
8c3a0126c1
test_auth_backends.py: Add get_username().
2017-04-04 18:03:33 -07:00
Umair Khan
07ea08c184
test_classes: Remove assert_max_length.
...
We should avoid this kind of assertions because they are
not deterministic.
2017-04-04 17:07:34 -07:00
Umair Khan
24dfc49792
test_users: Change assert_max_length to assert_length.
2017-04-04 17:07:34 -07:00
Umair Khan
5682b208ea
test_signup: Change assert_max_length to assert_length.
2017-04-04 17:07:34 -07:00
Umair Khan
1b8d9f186e
test_presence: Change assert_max_length to assert_length.
2017-04-04 17:07:34 -07:00
Umair Khan
cc96cefe75
test_messages: Change assert_max_length to assert_length.
2017-04-04 17:07:06 -07:00
Steve Howell
205f2c1562
Add ping_only flag for presence updates.
...
The web app doesn't need any presence data for its first ping to
the server, because it already has up-to-date presence info in
page_params. So now we can tell the server not to send us a big
payload that we were already ignoring.
2017-04-04 15:57:10 -07:00
Steve Howell
3a332aee0b
Exclude dormant users from buddy list queries.
...
If a user has not shown activity in two weeks, we exclude
them from the buddy list. This should help performance for
large realms and mobile clients.
2017-04-04 15:57:10 -07:00
Steve Howell
2718bd0b5d
Extract presence.js to track presence info.
...
Most of this code was simply moved from activity.js with some
minor renaming of functions like set_presence_info -> set_info.
Some functions were slightly nontrivial extractions:
is_not_offline:
came from activity.huddle_fraction_present
get_status/get_mobile:
simple getters
set_user_status:
partial extraction from activity.set_user_status
last_active_date:
pulled out of admin.js code
We also fixed activity.filter_and_sort to take user_ids.
2017-04-04 15:57:10 -07:00
Harshit Bansal
cebcfb8d29
test_realm_aliases.py: `realm_alias` to `realm_domain` migration.
...
* Remove any occurrences of `alias` or `realm_alias`.
* Rename `test_realm_aliases.py` to `test_realm_domains.py`.
2017-04-04 15:48:03 -07:00
Harshit Bansal
b40a8ea20b
views/realm_aliases.py: `realm_alias` migration.
...
* Rename `views/realm_aliases.py` to `views/realm_domains.py`.
* Remove any occurrences of `alias`.
2017-04-04 15:48:03 -07:00
Harshit Bansal
664b23c495
commands: Rename `realm_alias` command to `realm_domain`.
2017-04-04 15:48:03 -07:00
Harshit Bansal
362ee482c0
commands/realm_alias.py: Remove any occurrences of `alias`.
2017-04-04 15:48:03 -07:00
Harshit Bansal
fe4cba9aa7
test_events.py: Remove any remaining occurrences of `alias`.
2017-04-04 15:48:03 -07:00
Harshit Bansal
711a3f8037
actions.py: Rename remaining occurrences of `alias' to `realm_domain`.
2017-04-04 15:48:03 -07:00
Harshit Bansal
c226c651f7
actions.py: Rename `do_remove_realm_alias()` to `do_remove_realm_domain()`.
2017-04-04 15:48:03 -07:00
Harshit Bansal
a08155b09e
actions.py: Rename `do_change_realm_alias()` to `do_change_realm_domain()`.
2017-04-04 15:48:03 -07:00
Harshit Bansal
2da4fc0dc4
actions.py: Rename `do_add_realm_alias()` to `do_add_realm_domain()`.
2017-04-04 15:48:03 -07:00
Harshit Bansal
983225612d
actions.py: Rename `get_realm_aliases()` to `get_realm_domains()`.
2017-04-04 15:48:03 -07:00
Harshit Bansal
582d8a351f
zerver/models.py: Rename remaining occurences of `alias` to `realm_domain`.
2017-04-04 15:48:03 -07:00
Harshit Bansal
92c512d679
zerver/models.py: Rename can_add_alias() to can_add_realm_domain().
2017-04-04 15:48:03 -07:00
Harshit Bansal
6f0b46d84f
create_realm.py: Remove unnecessary imports.
2017-04-04 15:48:03 -07:00
Harshit Bansal
ac2172e233
models: Rename RealmAlias model to RealmDomain.
...
Includes a migration.
2017-04-04 15:48:03 -07:00
Kouhei Sutou
7c43aa1372
message: Use pgroonga.match_positions_character.
...
We can remove byte version text highlight method with this change.
pgroonga.match_positions_character was added in PGroonga 1.1.1:
http://pgroonga.github.io/reference/functions/pgroonga-match-positions-character.html
PGroonga 1.1.1 was released at 2016-08-31. So we can use it.
2017-04-04 14:05:45 -07:00
Eeshan Garg
da599ad28c
webhooks/gitlab: Add support for filtering GitLab branches.
2017-04-04 13:51:08 -07:00
Umair Khan
4f9b6303a7
test_narrow.py: Add workaround for Pgroonga regression.
...
Due to Pgroonga regression, there is a difference in search
result between Travis and development env due to which one of
our tests fails. This commit makes sure that the test passes
for both strings till the Pgroonga bug is resolved.
2017-03-29 22:12:15 -07:00
Sarah
dea563b27e
zerver/lib/test_events: Refactor realm update tests.
...
Created do_set_realm_property_test and refactored individual realm tests
to use this function for testing updating realm properties.
2017-03-30 02:17:10 +00:00