Commit graph

73 commits

Author SHA1 Message Date
67059b45cd refactor: split stylesheets into admin/public 2021-04-26 22:57:30 +01:00
ca3b283356 refactor: rename files in line with WPCS, split into public/admin/includes (a.k.a. common) 2021-04-26 22:57:04 +01:00
11bb8a8377 chore: add standard WP index files 2021-04-26 22:55:20 +01:00
871d05f929 chore: add placeholder uninstall file 2021-04-26 22:53:51 +01:00
32161f79be chore: all-caps Plugin license and readme 2021-04-26 22:52:58 +01:00
101f6dc673 refactor: remove last remaining MCI references 2021-04-26 17:23:32 +01:00
222dcadbd5 chore: remove WPML config file
See https://github.com/markcheret/footnotes/issues/147#issuecomment-826425665
2021-04-26 17:18:14 +01:00
4af8849eec
ci: improve linting, GitHub Actions workflows (#149)
* release: release 2.7.2

* fix: urgent 2.7.3 release to fix fatal error

* chore: remove un-needed setup script

* ci: remove steps from pre-push command

* chore: remove un-needed PHP-Commitizen config

* chore: put image files in correct folders

* chore: move GitHub image into `.github/` dir

* fix: classic editor button

* fix: call correct jQuery Tools file in dev env

* docs: replace license with Markdown version

* ci: clean up PHP linting commands

If anyone has noticed me playing musical filepaths with these commands
for a while, it's because I kept getting inconsistent results from the
use of double-globs (i.e., `**`). However, I've finally figured out
that this is because Composer is running these scripts in its own shell,
so the double-glob that works when I run the command manually in my
Terminal doesn't work when Composer runs it in its.

* chore: lint PHP files

* build: update JS linting standards

* chore: lint JS file

* build: add node-sass

* build: add additional stylelint rules

* chore: lint stylesheets with new rulesets

* refactor: move ESLint settings to `package.json`

* chore: move Prettier config to `package.json`

It is not yet possible to move `.prettierignore` to `package.json` too,
but this appears to be on the horizon; see [this Issue][prettier-issue].

[prettier-issue]: https://github.com/prettier/prettier/issues/3460

* fix: move WPML config into Plugin folder

* chore: move Stylelint config into `package.json`

* chore: remove unused `.distignore`

It can always be re-added at a later date if it becomes useful.

* chore: format file

* build: add HTML linting

* fix: add image alt tag

* ci: clean up GitHub Actions workflows

* fix: fix workflow

* fix: fix indentation

* ci: add YAML validation

* chore: make valid

* ci: add YAML validation

* chore: lint code

* ci: change dep install back to original

* chore: lint license
2021-04-26 17:17:44 +01:00
c81e923670 fix: clear up merge conflict 2021-04-26 17:16:36 +01:00
c8950e6d1a Squash merge branch linting 2021-04-26 17:15:48 +01:00
0c7c0d155b chore: lint 2021-04-26 11:54:58 +01:00
0d1e0d75bb refactor: clear up Plugin init, add activator/deactivator hooks 2021-04-26 11:46:30 +01:00
12b1eb556e refactor: split img/ into admin and dashboard 2021-04-26 11:45:26 +01:00
39fa6991ae docs: reflect new partials paths 2021-04-26 11:44:59 +01:00
6084a6c4ef chore: add default WordPress index file 2021-04-26 11:43:55 +01:00
f57d1025b9 refactor: split js/ into admin and public 2021-04-26 11:43:34 +01:00
88e3302166 refactor: rename templates/ into partials/, split into admin and public 2021-04-26 11:43:05 +01:00
84c299a368 refactor: rename class/ to includes/ 2021-04-26 11:42:17 +01:00
cd0c6bc295 refactor: use proper dependency tracking
As you can see, there is quite a tangled web of dependency
in this project, which is something to look at later.

Fix #33
2021-04-26 09:39:41 +01:00
42b4fa03d3 refactor: replace define() calls with const declarations 2021-04-26 09:38:15 +01:00
18ce52720b docs: update doccomments 2021-04-26 09:37:19 +01:00
ac819034e5
release: release 2.7.3 (#144)
* release: release 2.7.2

* fix: urgent 2.7.3 release to fix fatal error

* chore: remove un-needed setup script

* ci: remove steps from pre-push command

* chore: remove un-needed PHP-Commitizen config

* chore: put image files in correct folders

* chore: move GitHub image into `.github/` dir
2021-04-25 21:26:41 +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