Merge pull request #10509 from luzpaz/typos

Fix typos
pull/10514/head
Henriette Darge 3 years ago committed by GitHub
commit 300b2cff00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/bim-guide/README.md
  2. 4
      docs/bim-guide/bim-issue-management/README.md
  3. 8
      docs/bim-guide/ifc-viewer/README.md
  4. 4
      docs/bim-guide/revit-add-in/README.md
  5. 2
      docs/development/saml/README.md
  6. 2
      frontend/src/app/core/apiv3/helpers/get-paginated-results.ts
  7. 2
      frontend/src/app/core/augmenting/dynamic-scripts/repository_settings.js
  8. 2
      frontend/src/app/core/setup/globals/global-listeners/top-menu.ts
  9. 2
      frontend/src/app/features/work-packages/components/wp-query/url-params-helper.ts
  10. 2
      lib/api/v3/projects/project_representer.rb
  11. 2
      modules/backlogs/app/controllers/rb_wikis_controller.rb
  12. 2
      modules/backlogs/spec/features/stories_in_backlog_spec.rb
  13. 2
      modules/reporting/app/helpers/reporting_helper.rb
  14. 2
      modules/reporting/app/models/cost_query/custom_field_mixin.rb
  15. 2
      modules/reporting/lib/report/filter/base.rb
  16. 2
      modules/reporting/lib/widget/filters/heavy.rb
  17. 2
      modules/reporting/spec/models/cost_query/operator_spec.rb
  18. 2
      modules/webhooks/lib/open_project/webhooks.rb
  19. 2
      spec/contracts/groups/shared_contract_examples.rb
  20. 2
      spec/features/auth/omniauth_spec.rb
  21. 4
      spec/models/query/results_subproject_filter_integration_spec.rb
  22. 2
      spec/requests/api/v3/support/api_v3_collection_response.rb

