Commit graph

41 commits

Author SHA1 Message Date
Christian Haschek dc220b21f7 forgot to return the success state of the deletion 2022-05-15 18:54:43 +02:00
Christian Haschek 70dc06a325 added support for wildcard subdomains. closes #40 2022-04-18 00:16:21 +02:00
Christian Haschek 37c34f86f0 nicer format for json data 2022-02-09 20:04:49 +01:00
Christian Haschek 0d96daf261 since we store the date now in the json object, let's just use that 2022-02-09 20:01:47 +01:00
Christian Haschek 54dc222d0e fixed admin email listings 2022-02-09 19:53:28 +01:00
Christian Haschek 742c251fd6 integrating admin email into "getEmailsOfEmail" 2022-02-09 19:05:20 +01:00
Christian Haschek af64723ed1 moved deleting of emails to core 2022-02-09 00:38:45 +01:00
Christian Haschek f62f3f56de preparations of crazy fever dream implementation
to be able to use a POP3 Email client to receive emails from OpenTrashmail
2022-02-09 00:17:55 +01:00
Christian Haschek 7fe3c94953 hiding "generate" button when no domain is configured. closes #38 2022-02-08 00:09:58 +01:00
Christian Haschek 61a55423d2 deletion of email now also deletes attachments of that email 2022-01-24 00:04:45 +01:00
Christian Haschek 6c28e6626b realpath can't work here that's why attachments are failing. fixes #36 2022-01-23 12:40:53 +01:00
manfromafar dace8a0df0
Update api.php
Missed ;
2021-11-29 14:27:37 -07:00
manfromafar 3d072d22c5
Update api.php
Add $admincheck to store a complete copy of $email. 
$email appears to be overwritten during the check if the var is empty. 
now the admin check compares the complete email against the one from the config file.
2021-11-29 14:24:32 -07:00
Christian Haschek cb50641bc4 more preparations and also small sanity fixes 2021-11-27 18:09:05 +01:00
Christian Haschek 0a1d24c36a logo better visible now in github dark mode 2021-11-11 09:36:39 +01:00
Christian Haschek 3b8f50f28d fixed html view error 2021-11-11 00:01:12 +01:00
Christian Haschek cf86029533 added delete button for emails 2021-11-10 23:50:42 +01:00
Christian Haschek 47778f7c7d fixed timer bug on refresh. closes #15 2021-11-10 23:05:42 +01: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
Akshay Jain 935d11a189
Update api.php 2021-06-26 16:49:35 +05:30
ranjit-git 81e1555131
Update api.php 2021-06-12 09:01:40 +05:30
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
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
Christian Haschek 74c0c8e4e8
Merge branch 'master' into momentjs 2019-10-06 18:57:58 +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
Chris 02d1a5977d added admin email account that can see all emails on all acounts 2019-08-18 21:02:04 +02:00
Chris 78c29d48fc added settings to docker and extended quickstart guide 2019-08-16 21:54:17 +02:00
Chris 74fc2802ef fixed silly bug 2019-08-16 13:41:42 +02:00
Chris be748aeef0 getting things done 2019-08-16 10:30:23 +02:00
Chris 297b92c53e alpha 1 2019-08-15 21:43:55 +02:00
Chris 10ec88a118 more shiny 2019-08-14 16:33:56 +02:00