Commit graph

40 commits

Author SHA1 Message Date
dependabot[bot]
0a52b31559
Bump antcms/antloader from 2.0.1 to 2.0.2 (#60)
Bumps [antcms/antloader](https://github.com/AntCMS-org/AntLoader) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/AntCMS-org/AntLoader/releases)
- [Commits](https://github.com/AntCMS-org/AntLoader/compare/2.0.1...2.0.2)

---
updated-dependencies:
- dependency-name: antcms/antloader
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 20:10:53 -07:00
dependabot[bot]
ae629ccebd
Bump league/commonmark from 2.4.0 to 2.4.1 (#57)
Bumps [league/commonmark](https://github.com/thephpleague/commonmark) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/thephpleague/commonmark/releases)
- [Changelog](https://github.com/thephpleague/commonmark/blob/2.4/CHANGELOG.md)
- [Commits](https://github.com/thephpleague/commonmark/compare/2.4.0...2.4.1)

---
updated-dependencies:
- dependency-name: league/commonmark
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 18:35:09 -07:00
dependabot[bot]
be214fbc94
Bump twig/twig from 3.7.0 to 3.7.1 (#56)
Bumps [twig/twig](https://github.com/twigphp/Twig) from 3.7.0 to 3.7.1.
- [Changelog](https://github.com/twigphp/Twig/blob/3.x/CHANGELOG)
- [Commits](https://github.com/twigphp/Twig/compare/v3.7.0...v3.7.1)

---
updated-dependencies:
- dependency-name: twig/twig
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 18:48:25 -07:00
dependabot[bot]
7d02c1a2a1
Bump twig/twig from 3.6.1 to 3.7.0 (#53)
Bumps [twig/twig](https://github.com/twigphp/Twig) from 3.6.1 to 3.7.0.
- [Changelog](https://github.com/twigphp/Twig/blob/3.x/CHANGELOG)
- [Commits](https://github.com/twigphp/Twig/compare/v3.6.1...v3.7.0)

---
updated-dependencies:
- dependency-name: twig/twig
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-28 05:35:08 -07:00
dependabot[bot]
d920b26f52
Bump antcms/antloader from 2.0.0 to 2.0.1 (#47)
Bumps [antcms/antloader](https://github.com/AntCMS-org/AntLoader) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/AntCMS-org/AntLoader/releases)
- [Commits](https://github.com/AntCMS-org/AntLoader/compare/2.0.0...2.0.1)

---
updated-dependencies:
- dependency-name: antcms/antloader
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 19:40:17 -07:00
dependabot[bot]
ccf05911ef
Bump twig/twig from 3.6.0 to 3.6.1 (#48)
Bumps [twig/twig](https://github.com/twigphp/Twig) from 3.6.0 to 3.6.1.
- [Changelog](https://github.com/twigphp/Twig/blob/3.x/CHANGELOG)
- [Commits](https://github.com/twigphp/Twig/compare/v3.6.0...v3.6.1)

---
updated-dependencies:
- dependency-name: twig/twig
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 19:40:06 -07:00
Belle Aerni
ebb0fce492
Bump AntLoader to version 2 (#46)
* Bump AntLoader to version 2

* Whoops - I forgot about the tests

* Oh yeah, cron.

Note to self: turn the autoloader into an individual file that can be included by the tests / cron file so I don't need to update 3 of them manually
2023-05-27 02:14:33 -07:00
dependabot[bot]
fa87852dc5
Bump embed/embed from 4.4.7 to 4.4.8 (#43)
Bumps [embed/embed](https://github.com/oscarotero/Embed) from 4.4.7 to 4.4.8.
- [Release notes](https://github.com/oscarotero/Embed/releases)
- [Changelog](https://github.com/oscarotero/Embed/blob/master/CHANGELOG.md)
- [Commits](https://github.com/oscarotero/Embed/compare/v4.4.7...v4.4.8)

---
updated-dependencies:
- dependency-name: embed/embed
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 02:52:04 -07:00
dependabot[bot]
95c2774222
Bump antcms/antloader from 1.0.1 to 1.0.2 (#41)
Bumps [antcms/antloader](https://github.com/AntCMS-org/AntLoader) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/AntCMS-org/AntLoader/releases)
- [Commits](https://github.com/AntCMS-org/AntLoader/compare/1.0.1...1.0.2)

---
updated-dependencies:
- dependency-name: antcms/antloader
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-09 19:22:41 -07:00
dependabot[bot]
18e83c915a
Bump antcms/antloader from 1.0.0 to 1.0.1 (#40)
Bumps [antcms/antloader](https://github.com/AntCMS-org/AntLoader) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/AntCMS-org/AntLoader/releases)
- [Commits](https://github.com/AntCMS-org/AntLoader/compare/1.0.0...1.0.1)

---
updated-dependencies:
- dependency-name: antcms/antloader
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-07 19:15:14 -07:00
Belle Aerni
b31e88a428
Move to using AntLoader (#38)
* Move to using AntLoader

* Update composer lockfile

I fixed the wrong classname in AntLoader

* Update tests

* It works!

* Use AntLoader 1.0.0
2023-05-04 19:36:15 -07:00
dependabot[bot]
e6a59c0b16
Bump twig/twig from 3.5.1 to 3.6.0 (#37)
Bumps [twig/twig](https://github.com/twigphp/Twig) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/twigphp/Twig/releases)
- [Changelog](https://github.com/twigphp/Twig/blob/3.x/CHANGELOG)
- [Commits](https://github.com/twigphp/Twig/compare/v3.5.1...v3.6.0)

---
updated-dependencies:
- dependency-name: twig/twig
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 07:57:30 -07:00
dependabot[bot]
2e737545ad
Bump nyholm/psr7 from 1.6.1 to 1.7.0 (#34)
Bumps [nyholm/psr7](https://github.com/Nyholm/psr7) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/Nyholm/psr7/releases)
- [Changelog](https://github.com/Nyholm/psr7/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Nyholm/psr7/compare/1.6.1...1.7.0)

---
updated-dependencies:
- dependency-name: nyholm/psr7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-21 00:21:35 -07:00
dependabot[bot]
79eef0aa46
Bump nyholm/psr7 from 1.6.0 to 1.6.1 (#33)
Bumps [nyholm/psr7](https://github.com/Nyholm/psr7) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/Nyholm/psr7/releases)
- [Changelog](https://github.com/Nyholm/psr7/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Nyholm/psr7/compare/1.6.0...1.6.1)

---
updated-dependencies:
- dependency-name: nyholm/psr7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 19:59:52 -07:00
dependabot[bot]
0cff3b92df
Bump nyholm/psr7 from 1.5.1 to 1.6.0 (#32)
Bumps [nyholm/psr7](https://github.com/Nyholm/psr7) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/Nyholm/psr7/releases)
- [Changelog](https://github.com/Nyholm/psr7/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Nyholm/psr7/compare/1.5.1...1.6.0)

---
updated-dependencies:
- dependency-name: nyholm/psr7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-09 20:00:49 -07:00
dependabot[bot]
acb00af6f7
Bump league/commonmark from 2.3.9 to 2.4.0 (#29)
Bumps [league/commonmark](https://github.com/thephpleague/commonmark) from 2.3.9 to 2.4.0.
- [Release notes](https://github.com/thephpleague/commonmark/releases)
- [Changelog](https://github.com/thephpleague/commonmark/blob/2.4/CHANGELOG.md)
- [Commits](https://github.com/thephpleague/commonmark/compare/2.3.9...2.4.0)

---
updated-dependencies:
- dependency-name: league/commonmark
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-26 19:29:32 -07:00
Belle Aerni
cba9f71f78 Lazy load images 2023-02-25 04:32:07 -08:00
dependabot[bot]
a653154f85
Bump league/commonmark from 2.3.8 to 2.3.9 (#24)
Bumps [league/commonmark](https://github.com/thephpleague/commonmark) from 2.3.8 to 2.3.9.
- [Release notes](https://github.com/thephpleague/commonmark/releases)
- [Changelog](https://github.com/thephpleague/commonmark/blob/2.3/CHANGELOG.md)
- [Commits](https://github.com/thephpleague/commonmark/compare/2.3.8...2.3.9)

---
updated-dependencies:
- dependency-name: league/commonmark
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 18:06:48 -08:00
dependabot[bot]
d262f22c98
Bump twig/twig from 3.5.0 to 3.5.1 (#23)
Bumps [twig/twig](https://github.com/twigphp/Twig) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/twigphp/Twig/releases)
- [Changelog](https://github.com/twigphp/Twig/blob/3.x/CHANGELOG)
- [Commits](https://github.com/twigphp/Twig/compare/v3.5.0...v3.5.1)

---
updated-dependencies:
- dependency-name: twig/twig
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-08 17:45:04 -08:00
dependabot[bot]
686caf149b
Bump symfony/yaml from 6.0.17 to 6.0.19 (#21)
Bumps [symfony/yaml](https://github.com/symfony/yaml) from 6.0.17 to 6.0.19.
- [Release notes](https://github.com/symfony/yaml/releases)
- [Changelog](https://github.com/symfony/yaml/blob/6.2/CHANGELOG.md)
- [Commits](https://github.com/symfony/yaml/compare/v6.0.17...v6.0.19)

---
updated-dependencies:
- dependency-name: symfony/yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 17:22:43 -08:00
Belle Aerni
ecf94d36da Removed the keyword generator
It didn't really work, added a bunch to the overall file size, and computer-generated keywords just won't compare to human created ones, unless you're to use AI or a particularly advanced algorithm, which I feel is outside the scope of the project.

I've left the class in place, so if needed, it'll be really easy to add it back
2023-01-19 18:01:03 -08:00
Belle Aerni
612adb5a17 Revert "Use the official twig StringLoaderExtension"
This reverts commit b2036b765f.
2023-01-18 22:05:50 -08:00
Belle Aerni
b2036b765f Use the official twig StringLoaderExtension
Not sure how I missed the fact that this exists, but let's use it instead of an unofficial extension
2023-01-18 22:02:33 -08:00
Belle Aerni
b8956614b0 Add nyholm/psr7 2023-01-14 02:44:13 -08:00
Belle Aerni
c5b999294b Added embed extension for markdown 2023-01-14 02:38:20 -08:00
Belle Aerni
3353be4920 Replaced my homebrew keyword generator
It now uses the one found here: https://github.com/Donatello-za/rake-php-plus
This is much better than the one I had hacked together.

Makes AntCMS a bit bigger.. but not by too much. I may end up removing the keyword generator outright, but for now I'm going to keep it.
2023-01-14 00:49:21 -08:00
Belle Aerni
4f96f5c496 Highlight the active page in the navbar
Closes #6

Also dropped PHPStan back down to level 5 because I decided level 6 was a bit much
2023-01-12 19:08:35 -08:00
Belle Aerni
325221f527 Quick run with Rector 2023-01-12 00:20:13 -08:00
Belle Aerni
36ab96bf8c Added some info to composer.json 2023-01-11 21:09:36 -08:00
dependabot[bot]
ab5a46a4cd
Bump phpstan/phpstan from 1.9.8 to 1.9.9
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.9.8 to 1.9.9.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.10.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.9.8...1.9.9)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 01:37:41 +00:00
Belle Aerni
016103f7cd Updated readme, moved minimum PHP ver to 8.0 2023-01-10 18:50:10 -08:00
Belle Aerni
fa1d942d4e Started to migrate to twig 2023-01-09 12:50:11 -08:00
Belle Aerni
e09d4ca60d Experimenting with unit tests 2023-01-08 23:43:17 -08:00
Belle Aerni
1dc25e2d32 Move from php-markdown to commonmark
Better maintained, much more popular, supports GH style markdown.
Also added an emoji plugin for it so we don't have to maintain our own list of them.

Unfortunately, moving this does nearly double the size of AntCMS, but it's a worthwhile tradeoff
2023-01-08 22:01:05 -08:00
dependabot[bot]
074cc47625
Bump phpstan/phpstan from 1.9.7 to 1.9.8 (#7)
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.9.7 to 1.9.8.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.9.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.9.7...1.9.8)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-08 18:35:47 -08:00
Belle Aerni
28ca1b87e4 Add PHPStan 2023-01-06 18:25:28 -08:00
Belle Aerni
7ab664e18f Automated page list generation 2023-01-06 16:16:11 -08:00
Belle Aerni
d6e4338689 Created an autoloader 2023-01-06 13:40:02 -08:00
Belle Aerni
02919b797f Initial support for theming 2023-01-05 23:43:31 -08:00
Belle Aerni
23b05394b4 Created a skeleton of the app 2023-01-05 20:01:00 -08:00