Skip to content

Conversation

@ocean90
Copy link
Member

@ocean90 ocean90 commented Apr 9, 2022

Fixes #967.

ocean90 and others added 30 commits April 13, 2020 11:39
* Remove now unused gp_urldecode_deep().
* Improve docs for gp_post() and gp_get().
* Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.OpenBraceNotSameLine

* Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen

* Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon

* Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis

* Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis

* Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis

* Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceBeforeCloseParenthesis

* Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceAfterOpenParenthesis

Co-authored-by: Dominik Schilling <dominikschilling+git@gmail.com>
* Fix WPCS: WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore

* Fix WPCS: WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter

* Fix WPCS: WordPress.WhiteSpace.OperatorSpacing.SpacingAfter
* Update wp-dev-lib to latest version

* Add composer.lock

* Add missing mysql service

* Enable fast_finish for jobs

* Add quotes to path

* Fix misplaced parenthesis

* Don't remove xdebug for codecoverage job

* Define OS for Travis

* Run codecoverage with a more recent PHP version

* Remove obsolete PHP version check, minimum is 5.6
* Fix WPCS: WordPress.Arrays.CommaAfterArrayItem.CommaAfterLast

* Fix WPCS: WordPress.Arrays.CommaAfterArrayItem.NoComma

* Fix WPCS: WordPress.Arrays.ArrayDeclarationSpacing.SpaceInEmptyArray

* Fix WPCS: WordPress.Arrays.ArrayDeclarationSpacing.NoSpaceAfterArrayOpener

* Fix WPCS: WordPress.Arrays.ArrayDeclarationSpacing.NoSpaceBeforeArrayCloser

* Fix WPCS: WordPress.Arrays.ArrayDeclarationSpacing.ArrayItemNoNewLine

* Fix WPCS: WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys

* Fix WPCS: WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys

* Fix WPCS: WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned

* Fix WPCS: WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound

* Fix WPCS: WordPress.Arrays.ArrayDeclarationSpacing.CloseBraceNewLine

* Fix WPCS: WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned

* Fix WPCS: WordPress.Arrays.CommaAfterArrayItem.NoComma

Co-authored-by: Dominik Schilling <dominikschilling+git@gmail.com>
* Fix WPCS: Generic.Formatting.DisallowMultipleStatements.SameLine

* Fix WPCS: Generic.Formatting.SpaceAfterCast.NoSpace
* Use proper encoding/decoding in GP_Project::by_path()
* Add tests
* Use urldecode() for slug input
* Revert "Merge pull request #975 from GlotPress/209-note-final"

This reverts commit 537c44d, reversing
changes made to aaa4306.

* Revert "Notes: fix missing urls preventing notes actions from happening (#1009)"

This reverts commit a08b786.
* Fix WPCS: Generic.Arrays.DisallowShortArraySyntax.Found

* Fix WPCS: Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed

* Fix WPCS: Generic.Commenting.DocComment.SpacingAfter

* Fix WPCS: Generic.Commenting.DocComment.SpacingBeforeTags

* Fix WPCS: Generic.ControlStructures.InlineControlStructure.NotAllowed

* Fix WPCS: Generic.Formatting.MultipleStatementAlignment.IncorrectWarning

* Fix WPCS: Generic.Formatting.MultipleStatementAlignment.NotSameWarning

* Fix WPCS: Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma

* Fix WPCS: Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma

* Fix WPCS: Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma

* Fix WPCS: Generic.PHP.ForbiddenFunctions.FoundWithAlternative

* Fix WPCS: Generic.PHP.LowerCaseConstant.Found

* Fix WPCS: Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed

* Fix some introduced WPCS issues related to `Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace`

* Fix WPCS: Generic.Formatting.MultipleStatementAlignment

* Fix WPCS: Remove extra precision alignment space.

* Fix WPCS: Generic.Formatting.MultipleStatementAlignment

* Fix WPCS: Generic.WhiteSpace.ScopeIndent

* Fix WPCS: Generic.ControlStructures.InlineControlStructure.NotAllowed

* Apply suggestions from code review

Co-authored-by: Dominik Schilling <dominikschilling+git@gmail.com>
Also add a specific job that only runs the lint checks.
* Fix WPCS: PSR2.Methods.MethodDeclaration.StaticBeforeVisibility

* Fix WPCS: PSR2.Methods.MethodDeclaration.AbstractAfterVisibility

* Fix WPCS: PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonCASE

* Fix WPCS: PSR2.ControlStructures.ElseIfDeclaration.NotAllowed

* Fix WPCS: PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket

* Fix WPCS: PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket

* Fix WPCS: PEAR.Functions.FunctionCallSignature.Space(*) before and after brackets

* Fix WPCS: PSR2.Methods.MethodDeclaration.StaticBeforeVisibility

