Commit Graph

1550 Commits

Author SHA1 Message Date
Samuel Georges 3abd61244a Code dusting 2017-07-29 15:33:51 +10:00
Samuel Georges 5346617a91 Archive unlink comes last to allow retry
If the file is deleted and subsequent logic fails, clicking Retry is a show stopper
2017-07-29 15:18:46 +10:00
Samuel Georges b732f70c59 Adds support for single file uploads
...when used without a form tag
Refs #2857
2017-07-29 09:21:49 +10:00
Samuel Georges bc46520e3f This prevents &foo=bar on empty forms 2017-07-28 09:38:39 +10:00
Alexander Shapoval 26ee634ffb Updated Ukrainian and Russian translations (#2988)
* Small changes in Ukrainian and Russian languages
2017-07-28 08:53:40 +10:00
Samuel Georges 97508c3953 Rem code sample 2017-07-28 01:50:37 +10:00
Samuel Georges 72eb48cf2e Add support for AJAX file uploads
Refs #2857
2017-07-28 01:45:26 +10:00
Samuel Georges 9cadea9b19 Code doc improvements 2017-07-27 17:35:14 +10:00
Samuel Georges ef191d64e4 l55upgrade -> develop 2017-07-26 21:03:52 +10:00
Samuel Georges 9bb639b19f Merge branch 'l55upgrade' into develop 2017-07-26 20:59:58 +10:00
Samuel Georges 5eddd13fe2 Rem debug code 2017-07-26 17:49:05 +10:00
Samuel Georges 18b9253bcb Change to mail partial syntax 2017-07-26 17:48:00 +10:00
Samuel Georges f1ac7eea3b Typo 2017-07-25 17:46:21 +10:00
Samuel Georges 3f0e6d8b29 Register `appName` as global view variable
Minor mail template improvements
2017-07-23 17:20:53 +10:00
Samuel Georges 9287d926f7 Refit invite and restore mail templates
Fixes {% partial %} node for mail templates
Trim body var for text emails
Style code nodes
2017-07-22 22:23:22 +10:00
Samuel Georges b2b82588f2 Implement CSS to inline styles
Refit system layout
2017-07-22 21:49:48 +10:00
Samuel Georges 0a06582ce7 Layouts can be reset to default 2017-07-22 21:32:16 +10:00
Samuel Georges 261760e4c8 Reset mail brand settings to default
UX fixes to mailtemplates controller, active tab now remains active and redirects leverage active tab setting
2017-07-22 21:20:25 +10:00
Samuel Georges 744bf6af6e Consolidate methods 2017-07-22 20:19:03 +10:00
Samuel Georges 28c30daa4f Use safe md parsing for mail
Ensure backward compatibility by disabling indented code blocks for mail templates
Tweak mail brand colors to match October
2017-07-22 19:01:20 +10:00
Samuel Georges d9e2fbe386 Apply all vars to mail brand css 2017-07-22 18:18:30 +10:00
Samuel Georges 4e5ac44999 Create remaining mail partials
Improve mail partial lookup method
2017-07-22 18:03:58 +10:00
Samuel Georges 31ffadbc4c Introduce mail branding settings 2017-07-22 17:20:48 +10:00
Samuel Georges 181be5979a More meaningful mail views 2017-07-22 17:19:47 +10:00
Samuel Georges cd6a7c75dc Refresh colorpicker form widget
Replace colpick with spectrum plugin
Recompile client lang
2017-07-22 11:40:59 +10:00
Alwin Drenth c1cd76d60a Update Dutch language files (#2987) 2017-07-21 09:27:27 -06:00
Samuel Georges 4663531de2 Introduce mail partials + twig
Improve layout seeding
2017-07-19 21:14:08 +10:00
Samuel Georges 52e61f6a3b Make fields stretchy 2017-07-15 20:01:56 +10:00
Samuel Georges e1629a9413 Remove system dependency on cms module
Refit #2970
2017-07-15 10:14:15 +10:00
BenjaVR c2d99e6d92 UpdateManager runs without Cms module 2017-07-15 10:11:23 +10:00
Samuel Georges 81b28e3938 Render order should be Twig -> Markdown -> Html
Use unrendered markdown as defaul text template
2017-07-15 00:55:56 +10:00
Samuel Georges c83b432e36 Add exception handling 2017-07-14 22:29:36 +10:00
Samuel Georges 78d722adf0 Set last build number, updating via composer 2017-07-14 22:01:11 +10:00
Samuel Georges f6eade56af fire -> handle 2017-07-14 16:28:47 +10:00
Samuel Georges 5a4e2b6b11 Email templates now use Markdown
Move mail template management to MailManager
2017-07-14 16:20:53 +10:00
Samuel Georges 1db67af8e8 Merge remote-tracking branch 'remotes/origin/develop' into l55upgrade
Conflicts:
	modules/system/lang/en/lang.php
2017-07-11 10:48:54 +10:00
Samuel Georges a84c193cb2 Update FontAwesome to v4.7.0
Recompile less
2017-07-09 12:21:59 +10:00
Samuel Georges 56eb61183b Minor UI improvements to recordfinder
Allow span elements to use oc-loading
2017-07-06 19:11:57 +10:00
Sevdin Filiz 3dba1a8f61 Make SettingsManager more like NavigationManager (#2954)
Enables partial modification of Setting Items just like is currently supported in Menu Items
2017-07-04 08:30:48 -06:00
Samuel Georges 9467a6ccfe Adds a radio alignment helper
Minor touch up to tab styling
2017-07-04 17:19:22 +10:00
Tobias Kündig 4f97d07962 Added firstDay option to datepicker form widget (#2940)
Documented here: https://github.com/octobercms/docs/pull/243
2017-06-28 07:23:59 -06:00
Samuel Georges 87f8f8feb1 Fixes inconsistency in component partial folder names
This is a breaking change that will require further attention - refs #1854

Eg: myComponent, the default component partial would use lower case folders
- /plugins/acme/test/components/mycomponent/default.htm

The theme component partial override would use case sensitive folders
- /themes/foobar/partials/myComponent/default.htm

This is fixed as
- /themes/foobar/partials/mycomponent/default.htm

Minor code fix to ModelBehavior class
2017-06-27 05:34:13 +10:00
Samuel Georges 08a710eb9a Update ace editor 1.2.3 to 1.2.6
Recompile assets
Refs #2570 (without the spam)
2017-06-24 09:01:07 +10:00
Alexander Shapoval e6d79057c6 Translation into Ukrainian has been added. Added translations into Russian (#2931)
* Added Ukrainian language. Credit to @PopcornPHP for the translation.
2017-06-17 15:22:50 -06:00
Samuel Georges c5975b3917 Fix the appearance of optgroup in select 2017-06-15 17:59:16 +10:00
Vladimir Kattsov 22df6578a2 Added translation into Russian for new log section 2017-06-12 16:01:47 +03:00
Samuel Georges c0aa03a400 Create an error making trait
Widgets can throw fatal errors too
2017-06-11 22:38:03 +10:00
Samuel Georges 7afb09cf98 Merge pull request #2914 from alxy/patch-18
Pass the current context to the selector
2017-06-08 07:30:39 +10:00
Alexander Guth 0f4d7b6a85 Pass the current context to the selector
This fixes an issue with more than one form on a single page. The messages will be correctly displayed in the container of their corresponding form.
2017-06-07 22:36:18 +02:00
Priit Perna eff3f2e905 Backend translation for estonian (#2911)
* Added language files for Estonian (et). Thanks to @priitperna!
2017-06-07 11:07:34 -06:00
Samuel Georges f3de51e992 Add backend and notifications settings category
URL -> url
Move mail settings below mail templates
2017-06-05 17:36:44 +10:00
Samuel Georges e2781c5fdf URL -> Url 2017-06-02 23:34:50 +10:00
Samuel Georges ff04fbff35 Tighten up the look of extra small
Scales down the sidenav by converting px to em then dialing down the container font size
Made the list search less dominating over the primary buttons
2017-06-02 23:05:29 +10:00
Samuel Georges 3be6dafa6b Fixes int folder name showing as 0
Fixes #2902
Code dusting
2017-06-02 20:16:26 +10:00
Samuel Georges eadd889813 Improve mobile and settings page
Use native scroll on mobile devices (much better UX)
Stack settings menu items 2 column medium, 3 column large
The settings search is now forcibly focused
2017-06-02 17:39:26 +10:00
Samuel Georges 488b642e9b Fixes secondary crumb styles 2017-05-30 21:42:44 +10:00
Samuel Georges db82bfa815 Tighten up font weight and login screen
Recompile assets
2017-05-30 20:10:48 +10:00
Samuel Georges f0df1f458b Merge branch 'develop' into l55upgrade
Conflicts:
	modules/system/assets/ui/storm.css
2017-05-27 22:24:57 +10:00
Samuel Georges f53543c4a4 Realign list badge 2017-05-27 21:23:15 +10:00
Luke Towers 2b2bdc2dd0 Merge pull request #2884 from PaulGwamanda/patch-1
Move flashmessage 37px lower
2017-05-26 12:08:12 -06:00
Paul Gwamanda bbeb272657 Update storm.css
Add compiled storm.css file from flashmessage.less
2017-05-26 15:24:26 +02:00
Luke Towers f819aa607d Hide the loading indicator after AJAX request
Fixes #2780
2017-05-25 11:58:52 -06:00
Paul Gwamanda 5d30e0889e Update flashmessage.less
Updating .flash-message from margin-top 30px and to top: 50px
2017-05-23 09:38:23 +02:00
Paul Gwamanda 0ad185345c Move flashmessage 30px lower
Flash message gets in the way of menu items, for a better user interface suggest moving it 30px lower
2017-05-22 14:06:17 +02:00
Samuel Georges 2cbe849ee7 Style fixes 2017-05-22 20:01:09 +10:00
Samuel Georges 00ddd8e2b4 string -> ::class + docs 2017-05-20 20:01:19 +10:00
Samuel Georges cefa19af7d Backend UI improvements 2017-05-20 20:00:24 +10:00
Samuel Georges aa393dc54b Backend style improvements
This should make Windows PCs look a little nicer, albeit inconsistent with others (Sergoe UI is unique). If it's good enough for GitHub, then it's good enough for October.
All text shadows have been stripped, along with some box shading. They were barely noticeable and should speed up the UI.
2017-05-20 17:37:58 +10:00
Samuel Georges bab7976331 Merge branch 'develop' into l55upgrade 2017-05-20 09:08:09 +10:00
Samuel Georges 25bcc35020 Stream notes to console 2017-05-20 09:03:58 +10:00
Samuel Georges 6136e89a54 share -> singleton 2017-05-20 00:32:34 +10:00
Samuel Georges 081a32c928 Change versions for testing 2017-05-19 14:13:23 +10:00
Samuel Georges 7e76f39e6c Add app.name config
Various other refittings
2017-05-16 18:50:41 +10:00
Samuel Georges 0e4d05d150 Add migrations to queue database tables 2017-05-16 18:49:05 +10:00
Samuel Georges 8a95fec188 Refit october:down 2017-05-13 20:43:44 +10:00
Samuel Georges 6b74efa4b0 Improves the DebugExtension
It now uses the HtmlDumper from Illuminate to elaborate on each variable when clicked
getName() no longer needed on Twig extensions
2017-05-13 10:20:18 +10:00
Samuel Georges 2b5709adb9 Bump Twig to v2, refit code 2017-05-13 09:34:20 +10:00
Samuel Georges 59d1e7736c Bump min version to PHP 7
Restore tinker command
2017-05-13 09:04:22 +10:00
Samuel Georges 8d658ea7eb Remove as per upgrade guide
ControllerServiceProvider is no more
2017-05-12 07:20:10 +10:00
Samuel Georges 165d50d971 Changed the logic to use the container binding event
Validator is now deferred so this won't be available early
2017-05-12 07:19:45 +10:00
Samuel Georges 5ea79489af pluck -> value
This is an odd one from Laravel, pluck is now value and lists is now pluck. We'll need a release note about this one.
2017-05-12 07:19:06 +10:00
Nauris Linde 2a5f9e5ce2 Update Latvian locales translation (#2862) 2017-05-09 19:01:04 -06:00
Luke Towers 85934654f1 Adding Lithuanian to the available languages
Refs: #2648
2017-05-09 01:17:06 -06:00
Samuel Georges 52367d0b06 Merge pull request #2849 from gergo85/develop
Improve translations
2017-05-03 20:08:57 +10:00
Szabó Gergő 841220c873 Escaped translations 2017-04-28 16:07:20 +02:00
Szabó Gergő a57e0e3080 Replace the str_replace function 2017-04-28 14:20:16 +02:00
Szabó Gergő 58dfaf395e Improve translations 2017-04-28 09:01:21 +02:00
Luke Towers 68e874dc97 AssetMaker Improvements (#2847)
* Check if asset file exists before symbolizing path

Adds a check to see if the asset file exists before attempting to symbolize it, this will allow the asset combiner to be passed assets with complete paths instead of only relative paths.

* Implement combiner business logic

* Improve handling of bad inputs
2017-04-27 00:17:05 -06:00
Quezler cc17b679f1 Code dusting (#2826)
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Samuel Georges eaf2c9e4d0 Make the content selector more explicit (contentFrom) 2017-04-22 15:31:27 +10:00
Samuel Georges 49f5ec7557 Document and improve popover 2017-04-22 15:25:23 +10:00
Samuel Georges 4644218312 Move autocomplete to Storm UI
Rename select AJAX from "source" to "handler" (Refs #2836)
Document select handler usage
Recompile assets
2017-04-22 11:44:27 +10:00
Jim Cottrell 376a3b59e2 Add AJAX option to custom select functionality 2017-04-21 15:46:03 -06:00
Szabó Gergő 130d502f41 Update the Hungarian translation 2017-04-19 10:35:58 +02:00
Szabó Gergő 83b8f48b6f Translate the "by" word 2017-04-19 10:35:22 +02:00
Samuel Georges 96d0ce1c20 Add mergeConfig helper, useful for extension
Refs 8575ece07d
2017-04-17 09:55:50 +10:00
José Longo e13fba6068 add missed js language file in /modules/system/assets/js/lang 2017-04-11 14:37:22 +01:00
Luke Towers a64260c2ff Merge pull request #2808 from jlongo/master
Added support/files for pt_pt language
2017-04-11 01:58:52 -06:00
José Longo 9511698fcf add in system dir/files for pt-pt language 2017-04-10 15:07:27 +01:00
Samuel Georges 24c8b4368a Various security and UI fixes
The Media Manager now uses a white list approach to blocking files, we have been advised that the blacklist approach is too fragile and we agree.
Asset List and Media Manager now use $.oc.alert when displaying errors
2017-04-09 08:00:56 +10:00
Samuel Georges 5daf4365ae Move the change event to the input element
This should bubble to the parent control element and persist any logic that depends on the old event
Fixes #2684
2017-04-06 08:08:50 +10:00
Samuel Georges 328a74c1ff Fixes JS error in recordfinder
It looks like the inheritance of the foundation library has caused a logic error
Refs #2756
Recompile assets
2017-04-06 07:51:04 +10:00
asbig 91c9d0cd17 Fixes icon styling in FireFox and Windows environment
line-height from .status-icon to .status-icon > i. (#2776) In /modules/system/assets/ui/less/chart.less.
2017-04-05 23:19:31 +10:00
Samuel Georges b858ff680e Fixes required: false being treated as true
Fixes #2712
2017-04-05 22:24:00 +10:00
Samuel Georges 68f515ba0e Exception handling when no core updates exist
Fixes #2793
2017-04-03 08:18:12 +10:00
Alwin Drenth dbd9af3ba0 Update Dutch language for build v409 2017-04-01 15:43:14 +02:00
Samuel Georges d472a0b0a8 Core updates now support !!! (important)
There have been some small internal API changes that have been causing grief for some users. While all updates are technically "safe", user workarounds and custom implementations can never be predicted with certainty. This change will allow us to say with confidence, either

- Yep, no worries this is a safe update. Relax. Versus;
- Might want to watch this one, just in case.
2017-04-01 12:07:24 +11:00
Samuel Georges 8aa9d25a91 Broadcast combined assets as static
Follow on from 329a275f10
Fixes #2474 (again)
2017-03-31 13:02:16 +11:00
Samuel Georges fe13d8a1d1 Convert purgeable attributes to class properties
This fixes #2779 where developers might enter custom values in the pluginDetails() method
2017-03-31 10:03:02 +11:00
Samuel Georges f8e7fa03e0 Refactor remove option implementation
Refs #2756

Add disabled support
Fixes #1199
2017-03-22 09:26:05 +11:00
Samuel Georges e8f6cb4dc5 Merge pull request #2756 from ChVuagniaux/RecordFinder-Remove-button
RecordFinder - add a remove button
2017-03-22 09:06:27 +11:00
Daniel-Bruni Ziermann 2b3a0caaee German Translation (#2767)
* German Translation

The correct value for 'de' is 'Deutsch'
2017-03-21 11:15:26 -06:00
Samuel Georges a40357cec9 Added a check for missing dependencies in two places
- System dashboard now lists missing dependencies
- Installing a plugin with missing dependencies will also attempt to install those dependencies at the same time
Fixes #36
2017-03-21 17:42:56 +11:00
Samuel Georges b6fedfb688 Specify explicit form element
This allows request elements external to the form to serialize a target form for use. An example might be a search form at the top of a page, list of results in the middle, then the pagination at the bottom. The pagination would need to target the search form with data-request-form to persist the search query value.

This should work with the JS API too, passed as an object, because $($()) is acceptable in jQuery
2017-03-19 13:54:21 +11:00
Samuel Georges 0a981a25f7 API docs progress
Controller -> SystemController for consistency
2017-03-16 17:08:20 +11:00
Samuel Georges 51ac144049 Moves CMS components to directory where they belong
Improve inline docs
2017-03-16 07:00:39 +11:00
Samuel Georges b841f9e066 {@inheritDoc} -> @inheritDoc 2017-03-16 06:26:14 +11:00
Christophe Vuagniaux 91d39d275c RecordFinder - add a remove button 2017-03-15 12:33:02 +01:00
Samuel Georges ec18697ae2 Cannot use Cms\Classes\Controller as Controller because the name is already in use
Remove test code
2017-03-14 19:42:37 +11:00
Samuel Georges e54cf7133b Improve some inline docs in preparation for API docs 2017-03-14 19:36:17 +11:00
Samuel Georges 5f91c45f79 Implement disabled support for some form widgets
Recompile assets
Fixes #2749 (Media Finder)
Fixes #2750 (File upload)
Fixes #2751 (Rich Editor)
Refs #2724
2017-03-14 13:52:47 +11:00
Luke Towers 03fc5cb78e Merge pull request #2742 from firemankurt/master
Allows Settings to be defined in YAML
2017-03-10 14:37:02 -06:00
Kurt Jensen 0710418df7 Converted all indents to spaces
Converted all indents to spaces
2017-03-10 12:08:42 -08:00
Kurt Jensen c6d3780d10 Allows Settings to be defined in YAML
Allow settings array to be defined in the plugin.yaml file instead of just in php file.
2017-03-09 21:33:35 -08:00
Szabó Gergő 8cfc10280a Update Hungarian translation 2017-03-02 13:52:01 +01:00
Vladimir Kattsov c73e0ea811 Unhardcoded lang string in active theme widget, add russian translation 2017-02-25 12:05:08 +03:00
Samuel Georges 39dc4503b2 Fixes typo - refs #2696 2017-02-23 08:04:20 +11:00
Muah f505f3577f Add helper info for the util command 2017-02-19 13:31:32 +11:00
Samuel Georges 5aa351f67c System files should return fully qualified path
- Not sure how this was not fixed sooner, since there is no easy way to obtain a full qualified URL from a system file.
- If a CDN is used this method will return a URL.
- The asset combiner returns a FQ URL as well, although it didn't always, perhaps this is a relic from that time that was never retrofitted.
2017-02-18 12:23:31 +11:00
Luke Towers cdc8b23fd4 Fixing same-origin AJAX requests
jQuery sends multiple values for the `X-REQUESTED-WITH` header if it has already been set, even when the value is the same. This means that same-origin requests would send `X-REQUESTED-WITH: XMLHttpRequest, XMLHttpRequest` which isn't detected as AJAX by Laravel/Symphony.

To fix this issue while retaining the crossDomain usage of framework.js, I've used `crossDomain: false` to trick jQuery into sending the header anyways on cross-origin requests. This is still changeable by the user in the `ajaxSetup` event.
2017-02-15 09:56:43 -06:00
Filip Iulian Pacurar 2cfa9f0613 Messed up fields comment order 2017-02-15 14:21:01 +02:00
Luke Towers c4031de6d6 X-Requested-With to uppercase
Style change because headers are case insensitive
2017-02-14 17:53:43 -06:00
Luke Towers 88d53ec0d5 Support CORS requests via framework.js
Adds support for Cross-Origin requests made via framework.js by manually adding the `X-Requested-With: XMLHttpRequest` header required for server-side detection of AJAX requests that is sent on normal Same-Origin AJAX requests but stripped by default by jQuery when making Cross-Origin requests. Note: Request target server still needs to have `Access-Control` headers configured correctly to return a request.
2017-02-14 17:46:56 -06:00
Sevdin Filiz a99715ff2a Update modules/system/lang/en/lang.php (#2670)
Correcting mixed up system log setting comment values
2017-02-11 15:38:51 -06:00
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
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
Ioannis Lazaridis a5ae9c7148 Update greek translations 2017-02-07 13:07:34 +01: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
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
Jérémy Gaulin 09ffbac2ce New translation keys for french 2017-01-30 15:38:03 +04:00
Samuel Georges 56ad25ec6f Remove code deprecations for 2017
Recompile assets
2017-01-26 11:26:53 +11:00
Samuel Georges 0251d1dd83 Merge pull request #2601 from GinoPane/develop
Belarusian Localization
2017-01-24 08:17:47 +11:00
Samuel Georges 22bc5fce68 Bust OP cache for CMS template cache files
Fixes #2385
2017-01-20 07:20:08 +11: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
Alexander Guth 7894284409 Add afterUpdate event (#2574)
Add afterUpdate event
2017-01-13 08:02:41 +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
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 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 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 0162e99747 Minor fixes #2580 2017-01-08 10:26:06 +11:00
Sajjad 3d3a788076 Update Persian Language 2016-12-30 18:14:53 +03:30
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
Trias Nur Rahman 897c875fa9 Enhance usability of list pagination. 2016-12-21 21:50:44 +07: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 f10de2fc10 Respect database tables config. 2016-12-15 20:57:17 +01:00
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 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 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 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
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 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 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 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 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
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