2476 Commits

Author SHA1 Message Date
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
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
Tim
caf7cb406f MediaFinder: trigger change event (#3446)
Credit to @scorewinner.
2018-12-04 11:12:26 -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
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
Francesco Passanti
329bb6f202 Fix relation controller lists onClick handling for VARCHAR keys (#3544)
Credit to @FrancescoPassanti
2018-11-23 00:58:28 -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
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
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
Siarhei Karavai
ff8b967b75 Add support for placeholder in TagList widgets (#3453)
Credit to @GinoPane.
2018-11-15 13:32:59 -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
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
Alwin Drenth
00122108b1 Update Dutch (NL) translation (#3895)
Credit to @adrenth
2018-10-26 09:14:56 -06:00
Szabó Gergő
9522deff4e Add filters to log pages (#3815)
Credit to @gergo85. Thanks to @petehalverson for octodock to test this with
2018-10-16 09:09:41 -06:00
Luke Towers
2c82b05062 Added backend.ajax.beforeRunHandler event 2018-10-14 10:32:47 -06:00
Denis Denisov
99bfae4ed0 Revert min-width that breaks layout (#3854)
Revert min-width change as it breaks the Rainlab.Builder plugin layout (and possibly other things). Credit to @w20k.
2018-10-10 14:24:05 -06:00
Kanstantsin
69a26aa8f2 Commit deferred bindings on model created with RelationController (#3843)
Fixes #3829. Credit to @iotch. Tested by the fantastic Octodock provided by @petehalverson
2018-10-04 08:35:30 -06:00
Kanstantsin
813721edf1 Change z-index of full-screen markdown editor (#3838)
Fixes #3837. Credit to @iotch. Tested with Octodock provided by @petehalverson.
2018-10-03 10:56:08 -06:00
Luke Towers
29541394a3
Fix issues with CloudFlare in the backend (#3841)
Related to f068b13851. Fixes #3839
2018-10-03 10:48:35 -06:00
Nicolas Da Mutten
2372f0eb23 Adds missing Content-Type header to CSV-export (#3787)
Credit to @cleverer
2018-09-25 08:55:14 -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
Rike-cz
cf8a73f0a2 Ensure that fields are defined before attempting to render a specific field (#3812)
Credit to @Rike-cz
2018-09-22 19:22:02 -06:00
Szabó Gergő
0d451e3b0f Add favicon to back-end login page (#3803)
Credit to @gergo85
2018-09-19 16:03:13 -06:00
Nathan van der Werf
9030f27cc8 Modify language label for password reset (#3799)
Credit to @nathan-van-der-werf
2018-09-19 08:01:48 -06:00
LucasZdv
9d126a0ab6 Filter group translatable options (#3793)
Fixes #3789. Credit to @LucasZdv
2018-09-17 09:33:13 -06:00
Alexander Shapoval
9da0af4533 Add ability to specify one CSS class to apply to all tab panels (#3761)
Credit to @ebashu-on-holidays
2018-09-16 10:51:00 -06:00
Tobias Kündig
cf9d487b30 Removed unneccessary css rule (#3777)
The removed css rule makes filelist entries unreadable on touchscreen clients
that also have default pointer input support. The entries have a blue background
with white text when hovered. By setting the background to transparent the
text is no longer readable. Credit to @tobias-kuendig
2018-09-12 11:03:58 -06:00
Szabó Gergő
8f82a89147 Apply custom secondary color to Balloon Selector (#3748)
Credit to @gergo85
2018-09-04 11:57:28 -06:00
Szabó Gergő
82b45268c7 Change the lang code in the html templates (#3754)
Credit to @gergo85
2018-09-04 11:54:26 -06:00
Szabó Gergő
69988837d5 Fixed readonly on switch and checkbox field types (#3750)
Credit to @gergo85
2018-09-03 14:36:22 -06:00
vosco88
55575e316b Update reportcontainer.less (#3737)
Fix minor padding issue in Firefox. Fixes #3731. Credit to @vosco88
2018-08-31 00:36:47 -06:00
Artem Korsunov
303dcab353 Update Russian translation (#3735)
Credit to @Konfuze
2018-08-30 13:11:11 -06:00
Samuel Georges
e32de7b753 Annotate class methods 2018-08-30 13:37:39 +10:00
Samuel Georges
5cc327c45c
Merge pull request #3690 from nathan-van-der-werf/feature/cleanup
Code cleanups
2018-08-30 13:12:42 +10:00
Samuel Georges
6099096e5d Increase visibility of close button
Fixes #3723
2018-08-30 12:40:45 +10:00
Samuel Georges
f068b13851 Instruct Rocket Loader to ignore core JS libs
These appear to break for users on CloudFlare possibly due to double minification
Fixes #3602
2018-08-30 12:30:27 +10:00
Nathan van der Werf
743252c3ff
Merge branch 'develop' into feature/cleanup
# Conflicts:
#	modules/backend/widgets/Form.php
2018-08-29 19:18:01 +02:00
Samuel Georges
2d77565e6c Peer review 52d1388e4e7d7165695af889f8dcc861086ad012
This uses a simpler approach and leverages improvements to the validation trait
See 574031d3ee
Refs #2489
2018-08-29 12:19:33 +10:00
Luke Towers
52d1388e4e Automatically use field labels as custom attribute names for a nicer validation message
Fixes #2489
2018-08-26 13:39:49 -06:00
Luke Towers
fcec026dff Add support for checking if nested form fields are required for visual indicator 2018-08-26 12:29:37 -06:00
Nathan van der Werf
8fd16d4db6
Merge branch 'develop' into feature/cleanup
# Conflicts:
#	modules/backend/formwidgets/FileUpload.php
2018-08-24 19:52:54 +02:00