Tim
c5a89112b4
Use PCRE_UTF8 so unicode strings don't break up.
...
The `Truncator`-class fails when the truncated text contains unicode characters with a nice exception:
"DOMDocumentFragment::appendXML(): Entity: line 1: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xC3 0xE2 0x80 0xA6"
By using the `PCRE_UTF8` modifier `u` everything is UTF8 and all is fine.
2015-11-12 00:13:21 +01:00
Flavio Copes
94ec474ffa
Merge branch 'develop' into feature/nonce
2015-11-11 17:47:57 +01:00
Flavio Copes
da4593fdc1
Drop commented referrer code
2015-11-11 17:13:54 +01:00
Flavio Copes
b8413cefaf
Avoid having to deal with slashes in URLs
2015-11-10 17:34:23 +01:00
yaman-jain
51753f0716
remove unused 'use' statements
2015-11-10 18:24:01 +05:30
yaman-jain
b7ada873b8
remove duplicate key
2015-11-10 17:34:01 +05:30
Benny
ed8b08a9e4
Fixes #432 (Theme autoloading doesn't seem to work)
2015-11-10 11:19:30 +01:00
Flavio Copes
e1fdb6803d
Add nonce functionality
2015-11-06 15:31:49 +01:00
Andy Miller
5cb9f2f42f
Merge pull request #419 from hwmaier/feature/empty-inline-assets
...
Don't create <style> or <script> tags for empty inline CSS or inline JS
2015-11-06 10:08:10 +05:30
Barış ÇELİK
050512536a
added "Turkish" language
2015-11-05 08:42:24 +03:00
Henrik Maier
99207fca13
Don't create <style> or <script> tags for empty inline CSS or inline JS
2015-11-05 13:37:06 +10:00
Flavio Copes
55890b4fd8
Merge branch 'develop' into feature/introduce-user-groups
2015-11-04 14:54:56 +01:00
Flavio Copes
6fdfaccc92
Add blueprints
2015-11-04 14:54:47 +01:00
Flavio Copes
76e01e7aea
Minor fix
2015-11-04 14:44:21 +01:00
Flavio Copes
87378562ea
Fix error when logging in with a non-existing username
2015-11-03 14:35:11 +01:00
Andy Miller
77d80f12f3
Fix for untranslated validation messages #246
2015-11-02 17:28:46 -07:00
Flavio Copes
e400207a65
Fix https://github.com/getgrav/grav-plugin-admin/issues/249 , password not required any more. If not set, it's not changed. If set, it's changed (if it satisfies the requirements)
2015-11-02 18:57:16 +01:00
Andy Miller
4b68036a1b
Fixed assets stream for bin/grav clear
2015-11-01 20:52:14 -07:00
Henrik Maier
a95b716aa7
Return resource even if not physically present
2015-11-01 19:43:54 -07:00
Henrik Maier
dc8efded34
Use streams instead of hardcoded paths for clearCache()
2015-11-01 19:43:53 -07:00
Andy Miller
e016b17276
Revert "Use streams instead of hardcoded paths for clearCache()"
...
This reverts commit a86ce7cb28 .
2015-11-01 19:24:46 -07:00
Andy Miller
b99876f0b4
Revert "Return resource even if not physically present"
...
This reverts commit b3144ee921 .
2015-11-01 19:24:39 -07:00
Andy Miller
66abc842b7
Merge branch 'develop' of https://github.com/getgrav/grav into develop
2015-11-01 18:34:41 -07:00
Andy Miller
9f36158c67
Merge pull request #405 from hwmaier/feature/trailing-slash
...
Added support for default routes with a trailing slash
2015-11-01 18:34:31 -07:00
Andy Miller
18c1ca3919
added 'theme' to config containing current theme configuration so now possible to just to {{ config.theme.dropdown_enabled }} #406
2015-11-01 18:32:55 -07:00
Andy Miller
55f3b78ab1
Merge pull request #393 from hwmaier/feature/image-height-width
...
Support for width/height and style attributes to media and image files
2015-11-01 09:43:28 -07:00
Andy Miller
a73b796ca7
Merge pull request #407 from hwmaier/feature/enable-progressive-bug
...
Clear previously applied operations when doing a reset on image files to avoid calling filters twice
2015-11-01 09:42:29 -07:00
Andy Miller
bb0bca7ef1
Merge pull request #408 from hwmaier/feature/clear-cache
...
Use streams instead of hardcoded paths for clearCache()
2015-11-01 08:53:54 -07:00
Henrik Maier
b3144ee921
Return resource even if not physically present
2015-11-01 18:55:33 +10:00
Henrik Maier
a86ce7cb28
Use streams instead of hardcoded paths for clearCache()
2015-11-01 17:50:23 +10:00
Henrik Maier
ccf2a780b6
Clear previously applied operations when doing a reset on image files
2015-11-01 10:26:56 +10:00
Henrik Maier
b0c1dbe4b7
Added support for default routes with a trailing slash
2015-10-31 16:21:05 +10:00
Andy Miller
467d68344e
added a default umask_fix property to system.yaml
2015-10-30 11:42:36 -06:00
Andy Miller
3d7fa06129
version update
2015-10-29 21:52:52 -06:00
Andy Miller
49d4fbcf3d
fix for non-existing page with collection @page: /something format
2015-10-29 21:50:58 -06:00
Andy Miller
fc18a40c35
fixed double bang
2015-10-29 20:03:19 -06:00
Andy Miller
1e81d5e38c
whitespace tweak
2015-10-29 16:34:30 -06:00
Andy Miller
8ba49e163d
version update
2015-10-29 14:06:54 -06:00
Benny
929b0806dc
Addresses # 12 (form-plugin) Trim fields before validation
2015-10-29 16:58:41 +01:00
Flavio Copes
3e32e61db1
Revert "Add a items() method that returns the Data::items array"
...
This reverts commit fafd72fcd8 .
2015-10-29 14:59:11 +01:00
Benny
9445aa43e6
Fix #395 (Problem with default language and slugs that is starting with language name)
2015-10-29 13:44:29 +01:00
Henrik Maier
bb16dbab78
Remove debug error_log output
2015-10-29 13:02:22 +10:00
Henrik Maier
8f9671ad32
Allow width and height attributes to be added to Markdown and Twig image tags
2015-10-29 12:53:00 +10:00
Henrik Maier
c87e3f419d
Allow inline styles to be added to Markdown and Twig image tags
2015-10-29 12:52:24 +10:00
Andy Miller
07b2767ac9
Changed collection types from .recurse to .descendants
2015-10-28 20:52:22 -06:00
Andy Miller
ebf9bb5c18
Improved collection support #384
2015-10-28 13:33:35 -06:00
Andy Miller
70b67a0805
Created whitelist for fallback route functionality
2015-10-28 10:39:15 -06:00
Flavio Copes
7e540e0623
Merge branch 'develop' into feature/introduce-user-groups
...
Use the new isPositive() method to check permissions
2015-10-28 11:00:48 +01:00
hwmaier
5260c181a1
Asset management uses now streams rather the constant ASSETS_DIR to configure location. In addition it supports subdirectories for assets location, for example assets/runtime.
2015-10-28 13:15:03 +10:00
Andy Miller
abf6d6638e
version update
2015-10-27 14:47:27 -06:00