Commit Graph

86 Commits

Author SHA1 Message Date
Matias Griese
380b3be928 Added $grav->setup() to simplify CLI and custom access points 2018-11-12 12:21:44 +02:00
Djamil Legato
d70d0b889e Fixed count of commands list for bin/plugin 2018-11-01 17:18:48 -07:00
Matias Griese
eb97964a00 Debugger optimizations 2018-10-16 13:12:26 +03:00
Andy Miller
d893dd55ff Merge branch 'develop' into 1.6
# Conflicts:
#	.gitignore
#	bin/grav
2018-09-30 18:39:46 -06:00
Andy Miller
fb98ca7b19 Added a new Security CLI command 2018-09-30 18:34:53 -06:00
Andy Miller
178193ab1a Added a deleteAll() method and also renamed CLI command 2018-09-20 11:07:39 -06:00
Andy Miller
5499f2edb6 Feature/scheduler (#2170)
* scheduler first commit

* moved jobs to config

* got some args working

* commands and static methods working.. events hooked up

* No longer dependent on `exec()`.. uses Symfony\Process

* More improvements

* support getAt()

* Make inflector available in DI

* Fix for inflector

* store job run states

* more improvements including cron twig function

* Add scheduler to event + cleanup

* improvements to the CLI command

* Added id field

* use proper func

* Added email

* Fix quotes

* Updated built-in composer

* Better command for adding the scheduler cron via terminal

* Fixed typo and added cron language

* Added Cron class to make at -> human readable date possible

* Added some checks when there are no jobs

* Added method to get CronExpression

* Revamped with Symfony 4.1 CLI updates
2018-09-05 19:02:12 -06:00
Andy Miller
18928d6962 Revert "fire onPluginsInitialized event"
This reverts commit f7832e78dc.
2018-05-08 09:48:56 -06:00
Andy Miller
f7832e78dc fire onPluginsInitialized event 2018-05-07 21:32:00 -06:00
Andy Miller
07db8a2f9d Updated composer binary 2018-03-20 10:33:26 -06:00
Andy Miller
6e8455fde6 Updated composer.phar 2017-01-27 07:20:58 -07:00
Andy Miller
29c6a94c92 Updated to Twig 1.25.0 and fixed an issue that resulted with streams in bin/plugin 2016-09-30 19:02:56 -06:00
Andy Miller
c57e43ea1d New bin/gpm direct-install command (#1038)
* initial push of DirectInstall command

* Refactored to support direct-install

* added info about dependencies, and continue question

* Cleanup per @w00fz comments

* put Grav destination check back.
2016-09-18 10:23:55 -06:00
Djamil Legato
4401fbc6a6 Improved bin/plugin to list plugins with commands faster by limiting the depth of recursion 2016-09-09 11:56:02 -07:00
Andy Miller
fa35ba87e5 updated composer binary 2016-09-03 11:12:30 -06:00
Andy Miller
20c0b48070 -a 2016-09-03 09:34:18 -06:00
Andy Miller
9b94ce6405 Allow environment to be passed to bin/gpm and bin/plugin commands 2016-09-01 15:44:43 -06:00
Matias Griese
24ef246391 Add a way to set environment from CLI 2016-09-01 21:27:08 +03:00
Andy Miller
76016cd3f8 remove default 'index' command for GPM to more easily see available commands 2016-08-17 19:16:34 -06:00
Andy Miller
672b37359a Moved devtools out of core into a plugin 2016-04-19 10:34:29 -06:00
Tyler Cosgrove
d5f31db8af Themes and Checks 2016-03-08 00:44:24 -05:00
Tyler Cosgrove
06d9abaede initial not complete 2016-03-07 17:01:52 -05:00
Andy Miller
ed68714302 updated composer 2016-03-01 10:34:34 -07:00
Andy Miller
e4cda6383f Init the URI object 2016-02-02 10:34:11 -07:00
Andy Miller
479e73e950 Some optimizations/cleanup on CLI commands 2016-01-12 10:04:27 -07:00
Flavio Copes
9b85c1b0f7 Remove all hardcoded older PHP required version, use GRAV_PHP_MIN constant instead
Thanks @MATsxm for the hint in https://github.com/getgrav/grav/pull/570
2015-12-28 18:46:14 +01:00
Andy Miller
4ca8fab750 removed unused Plugin and Theme initialization 2015-12-03 14:48:15 -07:00
Djamil Legato
37035a488d Fixed bin/plugin help output 2015-11-21 20:53:11 -08:00
Andy Miller
aee92b58c7 Updated composer.phar 2015-11-20 17:34:34 -07:00
Djamil Legato
3d922abf1a Fixed listing duplicate plugins when multiple commands present. 2015-11-18 16:11:44 -08:00
Djamil Legato
29b34d7de0 Listing all plugins with CLI available. Better helper when empty arguments 2015-11-18 10:40:06 -08:00
Djamil Legato
da098fd46a Implemented support for Plugins to hook into Grav CLI via bin/plugin <plugin-name> 2015-11-17 19:33:55 -08:00
Andy Miller
47e1eab6c1 updated bundled composer.phar 2015-10-26 17:31:48 -06:00
Andy Miller
aacd9732f2 Added a newuser command to make creating users simpler 2015-08-08 11:24:18 -06:00
Andy Miller
972987c515 updated composer.phar 2015-08-07 13:10:23 -06:00
Andy Miller
07f4cb0892 updated to latest composer.par 2015-07-09 17:23:33 -06:00
Gert
e883b57ac6 fix composer execution for various scenarios 2015-05-15 19:54:33 +02:00
Marcel Eschmann
1f906e6a50 Propagate composer check to all occurences 2015-05-14 21:37:47 +02:00
Andy Miller
cea130700d composer.par updated to latest 2015-05-09 12:36:22 -06:00
Andy Miller
67c3d64275 optimize composer 2015-04-26 18:13:53 -06:00
Andy Miller
21cc9f86f3 added new composer update command 2015-04-26 18:00:34 -06:00
Andy Miller
8a2817a305 Added check for curl in GPM 2015-04-26 16:39:58 -06:00
Andy Miller
4883a408c7 updated composer.phar 2015-04-25 18:41:45 -06:00
Andy Miller
ede958bd61 updated changelog 2015-03-24 17:29:44 -06:00
Andy Miller
73a104000a updated bundled composer package 2015-02-16 18:28:52 -07:00
Andy Miller
4c2ed0ee3d Updated included composer package 2015-01-11 11:54:55 -07:00
Djamil Legato
0f75f6b1e1 Added GPM UninstallCommand - fixes #96 2015-01-01 15:01:50 -08:00
Andy Miller
b3047f7156 updated composer 2014-12-04 18:36:28 -07:00
Djamil Legato
74747844e4 Initializing streams for GPM CLI 2014-10-28 22:29:43 -07:00
Djamil Legato
3f6b5e35de Added new GPM version command that allows to ask for the version of the Grav instance as well as any installed package. It also supports multiple arguments and if an update is available it will be shown 2014-10-14 12:45:10 -07:00