Commit Graph

5584 Commits

Author SHA1 Message Date
Jan Chren
cc81ea7e3e disable display_errors in production environment 2014-09-04 02:50:27 +02:00
Andy Miller
a0f5e35ad5 removed memcahed from the list of cache options 2014-09-03 17:54:50 -06:00
Andy Miller
971508f613 Removed memcache from auto setup, added memcache server config, removed memcached support 2014-09-03 17:49:55 -06:00
Jan Chren
144d64e0c8 detect mode only if debugger enabled 2014-09-04 00:29:45 +02:00
Jan Chren
a999046882 removed unused functions 2014-09-04 00:27:30 +02:00
Matias Griese
943921eadb Fix broken password validation 2014-09-03 21:19:16 +03:00
Matias Griese
0f87946276 Move new Blueprints class into RocketTheme\Toolbox 2014-09-03 19:13:57 +03:00
Matias Griese
9e032a7120 Fix wrong namespace declaration 2014-09-03 15:50:17 +03:00
Matias Griese
cb705f2d96 Remove debug message 2014-09-03 14:48:53 +03:00
Matias Griese
ac8483f894 Start using RocketTheme\Toolbox and remove local copies of the Toolbox classes 2014-09-03 14:34:40 +03:00
Matias Griese
30246a8666 Post merge fixes 2014-09-03 10:33:45 +03:00
Matias Griese
f606999c40 Merge branch 'develop' of https://github.com/getgrav/grav into feature/multi-config
Conflicts:
	composer.json
	system/config/streams.yaml
	system/src/Grav/Common/Page/Page.php
	system/src/Grav/Common/Theme.php
	system/src/Grav/Common/Themes.php
	system/src/Grav/Component/Filesystem/ResourceLocator.php
	vendor/autoload.php
	vendor/composer/autoload_classmap.php
	vendor/composer/autoload_files.php
	vendor/composer/autoload_real.php
	vendor/composer/installed.json
