Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

clean php-codesniffer warnings in administrator/com_media #35

Closed
marcodings opened this issue Sep 11, 2016 · 1 comment
Closed

clean php-codesniffer warnings in administrator/com_media #35

marcodings opened this issue Sep 11, 2016 · 1 comment

Comments

@marcodings
Copy link
Contributor

marcodings commented Sep 11, 2016

clean php-codesniffer warnings in administrator/com_media

in php-storm run "code|inspect code" on each file

@marcodings marcodings added this to the Tasks / workbreakdown milestone Sep 11, 2016
jissereitsma pushed a commit that referenced this issue Sep 19, 2016
* Initial test environment setup with Jasmine, Karma and RequireJS

* Seperated test setup code from test logic

* Configured .travis.yml to run Karma

* Fixed typo in .travis.yml

* changes to .travis.yml

* Added karma requirejs module

* Removed unnecessary code in travis.yml

* Fixed missing code is travis.yml

* Removed 2 unused image files

* Improved code standards

* Modified travis.yml

* Issue 1 Cleaned the mess with changes bunch of to unrelated files

* Issue 1 Added newline at end of file

* Issue 4 Improved JCaption JavaScript tests

* New coeverage reporter plugin test with Travis

* Issue 1 Added karma-coerage reporter and configured it to display coverage on console

* Issue 1 Added and configured karma-verbose-reporter plugin

* Issue 1 Fixing verbose reporter config for travis

* Issue 1 removed redundant javascript dir and added requirejs/text plugin to load fixtures

* Issue 4 Improved code with suggestions made in the code review

* Issue 1 Added version for requirejs text plugin

* Issue 1 converted space indentations to tabs

* Issue 1 Fixed indentation in package.json

* Issue 1 Fixed version issue in require text

* Issue 1 Fixed version issue in require text

* Issue 1 Fixed version issue in require text

* Issue 4 Improved code standards and jquer selector efficiency

* Issue 1 Tersting version issue with text plugin on travis

* Issue 1 Tersting version issue with text plugin on travis

* Issue 1 Tersting version issue with text plugin on travis

* Issue 1 Removed spec folder

