Luis Saul Trinidad
d8fad9587c
code-style.md: Fix typo for selected_related().
...
This changes a mention to QuerySet's method `.select_related()` which was written as `.selected_related()`.
2017-04-03 06:43:19 -07:00
Rishi Gupta
c65f9c1510
docs: Update reference to font awesome version in user-docs.
2017-03-29 11:36:51 -07:00
Yago González
0b87118b03
docs: Add explanation on small fixes in PRs.
2017-03-27 14:44:33 -07:00
Steve Howell
c0a6038a95
css: Enforce one selector per line.
...
While it's sometimes nice to put a few selectors on the same line,
it is generally better to have a consistent way of formatting our
selectors, and most of our code up until now lists them vertically.
This change fixes the linter to enforce one selector per line, and
it cleans up the places in the CSS where we had multiple selectors
on the same line.
The advantages of one-per-line are as followers:
* cleaner diffs
* easier to see when multiple areas of the app may have the
same format
* less likely to go over 80 cols
* makes it more clear where we have deep nesting in the
individual selectors
* makes it easier for our linting tools to enforce
whitespace violations
This also fixed an old bug where we had ".landing_page h2, h4", which
sets "h4" styles outside of the landing page.
2017-03-26 16:57:33 -07:00
Moritz Neeb
65e8d66376
docs: hashchange-system: add more detail and fix some sentences.
...
Edited slightly by tabbott for typos and line-wrapping.
2017-03-23 15:15:44 -07:00
Tim Abbott
06492738b5
dev: Expose coverage and built documentation to web.
...
This makes it much more convenient for developers to access coverage
and built developer documentation.
2017-03-23 13:10:06 -07:00
Tim Abbott
2a5e600623
glossary: Add a few comment useful terms.
2017-03-22 15:49:20 -07:00
Moritz Neeb
b96d18eb6f
documentation: explain the term "bankruptcy".
2017-03-22 15:49:19 -07:00
Tim Abbott
2a5269baa9
docs: Document the frontend hashchange system.
2017-03-22 15:21:36 -07:00
adnrs96
a91012bd70
Move thirdparty-fonts.css from static/styles to static/third.
2017-03-21 13:40:05 -07:00
Steve Howell
b98cd55ddb
Add ui_report shim.
2017-03-19 11:05:44 -07:00
Yago González
a5ecb5e5cf
docs: Fix minor link formatting.
2017-03-19 09:16:06 -07:00
Akash Kothawale
93a00d9772
docs: Add missing backtick in architecture-overview.
2017-03-19 09:12:14 -07:00
Yago González
30c0023847
docs: Explain Python 2/3 virtualenvs.
2017-03-19 08:56:19 -07:00
sonali0901
49c2472006
docs: Document use of vagrant provision to troubleshoot.
...
Also documents `provision.log` a bit more.
Tweaked and moved around significantly by tabbott.
Fixes #1886 .
2017-03-17 12:58:46 -07:00
Cynthia Lin
5a95583527
docs: Update zulipbot guide with new features.
2017-03-15 18:01:23 -07:00
Rishi Gupta
40fb6ea80e
lint: Prevent importing from zerver in migrations.
2017-03-15 12:02:24 -07:00
Umair Khan
83dd901ecf
Add capitalization checker tool.
...
Initial rules significantly by modified by tabbott, who also added the
hacky list of excludes that the tool can't handle correctly yet.
Fixes : #3899 .
2017-03-09 00:44:57 -08:00
Tim Abbott
3b59e6c3cc
subs: Rename /#subscriptions to /#streams.
...
Fixes #3653 .
2017-03-08 16:57:58 -08:00
Tim Abbott
5cc900eca6
README: Rename peer review -> code review.
2017-03-08 11:44:33 -08:00
Tim Abbott
3d98b1cdef
tests: Extract zerver/tests/test_queue_worker.py.
2017-03-08 03:57:37 -08:00
Abhijeet Kaur
b8341280e8
doc updates: Remove triage_message function from contrib-bots.
2017-03-07 22:23:11 -08:00
Elliott Jin
fa9b8d8114
docs: Fix typos in events-system.md.
2017-03-07 19:46:16 -08:00
Tim Abbott
d681ef470d
docs: Fully desupport the old iOS app.
2017-03-07 16:48:27 -08:00
Tim Abbott
d9eb011da1
docs: Extend discussion of package.json.
2017-03-07 16:39:50 -08:00
Yago González
155978fefd
docs: Improve the frontend build process.
2017-03-07 16:37:09 -08:00
Eeshan Garg
70df1f5829
new-feature-tutorial: Recommend updating user documentation.
...
Fixes : #3876
2017-03-05 23:04:56 -08:00
Tim Abbott
bd0d6bb9d2
docs: Add discussion of VFL to front-end-build-process.md.
...
Also, link to this from various Python files where relevant.
2017-03-04 21:14:17 -08:00
Tim Abbott
7a048133bf
docs: Fix typo in link to translating docs.
2017-03-04 20:58:50 -08:00
Tim Abbott
b62cd866e1
docs: Significantly update static asset pipeline docs.
2017-03-04 20:58:30 -08:00
Tim Abbott
0569f8fb5f
Document using slow scaleway machines to reproduce casper failures.
...
Fixes #1110 .
2017-03-04 18:23:35 -08:00
Cynthia Lin
ccbe0b56c3
docs: Document zulipbot and its usage.
...
Tweaked by tabbott to document why we need it.
Fixes #3771
2017-03-04 17:44:43 -08:00
Tim Abbott
d25bfb88d3
lint: Ban importing zerver.models in database migrations.
...
This doesn't work correctly, but in a subtle way.
2017-03-04 17:32:48 -08:00
Rishi Gupta
3348083017
docs: Add code style section about naive datetime objects.
2017-03-01 23:03:56 -08:00
Tim Abbott
97c23bc1ab
compose: Rename 'New stream message' to 'New topic'.
...
This doesn't update documentation, because we need to update that
anyway to show screenshots of the new compose box.
2017-03-01 21:31:43 -08:00
Tim Abbott
1c73ddd4c6
docs: Advertise tagging strings for translation in a few places.
2017-02-28 20:41:40 -08:00
Raghav Jajodia
f140810ad9
Fix stray zerver/views/__init__.py in new-feature-tutorial.
...
That file was cleaned out a while ago :).
2017-02-28 09:45:56 -08:00
Feorlen
57e64daeb9
Explain Django "Invalid HTTP_HOST header" log message.
2017-02-27 00:13:32 -08:00
Elliott Jin
b2b1977138
docs: Fix typo in new-feature-tutorial.md.
2017-02-25 00:53:02 -08:00
Brock Whittaker
0f9a5108fc
settings: Change admin pages to have readonly view for non-admins.
...
This changes the layout of administration for non-administrators such
that they can view organization settings and emoji settings and
displays everything as readonly unless they have the capability to edit.
For now, we just enabled this for the emoji settings and organization
settings features.
2017-02-23 14:20:31 -08:00
Tim Abbott
ce91a43eee
docs: Expand discussion of database schema migrations.
...
This covers the standard multi-step process for doing large
migrations, as well as other important properties to consider when
writing migrations.
Also documents the new Django 'atomic=False' option.
Fixes #1332 .
2017-02-22 23:44:35 -08:00
Tim Abbott
32c2982299
docs: Document migration atomicity issues.
2017-02-22 23:35:37 -08:00
Tim Abbott
cf444203c4
docs: Update email configuration documentation.
...
Fixes #2958 .
2017-02-22 22:26:43 -08:00
Tim Abbott
8c1285924e
prod_settings_template: Move email configuration up.
...
This reflects the fact that you definitely need to configure this, but
you don't have to configure any of the auth backends, really.
2017-02-22 22:26:43 -08:00
Tim Abbott
7964408633
prod_settings_template: Move ALLOWED_HOSTS up and clarify.
2017-02-22 22:26:43 -08:00
Tim Abbott
e208002002
docs: Improve install discussion of settings.
2017-02-22 22:26:43 -08:00
Rishi Gupta
42fc317262
developer docs: Add doc for analytics subsystem.
2017-02-22 22:12:40 -08:00
Sourav Badami
03861e5418
docs: Fix typo in new-feature-tutorial.md.
2017-02-22 00:37:59 -08:00
Tim Abbott
f52d812a71
events: Extract apply_event helper.
...
This mostly just saves us a level of messy indentation.
2017-02-20 11:16:35 -08:00
Tim Abbott
8da7976058
queues: Add new system for managing rabbitmq per-queue work.
...
Our lists of rabbitmq queues was likely to end up out of date, since
there was nothing enforcing that the various lists of queues were
correct or the same as each other.
2017-02-19 16:18:37 -08:00
Tim Abbott
6ad883fb61
docs: Update queuing documentation for new templates.
2017-02-19 13:12:34 -08:00
Feorlen
87429e1ff9
Fix typo in webhook "Create documentation" section.
2017-02-19 10:02:33 -08:00
Feorlen
0578ad1563
Add an Advanced topics section.
...
Add a new section after the Hello World walkthrough for additional detail that
doesn't directly apply to this example. Included are discussions on creating
negative tests and handling custom query parameters.
Remaining integration of the material originally for #3478
2017-02-18 21:03:28 -08:00
Feorlen
a97e0f6730
Add detail to the existing Hello World webhook example.
...
Fill in additonal detail following the existing document structure.
Includes authentication, custom streams, negative tests, and types
of test data and fixtures. Also fix typos and reformat to match the
new integration doc style.
Partial integration of the material originally for #3478
2017-02-18 21:03:28 -08:00
Tim Abbott
ecadb33fbc
test-backend: Add 100% test coverage assertions.
...
This adds an assertion, when `test-backend` is run with `--coverage`,
that we have 100% test coverage on a list of files that we expect to.
There's a whitelist/blacklist, managed in tools/test-backend.
Fixes #3363 .
2017-02-18 16:34:40 -08:00
Rishi Gupta
e83d69def8
docs: Copyedit docs/chat-zulip-org.html.
...
Removed the blurb on "#design" since it appears twice.
2017-02-18 15:03:57 -08:00
Tim Abbott
845f7c10e5
docs: tweak markdown manual testing docs a bit.
2017-02-16 16:24:12 -08:00
Yago González
3746a857af
docs: Add details about local echo with Markdown.
2017-02-16 16:24:12 -08:00
Feorlen
b2049a3b06
Clarify the install process's use of the root and zulip users.
...
Fixes #3680 .
2017-02-14 20:44:20 -08:00
Yago González
1861f02de7
docs: Minor fixes on Zulip's Markdown.
2017-02-14 20:41:29 -08:00
Alicja Raszkowska
1cda0a346f
docs: Add a resource to code review doc.
...
Add James J. Porter's article on code review.
2017-02-14 11:32:01 +01:00
Tim Abbott
96f044cb78
docs: Encourage participation in chat.zulip.org.
2017-02-12 17:27:20 -08:00
Tim Abbott
fb23d6970e
docs: Better describe chat.zulip.org.
2017-02-12 17:16:28 -08:00
Tim Abbott
f603235735
docs: Rename #provision -> #provision help.
2017-02-12 17:08:22 -08:00
Tim Abbott
9df733d035
docs: Rename installation help -> production help.
2017-02-12 17:04:05 -08:00
Tim Abbott
9eaa0472d5
docs: Update links to point to new chat-zulip-org.html.
2017-02-12 16:57:14 -08:00
Tim Abbott
35ab9de53c
docs: Document chat.zulip.org.
2017-02-12 16:57:11 -08:00
Tim Abbott
29ae1b4d4d
docs: Fix link to formal/information in German guide.
2017-02-12 16:46:53 -08:00
Tim Abbott
eae125e72f
docs: Clarify transifex documentation.
2017-02-11 16:57:50 -08:00
Robert Hönig
cbac3fcd64
Merge German translation docs.
...
Merge the German translation docs 'general-notes.md' and
'special-terms.md' into one translation guide 'german.md'.
2017-02-11 16:42:57 -08:00
saisrivathsa
b867ac3496
Extract zerver/lib/events.py from actions.py with event registration.
...
This moves do_events_register, fetch_initial_state_data and friends to
a new file.
Modified significantly by tabbott for correctness and to remove unused
imports.
Fixes #3635 .
2017-02-10 16:50:43 -08:00
Tim Abbott
92219aa3dd
docs: Add a long document explaining the events system.
...
This is probably one of Zulip's most important systems, and thus worth
documenting carefully.
2017-02-10 01:17:15 -08:00
Tim Abbott
092bdc7645
docs: Update the casper docs based on recent debugging.
...
Having just found that a number of our casper tests were buggy because
they were using casper.waitForSelector and fixed those, this seemed
like a good opportunity to update the docs to recommend the selectors
that more faithfully do what developers expect them to.
While I was at it, I tried to make this a bit better organized, though
I think more work could be done on that front.
2017-02-09 23:35:11 -08:00
Kouhei Sutou
5764054bbb
docs: Fix markup issue in pgroonga docs.
2017-02-08 10:17:23 -08:00
hackerkid
8b2d4f150a
Vagrantfile: Add support for a custom post-provision script.
...
Documentation tweaked by tabbott.
Fixes #3108 .
2017-02-07 18:38:07 -08:00
Tim Abbott
cf4faf6598
docs: Clarify that non-webhook integrations need documentation too.
2017-02-07 18:24:35 -08:00
Feorlen
78b9b83650
Create new webhook walkthrough page from the integration guide.
...
Breaks out the Hello World example to create a new
webhook-walkthrough.md. Includes minor edits so the two docs
read well. Adds the new page, "Webhook walkthrough", to the TOC.
Fixes #3498
2017-02-07 18:22:31 -08:00
Tim Abbott
b809646854
Add release notes from Zulip Server 1.5.1.
...
Also update version.py to reflect that everything in 1.5.1 is in this
branch.
2017-02-07 11:40:49 -08:00
Tim Abbott
fee394f7b6
roadmap: Mark a bunch of projects as completed.
2017-02-07 10:12:01 -08:00
Tim Abbott
e79520c593
Release Zulip Server 1.5.0.
2017-02-06 21:15:17 -08:00
Tim Abbott
4abb6724d0
changelog: Fix a typo in setting name.
2017-02-03 16:34:46 -08:00
Tim Abbott
d6c21c7142
docs: Improve translating guide clarity.
...
This corrects a few details and increases the billing of writing a
translating style guide.
2017-02-03 14:45:56 -08:00
Yago González
00a9f68eea
docs: Improve the translation guide.
2017-02-03 14:38:52 -08:00
Tim Abbott
633d4d1882
docs: Update customization docs slightly for Zulip 1.5.
...
There's more we'll want to do here now that we have /help/, but this
is a good start.
2017-02-03 12:57:50 -08:00
Tim Abbott
21f09dcab7
docs: Make it harder to screw up our manage.py commands.
2017-02-03 12:57:50 -08:00
Tim Abbott
621e3f68ba
docs: Update changelog.
2017-02-02 17:44:17 -08:00
Cynthia Lin
944b809fd7
docs: Replace "search help" with "search operators".
...
For better clarification and to avoid confusion with user documentation tab.
2017-02-02 12:25:58 -08:00
Tim Abbott
a03d816983
docs: Update release checklist to mention GitHub.
2017-02-01 09:48:00 -08:00
Yago González
a52cd99452
docs: Add book about OSS prod to the reading list.
2017-01-30 11:32:23 -08:00
Steve Howell
00e815e91d
Removed duplicates from changelog.
2017-01-30 11:15:28 -08:00
Tim Abbott
96d3bea6d5
Add changelog from Zulip 1.4.3 release.
2017-01-29 15:32:08 -08:00
Tim Abbott
d38b552b02
docs: Add initial documentation on the emoji system.
2017-01-29 12:15:29 -08:00
Tim Abbott
0f75c8d4ed
docs: Simplify integration guide discussion of writing docs.
...
You don't need to know about the div structure of /integrations
anymore, so we shouldn't get into it.
2017-01-29 11:53:09 -08:00
Tomasz Kolek
3b48f21f5a
Add improvements to integration-guide.md.
...
Fix some typos, add a few sentences that might clear it a little.
2017-01-29 11:49:13 -08:00
Tim Abbott
e8fd780413
docs: Fix missing wget when downloading tsearch_extra.
...
Fixes #3509 .
2017-01-29 11:23:34 -08:00
Yago González
d0d0e6956a
docs: Improve Spanish style guide.
2017-01-28 19:08:14 -08:00
Tim Abbott
36d54cf5ff
Replace references to zulip.com/dist with zulip.org/dist.
...
Now that zulip.org has all the files to distribute, there's no reason
to still point to the soon-to-be-decommissioned zulip.com/dist.
2017-01-28 17:56:25 -08:00
Akash Kothawale
46ffafab7d
docs: Use bash to run tools/provision in docker.
2017-01-27 14:54:18 -08:00
hackerkid
c42e4000d6
docs: Suggest vagrant provision if up errors.
...
Fixes #3486 .
2017-01-27 14:41:29 -08:00
Tim Abbott
b52f606c3a
Revert "deps: Upgrade and move `jquery-mousewheel` from `static/third` to `npm`"
...
Apparently, the updated version of this has a serious scrolling
performance problem in the left sidebar that basically makes scrolling
in that area unusable.
This reverts commit b683b2d3c3
.
2017-01-26 13:42:00 -08:00