3903 Commits

Author SHA1 Message Date
Samuel Georges
0a981a25f7 API docs progress
Controller -> SystemController for consistency
v1.0.405
2017-03-16 17:08:20 +11:00
Luke Towers
0df8f55450 Translate component properties' validationMessages
Fixes #2755
2017-03-15 16:56:22 -06:00
Samuel Georges
5e1feb5870 Fixes unit tests
Further to previous commit moved Cms\Classes\ViewBag to components directory
2017-03-16 07:26:57 +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
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.
v1.0.404
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.
v1.0.403
2017-03-03 08:07:13 +11:00
Luke Towers
41dce21ddd Merge pull request #2729 from gergo85/develop
Update Hungarian translation
2017-03-02 09:29:55 -06:00
Szabó Gergő
8cfc10280a Update Hungarian translation 2017-03-02 13:52:01 +01:00
Luke Towers
22be31d0d1 Merge pull request #2548 from meysammahfouzi/patch-1
Fix typo
2017-03-01 15:22:44 -06:00
Samuel Georges
e9cc782120 Peer review #2723 2017-03-01 14:31:37 +11:00
Luke Towers
fedf7b2b7d Merge pull request #2723 from octobercms/feature-RepeaterMaxItems
Add support for maxItems to the Repeater FormWidget. Thanks to @panakour for the initial work in #2710. Fixes #1710, #2649
2017-02-28 20:46:04 -06: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)
v1.0.402
2017-02-28 17:19:06 +11:00
Samuel Georges
aa0fd163fd File attachments should support creation by string
Refs https://github.com/octobercms/docs/pull/227
2017-02-28 17:16:28 +11:00
Luke Towers
19d2801c05 Merge pull request #2709 from b0gok/develop
Replaced hardcoded string in active theme widget with call to Lang, added russian translations
2017-02-27 09:15:57 -06:00
Vladimir Kattsov
aec4591410 👌 Remove unnecessary lang string 2017-02-27 11:08:23 +03:00
Samuel Georges
1ec2b69924 Revert 6c5a83de89dfb0704ed2b0d2b83ad90ecd65c15f
This has caused performance issues for some people, will need to write a known error about using 127.0.0.1 in some environments instead
2017-02-26 12:57:40 +11: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
Luke Towers
52bcbc6492 Merge pull request #2689 from panakour/develop
Greek Language Update
2017-02-19 20:46:20 -06: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.
v1.0.401
2017-02-18 12:23:31 +11:00
Samuel Georges
53414599ef This should be flushed as part of the service provider v1.0.400 2017-02-16 07:35:37 +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
f608b1ac78 Remove query caching config
Refs https://github.com/octobercms/library/pull/253#issuecomment-279944594
2017-02-15 20:57:42 +11: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