- May 22, 2011
-
-
Roger Saner authored
-
Roger Saner authored
-
Roger Saner authored
New function - ec_file_presave() - adds or removes a file product to the database Adding and removing sellable files now works properly.
-
Roger Saner authored
-
Roger Saner authored
own function - ec_file_node_load()
-
Roger Saner authored
Added an additional confirmation question when requesting to delete a single node when that node has file products attached to it, and those files have been purchased by a customer.
-
- May 21, 2011
-
-
Roger Saner authored
-
Roger Saner authored
-
Roger Saner authored
-
Roger Saner authored
-
Roger Saner authored
-
Roger Saner authored
-
Roger Saner authored
-
Roger Saner authored
-
Roger Saner authored
-
Roger Saner authored
we need it in a new function - ec_file_preprocess_page() - which provides a theme variable to page.tpl.php - ec_file_purchased_files - which is the number of files a user has purchased.
-
- May 16, 2011
-
-
Roger Saner authored
Conflicts: CHANGELOG.txt ec_file.inc ec_file.info ec_file.install ec_file.module ec_file.theme.inc ec_file_node_form.tpl.php
-
Roger Saner authored
-
Roger Saner authored
because of the port from D5; once I'm absolutely sure it's not needed, I'll remove it.
-
Roger Saner authored
-
- Apr 27, 2011
-
-
Roger Saner authored
-
Roger Saner authored
times, and paid for only one of those times. This could happen in a number of situations, e.g. if there were issues with the availability of the payment gateway.
-
- Feb 25, 2011
-
-
The Great Git Migration authored
-
- Sep 09, 2010
-
-
Roger Saner authored
* Renaming theme_ec_file_node_form() to theme_ec_file_upload_form() * Making sure the function properly emulates theme_upload_form_current() * Fixing the logic in _ec_file_form_submit() to work in 2 separate file upload cases: 1. When a file is uploaded before the form is submitted, by clicking the Upload button. 2. When a file is uploaded on form submission. Brought the module into line with drupal coding standards, thanks to coder.module
-
Roger Saner authored
-
Roger Saner authored
* Renaming theme_ec_file_node_form() to theme_ec_file_upload_form() * Making sure the function properly emulates theme_upload_form_current() * Fixing the logic in _ec_file_form_submit() to work in 2 separate file upload cases: 1. When a file is uploaded before the form is submitted, by clicking the Upload button. 2. When a file is uploaded on form submission. Brought the module into line with drupal coding standards, thanks to coder.module
-
- Sep 07, 2010
-
-
Roger Saner authored
-
Roger Saner authored
-
Roger Saner authored
Fixed up the sql query for returning all file downloads for a user. Commented out all mentions of file expiry, as we're not supporting this functionality right now. Changed permission from 'hide upload info checkboxes' to 'show upload info checkboxes' Added a user/myfiles menu item which redirects the user to their purchased files, at user/%user/store/myfiles Some small whitespace fixes. Cleaned up ec_file_file_download() which works as follows: * If file is sellable and the user owns the node which is being viewed, grant access. * If user has bought the file, grant access. Added more descriptive info about how the checkboxes work to the README.
-
Roger Saner authored
-
Roger Saner authored
Commented out all mentions of file expiry, as we're not supporting this functionality right now.
-
Roger Saner authored
through a transaction workflow, and has added ec_receipt_return_page() to create the return url for when an order has been completed.
-
Roger Saner authored
Added a user/myfiles menu item which redirects the user to their purchased files, at user/%user/store/myfiles Some small whitespace fixes. Added ec_file_ec_receipt_post_save() but will remove next commit, because gordon has a better way of taking users through a transaction workflow. Cleaned up ec_file_file_download() - works as follows: - If file is sellable and the user owns the node which is being viewed, grant access. - If user has bought the file, grant access.
-
- Sep 04, 2010
-
-
Roger Saner authored
-
- Jan 29, 2010
-
-
Roger Saner authored
-
Roger Saner authored
-
Roger Saner authored
ec_file_display_purchased_files_as_block() should be ec_file_myfiles_link_list and not theme_ec_file_myfiles_link_list. Some minor code formatting.
-
Roger Saner authored
ec_file_display_purchased_files_as_block() should be ec_file_myfiles_link_list and not theme_ec_file_myfiles_link_list. Some minor code formatting.
-
Roger Saner authored
This has meant: - Renaming ec_file_my_overview() to ec_file_display_purchased_files_as_table(), which displays a user's purchased files as a table list. - Creating a similar function, ec_file_display_purchased_files_as_block(), which displays a user's purchased files in a block. - Adding ec_file_block() to provide a 'Purchased files' block - Added a new theme function, ec_file_myfiles_block() - ec_file_my_overview() is now ec_file_purchased_files(), which returns all files purchased by a user, as an array. - Moved a whole stack of code out of theme_ec_file_myfiles() into its own function: ec_file_format_file(), which takes a file array as an argument, and returns an array of the following elements: File title, file size, expiry date, link to download file - Added theme_ec_file_myfiles_link_list() which themes all purchased files as an html list of links, one per line. Minor code cleanup.
-
Roger Saner authored
This has meant: - Renaming ec_file_my_overview() to ec_file_display_purchased_files_as_table(), which displays a user's purchased files as a table list. - Creating a similar function, ec_file_display_purchased_files_as_block(), which displays a user's purchased files in a block. - Adding ec_file_block() to provide a 'Purchased files' block - Added a new theme function, ec_file_myfiles_block() - ec_file_my_overview() is now ec_file_purchased_files(), which returns all files purchased by a user, as an array. - Moved a whole stack of code out of theme_ec_file_myfiles() into its own function: ec_file_format_file($file), which takes a file array as an argument, and returns an array of the following elements: File title, file size, expiry date, link to download file - Added theme_ec_file_myfiles_link_list() which themes all purchased files as an html list of links, one per line. Minor code cleanup.
-