You've already forked OpenIntegrations
							
							
				mirror of
				https://github.com/Bayselonarrend/OpenIntegrations.git
				synced 2025-10-30 23:47:46 +02:00 
			
		
		
		
	Поднят номер версии
This commit is contained in:
		
							
								
								
									
										44
									
								
								.github/workflows/oint_test_full_en.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										44
									
								
								.github/workflows/oint_test_full_en.yml
									
									
									
									
										vendored
									
									
								
							| @@ -54,7 +54,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -180,7 +180,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -298,7 +298,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -344,7 +344,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -398,7 +398,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -440,7 +440,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -518,7 +518,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -568,7 +568,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -622,7 +622,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -680,7 +680,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -730,7 +730,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -784,7 +784,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -846,7 +846,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -900,7 +900,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -970,7 +970,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -1068,7 +1068,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -1118,7 +1118,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -1184,7 +1184,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -1230,7 +1230,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -1280,7 +1280,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -1330,7 +1330,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -1380,7 +1380,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_en.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_en.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
|   | ||||
							
								
								
									
										44
									
								
								.github/workflows/oint_test_full_ru.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										44
									
								
								.github/workflows/oint_test_full_ru.yml
									
									
									
									
										vendored
									
									
								
							| @@ -54,7 +54,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -180,7 +180,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -298,7 +298,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -344,7 +344,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -398,7 +398,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -440,7 +440,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -518,7 +518,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -568,7 +568,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -622,7 +622,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -680,7 +680,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -730,7 +730,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -784,7 +784,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -846,7 +846,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -900,7 +900,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -970,7 +970,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -1068,7 +1068,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -1118,7 +1118,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -1184,7 +1184,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -1230,7 +1230,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -1280,7 +1280,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -1330,7 +1330,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
| @@ -1380,7 +1380,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
|   | ||||
							
								
								
									
										2
									
								
								.github/workflows/testcl.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/testcl.yml
									
									
									
									
										vendored
									
									
								
							| @@ -13,7 +13,7 @@ jobs: | ||||
