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
Daniel Müller
01c63d6e32
fixed some PHPDocs
...
removed my prior changes to the code behaviour
removed errorous PHPDocs
fixed some PHPDocs
removed my prior changes to the code behaviour
removed errorous PHPDocs
2015-12-12 11:34:27 +11:00
Joel E. Svensson
8f1e2ff8a3
Files in the media library can now contain two dots
2015-12-06 18:55:51 +01:00
Samuel Georges
5e5e99cd46
Make it easier to pick the component name from the error
2015-11-01 13:16:43 +11:00
Samuel Georges
3b4ee3340e
* Build 305
...
Fix bug when property values are array
2015-10-17 14:52:50 +11:00
Vojta Svoboda
16eb704793
Add missing PHPDoc @return tag
2015-10-17 09:17:37 +11:00
alekseybobkov
a5b217ff0b
Merge branch 'develop' into builder-ui
...
Conflicts:
modules/backend/widgets/table/assets/js/build-min.js
modules/backend/widgets/table/assets/js/table.js
2015-10-15 17:32:19 -07:00
alekseybobkov
e26271bc01
Minor fix in Inspector styles. Minor fix in the component helper.
2015-10-15 17:10:56 -07:00
Samuel Georges
84a95af93b
whereComponent doesn't rely on the component object
2015-10-09 05:32:24 +11:00
Samuel Georges
3531793ca3
Add where and whereComponent to CMS objects
2015-10-08 07:28:20 +11:00
Samuel Georges
1847018b99
Switch to October flavored INI
2015-10-03 08:52:52 +10:00
Samuel Georges
91d3d4dbde
Swap FileHelper methods for new Ini parser
2015-10-03 07:30:11 +10:00
Samuel Georges
8ed6a3cc51
Fixes exception ref
2015-10-03 07:29:08 +10:00
Samuel Georges
c30851d684
Remove dead ns ref
2015-09-30 20:54:00 +10:00
Samuel Georges
2ecf2db311
Remove dependency on IntlDateFormatter
2015-09-30 20:52:31 +10:00
Samuel Georges
8d11fe1257
Minor touch up to #1462
2015-09-26 08:51:13 +10:00
Samuel Georges
25f59a3b27
Merge pull request #1462 from dshoreman/localised-dates
...
Localise last modified date for mediaManager items
2015-09-26 08:47:41 +10:00
Dave Shoreman
faf682e30e
Localise last modified date for mediaManager items
...
Updates the string version of the date to use PHP's IntlDateFormatter
which gives us translated dates in the appropriate format, based on
the user's locale set in backend preferences.
If ever there's a case where locale wasn't set or didn't match anything,
it would default to the system locale.
2015-09-24 19:11:32 +01:00
flynsarmy
6e85290c9e
Allow \ character in Page URLs. Fixes #1441
2015-09-22 10:38:35 +10:00
Samuel Georges
51c7878e8f
Fixes rendering 2 shared component partials nukes context
2015-08-30 11:56:44 +10:00
Samuel Georges
2c5f9eba6b
Write tests that verify the truth of #1373
2015-08-15 13:39:44 +10:00
Samuel Georges
85933facbc
Stack partials, store components, unstack partials - Fixes #1373
...
Fixes instances where nested repeating partials are destroying the partial component stack and causing breaking errors.
Nesting example:
Partial (with components)
^-> Calls component default markup
^-> Refers to partial override (with repeating partial calls)
^-> Calls another partial (with components)
^-> Components not found (destroyed by repeating calls above)
2015-08-15 11:05:30 +10:00
Samuel Georges
d537cef720
Merge pull request #1347 from powelski/resolve-1272
...
Escape HTML for .txt contents
2015-08-08 11:40:58 +10:00
Samuel Georges
2cf1d707ad
The API response for insert / insert+crop should be identical
...
This is because the 'onInsert' callback is used for both actions, yet yielded different results causing breakages
Fixes #1281
Also improved code readability in some places
2015-08-08 11:17:56 +10:00
Krzysztof Powelski
9c3f83c54f
Escape HTML for .txt contents
2015-08-05 00:00:43 +02:00
Samuel Georges
0f215785f3
Rollback the idea of using $visible on CmsCompoundObjects
...
This feature should be reserved for serializing the object (in future maybe) rather than defining visible properties, these should be relaxed.
2015-07-25 11:07:36 +10:00
Samuel Georges
52ea4a73c8
Performance improvements, rename scopes to standard
2015-07-21 20:46:35 +10:00
Samuel Georges
f9c921a797
Adds getAjaxHandler() API to controllers
...
Fixes bug where update process fails midway
2015-06-30 08:56:53 +10:00
Samuel Georges
3e95ee555f
Merge pull request #1224 from scottbedard/patch-4
...
Translate component group
2015-06-27 09:26:18 +10:00
Samuel Georges
0da649551b
Complete pagelinks plugin for redactor
2015-06-25 12:59:59 +10:00
Samuel Georges
cd1d62d8d7
AJAX requests can only use the POST method
2015-06-20 20:18:58 +10:00
Scott Bedard
cb38107c25
Translate component group
...
Just a minor convenience, I think it makes sense to have this property auto-translated as well.
2015-06-19 22:22:18 -04:00
Samuel Georges
e6bfa5b970
Add extra file types - Refs #1209
2015-06-20 10:28:16 +10:00
Samuel Georges
91c061f60a
Add |media filter and MediaLibrary::url helper
2015-06-17 18:51:05 +10:00
Samuel Georges
8c6a58981e
Roll back the changes from #852 in the name of KISS
...
The page vars are just that, view variables, if used incorrectly (relaxed) they can leech out
2015-06-17 18:50:51 +10:00
Samuel Georges
99146294aa
Minor touch ups
...
Add danger style to popover
2015-06-06 16:49:30 +10:00
Samuel Georges
9e6d0a660c
Simplify visibleViewBag + visibleSettings
...
hidden -> is_hidden
2015-06-05 17:24:27 +10:00
Samuel Georges
dbba9349ab
Adds a method for defining which settings and viewBag properties should be visible as native ones
2015-06-04 19:16:35 +10:00
Samuel Georges
84da449d05
Fixes an infinite loop
2015-06-03 17:24:22 +10:00
gergo85
7ab72b3743
Improve multilanguage support
2015-05-16 11:47:24 +02:00
Samuel Georges
4d057ba266
Fixes flaw in logic
...
Recompile JS from #1135
2015-05-16 09:57:40 +10:00
Samuel Georges
8b3ab93786
Component variables set with $this->page
no longer leech in to other component partials.
...
Fixes #852
2015-05-16 09:29:27 +10:00
Samuel Georges
ccf8073ad6
Make page listing more detailed, now includes [base file name]
2015-05-15 20:19:11 +10:00
Samuel Georges
e675866284
The |page filter now supports passing an empty string to generate a link to the current page.
2015-05-15 20:18:40 +10:00
Samuel Georges
e3bd53230f
Revert breaking from #1103
2015-05-09 11:06:04 +10:00
niclasleonbock
28f265c10a
Fix two minor media manager bugs
2015-05-03 16:10:30 +02:00
Samuel Georges
e6e0facaa0
Fixes issue when routing to CmsController homepage (no params)
...
Fixes https://github.com/rainlab/translate-plugin/issues/67
Fixes https://github.com/rainlab/translate-plugin/pull/68
2015-05-02 12:56:40 +10:00
Samuel Georges
f49775d547
Routes cache should be used for all driver types
...
Minor cleanup of MediaManager class
2015-05-02 11:58:09 +10:00
Samuel Georges
9470259727
Minor clean ups
2015-04-29 19:50:30 +10:00
Samuel Georges
10ec177c54
Pass parameters to route cache - Fixes #1088
2015-04-28 20:04:35 +10:00