From: Hamatoma Date: Sat, 22 Feb 2025 23:05:04 +0000 (+0100) Subject: V 0.2.6 Hours X-Git-Url: https://gitweb.hamatoma.de/?a=commitdiff_plain;h=988e2b4b2f8cbccc542440d0fb3b8388972299c6;p=oo4f.git V 0.2.6 Hours - new: ExportHelperLocal --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d4ac36..67ffa06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# V 0.2.6 Hours + +- new: ExportHelperLocal + # V 0.2.5 TaskController - TaskController: create() fix: wrong combobox settings on error diff --git a/app/Helpers/ExportHelperLocal.php b/app/Helpers/ExportHelperLocal.php new file mode 100644 index 0000000..6a53fc9 --- /dev/null +++ b/app/Helpers/ExportHelperLocal.php @@ -0,0 +1,21 @@ +format('Y.m.d'); + $filename = FileHelper::buildExportName("hours.$dateStr", '.csv'); + $lines = ["Datum\tDauer\tTyp\tFaktor\tInteressierte\tBeschreibung\n"]; + foreach ($records as $record) { + $line = "$record->time\t$record->duration\t$record->hourtype\t$record->factor\t$record->interested\t$record->description\n"; + array_push($lines, $line); + } + file_put_contents($filename, $lines); + return $filename; + } +} \ No newline at end of file diff --git a/composer.lock b/composer.lock index 16d298e..5972a05 100644 --- a/composer.lock +++ b/composer.lock @@ -970,16 +970,16 @@ }, { "name": "guzzlehttp/uri-template", - "version": "v1.0.3", + "version": "v1.0.4", "source": { "type": "git", "url": "https://github.com/guzzle/uri-template.git", - "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c" + "reference": "30e286560c137526eccd4ce21b2de477ab0676d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/uri-template/zipball/ecea8feef63bd4fef1f037ecb288386999ecc11c", - "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/30e286560c137526eccd4ce21b2de477ab0676d2", + "reference": "30e286560c137526eccd4ce21b2de477ab0676d2", "shasum": "" }, "require": { @@ -1036,7 +1036,7 @@ ], "support": { "issues": "https://github.com/guzzle/uri-template/issues", - "source": "https://github.com/guzzle/uri-template/tree/v1.0.3" + "source": "https://github.com/guzzle/uri-template/tree/v1.0.4" }, "funding": [ { @@ -1052,7 +1052,7 @@ "type": "tidelift" } ], - "time": "2023-12-03T19:50:20+00:00" + "time": "2025-02-03T10:55:03+00:00" }, { "name": "hamatoma/laraknife", @@ -1060,7 +1060,7 @@ "dist": { "type": "path", "url": "../laraknife", - "reference": "1a656674b451be0e21c5b86546c9b6aa342ae98e" + "reference": "7d27950ee05d6319afcb1068201f21374dc995a9" }, "require-dev": { "phpunit/phpunit": "11.0.x-dev" @@ -1091,16 +1091,16 @@ }, { "name": "laravel/framework", - "version": "v11.41.3", + "version": "v11.43.2", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "3ef433d5865f30a19b6b1be247586068399b59cc" + "reference": "99d1573698abc42222f04d25fcd5b213d0eedf21" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/3ef433d5865f30a19b6b1be247586068399b59cc", - "reference": "3ef433d5865f30a19b6b1be247586068399b59cc", + "url": "https://api.github.com/repos/laravel/framework/zipball/99d1573698abc42222f04d25fcd5b213d0eedf21", + "reference": "99d1573698abc42222f04d25fcd5b213d0eedf21", "shasum": "" }, "require": { @@ -1208,11 +1208,11 @@ "league/flysystem-read-only": "^3.25.1", "league/flysystem-sftp-v3": "^3.25.1", "mockery/mockery": "^1.6.10", - "orchestra/testbench-core": "^9.6", + "orchestra/testbench-core": "^9.9.4", "pda/pheanstalk": "^5.0.6", "php-http/discovery": "^1.15", - "phpstan/phpstan": "^1.11.5", - "phpunit/phpunit": "^10.5.35|^11.3.6", + "phpstan/phpstan": "^2.0", + "phpunit/phpunit": "^10.5.35|^11.3.6|^12.0.1", "predis/predis": "^2.3", "resend/resend-php": "^0.10.0", "symfony/cache": "^7.0.3", @@ -1244,7 +1244,7 @@ "mockery/mockery": "Required to use mocking (^1.6).", "pda/pheanstalk": "Required to use the beanstalk queue driver (^5.0).", "php-http/discovery": "Required to use PSR-7 bridging features (^1.15).", - "phpunit/phpunit": "Required to use assertions and run tests (^10.5|^11.0).", + "phpunit/phpunit": "Required to use assertions and run tests (^10.5.35|^11.3.6|^12.0.1).", "predis/predis": "Required to use the predis connector (^2.3).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", @@ -1302,20 +1302,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2025-01-30T13:25:22+00:00" + "time": "2025-02-19T21:53:48+00:00" }, { "name": "laravel/prompts", - "version": "v0.3.4", + "version": "v0.3.5", "source": { "type": "git", "url": "https://github.com/laravel/prompts.git", - "reference": "abeaa2ba4294247d5409490d1ca1bc6248087011" + "reference": "57b8f7efe40333cdb925700891c7d7465325d3b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/abeaa2ba4294247d5409490d1ca1bc6248087011", - "reference": "abeaa2ba4294247d5409490d1ca1bc6248087011", + "url": "https://api.github.com/repos/laravel/prompts/zipball/57b8f7efe40333cdb925700891c7d7465325d3b1", + "reference": "57b8f7efe40333cdb925700891c7d7465325d3b1", "shasum": "" }, "require": { @@ -1359,22 +1359,22 @@ "description": "Add beautiful and user-friendly forms to your command-line applications.", "support": { "issues": "https://github.com/laravel/prompts/issues", - "source": "https://github.com/laravel/prompts/tree/v0.3.4" + "source": "https://github.com/laravel/prompts/tree/v0.3.5" }, - "time": "2025-01-24T15:41:01+00:00" + "time": "2025-02-11T13:34:40+00:00" }, { "name": "laravel/serializable-closure", - "version": "v2.0.2", + "version": "v2.0.3", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "2e1a362527783bcab6c316aad51bf36c5513ae44" + "reference": "f379c13663245f7aa4512a7869f62eb14095f23f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/2e1a362527783bcab6c316aad51bf36c5513ae44", - "reference": "2e1a362527783bcab6c316aad51bf36c5513ae44", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/f379c13663245f7aa4512a7869f62eb14095f23f", + "reference": "f379c13663245f7aa4512a7869f62eb14095f23f", "shasum": "" }, "require": { @@ -1422,7 +1422,7 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2025-01-24T15:42:37+00:00" + "time": "2025-02-11T15:03:05+00:00" }, { "name": "laravel/tinker", @@ -2209,16 +2209,16 @@ }, { "name": "nesbot/carbon", - "version": "3.8.4", + "version": "3.8.6", "source": { "type": "git", "url": "https://github.com/CarbonPHP/carbon.git", - "reference": "129700ed449b1f02d70272d2ac802357c8c30c58" + "reference": "ff2f20cf83bd4d503720632ce8a426dc747bf7fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/129700ed449b1f02d70272d2ac802357c8c30c58", - "reference": "129700ed449b1f02d70272d2ac802357c8c30c58", + "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/ff2f20cf83bd4d503720632ce8a426dc747bf7fd", + "reference": "ff2f20cf83bd4d503720632ce8a426dc747bf7fd", "shasum": "" }, "require": { @@ -2294,8 +2294,8 @@ ], "support": { "docs": "https://carbon.nesbot.com/docs", - "issues": "https://github.com/briannesbitt/Carbon/issues", - "source": "https://github.com/briannesbitt/Carbon" + "issues": "https://github.com/CarbonPHP/carbon/issues", + "source": "https://github.com/CarbonPHP/carbon" }, "funding": [ { @@ -2311,7 +2311,7 @@ "type": "tidelift" } ], - "time": "2024-12-27T09:25:35+00:00" + "time": "2025-02-20T17:33:38+00:00" }, { "name": "nette/schema", @@ -3399,16 +3399,16 @@ }, { "name": "spatie/laravel-permission", - "version": "6.12.0", + "version": "6.15.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-permission.git", - "reference": "420ea2a49db480302813d444834baaf7c8674782" + "reference": "86074fcfd127f9fa7bcdf550b7c938e3beb0d65f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/420ea2a49db480302813d444834baaf7c8674782", - "reference": "420ea2a49db480302813d444834baaf7c8674782", + "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/86074fcfd127f9fa7bcdf550b7c938e3beb0d65f", + "reference": "86074fcfd127f9fa7bcdf550b7c938e3beb0d65f", "shasum": "" }, "require": { @@ -3470,7 +3470,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-permission/issues", - "source": "https://github.com/spatie/laravel-permission/tree/6.12.0" + "source": "https://github.com/spatie/laravel-permission/tree/6.15.0" }, "funding": [ { @@ -3478,7 +3478,7 @@ "type": "github" } ], - "time": "2025-01-31T01:07:40+00:00" + "time": "2025-02-17T19:18:01+00:00" }, { "name": "symfony/clock", @@ -6246,16 +6246,16 @@ }, { "name": "laravel/pint", - "version": "v1.20.0", + "version": "v1.21.0", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "53072e8ea22213a7ed168a8a15b96fbb8b82d44b" + "reference": "531fa0871fbde719c51b12afa3a443b8f4e4b425" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/53072e8ea22213a7ed168a8a15b96fbb8b82d44b", - "reference": "53072e8ea22213a7ed168a8a15b96fbb8b82d44b", + "url": "https://api.github.com/repos/laravel/pint/zipball/531fa0871fbde719c51b12afa3a443b8f4e4b425", + "reference": "531fa0871fbde719c51b12afa3a443b8f4e4b425", "shasum": "" }, "require": { @@ -6263,15 +6263,15 @@ "ext-mbstring": "*", "ext-tokenizer": "*", "ext-xml": "*", - "php": "^8.1.0" + "php": "^8.2.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.66.0", - "illuminate/view": "^10.48.25", - "larastan/larastan": "^2.9.12", - "laravel-zero/framework": "^10.48.25", + "friendsofphp/php-cs-fixer": "^3.68.5", + "illuminate/view": "^11.42.0", + "larastan/larastan": "^3.0.4", + "laravel-zero/framework": "^11.36.1", "mockery/mockery": "^1.6.12", - "nunomaduro/termwind": "^1.17.0", + "nunomaduro/termwind": "^2.3", "pestphp/pest": "^2.36.0" }, "bin": [ @@ -6308,7 +6308,7 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2025-01-14T16:20:53+00:00" + "time": "2025-02-18T03:18:57+00:00" }, { "name": "laravel/sail", @@ -6458,16 +6458,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.12.1", + "version": "1.13.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845" + "reference": "024473a478be9df5fdaca2c793f2232fe788e414" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845", - "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/024473a478be9df5fdaca2c793f2232fe788e414", + "reference": "024473a478be9df5fdaca2c793f2232fe788e414", "shasum": "" }, "require": { @@ -6506,7 +6506,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1" + "source": "https://github.com/myclabs/DeepCopy/tree/1.13.0" }, "funding": [ { @@ -6514,7 +6514,7 @@ "type": "tidelift" } ], - "time": "2024-11-08T17:47:46+00:00" + "time": "2025-02-12T12:17:51+00:00" }, { "name": "nunomaduro/collision", @@ -7057,16 +7057,16 @@ }, { "name": "phpunit/phpunit", - "version": "11.5.6", + "version": "11.5.9", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3c3ae14c90f244cdda95028c3e469028e8d1c02c" + "reference": "c91c830e7108a81e5845aeb6ba8fe3c1a4351c0b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3c3ae14c90f244cdda95028c3e469028e8d1c02c", - "reference": "3c3ae14c90f244cdda95028c3e469028e8d1c02c", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c91c830e7108a81e5845aeb6ba8fe3c1a4351c0b", + "reference": "c91c830e7108a81e5845aeb6ba8fe3c1a4351c0b", "shasum": "" }, "require": { @@ -7076,7 +7076,7 @@ "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.12.1", + "myclabs/deep-copy": "^1.13.0", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", "php": ">=8.2", @@ -7138,7 +7138,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.6" + "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.9" }, "funding": [ { @@ -7154,7 +7154,7 @@ "type": "tidelift" } ], - "time": "2025-01-31T07:03:30+00:00" + "time": "2025-02-21T06:08:50+00:00" }, { "name": "sebastian/cli-parser", diff --git a/database/migrations/2025_02_18_062227_modify_hours_interested.php b/database/migrations/2025_02_18_062227_modify_hours_interested.php new file mode 120000 index 0000000..89734fa --- /dev/null +++ b/database/migrations/2025_02_18_062227_modify_hours_interested.php @@ -0,0 +1 @@ +../../vendor/hamatoma/laraknife/templates/database/migrations/2025_02_18_062227_modify_hours_interested.php \ No newline at end of file diff --git a/lang/de_DE.json b/lang/de_DE.json index ce47c28..846eb16 100644 --- a/lang/de_DE.json +++ b/lang/de_DE.json @@ -125,6 +125,7 @@ "Imprint": "Impressum", "Info": "Info", "Insert Position": "Einf\u00fcgeposition", + "Interested": "Interessierte", "Italian (Italy)": "Italienisch (Italien)", "Label": "Beschriftung", "Language": "Sprache", @@ -142,6 +143,7 @@ "Member": "Mitglied", "Members": "Mitglieder", "Middlename": "Weitere Vornamen", + "Modify hour entries": "Stundeneintr\u00e4ge bearbeiten", "Module": "Modul", "Mon": "Mo", "Name": "Name", @@ -183,6 +185,7 @@ "Search": "Suche", "Send": "Absenden", "Set Password": "Passwort \u00e4ndern", + "Set feature to all visible": "Setze Eigenschaft f\u00fcr alle Sichtbaren", "Settings": "Einstellungen", "Shift": "Verschiebung", "Shortname": "Kurzname",