|       - name: Установить OInt | ||||
|         run: | | ||||
|           TEMP_DEB="$(mktemp)" && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_ru.deb' && | ||||
|           wget -O "$TEMP_DEB" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_ru.deb' && | ||||
|           sudo dpkg -i "$TEMP_DEB" | ||||
|           rm -f "$TEMP_DEB" | ||||
|  | ||||
|   | ||||
							
								
								
									
										4
									
								
								ci/cli_ostesten
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								ci/cli_ostesten
									
									
									
									
										vendored
									
									
								
							| @@ -3,8 +3,8 @@ pipeline { | ||||
|    stages { | ||||
|       stage('Prepare'){ | ||||
|          steps{ | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/en/OInt; opm build; opm install oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/en/cli; opm build; opm install oint-cli-1.17.0.ospx; del oint-cli-1.17.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/en/OInt; opm build; opm install oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/en/cli; opm build; opm install oint-cli-1.18.0.ospx; del oint-cli-1.18.0.ospx' | ||||
|             withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) { | ||||
|                bat encoding: 'UTF-8', script:'"C:/Program Files (x86)/GnuPG/bin/gpg.exe" --quiet --batch --yes --decrypt --passphrase="%GPGKEY%" --output ./data.json ./data.json.gpg' | ||||
|             } | ||||
|   | ||||
							
								
								
									
										4
									
								
								ci/cli_ostestru
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								ci/cli_ostestru
									
									
									
									
										vendored
									
									
								
							| @@ -3,8 +3,8 @@ pipeline { | ||||
|    stages { | ||||
|       stage('Prepare'){ | ||||
|          steps{ | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm build; opm install oint-cli-1.17.0.ospx; del oint-cli-1.17.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm build; opm install oint-cli-1.18.0.ospx; del oint-cli-1.18.0.ospx' | ||||
|             withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) { | ||||
|                bat encoding: 'UTF-8', script:'"C:/Program Files (x86)/GnuPG/bin/gpg.exe" --quiet --batch --yes --decrypt --passphrase="%GPGKEY%" --output ./data.json ./data.json.gpg' | ||||
|             } | ||||
|   | ||||
							
								
								
									
										4
									
								
								ci/clitesten
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								ci/clitesten
									
									
									
									
										vendored
									
									
								
							| @@ -4,7 +4,7 @@ pipeline { | ||||
|    	stages { | ||||
|           stage('Prepare'){ | ||||
|              steps{ | ||||
|                 powershell encoding: 'UTF-8', script:'cd ./src/en/OInt; opm build; opm install oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
|                 powershell encoding: 'UTF-8', script:'cd ./src/en/OInt; opm build; opm install oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
|                 powershell encoding: 'UTF-8', script:'oscript -make ./src/en/cli/core/Classes/app.os oint.exe'           | ||||
|              } | ||||
|           } | ||||
| @@ -2746,7 +2746,7 @@ pipeline { | ||||
|    stages { | ||||
|       stage('Prepare'){ | ||||
|          steps{ | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/en/OInt; opm build; opm install oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/en/OInt; opm build; opm install oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'oscript -make ./src/en/cli/core/Classes/app.os oint.exe'           | ||||
|          } | ||||
|       } | ||||
|   | ||||
							
								
								
									
										4
									
								
								ci/clitestru
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								ci/clitestru
									
									
									
									
										vendored
									
									
								
							| @@ -4,7 +4,7 @@ pipeline { | ||||
|    	stages { | ||||
|           stage('Prepare'){ | ||||
|              steps{ | ||||
|                 powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
|                 powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
|                 powershell encoding: 'UTF-8', script:'oscript -make ./src/ru/cli/core/Classes/app.os oint.exe'           | ||||
|              } | ||||
|           } | ||||
| @@ -2746,7 +2746,7 @@ pipeline { | ||||
|    stages { | ||||
|       stage('Prepare'){ | ||||
|          steps{ | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'oscript -make ./src/ru/cli/core/Classes/app.os oint.exe'           | ||||
|          } | ||||
|       } | ||||
|   | ||||
							
								
								
									
										4
									
								
								ci/main
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								ci/main
									
									
									
									
										vendored
									
									
								
							| @@ -24,8 +24,8 @@ pipeline { | ||||
|  | ||||
|         stage('Local update'){ | ||||
|             steps { | ||||
|                 powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install -f oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
|                 powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm build; opm install -f oint-cli-1.17.0.ospx; del oint-cli-1.17.0.ospx' | ||||
|                 powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install -f oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
|                 powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm build; opm install -f oint-cli-1.18.0.ospx; del oint-cli-1.18.0.ospx' | ||||
|             } | ||||
|  | ||||
|         } | ||||
|   | ||||
							
								
								
									
										6
									
								
								ci/opm_push
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								ci/opm_push
									
									
									
									
										vendored
									
									
								
							| @@ -5,10 +5,10 @@ pipeline { | ||||
|             steps { | ||||
|  | ||||
|                 withCredentials([string(credentialsId: 'opm-token', variable: 'TOKEN')]) { | ||||
|                     powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install -f oint-1.17.0.ospx' | ||||
|                     powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm push --token $ENV:TOKEN --channel stable --file oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
|                     powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install -f oint-1.18.0.ospx' | ||||
|                     powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm push --token $ENV:TOKEN --channel stable --file oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
|                     powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm build;' | ||||
|                     powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm push --token $ENV:TOKEN --channel stable --file oint-cli-1.17.0.ospx; del oint-cli-1.17.0.ospx' | ||||
|                     powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm push --token $ENV:TOKEN --channel stable --file oint-cli-1.18.0.ospx; del oint-cli-1.18.0.ospx' | ||||
|                 } | ||||
|                      | ||||
|             } | ||||
|   | ||||
							
								
								
									
										4
									
								
								ci/opm_update
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								ci/opm_update
									
									
									
									
										vendored
									
									
								
							| @@ -5,8 +5,8 @@ pipeline { | ||||
|             steps { | ||||
|  | ||||
|  | ||||
|                     powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install -f oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
|                     powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm build; opm install -f oint-cli-1.17.0.ospx; del oint-cli-1.17.0.ospx' | ||||
|                     powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install -f oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
|                     powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm build; opm install -f oint-cli-1.18.0.ospx; del oint-cli-1.18.0.ospx' | ||||
|                      | ||||
|                      | ||||
|             } | ||||
|   | ||||
							
								
								
									
										4
									
								
								ci/os/cli_testmaker.os
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								ci/os/cli_testmaker.os
									
									
									
									
										vendored
									
									
								
							| @@ -45,7 +45,7 @@ | ||||
| 	|   stages { | ||||
| 	|      stage('Prepare'){ | ||||
| 	|         steps{ | ||||
| 	|            powershell encoding: 'UTF-8', script:'cd ./src/" + Язык + "/OInt; opm build; opm install oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
| 	|            powershell encoding: 'UTF-8', script:'cd ./src/" + Язык + "/OInt; opm build; opm install oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
| 	|            powershell encoding: 'UTF-8', script:'oscript -make ./src/" + Язык + "/cli/core/Classes/app.os oint.exe'           | ||||
| 	|         } | ||||
| 	|      } | ||||
| @@ -78,7 +78,7 @@ | ||||
| 	|   	stages { | ||||
| 	|          stage('Prepare'){ | ||||
| 	|             steps{ | ||||
| 	|                powershell encoding: 'UTF-8', script:'cd ./src/" + Язык + "/OInt; opm build; opm install oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
| 	|                powershell encoding: 'UTF-8', script:'cd ./src/" + Язык + "/OInt; opm build; opm install oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
| 	|                powershell encoding: 'UTF-8', script:'oscript -make ./src/" + Язык + "/cli/core/Classes/app.os oint.exe'           | ||||
| 	|             } | ||||
| 	|          } | ||||
|   | ||||
							
								
								
									
										4
									
								
								ci/os/cli_testmaker_en.os
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								ci/os/cli_testmaker_en.os
									
									
									
									
										vendored
									
									
								
							| @@ -45,7 +45,7 @@ | ||||
| 	|   stages { | ||||
| 	|      stage('Prepare'){ | ||||
| 	|         steps{ | ||||
| 	|            powershell encoding: 'UTF-8', script:'cd ./src/" + Язык + "/OInt; opm build; opm install oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
| 	|            powershell encoding: 'UTF-8', script:'cd ./src/" + Язык + "/OInt; opm build; opm install oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
| 	|            powershell encoding: 'UTF-8', script:'oscript -make ./src/" + Язык + "/cli/core/Classes/app.os oint.exe'           | ||||
| 	|         } | ||||
| 	|      } | ||||
| @@ -78,7 +78,7 @@ | ||||
| 	|   	stages { | ||||
| 	|          stage('Prepare'){ | ||||
| 	|             steps{ | ||||
| 	|                powershell encoding: 'UTF-8', script:'cd ./src/" + Язык + "/OInt; opm build; opm install oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
| 	|                powershell encoding: 'UTF-8', script:'cd ./src/" + Язык + "/OInt; opm build; opm install oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
| 	|                powershell encoding: 'UTF-8', script:'oscript -make ./src/" + Язык + "/cli/core/Classes/app.os oint.exe'           | ||||
| 	|             } | ||||
| 	|          } | ||||
|   | ||||
| @@ -86,7 +86,7 @@ | ||||
|         |      - name: Установить OInt | ||||
|         |        run: | | ||||
| 		|          TEMP_DEB=""$(mktemp)"" && | ||||
| 		|          wget -O ""$TEMP_DEB"" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.17.0/oint_1.17.0_all_" + Язык + ".deb' && | ||||
| 		|          wget -O ""$TEMP_DEB"" 'https://api.athenaeum.digital/tc/job/Release/lastSuccessfulBuild/artifact/1.18.0/oint_1.18.0_all_" + Язык + ".deb' && | ||||
| 		|          sudo dpkg -i ""$TEMP_DEB"" | ||||
| 		|          rm -f ""$TEMP_DEB"" | ||||
| 		| | ||||
|   | ||||
| @@ -136,8 +136,8 @@ | ||||
| 	|   stages { | ||||
| 	|      stage('Prepare'){ | ||||
| 	|         steps{ | ||||
| 	|            powershell encoding: 'UTF-8', script:'cd ./src/" + Язык + "/OInt; opm build; opm install oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
| 	|            powershell encoding: 'UTF-8', script:'cd ./src/" + Язык + "/cli; opm build; opm install oint-cli-1.17.0.ospx; del oint-cli-1.17.0.ospx' | ||||
| 	|            powershell encoding: 'UTF-8', script:'cd ./src/" + Язык + "/OInt; opm build; opm install oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
| 	|            powershell encoding: 'UTF-8', script:'cd ./src/" + Язык + "/cli; opm build; opm install oint-cli-1.18.0.ospx; del oint-cli-1.18.0.ospx' | ||||
| 	|            withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) { | ||||
|     |               bat encoding: 'UTF-8', script:'""C:/Program Files (x86)/GnuPG/bin/gpg.exe"" --quiet --batch --yes --decrypt --passphrase=""%GPGKEY%"" --output ./data.json ./data.json.gpg' | ||||
|     |            } | ||||
|   | ||||
							
								
								
									
										2
									
								
								ci/os/releasemaker.os
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								ci/os/releasemaker.os
									
									
									
									
										vendored
									
									
								
							| @@ -12,7 +12,7 @@ | ||||
| Процедура НачалоРаботы() | ||||
| 	 | ||||
| 	Репозиторий = "https://github.com/Bayselonarrend/OpenIntegrations"; | ||||
| 	Версия   = "1.17.0"; | ||||
| 	Версия   = "1.18.0"; | ||||
| 	Режим    = "CONFIG"; | ||||
|  | ||||
| 	//Локальные данные | ||||
|   | ||||
							
								
								
									
										4
									
								
								ci/ostesten
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								ci/ostesten
									
									
									
									
										vendored
									
									
								
							| @@ -3,8 +3,8 @@ pipeline { | ||||
|    stages { | ||||
|       stage('Prepare'){ | ||||
|          steps{ | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/en/OInt; opm build; opm install oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/en/cli; opm build; opm install oint-cli-1.17.0.ospx; del oint-cli-1.17.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/en/OInt; opm build; opm install oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/en/cli; opm build; opm install oint-cli-1.18.0.ospx; del oint-cli-1.18.0.ospx' | ||||
|             withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) { | ||||
|                bat encoding: 'UTF-8', script:'"C:/Program Files (x86)/GnuPG/bin/gpg.exe" --quiet --batch --yes --decrypt --passphrase="%GPGKEY%" --output ./data.json ./data.json.gpg' | ||||
|             } | ||||
|   | ||||
							
								
								
									
										4
									
								
								ci/ostestru
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								ci/ostestru
									
									
									
									
										vendored
									
									
								
							| @@ -3,8 +3,8 @@ pipeline { | ||||
|    stages { | ||||
|       stage('Prepare'){ | ||||
|          steps{ | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install oint-1.17.0.ospx; del oint-1.17.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm build; opm install oint-cli-1.17.0.ospx; del oint-cli-1.17.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/ru/OInt; opm build; opm install oint-1.18.0.ospx; del oint-1.18.0.ospx' | ||||
|             powershell encoding: 'UTF-8', script:'cd ./src/ru/cli; opm build; opm install oint-cli-1.18.0.ospx; del oint-cli-1.18.0.ospx' | ||||
|             withCredentials([string(credentialsId: 'gpgkey', variable: 'GPGKEY')]) { | ||||
|                bat encoding: 'UTF-8', script:'"C:/Program Files (x86)/GnuPG/bin/gpg.exe" --quiet --batch --yes --decrypt --passphrase="%GPGKEY%" --output ./data.json ./data.json.gpg' | ||||
|             } | ||||
|   | ||||
							
								
								
									
										2
									
								
								ci/release
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								ci/release
									
									
									
									
										vendored
									
									
								
							| @@ -5,7 +5,7 @@ pipeline { | ||||
|         stage('Release') { | ||||
|             steps { | ||||
|                     bat 'oscript ./ci/os/releasemaker.os' | ||||
|                     archiveArtifacts artifacts: '1.17.0/*' | ||||
|                     archiveArtifacts artifacts: '1.18.0/*' | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|   | ||||
							
								
								
									
										8
									
								
								docs/docusaurus/package-lock.json
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								docs/docusaurus/package-lock.json
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -6383,8 +6383,8 @@ | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/fastq": { | ||||
|       "version": "1.17.0", | ||||
|       "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.0.tgz", | ||||
|       "version": "1.18.0", | ||||
|       "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.18.0.tgz", | ||||
|       "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", | ||||
|       "dependencies": { | ||||
|         "reusify": "^1.0.4" | ||||
| @@ -8577,8 +8577,8 @@ | ||||
|       "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==" | ||||
|     }, | ||||
|     "node_modules/lunr-languages": { | ||||
|       "version": "1.17.0", | ||||
|       "resolved": "https://registry.npmjs.org/lunr-languages/-/lunr-languages-1.17.0.tgz", | ||||
|       "version": "1.18.0", | ||||
|       "resolved": "https://registry.npmjs.org/lunr-languages/-/lunr-languages-1.18.0.tgz", | ||||
|       "integrity": "sha512-hWUAb2KqM3L7J5bcrngszzISY4BxrXn/Xhbb9TTCJYEGqlR1nG67/M14sp09+PTIRklobrn57IAxcdcO/ZFyNA==" | ||||
|     }, | ||||
|     "node_modules/mark.js": { | ||||
|   | ||||
							
								
								
									
										2
									
								
								service/iss/en.iss
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								service/iss/en.iss
									
									
									
									
										vendored
									
									
								
							| @@ -1,5 +1,5 @@ | ||||
| #define MyAppName "OInt" | ||||
| #define MyAppVersion "1.17.0" | ||||
| #define MyAppVersion "1.18.0" | ||||
| #define MyAppPublisher "bayselonarrend" | ||||
| #define MyAppURL "https://github.com/Bayselonarrend/OpenIntegrations" | ||||
| #define MyAppExeName "oint.bat" | ||||
|   | ||||
							
								
								
									
										2
									
								
								service/iss/ru.iss
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								service/iss/ru.iss
									
									
									
									
										vendored
									
									
								
							| @@ -1,5 +1,5 @@ | ||||
| #define MyAppName "OInt" | ||||
| #define MyAppVersion "1.17.0" | ||||
| #define MyAppVersion "1.18.0" | ||||
| #define MyAppPublisher "bayselonarrend" | ||||
| #define MyAppURL "https://github.com/Bayselonarrend/OpenIntegrations" | ||||
| #define MyAppExeName "oint.bat" | ||||
|   | ||||
							
								
								
									
										2
									
								
								service/project.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								service/project.json
									
									
									
									
										vendored
									
									
								
							| @@ -1,5 +1,5 @@ | ||||
| { | ||||
| "version": "1.17.0", | ||||
| "version": "1.18.0", | ||||
| "root": "./src/", | ||||
| "mainLang": "ru", | ||||
| "packageSrc": "OInt/", | ||||
|   | ||||
| @@ -8,6 +8,7 @@ use crate::component::get_params_amount; | ||||
| use crate::component::cal_func; | ||||
| use crate::component::AddIn; | ||||
|  | ||||
|  | ||||
| // Определение класса | ||||
| impl RawAddin for AddIn { | ||||
|  | ||||
|   | ||||
| @@ -30,7 +30,6 @@ pub unsafe extern "C" fn DestroyObject(component: *mut *mut c_void) -> c_long { | ||||
| #[allow(non_snake_case)] | ||||
| #[no_mangle] | ||||
| pub extern "C" fn GetClassNames() -> *const u16 { | ||||
|     // small strings for performance | ||||
|     name!("Main").as_ptr() | ||||
| } | ||||
|  | ||||
|   | ||||
							
								
								
									
										32
									
								
								src/addins/tmpl_plus/Cargo.lock
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								src/addins/tmpl_plus/Cargo.lock
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,32 @@ | ||||
| # This file is automatically @generated by Cargo. | ||||
| # It is not intended for manual editing. | ||||
| version = 4 | ||||
|  | ||||
| [[package]] | ||||
| name = "addin1c" | ||||
| version = "0.5.0" | ||||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
| checksum = "ef34e8b7ff4c43e87491a4cc30a4779a9f67c50db43378a36362c7a56246e05b" | ||||
| dependencies = [ | ||||
|  "smallvec", | ||||
|  "utf16_lit", | ||||
| ] | ||||
|  | ||||
| [[package]] | ||||
| name = "opi_addin" | ||||
| version = "0.1.0" | ||||
| dependencies = [ | ||||
|  "addin1c", | ||||
| ] | ||||
|  | ||||
| [[package]] | ||||
| name = "smallvec" | ||||
| version = "1.13.2" | ||||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
| checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" | ||||
|  | ||||
| [[package]] | ||||
| name = "utf16_lit" | ||||
| version = "2.0.2" | ||||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||||
| checksum = "14706d2a800ee8ff38c1d3edb873cd616971ea59eb7c0d046bb44ef59b06a1ae" | ||||
							
								
								
									
										16
									
								
								src/addins/tmpl_plus/Cargo.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								src/addins/tmpl_plus/Cargo.toml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| [package] | ||||
| name = "opi_addin" | ||||
| version = "0.1.0" | ||||
| edition = "2021" | ||||
|  | ||||
| [lib] | ||||
| crate-type = ["cdylib"] | ||||
|  | ||||
| [profile.release] | ||||
| lto = true        # Enable Link Time Optimization | ||||
| codegen-units = 1 # Reduce number of codegen units to increase optimizations. | ||||
| panic = "abort"   # Abort on panic | ||||
| strip = true      # Automatically strip symbols from the binary. | ||||
|  | ||||
| [dependencies] | ||||
| addin1c = "0.5.0" | ||||
							
								
								
									
										7
									
								
								src/addins/tmpl_plus/MANIFEST.XML
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								src/addins/tmpl_plus/MANIFEST.XML
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| <?xml version='1.0' encoding='UTF-8'?> | ||||
| <bundle xmlns='http://v8.1c.ru/8.2/addin/bundle' name='OPIADDIN'> | ||||
| 	<component os='Windows' path='AddIn_x86_windows.dll' type='native' arch='i386' /> | ||||
| 	<component os='Windows' path='AddIn_x64_windows.dll' type='native' arch='x86_64' /> | ||||
| 	<component os='Linux' path='AddIn_x86_linux.so' type='native' arch='i386' /> | ||||
| 	<component os='Linux' path='AddIn_x64_linux.so' type='native' arch='x86_64' /> | ||||
| </bundle> | ||||
							
								
								
									
										69
									
								
								src/addins/tmpl_plus/release.bat
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										69
									
								
								src/addins/tmpl_plus/release.bat
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,69 @@ | ||||
| @echo off | ||||
|  | ||||
| :: Установить переменную | ||||
| set CARGO_NAME=opi_addin | ||||
| set LIB_NAME=OPI_AddIn | ||||
| set OPENSSL_DIR=C:\msys64\mingw64 | ||||
| set OPENSSL_LIB_DIR=%OPENSSL_DIR%\lib | ||||
| set OPENSSL_INCLUDE_DIR=%OPENSSL_DIR%\include | ||||
|  | ||||
|  | ||||
| :: Перейти в директорию проекта | ||||
| cd /d "%~dp0" | ||||
|  | ||||
| :: Создать папку для артефактов | ||||
| set OUTPUT_DIR=artifacts | ||||
| if not exist "%OUTPUT_DIR%" mkdir "%OUTPUT_DIR%" | ||||
|  | ||||
| :: Сборка для x86_64-pc-windows-msvc | ||||
| cargo build --release --target x86_64-pc-windows-msvc | ||||
| if errorlevel 1 goto :error | ||||
|  | ||||
| :: Сборка для x86_64-unknown-linux-gnu | ||||
| cargo zigbuild --release --target x86_64-unknown-linux-gnu | ||||
| if errorlevel 1 goto :error | ||||
|  | ||||
| :: Сборка для i686-pc-windows-msvc | ||||
| cargo build --release --target i686-pc-windows-msvc | ||||
| if errorlevel 1 goto :error | ||||
|  | ||||
| :: Сборка для i686-unknown-linux-gnu | ||||
| cargo zigbuild --release --target i686-unknown-linux-gnu | ||||
| if errorlevel 1 goto :error | ||||
|  | ||||
| :: Копирование файлов .dll и .so | ||||
| copy /y target\x86_64-pc-windows-msvc\release\%CARGO_NAME%.dll "%OUTPUT_DIR%\AddIn_x64_windows.dll" | ||||
| if errorlevel 1 goto :error | ||||
|  | ||||
| copy /y target\i686-pc-windows-msvc\release\%CARGO_NAME%.dll "%OUTPUT_DIR%\AddIn_x86_windows.dll" | ||||
| if errorlevel 1 goto :error | ||||
|  | ||||
| copy /y target\x86_64-unknown-linux-gnu\release\lib%CARGO_NAME%.so "%OUTPUT_DIR%\AddIn_x64_linux.so" | ||||
| if errorlevel 1 goto :error | ||||
|  | ||||
| copy /y target\i686-unknown-linux-gnu\release\lib%CARGO_NAME%.so "%OUTPUT_DIR%\AddIn_x86_linux.so" | ||||
| if errorlevel 1 goto :error | ||||
|  | ||||
| copy /y MANIFEST.XML "%OUTPUT_DIR%\MANIFEST.XML" | ||||
| if errorlevel 1 goto :error | ||||
|  | ||||
| :: Архивация | ||||
| powershell -Command "Compress-Archive -Path '%OUTPUT_DIR%\*' -Force -DestinationPath '%LIB_NAME%.zip'" | ||||
| if errorlevel 1 goto :error | ||||
|  | ||||
| copy /y "%LIB_NAME%.zip" "../../ru/OInt/addins/%LIB_NAME%.zip" | ||||
| copy /y "%LIB_NAME%.zip" "../../en/OInt/addins/%LIB_NAME%.zip" | ||||
|  | ||||
| copy /y "%LIB_NAME%.zip" "../../ru/OPI/src/CommonTemplates/%LIB_NAME%/Template.addin" | ||||
| copy /y "%LIB_NAME%.zip" "../../en/OPI/src/CommonTemplates/%LIB_NAME%/Template.addin" | ||||
|  | ||||
| if exist "%OUTPUT_DIR%" ( | ||||
|     rmdir /S /Q "%OUTPUT_DIR%" | ||||
| ) | ||||
|  | ||||
| @echo Build and packaging completed successfully. | ||||
| exit /b 0 | ||||
|  | ||||
| :error | ||||
| @echo An error occurred during the build or packaging process. | ||||
| exit /b 1 | ||||
							
								
								
									
										4
									
								
								src/addins/tmpl_plus/src/component/methods.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								src/addins/tmpl_plus/src/component/methods.rs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| pub fn method1() -> bool { | ||||
|     true | ||||
| } | ||||
|  | ||||
							
								
								
									
										40
									
								
								src/addins/tmpl_plus/src/component/mod.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								src/addins/tmpl_plus/src/component/mod.rs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,40 @@ | ||||
| mod methods; | ||||
|  | ||||
| use std::error::Error; | ||||
| use std::ops::{Index, IndexMut}; | ||||
| use addin1c::{name, MethodInfo, PropInfo, SimpleAddin, Variant}; | ||||
| use crate::core::{getset, self, SimpleRaw}; | ||||
| use crate::core::getset::ValueType; | ||||
|  | ||||
| pub struct AddIn { | ||||
|     pub prop1: String, | ||||
| } | ||||
|  | ||||
|  | ||||
| impl SimpleRaw for AddIn { | ||||
|  | ||||
|     fn new() -> Self { | ||||
|         todo!() | ||||
|     } | ||||
|  | ||||
|     fn classname() -> &'static [u16] { | ||||
|         todo!() | ||||
|     } | ||||
|  | ||||
|     fn method_signatures(&self) -> Vec<(&str, i32)> { | ||||
|         todo!() | ||||
|     } | ||||
|  | ||||
|     fn execute(&mut self, num: usize, params: &mut [Variant]) -> Box<dyn ValueType> { | ||||
|         todo!() | ||||
|     } | ||||
|  | ||||
|     fn props(&self) -> Vec<(&str, &dyn ValueType)> { | ||||
|         todo!() | ||||
|     } | ||||
|  | ||||
|     fn destroy(&mut self) { | ||||
|         todo!() | ||||
|     } | ||||
| } | ||||
| // ------------------------------------------------------------------------------------------------- | ||||
							
								
								
									
										78
									
								
								src/addins/tmpl_plus/src/core/getset.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										78
									
								
								src/addins/tmpl_plus/src/core/getset.rs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,78 @@ | ||||
| use addin1c::{Variant, Tm}; | ||||
|  | ||||
|  | ||||
| pub trait ValueType { | ||||
|     fn get_value(&self, val: &mut Variant) -> bool; | ||||
|     fn set_value(&mut self, val: &Variant); | ||||
| } | ||||
|  | ||||
| // Реализация для i32 | ||||
| impl ValueType for i32 { | ||||
|     fn get_value(&self, val: &mut Variant) -> bool { | ||||
|         val.set_i32(*self); | ||||
|         true | ||||
|     } | ||||
|  | ||||
|     fn set_value(&mut self, val: &Variant) { | ||||
|         *self = val.get_i32().unwrap_or(0); | ||||
|     } | ||||
| } | ||||
|  | ||||
| // Реализация для f64 | ||||
| impl ValueType for f64 { | ||||
|     fn get_value(&self, val: &mut Variant) -> bool { | ||||
|         val.set_f64(*self); | ||||
|         true | ||||
|     } | ||||
|  | ||||
|     fn set_value(&mut self, val: &Variant) { | ||||
|         *self = val.get_f64().unwrap_or(0.0); | ||||
|     } | ||||
| } | ||||
|  | ||||
| // Реализация для bool | ||||
| impl ValueType for bool { | ||||
|     fn get_value(&self, val: &mut Variant) -> bool { | ||||
|         val.set_bool(*self); | ||||
|         true | ||||
|     } | ||||
|  | ||||
|     fn set_value(&mut self, val: &Variant) { | ||||
|         *self = val.get_bool().unwrap_or(false); | ||||
|     } | ||||
| } | ||||
|  | ||||
| // Реализация для tm | ||||
| impl ValueType for Tm { | ||||
|     fn get_value(&self, val: &mut Variant) -> bool { | ||||
|         val.set_date(*self); | ||||
|         true | ||||
|     } | ||||
|  | ||||
|     fn set_value(&mut self, val: &Variant) { | ||||
|         *self = val.get_date().unwrap_or(Tm::default()); | ||||
|     } | ||||
| } | ||||
|  | ||||
| // Реализация для String | ||||
| impl ValueType for String { | ||||
|     fn get_value(&self, val: &mut Variant) -> bool { | ||||
|         let s: Vec<u16> = self.encode_utf16().collect(); | ||||
|         val.set_str1c(s.as_slice()).is_ok() | ||||
|     } | ||||
|  | ||||
|     fn set_value(&mut self, val: &Variant) { | ||||
|         *self = val.get_string().unwrap_or("".to_string()); | ||||
|     } | ||||
| } | ||||
|  | ||||
| // Реализация для Vec<u8> | ||||
| impl ValueType for Vec<u8> { | ||||
|     fn get_value(&self, val: &mut Variant) -> bool { | ||||
|         val.set_blob(self.as_slice()).is_ok() | ||||
|     } | ||||
|  | ||||
|     fn set_value(&mut self, val: &Variant) { | ||||
|         *self = val.get_blob().unwrap_or(&[]).to_vec() | ||||
|     } | ||||
| } | ||||
							
								
								
									
										77
									
								
								src/addins/tmpl_plus/src/core/mod.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										77
									
								
								src/addins/tmpl_plus/src/core/mod.rs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,77 @@ | ||||
| pub mod getset; | ||||
|  | ||||
| use addin1c::{RawAddin, Variant}; | ||||
|  | ||||
| // Определение класса | ||||
| pub trait SimpleRaw: RawAddin + Drop + std::ops::Index<usize> + std::ops::IndexMut<usize> { | ||||
|  | ||||
|     fn new() -> Self; | ||||
|     fn classname() -> &'static [u16]; | ||||
|     fn method_signatures(&self) -> Vec<(&str, i32)>; | ||||
|     fn execute(&mut self, num: usize, params: &mut [Variant]) -> Box<dyn getset::ValueType>; | ||||
|     fn props(&self) -> Vec<(&str, &dyn getset::ValueType)>; | ||||
|     fn destroy(&mut self); | ||||
|  | ||||
|     fn register_extension_as(&mut self) -> &'static [u16] { | ||||
|         self.classname() | ||||
|     } | ||||
|     fn get_n_props(&mut self) -> usize { | ||||
|         self.len() | ||||
|     } | ||||
|     fn find_prop(&mut self, name: &[u16]) -> Option<usize> { self.convert_to_u16(self.props()).iter().position(|&x| x == name) } | ||||
|     fn get_prop_name(&mut self, num: usize, _alias: usize) -> Option<&'static [u16]> { self.convert_to_u16(self.props()).get(num).copied() } | ||||
|     fn get_prop_val(&mut self, num: usize, val: &mut Variant) -> bool {let field: &dyn getset::ValueType = &self[num]; field.get_value(val) } | ||||
|     fn set_prop_val(&mut self, num: usize, val: &Variant) -> bool {let field: &mut dyn getset::ValueType = &mut self[num]; field.set_value(val); true } | ||||
|     fn is_prop_readable(&mut self, _num: usize) -> bool { true } | ||||
|     fn is_prop_writable(&mut self, _num: usize) -> bool { true } | ||||
|     fn get_n_methods(&mut self) -> usize { self.method_names().len() } | ||||
|     fn find_method(&mut self, name: &[u16]) -> Option<usize> { self.method_names().iter().position(|&x| x == name) } | ||||
|     fn get_method_name(&mut self, num: usize, _alias: usize) -> Option<&'static [u16]> { self.method_names().get(num).copied() } | ||||
|     fn get_n_params(&mut self, num: usize) -> usize { self.get_params_amount(num) } | ||||
|     fn get_param_def_value(&mut self, _method_num: usize, _param_num: usize, _value: Variant, ) -> bool { true } | ||||
|     fn has_ret_val(&mut self, _num: usize) -> bool { true } | ||||
|     fn call_as_proc(&mut self, _num: usize, _params: &mut [Variant]) -> bool { false } | ||||
|     fn call_as_func(&mut self, num: usize, params: &mut [Variant], ret_value: &mut Variant, ) -> bool { self.execute(num, params).get_value(ret_value) } | ||||
|     fn get_field_ptr_mut(&mut self, index: usize) -> *mut dyn getset::ValueType { self.get_field_ptr(index) as *mut _ } | ||||
|     fn get_field_ptr(&self, index: usize) -> *const dyn getset::ValueType { | ||||
|  | ||||
|         let field_map = self.props(); | ||||
|  | ||||
|         if index < field_map.len() { | ||||
|             field_map[index].1 as *const _ | ||||
|         } else { | ||||
|             "Err: Prop not found!".to_string() as &dyn getset::ValueType | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     fn drop(&mut self) { self.destroy()} | ||||
|     fn index(&self, index: usize) -> &dyn getset::ValueType { unsafe { &*self.get_field_ptr(index) } } | ||||
|     fn index_mut(&mut self, index: usize) -> &mut Self::Output { unsafe { &mut *self.get_field_ptr_mut(index) } } | ||||
|  | ||||
|     fn convert_to_u16(values: Vec<(&str, &dyn getset::ValueType)>) -> Vec<u16> { | ||||
|         let mut result = Vec::new(); | ||||
|  | ||||
|         for (_, value) in values { | ||||
|             let s = value.as_str(); | ||||
|             result.extend(s.encode_utf16()); | ||||
|         } | ||||
|  | ||||
|         result | ||||
|     } | ||||
|  | ||||
|     fn get_params_amount(&self, index: usize) -> usize { | ||||
|  | ||||
|         let data = self.method_signatures(); | ||||
|  | ||||
|         if index < data.len() { | ||||
|             data[index].1 as usize | ||||
|         } else { | ||||
|             0 | ||||
|         } | ||||
|     } | ||||
|  | ||||
| } | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
							
								
								
									
										48
									
								
								src/addins/tmpl_plus/src/lib.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								src/addins/tmpl_plus/src/lib.rs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,48 @@ | ||||
| pub mod component; | ||||
| mod core; | ||||
|  | ||||
|  | ||||
| use std::{ | ||||
|     ffi::{c_int, c_long, c_void}, | ||||
|     sync::atomic::{AtomicI32, Ordering}, | ||||
| }; | ||||
|  | ||||
| use component::AddIn; | ||||
| use addin1c::{create_component, destroy_component, name, AttachType}; | ||||
|  | ||||
| pub static mut PLATFORM_CAPABILITIES: AtomicI32 = AtomicI32::new(-1); | ||||
|  | ||||
| #[allow(non_snake_case)] | ||||
| #[no_mangle] | ||||
| pub unsafe extern "C" fn GetClassObject(_name: *const u16, component: *mut *mut c_void) -> c_long { | ||||
|  | ||||
|     let addin = AddIn::new(); | ||||
|     create_component(component, addin) | ||||
|  | ||||
| } | ||||
|  | ||||
| #[allow(non_snake_case)] | ||||
| #[no_mangle] | ||||
| pub unsafe extern "C" fn DestroyObject(component: *mut *mut c_void) -> c_long { | ||||
|     destroy_component(component) | ||||
| } | ||||
|  | ||||
| #[allow(non_snake_case)] | ||||
| #[no_mangle] | ||||
| pub extern "C" fn GetClassNames() -> *const u16 { | ||||
|     name!("Main").as_ptr() | ||||
| } | ||||
|  | ||||
| #[allow(non_snake_case)] | ||||
| #[allow(static_mut_refs)] | ||||
| #[no_mangle] | ||||
| pub unsafe extern "C" fn SetPlatformCapabilities(capabilities: c_int) -> c_int { | ||||
|     PLATFORM_CAPABILITIES.store(capabilities, Ordering::Relaxed); | ||||
|     3 | ||||
| } | ||||
|  | ||||
| #[allow(non_snake_case)] | ||||
| #[no_mangle] | ||||
| pub extern "C" fn GetAttachType() -> AttachType { | ||||
|     AttachType::Any | ||||
| } | ||||
							
								
								
									
										2
									
								
								src/en/OInt/packagedef
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								src/en/OInt/packagedef
									
									
									
									
										vendored
									
									
								
							| @@ -1,5 +1,5 @@ | ||||
| Описание.Имя("oint") | ||||
|     .Версия("1.17.0") | ||||
|     .Версия("1.18.0") | ||||
|     .Автор("bayselonarrend") | ||||
|     .АдресАвтора("bayselonarrend@gmail.com") | ||||
|     .Описание("Открытый пакет интеграций с популярными API") | ||||
|   | ||||
| @@ -25,7 +25,7 @@ | ||||
|   <usePurposes>PersonalComputer</usePurposes> | ||||
|   <scriptVariant>English</scriptVariant> | ||||
|   <vendor>Bayselonarrend</vendor> | ||||
|   <version>1.17.0</version> | ||||
|   <version>1.18.0</version> | ||||
|   <detailedInformation> | ||||
|     <key>en</key> | ||||
|     <value>The Open Integration Package is a set of libraries for integrating with some popular APIs for 1C:Enterprise. It consists of common modules, each responsible for its own API, as well as several shared tool modules..</value> | ||||
|   | ||||
							
								
								
									
										2
									
								
								src/en/cli/data/Classes/СоставБиблиотеки.os
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								src/en/cli/data/Classes/СоставБиблиотеки.os
									
									
									
									
										vendored
									
									
								
							| @@ -1,7 +1,7 @@ | ||||
| #Использовать "./internal" | ||||
|  | ||||
| Функция ПолучитьВерсию() Экспорт | ||||
|   Возврат "1.17.0"; | ||||
|   Возврат "1.18.0"; | ||||
| КонецФункции | ||||
|  | ||||
| Функция ПолучитьСоответствиеКомандМодулей() Экспорт | ||||
|   | ||||
							
								
								
									
										2
									
								
								src/en/cli/packagedef
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								src/en/cli/packagedef
									
									
									
									
										vendored
									
									
								
							| @@ -1,5 +1,5 @@ | ||||
| Описание.Имя("oint-cli") | ||||
|     .Версия("1.17.0") | ||||
|     .Версия("1.18.0") | ||||
|     .Автор("bayselonarrend") | ||||
|     .АдресАвтора("bayselonarrend@gmail.com") | ||||
|     .Описание("CLI версия Открытого пакета интеграций") | ||||
|   | ||||
							
								
								
									
										2
									
								
								src/ru/OInt/packagedef
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								src/ru/OInt/packagedef
									
									
									
									
										vendored
									
									
								
							| @@ -1,5 +1,5 @@ | ||||
| Описание.Имя("oint") | ||||
|     .Версия("1.17.0") | ||||
|     .Версия("1.18.0") | ||||
|     .Автор("bayselonarrend") | ||||
|     .АдресАвтора("bayselonarrend@gmail.com") | ||||
|     .Описание("Открытый пакет интеграций с популярными API") | ||||
|   | ||||
| @@ -25,7 +25,7 @@ | ||||
|   <usePurposes>PersonalComputer</usePurposes> | ||||
|   <scriptVariant>Russian</scriptVariant> | ||||
|   <vendor>Bayselonarrend</vendor> | ||||
|   <version>1.17.0</version> | ||||
|   <version>1.18.0</version> | ||||
|   <detailedInformation> | ||||
|     <key>ru</key> | ||||
|     <value>Открытый пакет интеграций - набор библиотек для интеграции с некоторыми популярными API для 1C:Enterprise. Он состоит из общих модулей, каждый из которых отвечает за свой API, а также нескольких модулей-инструментов, общих для всех.</value> | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| #Использовать "./internal" | ||||
|  | ||||
| Функция ПолучитьВерсию() Экспорт | ||||
|   Возврат "1.17.0"; | ||||
|   Возврат "1.18.0"; | ||||
| КонецФункции | ||||
|  | ||||
| Функция ПолучитьСоответствиеКомандМодулей() Экспорт | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| Описание.Имя("oint-cli") | ||||
|     .Версия("1.17.0") | ||||
|     .Версия("1.18.0") | ||||
|     .Автор("bayselonarrend") | ||||
|     .АдресАвтора("bayselonarrend@gmail.com") | ||||
|     .Описание("CLI версия Открытого пакета интеграций") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user