Commit Graph

2130 Commits

Author SHA1 Message Date
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
Paul Wilde e7063488eb Link the "update available" dashboard status text directly to the Updates settings page. 2014-05-24 14:50:56 +01: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
Sam Georges a1d44408b8 Added new method `addComponent()` to Cms Controller 2014-05-24 20:30:22 +10:00
Sam Georges 0697584108 Fixes bug where droppable colour sticks 2014-05-24 20:15:31 +10:00
Sam Georges da7515e230 Components can now be dragged to the component list area (if visible) 2014-05-24 20:05:37 +10:00
Sam Georges 976b364720 Generate the unique ID for the {% component %} tag only 2014-05-24 19:41:29 +10:00
Sam Georges 9e2a76d821 Add core build tag to core assets 2014-05-24 16:57:38 +10:00
Sam Georges bd5e169ac1 Removing a component now removes the standard {% component %} tag 2014-05-24 16:48:36 +10:00
Sam Georges 82f586c0d1 Asset maker functions (addJs, addCss, addRss) now use an optional build code, either *core* or a plugin code. 2014-05-24 16:35:54 +10:00
Sam Georges 431285c4d4 Make the component placeholder 50% opaque
Disable dragging on attached components
2014-05-24 15:55:25 +10:00
Sam Georges c593123700 Components can now be dragged on to a page or layout 2014-05-24 15:18:59 +10:00
Sam Georges bc824ed021 Create public function for getting the ACE editor
Improve API
2014-05-24 15:18:08 +10:00
Sam Georges 87f5079a23 Remove the cookie.js, no longer used 2014-05-24 15:17:11 +10:00
Sam Georges a747b18f0e Still allow newQuery() on Cms objects 2014-05-24 13:50:52 +10:00
Sam Georges cd58891723 Tidy up CmsObject query implementation to reduce overhead 2014-05-24 13:47:34 +10:00
Sam Georges c97e352ea2 Fixes #206 2014-05-24 13:27:26 +10:00
Sam Georges d616d3ae8b Class `CmsPropertyHelper` has been deprecated
Cms Objects now support basic queries that return a collection
2014-05-23 19:36:22 +10:00
alekseybobkov 206d7e43e4 Merge branch 'master' of github.com:octobercms/october 2014-05-23 18:59:35 +11:00
alekseybobkov 0a60255db5 Added the Preview link in to the multi-image uploader / preview mode 2014-05-23 18:59:12 +11:00
Sam Georges 2b43b9d6fb Add redactor font 2014-05-22 22:13:30 +10:00
Sam Georges c876b167af Update redactor to latest 2014-05-22 22:09:16 +10:00
Sam Georges 8dc9bff4ce Fixes issue with singluar relation settings 2014-05-22 20:40:11 +10:00
Sam Georges 34cef2ab46 Fixes #197 - Subfolder duplicated in Controller asset path 2014-05-22 20:29:28 +10:00
Sam Georges 6788a32e8c Components have a new override method `onRender()` called before a component is rendered.
The `{% component %} tag now supports passing parameters that override the component properties when they are rendered.
Calling `addJs()` and `addCss()` in components without a starting slash (/) will now reference the component directory, instead of the theme.
2014-05-22 20:27:44 +10:00
Sam Georges d0a1cc87fb Fixes #194 In MarkupManager filters and functions are backwards 2014-05-22 07:57:36 +10:00
Sam Georges ab2ea0a240 Minor inaccuracy 2014-05-21 21:26:28 +10:00
alekseybobkov 0577054493 Merge branch 'master' of github.com:octobercms/october 2014-05-21 17:52:15 +11:00
alekseybobkov 4a095160cd Added Preview mode for the multi-image file uploader, minor style improvements 2014-05-21 17:51:50 +11:00
Sam Georges aa0332260a Update callout styles 2014-05-21 16:48:02 +10:00
Sam Georges 25fefb6ec8 Reorg class 2014-05-21 16:39:28 +10:00
Sam Georges 08bc886d1b Plugins with missing dependancies are disabled by the system.
Plugins can now be disabled manually by config (see config cms.disablePlugins).
2014-05-21 16:36:05 +10:00
Sam Georges 7711d1a7f1 Fixes language 2014-05-21 10:43:43 +10:00
Sam Georges 5aa17ae0bc Fixes for using paid plugins 2014-05-21 10:05:39 +10:00
Sam Georges 73d8d751a1 Refs #188 Tidy up notes 2014-05-21 09:39:42 +10:00
Samuel Georges a80adc5b4b Merge pull request #114 from filipekiss/feature/backend-portuguese-translation
Add brazilian portuguese translation to backend.
2014-05-21 08:46:49 +10:00
Paul Wilde 9a8846f952 Respect the directory settings inside the config when checking if they are writable. 2014-05-20 19:51:40 +01:00
Sam Georges a6cd797b22 Another fix for SQLite 2014-05-20 19:06:56 +10:00
Sam Georges 969299b495 Fixes #135 - Can now specify a temp directory
Better error reporting
2014-05-20 16:25:34 +10:00
Sam Georges cca27a77d6 Fixes #124 using DbDongle 2014-05-20 15:45:20 +10:00
Sam Georges 6406190634 Add more checks to warnings 2014-05-20 15:44:51 +10:00
Sam Georges 67045ca091 Improve warnings code 2014-05-20 15:22:10 +10:00
Sam Georges 193ffade54 Minor 2014-05-20 10:25:04 +10:00
Samuel Georges e96a4c684f Merge pull request #180 from Jmeyering/master
Allow converting of r/n to /n when editing files in October backend
2014-05-20 10:22:41 +10:00
Samuel Georges 15590c1d65 Merge pull request #177 from mrmlnc/master
Adding new rows in the language files
2014-05-20 09:49:27 +10:00
Samuel Georges 5511100c6d Merge pull request #175 from erJasp/master
Only change "modified" counter on successful save
2014-05-20 09:48:12 +10:00
Jmeyering 56a6eb0283 More extraneous spaces plus nailed a syntax error 2014-05-19 13:03:16 -05:00
Jmeyering 9994f62382 Removing extraneous spaces from this code 2014-05-19 13:02:25 -05:00
Jmeyering 03c99bbac0 Allow 2014-05-19 12:58:35 -05:00
eZees 60a5d461eb Adding new rows in the language files
Moving text from _ warnings.htm in language file lang.php.
2014-05-19 19:43:41 +04:00
Jasper c7537339da Only change "modified" counter on successful save
The modified counter in the CMS module (the red box in the sidebar)
always changes when saving, even when an error is returned.

This fix will only change the "modified" counter in the CMS module on a
successful change.
2014-05-19 16:31:07 +02:00
Sam Georges 4bd7f9975c Oops, now plugins can register permissions :-) 2014-05-19 22:42:16 +10:00
Sam Georges 17aeae3ae1 New icons 2014-05-19 22:11:39 +10:00
Sam Georges 05b3ed21a4 Update Font-Autumn lib (adds more icons) 2014-05-19 22:10:33 +10:00
Sam Georges 1535185b7a The dashboard now displays a set of warnings for system configuration 2014-05-19 18:18:02 +10:00
Sam Georges 7d468475c0 Better logging 2014-05-19 18:18:02 +10:00
Sam Georges fc0bf77ffe Add an event for overriding the default error message 2014-05-19 18:17:59 +10:00
alxy d16c367186 Updated german language file 2014-05-19 00:56:22 +02:00
Samuel Georges 3a020cecd8 Merge pull request #155 from mrmlnc/master
Update Russian language files
2014-05-18 20:09:12 +10:00
Sam Georges 5091fd08c6 Adds support for objects (relations) when reading form data 2014-05-18 16:09:54 +10:00
Sam Georges f7373da55e Protect controller again 2014-05-18 15:53:47 +10:00
Sam Georges 786a833237 Form Controller now pushes values to relations 2014-05-18 15:39:12 +10:00
Sam Georges 5484f67c5a Make controller accessible for extensibility 2014-05-18 13:59:44 +10:00
alekseybobkov 9deee689c7 Merge branch 'master' of github.com:octobercms/october 2014-05-18 13:50:25 +11:00
alekseybobkov db213716da Minor fixes in the scoreboard offsets 2014-05-18 13:50:13 +11:00
eZees 6e488cc2cb Update Russian language files
Full translation of the language files into Russian.
2014-05-18 04:38:43 +04:00
Sam Georges bfb5099910 Typo 2014-05-18 09:20:14 +10:00
Pascal Borreli 459c8e0cfa Fixed typos 2014-05-17 18:08:01 +02:00
Samuel Georges c15471ef14 Merge pull request #152 from HiroKws/add/japanese/to/backend-cms-system
Add/japanese/to/backend cms system
2014-05-17 23:21:35 +10:00
Hirohisa Kawase 8c26202957 Added Japanese language files for backend/cms/system modules. 2014-05-17 22:16:35 +09:00
Hirohisa Kawase 4c7417a288 Added Japanese language files for backend/cms/system modules. 2014-05-17 22:15:59 +09:00
Sam Georges 68bb4315cb Fixes #131 - Add event to ConfigMaker 2014-05-17 22:10:01 +10:00
Sam Georges 25d34be6f3 Fixes #139 and others 2014-05-17 13:06:53 +10:00
Sam Georges 2b8a79119d Fix array org 2014-05-17 13:02:33 +10:00
Samuel Georges 7e2015cb31 Merge pull request #138 from pariz/feature.lang
Swedish translations
2014-05-17 12:54:19 +10:00
Sam Georges b19052906d Fixes broken icon refs 2014-05-17 00:08:59 +10:00
Pär Karlsson f80ccf23ab Swedish translations 2014-05-16 15:13:33 +02:00
Sam Georges 851a12c7b3 Log these errors 2014-05-16 21:27:40 +10:00
Sam Georges d6b0927758 Fixes icon on exception and error pages 2014-05-16 20:57:33 +10:00
Sam Georges 43b3455f75 Fixes #125 2014-05-16 16:10:29 +10:00
Sam Georges 0d903c5b78 Fixes bug where incorrect header being sent on CSS
This will require a cache clear (Software udpate, or, php artisan cache:clear)
2014-05-16 15:01:31 +10:00
Sam Georges 0185244710 Drop the file extension from the combiner URL
This causes too many issues with Nginx and php server instances.
2014-05-16 14:29:25 +10:00
alekseybobkov 64cfb7eb87 Merge branch 'master' of github.com:octobercms/october 2014-05-16 15:09:25 +11:00
alekseybobkov dac7c46be2 Minor styling fix 2014-05-16 15:09:16 +11:00
Sam Georges bcf6d1a2bc Add custom SQL for SQLite 2014-05-16 11:49:08 +10:00
Sam Georges 12a80cae9c Add new keys to other languages (needs further translation) 2014-05-16 11:29:44 +10:00
Samuel Georges eb3e8df7be Merge pull request #113 from marcus-herrmann/master
Added German language files
2014-05-16 11:14:42 +10:00
Sam Georges 0088804ee9 SQLite doesn't like this key name 2014-05-16 11:11:29 +10:00
Samuel Georges f02b541d2f Merge pull request #111 from erJasp/master
Moved hard-coded text to language file (backend)
2014-05-16 11:06:57 +10:00
Sam Georges f3827e230f Minor clean up 2014-05-16 11:04:46 +10:00
Samuel Georges 2915b7dd74 Merge pull request #98 from alxy/patch-1
Add $attributes param to asset function
2014-05-16 10:11:43 +10:00
Samuel Georges bd7eaf8f12 Merge pull request #96 from pariz/master
Swedish language files for backend, cms and system, as well as one typo if in an english language file
2014-05-16 10:07:06 +10:00
Samuel Georges 49321abdb8 Merge pull request #85 from emir/master
Added Turkish language files
2014-05-16 10:05:16 +10:00
Jasper 8d82727310 Updated CMS language support
Moved hard-coded text in "cms" to the language files (English and
Dutch). And some minor changes.
2014-05-16 01:04:40 +02:00
alxy 8cc375939f Minor fixes 2014-05-15 22:32:56 +02:00
Jasper ddcc63ef6c Updated Backend + System language support
Moved hard-coded text in "backend" and "system" to the language files
(English and Dutch). Affected pages: administrator management,
administrator group management, system updates, system settings, email
settings. Also made some strings more generic for general use (like
"Saving...." instead of "Saving administrator account...")
2014-05-15 22:23:29 +02:00
Filipe Kiss 7bc4a30b8b Add brazilian portuguese translation to backend. 2014-05-15 15:34:17 -03:00
mhe 80d41c4e4d Add further translation files 2014-05-15 20:25:55 +02:00
Jasper 2e649d6b5f Moved hard-coded text to language file (backend)
Hard-coded text from the backend (user- and group management) moved to
the language file (English and Dutch).
2014-05-15 19:36:04 +02:00
mhe 23d98e5caf Added German language files 2014-05-15 17:27:47 +02:00
alxy ef2ea60061 Add $attributes param to asset function
This commit adds a second parameter $attributes to the following functions:

- AssetMaker::addJs
- AssetMaker::addCss
- AssetMaker::addRss

This is useful when dealing with javascript libraries like require.js, which depend on these HTML attributes to function properly.

It does not break the existing code!
2014-05-15 15:48:14 +02:00
Pär Karlsson 2883fa6b6a Fixed typo in english language file 2014-05-15 15:18:07 +02:00
Pär Karlsson f4bf9e192f Added swedish language support 2014-05-15 15:17:41 +02:00
Emir Karşıyakalı c6df6f897b Added Turkish language files 2014-05-15 13:31:17 +03:00
Sam Georges bdff075058 Improve event emitter trait 2014-05-15 17:23:46 +10:00
Sam Georges 5bf215e648 Fixes unit test (stat failure) 2014-05-15 16:53:06 +10:00
Sam Georges fd5d176f60 Tighten up events 2014-05-15 16:22:22 +10:00
Sam Georges efd9e5bb90 Minor rollback: We dont actually need to pass the context to beforeUpdate() 2014-05-15 14:21:40 +10:00
Sam Georges 8019cd7a85 Minor 2014-05-15 14:17:10 +10:00
Sam Georges f8294b8400 Add extra hooks for before ajax updates 2014-05-15 14:16:11 +10:00
Sam Georges 81042c85a8 Add nullables 2014-05-15 11:34:27 +10:00
Sam Georges 934d7d869f Use shorter index 2014-05-15 09:20:00 +10:00
Sam Georges 4b0eed62a6 Fixes form widget saveData bug
Where nested checkboxes values get set at root level
2014-05-15 09:05:04 +10:00
Samuel Georges 6b3f5512d0 Merge pull request #51 from erJasp/master
Added Dutch ("Nederlands") language files
2014-05-15 08:37:35 +10:00
Sam Georges f208e8d40d Fixes https://github.com/octobercms/install/issues/14 - clearing the cache softly now 2014-05-15 08:35:41 +10:00
Jasper b4ec8d2297 Added Dutch ("Nederlands") language files 2014-05-15 00:14:30 +02:00
Sam Georges 64f3a87e01 Fixes bug where invalid partial tag throws off the scent with its own problems 2014-05-15 01:31:41 +10:00
Sam Georges 71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00
Sam Georges 273d9a2865 Add branch aliases 2014-05-09 11:45:37 +10:00
Samuel Georges e3f175b08e Update composer.json 2014-05-08 22:28:37 +10:00
Samuel Georges bf64309000 Update composer.json 2014-05-08 22:28:15 +10:00
Samuel Georges 8f669ba548 Update composer.json 2014-05-08 22:27:56 +10:00
Samuel Georges 5f196ca69d Update composer.json 2014-05-08 21:28:03 +10:00
Samuel Georges 2fe103dca5 Update composer.json 2014-05-08 21:27:39 +10:00
Samuel Georges 30c53183e5 Update composer.json 2014-05-08 21:26:44 +10:00
Sam Georges 4bd853b2df Add stub files to prepare for composerfication 2014-05-07 17:52:13 +10:00