Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #2877

Merged
merged 35 commits into from
Nov 27, 2024
Merged

Master #2877

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
369187c
[ImgBot] Optimize images
ImgBotApp Sep 3, 2024
e13fd77
Add new Hardware (IOT SmartFarm) blocks
Oct 25, 2024
35fb64e
Fix AltinoLite block bug
Oct 25, 2024
e5aa19a
중간 커밋
Nov 5, 2024
d68e41b
중간 커밋
Nov 5, 2024
8fbf9d1
이슈 8810 처리
Nov 6, 2024
925dc56
Merge pull request #2862 from entrylabs/issue/8810
kimorkim Nov 11, 2024
bc5a62a
이슈 8773 처리
Nov 11, 2024
3d9240f
Merge pull request #2863 from entrylabs/issue/8773
kimorkim Nov 11, 2024
0dfdc95
이슈 8866 처리
Nov 12, 2024
f304fe7
change workflow, start when hit when-run button
ryanimo80 Nov 12, 2024
60ac480
Merge pull request #2864 from entrylabs/issue/8866
kimorkim Nov 12, 2024
0d3fbf1
좌우 바퀴모터 아이디 명시 / 카메라 인식결과 옵션에 "표정" 추가
irarykim Nov 13, 2024
7f56060
legacy-video 관련 오류 수정
Nov 18, 2024
1ebef35
다국어 추가
Nov 20, 2024
41a3e48
issue : 8802 1차 다국어
Tnks2U Nov 20, 2024
61645b2
fix: digitalpin 범위 복구
Tnks2U Nov 20, 2024
5d2d211
lang: #8802 2차 다국어
Tnks2U Nov 20, 2024
340f6a2
주미 미니 블록 수정
truedo Nov 20, 2024
d1d82ee
SQRT3 재정의
Nov 21, 2024
21e99ab
lang: 마빗 온도값 블럭 수정
Tnks2U Nov 21, 2024
14c45ee
get_value_v_lookup 체크시 === 비교가 아닌 == 비교로 변경
Nov 21, 2024
cd11e27
Merge pull request #2855 from myunghwahong/develop-hw
Tnks2U Nov 21, 2024
7dbfebf
Merge pull request #2865 from tlegaion/develop-hw
Tnks2U Nov 21, 2024
4a8519d
Merge branch '11월배포준비' into develop-hw
irarykim Nov 21, 2024
40313c4
Merge pull request #2869 from robolink-korea/develop-hw
Tnks2U Nov 21, 2024
1af7ad7
Merge pull request #2873 from irarykim/develop-hw
Tnks2U Nov 21, 2024
3145ef1
이슈 8891 처리
Nov 21, 2024
d7d398c
Merge pull request #2874 from entrylabs/issue/8891
kimorkim Nov 21, 2024
6cc7ba6
Merge pull request #2868 from entrylabs/issue/8861
kimorkim Nov 21, 2024
91a40b1
Merge pull request #2816 from entrylabs/imgbot
kimorkim Nov 21, 2024
6d9b717
feat: 8802 마빗 LED블럭 수정
Tnks2U Nov 22, 2024
879b92c
issue 8906 reload시 url 입력 가능하도록 수정.
Nov 26, 2024
37dd6bb
Merge pull request #2875 from entrylabs/issue/8906
leunge Nov 26, 2024
e23a62c
Merge pull request #2876 from entrylabs/develop-hw
Tnks2U Nov 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions example/example.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@
type="text/javascript"
src="https://entry-cdn.pstatic.net/external/sound/sound-editor.js?v=240130-174210"
></script>
<script
type="text/javascript"
src="https://entry-cdn.pstatic.net/module/legacy-video/index.js?v=241031-202112"
></script>


