Commit graph

668 commits

Author SHA1 Message Date
d3283bdb02 chore: lint code 2021-04-27 09:54:07 +01:00
4415c98eaa Resolve merge conflicts with main 2021-04-27 09:48:44 +01:00
4e4f0b0a2e docs: update documentation 2021-04-27 09:41:35 +01:00
850ab084ff refactor: refactor widget registration 2021-04-27 09:31:08 +01:00
51f3f92c26 refactor: remove plugin name constant 2021-04-27 09:30:53 +01:00
6fb2b20424 refactor: move hook registration to Footnotes_Admin 2021-04-27 09:01:00 +01:00
4bcd8991ca refactor: rename version constant 2021-04-27 08:47:50 +01:00
748eda717b docs: update documentation 2021-04-27 08:42:43 +01:00
8044fb8591 chore: lint code 2021-04-27 08:42:21 +01:00
fb63c13125 ci: update linting commands 2021-04-27 08:41:53 +01:00
5de6719b9a refactor: clean up internal dependency management 2021-04-27 08:33:28 +01:00
af14415067 fix: re-add plugin links 2021-04-27 08:32:37 +01:00
100a815cd5 docs: update docblocks 2021-04-27 08:31:37 +01:00
332f4b8284 style: add styling to menu link 2021-04-27 08:29:19 +01:00
c567c9ef44 refactor: rename Footnotes_Task to Footnotes_Parser 2021-04-27 08:27:49 +01:00
aa9a86e193 refactor: move logo styling to includes/ 2021-04-27 08:26:10 +01:00
6d8232b69d docs: update documentation 2021-04-26 23:06:10 +01:00
e379da2687 ci: update docs command 2021-04-26 23:06:05 +01:00
ebf098d45b chore: lint 2021-04-26 23:04:20 +01:00
4267f3fe6c ci: clean up NPM scripts a bit 2021-04-26 23:03:58 +01:00
0e5a6830fe ci: update build process and linter to reflect new layout 2021-04-26 22:57:56 +01:00
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
c18a66ae95 ci: improve build commands 2021-04-26 11:46:42 +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
3e8ae1bbae ci: fix minification commands 2021-04-26 11:44:23 +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
cc2fa0d777 docs: move info to CONTRIBUTING, expand 2021-04-26 08:31:34 +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
e780d817c1
docs: update WP readme (#139)
* docs: split changelog into separate file

See #137

* docs: add information to Plugin header

Fix #138

* docs: update WP readme

* docs: remove FAQs

* docs: remove installation instructions

These were causing the FAQ section to render incorrectly
when viewed in the [preview validator][validator].

Also, the [WP Plugin Handbook][wp-handbook] says that:
> If your plugin has no custom install settings, it's
> okay to omit this section.

[validator]: https://wpreadme.com/
[wp-handbook]: https://developer.wordpress.org/plugins/wordpress-org/how-your-readme-txt-works/#installation

* docs: update links, versions, add extra changelog items

* docs: lower version to stable ver
2021-04-23 16:27:39 +01:00
Mark Cheret
e8bd3830dc
Merge pull request #130 from markcheret/security_add_snyk 2021-04-22 21:03:53 +02:00
Mark Cheret
8bab805bab
Merge pull request #131 from markcheret/rename-release-archive
ci: rename folder during release process
2021-04-20 14:44:39 +02:00