* Corejs tests (#15)

Tests for core.js

* Tests for permissions.js (#13)

* Test suite for permissions.js
* Added karma-jasmine-ajax plugin

* Added a container div for fixtures representing library name (#11)

* Added a container div for fixtures representing the library name

* CS - Removed an extra new line

* Permissions.js tests

Test for permissions

* Repeatable.js test suite

* Improvements to JCaption tests

* README.md update

* Modified readme file
* Made running tests easier by adding configuration for tests to run on npm test

* Core js Improvements

* Issue 9 Added jasmine spies and improved code
* Issue 9 Fixed an indentation issue

* Demo video on Youtube 

* Inserted the video demonstration link to the readme

* Issue 5 Added spies and made code improvements (#31)

* Issue 12 Improved code (#34)

* Repeatable.js Improvements (#35)

* Run Travis JavaScript tests on separated Matrix Build (#39)

* Only run Travis tests on PHP 7

* Fix base path issue

* Added own matrix tests for JavaScript

* Added own matrix tests for JavaScript

* Added own matrix tests for JavaScript

* Added own matrix tests for JavaScript

* Added own matrix tests for JavaScript

* Added own matrix tests for JavaScript

* Added own matrix tests for JavaScript

* Added own matrix tests for JavaScript

* Reverted README.md

* Synced README.md to the new version

* Synced README.md with new version

* Fixed indentations

* Synced README.md with 3.6 version

* Fixed indentations

* Fixed indentations
* Added newline at the end of travis-tests.sh

* Added missing sudo:false in .travis.yml
@laoneo laoneo removed this from the Tasks / workbreakdown milestone Dec 22, 2016
@laoneo
Copy link
Contributor

laoneo commented Dec 28, 2016

Closing this issue as part of a repository cleanup for milestone 1 https://github.com/joomla-projects/media-manager-improvement/wiki. If you still think this issue exists on milestone 1, don't hesitate to reopen it.
Thanks for understanding.

@laoneo laoneo closed this as completed Dec 28, 2016
laoneo pushed a commit that referenced this issue Feb 23, 2017
enqueueMessage class updates
laoneo pushed a commit that referenced this issue Jun 4, 2017
* codestyle

* code style

* codestyle

* codestyle

* codestyle

* thanks @wojsmol

* corrections - thanks @Quy

* corrections - thanks @Quy

* oops

* make @Quy happy

* Update article.xml

* Remove space

* Update config.xml (#14)

* Update filter.xml (#15)

* Update config.xml (#16)

* Update profile.xml (#17)

* Update application.xml (#18)

* Update article.xml (#19)

* Update filter_articles.xml (#20)

* Update config.xml (#24)

* Update config.xml (#23)

* Update filter_fields.xml (#22)

* Update filter_featured.xml (#21)

* Update override.xml (#25)

* Update config.xml

* Update config.xml (#26)

* Update itemadmin_alias.xml (#30)

* Update itemadmin.xml (#29)

* Update item.xml (#27)

* Update item_alias.xml (#28)

* Update itemadmin_url.xml (#31)

* Update module.xml (#32)

* Update plugin.xml (#33)

* Update config.xml (#34)

* Update link.xml (#35)

* Update config.xml (#36)

* Update style.xml (#38)

* Update config.xml (#37)

* Update note.xml (#42)

* Update group.xml (#41)

* Update filter_debuggroup.xml (#40)

* Update config.xml (#39)

* corrections for @andrepereiradasilva

* gotya
laoneo pushed a commit that referenced this issue Jun 29, 2017
…ts (#16743)

* System tests with codeception 2.2

* System tests with codeception 2.2

* System tests with codeception 2.2

* System tests with codeception 2.2

* Instructions for testing

* Instructions for testing

* Remove useless header

* [tests] new convention for locating elements

Adds Gherkin Pages and Step Objects as sample of useage

* Update Codeception to 2.2.1

* Writing new composer.lock file for update

* Adding users.feature scenarios using gherkin

* Adding content.feature scenarios using gherkin

* Adding users.feature file

* Adding scenarios for access level and user group

* Adding Assert module for assertion

* Implementing Pageobject

* Passing $title and $content as a argument

* Implement step and page object in users.feature file

* Add missing pages

* New approach to manage suite configuration

* Fix the issue_#29 and issue_#31

* Fix the issue_#30

* Fix the issue #37

* Remove the commented code

* Every page object have the $url property

* Update Codeception to version 2.2.2

* Create a constant for waiting times

* Adding project information in README.md

* update readme

* Update README.md for TIMEOUT

* Checking if TIMEOUT is not already set

Pull Request for Issue #45 .

Update a constant for waiting times

It contains fix related to #47

* Using contants for timeouts

* Improvement in frontend feature

* improve the scenario

* correct typo and improvement

* Implement user frontend scenarios

* Updated travis to only run system tests and no unit tests

* add how to create snippets

* category Scenario for issue #35

* Fix missing call to Step object

* Move administrator login to the current page object pattern 

* Move administrator login to the current page object pattern
* Remove Given Joomla CMS is installed
* Update composer
* Fix LoginPage
* Fix missing call to step object
* Use genering url name for page variable

* Simplify users manager table xpath

* Fix typo error

* Allow robo to run individual .feature tests (#58)

* Allow robo tu run individual .feature tests

* Improve running individuals tests documentation

* Implement the categories scenario

* slove xpath issue and implement frontend scenario

* Handle waiting for iframe and menu edit view to save menu item

* Updating selenium to 2.53.1

* Updated travis integration for running tests (#60)

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Updated travis integration for running tests

* Working on Travis

* Working on Travis

* Working on Travis

* Working on Travis

* Adding docblocks and code style improvements

* Adding phpdoc header and code style improvement in acceptance tester
* [dockblock] Adding in Admin page object

* [dockblock] Adding dockblock in content manager page object

* [code style] Improve name of variable

* [dockblock] Adding dockblock in control panel page object
* [dockblock] Using AcceptanceTester.Page as a subpackage
* [dockblock] Adding dockblock in login page object
* [dockblock] Adding docblock in user acl page object
* [dockblock] Adding dockblock in user group page object
* [dockblock] Adding dockblock in user manager page object
* [code style] Adding code style improvement in acceptance tester class
* [docblock] Adding docblock in acceptance helper class
* [docblock] Adding docblock in functional and unit testing class
* [docblock] Adding docblocks and code style improvements in site page objects
* [code style] Adding docblock and code style improvements
* [code style] Adding code style improvement in acceptance tester
* [docblock] Adding docblock in content step object
* [docblock] Adding docblock and code style improvement in category step object
* Adding category feature execution using Robo
* [docblock] Adding docblock and code style improvement for category and menu page objects
* Rearrange tab based on latest joomla
* [docblock] Adding docblock and code style improvement in login and user step objects
* [docblock] Adding docblock and code style improvement in login and user step objects
* [docblock] Adding docblock and code style improvement in user frontend step objects
* Remove extra blank lines
* Remove comments from robo

* Using __DEPLOY_VERSION__ instead of static 3.7

* Forcing 127.0.0.1 for /etc/hosts in travis

* [code optimize] code optimization and remove duplicate codes (#65)

* [code optimize] Combine save method for category and content

* Using page object dynamically

* Revert "[code optimize] Combine save method for category and content"

This reverts commit 82682c5d57a14707c191736a57f22011c2fd54be.

* Usign dynamic wait for test string

* [duplicate] Handle duplicate code for user form

* Using common annotation for create new user

* [duplicate] Using common annotation for login in frontend scenarios

* [duplicate] Using page object method to have user with username

* [duplicate] Using page object method to have category with given title

* [duplicate] Using page object method to have article with given title

* [optimize] Reusing code by using oop concept

* Resolve error in creating instance

* Reuse fill article form code

* Create Admin step

* Using common method to search and select

* Using common method for see system message

* Using common method for search

* Remove duplicate code

* Remove duplicate code for delete and empty

* Using property from parent class

* Using Admin step as a parent class

* Cleanup acceptance tester

* Using generic page object properties

* Updating travis and Robo to the final structure

* Updating and moving codeception-build script

* Updating and moving codeception-build script

* Updating and moving codeception-build script

* Updating and moving codeception-build script

* Updating and moving codeception-build script

* Updating and moving codeception-build script

* Updating and moving codeception-build script

* change the tests with generic name (#68)

* change the tests with generic name

* Rename test user1 to User One

* Rename the email and login name

* Remove acceptance.suite.yml file from git list (#70)

* Remove acceptance.suite.yml file from git list

* Remove unnecessory _generated folder

* Fix issue #57 Update frontend_user tests  (#61)

* Fix issue_#57 Update frontend_user tests as per commented in PR #51

* [codestyle] Adding docblock and code style improvement in Robo and user frontend

* Verify in backend that user is created

* Fix scenario in user_frontend.feature to proper English

* Using alternative of system message container for assurance (#72)

* Using alternative of system message container for assurance in article feature

* Improve code and convert into page object

* Convert system message checks in category feature

* Convert system message container in user feature

* Repair user scenarios

* CodeStyle for the Tests (#74)

* codestyle

* Small tweeks to the RoboFile (#75)

* robo

* robo

* Changed all references to /tests as the root directory to /tests/codeception. (#78)

* Update README.md

Changed all references to /tests as the root directory to /tests/codeception.

* Update README.md

Corrected errors in the first PR

* Changed a AND into a WHEN in the file tests/codeception/acceptance/users_frontend.feature

* Update README.md (#84)

* Update README.md

Corrected two typos and inserted a warning for Firefox version above 47

* Update README.md

Corrected version numbers. 
In composer.json i found Selenium WebDriver 2.53.1
Before the current firefox version 49 there was version 45. 
With version 45.0.2 I have no problems. With version 49.0.1 I had problems.

* Update README.md

Corrections

* correction language category feature - UK to en-GB (#85)

* Update to latest selenium server standalone version (#87)

* Add a scroll to a element out of fold (#88)

* Updating the Login Step File removing hardcoded username

* Updating the feature files background step

* Updating the background step

* This should take care of the failure

* Updating the Login Step

* Trying to add a wait

* Opening the Account Details Tab

* Updating Manager Page

* Adding an Extension Manager Class

* Adding reference

* Adding Extension Step File

* Adding Extension Feature file

* Fixing another failure

* Work out of the box on Windows... (#90)

* Adding execution in Travis

* This update was a must

* Updating Robo File

* Updating Robo

* Adidng Banner Step

* Adding Feature

* Adding both the Tests

* Removing Accept Popup, not sure why this stuff is needed

* back to pavilion

* Codestyle (#95)

* Updating branch

* I have to remove it now

* Removing uninstall Extension

* Tests now run in chrome, firefox, edge and IE (#96)

* Now works on chrome, firefox, edge and IE

* update branch

* update branch

* fix mac detection and codestyle

* updating dependencies

* Update composer lock (#100)

* Remove curl check (#101)

We don't need it.

* Better wrapper method to display search tools (#102)

* Feature/add database module (#99)

* Add Database module

# Conflicts:
#	tests/codeception/acceptance.suite.dist.yml

* Add documentation

* Remove dump configuration

* Update db configuration

* Create the test database before the tests

* Revert old dependencies composer.lock (#104)

* Fix typo (#109)

* Fix typo

* Code style

* Add new line before try catch

* Add a Joomla Database Helper (#108)

* Add JoomlaDb Helper

* Fix configuration

* Update to latest joomlabrowser

* Move AcceptanceHelper to the  codeception default location for helpers (#111)

* Use default path for the AcceptanceHelper

* Use codeception defaults for helper files

* Order enabled modules alphabetical

* Remove old tests (#115)

* Remove the UserLoginCest

The UserLoginCest does not define any scenarios and is not used anywhere.

* Remove UserCest

It is not used anymore

* Composer update (#118)

Update selenium-server-standalone to version 3.0.1.2 for working on linux with chrome

* update version number in composer.json for JoomlaBrowser (#121)

* update version number in composer.json for JoomlaBrowser

* composer.lock

* Fix in the RoboFile in the env parameter

* Update composer

* Update to latest selenium server version in composer.json

Updating dependencies in composer file

* Working on clean test branch

* Working on sample tests

* bit cs

* bit cs

* Removed old steps

* revert readme (#132)

* revert readme

* readme

* Further cleanup

* Cleanup

* Cleanup

* Thank you @brianteeman

* Thank you @brianteeman
laoneo pushed a commit that referenced this issue May 18, 2018
laoneo pushed a commit that referenced this issue Jul 16, 2018
laoneo pushed a commit that referenced this issue Oct 15, 2018
* Load correct core files of override files (#2)

Start implements loadcorefile() in administrator/components/com_templates/Model/TemplateModel.php

* CS (#3) Coding Standards

* codingstandards

* codingstandards (#4)

* Test (#6)

Phase 2 (2 part) Mechanism to find correct core file and implementation.

* Remove Notice: Only available for html-folder

* Remove Warning if core file not found (#11)

Thanks.
So one part of the issue joomla-projects/gsoc18_override_management#12 is done.

* Implement the diff view in template manager 

Implement the diff view in template manager

* coding standard (#17)

* fix diff (#18) Fix bug in path in case of administrator template override.

Fix bug in path in case of administrator template override.

* Notification after update and TEST (#16)

Find changed files of overridden files and show message.

* coding standard (#21)

* correction

* correction (#26)

* Correcthtmlpath (#27)

* correction

* change oldhtml to newhtml

* List of updated override files. (#30)

* addcss (#34)

* Final Product  (#39)

Core and Diff view
Updated override history list.
Quick icon notification plugin.
Override control plugin.

* save 3 lines :)

* New feature show status. (#47)

show status in com_template view templates

* link

* corrected namespace

* Button to Switch (#35)

* wip add Switcher

* wip style switcher

* wip style switch make inline and change on off text

* wip start with js

* wip js

* wip delete buttons and make js more robust

* wip save to storage

* wip delete old code

* wip

* wip lint

* wip css

* set default value for switcher

* wip make switcher blue

* wip

* wip

* build

* correct names

* create new functions

* fist test code

* use onchange

* undo installer.min.js

* add forgotten new line at the end of css file

* correct align

* correct compare.es6 - only deleted the toggle part

* correct compare.js - only deleted the toggle part

* wip

* reduce timeout

* wrap in funcitons

* wip

* add use strict to both js-files(compare and toggle)

* add the timeout value of 500 again, because 200 are not enought in my case

* use css class 'active' for toggle views

* add strict

* time out for editor

* wip

* improvments use newActive and switch

* correction

* width of switcher-spans

* correct align

* do not use global

* wip

* removed timeouts

* JTEXT to TEXT

* forgotton last line

* deleted duplicated comments

* css fix align

* use unnamed functions in es6

* Sql files for fix database (#50)

* sql files for database fix

* delete space

* Suggestion for displaying Dates in view updates files (#52)

Correct Dates and do not use date of file any more

* Store Date as UTC and show it in server time zone (#57)

* modified and created date are created and stored in UTC

* convert dates for displaying in model

* spar a loop

* normalize timezone in view

* use language constants for dateformat

* JToolbarHelper to ToolbarHelper

* CS

* namespace

* plural

* name

* clean

* text

* fx

* sin

* files

* s

* Suggestion for language strings (#60)

* language strings

* correct typo

* delete media folder plg_quickicon

* add folder plg_quickicon to build/media_src

* delete files in media folder

* Move media folder - System (#66)

* multi

* cs

* delete files in media folder for joomla toolbar (#67)

* Fix button switchers style. (#70)

* button

* CS

* changed uitab.addTab for updated files

* Bring back core.js changes. (#69)

* core.js

* const

* fix

* form

* core

* hound

* CS

* scopr

* grid

* alpha

* cs

* lang

* only override file

* lang

* override lang installer

* Cs

* sub

* Update list of core extensions (#71)

* Language changes (#76)

* update

* Update en-GB.com_templates.ini

* override JLIB_HTML_PUBLISH_ITEM

this is the hover text on the publish icon in the list of files

* Change icon (#74)

change the icon to use an outline for more consistency

* lang

* not core (#75)

* not core

* Update en-GB.plg_installer_override.ini

* namespace

* cs

* Updated files (#82)

* Update default_updated_files.php

* Update en-GB.com_templates.ini

* Update en-GB.com_templates.ini (#81)

* Update en-GB.plg_quickicon_overridecheck.ini (#80)

* Update en-GB.plg_quickicon_overridecheck.ini (#79)

* remove space (#78)

* Update en-GB.plg_quickicon_overridecheck.ini

* Update en-GB.plg_quickicon_overridecheck.sys.ini

* remove hardcoded id

* null get function

* state

* clean

* More changes "core" to "original" (#85)

* cs

* update

* plural
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants