3343 Commits

Author SHA1 Message Date
Christophe Vuagniaux
91d39d275c RecordFinder - add a remove button 2017-03-15 12:33:02 +01:00
Samuel Georges
18c6bb63a2 API docs progress 2017-03-15 18:03:26 +11: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
Samuel Georges
e7fa4b832a Rollback 84b533454e1c803887adaea88ef2c7d611062d31
See #2749, #2750 & #2751 on notes for how to better handle this. Put simply, the control of disabled VS previewMode should be given to the individual form widget, as opposed to the spawning parent.
2017-03-14 06:49:33 +11:00
Luke Towers
3876dc61d1 Rollback c836d92f9f04f66f8e0e1b4d9ba8af83fed3e439
Rollback due to discussion on c836d92f9f. Will be looked into again later when addressing #2311.
2017-03-13 09:36:49 -06:00
Luke Towers
84b533454e Allow FormWidgets to be disabled like regular FormFields
Adds support for the `disabled` property to FormWidgets so that they will match the behaviour present in regular FormFields. Fixes #2724 and a personal annoyance of mine :)
2017-03-11 02:12:47 -06: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
Samuel Georges
d642605f87 Remove old fix and spruce up code 2017-03-04 15:23:12 +11:00
Samuel Georges
380a71d7b9 IE11 will not honor height 100% when overflow is used on the Y axis
Fixes #2672
2017-03-04 14:55:19 +11:00
Samuel Georges
bc161b94f7 Menu items are supposed to be counted in 100s
Plugin authors may need to adjust their menu items from this.
2017-03-03 08:07:13 +11:00
Szabó Gergő
8cfc10280a Update Hungarian translation 2017-03-02 13:52:01 +01:00
Samuel Georges
e9cc782120 Peer review #2723 2017-03-01 14:31:37 +11:00
Luke Towers
3aa251db4e Client side enforcement of repeater maxitems
Adds client side enforcement of the max items property of the repeater form widget
2017-02-28 20:43:08 -06:00
Luke Towers
5c56c9579d Add support for maxItems to the Repeater FormWidget
Refs: #2710
2017-02-28 20:36:32 -06:00
Samuel Georges
023f2ac0f5 Push add/remove events to JS
Refs #2710 /cc @LukeTowers
2017-03-01 12:40:15 +11:00
Samuel Georges
03959fa087 Minor fix to casing 2017-02-28 17:25:44 +11:00
Samuel Georges
b59dd77c12 Prefer to keep this language key unique
Just in case we decide to call it something else on the dashboard
Revert #2709 (aec4591410d8d81cc0218b836a72b1a9c6989ca2)
2017-02-28 17:19:06 +11:00
Vladimir Kattsov
aec4591410 👌 Remove unnecessary lang string 2017-02-27 11:08:23 +03: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
Samuel Georges
c704ddcdf0 md5 is faster than crc32 in PHP apparently
Reference https://3v4l.org/2MAUr
2017-02-23 07:40:04 +11:00
Muah
bcd75c84c0 use regex to hide files under media manger 2017-02-20 13:54:30 +02:00
Panagiotis Koursaris
7a308f1f71 Greek Language Update 2017-02-19 14:38:31 +02: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
Luke Towers
178ac8f76b Merge pull request #2680 from filipac/patch-3
Messed up fields comment order
2017-02-15 08:54:07 -06:00
Luke Towers
c836d92f9f Make number field an HTML5 number field
Makes the `number` form field actually be an HTML5 `type="number"` field.
2017-02-15 08:44:12 -06:00
Filip Iulian Pacurar
2cfa9f0613 Messed up fields comment order 2017-02-15 14:21:01 +02:00
Samuel Georges
a4b3d2dd3b Demo theme patch can be removed now
This causes the unit tests to fail on some systems
2017-02-15 20:50:52 +11: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
Samuel Georges
d9a2b88852 Pass records by reference to overcome halting event issue
Refs https://github.com/octobercms/october/pull/1853
2017-02-15 05:58:44 +11:00
Samuel Georges
09085c5e03 Add explanation - Refs #2674 2017-02-15 05:51:30 +11:00
Luke Towers
4bb0f216f9 Merge pull request #2674 from tschallacka/IIS-getrealpath-fix
Fix for get realPath on IIS.
2017-02-14 12:31:40 -06:00
tschallacka
65247c4ce2 Fix for get realPath on IIS.
Sometimes getRealPath is empty when requested on IIS and needs to be rebuilt manually.
2017-02-14 09:22:34 +01:00
Luke Towers
9f3c2b8bf6 Switched backend.list.extendRecords event triggering
Made the event triggering for the new backend.list.extendRecords event triggering more consistent with the rest of the class.
2017-02-14 02:20:23 -06:00
Luke Towers
fd3fbf5e52 Merge pull request #1853 from leocavalcante/feature-list-extend-records
Make available to extends Lists records
2017-02-14 02:17:16 -06:00
Samuel Georges
d85a6901fe Typo 2017-02-13 08:29:34 +11: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
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