Commit graph

240 commits

Author SHA1 Message Date
ccbikai
54d689a901 docs: add iOS app to supported platforms
Adds iOS app link to supported platforms in README
Adjusts formatting for KV namespace setup instructions

The iOS app is now available on the App Store at id6745417598
2025-05-11 13:34:39 +08:00
面条
a166c30532
Merge pull request #126 from toeydevelopment/master
feat: Add upsert API endpoint for link management
2025-05-11 13:25:46 +08:00
面条
b018697429
Merge pull request #136 from wiresslend/master
When deploying with Cloudflare workers, sometimes the real IP address cannot be obtained
2025-05-11 13:25:23 +08:00
面条
ca41201a64
Merge pull request #137 from ygnask/fix-date-text-wrapping
Fix: Prevent date fields from wrapping on the dashboard card
2025-05-11 13:24:41 +08:00
ccbikai
a750fdac03 Merge branch 'master' of github.com:ccbikai/Sink 2025-05-11 13:16:53 +08:00
ccbikai
66fa4e6650 fix: update footer link to point to the new site
- Changes the footer logo link from the root path to the new URL "https://sink.cool" for better accessibility and branding.
2025-05-11 13:16:45 +08:00
面条
d9b0465ea0
docs: add deepwiki 2025-04-28 09:27:41 +08:00
ygnask
b07e6e348c Display creation and expiration dates on a single line 2025-04-17 16:40:08 +09:00
wiresslend
11fdaeeb19
solve not being able to correctly obtain CF IP 2025-04-15 11:12:53 +08:00
面条
d935fe7970
buy_me_a_coffee 2025-04-13 12:21:47 +08:00
面条
9446903c5b
Merge pull request #125 from Ericxpert/master
feat: add Traditional Chinese (zh-TW) translation
2025-04-11 18:40:53 +08:00
面条
1823b4fc7f
Merge branch 'master' into master 2025-04-11 18:40:44 +08:00
面条
ed7c06c58c
Merge pull request #128 from niquenen/feat/i18n/fr
feat: add french translation
2025-04-11 18:38:22 +08:00
面条
cc2e6946b2
Merge branch 'master' into feat/i18n/fr 2025-04-11 18:38:15 +08:00
面条
03399bbed7
Merge pull request #133 from lamngockhuong/feat.add-vi-lang
feat: add Vietnamese translation
2025-04-11 18:36:56 +08:00
Lam Ngoc Khuong
7594366adb feat: add Vietnamese translation 2025-03-31 10:59:51 +07:00
Cédric Hennequin
ab717a8111
refactor: add locale settings 2025-03-26 10:05:18 +01:00
Cédric Hennequin
e381570b44
refactor: add french locale 2025-03-26 10:05:00 +01:00
anirut.k
c1ac0bf9f3 feat: implement link upsert API endpoint
- Adds a new API endpoint for creating and retrieving links
- Validates link data using LinkSchema
- Supports case sensitivity for link slugs
- Handles existing links by returning the short link and status
- Creates new links with expiration metadata in Cloudflare KV store
2025-03-21 13:45:41 +07:00
羿玹/Eric
320f34cf23 feat: add Traditional Chinese (zh-TW) translation 2025-03-19 16:09:48 +00:00
ccbikai
d6b542fb9d chore: 0.1.10 2025-03-18 22:09:02 +08:00
ccbikai
2ea7b8f3c9 Merge branch 'preview' 2025-03-18 22:08:35 +08:00
ccbikai
3daffc746d Merge branch 'dev' into preview 2025-03-16 14:03:56 +08:00
ccbikai
744f949972 fix: corrects sorting order and enhances link sorting UX
- Fixes ascending/descending sort order for newest/oldest links
- Automatically sets sort to 'newest' when creating a link
- Updates Chinese translation for A-Z/Z-A sort labels
- Shows current sort option in dropdown button
- Reduces tooltip delay for better responsiveness
- Removes unused Button import in QRCode component
2025-03-16 13:57:29 +08:00
ccbikai
ac7caf141f fix: correct link copy function and add i18n support
- Updates shortLink copy function to use .value for reactive reference
- Adds i18n translation support in Editor component

The copy function was trying to access the shortLink directly instead of its value, which would fail in Vue's reactive system. This fix ensures proper reactivity handling when copying links.
2025-03-16 13:17:30 +08:00
ccbikai
71654dcbc8 feat: add bot traffic filtering for access logs
Adds configuration option NUXT_DISABLE_BOT_ACCESS_LOG to exclude bot/crawler traffic from access statistics

