Skip to content

Commit 8a5405c

Browse files
authored
Merge pull request #107 from filips123/update-dependencies
Update dependencies
2 parents 5a517b4 + c95dce8 commit 8a5405c

File tree

7 files changed

+1306
-744
lines changed

7 files changed

+1306
-744
lines changed

API/gimvicurnik/commands/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def update_timetable_command() -> None:
2929

3030

3131
# fmt: off
32+
3233
@click.command("update-eclassroom", help="Update the e-classroom data.")
3334
@click.option("--parse-substitutions/--no-parse-substitutions", "-s/-no-s", help="Parse substitutions.", default=False)
3435
@click.option("--parse-lunch-schedules/--no-parse-lunch-schedules", "-l/-no-l", help="Parse lunch schedules.", default=True)

API/poetry.lock

Lines changed: 266 additions & 254 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

API/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@ PyYAML = "^6.0.2"
4242
flask = "^3.0.3"
4343
click = "^8.1.7"
4444
attrs = "~24.2.0"
45-
cattrs = "~23.2.3"
45+
cattrs = "~24.1.1"
4646
requests = "^2.32.3"
47-
SQLAlchemy = "^2.0.32"
47+
SQLAlchemy = "^2.0.34"
4848
pdfplumber = "^0.11.4"
4949
openpyxl = "^3.1.5"
5050
mammoth = "^1.8.0"
5151
icalendar = "^5.0.13"
5252
beautifulsoup4 = { version = "^4.12.3", extras = ["lxml"] }
5353

5454
# Optional support for Sentry integration
55-
sentry-sdk = { version = "^2.13.0", extras = ["flask", "sqlalchemy", "pure_eval"], optional = true }
55+
sentry-sdk = { version = "^2.14.0", extras = ["flask", "sqlalchemy", "pure_eval"], optional = true }
5656

5757
# Optional support for different databases
5858
PyMySQL = { version = "^1.1.1", optional = true }
@@ -61,7 +61,7 @@ psycopg2 = { version = "^2.9.9", optional = true }
6161

6262
[tool.poetry.group.dev.dependencies]
6363
mypy = "^1.11.2"
64-
ruff = "^0.6.2"
64+
ruff = "^0.6.5"
6565
types-pyyaml = "^6.0.12"
6666
types-openpyxl = "^3.1.5"
6767
types-requests = "^2.32.0"

website/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,40 +23,40 @@
2323
"typecheck": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
2424
"format": "prettier src plugins ${0:- --check}"
2525
},
26-
"packageManager": "yarn@4.4.1",
26+
"packageManager": "yarn@4.5.0",
2727
"dependencies": {
2828
"@mdi/js": "^7.4.47",
29-
"@sentry/browser": "^8.27.0",
30-
"@sentry/types": "^8.27.0",
31-
"@sentry/vue": "^8.27.0",
29+
"@sentry/browser": "^8.30.0",
30+
"@sentry/types": "^8.30.0",
31+
"@sentry/vue": "^8.30.0",
3232
"@vueuse/core": "^11.0.3",
3333
"pinia": "^2.2.2",
34-
"pinia-plugin-persistedstate": "^3.2.1",
34+
"pinia-plugin-persistedstate": "^4.0.1",
3535
"pulltorefreshjs": "^0.1.22",
36-
"vue": "^3.4.38",
37-
"vue-router": "^4.4.3",
36+
"vue": "^3.5.5",
37+
"vue-router": "^4.4.5",
3838
"vuetify": "^3.7.1"
3939
},
4040
"devDependencies": {
4141
"@rushstack/eslint-patch": "^1.10.4",
42-
"@sentry/vite-plugin": "^2.22.3",
42+
"@sentry/vite-plugin": "^2.22.4",
4343
"@tsconfig/node20": "^20.1.4",
44-
"@types/node": "^20.16.2",
44+
"@types/node": "^20.16.5",
4545
"@types/pulltorefreshjs": "^0.1.7",
46-
"@vitejs/plugin-vue": "^5.1.2",
46+
"@vitejs/plugin-vue": "^5.1.3",
4747
"@vue/eslint-config-prettier": "^9.0.0",
4848
"@vue/eslint-config-typescript": "^13.0.0",
4949
"@vue/tsconfig": "^0.5.1",
5050
"eslint": "^8.57.0",
51-
"eslint-plugin-import": "^2.29.1",
51+
"eslint-plugin-import": "^2.30.0",
5252
"eslint-plugin-simple-import-sort": "^12.1.1",
53-
"eslint-plugin-vue": "^9.27.0",
53+
"eslint-plugin-vue": "^9.28.0",
5454
"prettier": "^3.3.3",
55-
"typescript": "^5.5.4",
56-
"vite": "^5.4.2",
55+
"typescript": "~5.5.4",
56+
"vite": "^5.4.5",
5757
"vite-plugin-html": "^3.2.2",
58-
"vite-plugin-pwa": "^0.20.1",
58+
"vite-plugin-pwa": "^0.20.5",
5959
"vite-plugin-vuetify": "^2.0.4",
60-
"vue-tsc": "^2.0.29"
60+
"vue-tsc": "^2.1.6"
6161
}
6262
}

