Commit graph

687 commits

Author SHA1 Message Date
Mark Cheret
dc1ec81ad9
Update task.php 2021-04-18 00:19:23 +02:00
Mark Cheret
3d85de134e
Update task.php
attribution
2021-04-17 23:32:43 +02:00
Mark Cheret
242795a2b6
Update task.php 2021-04-17 23:28:05 +02:00
Laurent Zimmerli
36e92bac3d Fix paragraph split, thanks to @pewgeuges 2021-04-17 22:45:50 +02:00
c0672461b0 build: increase commitizen lengths 2021-04-17 00:00:21 +01:00
1284544556 refactor: remove Hungarian notation and MCI prefixes
I had to use some RegEx-fu for this. Specifically:

```bash
find ./{footnotes.php,includes.php,class/} -type f -name "*.php" -exec sed -i 's/\(p\|l\|a\)_\(str\|bool\|int\|obj\|flo\|arr\)_//g' {} \;
find ./{footnotes.php,includes.php,class/} -type f -name "*.php" -exec sed -i 's/MCI_Footnotes/Footnotes/g' {} \;
find ./{footnotes.php,includes.php,class/} -type f -name "*.php" -exec sed -i 's/C_\(INT\|STR\|FLO\)_//g' {} \;
```

This should have covered all the bases.

In my testing I encountered one error caused by these changes.
In the `add_select_box` function in `/class/dashboard/layout.php`,
there was a function parameter called `$p_arr_options` and a variable
called `$l_str_options`. Removing the Hungarian notation caused an
error as these two variables were both now called `$options`.

This has been fixed, and I like to think that that will have been
the only naming conflict, but I think it is more likely that there
maybe others. Further testing is required before I am happy calling
this release-ready.

Close #34, progress #36
2021-04-16 23:55:05 +01:00
df7160fad8 build: tweak commands 2021-04-16 23:49:32 +01:00
3af81c01b9 refactor: rename Hooks, update docblocks 2021-04-16 23:17:07 +01:00
Mark Cheret
e06535852b
Merge pull request #106 from markcheret/relocate-plugin
refactor: relocate Plugin settings
2021-04-16 23:54:51 +02:00
571b6bf74f fix: correct plugin settings link 2021-04-16 21:50:24 +01:00
b18e331684 refactor: rename colourpicker eclass 2021-04-16 21:50:02 +01:00
Mark Cheret
524c13c056
docs: remove features.txt (#110)
has all been added in issues and discussions on GH
2021-04-16 13:05:37 +01:00
d676f6d53f fix: fix pre-commit hook 2021-04-16 03:12:06 +01:00
f010c175ed refactor: move Plugin settings under general settings menu 2021-04-16 03:11:24 +01:00
6b42f12716 refactor: delete now-unused files 2021-04-16 03:11:24 +01:00
ae3521d7d9 refactor: delete now-unused files 2021-04-16 03:11:24 +01:00
fd89026326 refactor: remove /class/layout dir (for now)
This dir has been kicking around for a while as a holdover
from the big codebase standardisation. There's no point
keeping the dupe files for now, but I'll come back to this
again later.
2021-04-16 03:11:24 +01:00
Mark Cheret
b6513d9c4b
Merge pull request #105 from markcheret/php-compatibility-sniffs
build: add PHPCompatibility sniffs
2021-04-16 03:49:56 +02:00
2d7f812560 build: add node_modules ignore 2021-04-16 01:43:25 +01:00
bdd99ac3bc fix: fix array dec 2021-04-16 01:34:08 +01:00
de4e53f941 build: add PHPCompat checks to pre-commit hook 2021-04-16 01:29:27 +01:00
9926a42e8c style: lint code 2021-04-16 01:23:33 +01:00
43a5de6cef build: add PHPCompatibility sniffs 2021-04-16 01:23:23 +01:00
Mark Cheret
06b8fb51c1
Merge pull request #101 from markcheret/hueman-theme-compat
Hueman theme compat
2021-04-16 02:09:08 +02:00
fcd350fe72 fix: minor tweaks 2021-04-16 01:01:55 +01:00
Mark Cheret
f412774656
Update readme.txt 2021-04-16 00:54:28 +02:00
Mark Cheret
641d7d8963
Update footnotes.php 2021-04-16 00:52:30 +02:00
Mark Cheret
cdbe2221eb
fix: replicate 2.7.1 CSS fix from SVN repo
This was originally posted to the SVN repo., and has been replicated here because `git svn` is a write-off at this point.

Close #81 #99
2021-04-15 22:56:39 +01:00
Mark Cheret
29dff8cfad closes #99
closes #81
2021-04-15 23:51:29 +02:00
Mark Cheret
6a32c828e1
Merge pull request #93 from markcheret/automated-linting
build: add automated JS/CSS linting
2021-04-15 23:10:30 +02:00
Mark Cheret
ee7cd5356e
Merge branch 'main' into automated-linting 2021-04-15 23:09:20 +02:00
Mark Cheret
e5f1ca92b1
Merge pull request #98 from markcheret/svn-sync
sync with 2.7.0
2021-04-15 23:07:10 +02:00
a5356d8052 fix: other assorted fixes 2021-04-15 17:17:27 +01:00
b565a56a05 fix: replace apostrophes 1/2 2021-04-15 17:11:37 +01:00
11c2af6f9c fix: correct constant name 2021-04-15 17:07:55 +01:00
d201d7e705 docs: remove timestamps 2021-04-15 17:07:04 +01:00
e867ea69d1 re-add /dashboard dir 2021-04-15 17:03:46 +01:00
749197efa6 style: remove trailing newlines 2021-04-15 17:02:09 +01:00
54dbc4e9f9 fix: checked out wrong versions 2021-04-15 16:56:45 +01:00
5b07c17356 Merge branch 'main' into svn-sync 2021-04-15 16:52:59 +01:00
3024bbde16 feat: re-add caching command, add linting command 2021-04-15 16:31:04 +01:00
a6eb45ad77 fix: ignore PHP version 2021-04-15 16:31:04 +01:00
00536ec036 test: comment out caching 2021-04-15 16:31:04 +01:00
bb4ecf8ff2 chore: update lockfile 2021-04-15 16:31:04 +01:00
81830618db fix: add --with-all-dependencies flag 2021-04-15 16:31:04 +01:00
Mark Cheret
0de569d3d3 Update php.yml
#73 #70
2021-04-15 16:31:04 +01:00
13a9c7aa8e update composer lockfile 2021-04-15 16:31:01 +01:00
Mark Cheret
d831585fd9 Delete symfonycorp.yml 2021-04-15 16:31:01 +01:00
Mark Cheret
c47952f42c Update symfonycorp.yml 2021-04-15 16:31:01 +01:00
Mark Cheret
43d61e08c9 Update symfonycorp.yml 2021-04-15 16:31:00 +01:00