2つ目のgmailアカウントを処理
This commit is contained in:
@@ -15,7 +15,17 @@
|
|||||||
"Bash(docker stop:*)",
|
"Bash(docker stop:*)",
|
||||||
"WebFetch(domain:tomo1joy.com)",
|
"WebFetch(domain:tomo1joy.com)",
|
||||||
"Bash(bash wm-api.sh update-flow f/mail/mail_filter flows/mail_filter.flow.json)",
|
"Bash(bash wm-api.sh update-flow f/mail/mail_filter flows/mail_filter.flow.json)",
|
||||||
"Read(//c/Users/akira/Develop/windmill//**)"
|
"Read(//c/Users/akira/Develop/windmill//**)",
|
||||||
|
"Bash(node:*)",
|
||||||
|
"Bash(LOCAL_TOKEN=\"vumGZlOutdnH96hyLpjJgeZESQQBrMPy\")",
|
||||||
|
"Bash(LOCAL_URL=\"http://localhost\")",
|
||||||
|
"Bash(JOB_ID=\"019c897a-001f-9423-bcc2-4dd1513ca359\")",
|
||||||
|
"Bash(__NEW_LINE_28c5753346567a25__ curl -s -H \"Authorization: Bearer $LOCAL_TOKEN\" \"$LOCAL_URL/api/w/admins/jobs_u/get/$JOB_ID\")",
|
||||||
|
"Bash(__NEW_LINE_aebb361c1bf1f403__ curl -s -H \"Authorization: Bearer $LOCAL_TOKEN\" \"$LOCAL_URL/api/w/admins/jobs_u/get/$JOB_ID\")",
|
||||||
|
"Bash(__NEW_LINE_aebb361c1bf1f403__ node -e \":*)"
|
||||||
|
],
|
||||||
|
"additionalDirectories": [
|
||||||
|
"C:\\Users\\akira\\AppData\\Local\\Temp"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -221,7 +221,10 @@ Variety (品種マスタ)
|
|||||||
- ルール管理API(JWT認証): `GET/POST/DELETE /api/mail/senders/`
|
- ルール管理API(JWT認証): `GET/POST/DELETE /api/mail/senders/`
|
||||||
- フィードバックページ: `/mail/feedback/[token]`(LINEからタップ一発、認証不要)
|
- フィードバックページ: `/mail/feedback/[token]`(LINEからタップ一発、認証不要)
|
||||||
- ルール管理ページ: `/mail/rules/`
|
- ルール管理ページ: `/mail/rules/`
|
||||||
|
- 処理履歴ページ: `/mail/history/`
|
||||||
|
- 対応アカウント: Gmail(有効)、infoseek.jp(Outlook→Gmail転送で対応、To:ヘッダで判別)、Hotmail/Xserver(flow.jsonでenable可能)
|
||||||
- 仕様書: `document/メールフィルタ/mail_filter_spec.md`
|
- 仕様書: `document/メールフィルタ/mail_filter_spec.md`
|
||||||
|
- Windmill フロー: `f/mail/mail_filter`(ローカル: localhost, 本番: windmill.keinafarm.net — 本番デプロイ未実施)
|
||||||
|
|
||||||
### 🚧 既知の課題・技術的負債
|
### 🚧 既知の課題・技術的負債
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 5.0 on 2026-02-23 07:39
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('mail', '0003_add_infoseek_account'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='mailemail',
|
||||||
|
name='account',
|
||||||
|
field=models.CharField(choices=[('xserver', 'Xserver'), ('gmail', 'Gmail'), ('hotmail', 'Hotmail'), ('gmail_service', 'Gmail (サービス用)')], max_length=20, verbose_name='アカウント'),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -45,7 +45,7 @@ ACCOUNT_CHOICES = [
|
|||||||
('xserver', 'Xserver'),
|
('xserver', 'Xserver'),
|
||||||
('gmail', 'Gmail'),
|
('gmail', 'Gmail'),
|
||||||
('hotmail', 'Hotmail'),
|
('hotmail', 'Hotmail'),
|
||||||
('infoseek', 'Infoseek (転送)'),
|
('gmail_service', 'Gmail (サービス用)'),
|
||||||
]
|
]
|
||||||
|
|
||||||
FEEDBACK_CHOICES = [
|
FEEDBACK_CHOICES = [
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ const ACCOUNT_LABELS: Record<string, string> = {
|
|||||||
gmail: 'Gmail',
|
gmail: 'Gmail',
|
||||||
hotmail: 'Hotmail',
|
hotmail: 'Hotmail',
|
||||||
xserver: 'Xserver',
|
xserver: 'Xserver',
|
||||||
infoseek: 'Infoseek (転送)',
|
gmail_service: 'Gmail (サービス用)',
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function MailHistoryPage() {
|
export default function MailHistoryPage() {
|
||||||
@@ -98,7 +98,7 @@ export default function MailHistoryPage() {
|
|||||||
<option value="gmail">Gmail</option>
|
<option value="gmail">Gmail</option>
|
||||||
<option value="hotmail">Hotmail</option>
|
<option value="hotmail">Hotmail</option>
|
||||||
<option value="xserver">Xserver</option>
|
<option value="xserver">Xserver</option>
|
||||||
<option value="infoseek">Infoseek (転送)</option>
|
<option value="gmail_service">Gmail (サービス用)</option>
|
||||||
</select>
|
</select>
|
||||||
<select
|
<select
|
||||||
value={filterVerdict}
|
value={filterVerdict}
|
||||||
|
|||||||
Reference in New Issue
Block a user