Commit Graph

567 Commits

Author SHA1 Message Date
Siarhei Karavai ff8b967b75 Add support for placeholder in TagList widgets (#3453)
Credit to @GinoPane.
2018-11-15 13:32:59 -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
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
Alwin Drenth 00122108b1 Update Dutch (NL) translation (#3895)
Credit to @adrenth
2018-10-26 09:14:56 -06:00
Christian 4ccf91feca Make popovers resize dynamically on page resize (#3891)
Related #3603. Credit to @Teranode
2018-10-25 12:40:34 -06:00
Christian d21ae831c0 Text Display issue (#3889)
Credit to @Teranode. Fixes an issue present on Firefox and Chrome where the "Yes" text cuts off because of the width limit of the span
2018-10-24 22:20:18 -06:00
Denis Denisov daf3a5c7cd Stop Ctrl+F marking code editor as "dirty" (#3857)
Credit to @w20k. Fixes #946. Thanks to @petehalverson for Octodock for making testing these easy!
2018-10-11 10:19:41 -06:00
Denis Denisov ae20bb629f Revert of 'loader.less', based on the issue #3792 (#3840)
Fixes #3792. Credit to @w20k
2018-10-04 14:10:43 -06:00
matthew188 c5d0a467d8 Improve table column width handling on Chrome (#3834)
Credit to @matthew188
2018-09-30 18:11:07 -06:00
Luke Towers 5b7d9041fd
Integrate flag-icon-css (#3797)
Replaced the existing PNG flag icons with the flag-icon-css library that uses SVGs, has more flags, and is more active (i.e well maintained). Credit to @mariavilaro & @w20k. Thanks to @petehalverson for Octodock for easy testing of this.
2018-09-25 08:23:18 -06:00
Jim Cottrell 6f2ed028b3 Fix input trigger on source field types with multiple selected values (#3798)
Credit to @jimcottrell. Tested by https://github.com/octoberrain/test-plugin/pull/55
2018-09-18 22:54:57 -06:00
Samuel Georges 7a8867f00b Improve Event log formatting for emails
If an email is seen (Message-ID:) then convert newlines to <br> unless within <html> tags. Also place the contents inside an iframe so the CSS rules don't leech out.
Fixes #3032
2018-08-31 11:09:20 +10:00
Luke Towers 787c2244bf Improved inline-options CSS for checkboxlist fields 2018-08-23 10:00:51 -06:00
Luke Towers 3011c39d2b Add inline-options css class for checkboxlist fields
Documented by f4440ced6c
2018-08-22 16:39:02 -06:00
Maria Vilaró 5c72ad1474 Add translations for Catalan (#3694)
Credit to @mariavilaro.
2018-08-16 08:14:26 -06:00
0x90 d5829c75cf Allow tabs to be closed with middle click (#3633)
Enables closing backend tabs with the middle mouse click. Credit to @AxDSan. Fixes #1970.
2018-07-25 13:54:49 -04:00
Michał Płodowski 68ee471d39 Add showWeekNumbers option to datepicker (#3637)
Fixes #3634. Credit to @mplodowski
2018-07-12 18:10:24 -04:00
Luke Towers dd6a05bdc4 Removed circular dependency
Removes a circular dependency from windex.variables.less that triggers https://github.com/kriswallsmith/assetic/issues/881.
2018-07-06 14:40:50 -04:00
Jim Cottrell bfee483805 Adds support for minifying framework assets (#3240)
Fixes #2753. Credit to @jimcottrell
2018-07-05 17:57:17 -04:00
Luke Towers c46dc38ed1 Compiled assets 2018-06-07 00:09:12 -06:00
Ayumi Hamasaki 5ee8ee0917 Fix the loading indicator appearing transparent over buttons(#3576)
Fixes #3571. Credit to @ayumihamsaki. Thanks to @petehalverson for his PR testing system, this is the first PR I'm merging after testing it with that system.
2018-06-01 09:07:10 -06:00
Viamage 667b82e6ce Replace keyup listener with input listener (#3567)
Fixes #1270. Credit to @viamage
2018-05-30 20:26:38 -06:00
QuangTrọngOnline 3ef571da3c Added Vietnamese translation (#3514)
Credit to @quangtrongonline.
2018-04-24 11:41:01 -06:00
Wellyson Freitas 2ffae8ccbc Add alignment and size options to loader indicator (#3522)
Add option to horizontally align the loader indicator in the center and option to change the size (only small size available for now) through the JavaScript API. These abilities were already available through CSS, this commit makes them available through JS as well.
2018-04-21 09:28:18 -06:00
Luke Towers ed760d892b Compiled client side language files 2018-04-19 10:23:38 -06:00
Tobias Kündig 2b22b26676 Added align property to list columns definition (#3509)
Documented in https://github.com/octobercms/docs/pull/289; credit to @tobias-kuendig
2018-04-17 23:34:08 -06:00
Luke Towers 5acbdb12fe Compiled assets and whitespace cleanup 2018-04-17 13:43:51 -06:00
Sergey Karavay 4a2e959fb8 Fixed Russian map for "щ" and added Belarusian map (#3463)
Credit to @GinoPane
2018-03-21 11:22:59 -06:00
Alex360hd 687f97f792 Remove loader background color (#3394)
Fixes #3393. Credit to @Alex360hd
2018-02-13 10:51:39 -06:00
tim0991 06780f5123 Support toggling the removal of stop words in input preset handling (#3320)
Add `data-input-preset-remove-stop-words="false"` to an element being handled with the input preset JS to disable the removal of stop words from slug generation. Credit to @tim0991.
2017-12-25 17:56:58 -06:00
Samuel Georges 736188e26f Recompile assets 2017-12-02 17:43:14 +11:00
SeriousKen 965d91e51c Trailing & in requestData if data is empty (#3262)
This fixes a small issue where the form is submitted an extra unnamed null field is present in the request due to a trailing & symbol in `requestData` when `data` is empty.
2017-11-23 09:54:17 -06:00
Samuel Georges 2092454343 Clean up from #3255
This logic could have been placed in the ValidationException class or the framework.js file. It seems more fitting for it to be in the framework.js file.
2017-11-22 13:47:34 +11:00
Jan c165fc02d7 Fix ajax validation for array syntax (#3255) 2017-11-21 17:05:04 -06:00
Christophe Vuagniaux cbcdd76ff2 Add filter of type text in backend list (#3094)
Fixes #3048, credit to @ChVuagniaux
2017-11-06 12:07:53 -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
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
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
Luke Towers 7c3d4705fc Support firstDay in date & date range filters
Ref: 962aa32a60 (commitcomment-23597564)
2017-08-11 08:59:06 -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