Anders Kaseorg
a4dbc1edd4
docs: Format Markdown with Prettier.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-09-08 12:06:24 -07:00
Anders Kaseorg
35c1c8d41b
docs: Apply sentence single-spacing from Prettier.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-09-08 12:06:24 -07:00
Anders Kaseorg
915884bff7
docs: Apply bullet style changes from Prettier.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-09-08 12:06:24 -07:00
Anders Kaseorg
6145fdf678
docs: Rewrap to avoid line breaks in inline code spans.
...
This works around https://github.com/prettier/prettier/issues/11372 .
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-09-08 12:06:24 -07:00
Anders Kaseorg
646c04eff2
Rename default branch to ‘main’.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-09-06 12:56:35 -07:00
Anders Kaseorg
0e4a30daad
reading-list: Inline links.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-08-20 23:14:37 -07:00
Anders Kaseorg
b53e676860
docs: Convert reST index pages to Markdown.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-08-20 06:22:42 -07:00
Anders Kaseorg
b29b6f6526
docs: Add syntax highlighting languages to code blocks.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-08-20 06:14:47 -07:00
sahil839
9ef8727a4a
docs: Fix new_feature_tutorial to replace add_emoji_by_admins_only.
...
This commit replaces add_emoji_by_admins_only with
add_custom_emoji_policy in new_feature_tutorial.md
as the old boolean setting is replaced by a new
integer setting.
2021-07-27 16:41:23 -07:00
Anders Kaseorg
47897c76a2
scripts: Use curl -f (--fail).
...
This makes curl exit with nonzero status on HTTP 4xx/5xx errors.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-07-13 16:47:49 -07:00
PIG208
a254fa24ee
docs: Use `JsonableError` instead of `json_error`.
2021-06-30 16:26:54 -07:00
Anders Kaseorg
91bfebca7d
install: Replace wget with curl.
...
curl uses Happy Eyeballs to avoid long timeouts on systems with broken
IPv6.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-06-25 09:05:07 -07:00
Anders Kaseorg
544bbd5398
docs: Fix capitalization mistakes.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-05-10 09:57:26 -07:00
Tim Abbott
0044c8f85f
docs: Remove recommendations of json_validator with check_string.
...
See #18035 for background.
2021-05-07 15:12:18 -07:00
Anders Kaseorg
9cae3450ff
docs: Update documentation for FormatJS migration.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-04-13 17:41:10 -07:00
Anders Kaseorg
f0e655f1d8
request: Rename validator parameter of REQ to json_validator.
...
This makes it much more clear that this feature does JSON encoding,
which previously was only indicated in the documentation.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-04-07 14:13:06 -07:00
Riken Shah
f6998d6fee
puppeteer_tests: Remove sequential numbers from test files.
...
The only downside of this is that it makes it harder to control the
order of these tests; which isn't that important. And the structure
of naming each with its test order fundamentally requires renaming
files when adding/deleting tests, so if we want to control the default
test order, we'd be better off doing that by just hardcoding a list in
the test runner code.
2021-04-01 07:46:13 -07:00
shanukun
4dc62f962b
refactor: Make acting_user a mandatory kwarg for do_set_realm_authentication_methods.
2021-03-29 15:51:45 -07:00
shanukun
459710a897
refactor: Make acting_user a mandatory kwarg for do_set_realm_property.
2021-03-29 15:51:45 -07:00
Steve Howell
3fa595ef85
minor: Clean up args for apply_event.
...
We now require keywords, so that there is no
pitfall for mixing up boolean parameters.
Positional parameters are basically evil
when you have a bunch of bools.
I also make user_profile the first argument.
Finally, the code is more diff-friendly.
2021-01-21 15:04:07 -08:00
Vishnu KS
d6743da139
docs test: Verify zulip/zulip file and directory links locally.
2020-11-05 10:07:43 -08:00
Tim Abbott
067cd3a97a
docs: Remove incorrect references to chat.zulip.org.
...
Most of these are Help Center links that should be pointing to the
production Help Center.
2020-10-29 16:46:40 -07:00
Anders Kaseorg
72d6ff3c3b
docs: Fix more capitalization issues.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-10-23 11:46:55 -07:00
areebbeigh
b217cce80f
docs: Fix various typos.
...
This commit fixes typos in:
tutorials/new-feature-tutorial.md
subsystems/sending-messages.md
2020-10-15 14:39:43 -07:00
Anders Kaseorg
6564540d15
docs: Fix some spelling errors.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-10-13 15:47:13 -07:00
Anders Kaseorg
dd48dbd912
docs: Add spaces to “check out”, “log in”, “set up”, “sign up” as verbs.
...
“Checkout”, “login”, “setup”, and “signup” are nouns, not verbs.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-10-13 15:47:13 -07:00
Anders Kaseorg
0228acf0f5
rest: Add rest_path shortcut for path with rest_dispatch.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-09-22 10:51:00 -07:00
Anders Kaseorg
5297e4a30a
urls: Use unqualified imports.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-09-22 10:51:00 -07:00
Anders Kaseorg
e70f2ae58d
rest: Specify rest_dispatch handlers by function, not by string.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-09-22 10:46:28 -07:00
Tim Abbott
a4e499a543
docs: Adjust spelling s/back end/backend/.
2020-09-18 16:39:28 -07:00
Thomas Güttler
740a4a1eff
docs: Spell "front end" as "frontend" consistently.
...
I think it makes sense avoid diversity here.
2020-09-12 11:41:35 -07:00
Alex Vandiver
cf6ebb9c8d
webhooks: Rename api_key_only_webhook_view to webhook_view.
...
There are no other types of webhook views; this is more concise.
2020-09-10 17:47:21 -07:00
Tim Abbott
0b2854f010
docs: Replace Casper docs with Puppeteer docs.
...
This commit also has a few tweaks to the Node testing documentation to
improve its introductory section.
2020-08-30 18:41:17 -07:00
Tim Abbott
992c6126a8
docs: Update many references to Casper.
2020-08-30 17:16:02 -07:00
Tim Abbott
25a0481a7b
docs: Mention data-setting-widget-type.
2020-08-25 17:12:38 -07:00
sahil839
af91ce96b2
docs: Remove 'specify property field type' part from new feature tutorial.
...
This commit removes the part which mentions specifying the property field
type in new feauture tutorial as it is no longer required to specify the
type.
2020-08-25 17:07:07 -07:00
sahil839
84aaf4d231
docs: Fix incorrect element name in dependent settings example.
...
We change the element name from 'realm_create_stream_policy' to
'realm_waiting_period_setting' for dependent settings example in
new feature tutorial.
2020-08-25 17:07:07 -07:00
sahil839
82693f9105
docs: Fix subsection for example feature in new feature tutorial.
...
We change the subsection for example feature from 'Message Feed'
to 'Other Settings' in new feature tutorial.
2020-08-25 17:07:07 -07:00
Anders Kaseorg
c155403884
docs: Fix various capitalization errors.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-11 10:25:52 -07:00
Steve Howell
c60f4236a9
api: Do not require short_name to create user.
...
When you post to /json/users, we no longer
require or look at the short_name parameter,
since we don't use it in any meaningful way.
An upcoming commit will eliminate it from the
database.
2020-07-17 11:15:15 -07:00
arpit551
a2428017e9
audit_log: Log RealmAuditLog in do_set_realm_authentication_methods.
...
Log RealmAuditLog in do_set_realm_authentication_methods and added
tests for it.
2020-07-06 17:38:20 -07:00
arpit551
ba92666dbd
audit_log: Log RealmAuditLog in do_set_realm_property.
...
Log RealmAuditLog in do_set_realm_property and do_remove_realm_domain.
Tests for the changes are written in test_events because it will save
duplicate code for test_change_realm_property.
2020-07-06 17:38:19 -07:00
Anders Kaseorg
dcbc8e66fb
decorator: Remove authenticated_json_post_view.
...
It’s effectively a combination of require_post with
authenticated_json_view and has one use.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-06-30 18:58:23 -07:00
Vishnu KS
138a0cb073
docs: Use modern django URL patterns in examples.
2020-06-24 09:57:43 -07:00
Tim Abbott
71078adc50
docs: Update URLs to use https://zulip.com .
...
We're migrating to using the cleaner zulip.com domain, which involves
changing all of our links from ReadTheDocs and other places to point
to the cleaner URL.
2020-06-08 18:10:45 -07:00
Anders Kaseorg
8cdf2801f7
python: Convert more variable type annotations to Python 3.6 style.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-05-08 16:42:43 -07:00
Anders Kaseorg
7ff9b22500
docs: Convert many http URLs to https.
...
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2020-03-26 21:35:32 -07:00
Stefan Weil
c220b971ae
docs: Fix some typos in documentation (most of them found and fixed by codespell).
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-03-17 05:57:10 -07:00
Mateusz Mandera
7814f52d45
docs: Replace links to Django 1.11 docs with 2.2 links.
2020-02-19 11:51:18 -08:00
Tim Abbott
fa26475fcf
docs: Deal with a few broken links.
2019-10-15 14:03:53 -07:00