From 213e3083a12e6ffd4c4936104053011cc766720a Mon Sep 17 00:00:00 2001 From: Nextcloud bot Date: Wed, 11 Jul 2018 00:19:11 +0000 Subject: [PATCH 1/6] [tx-robot] updated from transifex --- l10n/he.js | 20 ++++++++++++++++++++ l10n/he.json | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/l10n/he.js b/l10n/he.js index 715d977ec..521d33551 100644 --- a/l10n/he.js +++ b/l10n/he.js @@ -6,14 +6,25 @@ OC.L10N.register( "Remove user from card" : "הסרת משתמש מכרטיס", "Hours" : "שעות", "Minutes" : "דקות", + "Maximum file size of {size} exceeded" : "גודל הקבצים המרבי {size} הושג", "Are you sure you want to delete the stack with all of its data?" : "למחוק את הערימה הזאת עם כל הנתונים שלה?", "The card \"%s\" on \"%s\" has reached its due date." : "הכרטיס „%s” שתחת „%s” הגיע למועד התפוגה שלו.", "The board \"%s\" has been shared with you by %s." : "הלוח „%s” שותף אתך על ידי %s.", "{user} has shared the board %s with you." : "הלוח %s שותף אתך על ידי {user}", + "No data was provided to create an attachment." : "לא סופקו נתונים ליצירת קובץ מצורף", "Finished" : "הסתיים", "To review" : "לסקירה", "Action needed" : "נדרשת פעולה", "Later" : "מאוחר יותר", + "The file was uploaded" : "הקובץ הועלה", + "The uploaded file exceeds the upload_max_filesize directive in php.ini" : "הקובץ שהועלה חורג מההנחיה upload_max_filesize ב־php.ini", + "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "הקובץ שהועלה חורג מההנחיה MAX_FILE_SIZE שצוינה בטופס ה־HTML", + "The file was only partially uploaded" : "הקובץ הועלה באופן חלקי בלבד", + "No file was uploaded" : "לא הועלה קובץ", + "Missing a temporary folder" : "חסרה תיקייה זמנית", + "Could not write file to disk" : "לא ניתן לכתוב לכונן", + "A PHP extension stopped the file upload" : "הרחבת PHP עצרה את העלאת הקובץ", + "No file uploaded or file size exceeds maximum of %s" : "לא הועלה אף קובץ או שגודל הקובץ חרג מהסף המרבי של %s", "Deck" : "חפיסה", "A kanban style project and personal management tool for Nextcloud" : "כלי ניהול למיזמים או לדברים אישיים עבור Nextcloud", "Deck is a kanban style organization tool aimed at personal planning and project organization for teams integrated with Nextcloud.\n\n\n- 📥 Add your tasks to cards and put them in order\n- 📄 Write down additional notes in markdown\n- 🔖 Assign labels for even better organization\n- 👥 Share with your team, friends or family\n- 🚀 Get your project organized" : "חבילה היא כלי ניהול בסגנון קנבן שמיועד לתכנון אישי או לארגון מיזמים לצוותים בשילוב עם Nextcloud.\n\n\n- 📥 הוספת המשימות שלך וסידור שלהן\n- 📄 כתיבת הערות נוספות בתצורת markdown\n- 🔖 הקצאת תוויות למטרת ארגון טוב יותר\n- 👥 שיתוף עם הצוות, החברים או המשפחה שלך\n- 🚀 ארגון המיזם שלך כמו שצריך", @@ -24,6 +35,7 @@ OC.L10N.register( "Board details" : "פרטי לוח", "All Boards" : "כל הלוחות", "Archived boards" : "לוחות שנשמרו בארכיון", + "Drop your files here to upload it to the card" : "ניתן להשליך את הקבצים שלך כאן כדי להעלות אותם לכרטיס", "Archive" : "לארכיון", "Unarchive" : "הוצאה מהארכיון", "Enter a card title" : "נא להקליד כותרת לכרטיס", @@ -54,7 +66,12 @@ OC.L10N.register( "Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "ביטול מחיקת לוח - אחרת הלוח יימחק במהלך ריצת ה־cronjob הבאה.", "Create new board" : "יצירת לוח חדש", "New board title" : "כותרת לוח חדשה", + "Select an attachment" : "נא לבחור קובץ מצורף", + "Cancel upload" : "ביטול העלאה", "by" : "מאת", + "Undo file deletion - Otherwise the file will be deleted during the next cronjob run." : "ביטול מחיקת קובץ - אחרת הקובץ יימחק עם ריצת משימת ה־cron הבאה.", + "Undo file deletion" : "ביטול מחיקת קובץ", + "Insert the file into the description" : "הוספת הקובץ לתיאור", "Modified:" : "מועד השינוי", "Created:" : "מועד היצירה:", "Choose a tag" : "נא לבחור תגית", @@ -67,9 +84,12 @@ OC.L10N.register( "Click to set" : "יש ללחוץ להגדרה", "Remove due date" : "הסרת מועד התפוגה", "Description" : "תיאוג", + "Attachments" : "קבצים מצורפים", "Saved" : "נשמר", "Unsaved changes" : "שינויים שלא נשמרו", "Formatting help" : "עזרה בסידור בתבנית", + "Upload attachment" : "העלאת קבצים מצורפים", + "Insert attachment" : "הוספת קובץ מצורף", "Add a card description…" : "הוספת תיאור כרטיס…", "Shared boards" : "לוחות משותפים", "View more" : "הצגת עוד", diff --git a/l10n/he.json b/l10n/he.json index 6a07a6485..6bd35d1b3 100644 --- a/l10n/he.json +++ b/l10n/he.json @@ -4,14 +4,25 @@ "Remove user from card" : "הסרת משתמש מכרטיס", "Hours" : "שעות", "Minutes" : "דקות", + "Maximum file size of {size} exceeded" : "גודל הקבצים המרבי {size} הושג", "Are you sure you want to delete the stack with all of its data?" : "למחוק את הערימה הזאת עם כל הנתונים שלה?", "The card \"%s\" on \"%s\" has reached its due date." : "הכרטיס „%s” שתחת „%s” הגיע למועד התפוגה שלו.", "The board \"%s\" has been shared with you by %s." : "הלוח „%s” שותף אתך על ידי %s.", "{user} has shared the board %s with you." : "הלוח %s שותף אתך על ידי {user}", + "No data was provided to create an attachment." : "לא סופקו נתונים ליצירת קובץ מצורף", "Finished" : "הסתיים", "To review" : "לסקירה", "Action needed" : "נדרשת פעולה", "Later" : "מאוחר יותר", + "The file was uploaded" : "הקובץ הועלה", + "The uploaded file exceeds the upload_max_filesize directive in php.ini" : "הקובץ שהועלה חורג מההנחיה upload_max_filesize ב־php.ini", + "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "הקובץ שהועלה חורג מההנחיה MAX_FILE_SIZE שצוינה בטופס ה־HTML", + "The file was only partially uploaded" : "הקובץ הועלה באופן חלקי בלבד", + "No file was uploaded" : "לא הועלה קובץ", + "Missing a temporary folder" : "חסרה תיקייה זמנית", + "Could not write file to disk" : "לא ניתן לכתוב לכונן", + "A PHP extension stopped the file upload" : "הרחבת PHP עצרה את העלאת הקובץ", + "No file uploaded or file size exceeds maximum of %s" : "לא הועלה אף קובץ או שגודל הקובץ חרג מהסף המרבי של %s", "Deck" : "חפיסה", "A kanban style project and personal management tool for Nextcloud" : "כלי ניהול למיזמים או לדברים אישיים עבור Nextcloud", "Deck is a kanban style organization tool aimed at personal planning and project organization for teams integrated with Nextcloud.\n\n\n- 📥 Add your tasks to cards and put them in order\n- 📄 Write down additional notes in markdown\n- 🔖 Assign labels for even better organization\n- 👥 Share with your team, friends or family\n- 🚀 Get your project organized" : "חבילה היא כלי ניהול בסגנון קנבן שמיועד לתכנון אישי או לארגון מיזמים לצוותים בשילוב עם Nextcloud.\n\n\n- 📥 הוספת המשימות שלך וסידור שלהן\n- 📄 כתיבת הערות נוספות בתצורת markdown\n- 🔖 הקצאת תוויות למטרת ארגון טוב יותר\n- 👥 שיתוף עם הצוות, החברים או המשפחה שלך\n- 🚀 ארגון המיזם שלך כמו שצריך", @@ -22,6 +33,7 @@ "Board details" : "פרטי לוח", "All Boards" : "כל הלוחות", "Archived boards" : "לוחות שנשמרו בארכיון", + "Drop your files here to upload it to the card" : "ניתן להשליך את הקבצים שלך כאן כדי להעלות אותם לכרטיס", "Archive" : "לארכיון", "Unarchive" : "הוצאה מהארכיון", "Enter a card title" : "נא להקליד כותרת לכרטיס", @@ -52,7 +64,12 @@ "Undo board deletion - Otherwise the board will be deleted during the next cronjob run." : "ביטול מחיקת לוח - אחרת הלוח יימחק במהלך ריצת ה־cronjob הבאה.", "Create new board" : "יצירת לוח חדש", "New board title" : "כותרת לוח חדשה", + "Select an attachment" : "נא לבחור קובץ מצורף", + "Cancel upload" : "ביטול העלאה", "by" : "מאת", + "Undo file deletion - Otherwise the file will be deleted during the next cronjob run." : "ביטול מחיקת קובץ - אחרת הקובץ יימחק עם ריצת משימת ה־cron הבאה.", + "Undo file deletion" : "ביטול מחיקת קובץ", + "Insert the file into the description" : "הוספת הקובץ לתיאור", "Modified:" : "מועד השינוי", "Created:" : "מועד היצירה:", "Choose a tag" : "נא לבחור תגית", @@ -65,9 +82,12 @@ "Click to set" : "יש ללחוץ להגדרה", "Remove due date" : "הסרת מועד התפוגה", "Description" : "תיאוג", + "Attachments" : "קבצים מצורפים", "Saved" : "נשמר", "Unsaved changes" : "שינויים שלא נשמרו", "Formatting help" : "עזרה בסידור בתבנית", + "Upload attachment" : "העלאת קבצים מצורפים", + "Insert attachment" : "הוספת קובץ מצורף", "Add a card description…" : "הוספת תיאור כרטיס…", "Shared boards" : "לוחות משותפים", "View more" : "הצגת עוד", From 23184251601a3ef84c9f7ae203ac6529904c317e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 10 Jul 2018 16:15:51 +0200 Subject: [PATCH 2/6] Add package target to Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 30a06e773..7fc68f9ec 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ sign_dir=$(build_dir)/sign cert_dir=$(HOME)/.nextcloud/certificates -default: build +default: package clean-build: rm -rf $(build_dir) @@ -95,3 +95,5 @@ test-integration: test-js: install-deps cd js && run test +package: + krankerl package From 9f66ce618ee8c0f2f7d9fc8dee0e48c400c214c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 10 Jul 2018 16:16:36 +0200 Subject: [PATCH 3/6] Bump version to 0.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- appinfo/info.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 4c9d7b69e..eb0bb642d 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -14,7 +14,7 @@ - 🚀 Get your project organized - 0.4.0-beta5 + 0.4.0 agpl Julius Härtl Deck From 820ad7c52347dddea39e8e0ef65c8b94328dfe08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 10 Jul 2018 16:18:11 +0200 Subject: [PATCH 4/6] Update changelog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77eebc338..92dc70c47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog All notable changes to this project will be documented in this file. -## 0.4.0 - unreleased +## 0.4.0 - 2018-07-11 ### Added From f3296dd443569c8cc7358844fd7ee3d65d8366d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 10 Jul 2018 16:19:51 +0200 Subject: [PATCH 5/6] Add compatibility check for 12,13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .drone.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.drone.yml b/.drone.yml index 73b1b7a86..bbdcbaa52 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,6 +22,42 @@ pipeline: when: matrix: TESTS: check-app-compatbility + check-app-compatbility-12: + image: nextcloudci/php7.0:php7.0-17 + environment: + - APP_NAME=deck + - CORE_BRANCH=stable12 + - DB=sqlite + commands: + # Pre-setup steps + - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh + - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB + - cd ../server + # Code checker + - ./occ app:check-code $APP_NAME -c strong-comparison + - ./occ app:check-code $APP_NAME -c deprecation + - cd apps/$APP_NAME/ + when: + matrix: + TESTS: check-app-compatbility-13 + check-app-compatbility-12: + image: nextcloudci/php7.0:php7.0-17 + environment: + - APP_NAME=deck + - CORE_BRANCH=stable12 + - DB=sqlite + commands: + # Pre-setup steps + - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh + - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB + - cd ../server + # Code checker + - ./occ app:check-code $APP_NAME -c strong-comparison + - ./occ app:check-code $APP_NAME -c deprecation + - cd apps/$APP_NAME/ + when: + matrix: + TESTS: check-app-compatbility-12 signed-off-check: image: nextcloudci/php7.0:php7.0-17 environment: @@ -194,6 +230,8 @@ pipeline: matrix: include: - TESTS: check-app-compatbility + - TESTS: check-app-compatbility-12 + - TESTS: check-app-compatbility-13 - TESTS: signed-off-check - TESTS: syntax-php5.6 - TESTS: syntax-php7.0 From 7794fa065cfc7b156ce8f8e7946c7b6f888ad9be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 12 Jul 2018 16:06:17 +0200 Subject: [PATCH 6/6] Cast uploadLimit to integer to catch possible INF result MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Controller/PageController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 6e06db25d..b8a8449ae 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -46,7 +46,7 @@ class PageController extends Controller { public function index() { $params = [ 'user' => $this->userId, - 'maxUploadSize' => \OCP\Util::uploadLimit(), + 'maxUploadSize' => (int)\OCP\Util::uploadLimit(), ]; return new TemplateResponse('deck', 'main', $params); }