Skip to content

Commit

Permalink
Merge pull request #34879 from dimagi/df/fix_broken_links
Browse files Browse the repository at this point in the history
Updated broken links
  • Loading branch information
dreesefadil authored Jul 31, 2024
2 parents 93d65b0 + cccd570 commit cae1d69
Show file tree
Hide file tree
Showing 37 changed files with 64 additions and 83 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ to see how that works.

.. _Dimagi: http://www.dimagi.com/
.. _issue tracker: https://github.com/dimagi/commcare-hq/issues
.. _bug reports: https://confluence.dimagi.com/display/commcarepublic/Bug+Reports
.. _bug reports: https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143956931/Submit+a+Support+Request
.. _Standards and Best Practices: STANDARDS.rst
.. _Style Guide: https://www.commcarehq.org/styleguide/
.. _Javascript Guide: docs/js-guide/README.md
Expand Down
4 changes: 2 additions & 2 deletions DEV_FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ Check out the `generate_fake_sms_data` command.

### Applications

If you have an application on commcarehq.org, follow [these instructions](https://confluence.dimagi.com/display/commcarepublic/Copying+an+Application+between+Projects+or+Servers) to copy it to your local environment.
If you have an application on commcarehq.org, follow [these instructions](https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143955454/Copy+or+Delete+an+Application) to copy it to your local environment.

There are also [three template apps](https://github.com/dimagi/commcare-hq/tree/master/corehq/apps/app_manager/static/app_manager/template_apps) checked into the codebase.
You can run [load_app_from_slug](https://github.com/dimagi/commcare-hq/blob/6021df8639dc0053c8dbdbb8690993be708776c5/corehq/apps/app_manager/views/apps.py#L510) in a django shell to import one of these apps. Note that you may wish to only run the first few lins of `load_app_from_slug` if you don't care about your app having multimedia.

### Cases

The easiest way to add cases locally is generally to use your local case importer. [Docs](https://confluence.dimagi.com/display/commcarepublic/Importing+Cases+Using+Excel)
The easiest way to add cases locally is generally to use your local case importer. [Docs](https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946828/Importing+Cases+Using+Excel)
for this are extensive, but at its most basic, you can just upload a single-column file with a bunch of case names to create cases.

### Cases + App + Data Dictionary
Expand Down
5 changes: 3 additions & 2 deletions corehq/apps/app_manager/add_ons.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ def _grandfathered(slug, app):
name=_("Case Detail Overwrite"),
description=_("Ability to overwrite one case list or detail's settings with another's. "
"Available in menu settings, in the actions tab."),
help_link="https://confluence.dimagi.com/display/commcarepublic/Overwriting+Case+List+and+Case+Detail+Configuration"
help_link=("https://dimagi.atlassian.net/wiki/spaces/commcarepublic/"
"pages/2143951603/Case+List+and+Case+Detail+Configuration")
),
"case_list_menu_item": AddOn(
name=_("Case List Menu Item"),
Expand All @@ -124,7 +125,7 @@ def _grandfathered(slug, app):
name=_("Display Conditions"),
description=_("Write logic to show or hide forms and menus on the mobile device. "
"Available in form and menu settings."),
help_link="https://confluence.dimagi.com/display/commcarepublic/Application+Design",
help_link="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2431123463/App+Design",
used_in_form=lambda f: bool(getattr(f, 'form_filter', False)),
used_in_module=lambda m: bool(m.module_filter),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49456,7 +49456,7 @@ define('vellum/core',[
title: gettext("Advanced"),
text: gettext("These are advanced settings and are not needed for most applications. " +
"Please only change these if you have a specific need!"),
link: "https://confluence.dimagi.com/display/commcarepublic/Application+Building"
link: "https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946283/Application+Development"
}
}
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@

- name: "Auto-Resize Images"
description: "Automatically resizes images within forms. Follow
<a href='https://confluence.dimagi.com/display/commcarepublic/Auto-Resize+Images+on+Android'>
<a href='https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946731/Images+in+CommCare'>
the instructions here</a> to determine which value to use."
id: "cc-resize-images"
values:
Expand Down Expand Up @@ -298,7 +298,7 @@
- name: "Image Compatibility on Multiple Devices"
description: "When a value is selected, this feature controls the display size of any user-provided image such
that it will be consistent with the size of the original image file, and consistent across devices. Follow
<a href='https://confluence.dimagi.com/display/commcarepublic/Image+Sizing+with+Multiple+Android+Device+Models'>
<a href='https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946731/Images+in+CommCare'>
the instructions here</a> to determine which value to use."
id: "cc-inflation-target-density"
values:
Expand Down
4 changes: 2 additions & 2 deletions corehq/apps/app_manager/static_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
gettext_noop('Auto-login'),
gettext_noop('Auto-manage URLs'),
gettext_noop('Automatic'),
gettext_noop('Automatically resizes images within forms. Follow <a href=\'https://confluence.dimagi.com/display/commcarepublic/Auto-Resize+Images+on+Android\'> the instructions here</a> to determine which value to use.'),
gettext_noop('Automatically resizes images within forms. Follow <a href=\'https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946731/Images+in+CommCare\'> the instructions here</a> to determine which value to use.'),
gettext_noop('Automatically trigger a two-way sync on a regular schedule'),
gettext_noop('Basic'),
gettext_noop('Both Hierarchical and Flat Fixture'),
Expand Down Expand Up @@ -203,7 +203,7 @@
gettext_noop('What kind of log transmission the phone should attempt on a daily basis (submitted to PostURL)'),
gettext_noop('What kind of log transmission the phone should attempt on a weekly basis (submitted to PostURL)'),
gettext_noop('What the \'Extra Key\' (# on Nokia Phones) does when pressed'),
gettext_noop('When a value is selected, this feature controls the display size of any user-provided image such that it will be consistent with the size of the original image file, and consistent across devices. Follow <a href=\'https://confluence.dimagi.com/display/commcarepublic/Image+Sizing+with+Multiple+Android+Device+Models\'> the instructions here</a> to determine which value to use.'),
gettext_noop('When a value is selected, this feature controls the display size of any user-provided image such that it will be consistent with the size of the original image file, and consistent across devices. Follow <a href=\'https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946731/Images+in+CommCare\'> the instructions here</a> to determine which value to use.'),
gettext_noop('When auto-sync is enabled CommCare will attempt to submit forms and synchronize the user\'s data after logging in with the frequency chosen.'),
gettext_noop('When loose media mode is set to yes, CommCare will search for alternative media formats for any media that it cannot play. If CommCare attempts to play a file at jr://file/media/prompt_one.mp3 and mp3 files are not supported, the media directory will be searched for other files named prompt_one with alternative extensions which may be supported, for instance prompt_one.wav, and play that instead.'),
gettext_noop('When the phone has this number of unsynced forms stored locally CommCare will trigger a warning'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ <h1>
COVID-19 template applications for our open source platform, CommCare. These have been developed based on
clinical protocols from the World Health Organization, the Centers for Disease Control, and others.
</p>
<p>
<strong>
For more information about these template applications, please visit Dimagi's
<a href="https://confluence.dimagi.com/display/commcarepublic/CommCare+for+COVID-19" target="_blank">COVID-19 wiki</a>.
</strong>
</p>
<p class="help-block">
These application templates can be imported into your project space as licensed by Dimagi under the
<a target="_blank" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons NonCommercial ShareAlike License (CC BY-NC-SA 4.0)</a>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div>
<p>{% trans "To save time when building large applications, it can be useful to copy one menu's entire case list or case details configuration to another menu." %}
<a target="_blank"
href="https://confluence.dimagi.com/display/commcarepublic/Overwriting+Case+List+and+Case+Detail+Configuration">
href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143951603/Case+List+and+Case+Detail+Configuration">
{% trans "Learn More" %}
</a>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<script type="text/html" id="module-filter-xpath-error-html" class="hide">
There is something wrong with the logic in the filter.
Check to make sure your parentheses match.
Read more about filters <a href="https://confluence.dimagi.com/display/commcarepublic/Module+Filtering">here</a>.
Read more about filters <a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946138/Menu+Filtering">here</a>.
</script>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ <h4 class="panel-title">
Note: Offline install automatically installs all multimedia
included in your form. All subsequent remote updates will also
include multimedia which could require a lot of data. See the
<a href='https://confluence.dimagi.com/display/commcarepublic/Install+CommCare+for+Android+Smartphones'>
<a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946239/Installing+CommCare+on+Android+Devices">
Help Site
</a> for more info.
{% endblocktrans %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<p>
{% blocktrans %}
For more information on deprecated case types, see the following
<a target="_blank" href="https://confluence.dimagi.com/display/commcarepublic/Deprecating+Case+Types+and+Case+Properties+using+Data+Dictionary">documentation</a>.
<a target="_blank" href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143944977/Data+Dictionary">documentation</a>.
{% endblocktrans %}
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<br/>
<input type="checkbox" data-bind="checked: smartLangDisplay"/>
{% trans "Smart language display in forms" %}.
<a href="https://confluence.dimagi.com/display/commcarepublic/Hide+languages+in+forms" target="_blank">Learn more</a>
<a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2281275512/Language+Configuration+Translation" target="_blank">Learn more</a>
</div>
{% endif %}
<div data-bind="if: removedLanguages().length" class="removed-languages">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<p>
Documentation for bulk case imports can be found on our
<a
href="https://confluence.dimagi.com/display/commcarepublic/Updating+Cases+-+Update+multiple+case+types+in+a+single+Excel+import"
href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946828/Importing+Cases+Using+Excel"
target="_blank">
help page for this feature.
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h4 class="modal-title">
</ul>
<p>
For more information on deprecated case types, see the
<a target="_blank" href="https://confluence.dimagi.com/display/commcarepublic/Deprecating+Case+Types+and+Case+Properties+using+Data+Dictionary">following documentation</a>.
<a target="_blank" href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143944977/Data+Dictionary">following documentation</a>.
</p>
{% endblocktrans %}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{% blocktrans %}
Create rules for updating or closing cases from CommCare HQ.
All rules run every day at {{ time }} GMT.
For more information, see the <a href="https://confluence.dimagi.com/display/commcarepublic/Automatically+Close+Cases">Help Site</a>.
For more information, see the <a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143957601/Automatically+Update+Cases">Help Site</a>.
{% endblocktrans %}
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
queries or to identify unclean data.<br />
This is a Feature Preview.
{% endblocktrans %}
<a href="https://confluence.dimagi.com/display/commcarepublic/Feature+Previews"
<a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143947412/Add-Ons"
target="_blank">
{% trans "Learn more." %}
</a>
Expand Down
3 changes: 2 additions & 1 deletion corehq/apps/data_interfaces/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,8 @@ def page_context(self):
domain_obj = Domain.get_by_name(self.domain)
hour = domain_obj.auto_case_update_hour
context.update({
'help_site_url': 'https://confluence.dimagi.com/display/commcarepublic/Automatically+Close+Cases',
'help_site_url': ('https://dimagi.atlassian.net/wiki/spaces/'
'commcarepublic/pages/2143957601/Automatically+Update+Cases'),
'time': f"{hour}:00" if hour else _('midnight'), # noqa: E999
})
return context
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
<span class="hq-help-template"
data-content='{% blocktrans %}
<p>Checking this will add a button to download a configuration file
for the <a href="https://confluence.dimagi.com/display/commcarepublic/CommCare+Data+Export+Tool" target="_blank">
for the <a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143955952/CommCare+Data+Export+Tool+DET" target="_blank">
CommCare Data Export Tool</a> for the export.</p>
{% endblocktrans %}
{% if not has_api_access %}
Expand Down
2 changes: 1 addition & 1 deletion corehq/apps/export/templates/export/download_export.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h4>
<p>
{% blocktrans %}
To get started, please
<a href="https://confluence.dimagi.com/display/commcarepublic/Deploy+and+Install+an+Application+on+CommCareHQ"
<a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143947269/Publish+Your+Application"
target="_blank">deploy</a>
your application and submit data from a phone. You may also
<a href="https://help.commcarehq.org/display/commcarepublic/Web+Apps"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h4>{% trans "Suggestions" %}</h4>
Please deploy an application and submit data before creating any {{ export_type_plural }}.
{% endblocktrans %}
</p>
<a href="https://confluence.dimagi.com/display/commcarepublic/Application+Building"
<a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143946283/Application+Development"
target="_blank">
<i class="fa fa-info-circle"></i>
{% trans 'How to Create and Deploy a CommCare Application.' %}
Expand Down
2 changes: 1 addition & 1 deletion corehq/apps/export/templates/export/partials/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ <h4 class="modal-title">
data-bind="if: emailedExport.taskStatus && emailedExport.taskStatus.failed() == 'too_large'">
<i class="fa-solid fa-triangle-exclamation"></i>
{% blocktrans with max_rows=max_daily_export_size|intcomma %}
Your export exceeds the limit of {{ max_rows }} rows. Please see <a href="https://confluence.dimagi.com/display/commcarepublic/Selecting+Tools+for+CommCare+Data+Processing+and+Analysis" data-toggle="modal">documentation</a> for more information.
Your export exceeds the limit of {{ max_rows }} rows. Please see <a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143957751/Data+Analysis+Visualization" data-toggle="modal">documentation</a> for more information.
{% endblocktrans %}
</p>

Expand Down
3 changes: 2 additions & 1 deletion corehq/apps/reports/filters/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ class ExpandedMobileWorkerFilter(BaseMultipleOptionFilter):
'When searching by location, put your location name in quotes to show only exact matches. '
'To more easily find a location, you may specify multiple levels by separating with a "/". '
'For example, "Massachusetts/Suffolk/Boston". '
'<a href="https://confluence.dimagi.com/display/commcarepublic/Search+for+Locations"'
'<a href="https://dimagi.atlassian.net/wiki/spaces/'
'commcarepublic/pages/2215051298/Organization+Data+Management"'
'target="_blank">Learn more</a>.'
))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h4 class="modal-title">
{% blocktrans %}
This feature will only update the specified questions.
It will <strong>not</strong> run any calculations or affect cases.
<a target="_blank" href="https://confluence.dimagi.com/display/commcarepublic/Data+Cleaning%3A+Clean+Form+Submission">Read more</a>.
<a target="_blank" href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143954777/Clean+Form+Submission">Read more</a>.
{% endblocktrans %}
</div>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h4 class="modal-title">
{% blocktrans %}
This feature will only update the specified questions.
It will <strong>not</strong> run any calculations or affect cases.
<a target="_blank" href="https://confluence.dimagi.com/display/commcarepublic/Data+Cleaning%3A+Clean+Form+Submission">Read more</a>.
<a target="_blank" href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143954777/Clean+Form+Submission">Read more</a>.
{% endblocktrans %}
</div>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{% blocktrans %}
This case uses a deprecated case type.
See the
<a target="_blank" href="https://confluence.dimagi.com/display/commcarepublic/Deprecating+Case+Types+and+Case+Properties+using+Data+Dictionary">help documentation</a>
<a target="_blank" href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143944977/Data+Dictionary">help documentation</a>
for more information.
{% endblocktrans %}
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{% blocktrans %}
This case uses a deprecated case type.
See the
<a target="_blank" href="https://confluence.dimagi.com/display/commcarepublic/Deprecating+Case+Types+and+Case+Properties+using+Data+Dictionary">help documentation</a>
<a target="_blank" href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143944977/Data+Dictionary">help documentation</a>
for more information.
{% endblocktrans %}
</p>
Expand Down
3 changes: 2 additions & 1 deletion corehq/apps/sso/utils/url_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ def get_oidc_logout_url(identity_provider):


def get_documentation_url(identity_provider):
return 'https://confluence.dimagi.com/display/commcarepublic/Set+up+SSO+for+CommCare+HQ'
return ('https://dimagi.atlassian.net/wiki/spaces/'
'commcarepublic/pages/2143945270/Single+Sign-On+for+CommCare+HQ')


def get_dashboard_link(identity_provider):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<p>
<i class="fa fa-info-circle"></i>
{% blocktrans %}
<a href="https://confluence.dimagi.com/display/commcarepublic/Roles+and+Permissions"
<a href="https://dimagi.atlassian.net/wiki/spaces/commcarepublic/pages/2143957921/Roles+and+Permissions+Overview"
target="_blank">Learn more</a> about how roles &amp; permissions are used.
{% endblocktrans %}
</p>
Expand Down
Loading

0 comments on commit cae1d69

Please sign in to comment.