Skip to content

Commit d803f59

Browse files
authored
Merge branch '1.x' into fix/default-weight-unit
2 parents 3365761 + 0c140bd commit d803f59

217 files changed

Lines changed: 3115 additions & 2209 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/fix-code-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: fix-code-style
22

33
on:
4-
pull_request:
4+
push:
55

66
jobs:
77
fix-code-style:

composer.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@
99
}
1010
],
1111
"require": {
12-
"awcodes/filament-badgeable-column": "^2.3.2",
13-
"awcodes/shout": "^2.0.4",
12+
"awcodes/filament-badgeable-column": "^v3.0.0-beta.1",
13+
"awcodes/shout": "^v3.0.0-beta.2",
1414
"barryvdh/laravel-dompdf": "^3.0",
1515
"cartalyst/converter": "^9.0|^10",
1616
"doctrine/dbal": "^3.6|^4.0",
1717
"dompdf/dompdf": "^3.1",
1818
"ext-bcmath": "*",
1919
"ext-exif": "*",
2020
"ext-intl": "*",
21-
"filament/filament": "^3.3.36",
22-
"filament/spatie-laravel-media-library-plugin": "^3.3.4",
21+
"filament/filament": "^4.1",
22+
"filament/spatie-laravel-media-library-plugin": "^4.0",
2323
"guzzlehttp/guzzle": "^7.3",
2424
"http-interop/http-factory-guzzle": "^1.2",
2525
"kalnoy/nestedset": "^v6.0.5",
2626
"laravel/framework": "^11.0|^12.0",
2727
"laravel/scout": "^10.13.1",
28-
"leandrocfe/filament-apex-charts": "^3.2.0",
28+
"leandrocfe/filament-apex-charts": "^5.0",
2929
"livewire/livewire": "^3.0",
3030
"lukascivil/treewalker": "0.9.1",
3131
"lunarphp/lunar": "self.version",
@@ -37,19 +37,20 @@
3737
"spatie/laravel-medialibrary": "^11.12.7",
3838
"spatie/laravel-permission": "^6.12",
3939
"spatie/php-structure-discoverer": "^2.3.1",
40-
"stephenjude/filament-two-factor-authentication": "^2.0",
4140
"stripe/stripe-php": "^16.0",
4241
"technikermathe/blade-lucide-icons": "^v3.0",
4342
"typesense/typesense-php": "^4.9"
4443
},
4544
"require-dev": {
45+
"filament/upgrade": "^4.0",
4646
"larastan/larastan": "^2.9|^3.0",
4747
"laravel/pint": "1.17.0",
4848
"mockery/mockery": "^1.6.9",
4949
"orchestra/testbench": "^8.0|^9.0|^10.0",
5050
"pestphp/pest": "^2.0|^3.0",
5151
"pestphp/pest-plugin-laravel": "^2.0|^3.0",
52-
"symplify/monorepo-builder": "^10.0"
52+
"phpstan/phpstan": "2.1.17",
53+
"symplify/monorepo-builder": "^11.0"
5354
},
5455
"autoload": {
5556
"files": [
@@ -87,6 +88,7 @@
8788
"Lunar\\Tests\\Search\\": "tests/search"
8889
}
8990
},
91+
"repositories": [],
9092
"extra": {
9193
"lunar": {
9294
"name": [

packages/admin/composer.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,27 @@
1313
]
1414
},
1515
"minimum-stability": "dev",
16+
"repositories": [],
1617
"require": {
1718
"lunarphp/core": "self.version",
18-
"filament/filament": "^3.3.36",
19-
"filament/spatie-laravel-media-library-plugin": "^3.3.4",
19+
"filament/filament": "^4.1",
20+
"filament/spatie-laravel-media-library-plugin": "^4.0",
2021
"spatie/laravel-permission": "^6.12",
2122
"barryvdh/laravel-dompdf": "^3.0",
2223
"technikermathe/blade-lucide-icons": "^v3.0",
23-
"leandrocfe/filament-apex-charts": "^3.2.0",
24-
"awcodes/shout": "^2.0.4",
25-
"awcodes/filament-badgeable-column": "^2.3.2",
26-
"stephenjude/filament-two-factor-authentication": "^2.0"
24+
"leandrocfe/filament-apex-charts": "^5.0",
25+
"awcodes/shout": "^v3.0.0-beta.2",
26+
"awcodes/filament-badgeable-column": "^v3.0.0-beta.1"
2727
},
2828
"extra": {
2929
"laravel": {
3030
"providers": [
3131
"Lunar\\Admin\\LunarPanelProvider"
3232
]
3333
}
34+
},
35+
"require-dev": {
36+
"filament/upgrade": "^4.0",
37+
"phpstan/phpstan": "2.1.17"
3438
}
3539
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
use Illuminate\Database\Schema\Blueprint;
4+
use Illuminate\Support\Facades\Schema;
5+
6+
return new class extends \Lunar\Base\Migration
7+
{
8+
public function up(): void
9+
{
10+
Schema::table($this->prefix.'staff', function (Blueprint $table) {
11+
$table->renameColumn('two_factor_secret', 'app_authentication_secret');
12+
$table->renameColumn('two_factor_recovery_codes', 'app_authentication_recovery_codes');
13+
$table->dropColumn('two_factor_confirmed_at');
14+
});
15+
}
16+
17+
public function down(): void
18+
{
19+
Schema::table($this->prefix.'staff', function (Blueprint $table) {
20+
$table->renameColumn('app_authentication_secret', 'two_factor_secret');
21+
$table->renameColumn('app_authentication_recovery_codes', 'two_factor_recovery_codes');
22+
$table->timestamp('two_factor_confirmed_at')->nullable();
23+
});
24+
}
25+
};

packages/admin/package.json

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,18 @@
22
"private": true,
33
"type": "module",
44
"scripts": {
5-
"dev:styles": "npx tailwindcss -i resources/css/index.css -o resources/dist/lunar-panel.css --postcss --watch",
5+
"dev:styles": "npx @tailwindcss/cli -i resources/css/index.css -o resources/dist/lunar-panel.css --watch",
66
"dev:scripts": "node bin/build.js --dev",
7-
"build:styles": "npx tailwindcss -i resources/css/index.css -o resources/dist/lunar-panel.css --postcss --minify && npm run purge",
7+
"build:styles": "npx @tailwindcss/cli -i resources/css/index.css -o resources/dist/lunar-panel.css --minify",
88
"build:scripts": "node bin/build.js",
9-
"purge": "filament-purge -i resources/dist/lunar-panel.css -o resources/dist/lunar-panel.css -v 3.x",
109
"dev": "npm-run-all --parallel dev:*",
1110
"build": "npm-run-all build:*"
1211
},
1312
"devDependencies": {
14-
"@awcodes/filament-plugin-purge": "^1.1.1",
15-
"@tailwindcss/forms": "^0.5.4",
16-
"@tailwindcss/typography": "^0.5.9",
17-
"autoprefixer": "^10.4.14",
13+
"@tailwindcss/cli": "^4.0.0",
1814
"esbuild": "^0.19.2",
1915
"npm-run-all": "^4.1.5",
20-
"postcss": "^8.4.26",
21-
"postcss-import": "^15.1.0",
2216
"prettier": "^2.7.1",
23-
"prettier-plugin-tailwindcss": "^0.1.13",
24-
"tailwindcss": "^3.3.3"
17+
"prettier-plugin-tailwindcss": "^0.1.13"
2518
}
26-
}
19+
}

packages/admin/postcss.config.cjs

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
@import '../../vendor/filament/filament/resources/css/theme.css';
2+
3+
@source '../../resources/views/**/*.blade.php';

packages/admin/resources/dist/lunar-panel.css

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/admin/resources/lang/de/order.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@
238238
'notification' => 'Bestellstatus aktualisiert',
239239
],
240240
'update_status' => [
241+
'label' => 'Update Status',
242+
'notification' => 'Order status updated',
241243
'new_status' => [
242244
'label' => 'Neuer Status',
243245
],

packages/admin/resources/lang/de/product.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
],
116116
'collections' => [
117117
'label' => 'Sammlungen',
118+
'select_collection' => 'Select a collection',
118119
],
119120
'associations' => [
120121
'label' => 'Produktverknüpfungen',

0 commit comments

Comments
 (0)