@ -58,7 +58,7 @@ You easily can start a new BIM trial on our [OpenProject BIM website](https://ww
## How to enable the BCF module?
The BCF Module and the included IFC viewer can be enabled for every single project. Here you can find the description how to [enable a module](../user-guide/projects/project-settings/modules/) within your ***poject settings***.
The BCF Module and the included IFC viewer can be enabled for every single project. Here you can find the description how to [enable a module](../user-guide/projects/project-settings/modules/) within your ***project settings***.
@ -74,13 +74,13 @@ You found a bug? Please [report it](../development/report-a-bug) to our [OpenPro
### Can OpenProject features be used within the OpenProject BIM Edition?
Yes, you are able to use all known features. Within our BIM Edition you get the full functionality and additionaly some features only for the building industry.
Yes, you are able to use all known features. Within our BIM Edition you get the full functionality and additionally some features only for the building industry.
### Is it possible to switch my existing OpenProject Installation to the BIM Edition?
Yes, an existing OpenProject on-premises (self-hosted) installation can easily be switched to the BIM Edition without loosing your settings and projects.
Yes, an existing OpenProject on-premises (self-hosted) installation can easily be switched to the BIM Edition without losing your settings and projects.
In our [Installation & Upgrade Guide](../installation-and-operations/changing-to-bim-edition) you can find a description how to switch.

@ -52,7 +52,7 @@ Click on the **+ Create new work package** and select the type of workpackage yo
Now you can see a detail view of the new Issue. Describe all necessary information to work on that task and add a viewpoint by clicking on the **"+ Viewpoint"**-Button. Now the current Viewpoint of the Building Model is added to the Issue. After saveing your new BIM issue is created.
Now you can see a detail view of the new Issue. Describe all necessary information to work on that task and add a viewpoint by clicking on the **"+ Viewpoint"**-Button. Now the current Viewpoint of the Building Model is added to the Issue. After saving your new BIM issue is created.
*Within the viewpoint the current status of your building model is saved. So please check the view before - is there everything shown within the model viewer?*
@ -95,7 +95,7 @@ The handling of BIM Issues is similar to the handling of work packages (includin
### Jump to a Viewpoint with the Details View
If the Model viewer isn't shown yet, open the Detail - view of the BIM Issue and follow the Cube symol of the preview. Now the model viewer opens and the viewpoint of the BIM Issue will be displayed.
If the Model viewer isn't shown yet, open the Detail - view of the BIM Issue and follow the Cube symbol of the preview. Now the model viewer opens and the viewpoint of the BIM Issue will be displayed.
![Display BIM Issue](display_bim_issue.png)

@ -23,7 +23,7 @@ The BCF Module has included a very powerful IFC viewer. Here is a short overview
1. **IFC Model Viewer** to have a look at the building model directly within OpenProject BIM.
2. **IFC Model Tree** to see the IFC Model Structure and show / hide elements.
3. The **OpenProject toolbar** shows the most important user actions like createing new (BIM) issues, Import & Export BCF files, Change OpenProject View and upload & download IFC-Models
3. The **OpenProject toolbar** shows the most important user actions like creating new (BIM) issues, Import & Export BCF files, Change OpenProject View and upload & download IFC-Models
4. The **View Cube** to rotate the building model.
5. The **IFC-Viewer toolbar** to interact with the building model (e.g. change perspective, hide/ show elements, select elements & slice the building model)
@ -84,7 +84,7 @@ To rotate the IFC model you either left-click on the building viewer and ***rota
## IFC-Viewer toolbar
The IFC-Viewer toolbar has many functions which are described below. The user actions all relate to the viewer and can be startet by clicking on the button.
The IFC-Viewer toolbar has many functions which are described below. The user actions all relate to the viewer and can be started by clicking on the button.
### Reset-View
@ -110,7 +110,7 @@ If your building model can easily be shown in 2D or 3D. This function is very po
![Orthographic Button](orthographic-button.png)
The default behavior of the OpenProject BIM Model Viewer is a perspective view. The perspective camera gives you more information about depth. Distant objects are smaller than nerby ones. This function changes from perspective view to orthographic view. The orthographic view is widely used in engineering. All objects appear at the same scale and parallel lines remain parallel. Also a unit length appears the same length anywhere on the sceen. This makes it easier to assess the relative sizes.
The default behavior of the OpenProject BIM Model Viewer is a perspective view. The perspective camera gives you more information about depth. Distant objects are smaller than nerby ones. This function changes from perspective view to orthographic view. The orthographic view is widely used in engineering. All objects appear at the same scale and parallel lines remain parallel. Also a unit length appears the same length anywhere on the screen. This makes it easier to assess the relative sizes.
![Orthographic View](orthographic-view.png)
@ -162,7 +162,7 @@ You are able to clear all slices by using the ***dropdown*** menu next to the "*
## How to select elements?
To select elements within the building model, you have to activate the selection mode by clicking on the highlighted toogle button placed in the ***IFC-Viewer toolbar***. After activating the selection mode you are able to select a single or multiple elements within the viewer by left click. Your individual selection won't be reset after leaving the selection mode. You are able to reset your current selection with the context menu (right click).
To select elements within the building model, you have to activate the selection mode by clicking on the highlighted toggle button placed in the ***IFC-Viewer toolbar***. After activating the selection mode you are able to select a single or multiple elements within the viewer by left click. Your individual selection won't be reset after leaving the selection mode. You are able to reset your current selection with the context menu (right click).
![Select Elements Button](select-elements-button.png)

@ -22,7 +22,7 @@ To download the latest version (v2.2.3) of our OpenProject Revit AddIn click her
## Before Usage
Please check the following steps before useing the OpenProject BIM Edition.
Please check the following steps before using the OpenProject BIM Edition.
1. Does OpenProject BIM support your [Version of Revit](#system-requirements)?
2. Did you already install the latest Version of our OpenProject BIM Addin?
@ -135,7 +135,7 @@ To work with BIM Issues, please open our AddIn and navigate to our BCF Module.
Within this module all existing work packages are displayed. Within this demo project doen't exist any work package yet. To create a new one, click on the "add new workpackage"-Button.
Within this module all existing work packages are displayed. Within this demo project no work package exist yet. To create a new one, click on the "add new workpackage"-Button.
![OpenProject BIM - Create BCF](OpenProject_BIM_Create_BCF.png)

@ -137,7 +137,7 @@ default:
Here, again you will have to change the hostname `localhost:3000` with the hostname of your OpenProject installation, and the iDP host name if you're not running both locally. I'd recommed to run both locally though for simplicity.
Here, again you will have to change the hostname `localhost:3000` with the hostname of your OpenProject installation, and the iDP host name if you're not running both locally. I'd recommend to run both locally though for simplicity.

@ -14,7 +14,7 @@ import { HalResource } from 'core-app/features/hal/resources/hal-resource';
/**
* The API will resolve pageSize=-1 to the maximum value
* we can request in one call. This is configurable under adminstration.
* we can request in one call. This is configurable under administration.
*/
export const MAGIC_PAGE_NUMBER = -1;

@ -76,7 +76,7 @@ jQuery(function($){
toggleContent(content, checkedInput.val());
}
// Necessary for accessibilty purpose
// Necessary for accessibility purpose
jQuery('#scm_vendor').on('change', function(){
window.setTimeout(function(){
document.getElementsByName('scm_type')[0].focus();

@ -231,7 +231,7 @@ export class TopMenu {
}
// actually a simple focus should be enough.
// The rest is only there to work around a rendering bug in webkit (as of Oct 2011),
// occuring mostly inside the login/signup dropdown.
// occurring mostly inside the login/signup dropdown.
toFocus.blur();
setTimeout(() => {
toFocus.focus();

@ -67,7 +67,7 @@ export interface QueryProps {
hla?:string[];
// Display representation
dr?:string;
// Inlude subprojects
// Include subprojects
is?:boolean;
// Pagination
pa?:string|number;

@ -155,7 +155,7 @@ module API
uncacheable: true do
represented.ancestors_from_root.map do |ancestor|
# Explicitly check for admin as an archived project
# will lead to the admin loosing permissions in the project.
# will lead to the admin losing permissions in the project.
if current_user.admin? || ancestor.visible?
{
href: api_v3_paths.project(ancestor.id),

@ -28,7 +28,7 @@
class RbWikisController < RbApplicationController
# NOTE: The methods #show and #edit are public (see init.rb). We will let
# OpenProject's WikiController#index take care of autorization
# OpenProject's WikiController#index take care of authorization
#
# NOTE: The methods #show and #edit create a template page when called.
def show

@ -247,7 +247,7 @@ describe 'Stories in backlog',
expect(Story.where(version: sprint, type: story, project: project).pluck(:position))
.to match_array([1, 2, 3])
# Moving a story to from the backlog to the sprint (3nd position)
# Moving a story to from the backlog to the sprint (3rd position)
SeleniumHubWaiter.wait
backlogs_page

@ -62,7 +62,7 @@ module ReportingHelper
CostQuery::GroupBy.const_get(name).label
else
# note that using WorkPackage.human_attribute_name relies on the attribute
# being an work_package attribute or a general attribute for all models whicht might not
# being an work_package attribute or a general attribute for all models which might not
# be the case but so far I have only seen the "comments" attribute in reports
WorkPackage.human_attribute_name(field)
end

@ -158,7 +158,7 @@ module CostQuery::CustomFieldMixin
end
def new(*)
fail "Only subclasses of #{self} should be instanciated." if factory?
fail "Only subclasses of #{self} should be instantiated." if factory?
super
end

@ -186,7 +186,7 @@ class Report::Filter
super.tap do |query|
arity = operator.arity
query_values = [*transformed_values].compact
# if there is just the nil it might be actually intendet to be there
# if there is just the nil it might be actually intended to be there
query_values.unshift nil if Array(values).size == 1 && Array(values).first.nil?
query_values = query_values[0, arity] if query_values and arity >= 0 and arity != query_values.size
operator.modify(query, field, *query_values) unless field.empty?

@ -32,7 +32,7 @@
# But well this is again one of those temporary solutions.
class Widget::Filters::Heavy < Widget::Filters::Base
def render
# TODO: sometimes filter.values is of the form [["3"]] and somtimes ["3"].
# TODO: sometimes filter.values is of the form [["3"]] and sometimes ["3"].
# (using cost reporting)
# this might be a bug - further research would be fine
values = filter.values.first.is_a?(Array) ? filter.values.first : filter.values

@ -152,7 +152,7 @@ describe CostQuery, type: :model, reporting_query_helper: true do
expect(query('projects', 'created_at', 't+', 1).size).to eq(n + 1)
end
it "does >t+ (after the day which is n days in the furure)" do
it "does >t+ (after the day which is n days in the future)" do
n = query('projects', 'created_at', '>t+', 1).size
create(:project, created_at: Time.now)
expect(query('projects', 'created_at', '>t+', 1).size).to eq(n)

@ -57,7 +57,7 @@ module OpenProject
hook
end
# Unregisters a webhook. Might be usefull for tests only, because routes can not
# Unregisters a webhook. Might be useful for tests only, because routes can not
# be redrawn in a running instance
def self.unregister_hook(name)
hook = find(name)

@ -37,7 +37,7 @@ shared_examples_for 'group contract' do
shared_context 'with real group users' do
# make sure users actually exist (not just stubbed) in this case
# so GroupUser validations checking for the existance of group and user don't fail
# so GroupUser validations checking for the existence of group and user don't fail
before do
group_users_user_ids.each do |id|
create :user, id: id

@ -186,7 +186,7 @@ describe 'Omniauth authentication', type: :feature do
it_behaves_like 'omniauth user registration'
it 'should redirect to homesceen' do
it 'should redirect to homescreen' do
visit account_lost_password_path
click_link("Omniauth Developer", match: :first)

@ -92,7 +92,7 @@ describe ::Query::Results, 'Subproject filter integration', type: :model, with_m
end
end
describe 'query with overriden include_subprojects = true' do
describe 'query with overridden include_subprojects = true' do
before do
query.include_subprojects = true
end
@ -130,7 +130,7 @@ describe ::Query::Results, 'Subproject filter integration', type: :model, with_m
end
end
describe 'query with overriden include_subprojects = false' do
describe 'query with overridden include_subprojects = false' do
before do
query.include_subprojects = false
end

@ -54,7 +54,7 @@ shared_examples_for 'API V3 collection response' do |total, count, element_type,
end
end
# Allow overridding the expect HTTP status code
# Allow overriding the expect HTTP status code
let(:expected_status_code) { 200 }
it 'returns a collection successfully' do

Loading…
Cancel
Save