Skip to content

Commit 4e25ac3

Browse files
committed
feat: hello codespell
Signed-off-by: Daniel Kesselberg <[email protected]>
1 parent 5679007 commit 4e25ac3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+94
-70
lines changed

.codespellignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SME
2+
te
3+
jus

.codespellrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[codespell]
2+
skip = ./build/*,**/_build/*,*.pot,conf.py,./static/*,./admin_manual/configuration_server/config_sample_php_parameters.rst,./_shared_assets/*,./COPYING
3+
ignore-words = .codespellignore
4+
check-filenames = true

.github/workflows/codespell.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 'Codespell'
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
codespell:
11+
name: Check spelling
12+
runs-on: self-hosted
13+
steps:
14+
- name: Check out code
15+
uses: actions/checkout@v4
16+
- name: Check spelling
17+
uses: codespell-project/actions-codespell@v2

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Using the VSCode DevContainer
170170
This repository contains a full-featured `VSCode DevContainer <https://code.visualstudio.com/docs/devcontainers/containers>`_.
171171
You can use it in your local development environment or via `GitHub Codespaces <https://github.com/features/codespaces>`_.
172172
Just open the container an use one of the commands from above to build the project. For example ``make`` to build the full
173-
documentaion, ``make html`` to build the HTML documentaion or ``make pdf`` to build the PDF documentation. You can also use
173+
documentation, ``make html`` to build the HTML documentation or ``make pdf`` to build the PDF documentation. You can also use
174174
``make SPHINXBUILD=sphinx-autobuild html`` in combination with `port forwarding <https://code.visualstudio.com/docs/devcontainers/containers#_forwarding-or-publishing-a-port>`_
175175
to watch file changes and automatically reload the html preview.
176176

admin_manual/ai/app_llm2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,6 @@ Known Limitations
107107
* Language models can be bad at reasoning tasks
108108
* Language models are likely to generate false information and should thus only be used in situations that are not critical. It's recommended to only use AI at the beginning of a creation process and not at the end, so that outputs of AI serve as a draft for example and not as final product. Always check the output of language models before using it.
109109
* Make sure to test the language model you are using it for whether it meets the use-case's quality requirements
110-
* Language models notoriously have a high energy consumption, if you want to reduce load on your server you can choose smaller models or quantized models in excahnge for lower accuracy
110+
* Language models notoriously have a high energy consumption, if you want to reduce load on your server you can choose smaller models or quantized models in exchange for lower accuracy
111111
* Customer support is available upon request, however we can't solve false or problematic output, most performance issues, or other problems caused by the underlying model. Support is thus limited only to bugs directly caused by the implementation of the app (connectors, API, front-end, AppAPI)
112112
* Due to technical limitations that we are in the process of mitigating, each task currently incurs a time cost of between 0 and 5 minutes in addition to the actual processing time

admin_manual/ai/app_stt_whisper2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ Known Limitations
6868
* The whisper models perform unevenly across languages, and may show lower accuracy on low-resource and/or low-discoverability languages or languages where there was less training data available. The models also exhibit disparate performance on different accents and dialects of particular languages, which may include higher word error rate across speakers of different genders, races, ages, or other demographic criteria.
6969
* Language models are likely to generate false information and should thus only be used in situations that are not critical. It's recommended to only use AI at the beginning of a creation process and not at the end, so that outputs of AI serve as a draft for example and not as final product. Always check the output of language models before using it.
7070
* Make sure to test the language model you are using it for whether it meets the use-case's quality requirements
71-
* Language models notoriously have a high energy consumption, if you want to reduce load on your server you can choose smaller models or quantized models in excahnge for lower accuracy
71+
* Language models notoriously have a high energy consumption, if you want to reduce load on your server you can choose smaller models or quantized models in exchange for lower accuracy
7272
* Customer support is available upon request, however we can't solve false or problematic output, most performance issues, or other problems caused by the underlying model. Support is thus limited only to bugs directly caused by the implementation of the app (connectors, API, front-end, AppAPI)
7373
* Due to technical limitations that we are in the process of mitigating, each task currently incurs a time cost of between 0 and 5 minutes in addition to the actual processing time

admin_manual/configuration_database/db_conversion.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The ``occ db:convert-type`` command handles all the tasks of the conversion. The
3737
php occ db:convert-type [options] type username hostname database
3838

3939
``type`` should be the target database type. The same values are available here as for the ``config.php`` ``dbtype`` parameter. It should be one of: ``mysql`` for MariaDB/MySQL,
40-
``pgsql`` for PostgresSQL, or ``oci`` for Oracle.
40+
``pgsql`` for PostgreSQL, or ``oci`` for Oracle.
4141

4242
The options:
4343

admin_manual/configuration_database/linux_database_configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Requirements
1818

1919
* Decide whether you wish to use MySQL / MariaDB, PostgreSQL, or Oracle as your database
2020
* Pick a recommendeded version of your database by checking the Nextcloud :doc:`System Requirements <../installation/system_requirements>`
21-
* Install and set up the chosen database server software (and preferrred version) before deploying Nextcloud Server
21+
* Install and set up the chosen database server software (and preferred version) before deploying Nextcloud Server
2222

2323
.. note:: The steps for configuring a third party database are beyond the
2424
scope of this document. Please refer to the documentation for your specific
@@ -208,7 +208,7 @@ like this:
208208
extension=pdo_pgsql.so
209209
extension=pgsql.so
210210

211-
[PostgresSQL]
211+
[PostgreSQL]
212212
pgsql.allow_persistent = On
213213
pgsql.auto_reset_persistent = Off
214214
pgsql.max_persistent = -1

admin_manual/configuration_files/encryption_details.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ Sources
347347

348348
- `nextcloud-tools repository on GitHub <https://github.com/syseleven/nextcloud-tools>`_
349349
- `Nextcloud Encryption Configuration documentation <https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/encryption_configuration.html>`_
350-
- `Nextcloud Help response concering the usage of version information <https://help.nextcloud.com/t/allow-file-decryption-with-only-the-files-keys-and-passwords/436/12>`_
350+
- `Nextcloud Help response concerning the usage of version information <https://help.nextcloud.com/t/allow-file-decryption-with-only-the-files-keys-and-passwords/436/12>`_
351351
- `Sourcecode: Creation of the Message Authentication Code <https://github.com/nextcloud/server/blob/a374d8837d6de459500e619cf608e0721ea14574/apps/encryption/lib/Crypto/Crypt.php#L504>`_
352352
- `Sourcecode: Derivation of the Encryption Key <https://github.com/nextcloud/server/blob/a374d8837d6de459500e619cf608e0721ea14574/apps/encryption/lib/Crypto/Crypt.php#L346>`_
353353
- `Sourcecode: Encryption of the File <https://github.com/nextcloud/server/blob/a374d8837d6de459500e619cf608e0721ea14574/apps/encryption/lib/Crypto/Crypt.php#L234>`_

admin_manual/configuration_files/external_storage_configuration_gui.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ individually with the following options:
9393
* Previews
9494
* Enable Sharing
9595
* Filesystem check frequency (Never, Once per direct access)
96-
* Mac NFD Compatability
96+
* Mac NFD Compatibility
9797
* Read Only
9898

9999
The **Encryption** checkbox is visible only when the Encryption app is enabled. Note that server-side

admin_manual/configuration_server/caching_configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ The following options are available to configure when using a redis cluster (all
206206
'dbindex' => 0,
207207
],
208208
209-
.. note:: The port is required as part of the server URL. However, it is not necesarry to list all servers: for example, if all servers are load balanced via the same DNS name, only that server name is required.
209+
.. note:: The port is required as part of the server URL. However, it is not necessary to list all servers: for example, if all servers are load balanced via the same DNS name, only that server name is required.
210210

211211
Connecting to single Redis server over TCP
212212
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

admin_manual/configuration_server/occ_command.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Enabling autocompletion
179179
-----------------------
180180

181181
.. note:: Command autocompletion currently only works if the user you use to execute the occ commands has a profile.
182-
``www-data`` in most cases is ``nologon`` and therefor **cannot** use this feature.
182+
``www-data`` in most cases is ``nologon`` and therefore **cannot** use this feature.
183183

184184
Autocompletion is available for bash (and bash based consoles).
185185
To enable it, you have to run **one** of the following commands::
@@ -1168,7 +1168,7 @@ mimetype, run ``maintenance:mimetype:update-db --repair-filecache`` to apply the
11681168
change to existing files.
11691169

11701170
Run the ``maintenance:theme:update`` command if the icons of your custom theme are not
1171-
updated correctly. This updates the mimetypelist.js and cleares the image cache.
1171+
updated correctly. This updates the mimetypelist.js and clears the image cache.
11721172

11731173
.. _security_commands_label:
11741174

@@ -1748,7 +1748,7 @@ check for that user via the occ command::
17481748

17491749
.. note:: This is not supported by all providers.
17501750

1751-
To re-enable two-factor auth again use the following commmand::
1751+
To re-enable two-factor auth again use the following command::
17521752

17531753
sudo -u www-data php occ twofactorauth:enable <uid> <provider_id>
17541754

admin_manual/configuration_server/security_setup_warnings.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ Some files have not passed the integrity check
123123

124124
Please refer to the :ref:`code_signing_fix_warning_label` documentation how to debug this issue.
125125

126-
Your database does not run with "READ COMMITED" transaction isolation level
126+
Your database does not run with "READ COMMITTED" transaction isolation level
127127
---------------------------------------------------------------------------
128128

129-
"Your database does not run with "READ COMMITED" transaction isolation level.
129+
"Your database does not run with "READ COMMITTED" transaction isolation level.
130130
This can cause problems when multiple actions are executed in parallel."
131131

132132
Please refer to :ref:`db-transaction-label` how to configure your database for this requirement.

admin_manual/configuration_user/user_auth_ldap.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ Example usage::
709709

710710
It is also possible to set the admin group mapping using
711711
``occ ldap:set-config $configId ldapAdminGroup $groupId``, but as the Nextcloud
712-
group ID might not be known (yet) it is recommended (especially for automatized
712+
group ID might not be known (yet) it is recommended (especially for automated
713713
setups) to use the `promote-group` command, that would also pull in the group
714714
and determine the group ID.
715715

admin_manual/file_workflows/access_control.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ assigned.
4343

4444
So you just need to assign the tag to the folder or file, and then block the
4545
tag with a rule group. The check is independent of the user's permissions for
46-
the tag. Therefor restricted and invisible tags are recommended, otherwise a
46+
the tag. Therefore restricted and invisible tags are recommended, otherwise a
4747
user could remove and reassign the tag.
4848

4949
This example blocks access to any folder with the tag ``Confidential``.
@@ -75,7 +75,7 @@ Blocking user groups
7575
When trying to deny access to a group of users, make sure that sharing does not
7676
allow them to create a way back in. When users are able to create a public link,
7777
the users can log themselves out and visit their own public link to access the
78-
files. Since at this point they are no user and therefor no member of the
78+
files. Since at this point they are no user and therefore no member of the
7979
blocked group, they will be able to read and change the file.
8080

8181
The recommended work around is to create the same rule again, and deny access
@@ -87,7 +87,7 @@ External storage
8787

8888
While access to files in external storages is not possible via Nextcloud, users
8989
that have direct access to the external storage, can of course change files
90-
there directly. Therefor it is recommended to disable the ``Allow users to mount
90+
there directly. Therefore it is recommended to disable the ``Allow users to mount
9191
external storage`` option, when trying to to completely lock out users.
9292

9393
.. _available-rules-label:

admin_manual/file_workflows/automated_tagging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ navigate to the configuration and locate the Workflow settings.
2727
In the example you can see a simple rule with only one condition.
2828
It will tag all files with the restricted tag ``Protected file`` that are
2929
uploaded into a folder that is tagged with ``Protect content``. No user can
30-
remove the tag ``Protected file`` and therefor access control and retention
30+
remove the tag ``Protected file`` and therefore access control and retention
3131
both work fine without users being able to work around them.
3232

3333
In this case folder will be also tagged with tag ``Protected file``, to avoid

admin_manual/groupware/calendar.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Reminder notifications
3434
----------------------
3535
Nextcloud handles sending notifications for events.
3636

37-
Nextcloud currently handles two types of reminder notifications: Build-in Nextcloud notifications and
37+
Nextcloud currently handles two types of reminder notifications: Built-in Nextcloud notifications and
3838
email notifications. For the emails to be send, you'll need a configured email server.
3939
See :doc:`../configuration_server/email_configuration`.
4040

admin_manual/groupware/contacts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You can disable access to the system address book by using the app config value
2020

2121
Run ``occ config:app:set dav system_addressbook_exposed --value="no"`` to disable access to the system address book for all users. Please note that this does not influence :ref:`Federated sharing<label-direct-share-link>`.
2222

23-
.. warning:: If clients have already connected to the CalDAV endpoint, the clients might experience sync issues after system address book access was disabled. This can often be remedied by chosing a different default address book on the client and forcing a resync.
23+
.. warning:: If clients have already connected to the CalDAV endpoint, the clients might experience sync issues after system address book access was disabled. This can often be remedied by choosing a different default address book on the client and forcing a resync.
2424

2525
Privacy and User Property Scopes
2626
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

admin_manual/installation/example_centos.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ You have to enable the module stream for 8.2:
9191
Installing PHP and the required modules
9292
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9393

94-
Next, install the PHP modules needed for this install. Remember, because this is a limited basic install, we only install the neccessary modules, not all of them. If you are making a more complete install, please refer to PHP module list in the source installation documentation, :doc:`../installation/source_installation`::
94+
Next, install the PHP modules needed for this install. Remember, because this is a limited basic install, we only install the necessary modules, not all of them. If you are making a more complete install, please refer to PHP module list in the source installation documentation, :doc:`../installation/source_installation`::
9595

9696
dnf install -y php php-cli php-gd php-mbstring php-intl php-pecl-apcu\
9797
php-mysqlnd php-opcache php-json php-zip

admin_manual/installation/example_openbsd.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Since in OpenBSD httpd(8) works with a chroot(8) by default, we need to be sure
208208
Nextcloud final steps
209209
---------------------
210210

211-
Now that we have all in place, you should go to your browser with your URL (I am asuming you have an SSL already installed)::
211+
Now that we have all in place, you should go to your browser with your URL (I am assuming you have an SSL already installed)::
212212

213213
https://domain.tld
214214

admin_manual/installation/harden_server.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ security headers are shipped.
236236
Connections to remote servers
237237
-----------------------------
238238

239-
Some functionalites require the Nextcloud server to be able to connect remote systems via https/443.
239+
Some functionalities require the Nextcloud server to be able to connect remote systems via https/443.
240240
This pragraph also includes the data which is being transmitted to the Nextcloud GmbH.
241241
Depending on your server setup, these are the possible connections:
242242

admin_manual/installation/server_tuning.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Debug Mode
3939

4040
Verify that ``debug`` is ``false`` in your ``config.php``. The default is ``false`` in new
4141
installations (or when not specified). While similar to the DEBUG logging level, this option
42-
also disables various optimizations (to faciliate easier debugging) and generates additional
42+
also disables various optimizations (to facilitate easier debugging) and generates additional
4343
debug output both at the browser level and server-side. It should not be enabled in production
4444
environments outside of isolated troubleshooting situations.
4545

admin_manual/installation/source_installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ value is often ``5``. This greatly limits simultaneously connections to your
259259
Nextcloud instance and, unless you are severely resource constraints, will
260260
underutilize your hardware. Check the :doc:`../installation/server_tuning`
261261
chapter for some guidance and resources for coming up with appropriate values,
262-
as well as other related paramaters.
262+
as well as other related parameters.
263263

264264
System environment variables
265265
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -268,7 +268,7 @@ When you are using ``php-fpm``, system environment variables like
268268
PATH, TMP or others are not automatically populated in the same way as
269269
when using ``php-cli``. A PHP call like ``getenv('PATH');`` can therefore
270270
return an empty result. So you may need to manually configure environment
271-
variables in the appropropriate ``php-fpm`` ini/config file.
271+
variables in the appropriate ``php-fpm`` ini/config file.
272272

273273
Here are some example root paths for these ini/config files:
274274

admin_manual/maintenance/manual_upgrade.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ like a lot, but detailed instructions are below.
1919
.. important::
2020
Before upgrading, especially between major versions (e.g. v27.y.z -> v28.y.z) please review
2121
:ref:`critical changes<critical-changes>` first. These are highlights of changes that may be required
22-
in your environment to accomodate changes in Nextcloud Server. These notes are periodically revised as
22+
in your environment to accommodate changes in Nextcloud Server. These notes are periodically revised as
2323
needed so it is a good idea to revisit them even when proceeding with minor and maintenance upgrades just
2424
in case.
2525

admin_manual/maintenance/restore.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ PostgreSQL
8282
Synchronising with clients after data recovery
8383
----------------------------------------------
8484

85-
By default the Nextcloud server is considered the authorative source for the data.
85+
By default the Nextcloud server is considered the authoritative source for the data.
8686
If the data on the server and the client differs
8787
clients will default to fetching the data from the server.
8888

admin_manual/maintenance/update.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ The steps are basically the same as for the web based updater:
174174
a new update available. Go to the admin settings page and scroll to the
175175
section "Version". This section has a button to open the updater. This
176176
section as well as the update notification is only available if the update
177-
notication app is enabled in the apps management.
177+
notification app is enabled in the apps management.
178178

179179
.. image:: images/updater-1-update-available.png
180180

@@ -224,7 +224,7 @@ It is possible to run the command line based updater in a non-interactive mode.
224224
The updater then doesn't ask any interactive questions. It is assumed that if
225225
an update is available it should be installed and the ``occ upgrade`` command
226226
is executed as well. After finishing the maintenance mode will be turned off
227-
except an error occured during the ``occ upgrade`` or the replacement of the
227+
except an error occurred during the ``occ upgrade`` or the replacement of the
228228
code.
229229

230230
To execute this, run the command with the ``--no-interaction`` option. (i.e.

0 commit comments

Comments
 (0)