Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/openemr/mustache.php

A Mustache implementation in PHP.
https://github.com/openemr/mustache.php

Fixes #1 Needed context in one more spot.

Had to add the context injection at the object level as well.

936596936d306725f34bb13f11e9a16bdbe99887 authored almost 3 years ago by Stephen Nielson <[email protected]>
Update composer package information

2877a0fbf1a6497ad0f60e284d93dd45a2ff9927 authored almost 3 years ago by Stephen Nielson <[email protected]>
Fixes #1 Added context to lambda callback.

Wrote out unit tests and added in the context as an additional parameter
passed to the lambda he...

c88054ff39faaaf3c2b3ce0452658353201a4833 authored almost 3 years ago by Stephen Nielson <[email protected]>
Merge branch 'release/2.14.1'

c9718673e53f64b2e999886469e21813b7548785 authored almost 3 years ago by Justin Hileman <[email protected]>
Bump to v2.14.1

d36cd805c41dd21710a4ce9f2f385eeb51aacaba authored almost 3 years ago by Justin Hileman <[email protected]>
Fix CVE-2022-0323 (improper neutralization of section names)

- Fixes possible RCE when rendering untrusted user templates.
- Remove unnecessary comments in g...

579ffa5c96e1d292c060b3dd62811ff01ad8c24e authored almost 3 years ago by Justin Hileman <[email protected]>
Explicitly treat `null` as an empty string when interpolating.

Fixes a deprecation warning on PHP 8.1+, and saves us some unnecessary escaping calls!

Thanks f...

076209772dda21cbfdbf5ef99d202a0937da4826 authored almost 3 years ago by Justin Hileman <[email protected]>
Remove unused variable.

7fd191f730de20d4dde8f4d154ffedc6f4a39531 authored almost 3 years ago by Justin Hileman <[email protected]>
Only check for mbstring.func_overload in < PHP 8.x

Fixes #385

e7165a33b282ab4d20b3863825caadb46313d62b authored about 3 years ago by Justin Hileman <[email protected]>
Fix PHP 8.1 deprecation warning when user lambdas do not return a string

Fixes #382

26c8a448fcac3c9094a3a20604f8a073838bf872 authored about 3 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.14.0'

4e2724dd40ae9499a55e7db7df82665be0ab7e34 authored about 3 years ago by Justin Hileman <[email protected]>
Bump to v2.14.0, bump spec version to 1.2.2

3ce0ee0ec1171bdbd4be5d0743dcdb9cc2ed73a8 authored about 3 years ago by Justin Hileman <[email protected]>
Merge pull request #380 from schlessera/fix/trim-php-8.1

Avoid using trim() on null

63616440f7206e4a88970f12a1e5fe0981e704b6 authored about 3 years ago by Justin Hileman <[email protected]>
Update readme link

Fixes #377

d6340c85ef8fc137f17ac7cd408885a59ee82035 authored about 3 years ago by Justin Hileman <[email protected]>
Brevity.

1a125dfe254cbfd85ab5690ed9fa896f885e51e6 authored about 3 years ago by Justin Hileman <[email protected]>
Merge pull request #376 from samizdam/patch-1

Update README.md

fc91860ffafc8d18c0c5d102721ab1d3180db8dc authored about 3 years ago by Justin Hileman <[email protected]>
Add tests

10a6c7ce52e9596e929fac08050b09f4d9b33596 authored about 3 years ago by Alain Schlesser <[email protected]>
Ensure $delimiters is a string before trimming

09adfdec7667c432198b8a9d13bccab7892fd3c5 authored about 3 years ago by Alain Schlesser <[email protected]>
Avoid using trim() on null

d5499fc8fcb953251b8477af02d0e113deb56e2e authored about 3 years ago by Alain Schlesser <[email protected]>
Run spec inheritance tests.

3a65e8adf37637c953f7c56b0d37fcae2e2dd238 authored about 3 years ago by Justin Hileman <[email protected]>
Updating to mustache spec v1.2.2

87cfdabec8ab831d0976b4e2e3b60a3a1a2a1496 authored about 3 years ago by Justin Hileman <[email protected]>
Update README.md

Fix mustache home page link.

d819f0379ca668ab735af627c5c0fe10e9635dbe authored over 3 years ago by samizdam <[email protected]>
Add missing `setLogger` to Mustache_Cache interface.

Fixes #358

db2bc776c4d01665eb9b7e0e3259b0b9a2d20e84 authored over 3 years ago by Justin Hileman <[email protected]>
Throw a Mustachey runtime exception from filesystem source.

Fixes #370

