Link to sandbox project: https://www.drupal.org/sandbox/instapage/2823680
The intended Drupal core version: 7.x and 8.x
This is an official Instapage Drupal module (https://help.instapage.com/hc/en-us/articles/207038297-Publishing-Your-P.... Links are already published in our help center). Previous version of Drupal module was maintained by 3rd party company (https://www.drupal.org/project/instapage). We created a new version of Instapage Drupal module to add new features, develop new versions faster, secure better issue tracking and to enable instant communication between our teams responsible for app and our plugin network.
The core part of the plugin doesn't follow Drupal coding standard because it's in fact a foundation for a network of plugins to all major PHP based CMS-es. We are supporting Drupal 7, Drupal 8 and Wordpress at the momemt.
Inspapage module is used to publish landing pages built in app.instapage.com via Drupal. First connect your page to your Instapage account. You can do this on settings tab of module's dashboard at /admin/structure/instapage_cms_plugin.
You will have to enter username and password of your Instapage account or use your Instapage Token.
After you successfully connect, you can see all your pages from Instapage (if you used Instapage credentials as a login method) or pages from subaccount bound with tokens you used.
Keep in mind that the pages will only show up if you publish them for Drupal on Instapage administration pages.
After you get a list of the pages you can put in the path for each of them and publish them as a regular page, home page or 404 page.
Comments
Comment #2
instapagedev commentedComment #3
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 #4
patilvishalvs commentedHi,
Please review your code on "https://pareview.sh" site. I found some errors and warnings in your code. Given below is the link:
https://pareview.sh/node/238
Comment #5
sourabh.singhal commentedHi instapagedev,
I have installed this module and have done some manual code review and here is my findings:
Thanks
Sourdrup
Comment #6
sourabh.singhal commentedComment #7
klausi@sourdrup: those are good tips but surely not application blockers. Anything else that you found or should this be RTBC instead?
Comment #8
instapagedev commentedThank you for the first reviews. We will apply fixes APAP.
Comment #9
sandip27 commentedHello @instapagedev
I reviewed the module and found few issues in it.
1. In log.php file, ample of variables are used but not defined/declared. Would have been great if did so. Surely, not a blocker but good to do so.
2. You could prepend project name to the class names in files, ViewModel.php or SubaccountModel.php etc. It would help to make it unique and non-conflicting.
3. README.txt file has few spelling mistakes, viz., succesfully, beeing etc Please fix those.
Thanks
Comment #10
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #11
instapagedev commentedIssues reported in review process are fixed in v7.x-3.14
Comment #12
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxinstapage2823680git
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #13
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #14
instapagedev commentedUnused variables were removed. phpdoc comments were added for all classes and methods. Issues left in automatically generated report:
Comment #15
instapagedev commentedThere were no more reported issues since 24 days. Is there anything else we can do to push the plugin out of the sandbox? Our clients would appreciate the opportunity to get regular updates.
Comment #16
instapagedev commentedCould somebody reply to our request? I commented 2 months ago, no feedback ever since. Please report the issues to fix or move the project out of the sandbox. I'm constantly getting tickets for easier plugin update from our clients.
Comment #17
Ravi Cmsminds commentedI checked your module, however there are issues and recommendations that you may be interested in :
FILE: /root/repos/pareviewsh/pareview_temp/src/Routing/PagesRoutes.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
15 | ERROR | Description for the @return value is missing
----------------------------------------------------------------------
FILE: ...s/pareviewsh/pareview_temp/src/Controller/PageSettingsController.php
--------------------------------------------------------------------------
FOUND 8 ERRORS AND 3 WARNINGS AFFECTING 11 LINES
--------------------------------------------------------------------------
14 | ERROR | [x] Doc comment short description must end with a full
| | stop
15 | ERROR | [x] There must be exactly one blank line before the tags
| | in a doc comment
26 | ERROR | [ ] Missing parameter comment
27 | ERROR | [ ] Missing parameter comment
35 | ERROR | [ ] Missing short description in doc comment
36 | ERROR | [ ] Missing parameter comment
49 | ERROR | [ ] Description for the @return value is missing
62 | WARNING | [ ] Avoid backslash escaping in translatable strings
| | when possible, use "" quotes instead
69 | ERROR | [ ] If the line declaring an array spans longer than 80
| | characters, each element should be broken into its
| | own line
74 | WARNING | [ ] Avoid backslash escaping in translatable strings
| | when possible, use "" quotes instead
110 | WARNING | [x] A comma should follow the last multiline array item.
| | Found: ]
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: ...os/pareviewsh/pareview_temp/src/Controller/PageDisplayController.php
--------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 6 LINES
--------------------------------------------------------------------------
28 | ERROR | Missing parameter comment
29 | ERROR | Missing parameter comment
30 | ERROR | Missing parameter comment
30 | ERROR | Doc comment for parameter $client does not match actual
| | variable name
38 | ERROR | Missing short description in doc comment
39 | ERROR | Missing parameter comment
53 | ERROR | Missing parameter comment
53 | ERROR | Missing parameter type
--------------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/src/Form/SettingsForm.php
----------------------------------------------------------------------
FOUND 16 ERRORS AFFECTING 16 LINES
----------------------------------------------------------------------
24 | ERROR | Missing parameter comment
25 | ERROR | Missing parameter comment
32 | ERROR | Missing short description in doc comment
33 | ERROR | Missing parameter comment
43 | ERROR | Missing short description in doc comment
44 | ERROR | Description for the @return value is missing
50 | ERROR | Missing short description in doc comment
51 | ERROR | Description for the @return value is missing
59 | ERROR | Missing short description in doc comment
60 | ERROR | Missing parameter comment
61 | ERROR | Missing parameter comment
62 | ERROR | Description for the @return value is missing
117 | ERROR | Missing parameter comment
118 | ERROR | Missing parameter comment
143 | ERROR | Missing parameter comment
144 | ERROR | Missing parameter comment
----------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/src/Form/PageEditForm.php
----------------------------------------------------------------------
FOUND 17 ERRORS AFFECTING 17 LINES
----------------------------------------------------------------------
29 | ERROR | Missing short description in doc comment
30 | ERROR | Description for the @return value is missing
36 | ERROR | Parameter $request is not described in comment
39 | ERROR | Missing parameter comment
40 | ERROR | Missing parameter comment
41 | ERROR | Missing parameter comment
51 | ERROR | Missing short description in doc comment
52 | ERROR | Missing parameter comment
64 | ERROR | Missing short description in doc comment
65 | ERROR | Missing parameter comment
66 | ERROR | Missing parameter comment
67 | ERROR | Description for the @return value is missing
111 | ERROR | Missing parameter comment
112 | ERROR | Missing parameter comment
114 | ERROR | Description for the @return value is missing
126 | ERROR | Missing parameter comment
127 | ERROR | Missing parameter comment
----------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/src/Form/PageDeleteForm.php
----------------------------------------------------------------------
FOUND 17 ERRORS AFFECTING 17 LINES
----------------------------------------------------------------------
28 | ERROR | Missing short description in doc comment
29 | ERROR | Description for the @return value is missing
35 | ERROR | Parameter $request is not described in comment
38 | ERROR | Missing parameter comment
39 | ERROR | Missing parameter comment
40 | ERROR | Missing parameter comment
50 | ERROR | Missing short description in doc comment
51 | ERROR | Missing parameter comment
63 | ERROR | Missing short description in doc comment
64 | ERROR | Missing parameter comment
65 | ERROR | Missing parameter comment
66 | ERROR | Description for the @return value is missing
100 | ERROR | Missing parameter comment
101 | ERROR | Missing parameter comment
103 | ERROR | Description for the @return value is missing
115 | ERROR | Missing parameter comment
116 | ERROR | Missing parameter comment
----------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/src/Form/PageNewForm.php
----------------------------------------------------------------------
FOUND 16 ERRORS AFFECTING 16 LINES
----------------------------------------------------------------------
26 | ERROR | Missing short description in doc comment
27 | ERROR | Description for the @return value is missing
36 | ERROR | Missing parameter comment
37 | ERROR | Missing parameter comment
38 | ERROR | Missing parameter comment
47 | ERROR | Missing short description in doc comment
48 | ERROR | Missing parameter comment
59 | ERROR | Missing short description in doc comment
60 | ERROR | Missing parameter comment
61 | ERROR | Missing parameter comment
62 | ERROR | Description for the @return value is missing
112 | ERROR | Missing parameter comment
113 | ERROR | Missing parameter comment
115 | ERROR | Description for the @return value is missing
127 | ERROR | Missing parameter comment
128 | ERROR | Missing parameter comment
----------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/src/Api.php
----------------------------------------------------------------------
FOUND 39 ERRORS AFFECTING 26 LINES
----------------------------------------------------------------------
28 | ERROR | Missing parameter comment
29 | ERROR | Missing parameter comment
40 | ERROR | Missing parameter comment
54 | ERROR | Missing parameter comment
55 | ERROR | Missing parameter comment
56 | ERROR | Missing parameter comment
58 | ERROR | Description for the @return value is missing
60 | ERROR | Type hint "array" missing for $headers
60 | ERROR | Type hint "array" missing for $params
95 | ERROR | Missing parameter comment
95 | ERROR | Missing parameter type
96 | ERROR | Missing parameter comment
96 | ERROR | Missing parameter type
108 | ERROR | Missing parameter comment
108 | ERROR | Missing parameter type
109 | ERROR | Missing parameter comment
109 | ERROR | Missing parameter type
111 | ERROR | Description for the @return value is missing
128 | ERROR | Missing parameter comment
128 | ERROR | Missing parameter type
130 | ERROR | Description for the @return value is missing
144 | ERROR | Missing parameter comment
144 | ERROR | Missing parameter type
146 | ERROR | Description for the @return value is missing
177 | ERROR | Missing parameter comment
177 | ERROR | Missing parameter type
179 | ERROR | Description for the @return value is missing
189 | ERROR | Parameter $publish is not described in comment
192 | ERROR | Missing parameter comment
192 | ERROR | Missing parameter type
193 | ERROR | Missing parameter comment
193 | ERROR | Missing parameter type
194 | ERROR | Missing parameter comment
194 | ERROR | Missing parameter type
230 | ERROR | Missing parameter comment
230 | ERROR | Missing parameter type
251 | ERROR | Missing parameter comment
251 | ERROR | Missing parameter type
253 | ERROR | Description for the @return value is missing
----------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/instapage.links.menu.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
10 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/instapage.services.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
4 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/instapage.permissions.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
9 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/instapage.module
--------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------
11 | WARNING | Hook implementations should not duplicate @param
| | documentation
11 | ERROR | Missing parameter comment
--------------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/README.txt
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
13 | WARNING | Line exceeds 80 characters; contains 85 characters
----------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/instapage.libraries.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
4 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/config/instapage.settings.yml
------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------
2 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/instapage.install
--------------------------------------------------------------------------
FOUND 8 ERRORS AFFECTING 8 LINES
--------------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one blank
| | line
5 | ERROR | [x] The second line in the file doc comment must be "@file"
8 | ERROR | [x] There must be no blank lines after the function comment
12 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
13 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
21 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected
| | "FALSE" but found "false"
22 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected
| | "FALSE" but found "false"
30 | ERROR | [x] Namespaced classes/interfaces/traits should be
| | referenced with use statements
--------------------------------------------------------------------------
PHPCBF CAN FIX THE 8 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/instapage.routing.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
42 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------
FILE: /root/repos/pareviewsh/pareview_temp/instapage.info.yml
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
8 | ERROR | [x] Expected 1 newline at end of file; 0 found
----------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------
Comment #18
avpadernoThank you for your contribution!
Looking at the list of the committers, I see there are users who aren't listed as maintainers. Did you clone another project? If the answer is yes, which project did you clone?
Comment #19
avpadernoIf you are still working on this application, you should fix all known problems and set the status to Needs review. (See also the project application workflow.)
Please don't change status of this application if you aren't sure you have time to dedicate to this application, or it will be closed again as won't fix.
I am closing this application due to lack of activity. (The comment reporting what to fix in the code has been written on July, 2017.)