瀏覽代碼

fix(): spelling

Thanks to Josh Soref
Josh Soref 3 年之前
父節點
當前提交
436e48e8fc

+ 1 - 1
api/desecapi/replication.py

@@ -50,7 +50,7 @@ class Repository:
                 cwd=self.path,
                 stderr=subprocess.PIPE,
                 stdout=subprocess.PIPE,
-                env={'HOME': '/'},  # Celery does not adjust $HOME when dropping privleges
+                env={'HOME': '/'},  # Celery does not adjust $HOME when dropping privileges
         ) as p:
             try:
                 stdout, stderr = p.communicate(input=None, timeout=60)

+ 1 - 1
api/desecapi/tests/test_token_domain_policy.py

@@ -69,7 +69,7 @@ class TokenDomainPolicyTestCase(DomainOwnerTestCase):
         self.assertStatus(response, status.HTTP_200_OK)
         self.assertEqual(response.data, self.default_data | data)
 
-        # Inspection of other tokens forbitten
+        # Inspection of other tokens forbidden
         ## List
         response = self.client.list_policies(self.token_manage, using=self.token)
         self.assertStatus(response, status.HTTP_403_FORBIDDEN)

+ 1 - 1
docs/dns/domains.rst

@@ -204,7 +204,7 @@ by applying a filter on the endpoint used for `Listing Domains`_, like so::
     curl -X GET https://desec.io/api/v1/domains/?owns_qname={qname} \
         --header "Authorization: Token {token}"
 
-If your account has a domain that is reponsible for the name ``qname``, the
+If your account has a domain that is responsible for the name ``qname``, the
 API returns a JSON array containing only that domain object in the response
 body.  Otherwise, the JSON array will be empty.
 

+ 1 - 1
test/e2e2/spec/test_api_rrset.py

@@ -37,7 +37,7 @@ from conftest import DeSECAPIV1Client
         ('other', 'TXT'): (7000, {}),
     },
     {  # complex usecase
-        ('', 'A'): (3600, {'1.2.3.4', '255.254.253.252'}),  # create apex reocrd
+        ('', 'A'): (3600, {'1.2.3.4', '255.254.253.252'}),  # create apex record
         ('*', 'MX'): (3601, {'0 mx.example.net.'}),  # create wildcard record
         ('www', 'AAAA'): (3602, {}),  # remove existing record
         ('www', 'A'): (7000, {'4.3.2.1', '7.6.5.4'}),  # update existing record

+ 3 - 3
webapp/src/views/CrudList.vue

@@ -70,7 +70,7 @@
                   />
                 </template>
                 <v-dialog
-                        v-if="createable"
+                        v-if="creatable"
                         v-model="createDialog"
                         activator="#create"
                         max-width="500px"
@@ -398,7 +398,7 @@ export default {
     dirtyError: new Set(),
     /* to be overwritten */
     // features
-    createable: true,
+    creatable: true,
     updatable: false,
     destroyable: true,
     // optics
@@ -509,7 +509,7 @@ export default {
     },
     /** *
      * Delete an item from table and server.
-     * Errors are handeled by calling the error function.
+     * Errors are handled by calling the error function.
      * On success, the destroy dialog will be closed (if opened)
      * @param item
      */

+ 1 - 1
webapp/src/views/Domain/CrudDomain.vue

@@ -10,7 +10,7 @@ export default {
     return {
       minimumTTL: 60,
       fullWidth: true,
-      createable: true,
+      creatable: true,
       updatable: true,
       destroyable: true,
       headlines: {

+ 1 - 1
webapp/src/views/DomainList.vue

@@ -12,7 +12,7 @@ export default {
   data() {
     const self = this;
     return {
-        createable: true,
+        creatable: true,
         updatable: false,
         destroyable: true,
         limit_domains: 0,

+ 1 - 1
webapp/src/views/TokenList.vue

@@ -7,7 +7,7 @@ export default {
   extends: CrudList,
   data() {
     return {
-        createable: true,
+        creatable: true,
         updatable: true,
         destroyable: true,
         headlines: {

+ 1 - 1
www/conf/nginx.conf

@@ -38,7 +38,7 @@ http {
 
     # If limit_req directives are defined here, they apply to all servers that don't have their own ones
     #
-    # NOTE that nginx' 'return' occures before rate limiting and all sections using 'return' are thus
+    # NOTE that nginx' 'return' occurs before rate limiting and all sections using 'return' are thus
     # not affected by any rate limiting. (This is okay, simply executing the return is cheaper than doing
     # the rate limit computation.) Further rate limits need to be implemented using a firewall.
     #