Add project common publication tags
This commit is contained in:
@@ -48,6 +48,25 @@ Current runtime is local infrastructure, not the old VPS.
|
||||
- New installs default `site-poster` to disabled and must explicitly set provider,
|
||||
base URL, secret, and `site_poster_enabled=true`.
|
||||
|
||||
## RAA Duplicate
|
||||
|
||||
As of 2026-08-03, the RAA duplicate is a separate Coolify app/database using the
|
||||
same codebase shape.
|
||||
|
||||
- Local copy path requested by user: `D:\DEVELOPMENT\raa-parser_poster`.
|
||||
- Gitea repo: `http://192.168.1.135:3000/exostring/raa-parser_poster.git`.
|
||||
- Coolify app UUID: `korokrhpoyqxf0nw2y8vk7lp` (`RAA admin`).
|
||||
- Public admin URL: `https://raa.panel.f-n8.ru`.
|
||||
- RAA Postgres container: `m9v14hzfh5mk9kelxzcqvhc6`, DB `raa_parser`, user `raa_parser_user`.
|
||||
- Raw Telegram media channel setting: `tg_media_channel_id=-1004312015562` (`VK RAW RAA`).
|
||||
- Final Telegram publication chat setting: `tg_poster_chat_id=-1001303630155` (`Red Airsoft | Страйкбол`).
|
||||
- VK publication owner: `vk_poster_owner_id=-36860851`, `vk_poster_from_group=true`.
|
||||
- `TG_BOT_TOKEN`, `TELEGRAM_API_ID`, and `TELEGRAM_API_HASH` were copied from FN-8 Coolify env.
|
||||
- Local Bot API app setting: `local_bot_api_url=http://127.0.0.1:8081`.
|
||||
- As last checked, publication workers were intentionally disabled:
|
||||
`vk-storage-uploader=false`, `tg-poster=false`, `vk-poster=false`,
|
||||
`tg_poster_enabled=false`, `vk_poster_enabled=false`.
|
||||
|
||||
## Important Text Rules
|
||||
|
||||
- AI writer output text must be clean: no physical hashtags at the end.
|
||||
@@ -58,7 +77,9 @@ Current runtime is local infrastructure, not the old VPS.
|
||||
- Publication preview may show hashtags by composing:
|
||||
- clean text
|
||||
- blank line
|
||||
- `#category #source`
|
||||
- optional project-wide common tags first, then `#category #source`
|
||||
- Project-wide common tags live in DB setting `publication_common_tags`.
|
||||
FN-8 value: `#новости_снаряжения`. RAA value: `#raa_news #страйкбол`.
|
||||
- The editor textarea must show only clean editable text.
|
||||
- The list preview in `/editor` should show the publication preview, including composed hashtags.
|
||||
- `build_publication_text()` in `src/vk_parser_app/text_utils.py` is display/composition helper only. Do not use it before writing `final_text` to DB.
|
||||
|
||||
Reference in New Issue
Block a user