Explorar o código

Update jQuery UI to 1.13.2

Nariman Jelveh hai 11 meses
pai
achega
4aa72eaf15

+ 21 - 0
src/UI/UIWindowShare.js

@@ -65,6 +65,21 @@ async function UIWindowShare(items){
             }
             }
         })
         })
 
 
+        let contacts = [];
+
+        puter.kv.get('contacts').then((kv_contacts) => {
+            if(kv_contacts){
+                try{
+                    contacts = JSON.parse(kv_contacts);
+                    $(el_window).find('.access-recipient').autocomplete({
+                        source: contacts
+                    });
+                }catch(e){
+                    puter.kv.del('contacts');
+                }
+            }
+        })
+
         // /stat
         // /stat
         let perms = [];
         let perms = [];
         for(let i=0; i<items.length; i++){
         for(let i=0; i<items.length; i++){
@@ -184,6 +199,12 @@ async function UIWindowShare(items){
 
 
                     // append recipient to list
                     // append recipient to list
                     $(el_window).find('.share-recipients').append(`${perm_list}`);
                     $(el_window).find('.share-recipients').append(`${perm_list}`);
+
+                    // add to contacts
+                    if(!contacts.includes(recipient_username)){
+                        contacts.push(recipient_username);
+                        puter.kv.set('contacts', JSON.stringify(contacts));
+                    }
                 },
                 },
                 error: function(err) {
                 error: function(err) {
                     // at this point 'username_not_found' and 'shared_with_self' are the only 
                     // at this point 'username_not_found' and 'shared_with_self' are the only 

+ 11 - 2
src/lib/jquery-ui-1.13.2/AUTHORS.txt

@@ -1,5 +1,5 @@
 Authors ordered by first contribution
 Authors ordered by first contribution
-A list of current team members is available at http://jqueryui.com/about
+A list of current team members is available at https://jqueryui.com/about
 
 
 Paul Bakaus <paul.bakaus@gmail.com>
 Paul Bakaus <paul.bakaus@gmail.com>
 Richard Worth <rdworth@gmail.com>
 Richard Worth <rdworth@gmail.com>
@@ -42,7 +42,7 @@ Adam Sontag <ajpiano@ajpiano.com>
 Carl Fürstenberg <carl@excito.com>
 Carl Fürstenberg <carl@excito.com>
 Kevin Dalman <development@allpro.net>
 Kevin Dalman <development@allpro.net>
 Alberto Fernández Capel <afcapel@gmail.com>
 Alberto Fernández Capel <afcapel@gmail.com>
-Jacek Jędrzejewski (http://jacek.jedrzejewski.name)
+Jacek Jędrzejewski (https://jacek.jedrzejewski.name)
 Ting Kuei <ting@kuei.com>
 Ting Kuei <ting@kuei.com>
 Samuel Cormier-Iijima <sam@chide.it>
 Samuel Cormier-Iijima <sam@chide.it>
 Jon Palmer <jonspalmer@gmail.com>
 Jon Palmer <jonspalmer@gmail.com>
@@ -370,3 +370,12 @@ dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
 Adam Lidén Hällgren <adamlh92@gmail.com>
 Adam Lidén Hällgren <adamlh92@gmail.com>
 James Hinderks <hinderks@gmail.com>
 James Hinderks <hinderks@gmail.com>
 Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com>
 Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com>
+Matías Cánepa <matias.canepa@gmail.com>
+Ashish Kurmi <100655670+boahc077@users.noreply.github.com>
+DeerBear <andrea.raimondi@gmail.com>
+Дилян Палаузов <dpa-github@aegee.org>
+Kenneth DeBacker <kcdebacker@gmail.com>
+Timo Tijhof <krinkle@fastmail.com>
+Timmy Willison <timmywil@users.noreply.github.com>
+divdeploy <166095818+divdeploy@users.noreply.github.com>
+mark van tilburg <markvantilburg@gmail.com>

+ 1 - 1
src/lib/jquery-ui-1.13.2/LICENSE.txt

@@ -1,4 +1,4 @@
-Copyright jQuery Foundation and other contributors, https://jquery.org/
+Copyright OpenJS Foundation and other contributors, https://openjsf.org/
 
 
 This software consists of voluntary contributions made by many
 This software consists of voluntary contributions made by many
 individuals. For exact contribution history, see the revision history
 individuals. For exact contribution history, see the revision history

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 339 - 461
src/lib/jquery-ui-1.13.2/external/jquery/jquery.js


BIN=BIN
src/lib/jquery-ui-1.13.2/images/ui-icons_444444_256x240.png


BIN=BIN
src/lib/jquery-ui-1.13.2/images/ui-icons_555555_256x240.png


BIN=BIN
src/lib/jquery-ui-1.13.2/images/ui-icons_777620_256x240.png


BIN=BIN
src/lib/jquery-ui-1.13.2/images/ui-icons_777777_256x240.png


BIN=BIN
src/lib/jquery-ui-1.13.2/images/ui-icons_cc0000_256x240.png


BIN=BIN
src/lib/jquery-ui-1.13.2/images/ui-icons_ffffff_256x240.png


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 2 - 2
src/lib/jquery-ui-1.13.2/jquery-ui.css


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 215 - 215
src/lib/jquery-ui-1.13.2/jquery-ui.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 2 - 2
src/lib/jquery-ui-1.13.2/jquery-ui.min.css


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 4 - 4
src/lib/jquery-ui-1.13.2/jquery-ui.min.js


+ 5 - 5
src/lib/jquery-ui-1.13.2/jquery-ui.structure.css

@@ -1,12 +1,12 @@
 /*!
 /*!
- * jQuery UI CSS Framework 1.13.2
- * http://jqueryui.com
+ * jQuery UI CSS Framework 1.13.3
+ * https://jqueryui.com
  *
  *
- * Copyright jQuery Foundation and other contributors
+ * Copyright OpenJS Foundation and other contributors
  * Released under the MIT license.
  * Released under the MIT license.
- * http://jquery.org/license
+ * https://jquery.org/license
  *
  *
- * http://api.jqueryui.com/category/theming/
+ * https://api.jqueryui.com/category/theming/
  */
  */
 /* Layout helpers
 /* Layout helpers
 ----------------------------------*/
 ----------------------------------*/

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 3 - 3
src/lib/jquery-ui-1.13.2/jquery-ui.structure.min.css


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 5 - 5
src/lib/jquery-ui-1.13.2/jquery-ui.theme.css


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 3 - 3
src/lib/jquery-ui-1.13.2/jquery-ui.theme.min.css


+ 29 - 19
src/lib/jquery-ui-1.13.2/package.json

@@ -2,33 +2,33 @@
 	"name": "jquery-ui",
 	"name": "jquery-ui",
 	"title": "jQuery UI",
 	"title": "jQuery UI",
 	"description": "A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.",
 	"description": "A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.",
-	"version": "1.13.2",
-	"homepage": "http://jqueryui.com",
+	"version": "1.13.3",
+	"homepage": "https://jqueryui.com",
 	"author": {
 	"author": {
-		"name": "jQuery Foundation and other contributors",
-		"url": "https://github.com/jquery/jquery-ui/blob/1.13.2/AUTHORS.txt"
+		"name": "OpenJS Foundation and other contributors",
+		"url": "https://github.com/jquery/jquery-ui/blob/1.13.3/AUTHORS.txt"
 	},
 	},
 	"main": "ui/widget.js",
 	"main": "ui/widget.js",
 	"maintainers": [
 	"maintainers": [
 		{
 		{
 			"name": "Jörn Zaefferer",
 			"name": "Jörn Zaefferer",
 			"email": "joern.zaefferer@gmail.com",
 			"email": "joern.zaefferer@gmail.com",
-			"url": "http://bassistance.de"
+			"url": "https://bassistance.de"
 		},
 		},
 		{
 		{
 			"name": "Mike Sherov",
 			"name": "Mike Sherov",
 			"email": "mike.sherov@gmail.com",
 			"email": "mike.sherov@gmail.com",
-			"url": "http://mike.sherov.com"
+			"url": "https://mike.sherov.com"
 		},
 		},
 		{
 		{
 			"name": "TJ VanToll",
 			"name": "TJ VanToll",
 			"email": "tj.vantoll@gmail.com",
 			"email": "tj.vantoll@gmail.com",
-			"url": "http://tjvantoll.com"
+			"url": "https://www.tjvantoll.com"
 		},
 		},
 		{
 		{
 			"name": "Felix Nagel",
 			"name": "Felix Nagel",
 			"email": "info@felixnagel.com",
 			"email": "info@felixnagel.com",
-			"url": "http://www.felixnagel.com"
+			"url": "https://www.felixnagel.com"
 		},
 		},
 		{
 		{
 			"name": "Alex Schmitz",
 			"name": "Alex Schmitz",
@@ -45,30 +45,40 @@
 	},
 	},
 	"license": "MIT",
 	"license": "MIT",
 	"scripts": {
 	"scripts": {
-		"test": "grunt"
+		"build": "grunt build",
+		"lint": "grunt lint",
+		"test:server": "node tests/runner/server.js",
+		"test:unit": "node tests/runner/command.js",
+		"test": "grunt && npm run test:unit -- -h"
 	},
 	},
 	"dependencies": {
 	"dependencies": {
 		"jquery": ">=1.8.0 <4.0.0"
 		"jquery": ">=1.8.0 <4.0.0"
 	},
 	},
 	"devDependencies": {
 	"devDependencies": {
+		"body-parser": "1.20.2",
+		"browserstack-local": "1.5.5",
 		"commitplease": "3.2.0",
 		"commitplease": "3.2.0",
-		"eslint-config-jquery": "3.0.0",
-		"glob": "7.2.0",
-		"grunt": "1.5.3",
+		"diff": "5.2.0",
+		"eslint-config-jquery": "3.0.2",
+		"exit-hook": "4.0.0",
+		"express": "4.19.2",
+		"express-body-parser-error-handler": "1.0.7",
+		"grunt": "1.6.1",
 		"grunt-bowercopy": "1.2.5",
 		"grunt-bowercopy": "1.2.5",
 		"grunt-cli": "1.4.3",
 		"grunt-cli": "1.4.3",
 		"grunt-compare-size": "0.4.2",
 		"grunt-compare-size": "0.4.2",
-		"grunt-contrib-concat": "1.0.1",
+		"grunt-contrib-concat": "2.1.0",
 		"grunt-contrib-csslint": "2.0.0",
 		"grunt-contrib-csslint": "2.0.0",
-		"grunt-contrib-qunit": "5.1.1",
 		"grunt-contrib-requirejs": "1.0.0",
 		"grunt-contrib-requirejs": "1.0.0",
-		"grunt-contrib-uglify": "5.0.1",
-		"grunt-eslint": "23.0.0",
+		"grunt-contrib-uglify": "5.2.2",
+		"grunt-eslint": "24.0.1",
 		"grunt-git-authors": "3.2.0",
 		"grunt-git-authors": "3.2.0",
-		"grunt-html": "14.5.0",
+		"grunt-html": "16.0.0",
 		"load-grunt-tasks": "5.1.0",
 		"load-grunt-tasks": "5.1.0",
-		"rimraf": "3.0.2",
-		"testswarm": "1.1.2"
+		"rimraf": "4.4.1",
+		"selenium-webdriver": "4.18.1",
+		"testswarm": "1.1.2",
+		"yargs": "17.7.2"
 	},
 	},
 	"keywords": []
 	"keywords": []
 }
 }

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio