Commit Graph

603 Commits

Author SHA1 Message Date
alekseybobkov e7e50bc684 Merge branch 'develop' of github.com:octobercms/october into develop 2015-01-21 21:39:03 -08:00
alekseybobkov cc23b434cb Minor improvements in the CMS API 2015-01-21 21:38:42 -08:00
jtherczeg 831ff79c47 Corrections and updates for Build 182 2015-01-21 18:32:23 +01:00
Samuel Georges 9c4b2d690b Tidy up event 2015-01-21 22:03:52 +11:00
Samuel Georges f24d9ab3d3 Turns out this event was used, added it back with proper args 2015-01-21 21:41:09 +11:00
alekseybobkov d850a795fd Minor updates in the components API and Inspector 2015-01-20 19:38:02 -08:00
alekseybobkov 1dd2248717 Merge branch 'develop' of github.com:octobercms/october into develop 2015-01-18 19:20:46 -08:00
alekseybobkov 8ff242c1d0 Fixed default options support in Inspector, minor improvement in the components API. 2015-01-18 19:20:33 -08:00
Samuel Georges 7b4a419241 Not sure this event is used anywhere, it has improper implementation (missing $result from passed arguments) 2015-01-18 16:00:38 +11:00
Samuel Georges 2bf0084796 * Build 180 - Use less situational event names. @ping alekseybobkov 2015-01-18 15:59:44 +11:00
jtherczeg a629c46c69 Updates for Build 178
Hungarian language files updated for Build 178
2015-01-16 15:00:40 +01:00
alekseybobkov 433e99d6e7 Fixed a bug with closing tabs in the CMS 2015-01-12 22:23:13 -08:00
Samuel Georges 7e7d77c5e6 Fixes #869 - Constructor doesn't have static. ping @alekseybobkov 2015-01-12 20:08:52 +11:00
Samuel Georges ddaceb5ad7 Merge pull request #875 from scottbedard/patch-2
Adds isHidden check to backend components widget
2015-01-10 10:52:41 +11:00
Samuel Georges aa11693117 Merge pull request #867 from mahony0/patch-2
Update lang.php
2015-01-10 10:41:51 +11:00
Scott Bedard 3ca540ac61 Adds isHidden check to backend components widget
Allows components to be hidden from the backend components widget by checking their isHidden value
https://github.com/octobercms/october/blob/master/modules/cms/classes/ComponentBase.php#L41
2015-01-08 09:42:41 -05:00
alekseybobkov e1ebfac575 Merge branch 'develop' of github.com:octobercms/october into develop 2015-01-07 22:22:38 -08:00
alekseybobkov c26545913c Improvements in the table widget, added new events to the CMS core, form styling, added support for the Table widget in in the CMS area. 2015-01-07 22:21:52 -08:00
Mahmut d1676ae8ad Update lang.php
Added translate for unconverted strings and some of them optimized for successful converting.
2015-01-05 21:58:06 +02:00
Samuel Georges 9ea6940e6a Add {{ this.session }} 2015-01-05 21:08:30 +11:00
Samuel Georges b08020fd4c Update CHANGELOG 2015-01-05 15:02:22 +11:00
Samuel Georges 55a68be13b Check for the presence of validation errors in the session, and add it to the view 2015-01-05 14:57:17 +11:00
Samuel Georges 415f07eb1d Fixes various unit tests so they pass (Tested in Windows) 2015-01-05 12:37:04 +11:00
Samuel Georges 59c9146b4f Merge pull request #861 from gergo85/master
Cleanup
2015-01-05 09:21:09 +11:00
alekseybobkov 7e5ce04a79 Merge branch 'develop' into dynamic-partials 2015-01-03 16:41:25 -08:00
alekseybobkov 6440b718d8 Updates in the rich editor styling, minor improvements in the Inspector and CMS core. 2015-01-03 16:39:38 -08:00
gergo85 f0005d196b Cleanup
Remove whitespaces.
2015-01-03 12:41:23 +01:00
Samuel Georges 8f8ac2dd02 Merge pull request #860 from gergo85/master
Improve multilanguage support and cleanup
2015-01-03 15:56:09 +11:00
Samuel Georges df3e66246f Fixes #839 - When rendering partials from component PHP code, be firm about the context 2015-01-03 15:15:57 +11:00
Samuel Georges fa250927d0 New events for components: runAjaxHandler + beforeRunAjaxHandler 2015-01-03 12:51:09 +11:00
Samuel Georges 03bf0c8206 These are useful helpers, make them public 2015-01-03 12:33:32 +11:00
jtherczeg 242bac4ce8 Hungarian language files updated
Hungarian translations updated for the latest build, some corrections
made.
2014-12-22 19:06:15 +01:00
gergo85 c43680b2ef Improve multilanguage support and cleanup 2014-12-19 10:28:27 +01:00
alekseybobkov 3ac21e3c89 Merge branch 'develop' into table-widget 2014-12-17 22:15:23 -08:00
Samuel Georges 3170dd61ea Add new methods propertyName() and paramName() to Component base class for accessing names of external properties. 2014-12-16 15:41:50 +11:00
Samuel Georges b95eb5b342 setComponentPropertiesFromParameters -> setComponentPropertiesFromParams 2014-12-16 15:18:36 +11:00
Samuel Georges a03d0cc8b4 showExternalParameter -> showExternalParam 2014-12-16 15:16:31 +11:00
Samuel Georges 2583a6be6d Merge pull request #832 from andreas-bergstrom/patch-1
Grammar and spelling
2014-12-16 12:46:25 +11:00
Samuel Georges d3000ca51a Unify the handling of detailed exception messages 2014-12-16 12:21:55 +11:00
Andreas Bergström a608a1c5e3 Update lang.php 2014-12-15 08:17:19 +07:00
Andreas Bergström 149f1c7632 Grammar and spelling
Improved grammar and corrected spelling.
2014-12-15 08:16:25 +07:00
Samuel Georges daee5f27c2 Merge pull request #821 from mrmlnc/develop
Clean key & Update Ru lang
2014-12-14 09:44:53 +11:00
Samuel Georges 9f8eb58591 Fixes bug where setting statusCode doesn't work for AJAX handlers 2014-12-08 19:01:27 +11:00
Denis Malinochkin ee5bc8407c Clean key & Update Ru lang 2014-12-08 03:51:39 +03:00
Samuel Georges 33be75af10 Config item `cms.customErrorPage` is deprecated, the setting `app.debug` should be used instead. 2014-12-06 13:22:57 +11:00
Samuel Georges 7a289e63a2 Merge pull request #800 from gergo85/master
Optimized images and update jQuery
2014-12-06 09:28:01 +11:00
Samuel Georges 2533b4ab4d ThemeData now applies default values, Theme object will proxy to ThemeData 2014-12-05 16:45:20 +11:00
Samuel Georges 88ac73d221 Throw AppExceptions so they are not logged 2014-12-05 08:46:57 +11:00
jtherczeg 9dcbe89247 Hungarian translations updated
The Hungarian module translations updated for the latest OctoberCMS
build.
2014-12-04 09:51:05 +01:00
Samuel Georges 70eb7eaf51 Adds Theme customization feature
Adds reset button to settings pages
authorUrl -> homepage
2014-12-04 16:49:52 +11:00
gergo85 f4b9cbfca3 Optimized images
All images optimalized via PNGGauntlet. The image quality unchanged, but
the files became smaller.
2014-12-01 12:20:04 +01:00
Samuel Georges bb18230f46 Refs #792 - Fixes logic error 2014-11-26 17:31:07 +11:00
Samuel Georges 49f5b23e31 Refs #792: Improve 'cms.page.beforeDisplay' event to support modifying the page, clean up events 2014-11-26 17:29:04 +11:00
Samuel Georges 001e86456d Fixes #788 - Fall back to config theme when db theme fails. 2014-11-23 03:40:04 +11:00
Samuel Georges 0c812a59e5 Merge pull request #782 from webmaxx/develop
Added new symbols to page slug regexp in the backend.
2014-11-19 20:53:34 +11:00
webmaxx b4819e73b3 Added new symbols to page slug regexp in the backend.
Example slug:
/news/:page?|^[0-9]+$ - "/news/", "/news/2"
2014-11-19 12:04:55 +04:00
Samuel Georges b6ec6ccf2c Pass mtime to menu resolving method results 2014-11-19 17:46:26 +11:00
Samuel Georges f351697c48 Streamline Theme object API (::load should be static as in CmsObject) 2014-11-19 17:45:57 +11:00
Dan Herd 352ff5e502 Fix 'File was changed' modal so 'Reload' and 'Save' buttons actually work. 2014-11-12 14:28:34 +00:00
alekseybobkov ba32d9a1bf Merge branch 'develop' into viewbag-unification 2014-11-11 11:43:12 -08:00
jtherczeg b5fd93d882 Hungarian language files updated for Build 162 2014-11-10 17:18:15 +01:00
Sam Georges ba166a0cf9 Add counter labels and maintenance settings page to Cms provider + Language files, update CHANGELOG.md with changes 2014-11-10 20:35:20 +11:00
Sam Georges cfaf3228d9 Fixes #9 - Adds maintenance mode setting to the CMS 2014-11-10 20:34:42 +11:00
Sam Georges cbf49e294f Fixes #11 - Template search now puts priority on "exact" match over "fuzzy" 2014-11-10 20:32:25 +11:00
Sam Georges 333306e6ad Remove rogue space 2014-11-09 15:22:03 +11:00
Sam Georges 98e100b377 Refs #729 - Fixes CMS permissions, should not show "pages" content by default 2014-11-09 12:35:10 +11:00
alekseybobkov 802f96f10e Refactoring of the view bag support code 2014-11-03 20:50:18 -08:00
Sam Georges 7357954c84 Proposed fix for handling defaults when parsing external properties 2014-11-04 12:33:38 +11:00
jtherczeg bb25a1a82c Hungarian language files for modules committed 2014-11-03 09:41:09 +01: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 03e9f48333 Deprecate propertyOrParam 2014-10-31 20:01:17 +11:00
Sam Georges afcf50a585 noExternalParameter -> showExternalParameter 2014-10-31 19:57:07 +11:00
Sam Georges ac37d23d14 Tidy up code a lil 2014-10-30 16:54:56 +11:00
alekseybobkov 2a771190ea Merge branch 'develop' into dynamic-partials 2014-10-29 22:14:31 -07:00
alekseybobkov 9a05a408c9 Added support for components in partials 2014-10-29 22:12:42 -07:00
Samuel Georges ecf84b48e1 Merge pull request #723 from alvaro-canepa/patch-1
Add Spanish language support
2014-10-27 19:07:10 +11:00
alvaro.canepa d9c06c9ed5 Spanish language support 2014-10-24 23:02:38 -02: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
Sam Georges 7cb8bf0d9a Improve code a tiny bit 2014-10-24 19:11:44 +11:00
Sam Georges 688d8c95de Comply PSR 2014-10-24 19:01:30 +11:00
Sam Georges 38f8aab27c Comply PSR 2014-10-24 19:00:44 +11:00
flynsarmy f869c7d268 Make dump show object type 2014-10-23 20:32:55 +10:00
Sam Georges 4ac6469200 Original data does not exist for new objects 2014-10-23 08:11:11 +11:00
Sam Georges 59ba8af24b Go back to old icons 2014-10-22 14:24:31 +11:00
Sam Georges 578f1c0945 Update icons 2014-10-22 14:15:21 +11:00
Sam Georges a9eecfecd5 Remove blueimp uploader, replaced with dropzone.js 2014-10-20 18:55:31 +11:00
Sam Georges 23f6d75416 Peer review of #679 2014-10-19 10:58:18 +11:00
Stefan Talen 509e7d2a12 Fixing issues with files in modules/cms 2014-10-18 12:03:48 +02:00
Stefan Talen 347dff7e75 Merge branch 'develop' of https://github.com/octobercms/october into feature/PSR-2
Conflicts:
	modules/backend/behaviors/RelationController.php
	modules/backend/classes/WidgetManager.php
	modules/cms/classes/CmsCompoundObject.php
	modules/cms/twig/Extension.php
	modules/cms/twig/PlaceholderNode.php
	modules/cms/widgets/TemplateList.php
2014-10-18 11:07:17 +02:00
Sam Georges ed552f1591 Minor code clean 2014-10-18 15:52:44 +11:00
Sam Georges 8ee28b214d Minor code clean 2014-10-18 14:32:06 +11:00
alekseybobkov d4bc164fb2 Display the default placeholder content if there is no put tag for the placeholder 2014-10-16 22:36:00 -07:00
alekseybobkov 219f1ff8f7 Merge branch 'develop' into static-pages-support
Conflicts:
	modules/backend/assets/less/controls/filelist.less
2014-10-16 21:03:20 -07:00
alekseybobkov 12175b29db Multiple updates in the back-end widgets and styles 2014-10-16 20:47:23 -07:00
Stefan Talen 06890d711a Merge branch 'develop' of https://github.com/octobercms/october into feature/PSR-2
Conflicts:
	modules/backend/behaviors/UserPreferencesModel.php
	modules/cms/classes/Controller.php
	modules/system/classes/CombineAssets.php
2014-10-16 18:44:18 +02:00
Sam Georges 9f5646d273 BackendSettings -> BrandSettings
pageTitle is now translated at the end of the line
Fixed unit tests so they pass
SettingsModels are now cached
2014-10-15 19:53:44 +11:00
Sam Georges 57ec5c7261 Moved asset combiner to the system module 2014-10-15 08:09:46 +11:00
Stefan Talen acf2304ce2 Fixing test SectionParserTest::testParseOffset 2014-10-12 14:23:47 +02:00
Stefan Talen 230a7377cf Updating files in modules/cms 2014-10-11 14:33:40 +02:00
Stefan Talen 61cf1ad710 Merge branch 'develop' of https://github.com/octobercms/october into feature/PSR-2
Conflicts:
	modules/backend/behaviors/FormController.php
	modules/backend/classes/AuthManager.php
	modules/backend/lang/fa/lang.php
	modules/backend/widgets/Form.php
	modules/cms/classes/CmsCompoundObject.php
	modules/cms/classes/ComponentHelpers.php
	modules/cms/formwidgets/Components.php
2014-10-11 11:58:20 +02:00
Sam Georges 062ce2f50a Closes #673 - Add Argentine Spanish (es-AR) locale 2014-10-11 16:32:51 +11:00
alekseybobkov 0b8af1f505 Merge branch 'develop' into static-pages-support 2014-10-10 22:27:01 -07:00
alekseybobkov 0b2481560b Merge branch 'develop' of github.com:octobercms/october into develop 2014-10-10 21:21:05 -07:00
alekseybobkov 8339323870 Fixes the bug where finding a component by class name is not possible if the component has an alias 2014-10-10 21:20:46 -07:00
Sam Georges 1dcaa0d1d6 Fixes #677 - use FQN for "instanceof Model" expressions 2014-10-11 12:13:25 +11:00
Stefan Talen 40640d1923 Updating single files in modules/cms 2014-10-11 01:56:53 +02:00
Stefan Talen 634865e42e Updating modules/cms/widgets 2014-10-11 01:53:40 +02:00
Stefan Talen 9c1dcb0dba Updating modules/cms/twig 2014-10-11 01:42:04 +02:00
Sam Georges 4504d5bf4c Improve translation handling 2014-10-11 10:37:48 +11:00
Stefan Talen e114f29582 Updating modules/cms/lang 2014-10-11 01:32:11 +02:00
Stefan Talen 2f04fcd524 Updating modules/cms/formwidgets 2014-10-11 01:29:22 +02:00
Stefan Talen e9ce6f5d54 Updating modules/cms/controllers 2014-10-11 01:27:52 +02:00
Stefan Talen 202e8869b1 Updating modules/cms/classes 2014-10-11 01:22:03 +02:00
Sam Georges 1c4706bbbb Fixes unit tests so they pass 2014-10-09 18:08:28 +11:00
Sam Georges 7e62ef5925 Refs #670 - Attempt fix 2014-10-09 17:14:29 +11:00
sajjad-ser 1cf70bf032 Add Persian Translate 2014-10-07 17:37:37 +03:30
alekseybobkov 26e8d5bda5 Minor updates in the back-end UI 2014-10-05 22:21:03 -07:00
alekseybobkov ef9a147d31 The CMS pages are now supported by the Static Pages menus 2014-10-02 15:55:55 -07:00
alekseybobkov 762088463c Merge branch 'develop' of github.com:octobercms/october into develop 2014-09-29 22:58:55 -07:00
alekseybobkov a534f7bc79 Fixes in the Richeditor styling. Implemented parsed content caching for content blocks. 2014-09-29 22:58:30 -07:00
Sam Georges 6363205f34 Fixes validation on Tabs and Cms pages 2014-09-29 14:04:05 +10:00
Sam Georges bf47eb94ed Str::getRealClass -> class_basename 2014-09-29 13:12:34 +10:00
Sam Georges b3936330a6 Moved the PathMaker trait functionality to Filesystem class (see October Rain) 2014-09-29 12:32:07 +10:00
Sam Georges 17f282b126 Removes deprecated code 2014-09-29 10:01:28 +10:00
alekseybobkov dcf7bb7d4f Merge branch 'develop' into misc-tmp 2014-09-27 23:29:41 -07:00
alekseybobkov 6b42055184 Fixes in the rich editor, improved the content block rendering code, minor fixes in the popover and form styling. 2014-09-27 23:28:38 -07:00
Sam Georges 73feabaf18 Fixes unit tests, also rename October\Test to October\Tester to remove conflict between real plugin of that name 2014-09-20 17:59:19 +10:00
Sam Georges c1d1ce49da Fixes broken icon ref 2014-09-20 17:25:21 +10:00
Sam Georges ffc1a8490a Convert autoload refs to PSR-4 so they actually work 2014-09-19 17:23:11 +10:00
Sam Georges 23710dbbc3 No longer lower case partial override component alias Att: @chadstrat 2014-09-19 17:23:08 +10:00
alekseybobkov a9e2e2d80f Improvements in the CMS objects and back-end UI. 2014-09-18 20:34:24 -07:00
Sam Georges 0f544cafb2 Merge branch 'master' into develop 2014-09-18 08:23:30 +10:00
Samuel Georges 76aed53ec8 Merge pull request #611 from nnmer/master
Additional parameters for some methods to be able to specify whether  needed absolute or relative path for the url generator
2014-09-18 08:21:14 +10:00
Sam Georges 4f00fbdbc6 Minor. keyField -> keyFrom 2014-09-17 16:47:55 +10:00
Anton Romanov 8ee57eee76 Update Page.php 2014-09-11 12:45:37 +08:00
Anton Romanov 7ded6e5fed Update Controller.php 2014-09-11 12:44:52 +08:00
Sam Georges 44cff23009 Fixes #604 where code editor has been forcibly removed 2014-09-10 07:25:11 +10:00
alekseybobkov 9f4fa49068 Fixes a bug where saving a content block from the CMS back-end creates an empty [components] section in the file settings area. 2014-09-06 21:52:42 -07:00
Sam Georges 37e5894df2 The `{% put %}` tag now appends by default, The closing put tag now supports overwrite, eg: `{% endput overwrite %}`. 2014-09-06 17:10:52 +10:00
Samuel Georges c63dc4da31 Merge pull request #594 from andersonwoss/master
Add full translation for pt-br
2014-09-04 21:11:07 +10:00
alekseybobkov df55946b61 Merge branch 'misc-tmp' into develop 2014-09-03 20:01:17 -07:00
alekseybobkov 9572c17253 Minor changes in the back-end UI. The front-end router now triggers an event allowing to override the default routes. The CMS back-end UI now supports view bags in content files. 2014-09-03 19:58:21 -07:00
Sam Georges 0e3d909bd0 Add missing refs and accessors for pageObj and layoutObj 2014-09-03 08:48:15 +10:00
Anderson Carlos Woss 32ad8cc09e Add full translation for pt-br 2014-08-30 22:38:32 -03:00
Sam Georges 8c07bfea15 Tokens expand when holding CTRL and double clicking (Yay!) 2014-08-30 16:21:16 +10:00
Sam Georges 357475c992 Token Breaker -> Token Expander, Add token expander to CMS editor 2014-08-30 16:05:19 +10:00
Sam Georges e55d4f9ea0 Performance improvement: CMS was passing all assets with each AJAX call
Add token breaker plugin to CMS page
2014-08-30 15:04:15 +10:00
Sam Georges fcf31b05ae Added new dump() Twig function 2014-08-30 12:34:03 +10:00
Sam Georges 3193006e2e Beef up the debug extension 2014-08-30 12:23:12 +10:00
Sam Georges db2cea630b * Build 139 2014-08-30 08:56:58 +10:00
Sam Georges 1d300ace98 Add prototype code for token breaker 2014-08-29 23:53:13 +10:00
Sam Georges b8bf570289 Add initial version of dump() twig function / debug extension 2014-08-29 21:55:41 +10:00
Sam Georges 938f9957de Add PathMaker trait, Combiner now supports aliases and dynamic paths 2014-08-29 19:23:57 +10:00
Sam Georges cd51c37d19 Fixes LESS parser so the paths are no longer messed up 2014-08-29 19:23:56 +10:00
alekseybobkov fdd83b53c9 Updates in the back-end UX 2014-08-28 19:03:47 +11:00
Sam Georges eb6a912f28 Allow setParameters() in Cms Router 2014-08-28 08:19:08 +10:00
Sam Georges a0bfbfc0d6 CMS AJAX handlers now have a way to invoke the page cycle if desired 2014-08-23 17:23:29 +10:00
alekseybobkov e7767176ce Updated the treeview control, updated Redactor scripts, the CMS Content is now a compound object 2014-08-22 18:45:05 +11:00
Samuel Georges fb56fbfabd Merge pull request #573 from mrmlnc/develop
ru_lang (138)
2014-08-22 08:07:10 +10:00
Samuel Georges 111589dec6 Merge pull request #577 from stefantalen/dutch-translations
Updated dutch language files
2014-08-22 08:06:48 +10:00
Stefan Talen 5455c6c1af Updating dutch language files 2014-08-21 23:07:50 +02:00
Sam Georges 76b143e8d3 Components and variables can now be accessed in the page code section via `$this->foo` in addition to `$this['foo']`. 2014-08-21 20:04:41 +10:00
Sam Georges 20e279bf4c Page URLs now support dots (.)
Add hook for cms.page.init
2014-08-21 19:47:29 +10:00
Denis Malinochkin 9a798cf46a ru_lang (138) 2014-08-20 17:10:22 +04:00
Sam Georges d2e2e1ffff Local events also don't need prefixes 2014-08-19 21:34:59 +10:00
Sam Georges 7bd967cff5 Fix cms.template.save event, should always pass the primary object as the first/second parameter.
This may be a breaking change for some, sorry about that.
2014-08-19 21:33:03 +10:00
Sam Georges d7f22dc797 Merge branch 'develop' 2014-08-19 12:38:25 +10:00
Sam Georges bcc48054e7 Add hook to render page 2014-08-19 12:35:33 +10:00
adi 03d9f81b47 Added Romanian translation files in modules/*/lang/ro and modified modules/backend/models/BackendPreferences.php and modules/system/lang/en/lang.php in order for the language to appear in the admin section 2014-08-16 15:00:07 +03:00
Samuel Georges 0980c6d997 Merge pull request #549 from Flynsarmy/twigDebugState
Set twigs debug state to the same as Octobers
2014-08-16 18:01:33 +10:00
flynsarmy 35e4f9c4fb Tailing comma 2014-08-14 21:08:15 +10:00
flynsarmy 869765af76 Set twigs debug state to the same as Octobers 2014-08-14 21:06:58 +10:00
Samuel Georges d9ca311ce3 Merge pull request #545 from marininicola/develop
Fix an issue when searching an asset in CMS backend
2014-08-14 08:25:52 +10:00
Nicola Marini bf1247e197 Fix issue when searching an asset in CMS backend
On Windows, searching for a file return the paths with the "\" separator, and throws an error when selecting a file for editing.
2014-08-13 17:42:51 +02:00
Sam Georges 3ff31f2180 Minor 2014-08-13 21:25:57 +10:00
Samuel Georges bee85771c6 Merge pull request #544 from Flynsarmy/getTwigMethod
Add getTwig controller method
2014-08-13 21:23:54 +10:00
flynsarmy 55c0ba8934 Add getTwig controller method 2014-08-13 09:08:18 +10:00
Sam Georges a5d67bee27 Escape all the translated strings 2014-08-13 08:01:18 +10:00
Sam Georges 37291a0c63 Throw ApplicationException when AJAX handler not found 2014-08-13 07:52:47 +10:00
Paul Wilde a3c94d6355 Escape unescaped translations. Add trans() function during output for the Balloon and Widget Selector. 2014-08-12 21:46:19 +01:00
Paul Wilde 1d038d3173 More translation strings. 2014-08-12 01:15:38 +01:00
Nicola Marini 5b6e75357b Italian translation
Add the italian translation for the October CMS
2014-08-10 14:17:43 +02:00
Sam Georges 13587f155c Move trans from logic-less array to inside business logic. Convert tabs to spaces. 2014-08-09 12:21:17 +10:00
Paul Wilde 906370c6bd Added translation strings for permission labels, mail template/layout column labels, editor fullscreen, list pagination and list setup modal. 2014-08-09 03:02:15 +01:00
Samuel Georges 5630ea61b0 Merge pull request #526 from mrmlnc/master
Russian translation [build 134]
2014-08-07 19:32:28 +10:00
Denis Malinochkin 20bbacdd3f ru_update 2014-08-07 04:14:10 +04:00
alekseybobkov 2018215c44 Implemented the view bag. Minor UX fix. 2014-08-06 22:42:09 +11:00
Sam Georges e2921472f8 Create allocated Settings category constants for translation 2014-08-06 11:44:31 +10:00
Sam Georges 7ccf5fe5db Fix Save / Preview icons in the CMS
Change preview site icon to icon-crosshairs
2014-08-05 17:10:38 +10:00
Sam Georges 6792bab25d Add more translation points 2014-08-05 16:54:39 +10:00
alekseybobkov 77c6c81ff8 Minor UX improvement 2014-08-05 17:52:45 +11:00
Samuel Georges 3859a38c6a Merge pull request #516 from boulox/french-translation
Add french translation
2014-08-05 08:56:10 +10:00
Fabien 5b7161cdd5 Add french translation 2014-08-03 15:20:59 +02:00
Sam Georges 3f31eed160 Add more detailed error for saving cms objects. 2014-08-03 10:52:46 +10:00
Sam Georges 8a86927944 Make ApplicationException more friendly 2014-08-03 10:34:33 +10:00
Denis Malinochkin ab7e1cfd8a ru_lang 2014-08-02 12:49:01 +04:00
Sam Georges 56d0c3351b private -> protected 2014-08-01 14:54:16 +10:00
Sam Georges 6388ecef52 private -> protected 2014-08-01 13:58:59 +10:00
Sam Georges 8b7bbd1062 Add 'partial' type to list columns. 2014-08-01 10:42:14 +10:00
Sam Georges fb788c9c0a Make request and access log work 2014-07-30 17:33:26 +10:00
Sam Georges 93590fb272 TraceLog -> EventLog
Cms\ErrorLog -> System\RequestLog
Set up some basic language keys
2014-07-30 17:19:51 +10:00
Sam Georges b280802644 Refs #383 - Set up basic models for logging 2014-07-29 20:07:20 +10:00
Sam Georges 200615f310 CMS Render partial now supports not throwing an exception.
Components without default partials do not throw errors when used on the page, they simply fail gracefully.
2014-07-29 13:52:01 +10:00
Sam Georges e85cbf80c5 Fixes unit tests 2014-07-29 13:14:54 +10:00
Graham Campbell be7f36b31b Composer fixes 2014-07-28 23:55:46 +01:00
alekseybobkov 12c73b457b Merge branch 'ux' into develop 2014-07-27 15:07:41 +11:00
Sam Georges 12f9c88345 Add hook for renderContent
Fix priority of local<->global events
2014-07-27 12:22:50 +10:00
alekseybobkov 241e174ab4 Merge branch 'develop' into ux 2014-07-27 11:11:56 +11:00
Sam Georges e6379ea21d Fixes bug when deleting cms templates 2014-07-25 18:11:16 +10:00
alekseybobkov 1085d20f8c Merge branch 'develop' into ux 2014-07-25 16:19:11 +11:00
Sam Georges 5d832a2f7b Fixes #461 2014-07-25 14:21:13 +10:00
alekseybobkov 5882082291 Merge branch 'develop' into ux 2014-07-25 15:15:48 +11:00
Sam Georges f8f4579f16 Show more detailed errors when custom error page is not enabled 2014-07-24 21:06:33 +10:00
Sam Georges 0dabaf67c1 Files should not appear as themes 2014-07-24 19:16:17 +10:00
alekseybobkov f7dcf8ebb0 Files added 2014-07-24 15:24:39 +11:00
alekseybobkov 98eb3e2e84 System page navigation improvements, not finished 2014-07-24 15:19:00 +11:00
Sam Georges 7cd80f8a59 Throw an error when the active theme is not found 2014-07-23 11:33:19 +10:00
Sam Georges bbbe11c174 Fixes empty pages from routing as home (/) 2014-07-23 08:35:53 +10:00
Sam Georges bef95920e2 YAML fields should be camel for PHP friendliness 2014-07-19 16:19:07 +10:00
Sam Georges 3c11249bef Add notes to changelog, controllers should use plural naming 2014-07-19 16:14:46 +10:00
Sam Georges 15b93c7b03 Rewind DI to prevent double up bug 2014-07-19 16:09:44 +10:00
Sam Georges a43f4f6b51 Use Parameters model instead of raw DB 2014-07-19 16:07:32 +10:00
Sam Georges 04888b2b93 Minor 2014-07-19 15:54:09 +10:00
Sam Georges c3cef219fa Bug fixes to settings page ordering 2014-07-19 15:51:43 +10:00
alekseybobkov bdf48611dd Minor 2014-07-19 13:13:35 +11:00
alekseybobkov fa0ebd3405 Merge branch 'themes' into develop 2014-07-19 13:06:32 +11:00
alekseybobkov c324c80969 Added the theme selector 2014-07-19 13:05:50 +11:00
Sam Georges 05842b6cad Fixes #444 2014-07-18 22:47:36 +10:00
Sam Georges 3c7c87b338 Fixes #254 add Laravel helper functions to Twig environment 2014-07-16 10:30:39 +10:00
Sam Georges 86daf9f308 Add event emitter to backend controllers
Minor tidy up
2014-07-15 08:14:59 +10:00
Samuel Georges 8897c077f6 Merge pull request #426 from Jmeyering/develop
fire events on template updates
2014-07-15 08:00:04 +10:00
Jmeyering 142c7f40ca Also adding in local events as per developer documentation 2014-07-14 12:15:23 +00:00
Jmeyering 7d1fe7833f One More naming issue 2014-07-14 07:09:01 -05:00
Jmeyering e9c3474c92 Fix Naming
Updates to correct naming issue
2014-07-14 07:07:43 -05:00
Sam Georges 63b98f56c5 Allow routing to nothing without looking up from the Request object 2014-07-14 19:06:23 +10:00
Jmeyering 5604a095fc fire events on template updates 2014-07-14 02:42:30 +00:00
Sam Georges 8f9887ba91 Minor style fix to assetlist checkboxes 2014-07-14 10:59:30 +10:00
Sam Georges 04bbad320f Fixes #347, Fixes #401 - Allow user routes to be registered before the CMS 2014-07-12 13:16:16 +10:00
Sam Georges acce6eb902 Add utility function to Page cms object 2014-07-11 18:50:29 +10:00
Samuel Georges 7ee2d36f6c Merge pull request #407 from Aveltras/master
Created cms french translation file
2014-07-09 07:44:20 +10:00
alekseybobkov 9c4567fc0b Do not call the layout's onInit() method if there is no layout. 2014-07-09 00:11:59 +11:00
Aveltras de2d47ff5c Created cms french translation file 2014-07-07 21:24:54 +02:00
Sam Georges bab2f5c61c Typo 2014-07-07 17:40:00 +10:00
Sam Georges fdac3416e1 Added new layout and page method `onInit()` called after components are initialized and before AJAX requests are processed. 2014-07-07 17:39:22 +10:00
Sam Georges 7ecf361eb3 Fixes validation of requested partial names VS. partial names on file system 2014-07-06 12:42:08 +10:00
Sam Georges bc42080e72 Refs #387 2014-07-04 20:08:38 +10:00
Sam Georges d912b73aab Clean up event parameters to dev standards 2014-07-04 19:14:14 +10:00
alekseybobkov 7056397036 Implemented the hidden page flag. Closes #34. Closes #88. 2014-07-03 17:40:44 +11:00
Sam Georges 1728f148a3 Fixes #361 - Assets paths fail on subfolders 2014-06-29 09:34:49 +10:00
Sam Georges 5c005f79d0 System Twig environment is now extended by plugins
Move the markup manager to system
2014-06-28 21:23:13 +10:00
Sam Georges 7802213bcc Fixes #55 - Assets are now referenced correctly as Assets instead of URLs 2014-06-26 17:29:07 +10:00
Sam Georges 9d2d9b621f Create a System Twig extension, for shared features 2014-06-26 17:29:03 +10:00
alekseybobkov 5488429fe4 Fixed the unknown component caching problem. Added the unknown component handling to the back-end. AJAX request can now be stopped with preventing default action in the oc.beforeRequest event. Fixes #46. 2014-06-26 17:09:25 +11:00
alekseybobkov aee0777032 Display a correct CMS object name in the page title. Fixes #28. Fixes #354. 2014-06-26 15:29:38 +11:00
Sam Georges fc25d67230 Fix docblock 2014-06-25 19:04:34 +10:00
Sam Georges 5eff2fb396 Tidy up code 2014-06-25 19:03:46 +10:00
Samuel Georges 460039cb57 Merge pull request #351 from Flynsarmy/themeFixes
Add Theme::exists(), Fix getPath()
2014-06-25 19:00:43 +10:00
flynsarmy 0e8c0de21f Add Theme::exists(), Fix getPath() 2014-06-25 13:47:16 +10:00
Sam Georges f4adaf245b Cause a scene when Twig extensions fail, instead of failing silently 2014-06-24 20:48:03 +10:00
Sam Georges ddfab72ecc Make {{ this.controller }} available 2014-06-24 20:47:30 +10:00
Sam Georges eccf96222d Components now support a shared /components/partials directory used as a fallback when a partial is not found. 2014-06-24 16:08:02 +10:00
Sam Georges 070667ebe0 Improve CMS Exception handler.
Previously Twig syntax errors inside a component partial would show the incorrect file and line number. This is fixed.
Also simplified the approach so the stack trace is not hidden inside a closure.
2014-06-24 14:58:46 +10:00
Sam Georges 751e529141 Widgets no longer need to pass their config via options:
Update CHANGELOG.md
2014-06-20 22:00:23 +10:00
Samuel Georges b5d9916acd Merge pull request #332 from sl1nk3/develop
Minify less files output if enabled
2014-06-20 20:19:54 +10:00
sl1nk3 e2b11591af Minify less files output if enabled 2014-06-20 05:25:10 -04:00
Sam Georges dc9acd472a Fixes #328 - Move Twig init to Controller constructor 2014-06-20 15:37:19 +10:00
Samuel Georges ad3e742bb5 Merge pull request #322 from niclasleonbock/master
Update DocBlock/function header for __set and __isset
2014-06-18 09:48:53 +10:00
Niclas Leon Bock 727973bda3 Update CodeBase.php 2014-06-18 00:19:09 +02:00
Niclas Leon Bock 291153ed44 Update DocBlock/function header for __set and __isset 2014-06-18 00:14:23 +02:00
Samuel Georges d6a4a6221a Merge pull request #321 from niclasleonbock/master
Fix variable name in isset magic method
2014-06-18 07:43:41 +10:00
Niclas Leon Bock 9c5abfb3f1 Fix variable name in isset magic method 2014-06-17 23:36:12 +02:00
Sam Georges 28701f9a3b Backend and frontend controllers now return a Response object and support setting the status code 2014-06-17 21:00:26 +10:00
Sam Georges 041c6e408f Simplify logic, test + cert 2014-06-17 20:11:31 +10:00
Sam Georges 4c31211153 Allow Cms Controller to set status code 2014-06-17 20:05:40 +10:00
Louis Matthijssen 0ce75c412a Use 404 status code for custom 404 page
Fixes #275 and #291.
2014-06-16 18:17:20 +02:00
Samuel Georges 0b8c8a0c0f Merge pull request #306 from Naxiz/fix-279
Add 'manage partials' and fix my settings
2014-06-16 21:12:17 +10:00
Louis Matthijssen 692b7d8cf8 Add 'manage partials' and fix my settings
Fixes #279.
2014-06-16 13:04:50 +02:00
Sam Georges 8113371dac Establish the router earlier so we can create page URLs 2014-06-16 17:59:47 +10:00
Louis Matthijssen be00834d80 Rewind RecursiveIteratorIterator before use
Fixes #268 and #288.

More info: https://bugs.php.net/bug.php?id=62914

>As a reminder, all iterators have been designed in a way that you need to call rewind before using.
2014-06-15 16:27:15 +02:00
Samuel Georges 322833c78b Merge pull request #283 from mrmlnc/master
Russian language and translation keys
2014-06-15 12:05:09 +10:00
Samuel Georges d53ae0fb68 Merge pull request #281 from octodevel/master
Updated pt-br language
2014-06-15 12:04:36 +10:00
Sam Georges 30d29eb5f7 Minor 2014-06-13 20:09:06 +10:00
eZees f130dac22c Russian language and translation keys 2014-06-12 11:57:27 +04:00
Sam Georges fbe23091b6 Component properties can now be translated 2014-06-12 15:53:15 +10:00
Octo Devel 6095934f81 Updated and revised all pt-br translation lines. 2014-06-11 23:11:31 -03:00
Octo Devel 4e410927ea Added pt-br language 2014-06-09 18:50:35 -03:00
Sam Georges 2b820a20d6 Convert all boolean table columnns to use is_ prefix
Add email template/layout system
2014-06-06 21:39:20 +10:00
Sam Georges f44b203e44 Removing plugins can now be purged from the db, orphaned plugins are visible, don't concat single list relations, add more events to Cms controller. 2014-06-05 18:52:53 +10:00
Sam Georges 435b6d30f9 Me again 2014-05-30 22:12:35 +10:00
Sam Georges c74ff59d29 Forgot my hat 2014-05-30 22:05:00 +10:00
Sam Georges 2bc02a7488 Fixes #191 2014-05-30 21:50:28 +10:00
Sam Georges 394075041c Add better exception handling for non existent components 2014-05-30 21:25:23 +10:00
Sam Georges 8cc6c6839a Fixes #209 2014-05-27 13:18:21 +10:00
Sam Georges 0f082bd160 Comment out code until determined if it is needed 2014-05-27 13:14:02 +10:00
Sam Georges 9b542efe6f Add complex page link handling to ComponentBase 2014-05-25 00:57:10 +10:00
Sam Georges 8ec4cd6ea3 Add method for looking up other page component properties (getOtherPageComponent) 2014-05-25 00:55:53 +10:00
Sam Georges a89eda62cf Add notes 2014-05-24 22:03:20 +10:00
Sam Georges e2fa45e264 Adds new override for components, onInit() 2014-05-24 21:59:30 +10:00
Sam Georges 4951393986 Fixes bug in propertyOrParam() 2014-05-24 21:26:48 +10:00
Sam Georges 05afe91820 Easier access to page object thru components ($this->page->title) 2014-05-24 21:08:33 +10:00