Commit graph

14 commits

Author SHA1 Message Date
35745a7623 build: add Rector 2021-05-02 10:15:44 +01:00
6a1117be15
ci: improve release process, clean up and re-org repo, add automated minification (#143)
* ci: update scripts

* release 2.7.1

* remove tracked stylesheets

* docs: revert stable tag to 2.7.0

* chore: move Plugin source into own dir

* docs: delete info texts

These can now be found in the [project wiki][wiki].

[wiki]: https://github.com/markcheret/footnotes/wiki

* docs: tweak contributing guide

* ci: reflect new directory structure

* chore: update gitignore

* chore: reflect new dir structure

* docs: update documentation

* build(linting): add Husky hooks, Markdown linting, lint all MD files

* fix pre-push command

* fix pre-push command

* build: add stylesheet, JS minification

* ci: add linting steps

* ci: comment out CSS linting step (that's going to be a whole *thing*)

* ci: minify all JS files

* ci: call correct JS file

* chore: lint

* ci: fix PHP linting commands

* chore: increment version constant string

* ci: concat AMP stylesheets

* ci: improve build scripts

* chore: add assets dir
2021-04-25 09:28:02 +01:00
dependabot[bot]
e9334cb733
build(deps-dev): bump marcocesarato/php-conventional-changelog
Bumps [marcocesarato/php-conventional-changelog](https://github.com/marcocesarato/php-conventional-changelog) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/marcocesarato/php-conventional-changelog/releases)
- [Changelog](https://github.com/marcocesarato/php-conventional-changelog/blob/main/CHANGELOG.md)
- [Commits](https://github.com/marcocesarato/php-conventional-changelog/compare/v1.10.1...v1.10.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 09:33:05 +00:00
43a5de6cef build: add PHPCompatibility sniffs 2021-04-16 01:23:23 +01:00
6d193af5de build: add NPM commands, docs 2021-04-15 15:03:09 +01:00
21bb9c0ba7 chore: update lockfile 2021-04-14 23:34:20 +01:00
dependabot[bot]
531ed14d0e
Bump marcocesarato/php-conventional-changelog from 1.9.9 to 1.9.10
Bumps [marcocesarato/php-conventional-changelog](https://github.com/marcocesarato/php-conventional-changelog) from 1.9.9 to 1.9.10.
- [Release notes](https://github.com/marcocesarato/php-conventional-changelog/releases)
- [Changelog](https://github.com/marcocesarato/php-conventional-changelog/blob/main/CHANGELOG.md)
- [Commits](https://github.com/marcocesarato/php-conventional-changelog/compare/v1.9.9...v1.9.10)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-14 07:47:32 +00:00
5fa3e1403e
chore: add php-commitizen (#76)
Adds PHP Commitizen for automated commit message formatting.

fix #39
2021-04-12 21:14:13 +01:00
705901d9e0 update composer lockfile 2021-04-10 21:00:39 +01:00
0b74ef0652 Commit composer lockfile 2021-04-10 19:27:53 +01:00
pewgeuges
67993df90f Sync trunk/ with staging branch. **Stable Tag 2.5.10**
branches/staging/ is most up-to-date: 2.5.11d2.
Per WordPress guideline, “trunk/ should contain the latest version of your code, even if that version is a beta.”
See https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/#use-the-trunk-folder-for-code
= Moved files =
Two documentation files are moved from development/ to the root folder:
- customized-template-stack.txt
- customized-documentation-schema.txt
= Deleted files and folders =
Part of the tooling and the duplicate license were mistakenly included and are now removed from distribution:
- development/csscat.sh
- contrib/pre-commit
- composer.json
- composer.lock
- LICENSE
The comments shall be updated accordingly.
development/csscat.sh is now _tools/build-stylesheets.sh, available in Footnotes’ GitHub repo.

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2495062 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-03-13 22:21:26 +00:00
pewgeuges
daf0a8612f WordPress Coding Standards compliance update. Stable Tag 2.5.10. Package version: 2.5.11d0.
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2486043 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-03-03 18:58:03 +00:00
pewgeuges
dfcbdc6adc Undo last two commits affecting trunk/ but not the Stable Tag.
= Stable Tag value =
2.5.10 (unchanged)
= Commits undone =
- 2484038 (2021-03-02 05:29:18 +0000 (Tue, 02 Mar 2021)) committer: pewgeuges
-2484015 (2021-03-02 04:22:20 +0000 (Tue, 02 Mar 2021)) committer: pewgeuges
= Rationale =
By renaming a folder (and 3 out of 4 included files), the WordPress Coding Standards compliance upgrade (see changeset 2484015) has broken the traceability of the changes made to the following files:
- footnotes/trunk/class/dashboard/init.php
- footnotes/trunk/class/dashboard/layout.php
- footnotes/trunk/class/dashboard/subpage-diagnostics.php
- footnotes/trunk/class/dashboard/subpage-main.php

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2485882 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-03-03 15:15:55 +00:00
pewgeuges
c63d3f629f Update to standardised codebase as on GitHub origin/main/, 2.5.8. Stable Tag value set to 2.5.10 since it’s parsed to determine current release.
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2484015 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-03-02 04:22:20 +00:00