- Updates ua-parser-js to stable v2.0.3
- Detects bots via CloudFlare bot management and user agent analysis
- Documents new config option in configuration.md and FAQs
2025-03-16 12:57:05 +08:00
ccbikai
5118201911 refactor(links): extract sort menu and fix sort logic
- Extracts dropdown sort menu into separate DashboardLinksSort component
- Fixes incorrect sort order for newest/oldest links
- Adds internationalization support for sort options
- Updates QR code download button size for consistency
- Adds helpful tooltip about sort limitation for loaded links

The sort logic was reversed where newest/oldest were concerned, this fixes
that while making the sorting feature more maintainable through component
extraction.
2025-03-16 11:52:29 +08:00
ccbikai
71c726ab9b Merge branch 'dev' of github.com:ccbikai/Sink into dev 2025-03-16 11:22:55 +08:00
ccbikai
5ad0096051 refactor: remove unused vue imports
Removes unused imports from 'vue' package including onMounted, ref, and watch to keep the codebase clean and improve maintainability
2025-03-16 11:22:47 +08:00
面条
4e95c13bf0
Merge pull request #119 from MineraleYT/dev
Feat: add sort functionality for links
2025-03-16 11:22:38 +08:00
面条
f8130d731d
Merge pull request #117 from 7heMech/patch-1
Better qr styling
2025-03-16 11:19:45 +08:00
ccbikai
b5963268eb Merge branch 'i18n' into dev 2025-03-16 11:17:43 +08:00
ccbikai
e7b22a497b refactor: optimize language switcher and header layout
- Extracts language switcher into separate component
- Updates locale display to use country flag emojis
- Improves header responsiveness and spacing
- Removes embedded i18n logic for better separation of concerns
- Adjusts menu items alignment and margins for better visual balance
2025-03-16 11:17:32 +08:00
ccbikai
17c1c8747e Merge branch 'master' into i18n 2025-03-16 11:02:00 +08:00
ccbikai
e909922a5a chore: decrease preview link validity to 5 minutes
Reduces the preview link time-to-live from 24 hours to 5 minutes for improved security. Updates related user-facing message in the dashboard editor to reflect this change.
2025-03-12 20:10:32 +08:00
面条
81838bb541
Merge pull request #118 from WuChenDi/master
feat: Add internationalization (i18n) support
2025-03-10 21:15:40 +08:00
wudi
e563d55852 feat: Add internationalization (i18n) support
Implemented multi-language support for the application:
- Added @nuxtjs/i18n plugin configuration
- Created locale files for English (en-US) and Chinese (zh-CN)
- Updated components to use translation keys
- Added language switcher in header
- Configured VSCode i18n-ally settings
- Prepared translation infrastructure for future language expansions
2025-03-03 11:21:39 +08:00
MinerAle
a68a7430f2 fix: Update sorting logic for links to use createdAt property directly 2025-03-02 22:18:21 +01:00
MinerAle
a0aa7c43bc feat: Implement sorting options for links in dashboard 2025-03-02 22:06:47 +01:00
7heMech
7bd6461814 fix styling of qr 2025-03-02 21:00:27 +00:00
MinerAle
33c2631aa7 Drop Down menu 2025-03-02 21:53:22 +01:00
MinerAle
e0b6ffd62b feat: Add sorting options for links in dashboard 2025-03-02 21:45:43 +01:00
MinerAle
c478373970
Merge pull request #4 from MineraleYT/qrcode
Sync changes
2025-03-02 21:18:59 +01:00
ccbikai
31731c5bed Merge branch 'preview' 2025-03-02 19:17:05 +08:00
ccbikai
e9c78f0157 Merge branch 'dev' into preview 2025-03-02 19:16:52 +08:00
面条
ef631b485a
feat: Add QR code download button
Add QR code download button
2025-03-02 19:13:36 +08:00
ccbikai
9e8aac7448 chore(deps): bump version from 0.1.8 to 0.1.9 2025-03-02 18:20:54 +08:00
ccbikai
063ec2a711 Merge branch 'preview' 2025-03-02 18:18:43 +08:00
ccbikai
8169f8a973 Merge branch 'dev' into preview 2025-03-02 18:12:04 +08:00
ccbikai
77988a5381 Merge branch 'filter' into dev 2025-03-02 18:11:45 +08:00