Commit Graph

204 Commits

Author SHA1 Message Date
pmoreno.rodriguez
346d194125
New Trait for fetchPriority attribute in images (#3850) 2024-10-25 10:42:20 +01:00
pmoreno.rodriguez
ad8b1b79bd
New Trait for decoding attribute in images (#3796)
* New Trait for decoding attribute in images

* Update comments info

* decoding default in system/config/system.yaml and system/blueprints/config/system.yaml for the images.defaults.decoding value

* Fixed predefined option in the decoding attribute
2024-02-03 13:24:12 -07:00
Andy Miller
259e775db8
Added languages debug option 2023-06-08 14:50:52 -06:00
Andy Miller
8e6b823833
massive change! 2022-10-05 06:38:32 -06:00
Andy Miller
51a386e252
Fix bad default page stream 2022-09-22 17:40:35 -06:00
Andy Miller
01264ef70d
initial commit 2022-09-22 12:36:36 -06:00
Paweł Bogusławski
b9800b7c35
Allow to configure syslog tag (#3596)
* Allow to configure syslog tag

Author-Change-Id: IB#1120629

* Update InitializeProcessor.php
2022-06-15 10:38:59 -06:00
Andy Miller
41b8fbb0e0
Update changelog + Accounts in sidebar 2022-03-08 10:45:44 -07:00
Andy Miller
9fd580c49b
Alternative Multiavatar Approach (#3551)
* Support multiavatar by default

* Support custom hash string
2022-03-08 09:45:41 -07:00
Andy Miller
03f71fa49d
rolled back but fixed the Utils::url() functionality 2022-03-04 15:37:03 -07:00
Andy Miller
4f92568171
Added system config option legacy_url_root_behavior 2022-03-03 13:16:48 -07:00
Andy Miller
c962201bae
initial js module support in assets 2022-01-09 13:29:40 -07:00
Matias Griese
90f5ff7c74 Use secure session cookies in HTTPS by default (system.session.secure_https: true) 2021-12-08 17:38:16 +02:00
Andy Miller
7dc6b71252
whitespace 2021-10-26 11:39:15 -06:00
Ricardo Verdugo
fd61f82f5a
Watermark Media Action (#3308)
* added gregwar merge media action and watermark media function

* remove the dump left by accident

* added scaling to the watermark

Co-authored-by: Ricardo <ricardo@urbansquid.london>
Co-authored-by: Andy Miller <1084697+rhukster@users.noreply.github.com>
2021-10-21 06:31:33 -06:00
Andy Miller
07bd1e03d0
Better backwards compatibility 2021-10-01 11:42:41 -06:00
Andy Miller
75ef1341eb
Added new HTTP\Client class for more general use 2021-09-30 17:39:49 -06:00
Andy Miller
90f5635478
Switch to JQuery 3.x rather than 2.x 2021-06-15 10:15:12 -06:00
Djamil Legato
39247ac7ef
Updated blueprints inline-docs for clear_images_by_default 2021-06-02 23:35:04 -07:00
Andy Miller
7f23b088a4
set clear_images_by_default to false by default 2021-05-25 11:27:13 -06:00
Matias Griese
2ef4c28401 Added configuration options to allow PHP methods to be used in Twig functions 2021-04-09 21:31:45 +03:00
pamtbaau
e02d298ff4
Add option images.defaults.size to set default height/width (#3272)
* Add option images.defaults.size to set default height/width

- Add option to config/system.yaml
- Add option to blueprints/config/system.yaml
- Add ImageSizeTrait.php
- Add ImageSizeTrait to ImageMedium.php
- Add Unit tests

* moved width/height to rendering phase

* Add test: height/width should be of resized image.

* Added optional apsect-ratio variable

* more improvements

* Added aspectRatio and retinaScale image functions

* remove use for old trait

* reset the CLS variables after calling reset on the image

Co-authored-by: Andy Miller <rhuk@mac.com>
2021-04-05 11:21:03 -06:00
Matias Griese
ec661d2c15 Fixed page.html returning duplicated content with system.pages.redirect_default_route turned on [#3130] 2021-03-11 16:19:57 +02:00
Miguel Sales Pereira
3b6f5353fd
Add SRI integrity hash to assets (#3256)
* Added default setting to enable/disable assets SRI

* Added system options to enable/disable assets SRI

* Added integrityHash function to create asset SRI

* Output SRI integrity hash on CSS assets

* Output SRI integrity hash for JS assets

* Updated integrityHash visibility (protected => public)

* Add SRI integrity hash to CSS and JS pipelines

* Made integrityHash static
2021-03-08 10:51:51 -07:00
Matias Griese
49fca0da2b Added support for setting session domain [#2040] 2021-02-10 18:46:43 +02:00
Andy Miller
aa8778a0fb
added optional password/database attributes 2021-02-06 14:39:21 -07:00
Andy Miller
4d26acfd66
change testing -> stable in system.yaml 2021-01-20 12:55:20 -07:00
Matias Griese
589c9e4445 Enabled ETag setting by default for 304 responses 2020-12-22 18:43:13 +02:00
Matias Griese
ea358c239f Restored samesite cookies after merge from develop 2020-12-09 15:42:46 +02:00
Matias Griese
2cf90cc60b Merge branch 'develop' of github.com:getgrav/grav into 1.7
 Conflicts:
	CHANGELOG.md
	composer.json
	composer.lock
	system/blueprints/config/system.yaml
	system/defines.php
	system/src/Grav/Common/Page/Pages.php
2020-12-09 15:33:37 +02:00
Andy Miller
08304d5064
Revert "Allow to set SameSite from system.yaml (#3063)"
This reverts commit 0b41eea2bb.
2020-12-04 03:34:26 -07:00
Matias Griese
631e0e0f3f New sites have compatibility features turned off by default, upgrading from older versions will keep the settings on 2020-11-23 19:09:55 +02:00
randoum
11cd2b086e Allow to set SameSite from system.yaml (#3063)
* Update system.yaml
* Update SessionServiceProvider.php
* Update Session.php
* Update system.yaml
2020-11-17 13:10:12 +02:00
randoum
0b41eea2bb
Allow to set SameSite from system.yaml (#3063)
* Update system.yaml

* Update SessionServiceProvider.php

* Update Session.php

* Update system.yaml
2020-11-12 13:40:39 -07:00
Matias Griese
972d32c969 Added deprecation notice when using system.pages_fallback_only 2020-10-16 12:29:37 +03:00
Matias Griese
6f78c2288f Added missing languages.content_fallback configuration variable to system.yaml 2020-10-15 11:12:30 +03:00
Andy Miller
aaff2f486f
set default for auto-fix-orientation to true
Signed-off-by: Andy Miller <rhuk@mac.com>
2020-07-20 19:09:58 -06:00
Andy Miller
a65c21acba
Merge branch 'develop' into 1.7
Signed-off-by: Andy Miller <rhuk@mac.com>

# Conflicts:
#	CHANGELOG.md
#	system/blueprints/config/system.yaml
2020-06-04 14:46:54 -06:00
Andy Miller
bfbe4ce1b8
option to control supported attributes in markdown links
Signed-off-by: Andy Miller <rhuk@mac.com>
2020-06-04 14:42:38 -06:00
Andy Miller
ad1ecf21c3
Merge branch 'develop' into 1.7
Signed-off-by: Andy Miller <rhuk@mac.com>

# Conflicts:
#	system/blueprints/config/system.yaml
#	system/config/system.yaml
#	system/src/Grav/Common/Uri.php
2020-05-14 14:46:14 -06:00
Andy Miller
497ca2a5cd
Advanced Customization options for HTTP_X_FORWARDED headers 2020-05-14 14:43:52 -06:00
Andy Miller
4e578ed95e
Advanced Customization options for HTTP_X_FORWARDED headers 2020-05-14 14:32:07 -06:00
Andy Miller
148117edcb
Support for native lazy loading of images #2910 2020-05-14 12:33:46 -06:00
Matias Griese
11f9ba74e8 Added configuration option system.strict_mode.blueprint_compat to maintain old validation: strict behavior [#1273] 2020-02-24 20:24:25 +02:00
Matias Griese
80125ce298 Fixed system.translations: false breaking Inflector methods 2020-01-29 14:58:50 +02:00
Matias Griese
664447a67b Added Flex cache configuration options 2020-01-21 10:02:29 +02:00
Matias Griese
9c4eb549b7 Added missing system.include_default_lang_file_extension configuration option 2019-11-13 11:17:14 +02:00
Matias Griese
8b31ee173e Added configuration option for Flex Page, enabled experimental options in Admin Plugin 2019-08-16 15:49:58 +03:00
Matias Griese
e116998914 Added new system.debugger.censored configuration option to hide potentially sensitive information 2019-06-28 15:26:31 +03:00
Andy Miller
fe05c9b87b
clockwork debugger by default 2019-06-14 13:43:24 -06:00