799c0f40fd33bfd4b00d1a4cf17855a74caca88e authored over 3 years ago by Justin Hileman <[email protected]>
Merge pull request #343 from Rarst/patch-1

Adjusted log level argument type

d2503c7a290deb575fd02aff69ca4d442dcdae83 authored over 3 years ago by Justin Hileman <[email protected]>
Merge pull request #365 from fezfez/patch-1

Add .gitattributes

bbdf0aeabf9e0bfaab408b31ae6b3cac7459d974 authored almost 4 years ago by Justin Hileman <[email protected]>
Add .gitattributes

7221178da795b7f947d4996ed734d707bcf38ac7 authored about 4 years ago by Stéphane <[email protected]>
Merge pull request #354 from Kirill89/master

Add security recommendation to README.md

5ec3021ab93231c1a137aecdd9ee5444115d1560 authored almost 5 years ago by Justin Hileman <[email protected]>
Add security recommendation to README.md (fixes #353)

e0a45d926b9f624f630113e11ac5f9d7b8bffe47 authored about 5 years ago by Kirill Efimov <[email protected]>
Merge branch 'release/2.13.0'

e95c5a008c23d3151d59ea72484d4f72049ab7f4 authored about 5 years ago by Justin Hileman <[email protected]>
Bump to v2.13.0

819a3e1e46cd09d7f5d7ecc0412d136cadd0a9f6 authored about 5 years ago by Justin Hileman <[email protected]>
Merge branch 'Ennexa-master' into dev

397a47ec4ed37a923e66c388bb52d1aa07bd8281 authored about 5 years ago by Justin Hileman <[email protected]>
Let 7.4 snapshot fail for now

a04f70e8b5b4eb76bd7e74bf65dee7e91550ae30 authored about 5 years ago by Justin Hileman <[email protected]>
Prevent array access on null value

Fix 'Trying to access array offset on value of type null' notice on PHP
7.4

6d28b0b28d941ac766092b13f65e56d63b782154 authored about 5 years ago by Joyce Babu <[email protected]>
Moar PHPs!

778906301cca57c27bf6446b47c775d034bffc50 authored about 5 years ago by Justin Hileman <[email protected]>
Fix PHP 5.4 and 5.5 on CI

916b13e060dbd26b734113242639c2d8122f12ca authored about 5 years ago by Justin Hileman <[email protected]>
Let HHVM fail /shrug

4c28410c3a3522450ab13a05e92e7ca824741c6c authored over 5 years ago by Justin Hileman <[email protected]>
Improve Tokenizer::scan performance by 98.2%.

- Checking the first character of the opening and closing tags is >90% faster than baseline for ...

72d07520ec171c403f2d6d26a3ca33fa95be2c52 authored over 5 years ago by Justin Hileman <[email protected]>
Fix delimiter parse error, and throw a syntax error when invalid.

The mustache spec has a test case that _should_ have caught this:

https://github.com/mustache/s...

bbb43caa1a619ddb8da943146c3e24d543e09335 authored over 5 years ago by Justin Hileman <[email protected]>
Adjusted log level argument type.

bfb6d7732e7d56fefbf792c2405727a89b15afd6 authored about 6 years ago by Andrey Savchenko <[email protected]>
Merge pull request #333 from Enalean/php-7.2

Run tests against PHP 7.2 on Travis CI

8e77785883323d824f9fb0dfb29f7825082e5df7 authored about 7 years ago by Justin Hileman <[email protected]>
Run tests against PHP 7.2 on Travis CI

PHP 7.2 has been released as a stable version [1]

[1] https://secure.php.net/archive/2017.php#i...

d65edafb85a5cae558b378174e0acd3e892f13ba authored about 7 years ago by Thomas Gerbet <[email protected]>
Merge pull request #328 from madflow/patch-1

(chore) Fix the Travis build

ecb9fb7373766c3c9da35b51457a93dbad8b8b84 authored over 7 years ago by Justin Hileman <[email protected]>
(chore) Fix the Travis build

d5dbc59a4cc8e82b7608fbf5290f9e21525fb75c authored over 7 years ago by madflow <[email protected]>
Merge branch 'release/2.12.0'

fe8fe72e9d580591854de404cc59a1b83ca4d19e authored over 7 years ago by Justin Hileman <[email protected]>
Merge branch 'master' into release/2.12.0

994abcaf644f58b84be4d608f956dff9b0225c24 authored over 7 years ago by Justin Hileman <[email protected]>
Bump to v2.12.0

8c261cf50f2dd12b7a95ecece28a6f1feafad444 authored over 7 years ago by Justin Hileman <[email protected]>
Minor CS fix.

2540de2db2439621ee3a5f1cc6e47d8eca0941ce authored over 7 years ago by Justin Hileman <[email protected]>
Add validation to prevent empty template_class_prefix.

Fixes #298

55e6ac81bae2517521518d192cd3dfba25fcb7f8 authored over 7 years ago by Justin Hileman <[email protected]>
Improve prod filesystem loader test coverage.

933554098a6fe5fcb233f4c9716b074ba410f6a9 authored over 7 years ago by Justin Hileman <[email protected]>
Swallow errors on `stat` in FilesystemSource.

7434e97df5662d0c9c5d02ec679ca9e7169798e0 authored over 7 years ago by Justin Hileman <[email protected]>
Fix a comment that had become a lie.

89987ac89076f3a8f08863d558b94be2f8da211f authored over 7 years ago by Justin Hileman <[email protected]>
Mark a few things we can't really get code coverage for.

6a527de467311833ad7300a0ee231bd80cc95256 authored over 7 years ago by Justin Hileman <[email protected]>
Add an example for anchored dot notation.

14ff48584ab77916bd23b101e51f99714eeb8d76 authored over 7 years ago by Justin Hileman <[email protected]>
Remove unused internal compiler arg.

We stopped passing it in 11ad87ae but missed the cleanup.

2b76cbeb667472e403042c42dd956eb89603ab70 authored over 7 years ago by Justin Hileman <[email protected]>
Bump copyright year.

324f1db9633070f26643fb573fd075d0afdb3bdd authored over 7 years ago by Justin Hileman <[email protected]>
Custom delimiters tweaks.

* Add basic test for custom delimiters
* Keep default delims backwards compatible

b9f04e5d26934cf07fa819378d468b456614419a authored over 7 years ago by Justin Hileman <[email protected]>
Merge branch 'feature/production-filesystem-loader' into dev

f459a6ed3fd4c659faec31abe226e563d34ce327 authored over 7 years ago by Justin Hileman <[email protected]>
Clean up Source implementation a bit.

Make it work with new template class name logic.

556b8e67b857afcec84916f6231862213e7f82ec authored over 7 years ago by Justin Hileman <[email protected]>
Add stat() options to ProductionFilesystemLoader

* By default, continue to use `size` and `mtime` to invalidate template cache
* Allow overridi...

1514e0c2cd538b5264ce4bdc3469f7cd3a2eab64 authored over 7 years ago by Justin Hileman <[email protected]>
Initial production FilesystemSource implementation

See #290

ca19ba467e82baae32ab9aa516b44b28435c0208 authored over 7 years ago by Justin Hileman <[email protected]>
Add `delimiters` option docs.

31523441e110d307e3bba09a079e3e7f4ff3dffd authored over 7 years ago by Justin Hileman <[email protected]>
CS fixes.

44489124a12403f299fc91f3e93611e4c2ea58d8 authored over 7 years ago by Justin Hileman <[email protected]>
support for delimiters configuration

329146d8641e217e2315f0a1525adc7d2e2fd838 authored over 7 years ago by Jager Mesh <[email protected]>
Update generated class name for delimiters option.

Add some docs there, make it slightly easier to update the generated class name.

ccb2b0931706888cd9c200c1ec6f84ce86585790 authored over 7 years ago by Justin Hileman <[email protected]>
o right, test all the versions we support.

b6a480df228b20e3e05b5a34aa82c859a0be4388 authored over 7 years ago by Justin Hileman <[email protected]>
Add a failing test case for #322

9e34408bda6b3d950ccf86c2d626402cec5c68d5 authored over 7 years ago by Justin Hileman <[email protected]>
Fix Travis PHP 7 and HHVM builds.

40646e4aea58c8953d6d59f0b842f038072cc620 authored over 7 years ago by Justin Hileman <[email protected]>
Use a local $blocksContext for each parent render.

... rather than a shared one per template / section / block that accidentally keeps old block co...

09241edd52bab2ac6b78c21919f060c680aa4e8e authored over 7 years ago by Justin Hileman <[email protected]>
Suppress `else` when rendering empty block defaults.

44baf86426397429f293b63cefb8dd298a986649 authored over 7 years ago by Justin Hileman <[email protected]>
Merge pull request #305 from hcpss-banderson/feature/avoid-multuple-autoloaders

Prevent redundant autoloader registerations. Fixes #304

bd39afffef30134ab33f8a63051327de8810ed23 authored about 8 years ago by Justin Hileman <[email protected]>
Prevent redundant autoloader registerations. Fixes #304

7cb5f3f08f044ae5049896a9b3902f8855529299 authored about 8 years ago by Brendan Anderson <[email protected]>
Merge branch 'release/2.11.1' into dev

2bdb23db9422ff96b38e90f38e9711535f2d7e7d authored over 8 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.11.1'

a3f6d55996dd28b58f3a909d474189a3c1aa693f authored over 8 years ago by Justin Hileman <[email protected]>
Bump to v2.11.1

87e87e29feef10afe1d431171980049528a1b84f authored over 8 years ago by Justin Hileman <[email protected]>
Fix test bootstrap in PHP < 5.5

0803fa688b27a267635795bfb66fbfa3782bfcda authored over 8 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.11.0' into dev

94a72ec3d203b50c7c6b6131c1af4ee06fb3298a authored over 8 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.11.0'

789904e952cd83d74980e2c271fe9f01a23a3c2d authored over 8 years ago by Justin Hileman <[email protected]>
Bump to v2.11.0

cf4e4c78573f0f1e674fa4114ac329f3eb579d01 authored over 8 years ago by Justin Hileman <[email protected]>
Always check is_dir() and file_exists() with filesystem streams.

d4bdf110f9dc7f19aa2c4a53d26115ea5c76504d authored over 8 years ago by Justin Hileman <[email protected]>
Minor code style fixes.

58f2401d4d39e891e36cca00d26a152443e442c3 authored over 8 years ago by Justin Hileman <[email protected]>
Remove all the extra spaces StyleCI wanted me to add :)

