Commit Graph

3893 Commits

Author SHA1 Message Date
Samuel Georges 462c9cd4e8 Introduce theme logging + log settings
CmsObject changes can now be tracked (disabled by default)
Request logging is now disabled by default (security vector)
2017-02-08 05:44:04 +11:00
Samuel Georges cc1a67373c Add title to template list
Makes it easier to read longer template descriptions
2017-02-08 05:44:04 +11:00
Samuel Georges 4ade0d4952 Minor styling tweak /cc @LukeTowers 2017-02-08 05:44:04 +11:00
Ioannis Lazaridis a5ae9c7148 Update greek translations 2017-02-07 13:07:34 +01:00
Samuel Georges b7617d4166 Merge pull request #2656 from gpasztor87/patch-2
Typo
2017-02-07 07:41:12 +11:00
Luke Towers 37a735c8ed Process JS API requests through the document
Process JS API requests ($.request(handler, options)) through the document object instead of a non-existent form element. The form element was originally added because the framework only supported requests made from within a form
```
[22:08:12] spunky:	The $triggerEl was implemented because previously it was just $form
[22:08:24] spunky: For data-requests without a form, these events were being ignored
[22:08:31] spunky:	So as a workaround I implemented $triggerEl
```
As this is no longer the case, any JS API requests will now be made through the document element instead to support listening to events (such as ajaxSetup) even when there is no real attached element to trigger them on.
2017-02-06 10:36:57 -06:00
Pásztor Gábor 8beadb1ecc Typo 2017-02-05 21:43:14 +01:00
Samuel Georges f7e80b2cb6 Added a $force flag to bootAll and registerAll method for unit tests
Fixes #2592
2017-02-05 07:09:27 +11:00
Samuel Georges d2082e0ea0 Throw an error when framework loads twice
Fixes #2379
2017-02-05 06:49:11 +11:00
Samuel Georges 562f60730f Fix bug in handleConfirmMessage override 2017-02-04 20:15:13 +11:00
Samuel Georges 6cd76e9c6d Add handleValidationMessage override function 2017-02-04 20:03:45 +11:00
Samuel Georges 88ed5c2c64 Dedicated ajaxSetup event for modifying option
Allow overriding confirm message with handleConfirmMessage function
2017-02-04 19:44:53 +11:00
Samuel Georges 7bcc31eef8 Add handleRedirectResponse override function 2017-02-04 19:14:26 +11:00
Samuel Georges e323a1b98a Added handleFlashMessage function to framework.js
- Used for handling flash messages via JS API

Request options are now passed to ajaxBeforeSend & ajaxPromise events

