mirror of
https://github.com/simple-login/app.git
synced 2025-09-07 15:14:17 +08:00
* wip: start implementing alias trash * Added alias trash dashboard page * test: delete_alias changes * Format html * fix: mailbox deletion * feat: add delete_alias_action setting in dashboard settings * chore: disable alias when trashing it * Add restore tests * Move tras/restore to alias_actions * rename alias_actions to alias_delete * Remove alias_actions * Send events and alias audit log on alias restore * feat: adapt queries to trashed alias * chore: add metrics on alias trash actions * fix: missing empty arg * Add rate limit for restore and restore all * fix: mailbox alias count * feat: properly handle alias deletion for custom domain deletion * chore: add error logs * chore: update alias trash copy + change Trash location * feat: make can_create_new_alias not take trashed aliases into account * chore: update mailbox deletion dialog copy --------- Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
117 lines
3.3 KiB
YAML
117 lines
3.3 KiB
YAML
jobs:
|
|
- name: SimpleLogin growth stats
|
|
command: python /code/cron.py -j stats
|
|
shell: /bin/bash
|
|
schedule: "0 0 * * *"
|
|
captureStderr: true
|
|
|
|
- name: SimpleLogin Delete Old Monitoring records
|
|
command: python /code/cron.py -j delete_old_monitoring
|
|
shell: /bin/bash
|
|
schedule: "15 1 * * *"
|
|
captureStderr: true
|
|
|
|
- name: SimpleLogin Custom Domain check
|
|
command: python /code/cron.py -j check_custom_domain
|
|
shell: /bin/bash
|
|
schedule: "15 */4 * * *"
|
|
captureStderr: true
|
|
concurrencyPolicy: Forbid
|
|
onFailure:
|
|
retry:
|
|
maximumRetries: 10
|
|
initialDelay: 1
|
|
maximumDelay: 30
|
|
backoffMultiplier: 2
|
|
|
|
- name: SimpleLogin HIBP check
|
|
command: python /code/cron.py -j check_hibp
|
|
shell: /bin/bash
|
|
schedule: "13 */4 * * *"
|
|
captureStderr: true
|
|
concurrencyPolicy: Forbid
|
|
onFailure:
|
|
retry:
|
|
maximumRetries: 10
|
|
initialDelay: 1
|
|
maximumDelay: 30
|
|
backoffMultiplier: 2
|
|
|
|
- name: SimpleLogin Notify HIBP breaches
|
|
command: python /code/cron.py -j notify_hibp
|
|
shell: /bin/bash
|
|
schedule: "15 4 * * *"
|
|
captureStderr: true
|
|
concurrencyPolicy: Forbid
|
|
|
|
|
|
- name: SimpleLogin Delete Logs
|
|
command: python /code/cron.py -j delete_logs
|
|
shell: /bin/bash
|
|
schedule: "15 5 * * *"
|
|
captureStderr: true
|
|
|
|
- name: SimpleLogin Delete Old data
|
|
command: python /code/cron.py -j delete_old_data
|
|
shell: /bin/bash
|
|
schedule: "30 5 * * *"
|
|
captureStderr: true
|
|
|
|
- name: SimpleLogin Poll Apple Subscriptions
|
|
command: python /code/cron.py -j poll_apple_subscription
|
|
shell: /bin/bash
|
|
schedule: "15 6 * * *"
|
|
captureStderr: true
|
|
|
|
- name: SimpleLogin Notify Trial Ends
|
|
command: python /code/cron.py -j notify_trial_end
|
|
shell: /bin/bash
|
|
schedule: "15 8 * * *"
|
|
captureStderr: true
|
|
|
|
- name: SimpleLogin Notify Manual Subscription Ends
|
|
command: python /code/cron.py -j notify_manual_subscription_end
|
|
shell: /bin/bash
|
|
schedule: "15 9 * * *"
|
|
captureStderr: true
|
|
|
|
- name: SimpleLogin Notify Premium Ends
|
|
command: python /code/cron.py -j notify_premium_end
|
|
shell: /bin/bash
|
|
schedule: "15 10 * * *"
|
|
captureStderr: true
|
|
|
|
- name: SimpleLogin delete users scheduled to be deleted
|
|
command: python /code/cron.py -j delete_scheduled_users
|
|
shell: /bin/bash
|
|
schedule: "15 11 * * *"
|
|
captureStderr: true
|
|
concurrencyPolicy: Forbid
|
|
|
|
- name: SimpleLogin send unsent emails
|
|
command: python /code/cron.py -j send_undelivered_mails
|
|
shell: /bin/bash
|
|
schedule: "*/5 * * * *"
|
|
captureStderr: true
|
|
concurrencyPolicy: Forbid
|
|
|
|
- name: SimpleLogin clear alias_audit_log old entries
|
|
command: python /code/cron.py -j clear_alias_audit_log
|
|
shell: /bin/bash
|
|
schedule: "0 * * * *" # Once every hour
|
|
captureStderr: true
|
|
concurrencyPolicy: Forbid
|
|
|
|
- name: SimpleLogin clear user_audit_log old entries
|
|
command: python /code/cron.py -j clear_user_audit_log
|
|
shell: /bin/bash
|
|
schedule: "0 * * * *" # Once every hour
|
|
captureStderr: true
|
|
concurrencyPolicy: Forbid
|
|
|
|
- name: SimpleLogin clear alias pending to be deleted
|
|
command: python /code/cron.py -j clear_alias_delete_on
|
|
shell: /bin/bash
|
|
schedule: "0 * * * *" # Once every hour
|
|
captureStderr: true
|
|
concurrencyPolicy: Forbid
|