2014-09-03 10:33:02 +03:00
Matias Griese
affa768efb Ground work for allowing multiple configurations 2014-09-03 09:57:46 +03:00
Djamil Legato
615c91b1c5 Minor change in the output 2014-09-02 22:52:00 -07:00
Djamil Legato
a0bc5bf765 Added Update command that scans for installed extensions and look for available updates (as well as install them!) 2014-09-02 22:41:07 -07:00
Djamil Legato
2ab433c339 Added an --all-yes option to assume yes to all questions (or automatically skip if it's a better approach) 2014-09-02 22:39:00 -07:00
Djamil Legato
267fa23d51 Super minor aesthetic change 2014-09-02 22:35:43 -07:00
Djamil Legato
e6565d9394 Fixed InstallCommand description 2014-09-02 17:51:28 -07:00
Djamil Legato
3b848e4a91 Merge branch 'develop' into feature/vendor_free 2014-09-02 17:40:56 -07:00
Your Name
891751d09e Fixed case where base_url was empty 2014-09-02 16:58:55 -05:00
user.email
bbc8f6b293 Preparing for release v0.9.1 2014-09-02 14:05:15 -07:00
Djamil Legato
2c4a724fc0 Merge branch 'develop' into feature/vendor_free 2014-09-02 11:02:32 -07:00
Matias Griese
263b7b3b1c Add support for twig markup like {{ url('theme://images/logo.png') }} 2014-09-02 20:04:54 +03:00
Matias Griese
48d7332e6a Make basic template inheritance to work 2014-09-02 19:25:18 +03:00
Djamil Legato
3948aa77a8 Cleanup 2014-09-01 23:21:18 -07:00
Djamil Legato
0d0c22c940 Added destination option to allow using the IndexCommand on a different grav instance
IndexCommand displays the local and remote versions. It also detects if the package is already installed
2014-09-01 22:12:55 -07:00
Djamil Legato
627646bf35 Merge branch 'develop' into feature/vendor_free 2014-09-01 17:57:48 -07:00
Djamil Legato
67a325e8e9 Removing the tmp folder when finished installing 2014-09-01 17:57:13 -07:00
Djamil Legato
69e345f64f Added InstallCommand that allows to install packages from the index list of grav 2014-09-01 17:53:34 -07:00
Matias Griese
ac7d1459d6 Move configure() from Theme to Themes class 2014-09-01 14:25:12 +03:00
Matias Griese
f66bc37b1b Fix ResourceLocator not working with multiple paths 2014-09-01 14:23:50 +03:00
Djamil Legato
37980d15e4 Added InfoCommand that provides more detailed informations about a package like description, author, version, etc. 2014-08-31 22:59:01 -07:00
Djamil Legato
3fc6c47b5e Added IndexCommand that lists all the resources available to download and install 2014-08-31 22:58:10 -07:00
Djamil Legato
dee24787ba Added FetchCommand to grab all the resources informations from getgrav.org and cache it for a day 2014-08-31 22:57:18 -07:00
Djamil Legato
51cca81bc8 Moved all console commands under the Cli folder for better organization (this requires a composer update -o to pick up) 2014-08-31 22:54:35 -07:00
Djamil Legato
8de6231116 Added fallbacks for URI class so that it can be used in the CLI 2014-08-31 22:52:04 -07:00
Andy Miller
8cbe0ec591 added fix for file-based paths including .md filenames 2014-08-31 14:34:32 -06:00
Andy Miller
f95d6b11de Added support for absolute path images and refactored a little 2014-08-30 14:19:14 -06:00
Andy Miller
a33bfd8cb0 Added support for relative links and actual path links to markdown links 2014-08-30 13:40:55 -06:00
Andy Miller
d3d02a2c79 Revert "Added Content-Length header"
This reverts commit a737cfc2ec.
2014-08-29 15:03:19 -06:00
Andy Miller
365f7bb596 Should address issue #38 where some people are not getting cache clears 2014-08-29 14:42:50 -06:00
Djamil Legato
a737cfc2ec Added Content-Length header 2014-08-29 10:01:05 -07:00
Matias Griese
6ce32e753d Fix theme thumbnail urls 2014-08-29 12:07:40 +03:00
Matias Griese
8f8e0b08a4 Add theme:/// to be able to refer all the themes 2014-08-29 11:57:49 +03:00
Matias Griese
a702af2348 Fix some misc bugs for admin plugin 2014-08-29 11:26:05 +03:00
Andy Miller
4b6be8e513 just a variable name change 2014-08-28 18:05:50 -06:00
Andy Miller
aa9d77cf8b Forgot to return the last_modified timestamp, and some cleanup 2014-08-28 18:01:12 -06:00
Andy Miller
bea19e008f Added method to check for changes by file rather than by folder, made it default option as its safest 2014-08-28 17:04:44 -06:00
Matias Griese
4e3db05d10 Some changes to make custom template object instantiation to work 2014-08-28 20:26:14 +03:00
Djamil Legato
9b3b463909 Moved Browser class into its proper location 2014-08-27 18:25:25 -07:00
ghLoser
3c1673d112 Update Markdown.php 2014-08-27 19:28:23 +02:00
Andy Miller
8f9780a443 Removed old unused processString method 2014-08-26 17:06:25 -06:00
Djamil Legato
2935d3cc0b Uri extension set for specific types only rather than all 2014-08-25 17:15:39 -07:00
Djamil Legato
1e39c7d925 Preparing for release 2014-08-25 10:06:34 -07:00
Andy Miller
b442aa2dd6 Added page option for markdown_extra 2014-08-25 09:29:35 -06:00
Andy Miller
65720df28d Added a new random sort order option 2014-08-25 08:56:38 -06:00
Andy Miller
4a1989e3a8 Added a default 'detect' mode for Tracy, can be changed via debugger.mode 2014-08-25 08:40:41 -06:00
Andy Miller
74b838c1bc just a question... 2014-08-23 09:44:08 -06:00
Andy Miller
a5a97b5396 enabled page plugins by default as these are not called when cached 2014-08-23 06:54:13 -06:00
Andy Miller
ca519dd5c4 Refactored the markdown link trait to use call_user_func_array() rather eval() which is slow and rather dangerous. 2014-08-22 20:39:25 -06:00
Andy Miller
7a622c6f5b switching user agent package 2014-08-22 14:07:45 -06:00
Matias Griese
b507815eef Fix some random bugs 2014-08-22 19:30:17 +03:00
Andy Miller
f3aec65624 Added support for custom inline images with markdown #10, no more twig needed! 2014-08-21 21:55:37 -06:00
Matias Griese
c56efb9a10 Use stream wrapper in pages, plugins and themes 2014-08-21 13:06:48 +03:00
Matias Griese
eba9002400 Implement ArrayTraits on Blueprint 2014-08-21 13:01:30 +03:00
Matias Griese
7d5426144d Implement more ArrayTraits and use them in Iterator 2014-08-21 12:58:48 +03:00
Andy Miller
3f0af44e8c Added /asssets dir to the setup command 2014-08-20 18:26:14 -06:00
Andy Miller
5e07b1ebfd added a helpful dump wrapper 2014-08-20 13:47:10 -06:00
Andy Miller
ea227913da switched assets to use new php stream locators 2014-08-20 13:46:46 -06:00
Matias Griese
dd4a2aa288 Add scheme support for Assets class 2014-08-20 21:37:19 +03:00
Matias Griese
48d8284124 Add support for theme stream wrappers 2014-08-20 20:55:27 +03:00
Matias Griese
fae64f5b7a Add basic theme configuration support 2014-08-20 20:51:49 +03:00
Matias Griese
77172e7978 Optimize autoloading and allow APC to cache plugin PHP 2014-08-20 12:18:26 +03:00
Andy Miller
05b2296594 more semantic naming of variables 2014-08-19 21:57:44 -06:00
Andy Miller
49244c3f0b made $grav public so its accessible in plugins 2014-08-19 21:57:29 -06:00
Andy Miller
ba9e813fbb Merge branch 'feature/setup_symlink_patch' into develop 2014-08-19 20:38:36 -06:00
Andy Miller
cb4428068d #18 Refactoring per the new page events system 2014-08-19 19:10:00 -06:00
Andy Miller
ecb412ea6d vendor updates 2014-08-19 14:58:47 -06:00
Matias Griese
7561ace5e2 Merge branches 'develop' and 'feature/streamwrappers' of https://github.com/getgrav/grav into feature/streamwrappers
Conflicts:
	system/src/Grav/Common/Grav.php
2014-08-19 19:39:48 +03:00
Matias Griese
a85c2638e4 Fix #17: Use Symfony EventDispatcher 2014-08-19 18:45:42 +03:00
Matias Griese
dcc4335f8e Fix regression: plugins not firing 2014-08-19 09:56:18 +03:00
Andy Miller
19b23746dc minor trim fix 2014-08-18 17:12:47 -06:00
Andy Miller
1295637355 #15 Workaround for apache style userdir (~username) routing 2014-08-18 17:12:32 -06:00
Andy Miller
620c204128 extra Tracy use in Assets 2014-08-18 17:09:13 -06:00
Matias Griese
3952e5d73e Add a few stream wrappers 2014-08-18 22:27:27 +03:00
Matias Griese
a42144c3f7 Implement stream wrappers 2014-08-18 21:24:32 +03:00
Djamil Legato
53cec9b620 Fixed setup command in combination of symlink not linking properly directories. 2014-08-18 09:56:26 -07:00
Matias Griese
e3da090768 Use similar way to get Grav context across the classes 2014-08-18 19:05:20 +03:00
Matias Griese
285874caf5 Fix exception using wrong namespace in Assets 2014-08-18 17:22:44 +03:00
Matias Griese
b0bf847208 Convert DI variables to lower case 2014-08-18 15:23:53 +03:00
Matias Griese
846c836cb8 Add DEV/PROD parameter to debugger constructor 2014-08-18 14:47:11 +03:00
Matias Griese
0c374eac23 Merge branch 'develop' of https://github.com/getgrav/grav into feature/DI
Conflicts:
	composer.json
	index.php
	system/src/Grav/Common/Grav.php
	system/src/Grav/Common/Themes.php
	system/src/Grav/Common/Twig.php
2014-08-18 14:39:50 +03:00
Matias Griese
e91b9c84bf Implement DI container 2014-08-18 14:13:51 +03:00
Andy Miller
9f2236dea3 Added support for Markdown Extra - optional and default is GFM style markdown 2014-08-17 18:54:10 -06:00
Andy Miller
8374d03a36 Added some additional input filtering on query and param options 2014-08-17 18:20:23 -06:00
Andy Miller
419bceb47a GRAV_VERSION available in twig for use in templates 2014-08-17 17:46:22 -06:00
Andy Miller
5f8b37507e fixes for pipeline assets at root / rather than /subdir 2014-08-17 17:16:54 -06:00
Andy Miller
b716ca3270 removed left over debug :( 2014-08-17 16:01:19 -06:00
Andy Miller
57f969c806 Merge branch 'develop' of github.com:getgrav/grav into feature/asset_management 2014-08-17 15:50:47 -06:00
Andy Miller
215c8da542 clean up codebase a little 2014-08-17 15:49:38 -06:00
Pascal Borreli
41aadf25ed Fixed typos/CS 2014-08-17 20:29:40 +01:00
Andy Miller
0e9417ab1b initial commit of new asset pipeline work + user agent handling 2014-08-15 22:05:22 -06:00
Matias Griese
9ed16512fe Fix PHP warning on locking without file handle 2014-08-15 15:07:48 +03:00
Matias Griese
ec8c3d9e60 Better error message when template file isn't found 2014-08-15 14:47:48 +03:00
Matias Griese
fee9518134 Update system default settings to be more suitable for production 2014-08-15 14:37:44 +03:00
Matias Griese
7612cee9d6 Make images progressive by default 2014-08-15 14:17:14 +03:00
Andy Miller
249b9bf8be Added images dir to list of folders to clear. Plus added 'touching' of system.yaml to trigger clearing of APC/XCache/WinCache etc. 2014-08-12 19:36:39 -06:00
Andy Miller
0d42091df3 Removed some unneeded twig filters 2014-08-12 19:35:31 -06:00
Djamil Legato
fe3d2bac58 Added new Backup CLI command 2014-08-12 17:48:54 -07:00
Djamil Legato
39bc74a087 Fixed paths to use DIRECTORY_SEPARATOR 2014-08-12 17:48:40 -07:00
Djamil Legato
dfd343dff6 Added new clear-cache command 2014-08-12 16:43:59 -07:00
Djamil Legato
ba56dc7747 Minor description update for the CLI Clean command 2014-08-12 16:43:33 -07:00
Djamil Legato
98ca66ebc5 Renamed the new project command class (NewCommand => NewProjectCommand) 2014-08-12 16:43:12 -07:00
Djamil Legato
858cb45421 Added 'new' or 'new-project' command to combine Setup and Install 2014-08-12 13:06:54 -07:00
Djamil Legato
2020e81a59 Refractored the Install Command to allow a destination and not being bound to the current grav only 2014-08-12 13:06:29 -07:00
Andy Miller
87c342d244 Refactored some Twig event names for consistency, also processing: to process: again for consistency. 2014-08-12 09:24:26 -06:00
Andy Miller
4540bb179f fix for dependencies file missing 2014-08-11 21:29:23 -06:00
Andy Miller
130ef80b71 removed items from setup that are no longer part of grav repo 2014-08-11 21:14:59 -06:00
Andy Miller
c337486473 fix for media thumbs 2014-08-11 12:32:34 -06:00
Andy Miller
5fa934c22f renamed Asset/Assets to Medium/Media 2014-08-11 11:07:32 -06:00
Andy Miller
e04eef6d7a moved .dependencies back to root, and added support for root or user destinations 2014-08-07 11:04:33 -06:00
Andy Miller
96481dd25b updated install to better work with symliks 2014-08-07 09:45:16 -06:00
Andy Miller
cd24994bc7 moved .dependencies into user/ and changed git URLs to https:// 2014-08-07 09:12:51 -06:00
Andy Miller
ecd8a02298 Added support for branch in git cloning 2014-08-06 21:38:15 -06:00
Andy Miller
7154d2e205 added initial pass at install command 2014-08-06 21:32:42 -06:00
Andy Miller
d7a2556dd8 added setup command for local grav installs 2014-08-06 19:59:24 -06:00
Andy Miller
527b711486 Created a .dependencies and some other install cleanup 2014-08-06 19:58:51 -06:00
Matias Griese
f439e71ad0 Fix warnings when locking the file if directory doesn't exist 2014-08-06 16:24:25 -07:00
Matias Griese
b5982ea965 Add new event onFatalException and listen to it in problems plugin 2014-08-06 16:24:25 -07:00
Andy Miller
ce68c36910 Needed a helper function to get clean path for github 2014-08-06 16:23:55 -07:00
Djamil Legato
b5351cddf4 Bumped version 2014-08-06 16:23:18 -07:00
Matias Griese
1e8542da9c Add support for themes to return instantiated Theme object 2014-08-06 16:22:58 -07:00
Matias Griese
84acaaea80 Fix twig loader not failing on non-existent files 2014-08-06 16:22:47 -07:00
Djamil Legato
230a2b594e Source 2014-08-02 12:12:32 -07:00