website/src/registerSentry.ts

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -56,24 +56,23 @@ export default function registerSentry(app: App, router: Router) {
5656
}
5757

5858
// Track only base components for performance
59-
// Disabled temporarily until issues are resolved
60-
// const trackedComponents = [
61-
// '<VApp>',
62-
// '<VAppBar>',
63-
// '<VMain>',
64-
// '<RouterView>',
65-
// '<NavigationDesktop>',
66-
// '<NavigationMobile>',
67-
// '<NavigationDay>',
68-
// '<ViewTimetable>',
69-
// '<ViewMenu>',
70-
// '<ViewCirculars>',
71-
// '<ViewSources>',
72-
// '<ViewSubscribe>',
73-
// '<ViewSettings>',
74-
// '<ViewWelcome>',
75-
// '<NotFound>',
76-
// ]
59+
const trackedComponents = [
60+
'VApp',
61+
'VAppBar',
62+
'VMain',
63+
'RouterView',
64+
'NavigationDesktop',
65+
'NavigationMobile',
66+
'NavigationDay',
67+
'ViewTimetable',
68+
'ViewMenu',
69+
'ViewCirculars',
70+
'ViewSources',
71+
'ViewSubscribe',
72+
'ViewSettings',
73+
'ViewWelcome',
74+
'NotFound',
75+
]
7776

7877
// Init the Sentry SDK
7978
sentryInit({
@@ -90,7 +89,7 @@ export default function registerSentry(app: App, router: Router) {
9089
release: releasePrefix + import.meta.env.VITE_VERSION + releaseSuffix,
9190

9291
autoSessionTracking: dataCollectionPerformance,
93-
trackComponents: false,
92+
trackComponents: dataCollectionPerformance ? trackedComponents : false,
9493

9594
integrations,
9695
})

website/src/views/ViewTimetable.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ const touchOptions = {
3434
<v-window v-if="mobile" v-model="day" :touch="touchOptions" class="h-100">
3535
<v-window-item v-for="(_, dayIndex) in localizedWeekdays" :key="dayIndex" :value="dayIndex">
3636
<TimetableDisplay
37-
v-model:detailsDialog="detailsDialog"
38-
v-model:detailsProps="detailsProps"
37+
v-model:details-dialog="detailsDialog"
38+
v-model:details-props="detailsProps"
3939
:target-day="dayIndex"
4040
/>
4141
</v-window-item>
4242
</v-window>
4343

4444
<TimetableDisplay
4545
v-else
46-
v-model:detailsDialog="detailsDialog"
47-
v-model:detailsProps="detailsProps"
46+
v-model:details-dialog="detailsDialog"
47+
v-model:details-props="detailsProps"
4848
/>
4949

5050
<TimetableDetails v-model="detailsDialog" v-bind="detailsProps" />

0 commit comments

Comments
 (0)