4533 Commits

Author SHA1 Message Date
Luke Towers
a2708ee0f5 Added backend.manage_default_dashboard permission to lock down who has access to change the default dashboard for the system. Fixes #2176 2018-12-20 17:26:49 -06:00
Luke Towers
301b09070d Compiled assets 2018-12-20 17:09:42 -06:00
fansaien
6a6ab8fc88 added the event to the callback (#4001)
Credit to @fansaien
2018-12-20 16:30:04 -06:00
Luke Towers
ed226e0b09 Recompiled hotkey JS 2018-12-20 13:41:32 -06:00
Luke Towers
44ac62abeb Recompiled LESS using new CSS minification 2018-12-20 13:41:09 -06:00
fansaien
27c604abb2 Added option as alias for alt (#4000)
Credit to @fansaien
2018-12-20 13:35:00 -06:00
munxar
e6f4e13446 Added NestedForm FormWidget (#3977)
Credit to @munxar
2018-12-19 21:54:20 -06:00
Woo
eb1d3fadbc Add format property to list columns (#3990)
Credit to @vicrly. Fixes #3967.
2018-12-19 20:52:07 -06:00
Felipe Alves Reis
23817c363c Added invalid login translated message in backend lang file (#3994)
Credit to @felipe-alves-reis
2018-12-19 20:26:25 -06:00
fansaien
db7610d5c4 Removed the deprecated hotkeyMac (#3995)
Reference: fd264a5fb4 (diff-79eab92a9098980b73745ce9b5ac1895)
2018-12-19 20:21:05 -06:00
Luke Towers
85e614203c Add soft delete column to backend users so that migrations that use the User model work v1.0.445 2018-12-19 19:43:04 -06:00
Jim Cottrell
34da61805b Replace URL parameters dynamically without needing a list in advance (#3361)
Fixes #3358. Credit to @jimcottrell
v1.0.444
2018-12-18 10:03:03 -06:00
Luke Towers
54a67ca556 Implemented soft deleting for backend users 2018-12-17 23:09:17 -06:00
Ben Thomson
14c4d1392e Datatable dropdown usability tweaks (#3980)
Adds a couple of usability tweaks to the dropdown cell type in the data table widget, to more closely mimic a native dropdown field.

Pressing the up or down arrow keys when the cell is focused but with the dropdown closed will select the previous or next item automatically and set it as the cell value. This does prevent the usual table function of going to the previous or next row when focused on a dropdown cell, but I think it's a worthwhile trade-off. When the dropdown is open, the up and down arrows work the same as previously implemented.

Typing out characters will initiate a search and select the first matching option automatically and set it as the cell value. For example, for the following options:

Apples
Oranges
Bananas
Typing out o and r on the keyboard will automatically select the Oranges option.

Credit to @bennothommo
2018-12-16 09:30:23 -06:00
vosco88
a11868169e Add reset search (X) to toolbar search input (#3975)
Credit to @vosco88
2018-12-14 09:04:01 -06:00
Denis Denisov
465cbec241 Fix 'hide()' called for a closed popup (#3970)
Credit to @w20k
2018-12-08 13:10:53 -06:00
ayumihamsaki2
c6e8ddaa12 Remove unused X-UA-Compatible meta tag (#3973)
This is only used by IE8 & 9 which have a combined global usage of 0.3% so there's no sense in keeping it.
2018-12-08 13:08:46 -06:00
ayumihamsaki2
28061bf3e9 Update jquery.isotope library from v1.5.26 to v3.0.6 (#3966)
Update jquery.isotope library from v1.5.26 to v3.0.6. Credit to @ayumihamsaki2. Refs: https://github.com/octobercms/october/issues/3958
2018-12-07 18:31:51 -06:00
Luke Towers
d53e174469
Change number field type to use HTML5 number type
Credit to @w20k for the solution. Fixes #2311.
2018-12-06 14:40:33 -06:00
SeriousKen
9d8416e178 Added morphTo to list of singular relations (#3809)
Credit to @SeriousKen. Fixes #3807
2018-12-06 10:43:50 -06:00
Luke Towers
4438ddc47e
Merge pull request #3963 from ayumihamsaki2/master
Sets the Folders in Code Editor to Collapsed by default. Fixes #3962. Credit to @ayumihamsaki2
2018-12-05 21:13:00 -06:00
Ayumi Hamasaki
1e0d045c74 Sets Folders in Code Editor to Collapse by Default
This fixes the github Issue found here: https://github.com/octobercms/october/issues/3962
2018-12-06 00:39:31 +00:00
Ben Thomson
2002fd6b4b Prevent plugins that cannot be instantiated from being loaded (#3956)
Credit to @bennothommo
2018-12-04 11:22:07 -06:00
Tim
caf7cb406f MediaFinder: trigger change event (#3446)
Credit to @scorewinner.
2018-12-04 11:12:26 -06:00
Denis Denisov
9ce6b4fbc8 Add Moments.js TimeZone Data (#3960)
Fixes issues when timezone data is needed on initialization. Credit to @w20k. Refs: #3867
2018-12-04 11:10:48 -06:00
Christos Christou
9f63ad2739 Fix Repeater max & min client side validation when using groups (#3953)
Credit to @c2webstudio.
2018-12-03 13:53:12 -06:00
Tobias Kündig
7a277b4b9c Added support for dependsOn with relationships (#3539)
Credit to @tobias-kuendig. Added $.oc.relationBehavior.changed function. To keep track of changes made using the relation controller this new "changed" function is called every time a record is created, added, removed or deleted. The function triggers the change.oc.formwidget event on the form field that belongs to this relation controller so other form fields are notified about the changes.
2018-12-03 10:08:00 -06:00
Teranode
18a8e2f840 Revert changes made to self.hide after ajax (#3950)
This is needed as it removes leftover control-popover backdrops in any plugin backend that utilizes ajax in a popup modal (which is any of them that has relations or nested relations), so we will need to take a look at the dashboard widgets again. Credit to @ayumihamsaki.
2018-12-02 12:01:58 -06:00
Adam Sandström
bd2f14d510 Make media URLs in accordance with the Link Policy (#3536)
Credit to @adsa95
2018-12-01 15:08:04 -06:00
Farrow
a1fb23a984 Adds i18n support for the form field default property (#3546)
Credit to @Farrow. Previously when creating a backend form with RainLab.Builder if you filled in the "Default" property using the i18n (to get, for example, acme.plugin::lang.field.default) then that string would be output exactly on the form (i.e. <input value="acme.plugin::lang.field.default"...>) instead of being replaced with the actual value of that key from the lang file.
2018-12-01 13:05:47 -06:00
Ayumi Hamasaki
8e9b3dba54 Improve visibility of code editor buttons in the backend (#3948)
Credit to @ayumihamsaki. Fixes #3947.
2018-11-30 16:59:08 -06:00
Oliver Buchmann
cd275554f2 Add october:util set project --projectId=id console command (#3946)
Implements #3944. Credit to @obuchmann.
2018-11-29 13:26:21 -06:00
Ayumi Hamasaki
41b8bb84f1 Update Raphaël 2.1.2 to 2.2.7 and Eve 0.4.2 to Eve 0.5.4 (Combined File) (#3930)
Credit to @ayumihamsaki. Refs: #3867
2018-11-29 10:36:10 -06:00
Teranode
82a38bdfb6 Add ability to delete asset files (#3933)
Fixes: #3925. Credit to @Teranode
2018-11-28 11:08:39 -06:00
vosco88
2d1a904512 Extend opcache check if it is enabled (#3664)
Credit to @vosco88. 
When trying to deploy October on shared hosting (www.websupport.sk) it is possible to receive the following error when accessing the frontend pages - ErrorException:> Zend OPcache API is restricted by "restrict_api" configuration directive. This checks not only if the opcache_invalidate exists but also if opcache is enabled. Same check is actually present in twig vendor files - but so far it is working without having the check there.
2018-11-23 09:36:24 -06:00
Sebastiaan Kloos
9c2bb8469e Minor documentation updates to input.hotkey.js (#2721)
Credit to @SebastiaanKloos
2018-11-23 01:09:45 -06:00
Francesco Passanti
329bb6f202 Fix relation controller lists onClick handling for VARCHAR keys (#3544)
Credit to @FrancescoPassanti
2018-11-23 00:58:28 -06:00
Teranode
900753db52 Fix zindex of popup on mobile (#3890)
Fixes #3506. Credit to @Teranode
2018-11-23 00:52:45 -06:00
Tschallacka
852ea7d8d8 Added missing use statement (#3041)
Credit to @tschallacka
2018-11-23 00:36:06 -06:00
Romaldy Minaya
cca3c704a3 Fixes #3119 (#3163)
Added readOnly support to RecordFinder, Switch widget and relation widget including dropdown Fixes #3119. Credit to @romaldyminaya
2018-11-23 00:33:01 -06:00
Filip Iulian Pacurar
dcd309ffb0 Add option to install developer plugins from the october:install command (#2974)
Credit to @filipac. Initially requested in https://github.com/octobercms/october/pull/2694
2018-11-23 00:24:45 -06:00
Antonie Hogewoning
e481206b49 Add file specific aliases for framework.extras (#3936)
This commit adds two new aliases for the files associated with `framework.extras`. One to load the CSS (`framework.extras.css`) and for JS (`framework.extras.js`). Credit to @CptMeatball. Resolves #3909. Related: https://github.com/octobercms/docs/pull/334
2018-11-22 09:25:51 -06:00
Teranode
9699aacaed CSS fix for component close button in Firefox (#3585)
Fixes #3554. Credit to @Teranode
2018-11-20 10:23:44 -06:00
Denis Denisov
445c549062 Add TimePicker.placement = auto (only supports: top/bottom position) (#3927)
Fixes #3903. Credit to @w20k
2018-11-19 09:29:56 -06:00
Ayumi Hamasaki
c5bad06510 Update the Moments and TimeZone Library from 2.13.0 to 2.22.2 (#3906)
Fixes #3808. Credit to @ayumihamsaki. Related to #3867.
2018-11-17 16:31:54 -06:00
Antonie Hogewoning
0e9b3ce786 Combine jQuery and migrate into the same file (#3919)
Fixes #3917. This fixes the double alias that was introduced when jquery was updated and migrate was added. Credit to @CptMeatball
2018-11-17 16:22:51 -06:00
Daniel Ruf
826e72d3a9 Add meyfa/phpunit-assert-gd direct to master (#3926)
Credit to @DanielRuf. Refs: #3920.
2018-11-16 12:05:02 -06:00
Daniel Ruf
d64c010e4b Add missing meyfa/phpunit-assert-gd direct to master branch (#3920)
Credit to @DanielRuf
2018-11-16 11:22:17 -06:00
Nathan van der Werf
6fb6211c56 Escape output to prevent XSS injections (#3924)
Credit to @nathan-van-der-werf
2018-11-15 15:05:44 -06:00
Denis Denisov
2b16bad0fe Ignore controllers of disabled plugins (#3923)
Fixes #3905. Credit to @w20k
2018-11-15 13:51:11 -06:00