Commit graph

69 commits

Author SHA1 Message Date
Christian Haschek 2566988f73 implemented new settings into docker container 2021-11-10 09:27:59 +01:00
Christian Haschek 2870cf7ccc fixed root file path for CI 2021-11-10 09:20:38 +01:00
Christian Haschek a432d5e691 fixed tag names 2021-11-10 09:16:48 +01:00
Christian Haschek ca606a0bc4 fixed wrong registry 2021-11-10 09:15:25 +01:00
Christian Haschek 116d89c6c0 added automated build since docker hub wants money if they do it on their side ;D 2021-11-10 09:13:44 +01:00
Christian Haschek a36f4f2659 fixed debug changes 2021-11-10 08:04:58 +01:00
Christian Haschek a098e63c9c added new config methods for cleanup and discarding. closes #33 2021-11-09 23:59:23 +01:00
Christian Haschek 21cb765dc7
Merge pull request #32 from Dan-Q/master
Fix the fix to path traversal attack, refactor
2021-08-12 23:17:40 +02:00
Dan Q 7543c005b5
Ensure email ID is an integer
Inspired by PR #28.
2021-08-12 09:19:22 +01:00
Dan Q d9a215e315
Removed debug code
Adding the email to the output breaks e.g. getting the list of domains (which breaks generating random addresses)
2021-08-12 09:11:22 +01:00
Dan Q 09538300d6
Add provided (sanitised) email to output JSON 2021-08-12 09:05:36 +01:00
Dan Q 012ed1e825
Path safety checks for API that actually work 2021-08-12 09:05:10 +01:00
Dan Q 5f82811ab3
Add getDirForEmail to perform realPath filtering in core 2021-08-12 09:04:14 +01:00
Christian Haschek cc7b18400a
Merge pull request #27 from wr3nch0x1/master
Update api.php
2021-06-28 11:23:12 +02:00
Akshay Jain 935d11a189
Update api.php 2021-06-26 16:49:35 +05:30
Christian Haschek 6fec905ec2
Merge pull request #26 from ranjit-git/master
Update api.php
2021-06-18 09:34:57 +02:00
ranjit-git 81e1555131
Update api.php 2021-06-12 09:01:40 +05:30
Christian Haschek acece079d9
Merge pull request #24 from EOCommunity/patch-3
real hotfix mailserver.py
2021-04-07 00:27:53 +02:00
EOCommunity 658a8f21a6
real hotfix mailserver.py
Sorry for the last broken patch, that should really fix the issue now.
2021-04-06 22:54:06 +02:00
Christian Haschek 5bc61414d0
Merge pull request #22 from EOCommunity/patch-2
Update api.php
2021-04-06 11:09:39 +02:00
Christian Haschek e4d5d55ff3
Merge pull request #21 from EOCommunity/patch-1
hotfix mailserver.py
2021-04-06 11:09:04 +02:00
EOCommunity 76e2de57f7
Update api.php
Let's also strtolower the email on php-side. We forced python to save emails lower-cased, so we will request emails lower-cased too.
2021-04-05 00:24:56 +02:00
EOCommunity 891de080dc
hotfix mailserver.py
.lower() not .lower
2021-04-05 00:06:02 +02:00
Christian Haschek 83ca154b7c
Merge pull request #20 from EOCommunity/patch-1
Update mailserver.py
2021-04-04 23:05:44 +02:00
EOCommunity cc3ce6c440
Update mailserver.py
Some sender will send emails to capitalized receiver mail.
The counterpart "is_dir" (php) is case sensitive on Unix-systems, so if you check mails for mymail@domain.tld you will not see mails sent to MYMAIL@DOMAIN.TLD.
This change will make sure that only lower-case is used to create a receiver-folder.
2021-04-04 23:01:02 +02:00
Christian Haschek c8faaf1cff
Merge pull request #17 from mattburchett/fix/README
Fixing some grammatical errors in README.md #16
2021-02-15 23:35:51 +01:00
Matt Burchett 11548981bf Fixing some grammatical errors in README.md 2021-02-12 21:47:17 -06:00
Christian Haschek 842d2a9120
Merge pull request #13 from marceltransier/patch-1
Fix docker run example in README.md
2020-07-13 15:52:06 +02:00
Marcel Transier 5079d4f3d8
Update README.md
-i and -t are two single flags and not one
2020-07-13 15:02:49 +02:00
Chris 2d7109bbb2 fixing domain errors with http host 2020-03-11 02:53:16 +01:00
Chris 13c5cdc69d added rss feed link to overview 2020-03-11 02:36:49 +01:00
Chris 57bc6a32ed added experimental support for rss 2020-03-11 02:25:11 +01:00
Christian Haschek bd1a112646
Update opentrashmail.js
needs to be here
2019-10-07 08:31:36 +02:00
Chris b217bc26f7 updated documentation 2019-10-06 19:07:22 +02:00
Christian Haschek f93063b4da
Merge pull request #8 from poblabs/momentjs
Use moment.js for date formatting
2019-10-06 18:58:09 +02:00
Christian Haschek 74c0c8e4e8
Merge branch 'master' into momentjs 2019-10-06 18:57:58 +02:00
Pat O'Brien 54888f1410 Remove PORT option (thought I had this already) 2019-10-06 10:48:39 -04:00
Pat O'Brien cdd80c046b Update start.sh for MAILPORT option instead of PORT 2019-10-06 10:48:03 -04:00
Pat O'Brien 28bbf88426 Update docker start.sh for dateformat 2019-10-06 10:47:33 -04:00
Chris 91fc97874f Merge branch 'master' of github.com:HaschekSolutions/opentrashmail 2019-10-03 19:20:06 +02:00
Chris 9f6151766b fixed docker start script 2019-10-03 19:19:51 +02:00
Christian Haschek 5b566852c0
Merge pull request #5 from poblabs/configerror
Update config port option name
2019-10-03 17:05:10 +02:00
Christian Haschek 5fe2418552
Merge pull request #6 from poblabs/adminpage
Admin Page Updates
2019-10-03 17:04:05 +02:00
Pat O'Brien f82d50b56e Use moment.js for date formatting 2019-10-03 10:24:29 -04:00
Pat O'Brien ad8deb45bb Do not clearInterval on admin page
Keep the admin page using background reloads
2019-10-03 10:00:01 -04:00
Pat O'Brien 8e362bec24 Do not add duplicate headers, and clear table for append
Instead of appending the API results non-stop, we clear the table first so that it's fresh data loaded into the table.

In addition, I added a class to the "To" `tr` and jQuery will look for this class. If it doesn't exist then it'll add that `tr`. Otherwise it won't continue to stack it.

Fixes https://github.com/HaschekSolutions/opentrashmail/issues/2
2019-10-03 09:54:16 -04:00
Pat O'Brien 53e6c8dba2 Reverse sort the list so new items are on top 2019-10-03 09:51:54 -04:00
Pat O'Brien 30b41f82d6 Update config port option name
Using "PORT" failed for me. Using "MAILPORT" which matches the config.ini worked.
2019-10-03 09:49:26 -04:00
Chris d2183dce4f added fileinfo. fixes #1 2019-09-29 11:53:07 +02:00
Chris 47f76e961c features go first 2019-09-27 10:55:03 +02:00