1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2025-07-01 16:49:22 +00:00

131 Commits

Author SHA1 Message Date
SunWuyuan
ac0c491765
Revert "修复sw加载bug"
This reverts commit 4029e449d84f2390d0df44af3ba9ccb665f7b1ad.
2025-06-11 16:41:33 +08:00
SunWuyuan
b0541d1170
Revert "更新sw"
This reverts commit 31969b15b0e3eacc83acacebf18f7dc1eef90427.
2025-06-11 16:41:29 +08:00
SunWuyuan
cbddbeb0a1
Revert "添加壁纸模式,不构建sw"
This reverts commit 183214305540d86e56c34316ec52523d04af4ab2.
2025-06-11 16:41:22 +08:00
SunWuyuan
1832143055
添加壁纸模式,不构建sw 2025-06-11 16:17:35 +08:00
SunWuyuan
31969b15b0
更新sw 2025-06-11 16:03:44 +08:00
SunWuyuan
4029e449d8
修复sw加载bug 2025-06-11 15:55:53 +08:00
SunWuyuan
f66031cd18
路径改为相对路径 2025-06-11 15:45:17 +08:00
SunWuyuan
0f9ad4f81a
Add mode switching and number range settings to RandomPicker component. Introduce picker modes for name and number, allowing users to set a range for student IDs. Update settings management for new properties and enhance UI for better user experience. 2025-05-24 21:21:20 +08:00
SunWuyuan
ab20d6cecb
Refactor StudentListCard.vue and settings.vue to improve student data handling and UI interactions. Update student list management methods, enhance data loading and saving functionality, and streamline component props. Remove redundant code and improve overall readability. 2025-05-18 16:04:25 +08:00
SunWuyuan
088e19eaa7
Update AppFooter.vue, NamespaceAccess.vue, and index.vue for improved links and UI enhancements. Change footer links to reflect new repository and website, streamline password hint display in NamespaceAccess, and clean up index.vue by removing unnecessary template elements. 2025-05-18 15:40:32 +08:00
SunWuyuan
88ab5e9064
Remove package-lock.json file to streamline dependency management and avoid potential conflicts. This change simplifies the project structure and aligns with best practices for managing dependencies in modern JavaScript projects. 2025-05-18 15:16:35 +08:00
SunWuyuan
133888355a
Merge branch 'main' of github.com:SunWuyuan/homeworkpage-frontend 2025-05-18 15:09:54 +08:00
SunWuyuan
4691114f9b
Refactor axios.js and Vue components to conditionally handle namespace settings based on server provider. Update request headers in axios.js to include site key and namespace password only for specific providers. Enhance NamespaceAccess and NamespaceSettingsCard components to show/hide based on provider, and streamline password management functionality. 2025-05-18 15:09:10 +08:00
SunWuyuan
31cff8a867
Add js-base64 library for Base64 encoding/decoding and enhance password management features. Update axios.js to use Base64 for encoding site key and namespace password. Implement password hint functionality in NamespaceAccess and NamespaceSettingsCard components, including dialogs for setting and verifying password hints. Refactor kvServerProvider to support password hint updates during password management operations. 2025-05-18 14:33:39 +08:00
SunWuyuan
c42c878ac8
Enhance App.vue, axios.js, MigrationTool.vue, index.vue, settings.vue, and related utilities to support namespace management and improve configuration handling. Add namespace password to axios request headers, load namespace info on App mount, and update settings structure to include namespace settings. Refactor dataProvider to utilize new kvLocalProvider and kvServerProvider for data operations, ensuring better separation of concerns and improved error handling. 2025-05-18 10:54:39 +08:00
孙悟元
7718cf7456
Update AppFooter.vue 2025-05-11 18:50:05 +08:00
孙悟元
30f11d7789
Create 328a0e159cf9b3fb3caacaab9c83bf17.txt 2025-05-11 18:31:48 +08:00
SunWuyuan
6d6e4a27a1
Refactor SettingItem.vue for improved readability and maintainability. Standardize template formatting, enhance indentation and spacing, and ensure consistent use of quotation marks. Update component properties and methods for better clarity and organization. 2025-05-11 17:04:09 +08:00
SunWuyuan
8bf9d8700b
Update MigrationTool.vue to include setting updates for server provider and domain based on migration target. This enhances configuration management during the migration process. 2025-05-11 17:02:41 +08:00
SunWuyuan
be3ffb945c
Refactor RandomPicker.vue for improved readability and maintainability. Enhance template formatting by standardizing indentation and spacing, and update button properties for consistency. Add a new button for navigating to the list page in index.vue, and adjust date handling in settings and index pages for better date management. Update dataProvider and settings utility functions for improved response handling and configuration management. 2025-05-11 16:23:41 +08:00
SunWuyuan
3654e22fef
Enhance Vite configuration by refining caching strategies to only apply to same-origin requests for assets and PWA paths. This improves cache management and ensures that external requests are not inadvertently cached. 2025-05-11 14:01:41 +08:00
SunWuyuan
c79a850868
Refactor batch data preparation in MigrationTool.vue to enhance clarity by removing unnecessary object initialization. Update key checks for batch payload to improve data handling consistency during migration. 2025-05-11 13:49:49 +08:00
SunWuyuan
08c6776cd1
Refactor MigrationTool.vue to simplify batch data preparation by removing unnecessary keys object. Update batch payload structure for improved clarity and consistency in data handling during migration. 2025-05-11 12:20:24 +08:00
SunWuyuan
3e78e7f60d
Update MigrationTool.vue to initialize classNumber, serverUrl, and migrationType from server settings during component mount. This improves configuration management and aligns with recent updates to server settings. 2025-05-11 12:13:52 +08:00
SunWuyuan
b82a553b1d
Update MigrationTool.vue to clear default values for classNumber and serverUrl, and change targetServerUrl to a production URL for improved configuration. This enhances flexibility and aligns with recent server settings updates. 2025-05-11 12:11:31 +08:00
SunWuyuan
c6f99da050
Integrate uuid library for UUID generation in settings.js and update default server settings for Classworks cloud storage. Change server domain to a production URL and clear the site key for improved configuration management. 2025-05-11 12:10:29 +08:00
SunWuyuan
d40e467183
Refactor MigrationTool.vue for improved code readability and consistency. Update template formatting, enhance button click handling, and streamline data display logic. Ensure consistent use of quotation marks and spacing throughout the component. 2025-05-11 12:03:56 +08:00
SunWuyuan
9f4fe0b9dd
Add @microsoft/clarity and ratelimit-header-parser dependencies; integrate Clarity for user tracking and implement rate limit handling in axios instance. Update App.vue to include RateLimitModal for user notifications. 2025-05-11 11:43:47 +08:00
SunWuyuan
596c6ac918
Refactor DataProviderSettingsCard.vue for improved readability and structure. Clean up template formatting, reorganize data migration and machine ID display sections, and ensure consistent button styling. Update server connection check and migration data handling for better user experience. 2025-05-10 21:56:42 +08:00
SunWuyuan
590cffc6e6
Enhance RandomPicker component with persistent dialog feature and clean up global styles by removing unnecessary whitespace. Update styles for hover effects and ensure consistent formatting across SCSS files. 2025-05-10 21:51:48 +08:00
SunWuyuan
3c722875dd
Refactor MigrationTool and data handling to support student list migration. Update index.vue and settings.vue to streamline configuration loading and improve data provider integration. Remove deprecated local and server storage providers for cleaner architecture. 2025-05-10 21:49:18 +08:00
SunWuyuan
a542e9b91f
Implement data migration tool and enhance KV storage support. Add automatic redirection for legacy data providers, improve user interface for migration settings, and update data handling for Classworks cloud storage. Refactor components for better integration with new storage options. 2025-05-10 20:51:56 +08:00
SunWuyuan
c0e33dcbf9
Add uuid dependency and implement KV storage support in settings and data provider components. Enhance server settings with site key configuration and improve data handling for new KV providers. 2025-05-10 17:48:18 +08:00
SunWuyuan
00a693aeba
Enhance cses2wakeup.vue with tooltip features for period reordering and original period display. Implemented a mapping for continuous periods and updated CSV export functionality to reflect these changes. Improved user experience with visual feedback on schedule adjustments. 2025-04-26 09:52:00 +08:00
SunWuyuan
09f76ede69
删除jscses 2025-04-26 09:27:19 +08:00
SunWuyuan
cc7478d03a
Add js-yaml and jscses dependencies; enhance cses2wakeup.vue with improved UI elements, error handling, and YAML support for data processing. 2025-04-26 09:26:53 +08:00
SunWuyuan
5f4ff2bb59
Add CSES to WakeUP tool link in DataProviderSettingsCard for easy access 2025-04-20 10:47:44 +08:00
SunWuyuan
59a9f1bd91
Update cses2wakeup.vue to improve user instructions with a new subtitle for data format guidance. 2025-04-20 10:44:50 +08:00
SunWuyuan
a64bb8bfc2
Enhance cses2wakeup.vue with schedule selection feature and improved data handling. Added support for multiple schedules, unique ID assignment, and refined CSV export functionality. Updated state management for selected periods and schedules. 2025-04-20 10:39:53 +08:00
SunWuyuan
eb2ad8768d
Remove unused settingsLinkParser.js file to streamline codebase. 2025-04-19 21:31:04 +08:00
SunWuyuan
eefd9eb054
Refactor index.vue and settings.vue for improved layout and functionality. Added URL configuration dialog and settings link generator component. Enhanced button formatting and code readability. 2025-04-19 20:29:39 +08:00
孙悟元
94149d0381
Update index.vue 2025-04-09 11:55:05 +08:00
孙悟元
9db9860622
Update index.vue 2025-04-08 21:54:32 +08:00
孙悟元
e72f63b2ac
Update AboutCard.vue 2025-04-05 17:40:06 +08:00
SunWuyuan
02c8fccb30
页面404提醒,QQ群,开发配置 2025-04-05 14:20:28 +08:00
SunWuyuan
223d5bf794
天才般的NODE_ENV 2025-04-05 14:08:24 +08:00
SunWuyuan
71823cafd7
直接使用pnpm 2025-04-05 13:19:18 +08:00
SunWuyuan
f05cfcf96a
修复问题 2025-04-05 13:14:42 +08:00
SunWuyuan
8bd6dde4e7
删除不再使用的依赖,更新依赖 2025-04-05 13:09:41 +08:00
SunWuyuan
c04c5f47d0
构建CI 2025-04-05 13:06:33 +08:00