Improved framework extras
- Fixes data-request-flash when used within a plain form, this code would fail because $triggerEl is set to a plain form:
`<form><button data-request="..." data-request-flash>...</button></form>`
2017-02-04 15:42:43 +11:00
Samuel Georges 08c5a27e50 Peer review 2be18764d4 2017-02-04 09:21:45 +11:00
Luke Towers 2be18764d4 Support passing objects as the loading indicator
Adds support for passing objects to be used as the loading indicator. Note: Objects must support `.show()` and `.hide()` methods.
Example:
```js
$.request('onHandler', {
    loading: $.oc.stripeLoadIndicator
});
```
2017-02-03 15:54:59 -06:00
Samuel Georges ebed3cde5e Add afterUpdate event to match keyup
Recompile assets
Refs #2336
2017-02-03 06:50:38 +11:00
Samuel Georges 3bc87fb945 Merge pull request #2336 from rounce/master
input: on paste
2017-02-03 06:47:21 +11:00
Mattias Hamberg 1d31fe3baa Updated swedish language file 2017-02-03 06:40:28 +11:00
Samuel Georges 0d1fc43212 Add isSelected() helper to form field
Fixes an issue where dropdown NULL and 0 are treated as the same
Fixes #2612
2017-02-03 06:35:23 +11:00
Samuel Georges 3365aee129 Halcyon models don't support relations
Use a simple fill() approach instead of trying to set nested fields via their relations
Refs https://github.com/rainlab/translate-plugin/issues/216
2017-02-03 06:00:52 +11:00
Luke Towers 749835f73d Merge pull request #2642 from norotaro/patch-1
Update RelationController::onRelationManageUpdate
2017-02-01 15:07:46 -06:00
Samuel Georges 4d4bad4f75 Setup => Installation - Fixes #2569 2017-02-02 07:07:52 +11:00
Samuel Georges bf17fa44e6 Merge pull request #2610 from lukaszbanas-extremecoding/issue_2609
Support deferred binding for single view modes in RelationController
2017-02-02 06:46:09 +11:00
norotaro 2ac4dad4e9 Update RelationController::onRelationManageUpdate
As in `onRelationManageCreate()`, `onRelationManageDelete()`, `onRelationManageAdd()`, etc, it needs to return `$this->relationRefresh()` for `relationExtendRefreshResults()` to be executed
2017-02-01 12:14:41 -03:00
Luke Towers 13aef49ebb Respect custom sort_order column value
Adds support to the ReorderController behavior for custom `sort_order` column names.
2017-01-30 19:05:16 -06:00
Samuel Georges b2301a8056 Add new config cms.forceBytecodeInvalidation
Refs #2385
2017-01-31 07:23:58 +11:00
Luke Towers 8caf3c5d02 Merge pull request #2638 from gabsource/translation-fr
Update the french translation
2017-01-30 09:38:28 -06:00
Jérémy Gaulin 09ffbac2ce New translation keys for french 2017-01-30 15:38:03 +04:00
Szabó Gergő dda656e50f Minor typo 2017-01-30 10:08:09 +01:00
Szabó Gergő ebd476e00f Update the Hungarian translate 2017-01-30 10:07:55 +01:00
Samuel Georges 8b71385481 Removed "before" events
There is no use case for them (yet)
Refs #2628
2017-01-30 08:33:32 +11:00
Samuel Georges 15209a9575 Bring events in to line with dev guide
Proof class
Refs #2628
2017-01-30 08:25:43 +11:00
Samuel Georges 0f00c3a5f3 Merge pull request #2628 from Klaasie/feature/media-manager-events
Add events to Media Manager widget
2017-01-30 08:03:06 +11:00
Samuel Georges e2a5d54393 Revise #2426 - Rename preview to previewImage
This is an exotic feature so don't include in the form fields
2017-01-29 09:13:01 +11:00
Luke Towers 8545c9cdab Merge pull request #2365 from shellus/master
improve zh-cn lang coverage
2017-01-28 16:10:41 -06:00
Samuel Georges 8b2be062e5 Merge pull request #2426 from gergo85/develop
Set the path of theme preview image manually
2017-01-29 09:07:52 +11:00
Luke Towers a3b98944be Fix typo in RelationController (original #2460)
Fixes minor typo initially proposed in #2460, resubmitted here as original author vanished.
2017-01-28 15:47:25 -06:00
Samuel Georges e7609aa5e8 Improvements to repeater collapsing
Removed the expand all, collapse all buttons, they are a bit too bulky so have been replaced with the standard CTRL+click behavior.
Added foundation library to repeater.js
Add "titleFrom" option to specify which input to use for the collapsed title
Styling improvements

Refs #2632 + #2631
2017-01-28 11:59:28 +11:00
Christophe Vuagniaux 4dbe172a43 Repeaters add Expand Collapse buttons see #2631 2017-01-28 11:03:49 +11:00
Samuel Georges 63c0aa5384 Merge pull request #2625 from vannut/patch-1
Update /cms/en/lang.php
2017-01-28 11:00:27 +11:00
Samuel Georges 96fcb7fd79 Minor tidy 2017-01-28 07:43:24 +11:00
Aleksey Bobkov 761b03ef16 Merge branch 'develop' of github.com:octobercms/october into develop 2017-01-25 20:16:23 -08:00
Aleksey Bobkov 0d30931045 Minor styling fixes in the table widget. Fixed a bug where empty values in the table widget could be rendered as 'undefined' in Safari. 2017-01-25 20:15:12 -08:00
Samuel Georges 5b5e23bfb8 Minor touch up from #2604 2017-01-26 11:30:26 +11:00
Samuel Georges 5e729f9978 Merge pull request #2604 from dubcanada/patch-1
If CMS module is loaded (and MediaManager exists) bind it
2017-01-26 11:27:56 +11:00
Samuel Georges 56ad25ec6f Remove code deprecations for 2017
Recompile assets
2017-01-26 11:26:53 +11:00
Samuel Georges 513a75c87e Remove data-title from table data
This was utilized by an older responsive table implementation, no longer in use
2017-01-26 11:00:23 +11:00
Klaas Poortinga 7cfb7da7d0 Add events to Media Manager widget 2017-01-24 21:20:14 +01:00
vannut 6dc5a9c48b Update lang.php 2017-01-23 23:56:14 +01:00
Samuel Georges 0251d1dd83 Merge pull request #2601 from GinoPane/develop
Belarusian Localization
2017-01-24 08:17:47 +11:00
Samuel Georges 60c322cf46 Add note from #2620 2017-01-21 11:30:19 +11:00
Luke Towers 8fcc80b9e1 Support nested components
This adds proper support for nested components by saving the value of the existing component context and restoring it after rendering the desired component. Fixes octobercms/october#2619
2017-01-20 14:34:48 -06:00
Samuel Georges 22bc5fce68 Bust OP cache for CMS template cache files
Fixes #2385
2017-01-20 07:20:08 +11:00
Samuel Georges f67c38b303 Spacing adjustments 2017-01-14 06:02:07 +11:00
lbanas b6683c2329 issue 2609 2017-01-13 09:59:11 +01:00
Aleksey Bobkov e35429cf28 Merge branch 'develop' of github.com:octobercms/october into develop 2017-01-12 20:13:50 -08:00
Aleksey Bobkov 6e54433bc1 Implemented page sorting by title, URL and file name in the CMS back-end. Closes #84 2017-01-12 20:13:32 -08:00
Aleksey Bobkov 5415e64cf3 Added an option to suppress folders in the MediaLibrary::listFolderContents() calls. Fixes #2016 2017-01-12 17:40:08 -08:00
Alexander Guth 7894284409 Add afterUpdate event (#2574)
Add afterUpdate event
2017-01-13 08:02:41 +11:00
Samuel Georges 6b56476f66 Merge pull request #2469 from joseph-d/patch-1
Update Filter.php
2017-01-13 06:29:54 +11:00
Samuel Georges 1a267b8d03 Code clean up from #2562 2017-01-13 06:15:59 +11:00
Samuel Georges 17d0d5dc6b Merge pull request #2562 from sw-double/feature/tables-config
Respect database tables config.
2017-01-13 06:08:27 +11:00
Aleksey Bobkov 4b3ab44bab Use minified JavaScript for the Media Manager 2017-01-11 20:13:03 -08:00
Aleksey Bobkov e3d864e0f7 Fixes item selection on touch laptops in the Media Manager. Fixes #2490 2017-01-11 20:00:23 -08:00
dubcanada 0a4390b4d9 If CMS module is loaded (and MediaManager exists) bind it
I am using OctoberCMS without the CMS module (removed from modules directory and turned off in cms.php) and I am getting an error in the backend regarding missing `MediaManager` class. I wrapped this in a class_exists to check that MediaManager exists before binding it.

Let me know your thoughts.
2017-01-10 13:45:59 -04:00
Konstantin L 2b5cf64ddf Use Config::get() instead of config() helper. 2017-01-10 15:51:26 +01:00
Sergey Karavay 22d09e50db Add Belarusian translated language files into backend, cms and system modules.
All lines translated.
2017-01-10 08:06:28 +00:00
Sergey Karavay 024ec54051 Merge remote-tracking branch 'upstream/develop' into develop 2017-01-09 20:07:41 +00:00
Samuel Georges 54160d069d Merge pull request #2597 from LukeTowers/patch-10
[bugFix] RelationController manage[title] not respected in Create contexts
2017-01-10 06:08:51 +11:00
Samuel Georges f9c659343b Further styling improvements
Refs #2575
2017-01-09 08:37:36 +11:00
Samuel Georges 62d7ff9532 Merge pull request #2575 from triasrahman/develop
Enhance usability of list pagination.
2017-01-09 07:51:01 +11:00
Samuel Georges 5caf40c4ad Merge pull request #2593 from gpasztor87/patch-1
Fix backendPreferences live update script.
2017-01-09 06:28:30 +11:00
Samuel Georges 5f4945af7c Merge pull request #2586 from octoberfa/master
Update Persian Language
2017-01-08 11:37:57 +11:00
Samuel Georges f9a8d02172 Merge pull request #2577 from gpasztor87/develop
Style fixes on report container and plugin details page.
2017-01-08 11:20:38 +11:00
Samuel Georges 7e7e9720d2 Merge pull request #2582 from tschallacka/ukraine-fix
Unescaped quote fix
2017-01-08 10:31:57 +11:00
Marvin 6bdd1c2d9c Improve French translation (#2581)
* Fix french translation for login

* Translated new keys for french locales

* Changed french form translation to something more gender neutral
2017-01-08 10:30:43 +11:00
Samuel Georges 0162e99747 Minor fixes #2580 2017-01-08 10:26:06 +11:00
Samuel Georges c9bb4d396e Merge pull request #2573 from sw-double/feature/datepicker-year-range
Support yearRange property for datepicker form field
2017-01-07 12:10:49 +11:00
Luke Towers 83474c96eb Make the changes to the _manage_form.htm partial to support custom titles on manage forms in Create contexts 2017-01-06 18:01:33 -06:00
Luke Towers 102831ecc2 Improve RelationController evalManageTitle()
Improves the evalManageTitle() method of the RelationController by making it possible to detect being the create manage form, which will enable us to utilize the results of the evalManageTitle in the manage_form partial.
2017-01-06 17:45:58 -06:00
Pásztor Gábor bb5b20ed94 Fix backendPreferences live update script. 2017-01-05 18:42:03 +01:00
Sajjad 3d3a788076 Update Persian Language 2016-12-30 18:14:53 +03:30
Tschallacka 1c1082fdcd Also missing closing bracket fix 2016-12-27 23:09:08 +01:00
Tschallacka c97b68e531 Unescaped quote fix 2016-12-27 23:00:31 +01:00
Sergey Karavay fe4d593519 Add Belarusian language into preferences, fix translations of languages for all locales.
Notes:
Translations for all languages in preferences' drop-down should be written in native language not depending from current locale. As for example, you can take Youtube language settings at the bottom of the screen. And user can choose a language he can actually read.
As all localisation strings go to "en" as a fallback, we can just remove locale translations from all localization files except "en"".
2016-12-23 10:12:56 +00:00
Pásztor Gábor 4172889c33 Fix image sizes in plugin details page. 2016-12-21 20:53:48 +01:00
Pásztor Gábor 039a49979a Style improvements on reportcontainer's manage widget dropdown. 2016-12-21 20:15:07 +01:00
Trias Nur Rahman 897c875fa9 Enhance usability of list pagination. 2016-12-21 21:50:44 +07:00
Konstantin L 15cea23308 Support yearRange property for datepicker field. 2016-12-20 20:21:02 +01:00
Samuel Georges 38b6c51381 Merge pull request #2566 from sw-double/feature/fix-ru-lang
Fix ru lang for backend users
2016-12-17 10:16:38 +11:00
Samuel Georges 6af6ebe733 Added config backendForceSecure used to force HTTPS
Refs https://security.googleblog.com/2016/09/moving-towards-more-secure-web.html
2016-12-17 10:16:02 +11:00
Konstantin L d077801ab8 Fix ru lang for backend users. 2016-12-16 18:45:47 +01:00
Konstantin L f10de2fc10 Respect database tables config. 2016-12-15 20:57:17 +01:00
Samuel Georges c644f8b66d Fixes issue where nested columns forcibly hide
Eg: "myrelation[attribute]" as a column name would cause the list setup to hide these fields with no ability to bring them back
2016-12-14 19:14:41 +11:00
Meysam 9ab9c87e6a Fix typo 2016-12-10 06:33:21 +03:30
Vojta Svoboda a7f2e48a44 Translate ‘plugin not found’ phrase (#2538) 2016-12-10 13:24:26 +11:00
Samuel Georges b85c4f9b7b Improve list tree styling and minor fix
Fixes bug with non standard primary key on model when using tree mode
Fixes #2532
Recompile assets
2016-12-10 13:19:32 +11:00
Samuel Georges e8ba7fef5b Plugin dependency definitions no longer case sensitive
Dependency checking is disabled for the front end to increase performance
2016-12-10 10:59:45 +11:00
Samuel Georges 0a2b343047 Simplify system events
This pipes all event calls through a new EventEmitter trait, which substitutes the October Rain event emitter trait. The view event has been moved to this trait also.
Pass some variables by reference to allow multi-extension.
Fixes #2420
2016-12-10 09:02:06 +11:00
Samuel Georges 1bdedb5584 Add renderPartial event to match renderContent
Fixes #2519
Fixes #2533
2016-12-09 08:15:32 +11:00
Samuel Georges 4b79531499 Merge pull request #2531 from jBOKA/patch-1
Updated validation message for string.min and string.max
2016-12-08 07:59:13 +11:00
Pásztor Gábor 94ab13cd8b Fix exception message, remove some unneded imports. 2016-12-07 21:33:05 +01:00
Samuel Georges 78c64cf4a8 Minor revision to style fix
Refs #2542
2016-12-08 01:59:19 +11:00
Pásztor Gábor 8de7891bcc Style fix on secondary tabs. 2016-12-07 15:41:59 +01:00
Samuel Georges 8724566849 Implement support for twig macro/import
Fixes #2526
2016-12-07 20:58:25 +11:00
Samuel Georges 04d54089f8 Merge pull request #2527 from gergo85/patch-2
Change the codeeditor language to html on the Mail template page
2016-12-06 07:55:07 +11:00
Samuel Georges afa2c83c3c Fixes bug introduced by #2507
The many-to-many relationship types choke pretty hard on this enhancement, so only use it for the simple one-to-many/one-to-one style relations instead.
Fixes #2524
2016-12-04 10:48:22 +11:00
Samuel Georges fad4d52e79 Merge pull request #2515 from LukeTowers/patch-9
Respect whitespace on disabled codeeditors
2016-12-03 08:13:17 +11:00
Samuel Georges 7f38d9b6b3 Merge pull request #2537 from gpasztor87/patch-2
Style fix in popover.
2016-12-03 08:12:24 +11:00
Pásztor Gábor 98dc55f5ab Style fix in popover. 2016-12-02 21:56:59 +01:00
Samuel Georges 4fa40d342e Allow export to disable first row as header 2016-12-03 07:36:39 +11:00
jBOKA b046c5ca2e Updated validation message for string.min and string.max
The Validation message results in "Filename of :attribute must not be longer than :max characters" for type string.
2016-12-01 17:05:54 +01:00
Szabó Gergő 1ef2e6cfb7 Change the codeeditor language to html 2016-11-30 15:50:44 +01:00
Samuel Georges c31d3a9a96 Merge pull request #2513 from gpasztor87/patch-1
Using flexbox on login and reset page.
2016-11-30 07:17:18 +11:00
Samuel Georges f771887ee5 When refreshing fields, forceFill is a bit too flaky
- Using a proxy field would populate a relation with an array of attributes, this is not good or consistent. Instead the FormModelSaver trait is used to bring the behavior in line with FormController and others. This should improve consistency in the behavior and developer expectations.

- The noticeable difference will be that relations and their values are now set by the postback data where possible. In cases where this is undesirable -- eg: updating a relation triggers proxy fields to update with existing values, when they should seed from the relation instead (desire to lose prior changes) -- the formExtendRefreshData controller override can be used to prune the existing values from the dataset, where they will then be seeded from the model as normal.

- Also the $data property is only rebuilt if it differs from the model. Previously it would corrupt the model-based dataset by converting to an array then back to an object. If the two objects are the same, they will be passed by reference and values will replicate this way.
2016-11-30 07:08:12 +11:00
Samuel Georges 85ca7715f2 Add Backend::date shorthand helper 2016-11-30 06:59:50 +11:00
Luke Towers 33c2d1c3bb Respect whitespace on disabled codeeditors
This wraps the contents of a disabled codeeditor field in an `pre` element so that the browser renders it respecting the formatting / whitespace of the contents (code in this widgets case) instead of squishing it all down.
2016-11-28 15:35:00 -06:00
Samuel Georges b39ebec812 Pass columns to search scope
This allows the default search to be applied and combined with any custom constraints
2016-11-29 06:46:52 +11:00
Samuel Georges 6679aa6557 Increase default flash message interval
The data-validate-error container does not necessarily need to reside inside a form, but give it priority if it does.
2016-11-28 20:48:05 +11:00
Samuel Georges f1d746abab Merge pull request #2507 from oliverpool/patch-1
Use the otherKey to update a relation
2016-11-28 08:45:40 +11:00
Samuel Georges 29040b416c Allow redirect: false on importExportController
Implement getFieldName() method
2016-11-28 07:50:06 +11:00
Pásztor Gábor fc5af0de8f Fix on mobile view. 2016-11-27 20:48:24 +01:00
Pásztor Gábor 87a68f7bf7 Using flexbox on login and reset page. 2016-11-27 16:29:38 +01:00
oliverpool 01193511d5 Use the otherKey to update a relation
If the `otherKey` of the relationship was set, the widget was considering the wrong column name.
2016-11-24 13:33:20 +01:00
Samuel Georges 35296c5b26 Adds getFieldName helper to FormWidgetBase
Refs https://github.com/octobercms/docs/pull/207
2016-11-24 08:59:07 +11:00
Samuel Georges 329a275f10 Prevent code eval on cached assets
When the request tells the server that the asset is cached, there is no point firing up the combiner, computing the contents and affecting performance. This change should result in a nice boost in secondary page load times.

Thanks to @zerkms for pointing this out

Fixes #2474
2016-11-23 08:42:47 +11:00
Samuel Georges 6bbf496ab2 Simplify code
This makes xdebug happy
Refs #2502
2016-11-23 08:11:24 +11:00
Samuel Georges 07ef1bdf2b Last checkbox/radio in last form group
Makes it look good
2016-11-23 07:53:10 +11:00
kaserv 4025b4885b fix for array fields validation in client-side framework 2016-11-22 17:04:41 +04:00
Samuel Georges b885ca0d24 Adds nowrap class & recompile less 2016-11-22 06:56:03 +11:00
Samuel Georges 97b0bc481f Merge pull request #2496 from LukeTowers/patch-7
Pass current model to RelationController view & manage scopes
2016-11-18 08:21:50 +11:00
Samuel Georges 0a8f169cc3 Improvements to framework extras
- Form validation
- Button loader
- Flash messages
2016-11-18 07:41:02 +11:00
Samuel Georges 10326c2d63 Framework supports passing a "flash" option
This will request the Flash contents, if they are available. It also clears the flash bag contents, which is why this is an optional feature.
Introduced "ajaxValidation" event for capturing all invalid fields at once
2016-11-18 07:39:54 +11:00
Pásztor Gábor cf1fda7437 Allow combine scss files from command. 2016-11-16 20:09:46 +01:00
Luke Towers 05ab8bdb01 Pass current model to RelationController view & manage scopes
This improves the extensibility of the relation controller by passing the parent relation model to the query scope that will be applied to both the view and manage options. It allows the use of attributes of the parent relation model in the query scope applied to the relation.

This is a mirror of october/octobercms#2419, except for the relation controller instead of the record finder widget. If necessary, I can create a case in the test plugin, but if this is simple enough with the added reference to the prior PR to not require a case in the test plugin, that would be simpler for me :) 

@daftspunk, let me know what you think.
2016-11-16 12:05:44 -06:00
Samuel Georges 1a41f632bc Merge pull request #2477 from zerkms/USER_FILTER_SUPERUSER_BOOLEAN
[!!!] Fix for postgresql: you cannot compare a boolean column with integers
2016-11-16 07:14:56 +11:00
Ivan Kurnosov c9ba4c49e6 Fix for postgresql: you cannot compare a boolean column with integers 2016-11-15 16:55:23 +13:00
Samuel Georges 5c5ffb7950 Merge pull request #2483 from henrydinhh/master
Add Vietnamese Map
2016-11-15 07:48:21 +11:00
Samuel Georges f4f7355bf2 A nested tab plugin's tabs are leaking in to the parent tab plugin.
Fixes #2481
2016-11-14 08:46:32 +11:00
Henry Dinh 4c34b798ce Add Vietnamese Map 2016-11-12 21:02:32 +07:00
Samuel Georges a2a0b207c6 Expose isCodeViewActive API function
Recompile JS
2016-11-12 14:12:48 +11:00
Szabó Gergő 74cf5da83b Extend the licence file name list
Some plugin use the LICENSE.md file name instead of LICENCE.md.
2016-11-11 09:56:46 +01:00
Szabó Gergő d1268c9905 Translate the Page link popup (#2467)
* Translate the Page link popup

* Remove the unnecessary dot

* Update the import/export Hungarian translation

* Update the Froala Hungarian translation
2016-11-10 07:39:29 +11:00
Samuel Georges be3bf61a3b Merge pull request #2470 from acrontum/develop
Update DE Lang File
2016-11-10 07:36:05 +11:00
Samuel Georges a313d4eb5b Minor fixes 2016-11-10 06:49:45 +11:00
Michael Brode dc3c2efe6a Update DE Lang File 2016-11-09 08:36:04 +01:00
joseph-d af7950b9d0 Update Filter.php
There is an addScopes function for extensibility but no way to remove scopes which are already there.
2016-11-08 09:46:27 +00:00
Samuel Georges bda625fe58 Remove dependency for NIH method
Refs #2454
2016-11-08 08:21:29 +11:00
Samuel Georges c32c001c20 Merge pull request #2454 from zerkms/MIRROR_RELATIVE
Added `--relative` option to the `october:mirror` command
2016-11-08 07:48:58 +11:00
Samuel Georges 46c473e2f2 Fixes fetching multi tiered pivot relation values
Refs https://github.com/daftspunk/oc-crm-plugin/issues/3
Minor code clean on select.js
2016-11-08 07:02:31 +11:00
Samuel Georges 4aca2d40ff Remove "allowClear" and tidy up #2459
Allow clear is not necessary, equivalent of allowClear false is "placeholder" and allowClear true is "emptyOption".
2016-11-07 08:43:52 +11:00
Joseba Juániz 1ee0250441 Dropdown can support either placeholder / emptyOption
The difference between a placeholder and an emptyOption is that the placeholder cannot be reselected,whereas the emptyOption can.
Fixes #2450
2016-11-07 08:29:49 +11:00
Samuell1 b320632eb4 Fixes taglist working inside a repeater
Fixes #2254
2016-11-07 08:08:48 +11:00
Samuel Georges 6985139d44 Merge pull request #2463 from gpasztor87/line-chart-doc
Added line chart documentation
2016-11-07 08:06:38 +11:00
Pásztor Gábor 4685ea98c2 Added line chart documentation 2016-11-06 21:56:18 +01:00
Pásztor Gábor 98315b0f72 JS fixes and typo 2016-11-06 17:14:12 +01:00
Samuel Georges 50d3ffb035 Halycon models do not declare forceFill
Only bind purgeable fallback event once (only needed once)
Refs https://github.com/rainlab/translate-plugin/issues/54#issuecomment-256067096
2016-11-05 10:59:53 +11:00
Samuel Georges 7b0f33e9b3 Adds an isNested flag to Form widget
This is useful when a form renders another form inside, specifically the repeater. In these cases the model and data will diverge, and it also provides an opportunity to not apply extension logic to nested form fields.
Fixes #2257
2016-11-05 09:53:23 +11:00
Ivan Kurnosov b1ff9f78ba Added `--relative` option to the `october:mirror` command 2016-11-04 10:29:46 +13:00
Samuel Georges 348dd85338 Merge pull request #2446 from justin-lau/fix-import-file-path-order
Fixing default import template doesn't extract columns from the latest uploaded file.
2016-11-03 07:10:16 +11:00
Samuel Georges 6173ff177b Typo in variable name 2016-11-02 08:58:07 +11:00
Samuel Georges 0aadcc6675 Merge paths and vars when calling widget handler
When an AJAX handler is called for a widget, the view paths and specified variables should be merged in to the controller. This sets the appropriate context:

1) Look at the widget first
2) Fall back to the controller

Fixes #2432
2016-11-02 08:50:15 +11:00
Samuel Georges ced920e5d2 Exception handling
Addresses issue specified in https://github.com/daftspunk/oc-test-plugin/issues/21
2016-11-02 07:21:04 +11:00
Samuel Georges bc165078de Removes redundant code
The form widget label and widgetDetails() method was intended for use by the Builder plugin, since it ended up using its own internal registration system, this is not used anywhere so is removed.

Refs https://github.com/octobercms/docs/issues/200
2016-11-01 08:15:03 +11:00
Samuel Georges 57b10704ce Support for overriding list views
For consistency, entry partial for controller behaviors should be called "container"
Added addViewPath() method to ViewMaker
Remove "fa" from icon docs (not necessary)
Fixes #2439
2016-10-29 14:10:21 +11:00
Samuel Georges 788f109361 Use transactions when saving form models
This is a good idea in general to protect the data integrity. There may be some edge cases where transactions are undesirable, if/when we find one, a configuration option should be created to disable this behavior.
Fixes #2431
2016-10-29 11:28:39 +11:00
Samuel Georges 55848e400c Empty CMS section when only manage_themes permission granted
Fixes #2425
2016-10-29 10:23:50 +11:00
Justin Lau 844d2d1b28 Use `id` instead of `updated_at` for more consistent behavior 2016-10-27 00:31:44 +08:00
Samuel Georges 359461d93e Styling fix to the welcome widget
Add unit test for constraining by pivot data
2016-10-25 07:33:24 +11:00
Justin Lau 325ae4ad08 Return the latest uploaded (updated) file path. 2016-10-25 00:21:18 +08:00
Samuel Georges ee2dd78b3d Exception handling for type: relation
It would appear many plugins incorrectly use type: relation as a list column, when this does nothing. Previously it would fallback to the text type, now that invalid types fail hard, this adds a softer landing by spamming the trace log instead.
Refs #2438
2016-10-22 04:18:28 +11:00
Samuel Georges 91e7e8b950 List column number type was falling back to text
Since custom list column types an exception is thrown for unknowns. This makes number known.
Fixes #2438
2016-10-22 03:10:50 +11:00
Samuel Georges f9dd5b2f57 Plugins can now define custom list column types 2016-10-21 07:15:08 +11:00
Samuel Georges 88196fb660 Allow passing an explicit format to datepicker
Refs #1919
Recompile assets
2016-10-20 08:44:14 +11:00
Samuel Georges 535dc78db1 Pass model as 3rd arg in relation extend overrides
Refs #2308
2016-10-19 08:45:43 +11:00
Samuel Georges f74d95392f Fix instances where defineProperties returns nothing
addPurgeableAttribute -> addPurgeable
2016-10-19 07:21:09 +11:00
Samuel Georges a449c05809 FormModelSaver now purges fields beginning with underscore
This is to align with the native model's fill() behavior, of which this classes' behavior is derived.
Fixes #2422
2016-10-18 08:57:57 +11:00
Szabó Gergő 78d7436460 Set the path of theme preview image manually 2016-10-17 13:51:09 +02:00
Samuel Georges 2f8d8ffea6 Update select2 4.0.2 -> 4.0.3
This fixes the native focus event echoing to the select2 control, our workaround removed
2016-10-17 09:15:30 +11:00
Samuel Georges d788b7e03f Use select2 on touch devices
This is a relic from when select2 v3 had no mobile support, we use select2 v4 now that has been tested with mobile/touch devices.
Refs #108
Clean up some white spaces
2016-10-17 08:38:01 +11:00
Samuel Georges 571ceff1ef Merge pull request #2416 from GitJaap/develop
Add current url to ajax requests in requestOptions used in XHR full pageloads
2016-10-17 08:06:38 +11:00
Samuel Georges 622384d432 Improve changelog parsing
Recompile system LESS files
Refs #2414
2016-10-17 07:38:20 +11:00
Samuel Georges 9ddd3b71dc Merge pull request #2414 from gergo85/develop
Improve the Plugin details page
2016-10-17 07:17:29 +11:00
Samuel Georges 19bab2b472 Merge pull request #2419 from LukeTowers/patch-6
Pass current model to record finder scope method
2016-10-15 10:50:54 +11:00
Samuel Georges 259e0c0226 Add support for recordOnClick in relationRender 2016-10-15 10:11:54 +11:00
Samuel Georges 8eafcaa090 Encode extra config to isolate the logic
Fixes #2417
2016-10-15 10:10:11 +11:00
Samuel Georges 7b8f17e6d1 Align number columns right as per docs
Fixes #2396
2016-10-14 08:07:49 +11:00
Samuel Georges f18ff0daac Verify fallback lang actually exists before using it
This fixes an error 500 when trying to reference a non-existent language
Fixes #2358
2016-10-13 20:38:15 +11:00
egerheed 590b697574 Updates Norwegian language file for backend (#2402)
* Updates Norwegian language file for backend
2016-10-13 19:57:54 +11:00
Samuel Georges 733158060e Fixes indentation
Refs #2400
2016-10-13 19:52:37 +11:00
Samuel Georges 4c39b340fe This should really be long text
Refs #1422
2016-10-13 06:44:33 +11:00
Samuel Georges 991f7fc3b8 Fixes styling formatted content as raw
Refs #2390
2016-10-13 06:35:34 +11:00
Samuel Georges d62bbd5c5b Merge pull request #2390 from dshoreman/patch-3
Format the formatted tab for mail logs
2016-10-13 06:31:55 +11:00
Samuel Georges 5eab7bc365 Handle when editor is not initialized yet
https://github.com/rainlab/pages-plugin/issues/197
2016-10-13 05:57:38 +11:00
Luke Towers 567e464550 Pass current model to record finder scope method
This improves the extensibility of the record finder form widget by passing the current model to the query scope that will be applied to the records being displayed. It allows the use of attributes of the current model in the query scope applied to the records being displayed as options to select.

In my use case, I have a main Survey model with related Field models. Field models can have parents and children for a tree structure, but I only want fields to have parents and children that are:
**a) Not the main record itself**
**and b) Members of / related to the same Survey model**

By passing the current model to my query scope, I can filter out ineligible records like so:
```
/**
 * Limit results to only records that are eligible to be parents of the provided model
 *
 * @param Query $query
 * @param Model $model The model to check for eligible parents agains
 * @return Query
 */
public function scopeEligibleParents($query, $model) {
    return $query->where('id', '!=', $model->id)
            ->where('parent_id', '!=', $model->id)
            ->where('survey_id', '=', $model->survey_id);
}
```
2016-10-11 17:15:40 -06:00
Samuel Georges de1b85e796 Rich editor content saves when in code view mode
Refs https://github.com/rainlab/pages-plugin/issues/193
2016-10-12 06:42:36 +11:00
Samuel Georges 8c91bfe66c Update froala to latest, recompile assets 2016-10-12 06:33:28 +11:00
Samuel Georges 5746f4dec0 Fixes missing ace vendor path
Refs https://github.com/rainlab/pages-plugin/issues/193
2016-10-12 06:13:01 +11:00
Jaap Wesdorp 972cad3f6f Add current url to ajax requests in requestOptions 2016-10-11 17:33:04 +02:00
Szabó Gergő dfccf7fc4e Improve the Plugin details page 2016-10-11 10:59:30 +02:00
Szabó Gergő d7f1d523f0 Translate some strings (#2395)
* Translate some strings
2016-10-11 08:29:26 +11:00
Samuel Georges 7d13d39142 Merge pull request #2410 from vojtasvoboda/feature/cs-locale
Update CS locale
2016-10-11 08:27:13 +11:00
Samuel Georges 38c0736164 Merge pull request #2405 from adrenth/feature/dutch-language
Update Dutch language
2016-10-11 08:26:59 +11:00
Samuel Georges 126f56059a Fixes double margin on toolbar dropdowns 2016-10-08 05:51:27 +11:00
Vojta Svoboda add2df2ede Update CS locale 2016-10-06 11:19:48 +02:00
Samuel Georges 19c3c19a00 Added extended useList options, including raw output 2016-10-06 18:44:26 +11:00
Alwin Drenth 48d38a8e11 Update Dutch language 2016-10-03 17:21:55 +02:00
Samuel Georges 3c7968161a Add icon badges to lists 2016-09-30 10:36:10 +10:00
Samuel Georges 757221dfaf Tweak list alignment in callouts 2016-09-30 10:15:35 +10:00
Samuel Georges a97208c6a1 Add more detail to callout docs 2016-09-30 10:09:15 +10:00
Samuel Georges 726fe5c6d7 Add docs for static mode flash messages 2016-09-29 15:57:03 +10:00
Samuel Georges fe74fcb8e0 Comma concat all single dimension arrays, for text columns
This is useful when the attribute is a basic jsonable store and needs to be in a suitable format for "useList" export mode
2016-09-28 16:31:21 +10:00
Samuel Georges b3fe8de7fb Prevent extra config from bleeding to other definitions 2016-09-28 13:26:28 +10:00
Samuel Georges baefa3e50d Allow passing arbitrary recordUrl to relationRender 2016-09-27 20:39:29 +10:00
Samuel Georges 0d336151d2 Improvements to data persistence, rework readOnly
Fixes #2308
2016-09-27 20:21:32 +10:00
Samuel Georges 1e3f5a22ef Provides an opportunity to manipulate the field configuration.
Refs #2245
2016-09-27 17:00:26 +10:00
Samuel Georges cd0cd260b5 Make manage[form] config optional
There are times when manage form mode just isn't needed. This will make the view[list] unclickable, which is OK
2016-09-27 16:53:46 +10:00
Samuel Georges 0b345ad592 Add 'readOnly' spec to form field
Same as disabled except data is still posted back
2016-09-27 16:50:52 +10:00
Samuel Georges 30bb33b6ba Update FontAwesome to v4.6.3
Recompile assets
2016-09-26 09:27:40 +10:00
Dave Shoreman 67e682f4ff Format the formatted tab for mail logs
The default markup is built by the jQuery plugin, meaning the formatted tab just shows raw data.

This checks for a Message-ID: string in the source to identify email logs, and uses the unescaped content of the raw tab to show a formatted email.
2016-09-25 04:10:53 +01:00
Samuel Georges 3499db5e53 Unescaped raw content is an oxymoron 2016-09-25 11:59:03 +10:00
Alvaro Cánepa 636b796a09 Access settings using "dot" syntax (#2363) 2016-09-20 07:25:47 +10:00
Mahmut Namli 85e9cb220a Updated turkish language files for all modules (#2377)
* Backend lang file updated for turkish

* Cms lang file updated for turkish

* System-client lang file updated for turkish

* System-lang lang file updated for turkish
2016-09-19 18:13:44 +10:00
Samuel Georges 5684cf6385 Merge pull request #2374 from octoberfa/master
Update Persian language
2016-09-18 18:00:52 +10:00
Samuel Georges 9b5851fbd5 Improves exception handling for invalid model resolver
A more specific error message is now shown when trying to resolve a model from an invalid source (eg: an array)
Fixes #2354
2016-09-18 13:44:13 +10:00
Samuel Georges cc2973e148 Merge pull request #2275 from Arekusei/develop
Added support for Many To Many polymorphic relations.(morphToMany and…
2016-09-18 12:08:57 +10:00
Sajjad c80675f7b4 Update Persian language 2016-09-16 18:55:31 +04:30
shellus 0643eea4c7 add zh-cn lang 2016-09-14 20:27:12 +08:00
Samuel Georges cc09f6eb53 Minor style fix 2016-09-14 19:00:25 +10:00
Samuel Georges 2659ae708f Add doc blocks 2016-09-09 06:16:24 +10:00
Scott Bedard 544a8c38cd Fixing a typo 2016-09-05 08:35:43 -07:00
linver a5047e0161 language zh-cn of changes 2016-09-03 13:05:28 +10:00
reg2005 b26fab725a New translation attachment_url
In Russian it will be so more correct
2016-09-03 12:59:02 +10:00
Samuel Georges a14a60881a Merge pull request #2239 from json-wong/patch-1
Create client.php for chinese.
2016-09-03 12:56:47 +10:00
Samuel Georges 58c669bf1e Exception handling when disabled.json returns null
Fixes #2341
2016-09-03 12:19:22 +10:00
Samuel Georges 6c474bcae9 Move list pagination out of table footer
Remove docs on list-unresponsive (removed a while ago)
Add topPartial and sidePartial options to list controller configuration (experimental)
2016-09-03 12:13:38 +10:00
Samuel Georges 600794c891 Fixes anchor button color in report widgets
Fixes simple list padding issue
Fixes #2342
2016-09-03 12:09:50 +10:00
Szabó Gergő da254af4e6 Update the Hungarian translate (#2334)
* Update the Hungarian translate
2016-09-03 09:44:32 +10:00
Isaev Ivan 2e0d283686 input: on paste 2016-08-29 13:44:25 +07:00
Samuel Georges 6b60673092 Don't show hover effects for rows with no links
Minor fix to head checkbox alignment
Recompile assets
2016-08-27 14:35:32 +10:00
Samuel Georges 8075b40bf0 Now that File facade is removed, we must apply chmod manually 2016-08-27 13:38:19 +10:00
Samuel Georges dd06cd13fa Handle cases where directory is not writable 2016-08-27 13:27:57 +10:00
Samuel Georges 1e0741e407 Fixes CodeParser concurrent access errors
Big thanks to @shina, @BearishSun and @MarcoROG for their help with finding a solution
Fixes #1250
2016-08-27 12:45:56 +10:00
Szabó Gergő 749e4c031c Translate the remove widget dialog (#2323)
* Translate the remove widget dialog
2016-08-27 09:14:31 +10:00
Samuel Georges 89e390edcc Popup will now shake when an error occurs
Improve memory management / garbage collection
2016-08-26 20:01:04 +10:00
Samuel Georges 58ed3e12d2 Improvements to row link script
If data-control="popup" or data-request="onSomething" is attached to the anchor, utilize that functionality when clicking the row
2016-08-26 19:11:38 +10:00
Samuel Georges 4a88e32bbb Add rowlink docs 2016-08-26 18:49:37 +10:00
Samuel Georges c8d8d4e931 Introduce new Cms helper
This is modeled after the Backend helper. Primarily used to generate URLs for the frontend, these are piped through the CmsController action. It would also be a good place to add a hook, if necessary later.
2016-08-20 14:43:49 +10:00
Samuel Georges 3698f13acb URL -> Url 2016-08-20 14:26:21 +10:00
Samuel Georges 7373cf2bfb Merge pull request #2324 from alxy/patch-13
ImportModel didnt respect encoding
2016-08-19 07:30:16 +10:00
Alexander Guth 61823329c8 ImportModel didnt respect encoding
In contrast to the preview CSV reader, the actual ``ImportModel`` did not respect any encoding values provided. This leads to bugs with any non utf8-compliant characters. This PR fixes the problem by adding the appropriate encoding filter (copied from the preview reader).
2016-08-18 21:11:21 +02:00
Jack Dark a6b0d3da7d Merge remote-tracking branch 'remotes/upstream/develop' into develop
# Conflicts:
#	modules/backend/behaviors/RelationController.php
2016-08-18 02:02:43 +03:00
Samuel Georges f670526015 Merge pull request #2320 from gabsource/fix-reorder-key-name
Reorder partial should use the model key name attribute to display the ID
2016-08-17 19:57:50 +10:00
Jérémy Gaulin 198230e281 Reorder must use the model `getKey()` method (configurable key name) instead of harcoded `id` property. 2016-08-16 19:36:55 +04:00
Samuel Georges de4e0e7b14 Merge pull request #2317 from gergo85/patch-1
Translated Froala missing keys for Hungarian
2016-08-16 20:13:37 +10:00
Szabó Gergő 813fdef1d1 Translated Froala missing keys for Hungarian 2016-08-16 08:49:20 +02:00
Samuel Georges 5253073f67 Merge pull request #2314 from digital-ronin/develop
Fixed Typo
2016-08-16 07:47:17 +10:00
Jérémy Gaulin 66965e7a43 Translated missing keys 2016-08-15 22:25:55 +04:00
Daniel-Bruni Ziermann 64e1095dc2 Fixed Typo 2016-08-15 15:06:55 +02:00
Aleksey Bobkov f1bd0d33b8 Minor fix in the file type validation 2016-08-13 14:54:59 -07:00
Samuel Georges b29cb9340a Merge pull request #2277 from jimcottrell/treeview-scrolling
Add scrolling to JS TreeView when dragging sortable elements
2016-08-13 15:32:57 +10:00
Samuel Georges 5c53b10c20 Merge pull request #2295 from gabsource/fix-relation-manage-readonly
Propagate the RelationController readOnly option to the viewClickList AJAX action
2016-08-13 15:30:58 +10:00
Samuel Georges 3d69b1d7a5 Add IE edge headers for policies stuck in compat mode
Fixes #1859
2016-08-13 15:29:58 +10:00
Samuel Georges 618a035616 Apply defined constraints to view mode
In the same way it is currently applied to manage mode
Fixes #2292
2016-08-13 15:21:17 +10:00
Samuel Georges c2d2250a1c RelationController "Remove" now works with deferred bindings
This brings the logic in line with the "Add" logic, using session keys where applicable
Fixes #1150
2016-08-13 12:41:03 +10:00
Samuel Georges 1c3631bede Datepicker can use an expressed date for default value
@Carbon::parse was still failing, wrapped in do nothing try/catch instead
We don't seem to need to prefix time values anymore, since DateTimeHelper::makeCarbon should handle it
Fixes #2299
2016-08-13 11:29:01 +10:00
Samuel Georges d7b9b4f65e Fixes vague error when attribute is not fillable
Previously an error was being thrown with just the attribute name, not helpful at all.
Fixes #2302
2016-08-13 10:48:52 +10:00
Samuel Georges 6070d2f6bd Fixes unstyled tab area (Pages plugin > Edit page) 2016-08-13 10:17:49 +10:00
Samuel Georges e64b08c697 Prevent rename media file to blocked type
Fixes #2304
2016-08-13 09:49:13 +10:00
Samuel Georges 6353ded91f Brand settings can now be seeded from config 2016-08-13 07:56:11 +10:00
Samuel Georges 42a702f70a Fix the background for flex-layout panel like in RainLab.Builder
Working fix for #2260
2016-08-13 07:54:47 +10:00
Samuel Georges ee9554d846 Minor styling fix to exception page.
Clicking / selecting the exception lines no longer activates a weird textarea appearance
2016-08-11 06:50:09 +10:00
Jérémy Gaulin 7f22ba62dc Propagate the readOnly option to the viewClickList AJAX action 2016-08-08 08:35:57 +02:00
Samuel Georges c4007dd570 Recompile assets 2016-08-08 08:28:14 +10:00
Samuel Georges becc4ca5d1 Revert "Fix the background for flex-layout panel like in RainLab.Builder" 2016-08-08 08:26:17 +10:00
Samuel Georges 61ac68fd5e Allows relationRender to specify readOnly mode
Fixes #2245
2016-08-06 13:15:08 +10:00
coderwen 35e8b8f9fb Add missing Chinese translation (#2291)
Various chinese translations
2016-08-06 11:53:23 +10:00
Szabó Gergő 7f3527759c Update the Hungarian translate (#2271)
* Update the Hungarian translate
2016-08-06 11:46:29 +10:00
Samuel Georges c69b8077f4 Merge pull request #2284 from MarvinDurot/develop
Fix list refresh with multiple definitions after the index_onDelete method is ca…
2016-08-06 11:39:47 +10:00
Samuel Georges 556b951e63 Calling dynamic methods for extended components
In the spirit of #2288
2016-08-06 09:55:42 +10:00
Samuel Georges c5bc6612d0 Merge pull request #2288 from soulshockers/patch-1
Fixed calling dynamic methods for dynamically extended widgets.
2016-08-06 09:52:48 +10:00
Samuel Georges 0b0e158009 Recompile assets
Refs #2267
2016-08-06 09:47:26 +10:00
Samuel Georges 72095c3982 Merge pull request #2219 from Herlevsen/input_preset_normal
Add 'normal' field preset type
2016-08-06 08:52:56 +10:00
soulshockers e10c162667 Fixed calling dynamic methods for dynamically extended widgets. 2016-08-05 18:51:27 +03:00
Samuel Georges b02e4d7ecf Resolve paths correctly when deep hashing
Fixes #2270
2016-08-05 07:51:15 +10:00
MarvinDurot ce1e7949d7 Fix multiple definition list refresh when index_onDelete method is called 2016-08-04 12:46:11 +02:00
Jim Cottrell 1d91c221b0 Add scrolling to JS TreeView when dragging sortable elements 2016-08-02 16:08:17 -06:00
Jack Dark aaab9c2eaa Added support for Many To Many polymorphic relations.(morphToMany and morphedByMany) 2016-08-02 17:56:49 +03:00
Samuel Georges 59c1d57b3f Revert "fix hardcoded sort order name" 2016-08-02 19:53:20 +10:00
Samuel Georges 2a4ea398f8 Merge pull request #2267 from cdarken/develop
Added ROMANIAN_MAP to modules/system/assets/ui/js/input.preset.js
2016-08-01 19:44:36 +10:00
Samuel Georges 5c2ef275ad Merge pull request #2264 from gabsource/gender-neutral-relation-fr-translation
Improved french translation for model relations
2016-08-01 19:39:49 +10:00
Samuel Georges aeb2b18393 Merge pull request #2262 from gabsource/styles-for-plugins-details-table
Styles for markdown generated tables in the plugin details view
2016-08-01 19:39:29 +10:00
Samuel Georges 48ae2631cd Merge pull request #2261 from cesarzagonel/fix-hardcoded-sort-order-name
fix hardcoded sort order name
2016-08-01 17:40:43 +10:00
Cătălin Georgescu b01f4728a5 Added ROMANIAN_MAP to modules/system/assets/ui/js/input.preset.js for proper slug generation 2016-07-31 19:11:55 +03:00
Jérémy Gaulin 564fb5d330 Changed french relation translation to something more gender neutral. 2016-07-31 14:38:15 +02:00
Jérémy Gaulin 7ca97f4825 Styles for markdown tables in the plugin details view 2016-07-31 12:20:35 +02:00
Cesar e0f5b560bc fix hardcoded sort order name 2016-07-30 18:50:32 -04:00
Samuel Georges 9c1a97309d Merge pull request #2260 from gabsource/fix-flex-layout-background
Fix the background for flex-layout panel like in RainLab.Builder
2016-07-30 22:54:14 +10:00
Jérémy Gaulin c169684489 Fix the background for flex-layout panel like in RainLab.Builder 2016-07-30 10:42:13 +02:00
Jérémy Gaulin 2be29e6d48 Fix missing sprintf in exception message (wrong signature) 2016-07-30 10:14:21 +02:00
Samuel Georges b1a86b5f9f Performance enhancement
Don't use deep handing lastMod check if we don't have to
2016-07-30 16:14:54 +10:00
Samuel Georges 3a6bf35f06 Only need to pasa a single asset now 2016-07-30 16:06:37 +10:00
Samuel Georges cf76e4c64a Performance enhancement 2016-07-30 16:05:37 +10:00
Samuel Georges b08e2c4912 Introduce deep hashing on asset combiner
Added cms.enableAssetDeepHashing config item, disabled by default
Recompile assets
Refs #2248
Refs https://github.com/octobercms/library/pull/225
2016-07-30 15:06:50 +10:00
Samuel Georges a50d3c1387 Merge pull request #2248 from christianWilling/fix-asset-cache
Fix asset cache
2016-07-30 13:01:20 +10:00
Samuel Georges 96eba6febc Roll back uncommon features
Refs #2249
2016-07-30 12:04:21 +10:00
Samuel Georges ec47cba33f Merge pull request #2249 from gergo85/develop
Improve the Administrators list
2016-07-30 11:56:35 +10:00
Samuel Georges 325232fe8e Minor UI fix 2016-07-30 11:54:01 +10:00
Samuel Georges 0573e0593a Search should persist across pagination
The search term is now reset only when the record finder is first opened
Fixes #2161
2016-07-30 11:46:36 +10:00
Samuel Georges fdcfe801a7 Write tests for #2258
Prevent nulling when model fails validation
2016-07-30 10:59:25 +10:00
Samuel Georges b6ecc65275 Merge pull request #2252 from gergo85/patch-1
Translate the Loading message
2016-07-28 19:28:44 +10:00
Samuel Georges 4c84adb77e Merge pull request #2251 from LukeTowers/develop
Enable refresh on form controller requests (correct branch)
2016-07-28 19:25:55 +10:00
Szabó Gergő fa146aaea7 Translate the Loading message 2016-07-28 09:15:12 +02:00
Luke Towers b26eeed03c Enable refresh on form controller requests (correct branch)
This adds support for a redirect to the current page (a refresh) to be returned by the form controller. An example use case is adding `data-request-data="refresh:1"` to the save button on an update form. I'm using it for an update form that disables certain fields (including a relationRender partial) based on values submitted on that page. Refreshing the view after saving allows my disabling rules to take effect.
2016-07-27 09:05:12 -06:00
Szabó Gergő e956b24cce Add new columns for Administrators list 2016-07-27 15:09:00 +02:00
Szabó Gergő c37f078e29 Improve the Administrators list 2016-07-27 11:50:44 +02:00
Christian Willing 2b71055677 change spaces 2016-07-27 11:49:16 +02:00
Samuel Georges 83a541f819 Minor code consistency 2016-07-27 17:21:38 +10:00
Samuel Georges 3ab90da6b5 Take data from form widget first, then request
URL -> Url
2016-07-27 17:17:22 +10:00
Json 3206f6657d Create client.php 2016-07-24 21:48:27 +08:00
Jens Herlevsen fe24864d87 Add 'exact' field preset type to input.preset.js 2016-07-24 13:10:38 +02:00
Samuel Georges 78a4067564 Make logic more explicit
This tightens up the rules of 7baea87068
2016-07-23 15:50:48 +10:00
Samuel Georges c70db75d38 Pass the data set along with getOptions methods
This is useful when the model is unreliable, because it is not always populated with the relevant data set. This argument is only needed in edge cases, like when using a repeater or other split class<->data scenarios
Refs #2235
2016-07-23 15:16:57 +10:00
Samuel Georges 675a6a4224 Code improvements
Refs #2235
2016-07-23 14:22:36 +10:00
Samuel Georges 422098c9c7 Fixes inconsistency in popup.js API
Fixes #1685
2016-07-23 13:54:56 +10:00
Samuel Georges 07b0c7d0ce Merge pull request #2235 from acasar/nested-depends-on
DependsOn in repeater
2016-07-23 13:36:24 +10:00
Samuel Georges 80fb1f42cc Further code improvements
Refs #2233
2016-07-23 13:06:38 +10:00
Samuel Georges b934e8bd98 Merge pull request #2233 from acasar/fix-nested-repeater
Fix nested repeater sorting
2016-07-23 13:00:31 +10:00
Evgeny Razumov 37a5ae611b Bug fix in taglist widget with nameFrom option
Fixes #2231
2016-07-23 12:57:08 +10:00
Antony Tsioukas b64b480918 Greek Language Update 2016-07-23 12:40:32 +10:00
CSNWEB 34bd318427 Fix searching in non text fields under Postgres
Fixes #2092
2016-07-23 12:24:41 +10:00
Samuel Georges 7baea87068 Allow AJAX handlers to pipe objects to Laravel
Treat non scalar, non array, non RedirectResponse, non null as a Laravel compatible response
This brings AJAX handlers in line with page cycles, which do the same thing if the response is not a string. However in AJAX we should treat any scalar as a "result", not just a string. For all else (where not null), let Laravel handle it as a custom response object -- could be a model for serialization, or anything compatible.
Importantly to note when a custom redirect is sent, October's workflow is completely wiped out, so any partial updates, redirects, etc. will not occur. This is a normal and fair expectation.
Fixes #1784
2016-07-23 11:57:15 +10:00
Samuel Georges 584f2871b0 Update pikaday to allow disabling specific dates
Fixes #2237
2016-07-23 11:30:11 +10:00
Samuel Georges c7724f7c90 Minor rollback
Not all widget base classes will allow arg 1 from being omitted, specifically Report Widgets that define drop down options
Fixes #2229
2016-07-23 11:17:58 +10:00
Samuel Georges 8b21ed7d6f Exception handling
Where a theme is set that does not exist
Fixes #2223
2016-07-23 11:02:26 +10:00
Samuel Georges ad67c9ab09 Buttons container has an inner toolbar
Consider this when adding new buttons without insertBefore/insertAfter definition
Fixes #2194
2016-07-23 09:53:23 +10:00
Samuel Georges 5af9fcbfdc Sidebar needs to sit above dropdown overlay
This prevents the mouseout event firing and ending the entire show
Recompile assets
Fixes #2190
2016-07-23 09:42:18 +10:00
Anže Časar 79bb4c2035 Nested DependsOn 2016-07-22 00:38:32 +02:00
Anže Časar 453096bb27 Fix nested repeater 2016-07-21 18:55:03 +02:00
Samuel Georges 676196d304 Use starts_with instead of regex 2016-07-16 15:34:20 +10:00
Samuel Georges dbdf8f780a Merge pull request #2128 from slipgrom/develop
morphMany Relation support
2016-07-16 14:08:35 +10:00
Samuel Georges 9c12160f5d october:mirror no longer experimental 2016-07-16 13:14:59 +10:00
Samuel Georges 0a3dddf569 Merge pull request #2206 from JoelESvensson/patch-2
Escapes exception output
2016-07-16 13:13:03 +10:00
Samuel Georges c3f76ce61c Merge pull request #2207 from JoelESvensson/fix-october-mirror
Only public folder should be mirrored
2016-07-16 13:11:59 +10:00
Samuel Georges e970d80443 Align AJAX logic: merge custom response last
This is to allow overriding the standard values
Refs #2209
2016-07-16 13:11:10 +10:00
Samuel Georges 09adbbe069 Merge pull request #2209 from LukeTowers/develop
Moves AJAX handler response handling
2016-07-16 13:07:54 +10:00
Samuel Georges 346dc91d72 Merge pull request #2216 from acasar/patch-1
Pass the router reference on beforeRoute event
2016-07-16 12:53:14 +10:00
Anže Časar 68deb59265 Pass the router reference on beforeRoute event 2016-07-15 17:05:25 +02:00
Luke Towers b73811fefc Moves AJAX handler response handling
Fixes octobercms/october#2208
2016-07-13 09:51:18 -06:00
Joel E. Svensson dcfc0897fe Only public folder should be mirrored 2016-07-13 02:02:02 +02:00
Samuel Georges c8f8c5cc27 Merge pull request #2200 from mplodowski/polish-lang
Polish language update (pl)
2016-07-13 08:01:53 +10:00
Michał Płodowski bbf503f212 German datepicker translation 2016-07-11 19:55:35 +02:00
Michał Płodowski 75dbd74bca Polish language update (pl) 2016-07-11 19:34:53 +02:00
Joel Ekström Svensson 5f7b7d8c6d Escapes exception output
Fixes #2198
2016-07-11 17:32:30 +02:00
Christian Willing 743d2d1b4e added scss to core 2016-07-10 19:44:54 +02:00
Sebastian Hilger 87cd7d8bf6 Added missing backend translations (German) (#1825)
* Added auth.title which was missing in the German language file

* Added missing backend translations to two language files

* added more German translations
2016-07-09 20:43:01 +10:00
Samuel Georges 8e4142558b Merge pull request #1741 from ARH-Digital/develop
Add morphic relations to backend
2016-07-09 20:38:21 +10:00
Samuel Georges cc28b35b07 $this is not accessible in static context
Fixes #2193
2016-07-09 05:50:01 +10:00
Michał Płodowski 7b1437d026 Fix database config parsing 2016-07-08 17:23:03 +10:00
Michał Płodowski fb7e7ff164 Command for changing configuration to env syntax 2016-07-08 17:23:03 +10:00
Aleksey Bobkov 53b8df0721 Force rich editor to synchronize when a form is saved. 2016-07-06 18:27:27 -07:00
Samuel Georges 305f20e4f9 Merge pull request #2164 from Herlevsen/danish_backend
Expose danish language in backend locale dropdown
2016-07-07 08:00:26 +10:00
Samuel Georges 3aa7afcbf2 Merge pull request #2159 from side-by-side/patch-1
Added missed russian translation
2016-07-07 07:59:59 +10:00
Samuel Georges fe3b61f802 Merge pull request #2157 from prasanth-darsan/develop
error on saving attachment config when in pivot form of a relation
2016-07-07 07:59:42 +10:00
Samuel Georges 9be8a8c0a3 Minor code tidy 2016-07-07 07:56:10 +10:00
Samuel Georges dd86a13218 Merge pull request #2140 from reg2005/patch-3
Critical bugFix in themeData.php
2016-07-07 07:54:53 +10:00
Samuel Georges b4e9325a99 Merge pull request #2137 from Cladis/master
Adding Ukrainian translation of back-end
2016-07-07 07:52:08 +10:00
Félix Desjardins 10ec9030b3 FR-CA with Canadian Flag! 2016-07-06 17:15:55 -04:00
Christian Willing c343758d7c asset cache fix 2016-07-06 11:21:15 +02:00
Samuel Georges 5eab01b8bd Update composer versions
Rollback 8dd2e97cf7
2016-07-06 17:15:41 +10:00
Samuel Georges 68923d406b Update Froala to latest (2.3.3)
Recompile assets
2016-07-05 20:08:44 +10:00
Samuel Georges 4ca30f9888 Beautify saved content 2016-07-05 19:58:51 +10:00
Jens Herlevsen 40a755a6cc Expose danish language in backend locale dropdown 2016-07-03 19:36:24 +02:00
Samuel Georges 49641a31d0 Remove the dropup when there are no widgets
Fixes #2123
2016-07-03 14:53:37 +10:00
Samuel Georges 43eb8c4946 Logic error. Fixes #2154 2016-07-01 18:56:58 +10:00
Pavel ccf7a3b6e5 Added missing russian translation 2016-06-29 19:40:58 +03:00
Prasanth Darsan 6cc50b8ca8 Fixed error on saving attachment config when its put on pivot form of a relation 2016-06-28 23:17:27 +05:30
Samuel Georges b7d0c19a38 Merge pull request #2151 from freestream/fix/sv-translation
Changed and remove some english words in Swedish translation file
2016-06-27 16:44:16 +10:00
Anton Samuelsson 3a0c2c8270 Changed and remove some english words in Swedish translation file 2016-06-27 08:38:39 +02:00
Samuel Georges d8f1c0a73f Merge pull request #2126 from gustavogodoi/patch-1
Update pt-br lang
2016-06-25 10:39:54 +10:00
Samuel Georges fdb1d13ede Merge pull request #2134 from Herlevsen/danish_translation
Add danish translation
2016-06-25 10:39:33 +10:00
Samuel Georges cfb7207ae1 Clarify maintenance mode behavior
Refs https://youtu.be/JztbNGfi_Qk?t=9m38s
2016-06-24 06:48:16 +10:00
reg2005 953b92ba0a Critical bugFix in themeData.php
Additional check is added, without it there is a critical error "Call to a member function hasCustomData() on null"
2016-06-20 16:18:39 +03:00
Samuel Georges d7ef9b1738 Apply chmod rules to combiner cache 2016-06-18 09:23:16 +10:00
Jens Herlevsen be2bdb010b Add danish translation 2016-06-17 23:48:37 +02:00
Roman Gerasimov 587b8a449d morphMany Relation support 2016-06-17 10:55:03 +03:00
Samuel Georges d3b2809866 htaccess now resembles october:mirror command
Added 'resources' as a potential asset storage directory name
2016-06-17 07:09:14 +10:00
gustavogodoi 623627ce24 Update pt-br lang
Fixing typo and improving.
2016-06-16 17:25:35 +01:00
Samuel Georges 6ca828a1fa Always return an active theme and data 2016-06-16 08:01:34 +10:00
Samuel Georges a544c6822b Merge pull request #2114 from side-by-side/patch-1
Removes hardcoded "Misc" settings group translation.
2016-06-15 17:19:52 +10:00
Samuel Georges bcff1d3ecd Widget classes are now extendable
Fixes #2078
Fixes #1586
2016-06-15 17:10:46 +10:00
Cladis 8388998b64 Adding Ukrainian translation 2016-06-14 23:42:35 +03:00
Pavel c34b2afd9c Removes hardcoded "Misc" settings group translation.
This pull request allows to properly show "Misc" setting group in other languages.
2016-06-12 14:23:42 +03:00
Samuel Georges 7d171f4453 Merge pull request #2105 from triasrahman/develop
Fix fileupload image css on sidebar
2016-06-11 15:34:01 +10:00
Samuel Georges 04c4fe9633 Fixes logic error in filter search
The search was using !$.inArray when the expression should be $.inArray === -1 since it returns the index of the value in the array.
Also tidied up the code so it is easier to read.
Fixes #1918
2016-06-11 15:09:08 +10:00
Samuel Georges d1b765fa5e Definition of a drag is now 3 pixels
Fixes #1554
2016-06-11 14:28:15 +10:00
Samuel Georges 927250e9c9 Allow customization of default rich editor buttons
Fixes #2078
Recompile assets
2016-06-11 13:51:34 +10:00
Samuel Georges ada26ed64a Improve logic and fix trimming when slash not present
Fixes #2104
2016-06-11 13:45:52 +10:00
Samuel Georges 536a4b382c RecordFinder can specify number of records per page
Fixes #2082
Fix spacing on composer.json
2016-06-11 13:37:36 +10:00
Anderson Carlos Woss e2f30cb8a4 Update pt-br lang (#2110)
* Update pt-br lang
2016-06-11 06:34:06 +10:00
Samuel Georges 1a3bf59301 Fixes not updating list record count immediately 2016-06-10 07:43:21 +10:00
Samuel Georges 519eaad04c Include report widgets in mirroring 2016-06-08 05:46:15 +10:00
Trias Nur Rahman b2df9d63ec Fix fileupload image css on sidebar 2016-06-07 22:44:35 +07:00
Alwin Drenth 6563483b47 Update Dutch (nl) language (#2102)
* Update Dutch (nl) language

* Fix and add some Dutch (nl) translation messages
2016-06-07 08:49:46 +10:00
Samuel Georges 68c53aee34 Merge pull request #2100 from gabsource/fix/svg-error-bar-chart
Fix NaN error when values are not defined in charts widget
2016-06-07 08:49:14 +10:00
Samuel Georges 97ca0976a7 Create new october:install command
Add quick start instructions to readme
Fixes #1674
2016-06-07 07:09:01 +10:00
Jérémy Gaulin 5bfc6e63eb Prevent NaN errors when rendering charts with no values, removed trailing ; 2016-06-06 17:57:19 +02:00
Samuel Georges e98aa14a6e Fixes tests - migrations are in global namespace 2016-06-06 07:35:30 +10:00
Samuel Georges d6d5a37ab1 Stable prep: Patch the theme.yaml file for latest YAML version
Fixes #1950
2016-06-06 07:33:21 +10:00
Samuel Georges d7cfe61e67 Delete raw data instead of models 2016-06-06 07:25:08 +10:00
Samuel Georges 628031254d Stable prep: Reset the brand settings and backend prefs
These have been restructured since RC version and so should be reset to avoid common bugs
2016-06-06 06:40:57 +10:00
Samuel Georges 171b14c6ab Nicer error message when no DB and backend access attempt
This is for flat-file sites that don't use a database. If debug mode is on, it will show an error page with advice to set up the database. If debug mode is off, it will simply show a 404 page. Previously it was a nasty exception/plain error page.
2016-06-05 07:16:11 +10:00
Alwin Drenth 47c038c96e Update Dutch (nl) language (#2086) 2016-06-04 12:16:17 +10:00
Samuel Georges 47f7a7cc3a Typo - fixes #2089 2016-06-04 12:14:53 +10:00
Samuel Georges 0111100990 Shared view vars now passed to content blocks and mail templates 2016-06-04 07:26:16 +10:00
Samuel Georges 744d5654b3 ThemeData model now busts the [front-end] combiner cache
Separation of concerns, move the combiner asset variable injection logic to the cms module
Tweak readme
2016-06-03 07:22:05 +10:00
Samuel Georges cd5a579c04 Disable clock picker AM/PM time for now
Restyle clock picker
Fixes #1989
Remove debug code
Recompile assets
2016-06-02 06:52:27 +10:00
Samuel Georges 31bebca129 Merge pull request #2084 from gergo85/develop
Update the Hungarian translation
2016-06-02 05:59:30 +10:00
Nicola Marini df625ea7d5 Update italian (it) language (#2083)
* 🇮🇹 Update ita lang

Update italian language

* 🇮🇹 Ita lang
2016-06-02 05:58:53 +10:00
vasilslavchev@gmail.com 8c93404576 Bulgarian translation (#2077)
Bulgarian translation for october modul - system. VasilSlavchev@gmail.com

Bulgarian translation for october modul - cms. VasilSlavchev@gmail.com

Bulgarian translation for october modul - backend. VasilSlavchev@gmail.com
2016-06-02 05:57:00 +10:00
Hernawan Fa'iz Abdillah 6bb5926e19 Add newline conversion to code data section too 2016-06-02 05:52:49 +10:00
Samuel Georges 27dc84c59b ThemeData can now pass variables to the combiner
Add support for fileuploads to ThemeData
Fixes #1539
2016-06-02 05:23:05 +10:00
Szabó Gergő 73ecd52def Update the Hungarian translation 2016-06-01 15:19:10 +02:00
Marc-Antoine Thevenet 0c2cf420fd 🇫🇷 updated (#2067)
* 🇫🇷 updated

🇫🇷 updated to line 187
+ closing #2041

* 🇫🇷 updated + fixing commas

* Update lang.php
2016-06-01 07:51:10 +10:00
Marc-Antoine Thevenet 812d7b3163 🇫🇷 typos & consistency (#2066)
* 🇫🇷 typos & consistency

🇫🇷 typos & consistency + closing #2042 as wrong branch

* Update lang.php

Fix following @gabsource

* Update lang.php
2016-06-01 07:50:54 +10:00
Samuel Georges 7a38d522db Remove LESS instructions, we use internal commands now
Timestamps don't need to be included in theme data
2016-06-01 05:54:35 +10:00
Lucas Martín 60602c5455 Added untranslated strings to spanish (#2073)
* Added untranslated strings to spanish

Added untranslated strings to spanish and correct commas and others

* Added untranslated strings to spanish

Added untranslated strings to spanish and correct commas

* Update lang.php

* Update client.php
2016-05-31 08:19:15 +10:00
Samuel Georges 74a6a71bcb Parameters -> Parameter
(Models should be singular)
2016-05-31 08:17:48 +10:00
Jérémy Gaulin 11a55b764b Fixes #2021 - Cropping with float values 2016-05-30 00:36:49 +02:00
Jérémy Gaulin 01140cde95 The selection mode must be applied when the popup is shown as the options are saved across requests.
Fixes #2022
2016-05-30 00:09:50 +02:00
Samuel Georges bb5a44ced5 Add get/set content to code editor plugin
Fixes plain text / snippet editor issue
Fixes #2059
2016-05-29 08:54:22 +10:00
Marc-Antoine Thevenet 55e7e1e545 🇫🇷 array strings fixed following 🇬🇧 version (#2063)
🇫🇷 array strings fixed following 🇬🇧 version
2016-05-29 08:16:18 +10:00
Dave Shoreman c746954c03 Make sure Project ID is always included in POST (#1728)
* Make sure Project ID is always included in POST

Attempting to install a paid plugin through Artisan would return an 'authority not found' error, when the same would work fine when clicking "Update" in the backend.

This moves the code that adds the project ID into the applyHttpAttributes method to ensure it gets added for all post requests, and not just those that are actually requesting a file.

* Remove projectId from requestUpdateList method

After moving the other setter to the applyHttpAttributes method,
this one is no longer necessary as the apply method is called from
the closure inside $this->requestServerData.
2016-05-28 16:22:55 +10:00
Samuel Georges 45fe9b3e88 Styling improvements to the exception beautifier
Recompile assets
2016-05-28 15:10:29 +10:00
Samuel Georges bb769db223 Dashboard now supports reset and make default
Added the new widgets to the add widget screen
System Parameters can now be reset
2016-05-28 14:18:25 +10:00
Samuel Georges b171407382 Adds "dropup" variant to dropdown
Popup trigger event allows event propagation
2016-05-28 14:10:19 +10:00
Samuel Georges f4b1c586bb Clicking a non-submit type link should allow event propagation
This is useful when an AJAX request link appears inside something like a dropdown. When the link is clicked, the dropdown should close like normal, however this is not the case since the value `false` is returned; so the expected behavior doesn't occur. As a solution, `false` is no longer returned, the default behavior on the event is prevented instead, allowing the propagation to proceed as normal.
2016-05-28 13:02:54 +10:00
Samuel Georges 805c0939ad Introduce two new dash widgets: welcome and active theme
System warnings have been moved to the system dash widget
Minor styling and language changes
2016-05-28 11:10:33 +10:00
Samuel Georges 8a7f762c71 Restyle system status report widget
Fixes styling on popover-danger and popover-head with customization
2016-05-28 06:49:59 +10:00
Jérémy Gaulin 69d8449a7d Reverted to HTML source cached fot the popup to prevent select bug 2016-05-27 01:15:28 +02:00
Jérémy Gaulin a888fe6e47 Fix the double-popup animation effect due to bad nesting (#2058) 2016-05-27 08:53:17 +10:00
Samuel Georges e512dc7167 Updates screen is really Updates and Plugins
Update english to be more succinct
2016-05-27 08:03:30 +10:00
Samuel Georges 17dca5c06e Fixes broken language key 2016-05-27 07:54:46 +10:00
Samuel Georges 064a15af8e Merge pull request #2057 from gabsource/translation/french-review
French translation review
2016-05-27 07:53:12 +10:00
Samuel Georges f0f751d523 MailSettings -> MailSetting 2016-05-27 07:51:36 +10:00
Samuel Georges ebc7929ada MaintenanceSettings -> MaintenanceSetting 2016-05-27 07:49:13 +10:00
Jérémy Gaulin df5300f1f2 French translation review 2016-05-26 23:47:25 +02:00
Samuel Georges e9be15cc15 Preferences -> Preference
Rename brandsetting config folder
2016-05-27 07:46:50 +10:00
Samuel Georges f676f55375 BrandSettings -> BrandSetting
(Models should be singular)
2016-05-27 07:37:49 +10:00
Samuel Georges cdb35f5070 UserPreferences -> UserPreference
(Models should be singular)
2016-05-27 07:35:32 +10:00
Samuel Georges 47d0a2677c UI Blocks can now be moved by dragging
Page links handler is now strict definition
Use more explicit naming for config_dashboard config
We have to use the codeeditor for mail templates for now, since froala is not playing nicely with twig
2016-05-27 05:21:50 +10:00
Samuel Georges ef5f89fb65 Merge pull request #2055 from gabsource/translation/french
New French translation keys
2016-05-26 09:01:56 +10:00
Samuel Georges 46480e2262 Add some notes about logic decisions
Refs #1933
2016-05-26 06:27:20 +10:00
Samuel Georges ca8d8e4b39 Streamline event names and add get/set functions 2016-05-26 06:25:02 +10:00
Samuel Georges 7177013bc9 Merge pull request #1933 from rsobon/master
UI fix for multiple dropdowns inside the same context
2016-05-26 06:24:44 +10:00
Samuel Georges abc9879ba7 Recompile assets 2016-05-26 05:32:49 +10:00
Szabó Gergő 5d104cfd56 Remove the unnecessary newlines
Update the event log translations

Update the Hungarian translations

Improve the logs preview translations

Translate the Editor settings page
2016-05-26 05:31:37 +10:00
Samuel Georges 44f1793346 Merge pull request #2054 from gabsource/feature/improve-exception-beautifier
Improved exception beautifier plugin
2016-05-26 05:22:10 +10:00
Samuel Georges 010a769b19 Create centered loader with text
Continuity styling updates
2016-05-26 05:20:26 +10:00
Jérémy Gaulin b280e10249 New French translation keys 2016-05-25 18:54:18 +02:00
Jérémy Gaulin c2e621e504 Improved exception beautifier plugin
- Keep the raw message in another tab
- Added a button to show/hide the stacktrace
- Fixes Windows paths
2016-05-25 13:54:09 +02:00
Szabó Gergő 0838f45874 Optimized brand settings layout for HD monitors 2016-05-25 00:03:47 +02:00
Samuel Georges 7dbab1c973 Add case for modal with no header/footer
Fixes #2043
2016-05-25 07:02:50 +10:00
Samuel Georges b215201d69 Restyle datepicker 2016-05-25 06:55:56 +10:00
Samuel Georges 30f7c03718 Fixes colorpicker when used inside a popup
Fixes #1145
Refs #1021
2016-05-25 06:37:03 +10:00
Samuel Georges de7edb10be Merge pull request #2039 from gergo85/patch-1
Fixed the translation
2016-05-25 05:42:29 +10:00
Samuel Georges bfb010bc8c Merge pull request #2038 from gabsource/feature/exception-beautifier
Follow up #2035 - Improve backend exception beautifier
2016-05-25 05:42:12 +10:00
Samuel Georges 887bf569dc Rollback recursion fix
This should no longer be necessary with the new third party code used in rich editor
Refs #1733
2016-05-25 05:28:00 +10:00
Samuel Georges 6b8f7b0dd9 Update MD editor to use new toolbar 2016-05-25 05:19:24 +10:00
Samuel Georges 4c50c23654 Refit the Predefined Page Links implementation
Refs #2005
2016-05-25 05:19:12 +10:00
Samuel Georges ff631ba92a Restyle the toolbar appearance
Refs #2005
2016-05-25 05:15:34 +10:00
Szabó Gergő 6130d4bcbd Fixed the translation 2016-05-24 08:44:23 +02:00
Jérémy Gaulin 873ed8b90e Improved exception beautifier plugin. Fix naming conventions. 2016-05-24 04:57:55 +02:00
Samuel Georges e20c0126ee Revive string escape helper 2016-05-24 06:25:13 +10:00
Samuel Georges 1a30c792fc HTML -> Markup 2016-05-24 06:05:11 +10:00
Szabó Gergő 6d86e44279 Add missing translation and update the Hungarian translate (#2017)
* Add missing translation

* Update the Hungarian translate

* Open the author's website in a new window

* Minor typo

* Minor change
2016-05-24 06:04:57 +10:00
Tobias Kündig 8caba09993 Fixed german translation in backend module (#2036)
* Fixed german translation in backend module

* Added confirm_delete translation

* Added return_to_list translation

* Fixed typo

* Use 'Verschieben' as german translation
2016-05-24 06:04:13 +10:00
Jérémy Gaulin 38ec5d109a Javascript plugin to beautify exceptions on the backend event log page (#2035) 2016-05-24 06:03:31 +10:00
Samuel Georges c72670e450 Recompile assets 2016-05-24 05:50:33 +10:00
Samuel Georges d730f9af9d Merge branch 'froala' into develop 2016-05-24 05:46:39 +10:00
Samuel Georges 4db7cff62f Remove custom font
After some testing, sans-serif font appears to behave consistently across Windows and Mac
2016-05-24 05:46:20 +10:00
Samuel Georges ef290df3af Custom CSS classes for styling elements
Define allowed tags, allowed empty, do not wrap, remove tags
Refs #2005
2016-05-24 05:33:32 +10:00
Samuel Georges 7563670c49 Minor styling fixes on the table control 2016-05-23 17:32:20 +10:00
Jérémy Gaulin be9d65f372 Fix plugin management page - Ref #907 (#2034)
* Disable activate/deactive and delete buttons after a successful AJAX delete request.

* Allow to load disabled plugin language files for display.
2016-05-23 05:05:19 +10:00
Jérémy Gaulin 09fd6ff74b Add missing LATIN_MAP preset chars and allow specific map based on configured locale (#2031)
Allow specific maps to override the defaults one based on configured backend locale.
Fixes #2026
2016-05-22 09:31:35 +10:00
Samuel Georges e3f777b192 Native Rich Editor messages should remain multi-lingual
Refs #2005
2016-05-22 07:41:38 +10:00
Samuel Georges af19341c01 "Quick Uploads" are dumped in a special folder via media manager
Refs #2005
Remove the active state on media manager table data for consistency with other view modes
2016-05-22 07:24:04 +10:00
Samuel Georges 2013789b0a Merge pull request #2033 from gabsource/fix/transcode-filter-undefined-class
Fix advanced import error  Class StreamFilterTranscode not found
2016-05-22 06:47:02 +10:00
Jérémy Gaulin 3556fe2869 Fix class name used on stream_filter_register to match the refactored class name. 2016-05-21 22:35:29 +02:00
Samuel Georges bcacc326bd Update Froala to latest 2016-05-22 05:21:19 +10:00
Jérémy Gaulin e3812036da Allow usage of namespace alias in the code section a a CMS page, with
unit test. Fixes #2006
2016-05-21 16:27:15 +02:00
Samuel Georges a33cf2ac8c Unify z-index's across all controls
Refs #1021
2016-05-21 15:17:14 +10:00
Samuel Georges aae177e7bc Create "windex" z-index window manager
Convert all storm UI z-indexes to variables
Refs #1021
2016-05-21 14:42:10 +10:00
Samuel Georges f936ff64f8 Continuity styling changes
Remove default predefined links from rich editor
2016-05-21 13:51:11 +10:00
Samuel Georges 79446aa464 Refit the media manager implementation
Refs #2005
2016-05-21 12:38:04 +10:00
Samuel Georges 5a63fb292a Combine media manager global with the core october.js file
This should save 1 extra request, although it is less modular we can address it again later
2016-05-21 12:37:21 +10:00
Samuel Georges 67e05bc976 Remove redactor - Refs #2005 2016-05-21 08:16:40 +10:00
Samuel Georges 115fc0c1ef Refit the Block UI logic
Previously contained in richeditor (this is a bit messy, rich editor should be generic), the block UI logic has been moved to its own "figures" plugin
2016-05-21 06:58:34 +10:00
Samuel Georges 85decc4086 Style tweaks 2016-05-21 06:57:12 +10:00
Jérémy Gaulin de3fdbd268 Fixed AbstractCSV (not imported) to CsvWriter (imported subclass) 2016-05-20 17:40:25 +02:00
Samuel Georges 9ad20d3b8d Continuity styling changes
Remove active states from inspector
Make the close (X) icons larger on CMS tabs and Components
2016-05-20 08:33:23 +10:00
Samuel Georges 066b918d39 Various styling changes
Removed the harsh title on popups
Anything considered an "overlay" now uses a box shading effect
The account menu now uses lighter shading
Introduced highlight states, allowing hover + active to behave independently
2016-05-20 06:33:16 +10:00
Samuel Georges 091705e70e Fixes scrollbars appearing on wide images 2016-05-20 05:20:13 +10:00
Samuel Georges d02a922868 Add custom toolbar button support
Style toolbar
Refs #2005
2016-05-20 04:35:40 +10:00
Samuel Georges a6ac4f50ce Create proposed Editor settings
Prevent Froala files from being added to git
2016-05-19 13:13:31 +10:00
Samuel Georges 4789616190 Initial switch from Redactor to Froala 2016-05-19 13:13:30 +10:00
Samuel Georges 3eb47e679b Remove custom font
After some testing, sans-serif font appears to behave consistently across Windows and Mac
2016-05-19 13:12:52 +10:00
Samuel Georges 61970413a8 More backend styling
Tone down the shading in some areas
Reduce intensity of button icons
2016-05-19 07:00:34 +10:00
Samuel Georges 60893d151f Prevents CMS tabs from sitting atop save buttons 2016-05-18 08:38:46 +10:00
Samuel Georges 6bae91b411 Fix poor sorting UX on tree view
This should fix the RainLab.Pages plugin sorting UX once and for all 👌
2016-05-18 08:38:15 +10:00
Samuel Georges f2e129e821 Fixes logic error
Fixes #2020
2016-05-18 05:57:08 +10:00
Samuel Georges 83ebd24bcc Side panel should be fixed by default 2016-05-18 05:01:19 +10:00
Samuel Georges 9484c400b8 Revert the flash message animation
Looks more consistent with the popup animation, also the intermittent animation jerk issue has been fixed
2016-05-17 05:19:06 +10:00
Samuel Georges 3bad70f041 Relation controller now applies the defined constraints by default
Relation controller now supports scope and conditions for the manage mode (list)
Logic has been modified across recordfinder and filter that only allows one constraint in this order (1. conditions, 2. scope, 3. defined constraints (where applicable))
Fixes #1203
2016-05-17 05:17:40 +10:00
Samuel Georges 41de93a2cb Fixes an issue where the default widgets are not loaded
Ping @ChadStrat
2016-05-16 06:41:15 +10:00
Samuel Georges 0d3566e3f6 We should purge the attributes before saving
This will allow the components to be removed
Fixes #2007
2016-05-15 16:47:10 +10:00
Jérémy GAULIN c43a460064 Allow specifying half bound daterange filter values (treat the missing one as "infinty", ie 0000-00-00 for min and 2999-12-31 for max) 2016-05-15 01:22:28 +02:00
Samuel Georges cb86e655dd Fixes disabled relation nulling value
Just like DatePicker, relation and even regular fields should omitted from the data set
The same logic should apply to hidden fields
Fixes #1827
Recompile assets
2016-05-15 06:47:28 +10:00
Gabe Blair eaea0fc541 Fix close button color modal headers and repeaters
The "close" and "delete" buttons in modal popups and repeaters inside modal popups was nigh invisible on a light background. This should fix it up.
2016-05-15 06:20:58 +10:00
Szabó Gergő 5a031a2e29 Added the missing translations
Replaced the old php array syntax
Minor typo
Updated the Hungarian language
2016-05-15 05:32:06 +10:00
Jérémy GAULIN e988e1a171 Fix error thrown when `$date` is not set 2016-05-14 11:50:14 +02:00
Samuel Georges 36caa651f3 Datepicker was moved to storm, so no need to load it from the widget
Recompile assets
Refs #2008
2016-05-14 16:37:55 +10:00
Jérémy GAULIN 02c000530c Display dates with backend timezone. Manipulate date with app timezone. 2016-05-14 04:14:42 +02:00
Jérémy GAULIN 578319a204 - Fix submitting null dates.
- Allow scope functions for date and date range with Carbon instances at 00:00:00 (date / daterange after) and 23:59:59 (daterange before).
 - Introduced after / before (Y-m-d 00:00:00 / 23:59:59) for date widget. Kept filtered at Y-m-d
 - Introduced afterDate / beforeDate (Y-m-d) for daterange. Kept after / before at Y-m-d 00:00:00 / 23:59:59
2016-05-14 04:14:41 +02:00
Jérémy GAULIN 7170c1460e Streamline daterange popup buttons 2016-05-14 04:14:41 +02:00
Breno Douglas Araujo Souza 8d1670d562 Fix error upload file in midia
rename $title to $name in cleanFileName method
2016-05-12 11:54:39 -03:00
Samuel Georges 75003fb877 Fix arg / var mismatch
Refs #2001
2016-05-12 08:21:17 +10:00
Samuel Georges f3f8676479 The date format should be sourced from moment
Streamline JS formatting
Refs #1651
2016-05-12 07:02:29 +10:00
Samuel Georges 5ce890ba4a Cannot use default as a variable
Add missing date scope partials
2016-05-12 06:48:30 +10:00
Samuel Georges d50c7591cf Move the datepicker to storm
Write docs on usage
2016-05-12 06:48:10 +10:00
Samuel Georges e2647dcf64 Move moment + pickers to storm 2016-05-12 05:54:41 +10:00
Samuel Georges 37403f3ad4 Reorganise some code from #1651
Add getLang helper - Storm cannot depend on Backend
Recompile assets
2016-05-12 05:48:04 +10:00
Samuel Georges cdd280b6e1 Merge pull request #1651 from gabsource/feature/list-scope-filter-by-dates
Feature to allow filtering lists by date scopes (single date or range)
2016-05-12 04:46:06 +10:00
Samuel Georges f900ed8f62 Reshuffle the base color scheme again
Restyle the component area in the CMS
2016-05-12 04:33:01 +10:00
Samuel Georges ff207b91cf onDelete -> onDeleteItem 2016-05-12 04:31:29 +10:00
Jérémy Gaulin 51ac38dff7 Minor refactoring to match latest develop version 2016-05-11 17:27:52 +02:00
Jérémy Gaulin 99dba21c97 Translate filter group dropdown 'all' reset text 2016-05-11 16:13:52 +02:00
Jérémy GAULIN b08c215b72 Filter lists by dates with two new scope types (date and range) 2016-05-11 16:13:52 +02:00
Samuel Georges bab3a0ed5c Improve UI on sign in screen
Fixes a weird issue where the custom logo ratio loses its transparency
2016-05-11 05:29:34 +10:00
Samuel Georges 5400ec7d2d Complete taglist form widget 2016-05-10 06:02:35 +10:00
Samuel Georges 5d27682f25 Create new TagList form widget (Experimental)
Update Select2 to latest
2016-05-08 17:43:21 +10:00
Samuel Georges fc1adb937c Merge pull request #1961 from canthis/translations/lv-translation
Added missing backend/  translations for Latvian language
2016-05-08 11:18:32 +10:00
Samuel Georges 0aaf17c98a Merge pull request #1975 from gabsource/enhance/fr-translation
Translated news keys for french locale
2016-05-08 11:18:22 +10:00
Samuel Georges 05758ed507 Merge pull request #1943 from mcustiel/bugfix-components-autowiring
Bug: Fix for components that support autowiring
2016-05-08 11:17:32 +10:00
Samuel Georges d69053481c Tweak some styles 2016-05-05 17:39:36 +10:00
Samuel Georges a180e37b1d Maintain key integrity. Fixes #1969 2016-05-04 19:20:41 +10:00
Jérémy Gaulin 8e63060a11 Translated news keys for french locale 2016-04-30 12:00:20 +02:00
Samuel Georges f33c3519c9 Minor style tweak 2016-04-30 07:51:01 +10:00
Samuel Georges f5633c1bc6 SQL MODE code may fail in other drivers, use Dongle instead 2016-04-30 06:22:00 +10:00
Samuel Georges f45c04a3aa Minor logic error
Trash strict mode off during default migrations: this will occur as a one-time during the RC->stable since the code exists in the migration.
2016-04-30 06:01:51 +10:00
Samuel Georges 1c8de67610 Merge pull request #1964 from dshoreman/date-fixes
Date fixes
2016-04-30 05:21:32 +10:00
Samuel Georges 1608d80127 Reorganise code editor prefs
Fixes visual bugs
Update dashboard icon
Restyle flash messages
2016-04-30 04:53:33 +10:00
Dave Shoreman e2b110a611 Disable strict mode before running migrations
This will ensure strict mode is not applied while running migrations
for both modules and plugins, either when installing or removing.

We don't need to call disableStrictMode from UpdateManager::uninstall()
as it is called within the plugin removal methods, which are run first.

To force strict mode to be enabled, set 'strict' => true in the database config.
2016-04-29 19:32:11 +01:00
Dave Shoreman 48090351bd Convert current core timestamp columns to nullable
Adds migrations to switch all existing timestamp fields from being
NOT NULL DEFAULT 0, to NULL DEFAULT NULL, in order to get around
issues with new default modes in MySQL that cause errors in 0 dates.
2016-04-29 19:31:17 +01:00
Samuel Georges d6a7fdc74c Reduce the wording on a bunch of messages 2016-04-29 17:36:52 +10:00
Samuel Georges 4511120cb6 Implement ArgonServiceProvider for detect locale
Refs #1968
2016-04-28 17:58:35 +10:00
Samuel Georges e52fa7bd33 Compat with CSV v8 2016-04-28 06:39:35 +10:00
Samuel Georges 0d451eaa78 Be less strict about formExtendModel returning a model 2016-04-28 05:47:14 +10:00
Samuel Georges 0d8a30730e Introduce scope "switch" type, allow options to be passed 2016-04-27 19:09:19 +10:00
Dave Shoreman 34f2aa7dcf Switch to custom Schema facade
Updates the Schema facade to point to the custom one added in the
library repo, and sets all existing migrations to use our own
Blueprint class instead of the one provided by the Laravel framework.
2016-04-27 08:31:58 +01:00
Samuel Georges 28a8f84692 Add "outline" buttons and restyle callouts 2016-04-27 06:54:21 +10:00
Samuel Georges adbde0ad09 If the cache should fail, don't bring down the whole app 2016-04-27 05:44:32 +10:00
Samuel Georges a5acbc7bff Add before/after events for component::onRun 2016-04-27 05:44:32 +10:00
Samuel Georges 589f6d1551 Restyle flash message animation 2016-04-27 04:44:02 +10:00
SlaviX.DnB 14bfaf00e8 One more string translated in import/export section.
Missed it in previous commit.
2016-04-26 17:54:26 +03:00
SlaviX.DnB 169a93e9d4 Backend Latvian translations
Added missing strings, fixed typos.
2016-04-26 17:44:55 +03:00
Mariano Custiel aa08a83420 Fix for components that support autowiring
Removed unneeded null object and call App::make without arguments
2016-04-26 11:49:41 +02:00
Samuel Georges ad484d56cf Fix tab styling inside preview container 2016-04-26 07:08:36 +10:00
Samuel Georges 94af417d8a Set default backend timezone to app value
Consider that some users may have already set app.timezone to their local timezone, so we don't want these values converted back to UTC
2016-04-26 07:00:08 +10:00
Samuel Georges d3efc1af4c Make the datepicker preview mode show pretty dates
Improve styles of preview form controls
2016-04-26 06:59:02 +10:00
Alexander Shapoval 2f81d2fe0b Export with utf-8 characters (#1958) 2016-04-26 06:27:33 +10:00
Samuel Georges 41fe2407be Add support for TIME db columns
Tacks on todays date so it remains compatible with the datepicker control. Without this, it returns "Invalid date"
2016-04-26 06:18:04 +10:00
Samuel Georges 733c77c3f1 Improvements to clockpicker
AM/PM time now loads correctly
Updating the input field manually is reflected in the data locker
2016-04-26 06:12:16 +10:00
Samuel Georges 39e91575af Write docs for datepicker plugin 2016-04-24 09:43:26 +10:00
Samuel Georges e772e87de5 Complete rebuild of datepicker form widget
The datepicker now handles timezones and locale mainly on the client side. When a user selects a date/time, the value is chosen in their timezone preference, the script will then convert the value to the application timezone (UTC) for storage in the database. The reverse is true: when the value is loaded, it is converted from UTC to the user preference. The entire process is seamless. Dates are also formatted in the locale preference.

Example scenario: This fixes the issue when selecting the blog post published date. In some cases, the date could be set to 24th April but the server time is 23rd April, so the post appears unpublished against the user's intent.

There is still some issues around DATE and TIME column types stored in the database. It is best to always use TIMESTAMP/DATETIME to retain the timezone conversions. DATE will reset the time to 00:00 UTC which can cause issues and TIME does not play nicely with Carbon at all. We should still try to add support for these columns in the datepicker, even though they are not recommended.
2016-04-24 09:33:39 +10:00
Samuel Georges d49cef2201 Pass the app timezone for conversions 2016-04-24 05:36:02 +10:00
Samuel Georges 706f0637f4 Move menu mode to its own tab
This should get a fancy form field soon
2016-04-23 13:17:40 +10:00
Samuel Georges 02165a8a4a Introduce a new localized date control
Added a helped Backend::DateTime() for rendering the appropriate HTML output as a <time /> tag
The meta now specifies the locale and timezone preference used here
Lists now take advantage of this to display dates relative to the timezone and language (awesome sauce)
@todo Still need to get apply this logic to the datepicker form widget
2016-04-23 13:17:04 +10:00
Samuel Georges 4df7c6704e Introduce locale variants
Australia
Canada
UK
2016-04-23 13:13:52 +10:00
Samuel Georges e75b01b878 Compiled client locale files now include moment config 2016-04-23 13:12:41 +10:00
Samuel Georges 13fb0e6388 Update moment, add moment.timezone library + locales 2016-04-23 13:11:26 +10:00
Samuel Georges 6c081d9265 Combine editor preferences and backend preferences
Add backend timezone setting used for converting display dates
2016-04-23 05:31:05 +10:00
Samuel Georges 7cb9087ffb DateTime throws an invalid arg exception to prevent Twig crashing
Remove rounded search style
2016-04-23 05:29:42 +10:00
Samuel Georges 0504da41f2 Add hasFields methods
formHasOutsideFields, formHasPrimaryTabs + formHasSecondaryTabs
2016-04-23 05:13:08 +10:00
Samuel Georges 72d3fe3ebd More styling updates 2016-04-23 05:11:02 +10:00
Samuel Georges abaa65cc0e Cut back the design
Switch to hard lines
2016-04-22 08:21:08 +10:00
Alwin Drenth db9dc40ab0 Fix redirect to wrong url after creating layout #1905 2016-04-22 04:52:06 +10:00
Samuel Georges 76faef7c17 Sync styles on media picker and file upload 2016-04-21 06:11:31 +10:00
Alexander Guth 13276a500e Add conditions config to RecordFinder
Fixes #1524
2016-04-21 05:36:53 +10:00
Samuel Georges f2d8fcaf14 Record finder now supports scopes and search options 2016-04-21 05:36:29 +10:00
Samuel Georges 51bef96db9 More styling changes and other minor improvements 2016-04-21 04:52:21 +10:00
Samuel Georges cfd53375ac Fixes to editor preferences 2016-04-21 04:50:05 +10:00
Samuel Georges 788ffbb417 Minor fix to custom list search scope 2016-04-20 05:29:24 +10:00
Samuel Georges bff35e5f1a Lists can now define search scope or mode (see docs) 2016-04-19 19:54:22 +10:00
Lucas Martín e2566c36a0 update codeeditor with new features (#1863)
update ace v1.2.0 to v1.2.3
add codecompletion and live codecompletion(with documentation inline)
add snippets to lenguajes(php,javascript,html,css)
add translation to spanish
add search and replace buttons
2016-04-19 16:36:45 +10:00
Samuel Georges be7b3b3009 Remove the cray defaults on datepicker
Recompile assets
Fixes #1920
2016-04-19 05:59:32 +10:00
jfoliveira 6a897b1072 Datepicker: allow specify display format (#1919)
* Apply datepicker `format` property reading from config.

* Using the format property on partial.
2016-04-19 05:11:40 +10:00
Samuel Georges c351ff8411 Merge pull request #1932 from ariponce/pr2
Add SES configuration for mailer
2016-04-19 05:09:54 +10:00
Jérémy Gaulin f6b9c780e7 Added missing french tanslation keys including changes from PR #1898 with some accentuated character fixes 2016-04-16 16:14:08 +02:00
Samuel Georges 87a4de40de Address serialize/unserialize issues
This will require a cache clear for the combiner
Ref https://davidwalsh.name/php-serialize-unserialize-issues
2016-04-16 08:22:31 +10:00
Samuel Georges cb6cf45156 Fixes issue where Cache helper does not flush framework 2016-04-16 08:10:14 +10:00
Samuel Georges b534006f35 DbDongle -> App::hasDatabase 2016-04-16 07:44:18 +10:00
Samuel Georges 42534b2e9d Add the ability to customize the main menu
Fix radio styles
2016-04-16 05:11:14 +10:00
Samuel Georges 9fd0681ee7 Refit backend brand settings to latest UI changes 2016-04-16 04:43:34 +10:00
Samuel Georges cafd5d7ffa ComponentPartial properties should be publically accessible
Fixes caching issue when updating a component partial
2016-04-16 04:42:34 +10:00
Samuel Georges b15cdadd99 Restrict scrolling to thead
Fixes fluidity issue on Apple trackpad
We can now use combo scroll for Windows users / more obvious UX
2016-04-14 05:24:19 +10:00
Rafał Soboń 7ed50690a2 UI fix for multiple dropdowns inside the same context 2016-04-13 15:21:30 +02:00
ariponce 5b8bab4e06 Add SES configuration for mailer 2016-04-13 14:10:21 +02:00
Samuel Georges 6c30e542a7 Replace the mobile list control with drag scroll implementation
Disable dragging if there is nothing to drag to
Fixes accidental list.rowlink clicks when dragging
List headers no longer wrap
2016-04-13 18:18:29 +10:00
Samuel Georges ba57dd8993 clearAssetDefinitions -> flushAssets 2016-04-12 18:04:15 +10:00
Samuel Georges d652c854b1 Lots of small UI fixes 2016-04-12 18:03:55 +10:00
Samuel Georges cff42387ae Minor fix to checkbox align class 2016-04-12 06:24:04 +10:00
Samuel Georges b02f0c2230 Trial Noto font, adjust primary tab sizing
Noto appears to be much easier to read and is more consistent for other languages. Eg, on windows, sans-serif appears to change completely when mb characters are introduced.
2016-04-11 04:59:59 +10:00
Samuel Georges 04fc95bac3 Return button on class 2016-04-08 22:18:53 +10:00
Samuel Georges 4043921834 Adds extra flavor to buttons
Reduce font sizes a bit
Fixes rogue hand from appearing when clicking drag scroll enabled elements
2016-04-07 20:17:48 +10:00
Samuel Georges c5362652c1 Begin the process of refitting brand settings
Introduce secondary and accent colors
Switch some CSS to use the new storm utils
Other minor improvements
2016-04-05 20:04:11 +10:00
Samuel Georges 03c7cbbeed Adds an API to the sidenav script for setting the active item
setActiveItem function
This will be useful for setting a custom active class
2016-04-05 20:02:25 +10:00
Samuel Georges 7a33146348 Add CSS utilities to Storm lib 2016-04-05 20:00:57 +10:00
Samuel Georges ed6e01c2c5 File model is now abstract 2016-04-05 19:47:06 +10:00
Samuel Georges 594f9958cb Rebuilt the mobile navigation. 2016-04-04 22:12:19 +10:00
Samuel Georges f68eb3f20f Move halcyon registration to model boot
Attempt to fix issue where service provider looks at system_preferences database table that doesn't exist yet as part of the boot() method
Fixes #1897
2016-04-04 18:37:56 +10:00
Samuel Georges 838f836051 Revert the nav to the classic style
Various sizing fixes
Set the standard padding to 20px
Mute system links unless hover or active
Fixes an issue where the scroll indicator appears always on fancy layout, these containers cannot use padding!
Refs #1895
2016-04-04 18:37:55 +10:00
Vojta Svoboda 28a859d9ae Fix cs_CZ locale typo 2016-04-03 10:55:24 +02:00
Samuel Georges ca3e13ed33 Fixes issue related to PHP 5.5.12
For some reason the closure did not like static calls inside, bye bye array_map(...)
2016-04-02 17:39:23 +11:00
Samuel Georges 8dd2e97cf7 ~1.0 -> dev-develop 2016-04-01 14:07:43 +11:00
Samuel Georges a548d6ee56 Merge remote-tracking branch 'remotes/origin/stable' into develop
Conflicts:
	modules/backend/lang/en/lang.php
	modules/backend/lang/fr/lang.php
2016-04-01 13:00:32 +11:00
Samuel Georges b51b5a112e dev-stable -> ~1.0 2016-04-01 12:52:11 +11:00
Samuel Georges ea5193e4c8 Merge pull request #1887 from gpasztor87/ui
Update AssetList + Clean up
2016-03-31 07:41:05 +11:00
Pásztor Gábor ef228c4915 Minro style improvements 2016-03-30 21:29:30 +02:00
Pásztor Gábor 9f3fcf27ed Update AssetsList 2016-03-30 18:17:18 +02:00
Pásztor Gábor 40269cb6e2 Clean up 2016-03-29 14:55:25 +02:00
Samuel Georges 5a9d62d54a Merge pull request #1882 from gpasztor87/patch-1
Clean up
2016-03-29 23:08:47 +11:00
Samuel Georges 76e16e8001 Merge pull request #1879 from gpasztor87/ui
Fix error in Maintenance Settings
2016-03-29 19:18:11 +11:00
Samuel Georges 7affc4bec8 Apply layout to unregistered mail templates 2016-03-29 18:17:25 +11:00
Samuel Georges 11cf46008f Adds core changelog to update screen 2016-03-29 17:44:48 +11:00
Pásztor Gábor 324875f768 Clean up 2016-03-28 15:47:29 +02:00
Pásztor Gábor 87a5ff339e Fix error in Maintenance Settings 2016-03-28 15:41:47 +02:00
Samuel Georges 2ac23cc3c7 More peer review of #1856
Separation of concerns, the language file shouldn't really be treated as a data source for the supported encoding options.
2016-03-26 14:28:34 +11:00
Samuel Georges a035acdc2c Tidy up some logic, restore firstRowTitles setting
Refs #1856
2016-03-26 14:10:05 +11:00
Jérémy Gaulin 2a60e34558 Import options to configure the CSV reader + patch to prevent unfriendly error to be thrown due to bad import source file encoding (on AJAX request) 2016-03-26 12:54:13 +11:00
Samuel Georges 1785c6c0d8 pikaday -> datepicker 2016-03-26 12:53:45 +11:00
Samuel Georges 8e14b9b649 Recompile assets 2016-03-26 12:40:55 +11:00
Jérémy GAULIN f836b43bb3 Pikaday translation 2016-03-26 12:39:57 +11:00
Samuel Georges 90ccef9b11 Minor 2016-03-26 12:39:34 +11:00
Samuel Georges 6f6a3cc78c Merge pull request #1855 from gabsource/enchancement/import-export-french-translation
French translations for import/export errors strings
2016-03-26 12:38:42 +11:00
Samuel Georges 86d4ae491e Minor 2016-03-25 18:42:39 +11:00
Samuel Georges 2a7dbdd74a Merge branch 'stable' into ui
Conflicts:
	modules/cms/classes/CmsObject.php
	modules/cms/widgets/MediaManager.php
2016-03-25 18:42:13 +11:00
Samuel Georges 4ddc8055c6 Merge branch 'develop' into stable 2016-03-25 18:39:16 +11:00
Samuel Georges 0aef151d9a Add showSearch option to dropdown
This is a highly specific option, so we shouldn't add it to the FormField class itself
2016-03-25 18:21:58 +11:00
Samuel Georges 5789d0242f Fixes single image uploader breaking with comment
Comment appears to the right of the uploader, should be under it
2016-03-25 18:21:21 +11:00
Samuel Georges 23f4d40ef2 Merge common functionality in to FormModelWidget 2016-03-25 18:01:58 +11:00
Samuel Georges 7b32f33d9d Update to resizer class
Refs #1694
2016-03-25 17:31:22 +11:00
Samuel Georges 767ce5f2e7 Throw an exception when the file_data is missing from the request
Fixes #1712
2016-03-25 16:11:01 +11:00
Samuel Georges a585fe3316 Share pivot|list title logic
We already had a key for this... spooky!
Refs #1755
2016-03-25 14:24:38 +11:00
Samuel Georges e19ae42e45 (Rollback) Keep instances to themselves 2016-03-25 14:17:13 +11:00
Samuel Georges 762c5e754b Switch the manage popup title according to the button pressed
Fixes #1755
2016-03-25 14:03:11 +11:00
Samuel Georges 4fe6cc6509 Adds a clearInternalCache method to SettingsModels
Fixes #1815
2016-03-25 12:44:42 +11:00
Samuel Georges 0950959904 Do not show disabled plugins in the update list
Fixes #1716
2016-03-25 12:37:15 +11:00
Samuel Georges 010cd403f5 Detail column now supports lengthy updates
Fixes #1816
2016-03-25 10:59:17 +11:00
Samuel Georges 3cac52afd4 Default is null, not false 2016-03-25 10:42:14 +11:00
Samuel Georges f1aa720086 Create a safe mode to disable code field in the CMS
Fixes #1756
2016-03-25 10:05:04 +11:00
Samuel Georges 680887f452 Fixes component access issue 2016-03-25 09:56:36 +11:00
Samuel Georges 7c08b10fa2 Add cms.theme.setActiveTheme event
Bring other event names in to line with convention
Complete getConfigArray method
2016-03-23 20:11:55 +11:00
Samuel Georges 484579ac40 Sreamline events in richeditor
Add nwe event for visual mode (when visual mode is activated from code mode)
Always use spaces in redactor
2016-03-23 20:10:55 +11:00
Samuel Georges 0b74734fae Make room to load theme options from files
For example:
form: path/to/fields.yaml
2016-03-22 20:03:00 +11:00
Samuel Georges 2a3a63857c text/javascript is obsolete. Fixes #1847 2016-03-21 19:13:01 +11:00
Samuel Georges 31f74adb70 suppressDirectories -> ignoreDirectories
Add support for wildcards in ignoreDirectories
2016-03-21 17:19:38 +11:00
Samuel Georges 6e7fa7de88 Allow CmsObjects to define their own Twig cache key 2016-03-21 13:42:03 +11:00
Jérémy Gaulin 8debdf023a Externalized import/export errors strings + french translation 2016-03-20 22:22:36 +01:00
Samuel Georges 4922d6d284 Retain previous listInTheme cache functionality 2016-03-20 16:04:27 +11:00
Samuel Georges fad028bc40 Add local cmsObject.fillViewBagArray event
Tidy up some inline docs
2016-03-19 13:22:08 +11:00
leocavalcante f5f7ed08e4 Make available to extends Lists records 2016-03-18 21:05:23 -03:00
Samuel Georges 792b7fed2a Fixes CmsException on bad INI
No need for Cms SectionParser.php anymore
2016-03-19 10:30:42 +11:00
Samuel Georges c244aef2f8 Clean up 2016-03-18 19:54:27 +11:00
Samuel Georges e9c7e6b9d1 No it is not safe to share the alias and field name...
The field name could be nested, for example: user[data]
Using this as an alias is user[data]::onDoSomething
Resulting in an invalid AJAX handler name
2016-03-17 19:50:34 +11:00
Samuel Georges 7f209d2df9 Bring Asset in line with inTheme 2016-03-17 19:28:29 +11:00
Samuel Georges 045d186960 Finishing porting old functionality
- Add validation to Cms Objects
- Add local viewBag logic
- Implement new initCacheItem process
- Implement getter for viewBag/settings properties
2016-03-17 19:25:50 +11:00
Samuel Georges dcc63baffd Theme -> Datasource 2016-03-17 19:22:37 +11:00
Samuel Georges 864d38b77e Why are these static?
...seriously, why are they static?
2016-03-12 15:49:37 +11:00
Samuel Georges 24a620e890 Convert CmsObject and CmsCompoundObject to use Halcyon
getFullPath -> getFilePath
2016-03-12 15:32:16 +11:00
Samuel Georges 855a97b35e Set the default theme as part of the boot process
Themes can also register themselves gracefully with Halycon after loading
2016-03-12 12:14:19 +11:00
Samuel Georges 1bc647f978 Decouple Asset object
Add extensible to ComponentPartial
2016-03-12 10:17:07 +11:00
Samuel Georges c34f72b821 Decouple ComponentPartial from CmsObject 2016-03-09 21:01:57 +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
Samuel Georges 3db2809fc4 Register Halcyon Service Provider 2016-03-07 18:46:45 +11:00
Scott Bedard fcfcb96d0d Add ctrl+click support for rowlinks
Ctrl+click is supported pretty well in the backend, this adds it to rowlinks as well.
2016-03-06 02:29:57 -07:00
Samuel Georges 07132ffbd6 Returns original setter functionality
To protected things like $this->page->title = "foo";
Template -> Bracket
2016-03-05 10:49:24 +11:00
Pásztor Gábor ed1c84b8b1 PHPDoc fixes. 2016-03-04 16:50:58 +01:00
alekseybobkov aaff88b8c2 Reduced base border radius 2016-03-02 21:40:33 -08:00
alekseybobkov 9956870c38 Minor update in the top menu styles 2016-03-02 21:34:39 -08:00
alekseybobkov 27c7f4d0b8 Fixes a bug with inserting Media objects to the rich editor in Safari. Closes #1733 2016-03-02 21:10:27 -08:00
Samuel Georges 090b39bdc5 Fixes font size on collapse button 2016-03-02 18:22:49 +11:00
Samuel Georges 94c6ef4da0 Let Cms Objects use behaviors 2016-03-02 18:13:00 +11:00
Samuel Georges 27d32d35ea Allow vertical scroll to act as horizontal
Not everyone has a trackpad and can scroll horizontally, so vertical scroll can substitute here
2016-03-02 18:06:46 +11:00
Samuel Georges 852785960b Tweak main menu to behave more like tiles 2016-03-02 18:05:52 +11:00
kaserv 51d1f1a684 issue #1819 2016-03-01 10:20:20 +04:00
alekseybobkov 387c75c5cd Fixed a bug where changing a letter case in a folder name in Media Manager deletes the folder. Added ability to move files and folders to the root directory in Media Manager. Fixed a bug where numeric folder names are displayed incorrectly in the folder path in Media Manager. Fixes #1765, fixes #1173, fixes #1085. 2016-02-29 21:50:07 -08:00
Samuel Georges 9c59dd58d3 Trial tooltip nav, recompile assets 2016-03-01 08:59:20 +11:00
Samuel Georges 7c6e3b1360 Remove old code 2016-03-01 07:54:05 +11:00