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 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 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 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 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" : "הצגת עוד", diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 42603a232..e457c154f 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -59,7 +59,7 @@ class PageController extends Controller { public function index() { $params = [ 'user' => $this->userId, - 'maxUploadSize' => \OCP\Util::uploadLimit(), + 'maxUploadSize' => (int)\OCP\Util::uploadLimit(), ]; if ($this->defaultBoardService->checkFirstRun($this->userId, $this->appName)) {