This module is used to delete the webform submissions with in the date range you given.
This module will add a Menu tab(Bulk Delete) under webform Results tab, with the help of this user can enter their date range they want.
Dependency:
Webform
Installation
1. Copy the entire webform_submissions_bulk_delete directory the Drupal sites/all/modules directory.
2. Login as an administrator. Enable the module in the "Administrator" -> "Modules"
How to use:
1.After installation login as admininstrator.
2.Go to content menu and filter your needed webfrom and click edit.
3.Go to Results->BulkDelete.
As per Webform maintainer recommendation, i have created an add-on module for webform
https://www.drupal.org/node/2540330
Sandbox project page link:
https://www.drupal.org/sandbox/viswanathan6/2543296
Pareview results:
http://pareview.sh/pareview/httpgitdrupalorgsandboxviswanathan62543296git
To clone the project:
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/viswanathan6/2543296.git webform_submissions_bulk_delete
cd webform_submissions_bulk_delete
Reviews of other projects
https://www.drupal.org/node/2525758#comment-10138612
https://www.drupal.org/node/2533528#comment-10138702
https://www.drupal.org/node/2536668#comment-10138746
https://www.drupal.org/node/2513112#comment-10153084
https://www.drupal.org/node/2537108#comment-10153094
Manual Reviews of other projects
https://www.drupal.org/node/2541244#comment-10172532
https://www.drupal.org/node/2543346#comment-10172688
https://www.drupal.org/node/2541320#comment-10172750
Comment | File | Size | Author |
---|---|---|---|
#41 | Bulk_delete_submission_form.png | 20.43 KB | viswanathan6 |
Comments
Comment #1
viswanathan6 CreditAttribution: viswanathan6 commentedComment #2
viswanathan6 CreditAttribution: viswanathan6 commentedComment #3
viswanathan6 CreditAttribution: viswanathan6 commentedComment #4
PA robot CreditAttribution: PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #5
viswanathan6 CreditAttribution: viswanathan6 commentedComment #6
viswanathan6 CreditAttribution: viswanathan6 commentedComment #7
ashish.verma85 CreditAttribution: ashish.verma85 commentedHi, Few Things:
1) It is recommended to always implement hook_install(). Here you can find an example.
2) configure link is missing in your .info file.
Comment #8
viswanathan6 CreditAttribution: viswanathan6 commentedHi ashish,
Thanks for your inputs.
Your recommendations has added to this module,except hook_install.Because i am not using any custom table in my module.
Thanks
viswa
Comment #9
viswanathan6 CreditAttribution: viswanathan6 commentedComment #10
ashish.verma85 CreditAttribution: ashish.verma85 commentedHi, i feel even if you are not using any tables you still need to add a installation message in your hook_install, so that it confirms that module gets installed properly.
Please have a look at the link i posted in earlier message.
Thanks
Comment #11
viswanathan6 CreditAttribution: viswanathan6 commentedHi ashish,
Thanks for your suggestion.hook_install has added to my module.
Thanks
viswa
Comment #12
viswanathan6 CreditAttribution: viswanathan6 commentedComment #13
viswanathan6 CreditAttribution: viswanathan6 commentedComment #14
viswanathan6 CreditAttribution: viswanathan6 commentedComment #15
ajalan065 CreditAttribution: ajalan065 as a volunteer and at Innoraft commentedHi viswanathan6,
1. For adding the Pareview bonus tag, you need to review three other projects.
When done, add them to your sanbox front page.
Also, as your project had been rolled back to "Needs Work" after adding the Pareview Bonus tag, so it should be removed according to Drupal Rules. Review three other projects again,and set back the tag. Removing it for a while.
2. In the README, no need to add D7 as a requirement.
3. Drupal already has the required version of php. See this https://www.drupal.org/requirements .
So you can safely remove the line php=5.3 from your *.info file.
And must say, excellent work buddy. It works for me. Didnot find any major application blockers.
Comment #16
dstorozhukAutomated Review
Git default branch is not set, see the documentation on setting a default branch.
Manual Review
But deleting submissions by date range still not implemented in core module.
Better to use
Instead of
So that no need to write extra call to
drupal_get_form()
, drupal will do that for you.webform_data_export_install()
.The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #17
viswanathan6 CreditAttribution: viswanathan6 commentedHi dstorozhuk,
Thanks for your reviewing.I will do your recommendation.
Comment #18
dstorozhukComment #19
viswanathan6 CreditAttribution: viswanathan6 commentedHi dstorozhuk,
Thanks for your inputs.Your recommendations are fixed in my module.
Comment #20
viswanathan6 CreditAttribution: viswanathan6 commentedComment #21
viswanathan6 CreditAttribution: viswanathan6 commentedComment #22
viswanathan6 CreditAttribution: viswanathan6 commentedComment #23
viswanathan6 CreditAttribution: viswanathan6 commentedComment #24
viswanathan6 CreditAttribution: viswanathan6 commentedComment #25
viswanathan6 CreditAttribution: viswanathan6 commentedComment #26
dstorozhukOK, I will check.
Comment #27
viswanathan6 CreditAttribution: viswanathan6 commentedComment #28
dstorozhukBad news @viswanathan6.
I started testing your last changes, and updated webform module to latest recommended version: 7.x-4.10, where downloading by date range already implemented ((((.
Good news is that deleting by date range still not implemented there, so you can add this, but my recommendation is to create a patch for webform (if one is not exists yet).
Comment #29
viswanathan6 CreditAttribution: viswanathan6 commentedHi dstorozhuk,
Thanks for your inputs. I have created and uploaded a patch for bulk delete submissions in webform.
My patch Link:
https://www.drupal.org/node/2540330
Comment #30
viswanathan6 CreditAttribution: viswanathan6 commentedComment #31
peterlolty CreditAttribution: peterlolty as a volunteer commentedAs the Webform maintainer haven't accept the patch (https://www.drupal.org/node/2540330), and he also suggests to make it as an add-on module. I think this should be reopen again.
Comment #32
viswanathan6 CreditAttribution: viswanathan6 commentedComment #33
viswanathan6 CreditAttribution: viswanathan6 commentedComment #34
viswanathan6 CreditAttribution: viswanathan6 commentedHi peterlolty ,
Thanks for reopened this.i have uploaded Delete webform submissions as an add-on module for webform.
Comment #35
viswanathan6 CreditAttribution: viswanathan6 commentedComment #36
viswanathan6 CreditAttribution: viswanathan6 commentedComment #37
viswanathan6 CreditAttribution: viswanathan6 commentedComment #38
viswanathan6 CreditAttribution: viswanathan6 commentedComment #39
viswanathan6 CreditAttribution: viswanathan6 commentedComment #40
viswanathan6 CreditAttribution: viswanathan6 commentedComment #41
viswanathan6 CreditAttribution: viswanathan6 commentedComment #42
viswanathan6 CreditAttribution: viswanathan6 commentedComment #43
viswanathan6 CreditAttribution: viswanathan6 commentedComment #44
PA robot CreditAttribution: PA robot commentedFixed the git clone URL in the issue summary for non-maintainer users.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #45
dstorozhukHey, viswanathan6, I think you have to remove
"_d7_"
prefix from module folder name. What is the reason to add it?Comment #46
viswanathan6 CreditAttribution: viswanathan6 commentedComment #47
viswanathan6 CreditAttribution: viswanathan6 commentedHi dstorozhuk,
Sorry for the inconvenience.Now the prefix has removed from module folder.
Comment #48
viswanathan6 CreditAttribution: viswanathan6 commentedComment #49
viswanathan6 CreditAttribution: viswanathan6 commentedComment #50
viswanathan6 CreditAttribution: viswanathan6 commentedComment #51
viswanathan6 CreditAttribution: viswanathan6 commentedComment #52
viswanathan6 CreditAttribution: viswanathan6 commentedComment #53
viswanathan6 CreditAttribution: viswanathan6 commentedHi dstorozhuk,
if the application has no major flaws,Please guide me to get RTBC for my module.
Comment #54
dstorozhukAutomated Review
Git default branch still is not set. Setting a default branch
Manual Review
$end_date = strtotime($end_date)) !== FALSE
to form validation.webform_submissions_bulk_delete.info:
No need to define
configure = node/%nid/webform-results/bulk-delete
. This is not a configuration page. Remove this line.stylesheets[all][] = css/webform_submissions_bulk_delete.css:
Better to attach youCSS
file especially for page where it is used.Use
$form['#attached']['css']
to attach your file instead ofdrupal_add_css().
Even more, I think CSS code from
webform_submissions_bulk_delete.css
is not used any more. Please review this file, probably it can be removed from the module.The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #55
dstorozhukComment #56
viswanathan6 CreditAttribution: viswanathan6 commentedHi dstorozhuk,
Thanks for spent some time to reviewing my module.
The git branch,readme.txt,(*),(+) items are fixed in my module.And date picker also added.
i will definitely do your (6) recommendation along with Feature request in future.once this module has been released.
if the application has no major flaws,Please consider for RTBC.
Comment #57
viswanathan6 CreditAttribution: viswanathan6 commentedComment #58
dstorozhukModule looks good for now, setting status RTBC.
Also, I want to make additional feature request:
make Date popup dependency optional with keeping date format validation (currently it is provide by date module).
Comment #59
dstorozhukComment #60
viswanathan6 CreditAttribution: viswanathan6 commentedHi dstorozhuk ,
Thanks for reviewing and changed the status of my module to RTBC. I will do your additional feature request.
Comment #61
viswanathan6 CreditAttribution: viswanathan6 commentedWaiting for Drupal admin review.
Comment #62
apadernoThank you for your contribution!
I am going to update your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thank you, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thank you to the dedicated reviewer(s) as well.
Comment #63
viswanathan6 CreditAttribution: viswanathan6 commentedHi kiamlaluno,
i have just promoted my sandbox project to full project.But my clone doesn't changed.Please guide me to solve this.
Url: https://www.drupal.org/project/webform_submissions_bulk_delete/git-instr...
git clone --branch 7.x-1.x viswanathan6@git.drupal.org:project/2543296.git
Comment #64
viswanathan6 CreditAttribution: viswanathan6 commentedComment #65
viswanathan6 CreditAttribution: viswanathan6 commentedHi git admins,
I have just promoted my sandbox project to full project.But my clone doesn't changed.Please guide me to solve this.
Url: https://www.drupal.org/project/webform_submissions_bulk_delete/git-instr...
git clone --branch 7.x-1.x viswanathan6@git.drupal.org:project/2543296.git
Comment #66
viswanathan6 CreditAttribution: viswanathan6 commentedComment #67
viswanathan6 CreditAttribution: viswanathan6 commentedComment #68
dstorozhukHave you changed the project name?
Comment #69
rajeev_drupal CreditAttribution: rajeev_drupal commentedReviewing this...
Comment #70
viswanathan6 CreditAttribution: viswanathan6 commentedHi dstorozhuk/rajeev_drupal,
I have given short project name as webform_submissions_bulk_delete.But my clone url doesn't changed.
it looking like this: git clone --branch 7.x-1.x viswanathan6@git.drupal.org:project/2543296.git
Please guide me to solve this
Comment #71
dstorozhukHmm. Strange. Really, on https://www.drupal.org/project/webform_submissions_bulk_delete/git-instr... , I see:
I can't help here.
You also should set tag in GIT and setup default recommended release to display download links on project page.
Comment #72
viswanathan6 CreditAttribution: viswanathan6 commentedHi dstorozhuk,
I have already created one tag and push to 7.x branch.But nothing happened. it shown a below error when add new release.
Packaging error messages
Git clone failed:
fatal: remote error: access denied or repository not exported: /project/2543296.git
Initialized empty Git repository in /tmp/drush_tmp_1438888095_55c3b09f851e3/clone/.git/
How to proceed further.
Comment #73
dstorozhukMaybe the problem exists since you had changed the project GIT url?
Tried to contact directly to somebody from drupal team via Email?
I didn't face with problems like this when my project was promoted few days ago.
Comment #74
viswanathan6 CreditAttribution: viswanathan6 commentedthanks dstorozhuk.I have sent an detailed email regrad this to klausi.I think she might take this into right way.
Comment #75
viswanathan6 CreditAttribution: viswanathan6 commented@klausi can you help me to solve this git problem.
Comment #76
klausi@viswanathan6: you are still trying to push to the old sandbox URL. You need to update your git remote URL or reclone the project from the new URL.
Comment #77
viswanathan6 CreditAttribution: viswanathan6 commentedHi klausi,
can you help me. How to update or reclone the project url
Comment #78
klausiYou delete the folder of your module on your computer and run the instructions from https://www.drupal.org/project/webform_submissions_bulk_delete/git-instr... again.
Comment #79
viswanathan6 CreditAttribution: viswanathan6 commentedthanks Klausi.I will try this.
Comment #80
viswanathan6 CreditAttribution: viswanathan6 commentedHi klausi,
I have tried but it shows like below
git clone --branch 7.x-1.x viswanathan6@git.drupal.org:project/2543296.git
Cloning into '2543296'...
fatal: remote error: The remote repository at 'project/2543296.git' does not exist. Verify that your remote is correct.
Comment #81
apadernoIt's
git clone --branch 7.x-1.x viswanathan6@git.drupal.org:project/webform_submissions_bulk_delete.git
.