Steve Howell
3b594a6efa
bug fix: Keep old, active, upper-case topics in the topic list.
...
If you narrowed to a topic that was not one of the most recent 5
topics and had uppercase characters, it would disappear from the
topic list as soon as all of its messages were read.
2016-11-16 12:17:31 -08:00
Steve Howell
f4bf154981
bug fix: Fix topic unread counts for upper-case streams.
...
If stream names weren't entirely lowercase, then our function
topic_list.is_for_stream() was improperly reporting false and
failing to update unread counts for the active topic widget.
This regression was probably introduced in the fairly recent
53eea250d0
commit.
Fixes #2330 .
2016-11-16 10:08:44 -08:00
Tim Abbott
61816f6151
populate_db: Remove replay_old_messages code.
...
Now that we have the data import/export tool, that's a better
mechanism for importing data than this old and likely buggy code was.
2016-11-15 22:34:44 -08:00
Tim Abbott
6d4075cef9
docs: Extend our documentation of our documentation.
...
The main purpose of this effort is to document our new /help/ docs,
but we update a bunch of other stuff while we're at it.
2016-11-15 22:01:44 -08:00
Tim Abbott
e6f4cb2635
attachment: Remove DB limit on length of filenames.
...
This fixes an issue where we threw on error on files with long names.
2016-11-15 21:12:05 -08:00
Christie Koehler
391ff638d5
build_emoji: Add nice error message for symlink errors.
2016-11-15 21:10:39 -08:00
Christie Koehler
2488698430
provision: Add symlink creation check.
...
This helps automatically detect a common issue where users try to use
the Vagrant development environment on windows without administrator
permissions, which results in errors trying to create symlinks.
2016-11-15 21:10:39 -08:00
Feorlen
d56272a162
docs: Explain how the HTML webhook documentation is used.
...
Part of #1998 .
2016-11-15 21:00:16 -08:00
Feorlen
e45c10884e
docs: Fix typo and whitespace.
2016-11-15 21:00:16 -08:00
Feorlen
d8afc306ee
docs: Clarify that HelloWorldHookTests is subclassing WebhookTestCase.
...
Part of #1998 .
2016-11-15 21:00:15 -08:00
Feorlen
ed61d3086d
docs: Describe what an API key is and how to get one.
...
Part of #1998 .
2016-11-15 20:59:43 -08:00
Feorlen
113b2b39fb
docs: Describe what a test fixture is.
...
Part of #1998 .
2016-11-15 20:59:39 -08:00
Feorlen
4725a7b7de
docs: Describe what a webhook is.
...
Part of #1998 .
2016-11-15 20:58:39 -08:00
Tim Abbott
fa8480bb62
subdomains: Add option to make subdomains homepage not a login form.
2016-11-15 19:05:06 -08:00
Steve Howell
9eb825fff5
Refactor PM unread counts to use user_ids as keys.
...
We now use comma-delimited lists of user_ids for the following
data structures in unread.js:
- unread_privates[<user_ids_string>]
- get_counts.pm_count[<user_ids_string>]
2016-11-15 18:31:59 -08:00
Steve Howell
1783879108
people.js: Add methods for user_ids_string/emails_string.
...
Added:
* people.user_ids_string_to_emails_string
* people.emails_strings_to_user_ids_string
2016-11-15 18:31:59 -08:00
Steve Howell
7750d43d23
Simplify finding elements in pm_list.js.
...
We no longer need iterate_to_find, and we just use simpler
selectors.
2016-11-15 18:31:59 -08:00
Steve Howell
f5e1dcd11d
buddy list: Sidebar menu now uses user_id, not email.
2016-11-15 18:31:59 -08:00
paxapy
b90057d557
render_messages.py: render first version of edited messages.
...
This decreases the number of spurious differences in rendered content
significantly.
2016-11-15 13:39:11 -08:00
reyha
9f8630fed8
tests: Access realms by string_id.
...
Replaces get_realm() function by get_realm_by_string_id() function
in zerver/tests.
Fixes #2226 .
2016-11-15 13:32:20 -08:00
Tim Abbott
49d24cee2a
subs: Fix clearing filter table on subscribe.
2016-11-15 12:49:40 -08:00
Tim Abbott
86fbc415b9
docs: Fix typo in roadmap reactions item.
2016-11-15 12:27:27 -08:00
Brock Whittaker
3d8ed7b55f
subs: Rewrite Stream Filter Function.
...
This is more performant, along with accepting a parameter for
filtering only streams that are subscribed to if the toggle is set to
subscribed only.
Also, it now does substring matches, rather than just matching if an
entire word matches the search query.
Fixes #2141 .
2016-11-15 12:21:43 -08:00
Brock Whittaker
1def0b6701
hashchange: Add hashchange ignore mechanism for overlays.
...
This will make it possible to do hash changes in soon-to-be-overlay
pages like the /#subscriptions and /#settings page.
2016-11-15 11:53:38 -08:00
Tomasz Kolek
074571dddc
Fix English grammar in push/remove tag message.
2016-11-15 10:48:12 -08:00
Tomasz Kolek
1feedbe346
Add github webhook integration.
2016-11-15 10:48:12 -08:00
Tomasz Kolek
2335e1b8b9
Add escaping charactes (=,>,<) by checking correct spelling of GitHub word
2016-11-15 10:48:12 -08:00
Brock Whittaker
75db036733
Add toggle component.
...
This adds the toggle component which removes the necessity to have HTML.
2016-11-15 10:20:37 -08:00
Tim Abbott
a960ff6773
requirements: Update cryptography packages.
2016-11-15 10:13:51 -08:00
Tim Abbott
0145987fbe
Update roadmap introduction section of roadmap.
2016-11-15 09:55:30 -08:00
Sumana Harihareswara
e1f7b94bf5
Roadmap doc: Update intro date.
2016-11-15 09:55:30 -08:00
Sumana Harihareswara
bef4fc94d3
Roadmap doc: Update desktop app section.
2016-11-15 09:55:30 -08:00
Sumana Harihareswara
3ca3668885
Roadmap doc: Update security, testing, & docs sections.
2016-11-15 09:55:30 -08:00
Sumana Harihareswara
b06db1e776
Roadmap doc: Remove tasks we've already done.
2016-11-15 09:55:30 -08:00
Sumana Harihareswara
1c68436465
Roadmap doc: Update technology improvement section.
2016-11-15 09:55:30 -08:00
Sumana Harihareswara
e0a1e401f6
Roadmap doc: Update realtime sync, performance, and scalability tasks.
...
Also move and update community, internationalization, and
development environment tasks.
2016-11-15 09:55:30 -08:00
Sumana Harihareswara
b54aa2e415
Roadmap doc: Update onboarding and administration tasks.
2016-11-15 09:55:30 -08:00
Sumana Harihareswara
eba34309dc
Roadmap doc: Update user experience and social tasks.
2016-11-15 09:55:30 -08:00
Sumana Harihareswara
98e5f502d3
Roadmap doc: Update mobile tasks.
2016-11-15 09:55:30 -08:00
Sumana Harihareswara
9799da1fc2
Roadmap doc: Update internationalization section.
2016-11-15 09:55:30 -08:00
Sumana Harihareswara
0c9ed70a8d
Roadmap doc: Update integrations section.
2016-11-15 09:55:30 -08:00
Sumana Harihareswara
43f77a37a4
Roadmap doc: Update number of PRs merged.
2016-11-15 09:55:30 -08:00
Steve Howell
26857ac3aa
admin: Use helpers when opening user form.
2016-11-15 09:37:47 -08:00
Steve Howell
7656c31769
Extract admin.get_email_for_user_row().
2016-11-15 09:37:47 -08:00
Steve Howell
33a87492e2
admin: Remove obsolete active_user_row class.
2016-11-15 09:37:47 -08:00
Steve Howell
ecfac010fc
Extract admin.set_up_deactivate_user_modal().
...
This sets us up to eliminate the "active_user_row" hacks in
our next commit.
2016-11-15 09:37:47 -08:00
Steve Howell
dcfb5c30c6
admin users: Fix real-time-sync for full names.
...
When an ordinary user changes their name, the admin sees the change
when they open the edit form now.
2016-11-15 09:37:47 -08:00
Umair Khan
2314adc4fc
Django 1.10: Compare CSRF tokens after unsalting them.
...
For reference: https://docs.djangoproject.com/en/1.10/ref/csrf/#how-it-works
2016-11-15 09:34:08 -08:00
Umair Khan
29254142f6
Django 1.10: Run maybe_update_realm_filter when it's needed.
2016-11-15 09:34:08 -08:00
Umair Khan
5af50db430
Django 1.10: Fix client cache while running tests.
...
Django reverts all the changes after running a test but the
client cache retained the deleted value, this caused the
subsequent tests to fail due to invalid foreign key constraints.
This commit fixes the issue by prefixing the cache name in
client cache with KEY_PREFIX which is bounced after every test.
2016-11-15 09:34:08 -08:00