Users Page with list of purchased products and whishlist?

Hello!

I am wondering if there is a way (it can involve a bit of coding) to have a widget or something similar, which displays the previously purchased products of the logged-in user.

though the above might be not too difficult to achieve, but then, as I’ll be selling digital products, I’d need this list items to point to the specific download link for that user, so the user can go and re-download the files whenever he needs to, just logging into the website rather than browsing his email box looking for the purchasing confirmations.

Then, as a secondary similar thing, I’d like to implement something like a whishlist, so the user can bookmark the products into a list and then look at it whenever he wants.

I was thinking about widgets to be put below the basket widget, but these lists might be displayed in a separate page.

I hope someone can help me on this.

Thanx in advance!

Andrea