You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Merge branch 'master' of github.com:laurent22/joplin
This commit is contained in:
		| @@ -319,12 +319,18 @@ class NoteTextComponent extends React.Component { | ||||
|  | ||||
| 			await this.saveIfNeeded(); | ||||
| 			const note = await Note.load(noteId); | ||||
| 			const newNote = await shim.attachFileToNote(note, filePaths[0]); | ||||
|  | ||||
| 			this.setState({ | ||||
| 				note: newNote, | ||||
| 				lastSavedNote: Object.assign({}, newNote), | ||||
| 			}); | ||||
| 			try { | ||||
| 				reg.logger().info('Attaching ' + filePaths[0]); | ||||
| 				const newNote = await shim.attachFileToNote(note, filePaths[0]); | ||||
| 				reg.logger().info('File was attached.'); | ||||
| 				this.setState({ | ||||
| 					note: newNote, | ||||
| 					lastSavedNote: Object.assign({}, newNote), | ||||
| 				}); | ||||
| 			} catch (error) { | ||||
| 				reg.logger().error(error); | ||||
| 			} | ||||
| 		}})); | ||||
|  | ||||
| 		menu.popup(bridge().window()); | ||||
|   | ||||
							
								
								
									
										22
									
								
								ElectronClient/app/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										22
									
								
								ElectronClient/app/package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "Joplin", | ||||