* Fix WPCS: PEAR.Functions.FunctionCallSignature.MultipleArguments

* Fix WPCS: PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket

* Fix WPCS: PEAR.Files.IncludingFile.UseRequireOnce

* Fix WPCS: PEAR.Files.IncludingFile.BracketsNotRequired

* Fix WPCS: PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket

* Fix WPCS: PEAR.Functions.FunctionCallSignature.MultipleArguments
* Fix WPCS: Squiz.PHP.EmbeddedPhp.SpacingAfterOpen

* Fix WPCS: Squiz.PHP.EmbeddedPhp.ContentAfterOpen

* Fix WPCS: Squiz.PHP.EmbeddedPhp... before end, after begining and indentation

* Fix WPCS: Squiz.PHP.EmbeddedPhp.ContentBeforeEnd

* Fix WPCS: Squiz.PHP.EmbeddedPhp.NoSemicolon

* Fix WPCS: Squiz.PHP.EmbeddedPhp.SpacingBeforeClose

* Fix WPCS: Squiz.PHP.EmbeddedPhp.ContentBeforeOpen

* Fix WPCS: Squiz.PHP.EmbeddedPhp.ContentBeforeEnd

* Fix WPCS: Squiz.WhiteSpace.SemicolonSpacing.Incorrect

* Fix WPCS: Squiz.Commenting.BlockComment.NoNewLine

* Fix WPCS: Squiz.Commenting.FunctionComment.SpacingAfterParamType

* Fix WPCS: Squiz.Commenting.InlineComment.NoSpaceBefore

* Fix WPCS: Squiz.Strings.DoubleQuoteUsage.NotRequired

* Fix WPCS: Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBracket

* Fix WPCS: Squiz.Strings.ConcatenationSpacing

* Fix WPCS: Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceAfterEquals

* Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon

* Fix WPCS: WordPress.Classes.ClassInstantiation.MissingParenthesis

* Fix WPCS: WordPress.Arrays.MultipleStatementAlignment.LongIndexSpaceBeforeDoubleArrow

* Fix WPCS: WordPress.WhiteSpace.PrecisionAlignment.Found

* Fix WPCS: Generic.Formatting.MultipleStatementAlignment.NotSameWarning

* Increase maxColumn of multistatement arrays alignment to 80
dependabot bot and others added 27 commits March 24, 2022 21:08
Bumps [@wordpress/scripts](https://github.com/WordPress/gutenberg/tree/HEAD/packages/scripts) from 22.2.1 to 22.3.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/scripts/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/scripts@22.3.0/packages/scripts)

---
updated-dependencies:
- dependency-name: "@wordpress/scripts"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The use of the environment config already creates a deployment task.
…th hyphens (#1359)

* Add missing punctuation

* Don't add similar terms to multiple word terms

* Add 'ed', 'ion', and 'ing' to suffix list for glossary term ending with 'e'

* Search terms with multiple words first and with single words last

* Split translation by glossary terms search

* Supports terms with words with hyphens

* Fix comment

* also preg_quote multiple word terms

* Search by word count, allowing multiple words and hyphened words first

* Strict check

* Use preg_quote() a single time immediatly before the search

* Revert adding 'ed', 'ion', and 'ing' to suffix list for glossary term ending with 'e'

* Add test cases

* Don't use accents

* Add empty comments to test cases

* Remove comments from glossary entries in test cases

* Rename test case method name
Bumps [grunt-contrib-uglify](https://github.com/gruntjs/grunt-contrib-uglify) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/gruntjs/grunt-contrib-uglify/releases)
- [Changelog](https://github.com/gruntjs/grunt-contrib-uglify/blob/main/CHANGELOG)
- [Commits](gruntjs/grunt-contrib-uglify@v5.0.1...v5.1.0)

---
updated-dependencies:
- dependency-name: grunt-contrib-uglify
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Move the current check into two validation methods to get more helpful error messages:

* The field term is invalid and should be starting and ending with a word character!
* The field term is invalid and should be consisting only of ASCII characters!

Previous message: "Glossary terms cannot contain word break or multi-byte characters!"
Also sync headers to the main plugin file header.
…tips (#1395)

* Performance improved implementation

* typo

* Update gp-templates/helper-functions.php

Co-authored-by: Dominik Schilling <dominikschilling+git@gmail.com>

* Implement review feedback

Co-authored-by: Dominik Schilling <dominikschilling+git@gmail.com>
@ocean90 ocean90 added this to the 3.0 milestone Apr 9, 2022
@ocean90 ocean90 merged commit 36a70b4 into stable Apr 9, 2022
@lkraav
Copy link

lkraav commented Apr 9, 2022

Rock on @ocean90

I'll defo buy you dinner if you're in Tallinn ever again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.