Commit Graph

118 Commits (80d8ecfad25178da57ec2a3181b9a3fca3203aec)

Author SHA1 Message Date
ClaraCrazy 80d8ecfad2
Fix the fix that fixes the hotfix for fixing time - or something 2024-12-03 07:55:13 +01:00
ClaraCrazy e99a8b55e0
Avoid unpredictable behaviour on weird `undisclosed recipients:;` signal
IMAP does not return the bcc field cleanly, in fact, node-imap and by extension imap-simple wont return a valid bcc (or cc for that matter) at all.
Generally, you can only view those with the "envelope" attribute of a mail, but those are empty. Only clean option would be to somehow accesss and work with the rfc822 spec of `Original-Recipient`.
2024-12-03 07:54:27 +01:00
ClaraCrazy f2e6923953
Potential fix? 2024-11-11 19:15:19 +01:00
ClaraCrazy 2636f5f56a
remove unnecessary console.logs 2024-11-11 19:00:07 +01:00
ClaraCrazy 05bb74e1d3
Make config usage more clear 2024-11-11 18:51:50 +01:00
ClaraCrazy 159cd9942e
Fix manual deletion
The fact this has gone unnoticed for so long is genuinely pathetic
2024-11-11 18:51:00 +01:00
ClaraCrazy 919c770fe3
last minor example update 2024-10-21 02:24:33 +02:00
ClaraCrazy 5040b06264
Add hideOther config option
Allows the User to hide the total amount of domains and their addresses, always only displaying the first one of the array
2024-10-21 02:21:03 +02:00
ClaraCrazy 2026a360bf
Update example file 2024-10-21 02:03:38 +02:00
ClaraCrazy d0acf32b7f
Fix naming 2024-10-21 02:01:18 +02:00
ClaraCrazy 74c13678a8
More advanced domain sorting 2024-10-21 01:52:33 +02:00
ClaraCrazy a11c41c954
Fix error page during login 2024-10-21 00:46:53 +02:00
ClaraCrazy 5690348137
Add shuffle algoritm for more diverse default email generation 2024-10-21 00:46:25 +02:00
ClaraCrazy e5d9a6cf8c
Consistency
I swear this is the last of those patches...
2024-10-21 00:22:06 +02:00
Clara K 17cf534612
Merge pull request #16 from Crazyco-xyz/dependabot/npm_and_yarn/multi-2c5a3fe122
Bump cookie, express and socket.io
2024-10-16 22:29:39 +02:00
dependabot[bot] 223c12f4e5
Bump cookie, express and socket.io
Bumps [cookie](https://github.com/jshttp/cookie) to 0.7.1 and updates ancestor dependencies [cookie](https://github.com/jshttp/cookie), [express](https://github.com/expressjs/express) and [socket.io](https://github.com/socketio/socket.io). These dependencies need to be updated together.


Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

Updates `socket.io` from 4.7.5 to 4.8.0
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io@4.7.5...socket.io@4.8.0)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
- dependency-name: socket.io
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-16 20:28:18 +00:00
ClaraCrazy 71f1e401af
fix example mail keeping 2024-10-15 10:50:15 +02:00
ClaraCrazy a4c2a9aa72
add example domains to config sample to make it clearer 2024-10-05 02:02:02 +02:00
ClaraCrazy 8a9e853469
oopsie 2024-10-05 00:09:54 +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 72ea96dc71
Update example config & surroundings 2024-10-03 02:14:47 +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
ClaraCrazy d66d76c9f9
Even better.. twig can handle lists 2024-10-02 14:50:40 +02:00
ClaraCrazy 347db6cbc7
Fix missing customization in footer
I'm embarrased this was hardcoded for so long without me realizing... sowwy
2024-10-02 14:45:58 +02:00
ClaraCrazy 1ba80a8b51
Add example inbox 2024-10-02 08:39:51 +02:00
ClaraCrazy 5dab1158e9
Fix errors found by elliot 2024-10-02 08:27:10 +02:00
ClaraCrazy 52452a7c8d
announce non-example info in debug-only 2024-10-02 02:59:34 +02:00
ClaraCrazy 92674272d5
retire userRemoveUid function, refactor removeUid 2024-10-02 02:36:58 +02:00
ClaraCrazy 1d42862c46
Add example mail(s) 2024-10-02 02:36:25 +02:00
ClaraCrazy 84338ee1c1
fix forEach 2024-10-02 00:05:48 +02:00
ClaraCrazy 1f0d57bad0
Use proper filtering function, remove helper array 2024-10-01 23:51:18 +02:00
ClaraCrazy dc7d7e6676
clean up app.json and example config, also update README todo list 2024-10-01 23:29:09 +02:00
ClaraCrazy cca5ce7915 48hrs means 48hrs, not two days ago...
FUCK the IMAP protocol, honestly. rfc9051 is cooked up by a fag
2024-10-01 19:28:35 +02:00
ClaraCrazy 5eaaad5a5d shorter interval for purge operations 2024-10-01 17:16:36 +02:00
ClaraCrazy 38cd67f881 Fix missing subject issues 2024-09-29 10:20:20 +02:00
ClaraCrazy 5a1d7c038d if attachment try if attachment - why? 2024-09-29 09:56:35 +02:00
ClaraCrazy 5469aacc72 tired moment 2024-09-28 09:16:28 +02:00
ClaraCrazy dbdbbb72ee remove those 2024-09-28 09:06:30 +02:00
ClaraCrazy c3565b5b34 add option to download attachments 2024-09-28 09:04:05 +02:00
ClaraCrazy 729dcf17ef slight cleanup, thx qt 2024-09-28 05:21:51 +02:00
ClaraCrazy 2c120cf890 add back prerequisites 2024-09-28 05:18:04 +02:00
ClaraCrazy 12de3bd087 update readme 2024-09-28 05:09:34 +02:00
ClaraCrazy 7e73268bb7 /raw endpoint working 2024-09-28 04:44:13 +02:00
ClaraCrazy b0d9014a00 Add "Wipe Inbox" button 2024-09-28 02:16:58 +02:00
ClaraCrazy 3016f0fc34 Some more minor design updates 2024-09-28 01:58:17 +02:00
ClaraCrazy e79d1bad49 Raw button boilerplate 2024-09-28 01:49:37 +02:00
ClaraCrazy 4087fe13a8 design changes 2024-09-28 01:49:06 +02:00
ClaraCrazy 73ee254ef7 Another indentation fix, whoops 2024-09-28 01:07:22 +02:00
ClaraCrazy 86ed9427db Attachment boilerplate 2024-09-28 01:05:18 +02:00