Commit graph

85 commits

Author SHA1 Message Date
b824a44541 style: rename production flag variable
Renames the current production flag variable to be shorter,
non-Hungarian (presaging changes to come in #35) and not specifically
CSS_-related.

See #80
2021-04-14 22:47:44 +01:00
e76a4e0bb1 fix: add separate prod/dev cache-busters 2021-04-14 22:39:16 +01:00
35d8b82008
chore: fix character misencodings (#78)
Various characters had been replaced by â€s.

Fix #77
2021-04-14 17:27:15 +01:00
0c75e12a99 fix: fix call to renamed function 2021-04-10 20:35:36 +01:00
5d89b371dc fix: fix errors introduced in merge 2021-04-10 20:26:30 +01:00
0a34e96450
Add release helper script (#64)
This commit adds a release helper script, amongst other workflow improvements.

See `README.md` for instructions, and `_tools/release.sh` for the script itself.

This script:

1. sanity-checks the various version tags;
2. triggers a Plugin build;
3. flags the new version as pre-release;
4. tags the version in Git;
5. creates a local working copy of the SVN repo;
6. copies the new release to the local `trunk/` (whilst keeping the ‘Stable Tag’ field in `readme.txt` pointing to the previous stable version);
7. copies the commit message from the changelog in `readme.txt`; and
8. (if a flag is set) commits the changes to the remote `trunk/`.

Pushing out a new release must still be done manually, once `trunk/` is tested and working. To do so, check out a local copy of `trunk/` and:

1. update the ‘Stable Tag’ field in `trunk/readme.txt` to the new version;
2. update the ‘Version’ field in the comment header of `trunk/footnotes.php` to the new version;
3. remove the ‘p’ from the end of the ‘version’ tag in the `getInfo()` function at the bottom of `js/wsiwyg-editor.js`; 
4. copy a new tag for the release from `trunk/` (`svn cp trunk tags/<version number>`); and
5. commit your changes (`svn ci -m "Release version <version number>"`).

The WP Plugin Directory will automatically parse the ‘Stable Tag’ field in `trunk/readme.txt`, and inform users that a new version is available.

At various stages user input is required to validate information. This is not ready for automation with GitHub Actions, but is a useful step on the way — see [this piece](https://blog.danslimmon.com/2019/07/15/do-nothing-scripting-the-key-to-gradual-automation/) for more info.

Unless a `-c` flag is passed (e.g., by running `composer run release:commit`) no changes will take place on the remote SVN repo. If you want to test this out on a branch other than `main`, uncomment lines 31 & 52 of the script.

Version checking enforces the versioning rules stated [here](https://github.com/markcheret/footnotes/wiki/Versioning).

**NB: I have not tested the `-c` mode yet, as I wanted people will more familiarity with the SVN to have a look at it before I risked making any changes and blowing everything up.**

Co-authored-by: pewgeuges <73141620+pewgeuges@users.noreply.github.com>
2021-03-17 17:46:21 +00:00
Mark Cheret
0a83796cdc
Update author URIs (#63)
* Update author URIs from `cheret.de` to `cheret.org`.

* Update missed version number in `wysiwyg.js` from 2.1.6 to 2.5.10.

Co-authored-by: pewgeuges <73141620+pewgeuges@users.noreply.github.com>
2021-03-15 07:11:12 +00:00
pewgeuges
46fc9a7c5f Adapt after the 2.5.9d1 accident. 2021-03-05 04:30:50 +01:00
pewgeuges
6b9e602d07
Sync filenames with SVN repo (#57)
Returns to the original file names for the `class/dashboard/` directory (for now at least)
2021-03-04 07:46:19 +00:00
8ff0d9ee86 Rename dashboard/ to layout/. 2021-02-23 16:48:21 +00:00
4736f19b36 Rename dashboard files 2021-02-23 16:45:57 +00:00
9ee72568ef Append line endings 2021-02-23 16:00:59 +00:00
pewgeuges
d0fa3c5f97 development update 2.5.6d3 to prepare the newly promised bugfix release adding a reference container template not using jQuery, plain JS instead.
The following is the changelog as drafted for this release: 
= 2.5.6 =
- Bugfix: Reference container: optional alternative expanding and collapsing without jQuery for use with hard links, thanks to @hopper87it issue report.
- Update: Documentation: slightly revise / update the plugin’s welcome page on WordPress.org.

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2477926 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-19 20:04:11 +00:00
pewgeuges
67c1f443ad development update 2.5.6d2 to prepare the newly promised bugfix release adding a reference container template not using jQuery, plain JS instead.\nThe following is the changelog as drafted for this release: \n= 2.5.6 =\n- Bugfix: Reference container: optional alternative expanding and collapsing without jQuery for use with hard links, thanks to @hopper87it issue report.\n- Update: Documentation: slightly revise / update the plugin’s welcome page on WordPress.org.
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2477898 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-19 19:42:45 +00:00
pewgeuges
7f5499723b traceability update 2.5.6d1 revert space indent to tab.
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2477300 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-18 19:56:44 +00:00
pewgeuges
f8a87d5928 dev version implementing @lolzim’s bugfix 2.5.5d2
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2476267 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-17 10:58:28 +00:00
pewgeuges
d9e23677b0 traceability update 2.5.5d1
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2476187 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-17 09:33:04 +00:00
pewgeuges
3a341d36b2 development update 2.5.5d0 to be shared on the forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2475227 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-16 02:23:40 +00:00
pewgeuges
eaaad12e9b prepare urgent bugfix release 2.5.4 - this: 2.5.4d7
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2473867 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-12 16:22:45 +00:00
pewgeuges
b009311766 prepare urgent bugfix release 2.5.4 - this: 2.5.4d6
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2473635 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-12 10:18:31 +00:00
pewgeuges
b9476b682e traceability update 2.5.4d5
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2472973 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-02-11 10:34:35 +00:00
pewgeuges
12a53754ab update for urgent bugfix upcoming 2.5.3
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2461253 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-23 00:25:35 +00:00
pewgeuges
f83fb80ab0 corrections for urgent bugfix, this: 2.5.1d1
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2458521 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-18 20:35:16 +00:00
pewgeuges
c3c0515308 update for urgent bugfix, this: 2.5.1d0
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2458511 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-18 20:09:43 +00:00
pewgeuges
354b5439f0 update trunk/ in vue of urgent bugfix plus feature release 2.5.0
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2452163 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-07 21:21:29 +00:00
pewgeuges
82cb6d5268 development 2.4.0d0 needed for support
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2449533 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-03 20:03:51 +00:00
pewgeuges
3096e8f3b4 development 2.3.1d1 for forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2448961 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-01 21:24:43 +00:00
pewgeuges
919e76bdef development 2.3.1d0 for forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2448740 b8457f37-d9ea-0310-8a92-e5e31aec5664
2021-01-01 05:52:49 +00:00
pewgeuges
442ae6f88f development preview 2.3.0
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2448470 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-31 11:45:10 +00:00
pewgeuges
1cb44eccd5 urgent bugfix release 2.2.10 in response to forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2446030 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-25 23:00:23 +00:00
pewgeuges
ba10a9b137 preview 2.2.9d2
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2445928 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-25 15:14:43 +00:00
pewgeuges
f3b2f0e864 urgent bugfix release 2.2.6 in response to bug report on forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2444735 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-23 03:34:51 +00:00
pewgeuges
c8f0c0e350 development update 2.3.0d0 needed in response to user request on forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2442742 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-19 06:18:56 +00:00
pewgeuges
4ff90450d6 bugfix release 2.2.5
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2442448 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-18 16:31:09 +00:00
pewgeuges
e5831a42b3 release 2.2.4 to replace 2.2.3 ASAP
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2440595 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-16 12:06:11 +00:00
pewgeuges
6c7854352b prerelease 2.2.2 because 2.2.1 is a quick patch and cannot be kept
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2439670 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-15 10:01:17 +00:00
pewgeuges
54051772b1 urgent bugfix release 2.2.1 to protect user data against loss due to moving UI elements under data structure constraints
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2438988 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-14 13:09:59 +00:00
pewgeuges
6bcec3b398 preview 2.2.0 for release ASAP needed in response to user request on Forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2438469 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-13 20:11:25 +00:00
pewgeuges
391cce446a development 2.2.0d8 with update readme “Tested up to: 5.6”. Please test UI redesign prior to adding the missing settings
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2438063 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-12 21:07:24 +00:00
pewgeuges
0911777bc1 development update 2.2.0d6 to check remaining translated strings — internal use only, no other added value compared to current 2.1.6
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2436526 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-10 12:29:50 +00:00
pewgeuges
9511557172 bugfix release 2.1.6 fixing priority conflict, URL wrap bug and tooltip z-index bug, in response to Forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2436137 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-10 04:09:17 +00:00
pewgeuges
aeb18f93a6 development 2.2.0d4 fixing settings bug
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2435723 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-09 16:21:04 +00:00
pewgeuges
8e02b48df3 development 2.2.0d0 for Forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2435618 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-09 15:12:37 +00:00
pewgeuges
9dba60cd48 prerelease 2.1.4: this is 2.1.4 just without the tag 2.1.4; 2.2.0 will need localization, yet that implies a lot of extra changes and work. The overdue bugfixes need to be released today. Scheduled for this evening if no problems.
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2432631 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-06 16:30:14 +00:00
pewgeuges
ec116d10a2 development 2.2.0d2 tooltip durations settings
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2432531 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-06 12:46:45 +00:00
pewgeuges
3e8d312969 development 2.2.0d0 merged with 2.1.4d series. Scroll offset and duration settings
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2432050 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-05 04:48:09 +00:00
pewgeuges
c432dde37b development 2.1.4d10 with 3 new stylesheets to fix layout in page, derived from Hello Elementor under GPLv3. Need to post on forum.
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2431872 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-04 22:51:29 +00:00
pewgeuges
bfd563f907 development 2.1.4d9 needed for Forum, tooltip font size defaulting to legacy, edits to hook priority description
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2431362 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-04 09:31:52 +00:00
pewgeuges
6e0698293c upcoming 2.1.4 was not ready, instead thanks for testing 2.1.4d8, to be shared on Forum too
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2431035 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-03 17:38:14 +00:00
pewgeuges
95ed6631e2 update trunk for upcoming 2.1.4, thanks for testing 2.1.4d7 to be shared on Forum too
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2430720 b8457f37-d9ea-0310-8a92-e5e31aec5664
2020-12-03 07:55:27 +00:00