4921 Commits

Author SHA1 Message Date
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
Luke Towers
80b5c41825 Improve compatibility with RainLab.Pages 2018-11-23 14:41:18 -06:00
Luke Towers
a4f5e1b96e Finished initial implementation of Commit / Reset buttons 2018-11-23 13:35:51 -06:00
Luke Towers
878bb890b9 Passed the buck to the AutoDatasource to implement pushToSource and removeFromSource, added type hinting to AutoDatasource parameters 2018-11-23 11:28:34 -06:00
Luke Towers
7ebd8b9ffc Implement canCommitTemplate and canResetTemplate checks, added UX for commit / reset buttons (load indicator & success flash messages) 2018-11-23 11:07:36 -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
Luke Towers
f730fc85e1 Fix import statement 2018-11-22 16:54:35 -06:00
Luke Towers
7809f9ada5 Added a Theme::databaseLayerEnabled method to make checking for the db layer easier 2018-11-22 13:41:11 -06:00
Luke Towers
0a8450b21c Added base structure of the Commit & Reset buttons, NOTE: Have not actually implemented the logic for them yet, just added the initial shells / UI for them. 2018-11-22 13:34:19 -06:00
Luke Towers
1920d5b4b6 Fix bug where updating records that didn't exist in the DB yet would cause both the original and new records to display 2018-11-22 12:04:41 -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
Luke Towers
38fe4af1e6 Fixed minor oversight in delete() method on AutoDatasource 2018-11-15 15:14:05 -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
Luke Towers
abc3359273
Warn about the dangers of changing app.timezone 2018-11-15 13:45:57 -06:00
Siarhei Karavai
ff8b967b75 Add support for placeholder in TagList widgets (#3453)
Credit to @GinoPane.
2018-11-15 13:32:59 -06:00
Luke Towers
45bd2654fc Added Meta CmsObject, fixed bug in AutoDatasource 2018-11-14 16:52:46 -06:00
Nathan van der Werf
8ae863f5e7 Escape output to minimize potential XSS opportunities (#3916)
Credit to @nathan-van-der-werf.
2018-11-13 15:51:31 -06:00
Luke Towers
e622defed1 Initial implementation of insert() and update() on the AutoDatasource 2018-11-06 16:00:27 -06:00
Luke Towers
e5518e0976 Update AutoDatasource->getAvailablePaths implementation to match updated interface 2018-11-06 14:48:47 -06:00
Luke Towers
0efae6dc33 AutoDatasource deletions now occur only on first datasource 2018-11-06 14:38:19 -06:00
Luke Towers
4887519e27 AutoDatasource bug fixes and performance improvements
Properly remove deleted paths from results returned by AutoDatasource->select() and utilize the cache exclusively when only selecting the fileName column preventing calls to the source datasources.
2018-11-06 14:22:05 -06:00
Luke Towers
65e0c9d7b6 Add initial support for deleted paths 2018-11-05 16:02:12 -06:00
Luke Towers
32c7891942 Minor changes 2018-11-05 14:35:58 -06:00
Luke Towers
bba42c36e9 Added outline of theme:sync command 2018-11-05 14:35:41 -06:00
Luke Towers
a4802d5036 Minor updates to config cms.enableDatabaseLayer docs 2018-11-05 13:39:55 -06:00
Luke Towers
e14ded4be6 Initial work on the AutoDatasource 2018-11-02 16:04:35 -06:00
Luke Towers
5dbfa133e7 Config file change and cms_themes_contents table migration 2018-11-01 21:53:16 -06:00
Teranode
7c919e01bc Fix hide event firing twice (#3898)
The setTimeout fires after the modal already hides so it ends up firing twice which causes an error because the element is no longer there:
```
Uncaught TypeError: Cannot read property 'get' of null
    at Popup.triggerEvent (storm-min.js?v443:3732)
    at Popup.hide (storm-min.js?v443:3741)
    at storm-min.js?v443:3730
```
Credit to @Teranode for the fix.
2018-11-01 10:32:37 -06:00
Tobias Kündig
bfd726f173 Fix filter popovers in modals (#3844)
Since popovers and modals currently share the same z-index (600) a popover that gets created for a filter inside a modal is invisible. It is hidden below the modal. This commit adds a check to see if a filter is created from within a modal window. If yes, the popover will be added to the modal container. Otherwise the default container value `false` is used. Credit to @tobias-kuendig
2018-11-01 08:31:16 -06:00
Ayumi Hamasaki
4d4ac92d2f Update the Modernizr library - from 2.8.3 to 3.6.0 (#3902)
Credit to @ayumihamsaki
2018-11-01 08:29:46 -06:00
Luke Towers
e726165554
Add Tab icons functionality (#3901)
Credit to @ayumihamsaki for the original proposal, @Teranode for the initial work. Related #3888, #3856.
2018-10-30 20:06:33 -06:00
Ayumi Hamasaki
567f415e1e Updated jQuery from V2 to V3.3.1, added jQuery Migrate (#3886)
Credit to @ayumihamsaki. Fixes #3230.
2018-10-30 19:36:44 -06:00
Luke Towers
454c625718 Recompiled assets 2018-10-30 18:20:30 -06:00
Teranode
8383f555ed Add action buttons to filter popups (#3882)
Adds action buttons ("Apply" & "Clear") to filter popups for UX improvement (past experience was click out of the popup to apply the selected filters and manually remove all applied filters). Credit to @Teranode. Fixes #3304.
2018-10-30 18:18:42 -06:00
Luke Towers
5e877ea2ba Use a public property for the cache key for settings models that cache rendered CSS
This enables developers to modify what the cache key is for a given instance of a settings model so that they can do things like load user dependent settings values and have those values affect the rendered CSS. Previously the key being static across all instances of a given setting model would prevent that from being feasible without clearing the cache for every request.
2018-10-30 16:21:57 -06:00
Teranode
6fb08f3e1a Fix resize event after element removal (#3897)
This prevents an error from popping up after the popover is hidden/removed `this.$container.remove()` is no longer available after removal so we need to check for the presence of `this.$container`. Credit to @Teranode
2018-10-29 16:35:12 -06:00