Jelajahi Sumber

Updated truncate length for aliases

Will Browning 6 tahun lalu
induk
melakukan
8f35949acf
5 mengubah file dengan 19 tambahan dan 18 penghapusan
  1. 1 0
      README.md
  2. 9 9
      composer.lock
  3. 6 6
      package-lock.json
  4. 2 2
      package.json
  5. 1 1
      resources/js/pages/Aliases.vue

+ 1 - 0
README.md

@@ -42,6 +42,7 @@ Here are a few reasons I can think of:
 * No limitation on the number of aliases that can be created
 * No limitation on the number of aliases that can be created
 * Generous monthly bandwidth
 * Generous monthly bandwidth
 * Multiple domains to choose for aliases (currently anonaddy.com and anonaddy.me)
 * Multiple domains to choose for aliases (currently anonaddy.com and anonaddy.me)
+* Ability to generate UUID aliases
 * New features added regularly
 * New features added regularly
 
 
 
 

+ 9 - 9
composer.lock

@@ -5331,16 +5331,16 @@
         },
         },
         {
         {
             "name": "phpunit/phpunit",
             "name": "phpunit/phpunit",
-            "version": "8.2.5",
+            "version": "8.3.1",
             "source": {
             "source": {
                 "type": "git",
                 "type": "git",
                 "url": "https://github.com/sebastianbergmann/phpunit.git",
                 "url": "https://github.com/sebastianbergmann/phpunit.git",
-                "reference": "c1b8534b3730f20f58600124129197bf1183dc92"
+                "reference": "21461ce5b162d0f1a0fa658e27f975517c5d4234"
             },
             },
             "dist": {
             "dist": {
                 "type": "zip",
                 "type": "zip",
-                "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c1b8534b3730f20f58600124129197bf1183dc92",
-                "reference": "c1b8534b3730f20f58600124129197bf1183dc92",
+                "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/21461ce5b162d0f1a0fa658e27f975517c5d4234",
+                "reference": "21461ce5b162d0f1a0fa658e27f975517c5d4234",
                 "shasum": ""
                 "shasum": ""
             },
             },
             "require": {
             "require": {
@@ -5356,7 +5356,7 @@
                 "phar-io/version": "^2.0.1",
                 "phar-io/version": "^2.0.1",
                 "php": "^7.2",
                 "php": "^7.2",
                 "phpspec/prophecy": "^1.8.1",
                 "phpspec/prophecy": "^1.8.1",
-                "phpunit/php-code-coverage": "^7.0.5",
+                "phpunit/php-code-coverage": "^7.0.7",
                 "phpunit/php-file-iterator": "^2.0.2",
                 "phpunit/php-file-iterator": "^2.0.2",
                 "phpunit/php-text-template": "^1.2.1",
                 "phpunit/php-text-template": "^1.2.1",
                 "phpunit/php-timer": "^2.1.2",
                 "phpunit/php-timer": "^2.1.2",
@@ -5384,7 +5384,7 @@
             "type": "library",
             "type": "library",
             "extra": {
             "extra": {
                 "branch-alias": {
                 "branch-alias": {
-                    "dev-master": "8.2-dev"
+                    "dev-master": "8.3-dev"
                 }
                 }
             },
             },
             "autoload": {
             "autoload": {
@@ -5399,8 +5399,8 @@
             "authors": [
             "authors": [
                 {
                 {
                     "name": "Sebastian Bergmann",
                     "name": "Sebastian Bergmann",
-                    "email": "sebastian@phpunit.de",
-                    "role": "lead"
+                    "role": "lead",
+                    "email": "sebastian@phpunit.de"
                 }
                 }
             ],
             ],
             "description": "The PHP Unit Testing framework.",
             "description": "The PHP Unit Testing framework.",
@@ -5410,7 +5410,7 @@
                 "testing",
                 "testing",
                 "xunit"
                 "xunit"
             ],
             ],
-            "time": "2019-07-15T06:26:24+00:00"
+            "time": "2019-08-02T07:54:25+00:00"
         },
         },
         {
         {
             "name": "sebastian/code-unit-reverse-lookup",
             "name": "sebastian/code-unit-reverse-lookup",

+ 6 - 6
package-lock.json

@@ -6363,9 +6363,9 @@
             "integrity": "sha512-w010cY1oCUmI+9KwwlWki+r5jxKfTFDVoadl7MSrIujHU5MJ5OR6HTDj6Xo8aoR/QsA56x8jKjA59qGH4ELtrA=="
             "integrity": "sha512-w010cY1oCUmI+9KwwlWki+r5jxKfTFDVoadl7MSrIujHU5MJ5OR6HTDj6Xo8aoR/QsA56x8jKjA59qGH4ELtrA=="
         },
         },
         "portal-vue": {
         "portal-vue": {
-            "version": "2.1.5",
-            "resolved": "https://registry.npmjs.org/portal-vue/-/portal-vue-2.1.5.tgz",
-            "integrity": "sha512-vZmdMn0mOo7puvxoMQ5zju6S29aFD+9yygJxyWQtPaMXS9xunAeoYdnx6yzfL9J8HD8pMZYgSieEIbioAKhrSQ=="
+            "version": "2.1.6",
+            "resolved": "https://registry.npmjs.org/portal-vue/-/portal-vue-2.1.6.tgz",
+            "integrity": "sha512-lvCF85D4e8whd0nN32D8FqKwwkk7nYUI3Ku8UAEx4Z1reomu75dv5evRUTZNaj1EalxxWNXiNl0EHRq36fG8WA=="
         },
         },
         "portfinder": {
         "portfinder": {
             "version": "1.0.20",
             "version": "1.0.20",
@@ -8587,9 +8587,9 @@
             "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q="
             "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q="
         },
         },
         "tippy.js": {
         "tippy.js": {
-            "version": "4.3.4",
-            "resolved": "https://registry.npmjs.org/tippy.js/-/tippy.js-4.3.4.tgz",
-            "integrity": "sha512-O2ukxHOJTLVYZ/TfHjNd8WgAWoefX9uk5QiWRdHfX2PR2lBpUU4BJQLl7U2Ykc8K7o16gTeHEElpuRfgD5b0aA==",
+            "version": "4.3.5",
+            "resolved": "https://registry.npmjs.org/tippy.js/-/tippy.js-4.3.5.tgz",
+            "integrity": "sha512-NDq3efte8nGK6BOJ1dDN1/WelAwfmh3UtIYXXck6+SxLzbIQNZE/cmRSnwScZ/FyiKdIcvFHvYUgqmoGx8CcyA==",
             "requires": {
             "requires": {
                 "popper.js": "^1.14.7"
                 "popper.js": "^1.14.7"
             }
             }

+ 2 - 2
package.json

@@ -17,12 +17,12 @@
         "laravel-mix": "^4.1.2",
         "laravel-mix": "^4.1.2",
         "laravel-mix-purgecss": "^4.1.0",
         "laravel-mix-purgecss": "^4.1.0",
         "lodash": "^4.17.15",
         "lodash": "^4.17.15",
-        "portal-vue": "^2.1.5",
+        "portal-vue": "^2.1.6",
         "postcss-import": "^11.1.0",
         "postcss-import": "^11.1.0",
         "postcss-nesting": "^5.0.0",
         "postcss-nesting": "^5.0.0",
         "resolve-url-loader": "^2.3.2",
         "resolve-url-loader": "^2.3.2",
         "tailwindcss": "^1.0.6",
         "tailwindcss": "^1.0.6",
-        "tippy.js": "^4.3.4",
+        "tippy.js": "^4.3.5",
         "v-clipboard": "^2.2.2",
         "v-clipboard": "^2.2.2",
         "vue": "^2.6.10",
         "vue": "^2.6.10",
         "vue-multiselect": "^2.1.6",
         "vue-multiselect": "^2.1.6",

+ 1 - 1
resources/js/pages/Aliases.vue

@@ -307,7 +307,7 @@
                 v-clipboard:error="clipboardError"
                 v-clipboard:error="clipboardError"
               >
               >
                 <span class="font-semibold text-indigo-800">{{
                 <span class="font-semibold text-indigo-800">{{
-                  alias.local_part | truncate(25)
+                  alias.local_part | truncate(36)
                 }}</span>
                 }}</span>
                 <span class="block text-grey-400 text-sm">{{
                 <span class="block text-grey-400 text-sm">{{
                   getAliasEmail(alias) | truncate(40)
                   getAliasEmail(alias) | truncate(40)