[WIP] Create Javascript extension resource
Review Request #9547 — Created Jan. 28, 2018 and discarded
Code drop for Jan 28th meeting:
* Notes and commented out code to allow users to manage Javascript extensions.Code drop for Feb 4th meeting:
* Added account page for JavaScript extensions with place holder form
* Added stubs for JavaScript extensions resourceCode drop for Feb 11th meeting:
* JS extension form accepts URL and adds to user profile
* JS extension page lists user's extensionsCode drop for Feb 18th meeting:
* First take implementation for JS extension API resourceCode drop for Feb 25th meeting:
* Clean up of JS extension resource
* Created template for testingCode drop for Mar 4th meeting:
* Finish implementation of GET and POST methods for JS extension list resourceCode drop for Mar 11th meeting:
* Finish implementation of JS extension view
* Attempt to implement GET and DELETE js extensionCode drop for Mar 18th meeting:
* Finish implementing GET and DELETE js extension item resourceCode drop for Mar 25th meeting:
* Testing for js extension list & item resource
* Adding permission checksCode drop for April 1st:
* Passed all tests for js extension list & item resource
* Attempt to load JS extension information in front-end
Existing tests still working.
Tests for user JavaScript extension list & item resource passing.
- List: GET, POST
- Item: GET, PUT, DELETE
Description | From | Last Updated |
---|---|---|
E303 too many blank lines (3) |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E303 too many blank lines (2) |
reviewbot | |
F401 'djblets.extensions.manager.ExtensionManager as DjbletsExtensionManager' imported but unused |
reviewbot | |
E303 too many blank lines (2) |
reviewbot | |
E305 expected 2 blank lines after class or function definition, found 1 |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
F401 'json' imported but unused |
reviewbot | |
E303 too many blank lines (3) |
reviewbot | |
E203 whitespace before ':' |
reviewbot | |
F401 'reviewboard.extensions.base.ExtensionManager' imported but unused |
reviewbot | |
F401 'djblets.extensions.manager.ExtensionManager as DjbletsExtensionManager' imported but unused |
reviewbot | |
E303 too many blank lines (2) |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E303 too many blank lines (3) |
reviewbot | |
E203 whitespace before ':' |
reviewbot | |
F401 'djblets.extensions.resources.ExtensionResource as DjbletsExtensionResource' imported but unused |
reviewbot | |
F401 'djblets.webapi.decorators.webapi_request_fields' imported but unused |
reviewbot | |
F401 'reviewboard.webapi.base.RBResourceMixin' imported but unused |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E303 too many blank lines (3) |
reviewbot | |
E203 whitespace before ':' |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
F401 'djblets.extensions.resources.ExtensionResource as DjbletsExtensionResource' imported but unused |
reviewbot | |
F401 'reviewboard.webapi.base.RBResourceMixin' imported but unused |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E303 too many blank lines (2) |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E127 continuation line over-indented for visual indent |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
E303 too many blank lines (3) |
reviewbot | |
E203 whitespace before ':' |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
F401 'djblets.extensions.resources.ExtensionResource as DjbletsExtensionResource' imported but unused |
reviewbot | |
F401 'djblets.util.decorators.augment_method_from' imported but unused |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
F401 'reviewboard.webapi.base.RBResourceMixin' imported but unused |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E303 too many blank lines (2) |
reviewbot | |
E303 too many blank lines (2) |
reviewbot | |
W391 blank line at end of file |
reviewbot | |
F401 'reviewboard.site.models.LocalSite' imported but unused |
reviewbot | |
F401 'reviewboard.webapi.tests.urls.get_user_js_extension_item_url' imported but unused |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
E127 continuation line over-indented for visual indent |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
E303 too many blank lines (3) |
reviewbot | |
E203 whitespace before ':' |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
F401 'djblets.extensions.resources.ExtensionResource as DjbletsExtensionResource' imported but unused |
reviewbot | |
F401 'djblets.util.decorators.augment_method_from' imported but unused |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
F401 'djblets.webapi.errors.DUPLICATE_ITEM' imported but unused |
reviewbot | |
F401 'djblets.webapi.errors.INVALID_FORM_DATA' imported but unused |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
F401 'reviewboard.webapi.base.RBResourceMixin' imported but unused |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E303 too many blank lines (2) |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E303 too many blank lines (2) |
reviewbot | |
W391 blank line at end of file |
reviewbot | |
F401 'reviewboard.site.models.LocalSite' imported but unused |
reviewbot | |
F401 'reviewboard.webapi.tests.urls.get_user_js_extension_item_url' imported but unused |
reviewbot | |
W291 trailing whitespace |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
E127 continuation line over-indented for visual indent |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
E303 too many blank lines (3) |
reviewbot | |
E203 whitespace before ':' |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
F401 'djblets.extensions.resources.ExtensionResource as DjbletsExtensionResource' imported but unused |
reviewbot | |
F401 'djblets.util.decorators.augment_method_from' imported but unused |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
F401 'djblets.webapi.errors.DUPLICATE_ITEM' imported but unused |
reviewbot | |
F401 'djblets.webapi.errors.INVALID_FORM_DATA' imported but unused |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
F401 'djblets.webapi.responses.WebAPIResponseError' imported but unused |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
F401 'reviewboard.webapi.base.RBResourceMixin' imported but unused |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E402 module level import not at top of file |
reviewbot | |
E302 expected 2 blank lines, found 1 |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E303 too many blank lines (2) |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E201 whitespace after '{' |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E501 line too long (81 > 79 characters) |
reviewbot | |
E305 expected 2 blank lines after class or function definition, found 1 |
reviewbot | |
W391 blank line at end of file |
reviewbot | |
F401 'reviewboard.site.models.LocalSite' imported but unused |
reviewbot | |
F401 'reviewboard.webapi.tests.urls.get_user_js_extension_item_url' imported but unused |
reviewbot | |
E303 too many blank lines (4) |
reviewbot | |
F841 local variable 'application' is assigned to but never used |
reviewbot | |
F401 'reviewboard.webapi.resources.js_extension.JSExtensionResource' imported but unused |
reviewbot | |
E303 too many blank lines (3) |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E203 whitespace before ':' |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
F401 'djblets.extensions.resources.ExtensionResource as DjbletsExtensionResource' imported but unused |
reviewbot | |
F401 'djblets.util.decorators.augment_method_from' imported but unused |
reviewbot | |
F401 'djblets.webapi.errors.DUPLICATE_ITEM' imported but unused |
reviewbot | |
F401 'djblets.webapi.responses.WebAPIResponseError' imported but unused |
reviewbot | |
F401 'djblets.webapi.responses.WebAPIResponsePaginated' imported but unused |
reviewbot | |
F401 'reviewboard.webapi.base.RBResourceMixin' imported but unused |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E501 line too long (80 > 79 characters) |
reviewbot | |
E501 line too long (80 > 79 characters) |
reviewbot | |
E501 line too long (80 > 79 characters) |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E303 too many blank lines (2) |
reviewbot | |
E501 line too long (88 > 79 characters) |
reviewbot | |
E501 line too long (92 > 79 characters) |
reviewbot | |
E201 whitespace after '{' |
reviewbot | |
E231 missing whitespace after ',' |
reviewbot | |
E501 line too long (88 > 79 characters) |
reviewbot | |
E501 line too long (92 > 79 characters) |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
E265 block comment should start with '# ' |
reviewbot | |
W391 blank line at end of file |
reviewbot | |
W292 no newline at end of file |
reviewbot | |
F401 'reviewboard.site.models.LocalSite' imported but unused |
reviewbot | |
F401 'djblets.testing.decorators.add_fixtures' imported but unused |
reviewbot |
- Description:
-
~ Code drop for Jan 28th meeting (sorry for the delay).
~ Code drop for Jan 28th meeting:
~ Notes and commented out code to allow users to manage Javascript extensions.
~ - Notes and commented out code to allow users to manage Javascript extensions.
+ + Code drop for Feb 3rd meeting:
+ + - Added account page for JavaScript extensions with place holder form
+ - Added stubs for JavaScript extensions resource
- Commit:
-
15dcc7071e72233e78f1a50eab6a851a5364c2e47bdc6d9b2804709b6290f5acb1fccb025466b42b
Checks run (1 failed, 1 succeeded)
flake8
- Description:
-
~ Code drop for Jan 28th meeting:
~ Code drop for Jan 28th meeting:
+ * Notes and commented out code to allow users to manage Javascript extensions. ~ - Notes and commented out code to allow users to manage Javascript extensions.
~ Code drop for Feb 4th meeting:
+ * Added account page for JavaScript extensions with place holder form + * Added stubs for JavaScript extensions resource ~ Code drop for Feb 3rd meeting:
~ ~ - Added account page for JavaScript extensions with place holder form
~ Code drop for Feb 11th meeting:
~ * JS extension form accepts URL and adds to user profile ~ * JS extension page lists user's extensions - - Added stubs for JavaScript extensions resource
- Testing Done:
-
~ None.
~ None. Manual testing
- Commit:
-
7bdc6d9b2804709b6290f5acb1fccb025466b42bf1bb67e5b940a15558032d97b5bd4382d4b01ecd
Checks run (1 failed, 1 succeeded)
flake8
- Description:
-
Code drop for Jan 28th meeting:
* Notes and commented out code to allow users to manage Javascript extensions. Code drop for Feb 4th meeting:
* Added account page for JavaScript extensions with place holder form * Added stubs for JavaScript extensions resource Code drop for Feb 11th meeting:
* JS extension form accepts URL and adds to user profile * JS extension page lists user's extensions + + Code drop for Feb 18th meeting:
+ * First take implementation for JS extension API resource - Commit:
-
f1bb67e5b940a15558032d97b5bd4382d4b01ecd389982bb051ea01f6500f9fe5dba936055eadad1
Checks run (1 failed, 1 succeeded)
flake8
- Description:
-
Code drop for Jan 28th meeting:
* Notes and commented out code to allow users to manage Javascript extensions. Code drop for Feb 4th meeting:
* Added account page for JavaScript extensions with place holder form * Added stubs for JavaScript extensions resource Code drop for Feb 11th meeting:
* JS extension form accepts URL and adds to user profile * JS extension page lists user's extensions Code drop for Feb 18th meeting:
* First take implementation for JS extension API resource + + Code drop for Feb 25th meeting:
+ * Clean up of JS extension resource + * Created template for testing - Testing Done:
-
~ None. Manual testing
~ Existing tests still working.
+ + Tests for user JavaScript extensions not implemented or do not pass.
- Commit:
-
389982bb051ea01f6500f9fe5dba936055eadad16e8c9876da5144f20dde900df410c3e047121a1d
Checks run (1 failed, 1 succeeded)
flake8
- Description:
-
~ Code drop for Jan 28th meeting:
~ Code drop for Jan 28th meeting:
* Notes and commented out code to allow users to manage Javascript extensions. ~ Code drop for Feb 4th meeting:
~ * Added account page for JavaScript extensions with place holder form ~ Code drop for Feb 4th meeting:
~ * Added account page for JavaScript extensions with place holder form * Added stubs for JavaScript extensions resource ~ Code drop for Feb 11th meeting:
~ * JS extension form accepts URL and adds to user profile ~ Code drop for Feb 11th meeting:
~ * JS extension form accepts URL and adds to user profile * JS extension page lists user's extensions ~ Code drop for Feb 18th meeting:
~ Code drop for Feb 18th meeting:
* First take implementation for JS extension API resource ~ Code drop for Feb 25th meeting:
~ * Clean up of JS extension resource ~ Code drop for Feb 25th meeting:
~ * Clean up of JS extension resource * Created template for testing + + Code drop for Feb 25th meeting:
+ * Finish implementation of GET and POST methods for JS extension list resource - Commit:
-
6e8c9876da5144f20dde900df410c3e047121a1de08cc0745fd8ea0807d68719d511025aa92f7e96
- Diff:
-
Revision 6 (+411 -3)
Checks run (1 failed, 1 succeeded)
flake8
- Description:
-
Code drop for Jan 28th meeting:
* Notes and commented out code to allow users to manage Javascript extensions. Code drop for Feb 4th meeting:
* Added account page for JavaScript extensions with place holder form * Added stubs for JavaScript extensions resource Code drop for Feb 11th meeting:
* JS extension form accepts URL and adds to user profile * JS extension page lists user's extensions Code drop for Feb 18th meeting:
* First take implementation for JS extension API resource Code drop for Feb 25th meeting:
* Clean up of JS extension resource * Created template for testing ~ Code drop for Feb 25th meeting:
~ Code drop for Mar 4th meeting:
* Finish implementation of GET and POST methods for JS extension list resource + + Code drop for Mar 11th meeting:
+ * Finish implementation of JS extension view + * Attempt to implement GET and DELETE js extension - Commit:
-
e08cc0745fd8ea0807d68719d511025aa92f7e9607fffb81a73b769d7f9885456769f4cd217bcea3
- Diff:
-
Revision 7 (+534 -3)
Checks run (1 failed, 1 succeeded)
flake8
- Description:
-
Code drop for Jan 28th meeting:
* Notes and commented out code to allow users to manage Javascript extensions. Code drop for Feb 4th meeting:
* Added account page for JavaScript extensions with place holder form * Added stubs for JavaScript extensions resource Code drop for Feb 11th meeting:
* JS extension form accepts URL and adds to user profile * JS extension page lists user's extensions Code drop for Feb 18th meeting:
* First take implementation for JS extension API resource Code drop for Feb 25th meeting:
* Clean up of JS extension resource * Created template for testing Code drop for Mar 4th meeting:
* Finish implementation of GET and POST methods for JS extension list resource Code drop for Mar 11th meeting:
* Finish implementation of JS extension view * Attempt to implement GET and DELETE js extension + + Code drop for Mar 18th meeting:
+ * Finish implementing GET and DELETE js extension item resource - Commit:
-
07fffb81a73b769d7f9885456769f4cd217bcea32f267ef1bfabd6df16096ba57e89597af44cd50c
- Diff:
-
Revision 8 (+530 -3)
Checks run (1 failed, 1 succeeded)
flake8
- Description:
-
Code drop for Jan 28th meeting:
* Notes and commented out code to allow users to manage Javascript extensions. Code drop for Feb 4th meeting:
* Added account page for JavaScript extensions with place holder form * Added stubs for JavaScript extensions resource Code drop for Feb 11th meeting:
* JS extension form accepts URL and adds to user profile * JS extension page lists user's extensions Code drop for Feb 18th meeting:
* First take implementation for JS extension API resource Code drop for Feb 25th meeting:
* Clean up of JS extension resource * Created template for testing Code drop for Mar 4th meeting:
* Finish implementation of GET and POST methods for JS extension list resource Code drop for Mar 11th meeting:
* Finish implementation of JS extension view * Attempt to implement GET and DELETE js extension Code drop for Mar 18th meeting:
* Finish implementing GET and DELETE js extension item resource + + Code drop for Mar 25th meeting:
+ * Testing for js extension list & item resource + * Adding permission checks - Testing Done:
-
Existing tests still working.
~ Tests for user JavaScript extensions not implemented or do not pass.
~ Tests for user JavaScript extension list resource passing
+ Tests for user JavaScript extension item resource not all passing yet - Commit:
-
2f267ef1bfabd6df16096ba57e89597af44cd50caecefe52da92d8a5df3ce8996ba7c4c70cb363e5
- Diff:
-
Revision 9 (+737 -3)
Checks run (1 failed, 1 succeeded)
flake8
- Description:
-
Code drop for Jan 28th meeting:
* Notes and commented out code to allow users to manage Javascript extensions. Code drop for Feb 4th meeting:
* Added account page for JavaScript extensions with place holder form * Added stubs for JavaScript extensions resource Code drop for Feb 11th meeting:
* JS extension form accepts URL and adds to user profile * JS extension page lists user's extensions Code drop for Feb 18th meeting:
* First take implementation for JS extension API resource Code drop for Feb 25th meeting:
* Clean up of JS extension resource * Created template for testing Code drop for Mar 4th meeting:
* Finish implementation of GET and POST methods for JS extension list resource Code drop for Mar 11th meeting:
* Finish implementation of JS extension view * Attempt to implement GET and DELETE js extension Code drop for Mar 18th meeting:
* Finish implementing GET and DELETE js extension item resource Code drop for Mar 25th meeting:
* Testing for js extension list & item resource * Adding permission checks + + Code drop for April 1st:
+ * Passed all tests for js extension list & item resource + * Attempt to load JS extension information in front-end - Testing Done:
-
Existing tests still working.
~ Tests for user JavaScript extension list resource passing
~ Tests for user JavaScript extension item resource not all passing yet ~ Tests for user JavaScript extension list & item resource passing.
~ - List: GET, POST + - Item: GET, PUT, DELETE - Commit:
-
aecefe52da92d8a5df3ce8996ba7c4c70cb363e5627011b4d2f1dcca6edc3ba935b823d724495772
- Diff:
-
Revision 10 (+732 -5)