2
0
Fork 0
mirror of https://github.com/discourse/wp-discourse.git synced 2025-10-04 09:01:05 +08:00
Commit graph

2160 commits

Author SHA1 Message Date
dependabot[bot]
02ebbb29ac
Bump json5 from 1.0.1 to 1.0.2 in /blocks/comments (#476)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 17:01:59 +01:00
Jarek Radosz
11606396ac
DEV: Update CI workflows (#475)
1. Updated actions
2. Updated node to the latest LTS
3. Ran a yaml linter
4. Enabled npm caching
5. Disabled metadata checks for PRs that only update `.github` directory, or package.json/package-lock.json files
2023-01-09 16:59:38 +01:00
Angus McLeod
cb6e3343bd
Two Four Eight (#472)
* Only update metafile when needed and always add date to filename

* Add setting to disable logs entirely

* Bump version and add release notes

* Update unit-test.php
2022-12-31 20:57:16 -08:00
Angus McLeod
cb91768161
Two Four Seven (#469)
* Add comment block

* Various bugfixes

* Bump versions

* Fix unit tests

* phpcs fixes

* Escape html output

* Update .jshintignore

* Update WP PHPCS usage && fix warning in log_viewer

* Update contact section of readme

We'll be closing issues on the github repo and directing all contact to https://meta.discourse.org/c/support/wordpress
2022-12-23 11:28:43 -08:00
dependabot[bot]
94298c790f
Bump qs from 6.5.2 to 6.5.3 in /admin/discourse-sidebar (#471)
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-11 17:08:51 +01:00
dependabot[bot]
7a6e4adfe1
Bump decode-uri-component in /admin/discourse-sidebar (#468)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 12:27:41 +01:00
dependabot[bot]
3f5193d901
Bump minimatch from 3.0.4 to 3.0.8 in /admin/discourse-sidebar (#465)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.0.8.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.0.8)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-16 11:34:05 +01:00
dependabot[bot]
4a3e806046
Bump loader-utils from 1.4.0 to 1.4.2 in /admin/discourse-sidebar (#464)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-16 11:30:46 +01:00
Angus McLeod
c49b5098ce
Two four six (#459)
* IMPROVE: improvements to utility function get_discourse_comments

Allows for get_discourse_comments to:
- Operate without comments being enabled
- Trigger a sync
- Bypass the comment cache
- Determine the comment type

* IMPROVE: add wpdc_after_webhook_post_update action to topic webhook

Adds the action wpdc_after_webhook_post_update which fires after the topic sync webhook has finished updating the topic metadata. Receives any updated wordpress post ids as an argument.

* Apply phpcs to lib/utilities

* Update version and release notes

* Update composer
2022-09-21 11:46:17 -07:00
dependabot[bot]
c06c516567
Bump terser from 4.8.0 to 4.8.1 in /admin/discourse-sidebar (#452) 2022-07-22 16:38:45 +02:00
Angus McLeod
b4a5539706
two four five (#451)
* FIX: when WP is the connect client and sync logout is enabled the response needs to be raw

https://meta.discourse.org/t/wpdiscourse-logout-not-working/232011

* IMPROVE: add the WP post_id to the wpdc_publish_body filter

https://meta.discourse.org/t/how-to-tag-posts-that-are-published-from-wordpress-to-discourse/99927

* Fix metadata and linting
2022-07-06 10:21:44 -07:00
Angus McLeod
27842753cd
Add wp_discourse_after_publish action (#450) 2022-07-04 09:49:19 -07:00
Angus McLeod
b19c82a7a9
Two Four Three (#431)
* Use scopes in connection status test

* Apply linting

* Add scopes root

* Fix unit tests

* Apply phpcs to test-discourse-connection

* Apply better spacing to test file

* Copy and version fixes

* Test and copy updates

* Update Logo (Wordpress 6.0 Support)

See further https://core.trac.wordpress.org/ticket/55539

* Add wpdc_publish_body filter

Filter to modify body sent when creating or updating posts

* Sidebar linting

* Make phpcs happy

* Update release notes
2022-05-24 09:27:51 -07:00
Angus McLeod
7e86834666
Fixes for comment formatter log issue (#449)
* Comment out comment_formatter log

* Format comment

* Update version

* Comment out relevant test

* Try removing PHPEnv

* Update formatting.yml

* Update formatting.yml

* Apply changes to other actions

* Add release note about github action changes

* Update to fix note

* Return without running formatter if comments are disabled

* Fix test linting

* Update test-discourse-comment.php
2022-05-11 11:29:59 -07:00
dependabot[bot]
8f763abf5a
Bump async from 2.6.3 to 2.6.4 in /admin/discourse-sidebar (#448)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 01:38:17 +02:00
dependabot[bot]
7abcf5d575
Bump ansi-regex from 4.1.0 to 4.1.1 in /admin/discourse-sidebar (#444)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 11:59:06 +02:00
dependabot[bot]
ca7a4c9744
Bump trim-newlines from 3.0.0 to 3.0.1 in /admin/discourse-sidebar (#412)
Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sindresorhus/trim-newlines/releases)
- [Commits](https://github.com/sindresorhus/trim-newlines/commits)

---
updated-dependencies:
- dependency-name: trim-newlines
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 11:56:48 +02:00
dependabot[bot]
08f01516f6
Bump tmpl from 1.0.4 to 1.0.5 in /admin/discourse-sidebar (#423)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 11:56:13 +02:00
dependabot[bot]
1054484456
Bump minimist from 1.2.5 to 1.2.6 in /admin/discourse-sidebar (#443)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 11:55:53 +02:00
dependabot[bot]
84b2d8626f
Bump ws from 7.4.4 to 7.5.7 in /admin/discourse-sidebar (#442)
Bumps [ws](https://github.com/websockets/ws) from 7.4.4 to 7.5.7.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.4...7.5.7)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-05 18:51:20 +01:00
dependabot[bot]
e873dd788a
Bump browserslist from 4.16.3 to 4.19.3 in /admin/discourse-sidebar (#441)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.19.3.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.19.3)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-05 18:51:07 +01:00
dependabot[bot]
7c1a25cf78
Bump tar from 6.1.0 to 6.1.11 in /admin/discourse-sidebar (#427)
Bumps [tar](https://github.com/npm/node-tar) from 6.1.0 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.1.0...v6.1.11)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-05 18:42:53 +01:00
dependabot[bot]
22cdba77d8
Bump postcss from 7.0.35 to 7.0.39 in /admin/discourse-sidebar (#428)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.39.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/7.0.39/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.39)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-05 18:42:30 +01:00
Angus McLeod
79e5953e67
Copy updates and discourse-publish bugfix (#440)
* post_update bugfix (after moving to discourse_request)

* Update api key copy

* Bump version
2022-02-28 11:22:26 -08:00
Angus McLeod
e69b1798dc
Two four zero (#439)
* Reinstate api-username for publication user

- Reinstate api-username in the publication header as the default method of user selection
- Keep change_owner approach wrapped in a setting
- Add tests for both

* Apply phpcs to tests

* Bump version

* Fix phpcs issues
2022-02-24 10:49:15 -08:00
dependabot[bot]
75e32d45b0
Bump node-fetch from 2.6.1 to 2.6.7 in /admin/discourse-sidebar (#438)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-22 19:50:26 +01:00
Angus McLeod
90db807e1c
Improve Discourse Username support && request and test updates (#437)
* Add proper support for Discourse Username

* Update tests config

* Update version

* Bump version
2022-02-22 10:38:46 -08:00
Angus McLeod
0269054ee6
Wordpress 5.9 support, request standardisation and unit test improvements. (#436)
* Request consolidation && Version increment

- Confirm Wordpress 5.9 support.
- Complete wp_remote_request standardisation.
- Add discourse_request tests.

* Move to JSON posting and tag support

* Readme updates

* Update readme.txt
2022-02-10 13:33:21 -08:00
Angus McLeod
5dc4ac0871
Update workflows and documentation (#430)
* Reformat workflows, add metadata workflow and add contributing doc

* Update workflow names

* Update metadata.yml

* Update metadata.yml

* Fix script syntax

* Add package.json for tests

* Move setup node up

* Remove npm caching

* Rearrange metadata run order

* Fix metadata script comparisons

* Increment versions and add release note
2021-12-07 13:53:22 -08:00
Natalie Tay
2d8e88f957
FIX: Use correct verb for sync_sso request (#429)
* Use correct verb for sync_sso request

* Fix formatting issue for the PHP codesniffer

* Bump version to 2.3.6

Co-authored-by: scossar <scossar3@gmail.com>
2021-12-06 17:37:56 -08:00
Angus McLeod
866038dc6c
Complete tests and logs (#426)
* WIP: various tests and logs

* Complete tests and logs for primary classes

* Minor fix

* WIP: various tests and logs

* Complete tests and logs for primary classes

* Minor fix

* Remove incorrectly merged code

* PHPCS fixes

* Add phpunit polifils as a dev dependency

* Bump phpunit polyfills version

* Minor test and dependency fixes

* Update ci.yml

* Complete multisite tests and integrate in CI

* Change coverage focus to entire lib folder

* Update TESTS.md

* Add logging to connection status

* Update verbose log settings

* Make verbose logging network settings in multisite

* Add utilities tests

* PHPCS fix

* Update version and add release notes

* Update settings-validator.php
2021-12-01 12:36:18 -08:00
Angus McLeod
012596620e
DEV: data-* attributes are now allowed by default (#425)
* DEV: data-* attributes are now allowed by default

See https://core.trac.wordpress.org/changeset/43981. Note that this old usage causes issues with data attributes used by other plugins.

* Bump version and add release notes
2021-11-09 19:01:22 -08:00
Angus McLeod
bb7354bacf
Update api key copy (#424)
* Update copy

* Bump version and add release notes
2021-11-09 09:24:55 -08:00
Angus McLeod
420d577aa0
IMPROVE: add translation pipeline for configurable text (#422)
* IMPROVE: add translation pipeline for configurable text

* Update version and release notes

* Update ci.yml
2021-11-05 12:17:25 -07:00
Angus McLeod
d6920fd665
Adopt Discourse approach to tag cleaning (#421)
* Add diacritics to allowed characters in tags

* Adopt the same approach to tag cleaning as used in core

* Bump version
2021-10-06 16:50:45 -07:00
dependabot[bot]
653d83c8fc
Bump path-parse from 1.0.6 to 1.0.7 in /admin/discourse-sidebar (#419)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-13 11:45:22 +02:00
Angus McLeod
92033ea5ba
Apply DiscourseConnect copy changes && new shortcode (#398)
* Apply DiscourseConnect copy changes && new shortcode

See further https://meta.discourse.org/t/sso-to-discourseconnect/183377

* Update usage of "Single Sign On" in readmes

* Apply DiscourseConnect copy changes && new shortcode

See further https://meta.discourse.org/t/sso-to-discourseconnect/183377

* Add logging copy change

* Apply DiscourseConnect copy changes && new shortcode

See further https://meta.discourse.org/t/sso-to-discourseconnect/183377

* Update version and changelog
2021-08-05 12:20:56 -07:00
Angus McLeod
7da0520cac
Fix deploy.yml "Deploy" step uses key (#417) 2021-07-30 11:20:05 -07:00
Angus McLeod
2476753dda
Create deploy.yml based on the 10up example (#416)
See https://github.com/10up/action-wordpress-plugin-deploy#deploy-on-pushing-a-new-tag. @scossar We'll discuss further on meta.discourse.org
2021-07-28 12:47:49 -07:00
Angus McLeod
954e705e10
PERF: use ajax tags autocomplete instead of tag list (#411)
* PERF: use ajax tags autocomplete instead of tag list

* Fix unit tests

* Fix phpcs errors

* Version bump
2021-07-16 11:59:52 -07:00
Angus McLeod
edff9958bf
FEATURE: Add tag publishing feature and move to new hook in instances >= WP 5.6 (#400)
* FIX: move to wp_after_insert_post and restrict to >= WP 5.6

@scossar Details to follow on meta

* Comply with VIP coding standards

* More WP Coding standards fixes

* FIX: move to wp_after_insert_post and restrict to >= WP 5.6

@scossar Details to follow on meta

* Comply with VIP coding standards

* More WP Coding standards fixes

* Add unit tests

* Bump version and add release notes
2021-06-04 12:04:57 -07:00
Angus McLeod
331c94ccea
Compatability and CI Updates (#409)
* Do not use libxml_disable_entity_loader on PHP 8

* Add PHPUnit tests to CI, excluding PHP 8

* Ensure we're installing composer as needed in GH actions

* Only run tests on 7.1

* Remove PHP 8 from CI

* Remove tests from CI for now

* Re-enable tests on 7.1 only

* Start the mysql service

* CI Tweaks

* CI: revert to root pwd

* Create user with native pwd for use in install-wp-tests

* Use PHP 7.4 for tests

* re-add lock file

* Update version and changelog

* Ensure test helpers are required

* Transients must be removed to ensure we get an error response in test
2021-06-02 14:04:36 -07:00
Angus McLeod
4a3d71401d
Handling comment type for post errors (#408)
* Abstract shared test methods

* Handle get_comment_type_for_post error and add comment logging

* Fix phpcs issues

* Bump version

* Add 2.2.6 changelog
2021-05-31 11:28:01 -07:00
Angus McLeod
51816b696d
Manually autoload files (#406)
* Manually autoload files

* Version bump
2021-05-17 21:31:46 -07:00
Angus McLeod
f3f882de77
Update developer docs (#405) 2021-05-17 15:09:24 -07:00
dependabot[bot]
d1886ac8e5
Bump hosted-git-info from 2.8.8 to 2.8.9 in /admin/discourse-sidebar (#403)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 19:41:09 +02:00
Simon Cossar
43bd053450
Bump version to 2.2.4 (#404)
* Add base log classes

* Return maxFiles to normal level

* Use protected class variables for folder names in folder-manager

* Add unit tests for logger classes && various logger improvements

* Add log viewer

* Fix initialization sequence in LogViewer

* Add wp-discourse settings to plugin meta

* Remove metafile comments

* Add partial coverage and annotate LogViewer

* Add code coverage reporting and a tests readme

* Tests readme xdebug section formatting

* Add logging and tests to discourse-publish

This abstracts remote post components to make it possible to add consistent error and log handling. Also adds basic tests coverage for discourse-publish.

* Add successful publication test

* Add working tests for publish_after_create and publish_after_update

* Always remove test files and database upon install

* Cleanup copy and assertions for existing tests

* Final cleanup && verbose setting

* Improve structure of publish test

* Final tests, linting, security and cleanup

* PHP 7.0 Compatibility

* PHP 5.6 Compatibility

* JSHint fixes

* Update file-handler.php

* Update log viewer title

* Use older monolog and update file_handler function signatures

* Add nonce to other view_log action

* Namespace production composer packages and define build process

* Update COMPOSER.md

* Update FORMATTING.md

* Log viewer style, naming and log-refresh improvements

* Filter out all return type declarations during scoping

* JsHint: Don't use default params

* Update COMPOSER.md

* Copy fix

* Update scoper patchers notes

* Address syntax issues

- Remove >php7 syntax from non-required files
- Add phpcs pattern exclusions to phpcs.xml
- update formatting docs

* discourse-publish: address all phpcs notices and add more tests

Note: also added dealerdirect/phpcodesniffer-composer-installer to handle local requiring of codesniffer

* Handle all phpcs warnings in lib/logs

* Add todo: review phpcs exclusions to discourse-publish

* Monolog cleanup

- Remove unused monolog handlers, processors and formatters
- Add vendor_namespaced to excluded phpcs patterns

* Update CI versions to those used in composer

* Switch to using composer directly in CI actions

* Composer is packaged in shivammathur/setup-php

* Setup PHPCS via shivammathur/setup-php

* Incorrect tools key

* Use vendor/bin version of phpcs

* Install composer dependencies via ramsey/composer-install

* Update composer.lock to composer 2 and --ignore-platform-reqs

* Install lowest version of dependencies

* Move dependency-versions key

* Move composer-options key

* Exclude vendor directory from syntax checker

* Add vendor to jshintignore

* Update phpcs.xml to properly exclude js css and config files

* Address phpcs issues in log-viewer

* Fix remaining whitespace issues created in this PR

* Remove out of date sniffs and exclude specific code where necessary

* Final cleanup

* Properly escape html in log viewer

* Remove unnecessary verbiage from documentation

* Bump plugin's version to 2.2.4

Co-authored-by: Angus McLeod <angus@mcleod.org.au>
2021-05-11 15:31:24 -07:00
dependabot[bot]
48901f9bca
Bump ssri from 6.0.1 to 6.0.2 in /admin/discourse-sidebar (#401)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 10:29:58 +02:00
Simon Cossar
241640f98d
Add wpdc_comments_count filter (#396)
* Add wpdc_comments_count filter

* Bump version to 2.2.3
2021-04-05 14:04:01 -07:00
Simon Cossar
c8202350f5
Bump plugin version to 2.2.2 (#394) 2021-03-19 18:52:03 -07:00