Luke Towers
d14f1fec0f
Moved MediaFinder formwidget from the CMS module to the System module
2017-09-27 22:30:53 -06:00
Luke Towers
c2f204008b
Moved the MediaManager widget from the CMS module to the System module
2017-09-27 22:23:58 -06:00
Luke Towers
08f9cd8448
Moved the |media twig filter from the CMS module to the System module
2017-09-27 22:15:01 -06:00
Luke Towers
de747f98b3
Deprecate the MediaLibrary & MediaLibraryItem classes in the CMS module
2017-09-27 22:12:45 -06:00
Luke Towers
a24da988ae
Moving MediaLibrary and MediaLibraryItem classes to the System module
2017-09-27 22:10:20 -06:00
Alexander Guth
93a2898379
Do not change behavior: pass request data back to the options object ( #3012 )
...
Current changes to the ``framework.js`` led to a breaking change due to the fact, that ``options.data`` was no longer populated with the request data. The ``options`` object is part of the ``context`` object, which is later beeing passed to ``ajaxBeforeSend``
The two relevant versions of the file show the change of behavior:
b6fedfb688/modules/system/assets/js/framework.js (L56) => https://github.com/octobercms/october/blob/develop/modules/system/assets/js/framework.js#L88
The change is required to remain consistent with the old behavior. This code is tested and appears to be working as it did formerly.
2017-09-19 15:34:48 -06:00
Samuel Georges
d30dd19b70
Rollback 510071550a
...
This issue has been addressed too early in the process lifecycle. The line number should be incremented later, say in the view layer when the error is displayed. A simple helper to determine what the index increment should do well.
$row + $indexIncrement
This is so we don't have to rebuild the array, which is computationally expensive for large datasets and could be frustrating for a developer expecting untouched index values, or likewise needing to prepare our special format.
2017-09-17 10:14:14 +10:00
Luke Towers
510071550a
Report correct row number in import error logs
...
This fixes an issue where the row number reported by import error logs would be off by 1 or 2 depending on whether the first row was labelled as titles or not.
As arrays start at 0 in PHP, `$firstRowTitles = false` would result in reported row numbers being off by one less than their actual number. If `$firstRowTitles = true`, the reported row number would be off by two less than their actual number (one for the zero index, one for the first row not existing in the `$results` set).
2017-09-15 17:05:46 -06:00
Szabó Gergő
fa2c536a53
Hungarian translate for Mail branding ( #3115 )
...
and minor corrections
2017-09-15 09:41:48 -06:00
Samuel Georges
58aa360eab
The text input value should be explicit, not mutated, ever.
...
Rollback fb893efb9ca3a0fa25e3bb9fd01f55cef6216473
Refs #2942
Refs #3101
2017-09-15 08:41:05 +10:00
Fl0Cri
d7b0e55ceb
Fixes broken richeditor z-index inside and outside of a popup ( #3113 )
...
Fixes #3098 , #3111 . Credit to @Fl0Cri
2017-09-14 15:17:31 -06:00
Samuel Georges
cd76f2e04f
Field definition should override magic
2017-09-13 14:29:42 +10:00
Luke Towers
9565565865
Add ignoreTimezone option to datepicker field and column types.
...
Adds the ability to specify an `ignoreTimezone: true` option on the config for a datepicker form widget or date column type. This will ignore both October's and the backend user's timezone settings to display the date exactly as it is stored.
2017-09-10 22:39:15 -06:00
Fl0Cri
50d6db7d1c
Allow raw values in subject header ( #3092 )
2017-09-07 08:42:27 -06:00
TimFoerster
ead70c43f3
changing z-index of richeditor ( #3099 )
...
Changed z-index of the richeditor to prevent hidden popups.
Fixes #3098
2017-09-07 08:36:50 -06:00
Samuel Georges
8a1b060a29
Tidy up from #3084
2017-09-06 09:00:53 +10:00
Jofry S
2c97c55ea8
Allow simple pagination option on ListControllers
2017-09-05 13:33:51 +10:00
Luke Towers
8a8013e52e
Fixes #3081 . Resets module dependencies from dev to stable. Refs 081a32c928
2017-09-04 12:40:55 -06:00
Luke Towers
5185ca075b
Add the cms.object.listInTheme event ( #3076 )
...
Inspired by #3075 . Provides a cms.object.listInTheme event to modify the results returned by that method.
2017-09-02 19:51:56 -06:00
Samuel Georges
dfdf81e245
Merge pull request #3004 from Samorai/develop
...
Added translation for pageTitle into MailBrandSettings
2017-09-02 08:26:31 +10:00
Samuel Georges
4074ad8cc9
Laravel 5.5 released
2017-08-31 20:57:00 +10:00
TimFoerster
54b1250fbd
Update backend/lang/de/lang.php ( #3063 )
2017-08-29 10:32:43 -06:00
Tschallacka
b152663ff5
Attribute values for < and > and '' should be written als < > and "(when enclosed with double quotes for attribute delimters) ( #3043 )
2017-08-29 10:29:48 -06:00
Szabó Gergő
cfd3d54316
Update the Hungarian translation ( #3046 )
...
Compatible with October build 420
2017-08-18 08:26:51 -06:00
Tschallacka
c97d29fe4f
Remove unused reference ( #3045 )
2017-08-17 14:00:43 -06:00
Samuel Georges
deaf56cc81
Merge pull request #3039 from vakopian/popover-filter-bug
...
Popover filter bug
2017-08-17 12:10:39 +10:00
Vardan Akopian
7a94d41702
add `popup-allow-focus` class for popover template
2017-08-16 16:35:41 -07:00
Vardan Akopian
5ad132b57f
add `popup-allow-focus` to the popover templates
2017-08-16 16:35:02 -07:00
Peter Halverson
dc50b34c7b
Edge support for `october:util set build`
2017-08-15 17:02:57 -06:00
Luke Towers
cf6ca02886
Support no database existing when october:util set build is run
...
This fixes an issue when composer automatically calls the `php artisan october:util set build` command after installing dependencies but before a database has been initialized for October.
2017-08-13 15:53:19 -06:00
Luke Towers
7c3d4705fc
Support firstDay in date & date range filters
...
Ref: 962aa32a60 (commitcomment-23597564)
2017-08-11 08:59:06 -06:00
Christian
98bc0c0977
Laravel 5.5 Engine directory change
...
They moved the Engine interface to Contracts so this is a small fix.
2017-08-08 21:55:48 -04:00
Matheus Naldi
f8ceeb7b52
Improved deferred bindings query performance ( #3014 )
...
Credit to @MatheusNaldi. Fixes #2877
2017-08-07 11:54:33 -06:00
Sang Min Oh
969eaccf8b
korean language support for backend ( #3023 )
...
Credit to @everydayparty
2017-08-06 12:36:34 -06:00
Luke Towers
9745b3ba75
Compiled assets
2017-08-05 18:11:40 -06:00
Luke Towers
a705a70f35
Cleanup for #2856
...
Removed `minNumber` and `maxNumber` options, they are not enforceable on the client side without a lot more work. Added `number` filter type, added missing numberrange filter template, consolidated styles for filter-date and filter-number filters.
2017-08-05 18:10:36 -06:00
Luke Towers
be87fbbb87
added feature to allow filtering over a number range ( #2856 )
...
Original by @purposebuiltscott in #2856
2017-08-05 14:01:59 -06:00
Luke Towers
92d88fc4dc
Merge pull request #3021 from octobercms/Luke
...
Improve support for scope properties
2017-08-05 12:51:05 -06:00
Luke Towers
0b7170ac26
Add support for sorting direction to the MediaManager ( #3007 )
...
* Remove redundant returns
`$this->putSession()` in `Backend\Traits\SessionMaker` doesn't return anything, and the return values of these methods are not used; so returning the value of `putSession()` in these methods is redundant.
* Add support for sort direction to MediaLibrary
Adds support for switching the direction that item lists get sorted by the media library. This necessitates the changing of the default direction of Last Modified and Size to Ascending, previously their sorting direction was Descending while Title was sorted in Ascending order. This shouldn't change anything as the user still has the power to sort by either direction. Fully backwards compatible with any calls to `sortItemList`.
* Support sorting direction in the MediaManager widget
Adds further support for specifying a sorting direction to the MediaManager widget itself
* Display sorting direction options
* Improving styles for sorting direction
* Send sorting information to the MediaManager
* Add translations for sorting feature
* Removing strange ghost whitespace
2017-08-05 12:45:01 -06:00
Luke Towers
c4e3387752
Pull datepicker yearRange from defined scope data
2017-08-05 12:41:22 -06:00
Luke Towers
e41f047722
Support yearRange property on the daterange scopetype
2017-08-05 12:40:15 -06:00
Luke Towers
67fb168e6c
Support yearRange property on the date scopetype
2017-08-05 12:39:20 -06:00
Luke Towers
962aa32a60
Improve flexibility of scope type properties
...
Improves the flexibility of scope type properties by removing conditional logic specific to the date and daterange scope types and laying the groundwork for scopes to define their own custom properties that can be loaded from the scope configuration defined by the developer.
2017-08-05 12:38:20 -06:00
Sevdin Filiz
c129b94b46
Add translation for "Signed in as" ( #3018 )
...
Credit to @angelside
2017-08-04 13:17:49 -06:00
samorai
d36c5ca4e8
Made hardcoded texts as translatable
2017-08-02 00:16:17 +03:00
Luke Towers
d7334315a8
Remove redundant returns
...
`$this->putSession()` in `Backend\Traits\SessionMaker` doesn't return anything, and the return values of these methods are not used; so returning the value of `putSession()` in these methods is redundant.
2017-08-01 12:08:01 -06:00
Jan Vince
881edd48de
Update Czech translation ( #3003 )
...
Credit to @jan-vince, reviewed by @chesio
2017-08-01 07:28:09 -06:00
samorai
a718941ec9
Added translation for pageTitle into MailBrandSettings
2017-08-01 15:38:03 +03:00
Luke Towers
3b7a8f3123
Make extension comparisons case insensitive
...
Make extension comparisons done in `getFileType()` case insensitive to support audio/visual file types being correctly recognized when the file being uploaded has an uppercase extension as is occasionally the case. I.e. `.JPG` is the same as `.jpg`, this just tells October to consider them the same.
2017-07-31 21:03:28 -06:00
Samuel Georges
11abddf0b6
Errors not written to database events log
...
Fixes #2998
2017-07-31 17:21:48 +10:00
Oleg Samorai
2cc492f7dc
Enable displaying jsonable properties in backend lists ( #2995 )
2017-07-29 14:24:54 -06:00
Samuel Georges
5a417d72d3
Sending raw markdown emails
...
If raw == (string) content, then it is a markdown email (html/text are ignored -- markdown sets them)
If raw == (bool) true, then it is true raw (html/text must be supplied)
2017-07-30 00:25:11 +10:00
Samuel Georges
96d0535d09
Add generic onAjax handler that does nothing
2017-07-29 22:55:58 +10:00
Samuel Georges
d8df4f6c18
extractCore no longer needs args
2017-07-29 16:21:34 +10:00
Samuel Georges
1a365b10b7
Decouple extracting core and set build number
...
There is an unfortunate workflow issue when updating from Build 419 -> Build 420 via the back-end, which seems unavoidable. The first update will fail because there is some logic that occurs after the core zip is extracted, this results in a half 5.1 / half 5.5 version of the app running and it chokes. Refreshing the page and performing the update again fixes it.
2017-07-29 16:10:37 +10:00
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
a5377b5018
Replace missing permissions
2017-07-28 00:05:35 +10:00
Samuel Georges
9cadea9b19
Code doc improvements
2017-07-27 17:35:14 +10:00
Samuel Georges
06f4b44878
Fixes styling found in Pages plugin
2017-07-27 14:03:50 +10:00
Samuel Georges
5555b98799
Fixes deprecated Twig API
...
Refs https://github.com/kriswallsmith/assetic/pull/819
2017-07-26 22:16:52 +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
e6b191bd94
Typo
2017-07-22 22:24:31 +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
8e0279e45e
Trigger color picker change event
2017-07-22 17:18:45 +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
Samuel Georges
5078578a04
Rollback 205f02b44a
...
This keeps it as generic copypasta
With or without this, an unauthorized page is shown if the user has no permission
2017-07-22 09:46:55 +10:00
Luke Towers
205f02b44a
Improve unauthorized redirection trigger case
2017-07-21 14:47:18 -06:00
Luke Towers
151ed057e8
Improve support for #2985
...
Improves support for editing theme options by enabling the currently active theme's customizations to be saved without a dirname in the URL.
2017-07-21 14:45:51 -06:00
Alwin Drenth
c1cd76d60a
Update Dutch language files ( #2987 )
2017-07-21 09:27:27 -06:00
Samuel Georges
7a7a1186d6
Clean up imports
2017-07-21 15:42:49 +10:00
Samuel Georges
161a1fffbb
Wording change
2017-07-21 15:40:02 +10:00
Samuel Georges
3f40a6dbaf
Refactor solution from #2985
2017-07-21 15:38:53 +10:00
Luke Towers
647a656f67
Add more granular permissions for editing themes ( #2985 )
...
* Add more granular permissions for editing themes
* Fix component token parser exception message
2017-07-21 14:29:30 +10: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
d7117f9cb2
Stetch + size improvements
2017-07-15 19:53:08 +10:00
Samuel Georges
0aa1fa96fb
Fixes non-split stretch mode
2017-07-15 19:10:01 +10:00
Samuel Georges
953336d250
Option "searching" defaults to false
2017-07-15 14:34:53 +10:00
Samuel Georges
db943c077b
This doesn't need to be a form
2017-07-15 12:29:20 +10:00
Samuel Georges
4239caf9eb
Enable searching via config
...
Only the ServerEventDataSource supports this for now. This is purely to satisfy https://github.com/rainlab/translate-plugin/pull/272
Clean up and fix net spam
2017-07-15 12:18:11 +10:00
Samuel Georges
3145611150
Add search to table widget
...
Refs https://github.com/rainlab/translate-plugin/pull/272
Recompile assets
2017-07-15 12:06:50 +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
dc3e521c36
Merge pull request #2968 from slowpokefarm/master
...
Allow using zero-keys in Filter widget options
2017-07-15 00:05:39 +10:00
Stanislav Rimsha
6f691680cf
Allow using zero-keys in Filter widget options
2017-07-14 15:57:47 +02: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
3b7330f06a
Typo
2017-07-13 19:38:44 +10:00
Samuel Georges
4fd1ca824f
Introduce concept of system roles
...
These are roles defined by a special API code, once a system role code is detected, the role becomes locked and its permissions are sourced from the AuthManager. All permissions are granted to system roles by default, unless otherwise specified. This should make it easier to create client accounts as "Publishers", hiding developer tools like the CMS and Builder plugins by default.
2017-07-13 19:29:50 +10:00
Samuel Georges
358a6337df
We probably don't need to call this twice
...
Refs f8d9667f0e
2017-07-13 19:15:47 +10:00
Samuel Georges
8002c1010b
Create migrate script to split permissions out
...
Permissions have been moved from Groups to a new Role model
Refs #2367
2017-07-11 19:17:44 +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
Luke Towers
950c341c49
Prevent privilege escalation from crafted requests
...
Follow up to 2046efb51d .
The previous commit prevented users from visually managing permissions that they themselves didn't have access to, this follow-up commit enforces that limitation serverside to defend against crafted privilege escalation attacks by authenticated users.
2017-07-10 18:36:43 -06:00
Benjamin
89d0d29b69
Added SASS support to Resources component ( #2961 )
2017-07-10 17:29:11 -06:00
Luke Towers
2046efb51d
Prevent users from granting permissions they don't have
...
Prevents users from granting permissions that they themselves do not have. Fixes #1673 , and is a partial solution to #2367 . However, this still does not address the issue of being able to assign / manage groups that have permissions that the user doing the management does not themselves have. That will have to be addressed separately as a part of #2367 .
2017-07-09 20:24:17 -06:00
Luke Towers
056a37fce4
Fix repeater title generation in readOnly mode
...
Refs: 2a16847724
2017-07-09 13:06:23 -06:00
Luke Towers
c9e31fd83b
Support previewMode for the balloon-selector
...
Add support for previewMode in the Balloon Selector form field type.
Refs: #2724 , 5f91c45
2017-07-09 12:53:29 -06:00
Luke Towers
9ff11da179
Remove unused descriptionFrom property
...
Removes unused descriptionFrom property that was probably copy-pasta remnants from the RecordFinder formwidget when nameFrom was implemented in 6aaf4cce43 . Also removed it from the docs here: 6164e4a9e7
2017-07-09 09:48:17 -06:00
Samuel Georges
a84c193cb2
Update FontAwesome to v4.7.0
...
Recompile less
2017-07-09 12:21:59 +10:00
Luke Towers
2a16847724
Add support for readOnly Repeater Widgets ( #2960 )
...
* Add support for previewMode in Repeater FormWidget
Refs: #2724 , 5f91c45f79
* Add support for previewMode in Repeater FormWidget
Refs: #2724 , 5f91c45f79
* Add support for previewMode in Repeater FormWidget
Refs: #2724 , 5f91c45f79
* Add support for previewMode in Repeater FormWidget
Refs: #2724 , 5f91c45f79
2017-07-08 13:34:04 -06:00
Max Schmitt
aeba740243
Add getStatusCode() in Cms\Classes\Controller ( #2959 )
...
Related: #2953 . Provide a method to access the current statusCode of a CMS controller.
2017-07-08 08:53:08 -06:00
Samuel Georges
56eb61183b
Minor UI improvements to recordfinder
...
Allow span elements to use oc-loading
2017-07-06 19:11:57 +10:00
Tschallacka
e8e4209909
Fix inflexible relation toolbar ( #2760 )
...
Improves support for models that don't use `id` as their primary key.
2017-07-04 18:56:38 -06:00
Luke Towers
1a5e86e38d
Improve support for non-id primary keys
...
Related: #2760
2017-07-04 18:55:42 -06: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
Hartmut Glücker
dfcf324d00
Support changing the global default for richeditor buttons ( #2937 )
...
Added support for changing the global default for richeditor buttons.
Addresses: #2677 , #2384 , #2078 , #1743 and rainlab/pages-plugin#188
2017-07-04 08:10:58 -06:00
Samuel Georges
9467a6ccfe
Adds a radio alignment helper
...
Minor touch up to tab styling
2017-07-04 17:19:22 +10:00
buuug7
879afdeea9
Update Chinese translations ( #2948 )
...
Credit to @buuug7. Refs: #2948
2017-07-03 07:45:35 -06:00
Samuel Georges
d1c160f9dc
Check both instances to fix #1854
...
It appears there is no way around this. All directories should be lower case in October, prior to this, October wanted uppercase characters. Make up your mind guy, come on! ;-)
2017-07-01 12:26:55 +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
Szabó Gergő
f7f507dbdc
Translate the value of the text field ( #2942 )
...
It is a useful feature, if you like to add translatable value.
2017-06-26 09:38:31 -06:00
Samuel Georges
8a9355ca66
Fixes typo
2017-06-25 09:38:18 +10:00
Samuel Georges
600035cd49
Tszuj up some styling
...
Add active states and color correct treeview
Adjust proportions of repeater add button
2017-06-24 17:18:08 +10:00
Samuel Georges
56028c0724
Revert recent treeview changes
...
This ends up over complicating things
2017-06-24 16:01:01 +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
Samuel Georges
c3570ffd7e
The event emitter should not be a dependency
...
Fixes #2938
2017-06-23 08:11:41 +10:00
Christophe Vuagniaux
e3a567cb78
Enable configuration of backend login session persistence ( #2924 )
...
Thanks to @ChVuagniaux. Fixes #2394
2017-06-22 14:34:16 -06:00
Luke Towers
f8d9667f0e
Support field being disabled in filterFields()
...
Completes support for the underlying field object being disabled in model's filterFields() method by rechecking status immediately before rendering.
2017-06-22 09:45:29 -06:00
Samuel Georges
b572382de7
Didn't end up using this, so doc instead
2017-06-22 18:00:59 +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
9eb0cc24ae
Opens a channel for model to talk with form widget
...
.. and controller and beyond.
2017-06-17 21:20:34 +10: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
a2a7eec4f5
Rename methods in CollapsableWidget
...
The methods were far too generic. When a trait or behavior is used, it's usually a good include to include the name of the trait in the methods and properties it provides. This reduces the chance of a conflict with the implementing class.
2017-06-10 15:42:24 +10:00
Samuel Georges
f020479b91
Move session logic to SessionMaker
...
This allows controller behaviors to access session utils
2017-06-10 04:58:29 +10:00
Samuel Georges
e5358a81ce
Custom icon support for treeview
2017-06-08 14:25:45 +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
edcd899a79
Base getLoadValue to look at form field first
...
Fixes https://github.com/octobercms/october/pull/2663
Adding to build 420+ because this might cause some issues, although it shouldn't. Hoping we don't ever have to roll this back because it fixes another inconsistency when using the model `filterFields` method... some will change values via $field->value (field accessor) and others will change via $this->value ($model accessor). This now puts the field accessor at a consistent priority (first) while retaining the fallback to model.
2017-06-06 20:44:15 +10:00
Samuel Georges
305f962e1f
Merge pull request #2904 from arzola/patch-event-doc
...
Update Report widget event-extensibility docblock
2017-06-06 20:22:54 +10:00
Samuel Georges
f7d0d394f5
Merge pull request #2881 from gergo85/patch-3
...
Typo
2017-06-06 20:21:59 +10:00
Samuel Georges
41cc1744f1
Tab panes now support CSS spec
...
See form docs > paneCssClass
2017-06-05 17:37:13 +10: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
bda98e7353
Selectable box and fancy breadcrumb
2017-06-05 17:35:15 +10:00
Samuel Georges
3b56787a2b
Use tabs cssClass definition instead of JS
2017-06-05 17:33:37 +10:00
Oscar Arzola
8a40e1cc89
Update Report widget docblock
2017-06-02 23:53:27 -05:00
Samuel Georges
f672a3cf19
String to ::class
2017-06-03 10:31:24 +10:00
Samuel Georges
ef94decb1a
Merge pull request #2898 from arzola/master
...
Added Extensibility to ReportWidgets
2017-06-03 00:56:35 +10:00
Oscar Arzola
a7d20211ae
Fixed Formatting and added docblock
2017-06-02 09:51:13 -05:00
Samuel Georges
e2781c5fdf
URL -> Url
2017-06-02 23:34:50 +10:00
Samuel Georges
bfcab59021
Fixes hover event on mobile
2017-06-02 23:33:55 +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
08f2e05b67
Download URL -> URL
2017-06-02 17:39:51 +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
Oscar Arzola
0bd12cf0e6
Added Extensibility to ReportWidgets
2017-05-30 16:49:35 -05: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
01b11b73d8
Pretty useful trait, discoverable in API docs
2017-05-30 19:56:36 +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
6891d21bdf
Merge pull request #2871 from priitperna/master
...
Added scope support to the Relation formwidget
2017-05-27 22:19:20 +10:00
Samuel Georges
63f1f0ac13
Merge pull request #2894 from gergo85/develop
...
Add imageWidth and imageHeight parameters
2017-05-27 22:10:48 +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
Szabó Gergő
92a5b9ab22
Add imageWidth and imageHeight parameters
2017-05-25 15:30:22 +02: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
605c8221a9
getPlainForeignKey -> getForeignKeyName
2017-05-20 20:03:48 +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
Szabó Gergő
04e1f6e62e
Typo
...
It is low priority changes. Yesterday I found them too, when I fixed the array index name issue.
2017-05-20 11:54:55 +02: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
04f89dc5bb
getToken -> token
2017-05-20 13:19:51 +10:00
Samuel Georges
afad2138ec
Merge pull request #2879 from gergo85/patch-2
...
Fixed spaces
2017-05-20 10:26:59 +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
Szabó Gergő
c597563145
Fixed spaces
2017-05-19 11:29:19 +02:00
Samuel Georges
081a32c928
Change versions for testing
2017-05-19 14:13:23 +10:00
Priit Perna
2b3b6ece46
Made checkbox quick selection configurable
...
With this change the following configuration will show the quick selection links:
"quickselect" => true
2017-05-18 15:16:42 +03:00
Priit Perna
8ee7d3f5ae
Added scope support to the Relation formwidget
2017-05-17 13:00:40 +03: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
4d1bec860d
thumbnailDirectory -> thumbFolder
2017-05-16 08:47:15 +10:00
Samuel Georges
d9cf7381dc
Implement helper method for checking ignored path
...
Refs #2858
2017-05-16 07:38:38 +10:00
Samuel Georges
2a0a91486c
Logic error - fixes #2654
2017-05-16 07:24:07 +10:00
Samuel Georges
5ca3c3fa35
Merge pull request #2859 from TimFoerster/patch-2
...
Allows 0 and ‘0’ values as default values for theme settings
2017-05-15 20:31:59 +10:00
Samuel Georges
f05f4c21cf
Merge pull request #2858 from TimFoerster/patch-1
...
Filter layout by ignored file names
2017-05-15 20:29:53 +10:00
Luke Towers
a5b081b74b
Make the MediaManager messages more generic
2017-05-15 00:16:28 -06:00
Luke Towers
21d4f683c3
Support custom thumbnail directory
...
This enables support for edge cases that require custom thumbnail directories (such as requiring authentication to view generated thumbnails).
2017-05-14 22:41:31 -06:00
Luke Towers
7a820f3c43
Remove reference to hardcoded media path
...
Replaces the reference to a hardcoded `/media` path when generating a local temp file path to utilize the folder name as set in `cms.storage.media.folder`.
2017-05-14 22:28:08 -06:00
Luke Towers
0f04afbea4
Recompile mediamanager assets to include the fix
2017-05-14 19:34:50 -06:00
Luke Towers
84ee4f2679
Fix for #2765
...
Actual changes are in `MediaManager.prototype.deleteConfirmation`, apologies for the trailing whitespace removals, my editor auto does that and I didn't feel like removing it since there shouldn't really be trailing whitespace anyways.
Fixes #2675 (and probably other potential oopsies) by skipping over the "return to parent" item in the deletion handling method. The "return to parent" item contains a reference to the folder above the current folder, which could potentially cause the entire media folder to be deleted; and would certainly remove a lot more than actually intended.
2017-05-14 19:32:57 -06:00
Samuel Georges
57aa723c23
filterExtendScopes -> listFilterExtendScopes
...
extendFilterScopes -> extendListFilterScopes
Filter still belongs to the "List", this would help resolve conflicts if there were ever a FilterController that would carry rightful claim to "filterExtendScopes"
2017-05-14 14:47:17 +10:00
CSNWEB
fe3e44efeb
Add method to easily extend filter scopes ( #2866 )
...
* Add method to easily extend filter scopes
* Add non static method for filter scope extension
2017-05-13 17:31:09 -06:00
Samuel Georges
453e48924e
Apply web middleware group for the good cookies
2017-05-13 22:18:13 +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
Luke Towers
95cd3f7077
Translate group name and description
...
Refs: https://github.com/octobercms/october/issues/2772#issuecomment-301125572
2017-05-12 11:22:13 -06: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
Tim Förster
25daf546fa
Allows 0 and ‘0’ values as default values for theme settings - Refs #2388
2017-05-05 11:20:10 +02:00
TimFoerster
5eb278e883
Filter layout by ignored file names
...
The Layouts get filtered by the filesystem definition of ignored files.
#814
2017-05-04 14:53:19 +02: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
Samuel Georges
349851dd11
Partials, pages and content now support drag'n'drop
2017-04-28 23:37:50 +10:00
Szabó Gergő
a57e0e3080
Replace the str_replace function
2017-04-28 14:20:16 +02:00
Samuel Georges
1723070444
Merge pull request #2801 from amdad/patch-1
...
Prevent preloading files in advance
2017-04-28 19:30:25 +10: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
Maria Vilaró
3a2b9b1973
Improvements to Spanish translation ( #2843 )
2017-04-26 10:48:26 -06:00
Samuel Georges
6a6378a24d
Strip indexes from repeater data sets
2017-04-26 08:10:45 +10: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
cb56c61e36
Retain true backward compatibility with early repeater
2017-04-24 19:06:59 +10:00
Samuel Georges
d7ef8cdcf8
Minor logic change
2017-04-24 13:24:57 +10:00
Samuel Georges
6825ce12c8
Allow external group field definition - Refs #2772
2017-04-24 13:24:57 +10:00
Samuel Georges
c52f91a6d2
Collapsed items should default to or include the group name - Refs #2772
2017-04-24 13:24:56 +10:00
Samuel Georges
dac744dbc6
Scrollpad not rendering on open - Refs #2772
2017-04-24 13:24:56 +10:00
Samuel Georges
acfe619cb9
Add button lacks loading state - Refs #2772
2017-04-24 13:24:55 +10:00
Luke Towers
0fa0301557
Merge pull request #2803 from CSNWEB/patch-5
...
Add readonly / disabled support for checkboxlist (relation form widget)
2017-04-22 10:23:52 -06:00
Samuel Georges
ac7da4634a
Implement working prototype of a grouped repeater
...
Refs #2772
2017-04-22 22:01:17 +10:00
Samuel Georges
83e80745b3
Fixes issue with index incrementation
2017-04-22 21:40:35 +10:00
Samuel Georges
46fcdbc636
Progress on repeater field groups
...
Refs #2772
2017-04-22 21:04:37 +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
Luke Towers
248af140bb
Merge pull request #2835 from interworks-morr/fix_backend_sidenav_layout
...
Fixing case-sensitive issue with Backend Sidenav Layout - Issue #2834
2017-04-21 13:42:00 -06:00
interworks-morr
46d8ac8972
Fixing case-sensitive issue with Html
2017-04-20 11:47:11 -05: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
Samuel Georges
27062ddfa0
Fixes folder creation and rename in asset list
2017-04-14 08:07:11 +10:00
Samuel Georges
9df40c07b8
Move extension validation to files only
2017-04-13 09:37:49 +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
Samuel Georges
015b34fe88
Block media manager entirely if user lacks access
2017-04-11 08:40:39 +10:00
José Longo
0de1306427
add locale pt-pt in $localeOptions
2017-04-10 15:08:50 +01:00
José Longo
9511698fcf
add in system dir/files for pt-pt language
2017-04-10 15:07:27 +01:00
José Longo
228bdb3f35
add cms dir/file for pt-pt language
2017-04-10 15:06:00 +01:00
José Longo
4f3287822b
Add dir/file for pt_pt language
2017-04-10 15:04:58 +01:00
Samuel Georges
433cf1d504
Additional security fixes
2017-04-10 16:02:05 +10:00
CSNWEB
3cfb8c7587
DRY up the code
2017-04-09 04:01:34 +02: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
Christophe Vuagniaux
9e74fe6a53
Repeaters Firefox compatibility fixes ( #2738 )
...
* Repeaters fix Firefox collapse/expand buttons not working
* Repeaters fix Firefox open new tab when CTRL + click on Expand/Collapse buttons
2017-04-08 20:21:34 +10:00
CSNWEB
ee2dd7ac1c
Add readOnly / disabled support for checkboxlist
...
Relations rendered with the relation formwidget using checkboxlist are now correctly rendered like in the previewMode.
2017-04-07 21:04:20 +02:00
amdad
5aea608e77
Prevent preloading files in advance
...
Files should be loaded on user click. Huge amount of data is loaded on page load, especially if many audio instances are on page. This is temporary solution. Ultimately widget should support params to match html5 audio/video tags.
2017-04-07 10:27:36 +02:00
Samuel Georges
982bc43348
Fixes recordfinder (again)
...
Lots of complicated stuff going on here, all elements are getting wiped out when a record is updated and the control is getting disposed at the same time. We've created a dedicated variable to store the datalocker name as a string, this represents a small memory leak but a necessary one it seems.
Fixes #2798
2017-04-07 07:48:04 +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
9f809becca
Fixes a bug when saving a modified template
...
When template has been modified outside of the CMS (mtime mismatch).
Fixes #2690
2017-04-05 22:07:15 +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
Anže Časar
e0ce714285
Fix translatable URL caching
...
The same fix as https://github.com/rainlab/pages-plugin/pull/244 but for CMS pages.
2017-03-28 17:52:42 +02:00
Luke Towers
d1c9b1a6f1
Support updating existing sidemenus
...
Fixes #2757 , #2777
2017-03-24 09:05:35 -06:00
Samuel Georges
330a41f39c
Improve form controller docs
2017-03-23 08:48:26 +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
c7eb965af8
Introduce ignorePatterns to Media Library, ignoring dot files by default
...
Roll back some changes from #2692
2017-03-20 17:42:17 +11:00
Samuel Georges
31ba5e29bd
Introduce Resources component for testing
...
This should be considered experimental at this stage, however this component is used in every October website we've built thus far, it makes sense for it to be included in the core. Once tested we will look at documenting it with an accompanying screencast video.
2017-03-20 17:32:20 +11:00
Luke Towers
1ad5a58ae8
Merge pull request #2764 from angelside/develop
...
Update _recordfinder_form hard coded button "Cancel" text
2017-03-19 13:25:05 -06:00
Samuel Georges
b447b8e056
Merge pull request #2692 from ctf0/regex-hide
...
use regex to hide files under media manger
2017-03-19 19:28:40 +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
juysoft
be7490c878
Update _recordfinder_form hard coded button "Cancel" text
2017-03-18 23:54:24 +02:00
Samuel Georges
6697e00649
Backend::URL -> Backend::url
2017-03-16 17:16:03 +11:00
Samuel Georges
0a981a25f7
API docs progress
...
Controller -> SystemController for consistency
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
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 84b533454e
...
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 c836d92f9f
...
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 (aec4591410 )
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