Skip to content

Commit

Permalink
chore: rollback buefy component split & update php libs before sf7
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryde committed Jan 1, 2024
1 parent 1deb090 commit 3635aa9
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 102 deletions.
43 changes: 3 additions & 40 deletions assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,51 +8,14 @@ import prettyDateFilter from "./filters/pretty-date-filter";
import VueGtag from "vue-gtag";
import * as Sentry from "@sentry/vue";
import GmapVue from 'gmap-vue';
import {
ConfigProgrammatic,
Input,
Navbar,
Loading,
Autocomplete,
Dropdown,
Icon,
Button,
Tag,
Skeleton,
Tooltip,
Pagination,
Message,
Image,
Modal,
Field,
Steps,
Table
} from 'buefy'
import Buefy from 'buefy'
import PerfectScrollbar from 'vue2-perfect-scrollbar'
import VueProgressBar from 'vue-progressbar'

Vue.use(Input);
Vue.use(Navbar);
Vue.use(Loading);
Vue.use(Autocomplete);
Vue.use(Dropdown);
Vue.use(Icon);
Vue.use(Button);
Vue.use(Tag);
Vue.use(Skeleton);
Vue.use(Tooltip);
Vue.use(Pagination);
Vue.use(Message);
Vue.use(Image);
Vue.use(Modal);
Vue.use(Field);
Vue.use(Steps);
Vue.use(Table);

ConfigProgrammatic.setOptions({
Vue.use(Buefy, {
defaultIconPack: 'fas',
defaultProgrammaticPromise: true
})
});

if (import.meta.env.VITE_SENTRY_DSN) {
Sentry.init({
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"google/apiclient-services": "^0.329.0",
"league/flysystem-aws-s3-v3": "^3.12",
"lexik/jwt-authentication-bundle": "^2.16",
"liip/imagine-bundle": "2.x-dev",
"liip/imagine-bundle": "^2.12",
"mailjet/mailjet-apiv3-php": "^1.5.7",
"nelmio/cors-bundle": "^2.2",
"nyholm/psr7": "^1.5.1",
Expand Down Expand Up @@ -61,7 +61,7 @@
"symfony/validator": "^6.1.4",
"symfony/web-link": "^6.1",
"symfony/yaml": "^6.1.4",
"vich/uploader-bundle": "^1.21.1"
"vich/uploader-bundle": "^2.3"
},
"require-dev": {
"dama/doctrine-test-bundle": "^7",
Expand Down
108 changes: 53 additions & 55 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions config/packages/dev/easy_log_handler.yaml

This file was deleted.

1 change: 1 addition & 0 deletions config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ doctrine:
url: '%env(resolve:DATABASE_URL)%'
server_version: 'mariadb-10.6.11'
orm:
enable_lazy_ghost_objects: true
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
auto_mapping: true
Expand Down
2 changes: 2 additions & 0 deletions config/packages/framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ framework:
#csrf_protection: true
http_method_override: false
handle_all_throwables: true
annotations:
enabled: false

# Enables session support. Note that the session will ONLY be started if you read or write from it.
# Remove or comment this section to explicitly disable session support.
Expand Down
2 changes: 1 addition & 1 deletion src/Service/DirectoryNamer/StaticDirectoryNamer.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function directoryName($object, PropertyMapping $mapping): string
return $this->path;
}

public function configure(array $options)
public function configure(array $options): void
{
$this->path = $options['path'] ?? '';
$this->propertyPath = $options['property'] ?? '';
Expand Down

0 comments on commit 3635aa9

Please sign in to comment.