slawkens
81d0acecf6
Limit max version of database
2024-11-08 10:53:40 +01:00
slawkens
dead8e4043
Add migrate command to manually upgrade db, incase auto migrate is disabled
2024-11-08 10:50:47 +01:00
slawkens
92024cfdbf
Fixes regarding to init.php
2024-11-08 10:23:22 +01:00
slawkens
c3dd10af96
Show error when mail is not enabled
2024-11-08 10:22:47 +01:00
slawkens
0c332bd6a4
Add migrate:to command
...
Usage: php aac migrate:to x (x - database version)
2024-11-08 10:22:23 +01:00
slawkens
e2487f97e3
settings:set + settings:reset commands
2024-02-04 09:01:00 +01:00
slawkens
649e37ab0f
"php aac migrate:run {ids}" command
2024-02-04 08:16:22 +01:00
slawkens
a2c8e2b2ae
phpstan: level 1 passed
2024-01-31 00:36:15 +01:00
slawkens
6c4fd4ed27
add new constant for cli: SELF_NAME
2024-01-30 18:09:56 +01:00
slawkens
b517a12f8a
Avoid duplicate loading of hooks
2024-01-28 23:08:37 +01:00
slawkens
5d741944f7
Fix: cronjob command
2024-01-28 23:07:40 +01:00
slawkens
410d75c882
Revised Commands -> use symfony/console -> php ma (MyAAC)
...
Usage:
php ma list
php ma cache:clear
php ma plugin:install guild-wars.zip
More sophisticated:
echo "Hello, this is hello world message" | php ma mail:send test@test.com --subject "This is subject"
Also: custom commands can be added via Plugins: just need to return new class instance that extends \MyAAC\Commands\Command in plugins/*/commands folder
2024-01-26 23:19:39 +01:00