18a2adce3d22e4383d30010ff3080adebd297e7a authored over 8 years ago by Justin Hileman <[email protected]>
Protocol-based test with a protocol other than "file://"

eeee916433ccffb6c9c3ab6f082945848a9c6e4f authored over 8 years ago by Olav Schettler <[email protected]>
Allow to load non-local templates

fee4544785c635a58a53765325805a54e3433d86 authored over 8 years ago by Olav Schettler <[email protected]>
Add StyleCI badge to README.

6f6e3b9ddbe1c2365fb5b1e6775284251dea9485 authored over 8 years ago by Justin Hileman <[email protected]>
Various style cleanups.

* a bunch of small changes, courtesy of styleci
* update dates in file headers
* add file hea...

01777faf6eb7de8c9bf0aa47a44bbdcb267e4c45 authored over 8 years ago by Justin Hileman <[email protected]>
Drop the php-cs-fixer business on Travis.

That's what StyleCI is for.

41edfcb9e2492ce41bf9d9b09b9c3d02f6ac274d authored over 8 years ago by Justin Hileman <[email protected]>
Switch to friendsofphp's cs fixer package

174f0da5ce4c64ba25d79f62d084a54d1b77a85b authored over 8 years ago by Justin Hileman <[email protected]>
Code style fixes.

