Commit ba91a1a
committed
feat: enhance version fetching and validation logic
- refactor version fetching to use a dedicated API endpoint
- add validation functions for ObjectId and custom IDs
- improve URL sanitization to prevent path traversal
- implement AbortController in data fetching hooks to prevent memory leaks
- update component structure for better readability and maintainability1 parent b897bde commit ba91a1a
75 files changed
Lines changed: 3651 additions & 664 deletions
File tree
- app
- (Layout)
- desktop
- HeaderBar
- ToolBar
- mobile
- HeaderBar
- UserLogin
- ToolBar
- (home)
- desktop
- mobile
- [userID]
- (User)
- desktop/Info
- mobile
- info
- admin
- post-query
- post
- sig-advisor
- [sigID]
- sig-leader
- [sigID]
- sig-members
- [sigID]
- api
- auth/[...nextauth]
- version
- changelog
- (Changelog)
- config
- desktop
- mobile
- confirm
- dashboard
- (Dashboard)
- Desktop
- Mobile
- data
- (Data)
- desktop
- mobile
- info
- (Info)
- config
- desktop
- mobile
- new
- ping
- post/[postID]
- (post)
- components
- desktop
- mobile
- edit
- components
- NotFound
- PostEditor
- desktop
- mobile
- Threads
- desktop
- mobile
- modules
- api/GetOnlineAppVersion
- sigAPI
- function
- validation
- utils
- useFetch
- useLocalStorage
- usePost
- useUserAccount
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
0 commit comments