mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 13:55:53 +03:00
[PR #794] [MERGED] feat: add address source tracking (source_meta field) #768
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#768
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/794
Author: @dreamhunter2333
Created: 12/27/2025
Status: ✅ Merged
Merged: 12/28/2025
Merged by: @dreamhunter2333
Base:
main← Head:feature/email📝 Commits (1)
9971a9cfeat: add address source tracking (source_meta field)📊 Changes
11 files changed (+99 additions, -16 deletions)
View changed files
📝
CHANGELOG.md(+7 -0)📝
CHANGELOG_EN.md(+7 -0)➕
db/2025-12-27-source-meta.sql(+8 -0)📝
db/schema.sql(+3 -0)📝
frontend/src/views/admin/Account.vue(+6 -0)📝
worker/src/admin_api/db_api.ts(+38 -7)📝
worker/src/admin_api/index.ts(+1 -0)📝
worker/src/common.ts(+19 -6)📝
worker/src/constants.ts(+1 -1)📝
worker/src/mails_api/index.ts(+7 -1)📝
worker/src/telegram_api/common.ts(+2 -1)📄 Description
User description
Summary
source_metafield to address table for tracking address creation sourceweb:unknown)tg:{userId}adminBreaking Changes
db/2025-12-27-source-meta.sqlor click database update button on admin maintenance pageTest plan
tg:{userId}is recordedadminis recorded🤖 Generated with Claude Code
PR Type
Enhancement, Documentation, Tests
Description
Added
source_metafield toaddresstable for tracking address creation sources.Updated frontend to display
source_metain the admin Account page.Enhanced backend APIs to handle and store
source_metafor new address creation.Updated documentation and changelogs to reflect the new
source_metafeature.Changes walkthrough 📝
6 files
Added `source_meta` column to admin Account pageAdded `source_meta` column and migration logic for databaseSet `source_meta` to "admin" for new addresses created via admin APIEnhanced `newAddress` function to handle `source_meta`Added client IP tracking forsource_metain new address creation APIAdded Telegram user ID tracking forsource_metain new addresscreation
3 files
Updated database version to v0.0.5Added SQL migration script for `source_meta` columnUpdated database schema to include `source_meta` column and index2 files
Updated changelog with `source_meta` feature detailsUpdated English changelog with `source_meta` feature details🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.