Djamil Legato
f29104ad5d
Fixed tmp streams
2016-08-25 12:45:16 -07:00
Andy Miller
64ceef447c
Fix for invalid HTML with StaticImageMedium #1001
2016-08-24 18:48:34 -06:00
Andy Miller
b58d107ba7
Added RTL in LanguageCodes plus ::getOrientation() and ::isRtl() methods
2016-08-24 16:22:19 -06:00
Andy Miller
3e29ae0923
More reliable Page::home() check
2016-08-24 15:49:46 -06:00
Flavio Copes
0496fc3790
Allow subfolder url rewrite ( #896 )
...
By setting `custom_base_url` in system.yaml, we can have Grav in a subfolder but run it in the domain root.
## Scenario 1
Grav is installed in `http://localhost:8080/grav-develop ` but you want it to respond on `http://localhost:8080 `
In system.yaml, set
```
custom_base_url: 'http://localhost:8080 '
```
and set the session path to the new Grav site path,
```
session:
path: /
```
And in the domain root, set the redirect, e.g. with .htaccess:
```
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/grav-develop/
RewriteRule ^(.*)$ /grav-develop/$1
```
where `grav-develop` is the subfolder where Grav is.
## Scenario 2
Grav is installed in `http://localhost:8080/grav-develop ` but you want it to respond on `http://localhost:8080/xxxxx `
In system.yaml, set
```
custom_base_url: 'http://localhost:8080/xxxxx '
```
and set the session path to the new Grav site path,
```
session:
path: /xxxxx
```
And in the new root folder, /xxxxx, set the redirect, e.g. with .htaccess:
```
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/grav-develop/
RewriteRule ^(.*)$ /grav-develop/$1
```
where `grav-develop` is the sister subfolder where Grav is.
2016-08-24 19:23:49 +02:00
Djamil Legato
b3ce52a6c8
Updated Selfupgrade and Install commands to use tmp:// for storing the downloaded packages
2016-08-23 15:03:12 -07:00
Djamil Legato
9540045a6f
This wasn’t meant to be removed quite yet (ref: c24c1cd689)
2016-08-23 14:41:51 -07:00
Djamil Legato
c24c1cd689
Added new tmp folder at root
...
`tmp` is a new folder that serves as container for temporary files. It is very similar to `cache` but its content is meant to be more persistent than cache. Temporary files are meant to survive cache clearance, developers should be responsible of ensuring temporary files are properly removed when needed.
Accessible via stream `tmp://`.
Can be cleared with `bin/grav clear --tmp-only` as well as `--all`.
2016-08-23 14:38:46 -07:00
Andy Miller
7d7ef5ea74
Fix for filtering collections throwing null key error
2016-08-22 15:55:30 -06:00
Andy Miller
a1039db7af
Added more randomization to safe_email twig filter #998
2016-08-22 13:45:55 -06:00
Matias Griese
5adceea7e9
Add function to get direct access to blueprint schema
2016-08-22 19:53:32 +03:00
Andy Miller
7f83252e23
Fixed regex to not pick up multilang page files when no multilang enabled.
2016-08-22 10:16:35 -06:00
Andy Miller
de1d824439
Pre PHP 5.6 regression fix
2016-08-21 09:48:01 -06:00
Andy Miller
9e2cd09cd7
Changed page search to use SPL GlobIterator and more robust regex. Ever so slightly faster too! #995
2016-08-21 09:39:45 -06:00
Andy Miller
ae7c43bcfd
Removed 307 as it breaks the admin and is not well supported by browsers - https://github.com/getgrav/grav-plugin-admin/issues/743
2016-08-19 11:28:05 -06:00
Djamil Legato
d660bae517
Fixed regression with selfupgrade command, preventing to get a status about the current version when symbolically linked.
...
Using proper Installer methods to check for symbolical link folder.
2016-08-18 16:00:15 -07:00
Andy Miller
35dbc444db
Allow overwrite in GPM::selfupgrade with -o option
2016-08-18 16:40:33 -06:00
Andy Miller
0ec20681d2
Add overwrite option for update
2016-08-18 16:04:10 -06:00
Andy Miller
817fae5955
Removed redundant existing check
2016-08-18 16:03:50 -06:00
Andy Miller
426ec0cb67
added new GPM::getInstallable() method
2016-08-18 16:03:07 -06:00
Andy Miller
560c1c94b4
Fixed -y|--all-yes option for GPM::info
2016-08-18 15:15:40 -06:00
Andy Miller
126ca98252
tidying up
2016-08-18 14:02:36 -06:00
Andy Miller
398c56c20b
Fixed -y|--all-yes option for GPM::uninstall
2016-08-18 14:00:02 -06:00
Andy Miller
cd816b6774
extra cleanup for GPM::Install
2016-08-18 13:53:31 -06:00
Andy Miller
613e985fdb
Fixed -y|--all-yes option for GPM::install - #985
2016-08-18 13:37:43 -06:00
Andy Miller
84e64785bb
Improved GPM::Uninstall command to take into account multiple similar dependencies and output format similar to GPM::Install
2016-08-18 11:59:38 -06:00
Andy Miller
ea9b4568bf
Set default state for installation of dependencies to true
2016-08-18 11:58:42 -06:00
Andy Miller
af282312f1
Added support for @page.modular per #988
2016-08-17 18:54:20 -06:00
Andy Miller
97d8c63951
extra space
2016-08-17 18:03:40 -06:00
Andy Miller
ea6dc3ef22
Added CLImate composer package for tables support in CLI
2016-08-17 17:49:06 -06:00
Andy Miller
6fb49a3a8a
Improved UI for CLI GPM Index to use tables
2016-08-17 17:48:46 -06:00
Andy Miller
77a7e3da2e
Added support for external_url: page header
2016-08-17 14:19:20 -06:00
Andy Miller
f7c968128a
updated changelog
2016-08-16 16:10:06 -06:00
Andy Miller
22387f42f3
Add flatten array utility function
2016-08-16 16:07:37 -06:00
Andy Miller
7c42541a0b
version update
2016-08-14 10:50:26 -06:00
Andy Miller
ae8ca63fa7
Fix for lightbox exception - #981
2016-08-14 10:42:34 -06:00
Andy Miller
060b55bc6e
version update
2016-08-11 12:42:46 -06:00
Andy Miller
deda94a779
Fix for image not rendering 'id' attribute - #956
2016-08-11 09:56:27 -06:00
Matias Griese
f99f42a979
Debugger: Add support for dumping exceptions
2016-08-11 16:47:47 +03:00
Andy Miller
b3f35fb16e
Add ability to look up page mime types from media.yaml - #966
2016-08-10 16:53:58 -06:00
Andy Miller
1c462e8784
quoted redirect rules
2016-08-09 13:33:51 -06:00
Andy Miller
07d95d189c
Added logic to not add timestamp on remote references.
2016-08-01 16:20:02 -06:00
Flavio Copes
74f6890ce8
Prevent exception being thrown when calling the Collator constructor failed in a Windows environment with the Intl PHP Extension enabled [ #961 ]
2016-07-27 17:23:01 +02:00
Andy Miller
ab17fb2fdd
use Inflector class to hyphenize for consistency and safety
2016-07-22 09:46:52 -06:00
Flavio Copes
07beafc679
If no parent is set and I call a siblings collection, return a new collection
...
Fix for a plugins combination issue detailed in
https://github.com/getgrav/grav-plugin-sitemap/issues/22
2016-07-22 17:21:02 +02:00
Flavio Copes
a40c61a8fa
Fix #952 hypenize the session name
2016-07-22 15:20:04 +02:00
Flavio Copes
98534bc836
Force SSL on a page if system.force_ssl is enabled ( #899 )
...
* Force SSL on a page if system.force_ssl is enabled
* Blueprint for force_ssl option
* Add default false for force_ssl
2016-07-20 17:33:29 +02:00
Benny
496be79aa1
Improved authorize Twig extension ( #948 )
2016-07-20 15:00:15 +02:00
Djamil Legato
c0fcac3393
Fixed Folder::delete method to recursively remove files and folders and causing Upgrade to fail.
2016-07-19 11:16:13 -07:00
Andy Miller
6e6ff7c0b4
version update
2016-07-16 11:07:45 -06:00