Commit Graph

3741 Commits

Author SHA1 Message Date
Sevdin Filiz 880b770ad3 Add 'logging' language variable for logging setting tab. (#2669)
"defaultTab: Logging" definition is hard coded. Changing it to pull from "system::lang.log.default_tab"
2017-02-11 15:26:01 -06:00
Luke Towers 9a2a981cdf Merge pull request #2668 from angelside/master
Update modules/system/lang/en/lang.php
2017-02-11 13:09:15 -06:00
Sevdin Filiz 4b3c43c676 Update modules/system/lang/en/lang.php
For Turkish language we use "Türkçe", not "Türk". "Türk" is a person (adjective), "Türkçe" is a language name.

Example:

- We speak Türkçe.
- I am a Türk.
2017-02-11 16:14:04 +02:00
Samuel Georges d19f0a1229 Add config for duplicate database query cache
Refs https://github.com/octobercms/library/pull/253
2017-02-11 08:18:42 +11:00
Samuel Georges 8ffc744dc0 Merge branch 'develop' of github.com:octobercms/october into develop 2017-02-08 19:11:57 +11:00
Samuel Georges 13471b4178 Bump froala_editor to v2.4.2 2017-02-08 19:10:24 +11:00
octolit 43391688be Lithuanian translation for system/lang (#2648)
* Lithuanian translation for system/lang

* Lithuanian backend translation for cms/lang

* Lithuanian backend translation

Final and complete translation for backend/lang for Lithuanian. Also
added locale option in modules/backend/models/Preference.php for
back-end users to be able to select new locale -> Lietuvių (Lithuanian)

* reset_error translated
2017-02-07 14:56:06 -06:00
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
Luke Towers 6ceaa52483 Merge pull request #2660 from ilazaridis/develop
Update greek translations
2017-02-07 11:54:49 -06: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
Samuel Georges dc85993584 Minor improvements
Add navbar-default styling out of the box
2017-02-03 05:40:24 +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
Samuel Georges 8d1ecb01b8 Improve nullable tests
Refs https://github.com/octobercms/october/issues/2612
2017-02-02 05:15:47 +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
Luke Towers 5c1a5bcea2 Merge pull request #2637 from gergo85/develop
Update the Hungarian translate
2017-01-30 09:34:57 -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 6c4c06e5ee Merge pull request #2635 from octobercms/LukeTowers-patch-1
Fix typo in RelationController (original #2460)
2017-01-28 16:05:06 -06: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