No description
Find a file
Ali Asadi 3f739ad169 FEAT(notifications): management command to seed NotificationLink rows
Adds `seed_notification_links`, which upserts one NotificationLink row per
action_code documented in docs/frontend-notification-click-actions.md (12
billboard + 15 escrow codes), each active with a sample url_template
(https://app.gooyal.ir/ads/{object_id} / .../escrow/{object_id}). Lets
producer notifications resolve a click_url end to end today; the real
routes still need confirming with whoever owns the frontend, and can be
edited any time via the Django admin. Run with --force to overwrite rows
that already exist; existing rows are otherwise left untouched so manual
admin edits aren't clobbered by a rerun.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-01 12:05:32 +03:30
.forgejo/workflows init 2025-06-29 17:09:37 +03:30
apps FEAT(notifications): management command to seed NotificationLink rows 2026-09-01 12:05:32 +03:30
docs REFACTOR(notifications): rename code/click_object_id to action_code/click_object_id_value 2026-08-23 12:13:29 +03:30
gotify_rest_api_client init 2025-06-29 22:15:11 +03:30
main FIX(notifications): configuration for GOTIFY_BASE_PUBLIC_URL 2026-05-09 14:12:13 +03:30
static add static files 2025-07-01 15:15:21 +03:30
templates bulk push 2025-09-02 20:12:20 +03:30
utils FIX(notifications): configuration for GOTIFY_BASE_PUBLIC_URL 2026-05-09 14:12:13 +03:30
.gitignore chore: ignore __pycache__ and compiled Python files 2026-08-22 09:35:53 +03:30
celery.sh celery beat 2025-09-06 17:26:10 +03:30
Dockerfile modify Dockerfile 2025-07-01 12:47:51 +03:30
manage.py init 2025-06-29 17:09:37 +03:30
README.srt FIX(notifications): configuration for GOTIFY_BASE_PUBLIC_URL 2026-05-09 14:12:13 +03:30
requirements.in celery beat 2025-09-06 17:00:21 +03:30
requirements.txt celery beat 2025-09-06 17:00:21 +03:30
run.sh init 2025-06-29 17:09:37 +03:30

openapi-python-client
https://push.gooyal.ir/swagger?base=push.gooyal.ir

npm install -g swagger2openapi