Commit Graph

5 Commits (d0acf32b7f2531a4446702d54ddcfcf68d388e9e)

Author SHA1 Message Date
ClaraCrazy 74c13678a8
More advanced domain sorting 2024-10-21 01:52:33 +02:00
ClaraCrazy 5690348137
Add shuffle algoritm for more diverse default email generation 2024-10-21 00:46:25 +02:00
ClaraCrazy 0770ebdfc2
Update conversion function and footer
- Conversion function updates:
    - Enabling conversion now rounds to the nearest max. value where `i > 1`, and if rounding was needed it will create a Tooltip displaying the config value on hover.
    - If rounding wasnt needed, or conversion is disabled in the config then no tooltip will be created, to avoid confusion.
- Updated footer:
    - Created new function called footerbuilder()
    - The config value is now always underlined and italic to make it more obvious you can (if rounded) "interact" with it.
2024-10-04 23:32:21 +02:00
ClaraCrazy d992ec2470
Implement convertUp helper function 2024-10-03 07:25:20 +02:00
ClaraCrazy 71fd513bc0
Refactor email purge time configuration and usage to be more precise.
- New purgeTIme now allows to configure a purge to be every X minutes, hours or days.
- Also remove a bit more trust by pulling footer deletion time from config.
- TODO: implement 'convertUp' function, converting numbers up to the biggest possible value where `i > 2 (so 48hrs still works as per slogan and domain)`. I.e. 72hrs = 3 days, 360minutes = 6hrs, 1440minutes to 24hrs

Co-authored-by: Johannes Bülow <kontakt@jmbit.de>
2024-10-03 01:22:10 +02:00