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
91395db9c4
Added robots.txt plugin
...
Automatically generates the content, including the correct link to the sitemap.
2023-01-14 00:30:29 -08:00
Belle Aerni
eaca96fd6b
Added a sitemap generator
2023-01-13 23:46:17 -08:00
Belle Aerni
ca54a56eaa
fix active page highlight in the Bootstrap theme
2023-01-13 01:38:07 -08:00
Belle Aerni
44de365946
Fix header regex (again)
2023-01-13 01:18:43 -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
Belle Aerni
a2f8c3617a
Slightly cleanup auth + enable CGIPassAuth
...
Should hopefully fix any issues with CGI servers.
Also renamed the 'SiteInfo' config key to 'siteInfo' to follow the naming scheme for everything else
2023-01-11 19:30:34 -08:00
Belle Aerni
0979d4ee03
Merge pull request #12 from AntCMS-org/dependabot/composer/phpstan/phpstan-1.9.9
...
Bump phpstan/phpstan from 1.9.8 to 1.9.9
2023-01-11 17:48:16 -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
891012f6ff
Fixed AntCMS matching the page header multiple times
2023-01-11 14:07:39 -08:00
Belle Aerni
c513b01bad
Workaround for AntCMS trying to extract header
...
data from the body of the getting started block. Will find a fix soonish
2023-01-10 23:48:58 -08:00
Belle Aerni
584f99bac7
Created gettingstarted
2023-01-10 23:36:58 -08:00
Belle Aerni
016103f7cd
Updated readme, moved minimum PHP ver to 8.0
2023-01-10 18:50:10 -08:00
Belle Aerni
506e66c0ae
Merge pull request #11 from AntCMS-org/docsandtypehints
...
Added missing type hints, bumped PHPStan to level 6
2023-01-10 18:22:09 -08:00
Belle Aerni
7adb5d51a6
Added missing type hints, bumped PHPStan to level 6
2023-01-10 18:20:24 -08:00
Belle Aerni
4c0a950179
Merge pull request #10 from AntCMS-org/currentconfig
...
Refactor AntConfig::currentConfig
2023-01-10 17:26:46 -08:00
Belle Aerni
c15bf1f449
Refactor AntConfig::currentConfig
2023-01-10 17:24:30 -08:00
Belle Aerni
aff54916e9
Merge pull request #9 from AntCMS-org/dependabot/npm_and_yarn/tailwindcss/typography-0.5.9
...
Bump @tailwindcss/typography from 0.5.8 to 0.5.9
2023-01-10 17:22:30 -08:00
dependabot[bot]
e7e7628d91
Bump @tailwindcss/typography from 0.5.8 to 0.5.9
...
Bumps [@tailwindcss/typography](https://github.com/tailwindcss/typography ) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/tailwindcss/typography/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tailwindcss/typography/compare/v0.5.8...v0.5.9 )
---
updated-dependencies:
- dependency-name: "@tailwindcss/typography"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 01:13:14 +00:00
Belle Aerni
da69eb3f81
Updated file extension to .twig
2023-01-10 06:32:51 -08:00
Belle Aerni
22007f4c57
Improved tailwind theme's layout for desktop
2023-01-10 04:53:49 -08:00
Belle Aerni
cb0a1917a9
Update admin plugin to render with twig
2023-01-10 00:26:05 -08:00
Belle Aerni
2a1af73f75
Use the .twig file extension
2023-01-10 00:07:20 -08:00
Belle Aerni
3405291db1
Move the config and pages .yaml files to /Config
2023-01-09 22:55:02 -08:00
Belle Aerni
51211d87ec
Allow access to a sitemap.xml file if it exists
2023-01-09 16:09:22 -08:00
Belle Aerni
52e102e63b
Bootstrap: make the footer fixed to the bottom
2023-01-09 15:03:56 -08:00
Belle Aerni
89b182b3be
Merge pull request #8 from AntCMS-org/twig
...
Started to migrate to twig
2023-01-09 13:16:58 -08:00
Belle Aerni
9510bf2e9b
Update tailwind for twig
2023-01-09 13:09:06 -08:00
Belle Aerni
fa1d942d4e
Started to migrate to twig
2023-01-09 12:50:11 -08:00
Belle Aerni
d4331326f6
Missed codeblocks
2023-01-09 11:15:48 -08:00
Belle Aerni
ff68feeae6
Improved readme
2023-01-09 11:11:32 -08:00
Belle Aerni
55e20d3f25
Update CMSTest.php
2023-01-09 10:55:34 -08:00
Belle Aerni
b60439a9a9
Tests
...
Test, tests, baby (insert sounds from ice, ice, baby)
2023-01-09 10:47:55 -08:00
Belle Aerni
37a0f2ffcd
Make testMarkdownIsFast much stricter
...
Now it runs 10 times and averages the time spent, it needs to be less than 0.015 seconds
2023-01-09 10:15:50 -08:00
Belle Aerni
1f4b40a787
Fix assertion
2023-01-09 01:09:11 -08:00
Belle Aerni
2acfc2d50d
And added some more
2023-01-09 01:05:24 -08:00
Belle Aerni
5df8872a62
Fix AntTools::repairFilePath
2023-01-09 00:32:49 -08:00
Belle Aerni
22efe315c4
More unit tests
2023-01-09 00:26:30 -08:00
Belle Aerni
757b1b3ade
This fix it?
2023-01-08 23:49:17 -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
073ee79eae
Create nginx.conf
...
This is untested, but *should* work, it's not a complicated config
2023-01-08 17:46:22 -08:00
Belle Aerni
930766b1a3
Create LICENCE.md
2023-01-08 17:41:17 -08:00
Belle Aerni
d31da240c4
Added robots.txt
...
And allow it through the .htaccess
2023-01-08 17:28:08 -08:00
Belle Aerni
6d3f8a3da1
Admin plugin : added create page option
...
Also introduced AntTools::repairFilePath
2023-01-08 16:53:58 -08:00