b2b282dfef572730a62ddac997a88350cc3d8f65 authored over 8 years ago by Justin Hileman <[email protected]>
Support parent tags and block args as direct children of blocks and sections.

Fixes #294

Drive-by: rename blocks context variable to something more descriptive.

051f857197b085eb8dc57480939a6480317b7ca5 authored over 8 years ago by Justin Hileman <[email protected]>
Add a failing test case for #294

21d553fc0262525fbde570367fc2517a98e314ac authored over 8 years ago by Justin Hileman <[email protected]>
Fix incorrect method name case.

1de789820063f2dd6e73f5bc348df651e775afaf authored over 8 years ago by Justin Hileman <[email protected]>
Merge pull request #288 from thewilkybarkid/exception-previous

Add exception chaining

4aa31aca566e12060ea318e95705c502eaae4ff6 authored almost 9 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.10.0' into dev

f7b969acc82f2bb55d0349ee30570b19c500a66e authored almost 9 years ago by Justin Hileman <[email protected]>
Merge branch 'release/2.10.0'

0bb2f76e2f34a8864a32be34c4ec66274d76c05e authored almost 9 years ago by Justin Hileman <[email protected]>
Bump to v2.10.0

a9dd4c62ae79130b994a9190d3dfd797754f2c0f authored almost 9 years ago by Justin Hileman <[email protected]>
Add exception chaining

c858bb1f1a8b1dec531a7ffa5716c8460df40f1c authored almost 9 years ago by Chris Wilkinson <[email protected]>
Make LambdaHelper invokable.

Fixes #285

865de4114adf42368782810c267c33abb1d896d6 authored almost 9 years ago by Justin Hileman <[email protected]>
Fix php-cs-fixer issue.

3c53736f09e772df8c9d81ddc62c1c901f15f572 authored almost 9 years ago by Justin Hileman <[email protected]>
Use latest PHPUnit dev dependency.

4dd6383a3d4525048005724d711f09cb02f6b027 authored almost 9 years ago by Justin Hileman <[email protected]>