Andy Miller
0e16a271b7
organization tweaks for system.yaml
2016-09-09 16:02:31 -06:00
Flavio Copes
9a68f0784d
Fix issue in calling page.summary when no content is present in a page
...
Related forum topic:
https://getgrav.org/forum#!/general:error-when-summary-is-emtpy
2016-09-09 14:50:12 +02:00
Matias Griese
8ca1d31b90
Twig variable base_url now supports multi-site by path feature
2016-09-09 13:24:49 +03:00
Matias Griese
cf3cd3d2d1
Follow symlinks in Folder::all()
2016-09-09 10:40:16 +03:00
Andy Miller
b6e785bd2a
Refactored onPageNotFound event to fire after onPageInitialized
2016-09-08 12:30:34 -06:00
Andy Miller
76f5b99c52
Quietly skip missing streams on clear
2016-09-08 09:09:15 -06:00
CSixtyFour
fd4c0d97a2
Update LanguageCodes.php ( #1030 )
...
added language orientation for a Persian and Urdu
2016-09-07 16:06:55 -06:00
Flavio Copes
2669e11c9d
Move media blueprints out of core
2016-09-07 17:04:43 +02:00
Andy Miller
ee6b270776
Typo in GPM::install command
2016-09-06 18:16:28 -06:00
Andy Miller
9651ad7ef1
Updated version for testing RC plugins
2016-09-06 17:29:06 -06:00
Andy Miller
a54f30b8ae
Revamped the Html Truncator code to address issues with invalid HTML #1019
2016-09-06 15:38:36 -06:00
Andy Miller
09cae00038
Moved Image filter() call to end of save action #984
2016-09-02 15:38:00 -06:00
Djamil Legato
68557a8248
Merge branch 'develop' of https://github.com/getgrav/grav into develop
2016-09-02 14:18:38 -07:00
Djamil Legato
1021674f61
Remove no longer needed files validator
2016-09-02 14:18:35 -07:00
Andy Miller
7eb76ee80c
Fix for memcached connection #1020
2016-09-02 08:45:12 -06:00
Matias Griese
24ef246391
Add a way to set environment from CLI
2016-09-01 21:27:08 +03:00
Andy Miller
36882e09dd
minor cleanup
2016-08-31 09:58:24 -06:00
Andy Miller
eb27e3e711
fix for bin/gpm index when filtered
2016-08-31 09:57:21 -06:00
Djamil Legato
dc882fffd8
Cleanup
2016-08-29 23:23:21 -07:00
Andy Miller
585a64f7ac
Remove useless extra collection cmd check
2016-08-29 18:21:12 -06:00
Djamil Legato
1bfe99b9cd
Allow Utils::setDotNotation to merge data, rather than just set.
2016-08-27 12:29:11 -07:00
Djamil Legato
ca5bfcaaed
Fixed regression with Sessions and its path. Forcing $domain when creating a new session
2016-08-25 16:27:20 -07:00
Andy Miller
d29aa79996
cleanup
2016-08-25 15:49:40 -06:00
Andy Miller
b1e940c7d9
removed accidental xdebug_break()
2016-08-25 14:57:07 -06:00
Djamil Legato
272ddcd831
Force creation of user, cache and log if they don’t exist
2016-08-25 13:51:25 -07:00
Djamil Legato
175f3e3f0e
Added override and force options for Streams setup
2016-08-25 13:47:14 -07:00
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