1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-25 23:56:41 +02:00

2927 Commits

Author SHA1 Message Date
Ryan Cramer
5235ab2a89 Add $session->getVal() methods which work the same as get() but let you speicfy the fallback value 2019-06-07 12:11:52 -04:00
Ryan Cramer
26435563d3 Add new $sanitizer->attrName() method and some other optimizations to Sanitizer class 2019-06-07 12:11:03 -04:00
Ryan Cramer
f6c210f686 Various minor updates 2019-06-07 12:08:55 -04:00
Ryan Cramer
a88c6a49c7 Fix issue where using crop/resize tools on an image within a NESTED repeater item would not save the changes after clicking the Save button in the page editor. 2019-06-04 09:30:35 -04:00
Ryan Cramer
ad2f60b544 Settings label typo fix in InputfieldRepeater.module 2019-05-26 08:39:37 -04:00
Ryan Cramer
4b733af0bf Fix issue with repeater item settings toggle and visibility (as used by RM) not working when ajax repeater item starts collapsed 2019-05-26 08:34:35 -04:00
Ryan Cramer
680d885abb Bump version to 3.0.132 2019-05-24 16:29:44 -04:00
Ryan Cramer
d8bbde74d7 A couple other ImageSizerEngine adjustments for webp 2019-05-24 14:22:07 -04:00
Ryan Cramer
50f8024ba3 Additional updates to PR #141 expanding WEBP support 2019-05-24 12:20:13 -04:00
Ryan Cramer
bbd3aba191 Merge branch 'horst-n-webP-support' into dev 2019-05-23 15:50:21 -04:00
Ryan Cramer
9964473776 Updates to @horst-n PR #141 for webp image support 2019-05-23 15:49:06 -04:00
Ryan Cramer
7f218c6a6b Merge branch 'webP-support' of https://github.com/horst-n/processwire into horst-n-webP-support 2019-05-22 14:49:45 -04:00
Ryan Cramer
0fd6a2aaed Update RepeaterPage class with methods to identify root forField and forPage in nested repeaters 2019-05-22 14:03:34 -04:00
Ryan Cramer
73f0c915de Various minor primarily phpdoc updates 2019-05-22 14:03:03 -04:00
Ryan Cramer
2b7f80d575 Several major improvements to WireTextTools::markupToText() method, plus related updates in Sanitizer and WireMail classes 2019-05-22 13:50:12 -04:00
Ryan Cramer
f1d5f12835 A couple of minor adjustments 2019-05-17 13:26:38 -04:00
Ryan Cramer
bac9736e49 Update WireHttp::sendFile() to support a 'data' option that lets you provide a string of content to send as a download, rather than pulling from existing file. 2019-05-17 13:21:12 -04:00
horst-n
6e580f71e1 changed the return of webpUrl()
to return the calculated URL, even if there is no webp copy available!
2019-05-04 18:42:11 +02:00
horst-n
88d4b11db4 added object as output format to the getDebugInfo
I figured out that this is useful to have for (automated) testing and debugging too. It is much easier to get a value for conditional coding via an object:
```
$dbgInfo = $image->getDebugInfo($options, 'object');
if($dbgInfo->engines->selectedEngine == ....
```
2019-05-04 11:21:58 +02:00
Ryan Cramer
f83b4ae259 Bump version to 3.0.131 2019-05-03 15:11:41 -04:00
Ryan Cramer
2880ff6d57 Various minor updates, mostly phpdoc related 2019-05-03 11:59:18 -04:00
Ryan Cramer
3a094f6447 Adjustment to WireTextTools::markupToText() method to prevent it from adding redundant newlines 2019-05-03 11:54:54 -04:00
Ryan Cramer
12f6253af6 Update WireHttp::sendFile() method to support partial downloads or ranges via HTTP_RANGE headers. Browsers use this particularly with media files (audio/video), especially Safari and iOS devices. But this also enables partial and pause/resume of any kind of downloads. 2019-05-03 11:40:29 -04:00
horst-n
d361c6c11e added a webp support check for engines
see: https://processwire.com/talk/topic/14236-webp-support/page/3/?tab=comments#comment-185020
2019-05-03 13:54:04 +02:00
horst-n
fa917b30e0 fixed a bug with internal checking
if a webp copy exists or not. Using $this->hasWebp() within the resize method doesn't work. Changed to test for file_exists of the temporary webp copy.
2019-05-02 10:37:08 +02:00
horst-n
b46bdfea94 updated font-family with more monospace fonts 2019-04-29 19:29:53 +02:00
horst-n
e8e2594d3e force new creation for condition
where the regular variation exists and should not be recreated, but where a webp copy, that do not exist, is requested too.
2019-04-29 17:30:06 +02:00
horst-n
540ae4f2d9 rearanged and grouped the output of getDebugInfo 2019-04-29 16:51:57 +02:00
Ryan Cramer
f2dbdb118e Fix issue processwire/processwire-issues#865 and processwire/processwire-issues#864 2019-04-29 10:07:49 -04:00
horst-n
53c414aa60 reworked the getDebugInfo method,
trying to make the code more readable.
But the main goal for me is, that the output is best readable! :)
2019-04-27 23:15:44 +02:00
horst-n
d062bc4345 added to phpdocs 2019-04-27 23:13:26 +02:00
horst-n
e6f4fbcb40 minor changes and cleaning phpdoc 2019-04-27 23:12:37 +02:00
horst-n
ba6803f425 refactored getDebugInfo() method 2019-04-27 13:21:07 +02:00
horst-n
32afdbdf52 cleaning up a bit 2019-04-27 11:55:50 +02:00
horst-n
1b96368aa2 cleaning and beautyfying 2019-04-27 10:46:39 +02:00
horst-n
a4431829d9 added method and property webpFilename 2019-04-27 10:37:10 +02:00
horst-n
ec2c2cf4e0 cleaning minor things and whitespaces
and added "Options Hierarchy" to the getDebugInfo method
2019-04-27 10:27:07 +02:00
horst-n
8da54040d4 added a verbose debug method
that can be called manually on every imagevariation and with individual options array.
2019-04-27 00:36:42 +02:00
horst-n
ebe7a5d80f added a verbose debug info method 2019-04-27 00:30:58 +02:00
horst-n
a6aa39d75d added webp params to imagesizerOptions 2019-04-26 19:01:05 +02:00
horst-n
9f01172a4b added 2 aliases
beginning with webp, as we also use two new options beginning with webp. Maybe this is better to avoid confusion.
webpAdd, webpQuality, webpUrl, webpSrc
2019-04-26 18:32:23 +02:00
horst-n
04135462c8 refactored webp creation and compression 2019-04-26 18:11:04 +02:00
horst-n
023a672e26 Update Pageimage.php 2019-04-25 11:01:57 +02:00
horst-n
232f66dedf minor changes 2019-04-25 11:01:31 +02:00
horst-n
35b9a403e1 rearranged code for webP saving 2019-04-25 11:01:13 +02:00
horst-n
4e534e0315 add property and method for webpAdd 2019-04-25 08:59:58 +02:00
horst-n
8a63886da1 remove debug code 2019-04-25 00:41:47 +02:00
horst-n
b531275a6e make more robust filename creation
and remove debug code
2019-04-25 00:41:14 +02:00
horst-n
f3f4e427b0 changed to more robust filename creation 2019-04-25 00:21:09 +02:00
horst-n
a5a101a456 documentation for webp properties 2019-04-24 23:40:16 +02:00