<% for (var chunk in htmlWebpackPlugin.files.js) { %>
<script src="<%= htmlWebpackPlugin.files.js[chunk] %>"></script>
Expand Down Expand Up @@ -174,6 +179,8 @@
window.PUBLIC_PATH_FOR_ENTRYJS = 'lib/entry-js/dist/';
$(document).ready(function() {
var initOption = {
libDir: '',
entryDir: '',
type: 'workspace',
textCodingEnable: true,
};
Expand Down
90 changes: 57 additions & 33 deletions extern/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -1436,9 +1436,10 @@ Lang.Blocks = {
START_message_cast_wait: 'message and wait',
START_message_send_wait_1: 'Send',
START_message_send_wait_2: ' message and wait',
Duplication_option: 'copy & paste',
CONTEXT_COPY_option: 'copy code(s)',
Delete_Blocks: 'delete code(s)',
Duplication_option: 'Duplicate',
cut_blocks: 'Cut',
CONTEXT_COPY_option: 'Copy',
Delete_Blocks: 'Remove',
add_my_storage: 'add to my storage',
export_object: 'Export Object',
this_project: 'this project',
Expand Down Expand Up @@ -3397,6 +3398,21 @@ Lang.Menus = {
group_tempPassword: 'Modify PW',
group_gender: 'Gender',
group_studentCode: 'Code',
file_load_web_table_title: 'Import table from the Google Sheets',
file_load_web_table_sub_title: 'You can import table from Google Sheets documents.',
file_input_sheet_id: 'Google Sheets ID',
file_input_sheet_id_require: 'Required',
file_input_sheet_id_placeholder: 'Please enter Google Sheets ID.',
file_input_sheet_name: 'Sheet name',
file_input_sheet_name_placeholder: 'Please enter sheet name.',
file_load_web_warn_title_1:
"You can import the contents of a Google Sheets document and add them to the table.\nThis can only be imported if the access rights are set to 'Anyone with link'",
file_load_web_warn_title_2:
'The following datas are subject to the Terms of Use and related laws.',
file_load_web_warn_desc_2_1:
'Violent and brutal data, Sacred body exposure data, Offensive or disgusting data, \nData of copyright prohibited from unauthorized use',
file_load_web_error_sheet_id_1: 'Google Sheets ID is not entered.',
file_load_web_error_sheet_id_2: 'Invalid Google Sheets ID.',
group_viewWorks: 'View Works',
added_group_lecture: 'lessons deleted',
added_group_curriculum: 'Course deleted',
Expand Down Expand Up @@ -5282,6 +5298,7 @@ Lang.Workspace = {
add_picture: 'Add Shape',
select_picture: 'Select Library',
select_table: 'Select Table',
load_web: 'Import table',
select_sound: 'Select sound',
Size: 'Size',
show_variable: ' Show variable',
Expand Down Expand Up @@ -6203,22 +6220,32 @@ Lang.Helper = {
'Reports the position value of the selected face area among the faces in the input order. If it is not recognized, it is outputted as 0 unconditionally. (Left eye, Right eye, Nose, Left mouse, Right mouse, Top Lip, Bottom Lip) (IE / iOS Not Supported)',
video_body_part_coord:
'Reports number of human detected on the video screen. (Face, Right shoulder, Right elbow, Right wrist, Left shoulder, Left elbow, Left wrist, Right hip, Right knee, Right ankle, Left hip, Left knee, Left ankle) (IE / iOS Not Supported)',
append_row_to_table: 'Adds a row(col) to the end location of the selected table.',
append_row_to_table:
'Adds a row(column) to the end of the selected table. All cell values ​​in the added row(column) are 0.',
insert_row_to_table:
'Inserts a row(col) to the location of the input value on the selected table.',
delete_row_from_table:
'Deletes the row(col) at the location of input value from the selected table.',
'Adds a row(column) to the entered order of the selected table. All cell values ​​in the added row(column) are 0. The rows(columns) after the added row(column) are pushed back one by one.',
delete_row_from_table: 'Deletes the row(column) in the entered order of the selected table.',
set_value_from_table:
'Replaces value of selected attribute at the location of the input value to the input value.',
get_table_count: 'Reports the number of rows or attribute on the selected table.',
'Replaces the attribute of the entered row with the values ​​entered in the selected table.',
save_current_table:
'Save the table as it is. Even if you stop the project, your changes in the table are maintained.',
get_table_count: 'The number of rows(columns) in the selected table.',
get_value_from_table:
'Reports the value of selected attribute at the location of the input value from the selected table.',
'The selected attribute value of the entered row in the selected table. Instead of an attribute value block, you can also combine a value block (meaning a column).',
get_value_from_last_row:
'The selected attribute value of the last row in the selected table. Instead of an attribute value block, you can also combine a value block (meaning a column).',
calc_values_from_table:
'Reports calculated value of the selected attributes in the selected table. (sum, maximum, minimum, average, standard deviation)',
open_table_chart: 'Open the chart of the selected table.',
'Reports calculated value of the selected attributes in the selected table. (Sum, Maximum, Minimum, Average, Standard deviation, Median)',
open_table: 'Open the window of the selected table.',
open_table_wait: 'Open the window of the selected table for the seconds entered.',
open_table_chart: 'Opens the chart of the selected table.',
close_table_chart: 'Close the table chart.',
get_coefficient:
'Correlation coefficient between two attributes in the selected table. The closer the correlation coefficient is to 1(-1), the stronger the positive (negative) linear correlation.',
'Correlation coefficient between two attributes in the selected table. The closer the correlation coefficient is to 1 (-1), the stronger the positive (negative) linear correlation.',
set_value_from_cell: 'Replaces the cell with the values ​​entered in the selected table.',
get_value_from_cell: 'The cell value in the selected table.',
get_value_v_lookup:
'Searches for a value in selected column of a table and returns a corresponding value from a specified column in the same row.',
change_rgb_to_hex:
'Reports the value of the entered red, green, and blue values converted to HEX value.',
change_hex_to_rgb: 'Reports the HEX value entered converted to either red, green, or blue.',
Expand Down Expand Up @@ -6289,8 +6316,6 @@ Lang.Helper = {
text_change_font: 'Changes the text of the box to the selected font.',
text_change_font_color: 'Changes the text in the box to the selected color.',
text_change_bg_color: 'Changes the text box to the selected background color.',
get_value_from_last_row:
'The selected attribute value of the last row in the selected table. Instead of an attribute value block, you can also combine a value block (meaning a row).',
insert_data_for_test: 'Enter data and recognize it as a trained model.',
video_capture_for_image_test:
'Classifies or stops image data taken through the camera to the model you learned.',
Expand Down Expand Up @@ -6386,10 +6411,6 @@ Lang.Helper = {
target_project: 'Target project',
study_goal: 'Learning objectives',
show_hint: 'Hints',
save_current_table:
'Keep the table as it is. Even if you stop the project, your changes in the table are maintained.',
open_table: 'Open the window of the selected table.',
open_table_wait: 'Open the window of the selected table for the seconds entered.',
};
Lang.AiLearning = {
equation: 'Equation',
Expand Down Expand Up @@ -7215,16 +7236,23 @@ Lang.template = {
text_prepend: 'Add %1 in front of that %2',
text_flush: 'Remove all text %1',
analizyDataAddButton: '%1',
append_row_to_table: 'Add a %2 to the table %1 %3',
insert_row_to_table: 'Insert %3 to %2th row from the %1 %4',
delete_row_from_table: 'Remove %2th %3 from table %1 %4',
set_value_from_table: 'Change %3 in the %1 %2th row to %4 %5',
get_table_count: 'length of %2 in the %1',
get_value_from_table: 'value of the %3 in %2th row of the %1',
calc_values_from_table: '%3 of the %2 in the %1',
open_table_chart: 'Open the chart of the %1 %2',
close_table_chart: 'Close the table chart',
get_coefficient: 'Correlation coefficient between %2and %3 in table %1',
append_row_to_table: 'Add a %2 to table %1 %3',
insert_row_to_table: 'Insert %3 to %2 th row in table %1 %4',
delete_row_from_table: 'Remove %2 th %3 in table %1 %4',
set_value_from_table: 'Change %3 in table %1 %2 th row to %4 %5',
save_current_table: 'Save table %1 as it is %2',
get_table_count: 'number of %2 in table %1',
get_value_from_table: '%3 value of %2 th row in table %1',
get_value_from_last_row: '%2 value of the last row in table %1',
calc_values_from_table: '%3 of %2 in table %1',
open_table: 'Open table %1 window %2',
open_table_wait: 'Open table %1 window for %2 second(s) %3',
open_table_chart: 'Open chart %2 of table %1 %3',
close_table_chart: 'Close table chart %1',
get_coefficient: 'correlation coefficient between %2 and %3 in table %1',
set_value_from_cell: 'Change %2 cell in table %1 to %3 %4',
get_value_from_cell: 'value of %2 cell in table %1',
get_value_v_lookup: '%4 value of the row that %2 is %3 in table %1',
variableAddButton: '%1',
listAddButton: '%1',
change_variable: 'Plus to %1 by %2 %3',
Expand Down Expand Up @@ -7619,10 +7647,6 @@ Lang.template = {
text_change_font: 'Change font to %1 %2',
text_change_font_color: 'Change text color to %1 %2',
text_change_bg_color: 'Change background color to %1 %2',
save_current_table: 'Keep the table %1 as it is %2',
get_value_from_last_row: 'value of the %2 in last row of the %1',
open_table: 'Open table %1 window %2',
open_table_wait: 'Open table %1 window for %2 second(s) %3',
learning_title_image: '%1',
learning_title_speech: '%1',
learning_title_text: '%1',
Expand Down
56 changes: 40 additions & 16 deletions extern/lang/ko.js
Original file line number Diff line number Diff line change
Expand Up @@ -1284,9 +1284,10 @@ Lang.Blocks = {
TUT_repeat_until_gold: '부품에 도달할 때 까지 반복',
TUT_declare_function: '함수 선언',
TUT_call_function: '함수 호출',
CONTEXT_COPY_option: '코드 복사',
Delete_Blocks: '코드 삭제',
Duplication_option: '코드 복사 & 붙여넣기',
CONTEXT_COPY_option: '코드 복사하기',
Delete_Blocks: '코드 삭제하기',
Duplication_option: '코드 복제하기',
cut_blocks: '코드 잘라내기',
Paste_blocks: '붙여넣기',
add_my_storage: '나의 보관함에 추가하기',
export_object: '오브젝트 파일로 내보내기',
Expand Down Expand Up @@ -3725,6 +3726,21 @@ Lang.Menus = {
group_tempPassword: '비밀번호 수정',
group_gender: '성별',
group_studentCode: '코드',
file_load_web_table_title: '테이블을 웹에서 가져오기',
file_load_web_table_sub_title: 'Google 스프레드시트 문서로 작성된 테이블을 가져올 수 있어요.',
file_input_sheet_id: '스프레드시트 문서 ID',
file_input_sheet_id_require: '필수',
file_input_sheet_id_placeholder: '불러올 스프레드시트 문서의 ID를 입력해 주세요.',
file_input_sheet_name: '시트 이름',
file_input_sheet_name_placeholder: '불러올 시트 이름을 입력해 주세요.',
file_load_web_warn_title_1:
"Google 스프레드시트 문서의 내용을 가져와 엔트리의 테이블로 추가할 수 있습니다.\n스프레드시트의 액세스 권한이 '링크가 있는 모든 사용자'로 설정되어 있어야 가져올 수 있습니다.",
file_load_web_warn_title_2:
'아래와 같은 데이터는 이용약관 및 관련 법률에 의해 제재를 받을 수 있습니다.',
file_load_web_warn_desc_2_1:
'폭력적이고 잔인한 데이터, 선정적인 내용의 데이터, 불쾌감을 주거나 혐오단어가 포함된 데이터, 본인 또는 타인의 개인정보를 침해할 수 있는 내용의 데이터, \n무단 사용이 금지된 저작권의 데이터',
file_load_web_error_sheet_id_1: '문서 ID가 입력되지 않았습니다.',
file_load_web_error_sheet_id_2: '올바르지 않은 문서 ID입니다.',
group_viewWorks: '작품 보기',
added_group_lecture: '강의가 삭되었습니다.',
added_group_curriculum: '강의 모음이 삭제되었습니다.',
Expand Down Expand Up @@ -5658,6 +5674,7 @@ Lang.Workspace = {
add_picture: '모양 추가',
select_picture: '모양 선택',
select_table: '테이블 선택',
load_web: '웹에서 가져오기',
select_sound: '소리 선택',
Size: '크기',
show_variable: '변수 노출',
Expand Down Expand Up @@ -6593,17 +6610,25 @@ Lang.Helper = {
'선택한 테이블의 입력한 순서에 행(열)을 추가합니다. 추가된 행(열)의 모든 셀 값은 0입니다. 추가된 행(열) 뒤에 있는 행(열)들은 순서가 하나씩 밀립니다.',
delete_row_from_table: '선택한 테이블의 입력한 순서에 있는 행(열)을 삭제합니다.',
set_value_from_table: '선택한 테이블에서 입력한 행의 속성을 입력한 값으로 바꿉니다.',
save_current_table:
'테이블을 현재 상태로 남깁니다. 작품을 정지해도 테이블에서 변경된 내용이 유지됩니다.',
get_table_count: '선택한 테이블의 행(열) 개수입니다.',
get_value_from_table:
'선택한 테이블에서 입력한 행의 속성 값입니다. 속성 값 블록 대신 (행을 의미하는) 값 블록을 결합해 사용할 수도 있습니다.',
'선택한 테이블에서 입력한 행의 속성 값입니다.\n속성 값 블록 대신 (열을 의미하는) 값 블록을 결합해 사용할 수도 있습니다.',
get_value_from_last_row:
'선택한 테이블에서 마지막 행의 선택한 속성 값입니다. 속성 값 블록 대신 (행을 의미하는) 값 블록을 결합해 사용할 수도 있습니다.',
'선택한 테이블에서 마지막 행의 선택한 속성 값입니다.\n속성 값 블록 대신 (열을 의미하는) 값 블록을 결합해 사용할 수도 있습니다.',
calc_values_from_table:
'선택한 테이블에서 선택한 속성들에 대한 요약통계량입니다. (합, 최댓값, 최솟값, 평균값, 표준편차)',
open_table_chart: '선택한 테이블의 차트창을 엽니다.',
'선택한 테이블에서 선택한 속성들에 대한 요약통계량입니다. (합, 최댓값, 최솟값, 평균값, 표준편차, 중앙값)',
open_table: '선택한 테이블의 테이블 창을 엽니다.',
open_table_wait: '입력한 시간 동안 선택한 테이블의 테이블 창을 엽니다.',
open_table_chart: '선택한 테이블의 차트 창을 엽니다.',
close_table_chart: '열려있는 테이블 차트 창을 닫습니다.',
get_coefficient:
'선택한 테이블에서 두 속성 사이의 상관계수입니다. 상관계수가 1(-1)에 가까울 수록 강한 양(음)의 선형 상관관계를 갖습니다.',
set_value_from_cell: '테이블에서 선택한 셀을 입력한 값으로 바꿉니다.',
get_value_from_cell: '테이블에서 선택한 셀의 값입니다.',
get_value_v_lookup:
'테이블에서 선택한 열이 특정한 값인 행을 찾고, 그 행의 다른 열 값을 반환합니다.',
insert_data_for_test: '데이터를 입력하고 학습한 모델로 인식합니다.',
insert_text_block_for_test: '데이터를 입력하고 학습한 모델로 인식합니다.',
test_result:
Expand Down Expand Up @@ -6884,10 +6909,6 @@ Lang.Helper = {
target_project: '목표 작품 확인하기',
study_goal: '학습 목표 확인하기',
show_hint: '힌트보기',
save_current_table:
'테이블을 현재 상태로 남깁니다. 작품을 정지해도 테이블에서 변경된 내용이 유지됩니다.',
open_table: '선택한 테이블의 테이블 창을 엽니다.',
open_table_wait: '입력한 시간 동안 선택한 테이블의 테이블 창을 엽니다.',
};
Lang.Category = {
entrybot_friends: '엔트리봇 친구들',
Expand Down Expand Up @@ -7789,13 +7810,19 @@ Lang.template = {
insert_row_to_table: '테이블 %1 %2 번째에 %3 추가하기 %4',
delete_row_from_table: '테이블 %1 %2번째 %3 삭제하기 %4',
set_value_from_table: '테이블 %1 %2번째 행의 %3을(를) %4(으)로 바꾸기 %5',
save_current_table: '테이블 %1 을(를) 현재 상태로 남기기 %2',
get_table_count: '테이블 %1의 %2 개수',
get_value_from_table: '테이블 %1 %2번째 행의 %3 값',
get_value_from_last_row: '테이블 %1 마지막 행의 %2 값',
calc_values_from_table: '테이블 %1 %2의 %3',
open_table_chart: '테이블 %1의 %2 차트 창 열기 %3',
open_table: '테이블 %1 창 열기 %2',
open_table_wait: '테이블 %1 창을 %2 초 동안 열기 %3',
open_table_chart: '테이블 %1 의 %2 차트 창 열기 %3',
close_table_chart: '테이블 차트 창 닫기 %1',
get_coefficient: '테이블 %1 %2과(와) %3의 상관계수',
get_coefficient: '테이블 %1 %2 과(와) %3 의 상관계수',
set_value_from_cell: '테이블 %1 의 %2 셀 값을 %3 (으)로 바꾸기 %4',
get_value_from_cell: '테이블 %1 의 %2 셀 값',
get_value_v_lookup: '테이블 %1 의 %2 이(가) %3 인 행의 %4 값',
variableAddButton: '%1',
listAddButton: '%1',
change_variable: '%1 에 %2 만큼 더하기 %3',
Expand Down Expand Up @@ -8191,9 +8218,6 @@ Lang.template = {
function_create_value: '함수 정의하기 %1 %2 %3 결괏값을 %4 (으)로 정하기',
run: '',
reverse_of_string: '%1 %2 %3',
save_current_table: '테이블 %1 을(를) 현재 상태로 남기기 %2',
open_table: '테이블 %1 창 열기 %2',
open_table_wait: '테이블 %1 창을 %2 초 동안 열기 %3',
video_capture_for_image_test: '비디오 화면을 학습한 모델로 분류 %1 %2',
};
Lang.TextCoding = {
Expand Down
3 changes: 3 additions & 0 deletions extern/util/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@ EntryStatic.getAllBlocks = function () {
'open_table_chart',
'close_table_chart',
'get_coefficient',
'set_value_from_cell',
'get_value_from_cell',
'get_value_v_lookup',
],
},
{
Expand Down
12 changes: 12 additions & 0 deletions extern/util/static_mini.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,16 @@ EntryStatic.searchProjectOption = [
},
];

EntryStatic.variableBlockList = [
'get_variable',
'change_variable',
'set_variable',
'show_variable',
'hide_variable',
];

EntryStatic.messageBlockList = ['when_message_cast', 'message_cast', 'message_cast_wait'];

EntryStatic.getAllBlocks = function () {
return [
{
Expand All @@ -134,8 +144,10 @@ EntryStatic.getAllBlocks = function () {
'mouse_clicked',
'mouse_click_cancled',
'when_object_click',
'when_object_click_canceled',
'when_message_cast',
'message_cast',
'message_cast_wait',
],
},
{
Expand Down
Loading
Loading