Luke Towers
f95d2529f9
Bust the cache on the AJAX framework asset URLs
2021-04-15 21:13:06 -06:00
Luke Towers
1e8cfb47af
Manual comb through and rebrand following up the bulk patch rebrand
2021-03-10 15:25:57 -06:00
Luke Towers
cfa763b714
Initial rebrand commit generated from the 1.0 rebrand branch patch file
2021-03-10 15:02:53 -06:00
Luke Towers
dca6128501
Change Twig template loading fallbacks
...
Previously:
- registered Laravel view file
- attempt to load file as a CMS partial
Now:
- registered Laravel view file
- valid CMS partials
- any file that Twig can access (from the project root) rendered as a plain twig template (but with support for the CMS twig environment)
Fixes 80aab47f04 (commitcomment-42223643)
, https://github.com/octobercms/october/issues/5261#issuecomment-691235167
2020-09-11 15:47:49 -06:00
datune
f98c71aa14
Replace Illuminate Dumper with Symfony Dumper ( #4998 )
...
See https://github.com/laravel/framework/pull/25087
2020-03-24 11:51:27 -06:00
Marc Jauvin
992e84e602
Add missing documentation comment blocks for fired events ( #4788 )
...
Credit to @mjauvin.
2019-11-24 23:59:00 -06:00
Dan Harrin
967fd02d8c
Fix minor spelling errors and inconsistencies ( #4543 )
...
Credit to @DanHarrin.
2019-08-15 11:39:26 +08:00
Luke Towers
99777f5977
Fix issue with AJAX framework load order on the frontend.
...
Partially reverts f4e50ddd1a
in response to https://github.com/octobercms/october/pull/4285#issuecomment-513566437 . Functionality can be re-added at a later date under an optional parameter added to the {% framework %} tag. Replaces https://github.com/octobercms/october/pull/4469
2019-07-29 16:30:14 -06:00
Ben Thomson
a59d3b83eb
Code quality clean up ( #4449 )
...
Credit to @bennothommo
2019-07-18 08:50:37 -06:00
Ayumi Hamasaki
ae5f1a4282
Clean up output of Twig dump() function ( #4460 )
...
Credit to @ayumihamsaki. Fixes #4446 .
2019-07-17 22:54:24 -06:00
Ayumi Hamasaki
f4e50ddd1a
Add new Performance API's to October CMS ( #4285 )
...
PR adds a new Priority Hints API, Preload API and async to the October CMS AJAX injected code and a new Priority Hints API to the loaded assets in the head section.
Credit to @ayumihamsaki. Related #4277 , #4030
2019-06-17 01:17:34 +03:00
Luke Towers
936525f99b
Always provide a string to TwigSource. Fixes #4209 .
2019-03-27 13:17:26 -06:00
Luke Towers
c86bec7f08
Replace deprecated Twig class references, refs: #4209 .
2019-03-27 13:15:17 -06:00
Tschallacka
852ea7d8d8
Added missing use statement ( #3041 )
...
Credit to @tschallacka
2018-11-23 00:36:06 -06:00
Luke Towers
10aa5a6296
Documented cms.template.processTwigContent
2018-10-11 19:28:17 -06:00
Nathan van der Werf
0f0d108da0
Remove unused imports
2018-08-24 19:51:59 +02:00
Nathan van der Werf
66fa03f17e
Revert "Remove unused imports"
...
This reverts commit 742a5f415bc45819b11c77402efc114fa2f4451e.
2018-08-24 19:40:40 +02:00
Nathan van der Werf
62c59a4903
Refactor ternary operators to null coalescing operators
2018-08-15 19:15:13 +02:00
Nathan van der Werf
bc17975634
Remove alias functions
2018-08-15 18:51:25 +02:00
Nathan van der Werf
742a5f415b
Remove unused imports
2018-08-15 18:27:36 +02:00
Jim Cottrell
bfee483805
Adds support for minifying framework assets ( #3240 )
...
Fixes #2753 . Credit to @jimcottrell
2018-07-05 17:57:17 -04:00
Arthur Kushman
c78b3ef786
Code formatting changes ( #3363 )
...
Code formatting improvements submitted by @arthurkushman.
2018-03-22 10:55:13 -06:00
Samuel Georges
0a428423af
Twig partial() function should not throw exception
...
This allows checking if a partial exists
2017-11-19 14:58:47 +11:00
Luke Towers
08f9cd8448
Moved the |media twig filter from the CMS module to the System module
2017-09-27 22:15:01 -06:00
Samuel Georges
18b9253bcb
Change to mail partial syntax
2017-07-26 17:48:00 +10:00
Luke Towers
647a656f67
Add more granular permissions for editing themes ( #2985 )
...
* Add more granular permissions for editing themes
* Fix component token parser exception message
2017-07-21 14:29:30 +10:00
Samuel Georges
e2781c5fdf
URL -> Url
2017-06-02 23:34:50 +10:00
Samuel Georges
6b74efa4b0
Improves the DebugExtension
...
It now uses the HtmlDumper from Illuminate to elaborate on each variable when clicked
getName() no longer needed on Twig extensions
2017-05-13 10:20:18 +10:00
Samuel Georges
2b5709adb9
Bump Twig to v2, refit code
2017-05-13 09:34:20 +10:00
Samuel Georges
0a981a25f7
API docs progress
...
Controller -> SystemController for consistency
2017-03-16 17:08:20 +11:00
Samuel Georges
8724566849
Implement support for twig macro/import
...
Fixes #2526
2016-12-07 20:58:25 +11:00
Pásztor Gábor
40269cb6e2
Clean up
2016-03-29 14:55:25 +02:00
Samuel Georges
6e7fa7de88
Allow CmsObjects to define their own Twig cache key
2016-03-21 13:42:03 +11:00
Samuel Georges
24a620e890
Convert CmsObject and CmsCompoundObject to use Halcyon
...
getFullPath -> getFilePath
2016-03-12 15:32:16 +11:00
Samuel Georges
d65bc5c2ad
Introduce a CmsObject interface
...
This will be useful to decouple ComponentPartial and Asset objects from their Halcyon counterparts
An Asset is technically not a template, it may be hosted via a CDN or others
A ComponentPartial is also different, it is read only and doesn't require caching
2016-03-09 20:51:04 +11:00
sNuuFix
a724a3aeb2
Fixed framework extra stylesheets for validator.w3.org HTML5 validation.
2016-02-27 14:13:20 +11:00
Joshua Wilson
d0b250c8f7
Flash twig node now displays all messages of all types.
...
Fixes #1225
2016-01-12 16:51:58 -05:00
Samuel Georges
5a70cec7a2
Improved fix for #1672
2016-01-02 13:41:57 +11:00
Samuel Georges
ecb54ff92c
Rollback #1672
2016-01-02 13:40:32 +11:00
DQ Sully
2fae5a30b9
Fix Twig Caching
...
When October would load a file from its changed source, Twig would not see the message until it had gone. See Cms\Classes\Loader->isFresh. This meant a template would not update unless you deleted the Twig cache, or that template's TTL expired. Fix: add another variable (freshness) that would only change after being observed, and accurately reflected if a template's source had been modified
2015-12-28 10:09:15 -07:00
Samuel Georges
91c061f60a
Add |media filter and MediaLibrary::url helper
2015-06-17 18:51:05 +10:00
Samuel Georges
302f397835
Add cms.twig.processTwigContent hook to Twig loader
2015-06-05 17:23:38 +10:00
Dave Shoreman
aac3d196ee
Fixed error when using {% flash type %}
...
While {% flash %} works fine for displaying all flash messages, if
a user wants to show only a certain type with {% flash success %}
(for example), it errors with "Undefined variable: message".
2015-05-30 01:24:11 +01:00
Samuel Georges
0083fcd356
Vars passed to content should be escaped
2015-04-25 14:28:52 +10:00
Samuel Georges
ab1272bea9
Add parameter support to {% content %} tags
2015-04-25 13:58:05 +10:00
Samuel Georges
d94ba96ae3
Better exception handling to dump()
2015-04-21 15:20:59 +10:00
Samuel Georges
b1b700368f
Radical reorg of some classes
2015-01-28 11:49:54 +11:00
alekseybobkov
cc23b434cb
Minor improvements in the CMS API
2015-01-21 21:38:42 -08:00
Sam Georges
c83797231d
Subsequent expressions are on a new line (see developer guide > PSR exceptions)
2014-11-01 12:00:45 +11:00
Sam Georges
a00cb9f556
(7:15:01 PM) Flynsarmy: i feel component should also show the subheader too
2014-10-24 19:17:21 +11:00