|   "version": "0.10.19", | ||||
|   "version": "0.10.20", | ||||
|   "lockfileVersion": 1, | ||||
|   "requires": true, | ||||
|   "dependencies": { | ||||
| @@ -10,22 +10,14 @@ | ||||
|       "integrity": "sha512-+rr4OgeTNrLuJAf09o3USdttEYiXvZshWMkhD6wR9v1ieXH0JM1Q2yT41/cJuJcqiPpSXlM/g3aR+Y5MWQdr0Q==", | ||||
|       "dev": true, | ||||
|       "requires": { | ||||
|         "7zip-bin-win": "2.1.1" | ||||
|       }, | ||||
|       "dependencies": { | ||||
|         "7zip-bin-win": { | ||||
|           "version": "2.1.1", | ||||
|           "resolved": "https://registry.npmjs.org/7zip-bin-win/-/7zip-bin-win-2.1.1.tgz", | ||||
|           "integrity": "sha512-6VGEW7PXGroTsoI2QW3b0ea95HJmbVBHvfANKLLMzSzFA1zKqVX5ybNuhmeGpf6vA0x8FJTt6twpprDANsY5WQ==", | ||||
|           "dev": true, | ||||
|           "optional": true | ||||
|         } | ||||
|         "7zip-bin-mac": "1.0.1" | ||||
|       } | ||||
|     }, | ||||
|     "7zip-bin-win": { | ||||
|       "version": "2.1.1", | ||||
|       "resolved": "https://registry.npmjs.org/7zip-bin-win/-/7zip-bin-win-2.1.1.tgz", | ||||
|       "integrity": "sha512-6VGEW7PXGroTsoI2QW3b0ea95HJmbVBHvfANKLLMzSzFA1zKqVX5ybNuhmeGpf6vA0x8FJTt6twpprDANsY5WQ==" | ||||
|     "7zip-bin-mac": { | ||||
|       "version": "1.0.1", | ||||
|       "resolved": "https://registry.npmjs.org/7zip-bin-mac/-/7zip-bin-mac-1.0.1.tgz", | ||||
|       "integrity": "sha1-Pmh3i78JJq3GgVlCcHRQXUdVXAI=", | ||||
|       "optional": true | ||||
|     }, | ||||
|     "@types/node": { | ||||
|       "version": "7.0.46", | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "Joplin", | ||||
|   "version": "0.10.19", | ||||
|   "version": "0.10.20", | ||||
|   "description": "Joplin for Desktop", | ||||
|   "main": "main.js", | ||||
|   "scripts": { | ||||
| @@ -26,7 +26,11 @@ | ||||
|       "icon": "../../Assets/Joplin.ico" | ||||
|     }, | ||||
|     "mac": { | ||||
|       "icon": "../../Assets/macOs.icns" | ||||
|       "icon": "../../Assets/macOs.icns", | ||||
|       "asar": false | ||||
|     }, | ||||
|     "linux": { | ||||
|       "asar": false | ||||
|     } | ||||
|   }, | ||||
|   "homepage": "https://github.com/laurent22/joplin#readme", | ||||
|   | ||||
							
								
								
									
										0
									
								
								ElectronClient/run.sh
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								ElectronClient/run.sh
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							| @@ -34,7 +34,7 @@ | ||||
| 		2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; | ||||
| 		2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; | ||||
| 		2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; | ||||
| 		2D02E4C91E0B4AEC006451C7 /* libReact-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */; }; | ||||
| 		2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; | ||||
| 		2DCD954D1E0B4F2C00145EB5 /* JoplinTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* JoplinTests.m */; }; | ||||
| 		350318CF7C9E4BD68821EBE9 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FF411B45E68B4A8CBCC35777 /* Ionicons.ttf */; }; | ||||
| 		5AFCE00CC1414FE6BD618F0D /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 15FD7D2C8F0A445BBA807A9D /* MaterialIcons.ttf */; }; | ||||
| @@ -289,6 +289,34 @@ | ||||
| 			remoteGlobalIDString = E23D7B471ACEFE2A00C59171; | ||||
| 			remoteInfo = SQLite; | ||||
| 		}; | ||||
| 		4D3A19261FBDDA9400457703 /* PBXContainerItemProxy */ = { | ||||
| 			isa = PBXContainerItemProxy; | ||||
| 			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; | ||||
| 			proxyType = 2; | ||||
| 			remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; | ||||
| 			remoteInfo = "third-party"; | ||||
| 		}; | ||||
| 		4D3A19281FBDDA9400457703 /* PBXContainerItemProxy */ = { | ||||
| 			isa = PBXContainerItemProxy; | ||||
| 			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; | ||||
| 			proxyType = 2; | ||||
| 			remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; | ||||
| 			remoteInfo = "third-party-tvOS"; | ||||
| 		}; | ||||
| 		4D3A192A1FBDDA9400457703 /* PBXContainerItemProxy */ = { | ||||
| 			isa = PBXContainerItemProxy; | ||||
| 			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; | ||||
| 			proxyType = 2; | ||||
| 			remoteGlobalIDString = 139D7E881E25C6D100323FB7; | ||||
| 			remoteInfo = "double-conversion"; | ||||
| 		}; | ||||
| 		4D3A192C1FBDDA9400457703 /* PBXContainerItemProxy */ = { | ||||
| 			isa = PBXContainerItemProxy; | ||||
| 			containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; | ||||
| 			proxyType = 2; | ||||
| 			remoteGlobalIDString = 3D383D621EBD27B9005632C8; | ||||
| 			remoteInfo = "double-conversion-tvOS"; | ||||
| 		}; | ||||
| 		5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { | ||||
| 			isa = PBXContainerItemProxy; | ||||
| 			containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; | ||||
| @@ -418,7 +446,7 @@ | ||||
| 			isa = PBXFrameworksBuildPhase; | ||||
| 			buildActionMask = 2147483647; | ||||
| 			files = ( | ||||
| 				2D02E4C91E0B4AEC006451C7 /* libReact-tvOS.a in Frameworks */, | ||||
| 				2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, | ||||
| 				2D02E4C21E0B4AEC006451C7 /* libRCTAnimation.a in Frameworks */, | ||||
| 				2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, | ||||
| 				2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, | ||||
| @@ -544,13 +572,17 @@ | ||||
| 			isa = PBXGroup; | ||||
| 			children = ( | ||||
| 				146834041AC3E56700842450 /* libReact.a */, | ||||
| 				3DAD3EA31DF850E9000B6D8A /* libReact.a */, | ||||
| 				3DAD3EA51DF850E9000B6D8A /* libyoga.a */, | ||||
| 				3DAD3EA71DF850E9000B6D8A /* libyoga.a */, | ||||
| 				3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, | ||||
| 				3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, | ||||
| 				3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, | ||||
| 				3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, | ||||
| 				3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */, | ||||
| 				4D3A19271FBDDA9400457703 /* libthird-party.a */, | ||||
| 				4D3A19291FBDDA9400457703 /* libthird-party.a */, | ||||
| 				4D3A192B1FBDDA9400457703 /* libdouble-conversion.a */, | ||||
| 				4D3A192D1FBDDA9400457703 /* libdouble-conversion.a */, | ||||
| 			); | ||||
| 			name = Products; | ||||
| 			sourceTree = "<group>"; | ||||
| @@ -809,8 +841,12 @@ | ||||
| 				TargetAttributes = { | ||||
| 					00E356ED1AD99517003FC87E = { | ||||
| 						CreatedOnToolsVersion = 6.2; | ||||
| 						DevelopmentTeam = A9BXAFS6CT; | ||||
| 						TestTargetID = 13B07F861A680F5B00A75B9A; | ||||
| 					}; | ||||
| 					13B07F861A680F5B00A75B9A = { | ||||
| 						DevelopmentTeam = A9BXAFS6CT; | ||||
| 					}; | ||||
| 					2D02E47A1E0B4A5D006451C7 = { | ||||
| 						CreatedOnToolsVersion = 8.2.1; | ||||
| 						ProvisioningStyle = Automatic; | ||||
| @@ -1016,10 +1052,10 @@ | ||||
| 			remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; | ||||
| 			sourceTree = BUILT_PRODUCTS_DIR; | ||||
| 		}; | ||||
| 		3DAD3EA31DF850E9000B6D8A /* libReact-tvOS.a */ = { | ||||
| 		3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { | ||||
| 			isa = PBXReferenceProxy; | ||||
| 			fileType = archive.ar; | ||||
| 			path = "libReact-tvOS.a"; | ||||
| 			path = libReact.a; | ||||
| 			remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; | ||||
| 			sourceTree = BUILT_PRODUCTS_DIR; | ||||
| 		}; | ||||
| @@ -1135,6 +1171,34 @@ | ||||
| 			remoteRef = 4D2A85CC1FBCE3AD0028537D /* PBXContainerItemProxy */; | ||||
| 			sourceTree = BUILT_PRODUCTS_DIR; | ||||
| 		}; | ||||
| 		4D3A19271FBDDA9400457703 /* libthird-party.a */ = { | ||||
| 			isa = PBXReferenceProxy; | ||||
| 			fileType = archive.ar; | ||||
| 			path = "libthird-party.a"; | ||||
| 			remoteRef = 4D3A19261FBDDA9400457703 /* PBXContainerItemProxy */; | ||||
| 			sourceTree = BUILT_PRODUCTS_DIR; | ||||
| 		}; | ||||
| 		4D3A19291FBDDA9400457703 /* libthird-party.a */ = { | ||||
| 			isa = PBXReferenceProxy; | ||||
| 			fileType = archive.ar; | ||||
| 			path = "libthird-party.a"; | ||||
| 			remoteRef = 4D3A19281FBDDA9400457703 /* PBXContainerItemProxy */; | ||||
| 			sourceTree = BUILT_PRODUCTS_DIR; | ||||
| 		}; | ||||
| 		4D3A192B1FBDDA9400457703 /* libdouble-conversion.a */ = { | ||||
| 			isa = PBXReferenceProxy; | ||||
| 			fileType = archive.ar; | ||||
| 			path = "libdouble-conversion.a"; | ||||
| 			remoteRef = 4D3A192A1FBDDA9400457703 /* PBXContainerItemProxy */; | ||||
| 			sourceTree = BUILT_PRODUCTS_DIR; | ||||
| 		}; | ||||
| 		4D3A192D1FBDDA9400457703 /* libdouble-conversion.a */ = { | ||||
| 			isa = PBXReferenceProxy; | ||||
| 			fileType = archive.ar; | ||||
| 			path = "libdouble-conversion.a"; | ||||
| 			remoteRef = 4D3A192C1FBDDA9400457703 /* PBXContainerItemProxy */; | ||||
| 			sourceTree = BUILT_PRODUCTS_DIR; | ||||
| 		}; | ||||
| 		5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { | ||||
| 			isa = PBXReferenceProxy; | ||||
| 			fileType = archive.ar; | ||||
| @@ -1315,6 +1379,7 @@ | ||||
| 			isa = XCBuildConfiguration; | ||||
| 			buildSettings = { | ||||
| 				BUNDLE_LOADER = "$(TEST_HOST)"; | ||||
| 				DEVELOPMENT_TEAM = A9BXAFS6CT; | ||||
| 				GCC_PREPROCESSOR_DEFINITIONS = ( | ||||
| 					"DEBUG=1", | ||||
| 					"$(inherited)", | ||||
| @@ -1354,6 +1419,7 @@ | ||||
| 			buildSettings = { | ||||
| 				BUNDLE_LOADER = "$(TEST_HOST)"; | ||||
| 				COPY_PHASE_STRIP = NO; | ||||
| 				DEVELOPMENT_TEAM = A9BXAFS6CT; | ||||
| 				HEADER_SEARCH_PATHS = ( | ||||
| 					"$(inherited)", | ||||
| 					"$(SRCROOT)/../node_modules/react-native-document-picker/ios/RNDocumentPicker", | ||||
| @@ -1390,6 +1456,7 @@ | ||||
| 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||||
| 				CURRENT_PROJECT_VERSION = 1; | ||||
| 				DEAD_CODE_STRIPPING = NO; | ||||
| 				DEVELOPMENT_TEAM = A9BXAFS6CT; | ||||
| 				HEADER_SEARCH_PATHS = ( | ||||
| 					"$(inherited)", | ||||
| 					"$(SRCROOT)/../node_modules/react-native-document-picker/ios/RNDocumentPicker", | ||||
| @@ -1416,6 +1483,7 @@ | ||||
| 			buildSettings = { | ||||
| 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||||
| 				CURRENT_PROJECT_VERSION = 1; | ||||
| 				DEVELOPMENT_TEAM = A9BXAFS6CT; | ||||
| 				HEADER_SEARCH_PATHS = ( | ||||
| 					"$(inherited)", | ||||
| 					"$(SRCROOT)/../node_modules/react-native-document-picker/ios/RNDocumentPicker", | ||||
| @@ -1447,6 +1515,7 @@ | ||||
| 				CLANG_WARN_INFINITE_RECURSION = YES; | ||||
| 				CLANG_WARN_SUSPICIOUS_MOVE = YES; | ||||
| 				DEBUG_INFORMATION_FORMAT = dwarf; | ||||
| 				DEVELOPMENT_TEAM = ""; | ||||
| 				ENABLE_TESTABILITY = YES; | ||||
| 				GCC_NO_COMMON_BLOCKS = YES; | ||||
| 				HEADER_SEARCH_PATHS = ( | ||||
| @@ -1492,6 +1561,7 @@ | ||||
| 				CLANG_WARN_SUSPICIOUS_MOVE = YES; | ||||
| 				COPY_PHASE_STRIP = NO; | ||||
| 				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||||
| 				DEVELOPMENT_TEAM = ""; | ||||
| 				GCC_NO_COMMON_BLOCKS = YES; | ||||
| 				HEADER_SEARCH_PATHS = ( | ||||
| 					"$(inherited)", | ||||
|   | ||||
| @@ -54,6 +54,7 @@ | ||||
|       buildConfiguration = "Debug" | ||||
|       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||||
|       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||||
|       language = "" | ||||
|       shouldUseLaunchSchemeArgsEnv = "YES"> | ||||
|       <Testables> | ||||
|          <TestableReference | ||||
| @@ -83,6 +84,7 @@ | ||||
|       buildConfiguration = "Debug" | ||||
|       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||||
|       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||||
|       language = "" | ||||
|       launchStyle = "0" | ||||
|       useCustomWorkingDirectory = "NO" | ||||
|       ignoresPersistentStateOnLaunch = "NO" | ||||
|   | ||||
| @@ -39,7 +39,7 @@ | ||||
| 	<key>UIViewControllerBasedStatusBarAppearance</key> | ||||
| 	<false/> | ||||
| 	<key>NSLocationWhenInUseUsageDescription</key> | ||||
| 	<string/> | ||||
| 	<string></string> | ||||
| 	<key>NSAppTransportSecurity</key> | ||||
| 	<dict> | ||||
| 		<key>NSExceptionDomains</key> | ||||
|   | ||||
| @@ -48,6 +48,8 @@ | ||||
| 				"ReactNativeClient/node_modules", | ||||
| 				"ElectronClient/app/gui/note-viewer/highlight/styles", | ||||
| 				"tests/logs", | ||||
| 				"ReactNativeClient/ios/build", | ||||
| 				"ElectronClient/app/dist", | ||||
| 			], | ||||
| 			"path": "." | ||||
| 		}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user