555 Commits

Author SHA1 Message Date
Luke Towers
47970b14d0 Revert the CSS sticky fix as it breaks on pages that are smaller than 100% of the viewport height 2021-08-25 01:46:27 -06:00
Luke Towers
d9da2b08dd CSS fix for position: sticky 2021-08-24 14:46:53 -06:00
Luke Towers
857d42101e Added global notice to backend when the user is being impersonated 2021-08-24 14:14:36 -06:00
Luke Towers
c047f34156 Merge branch 'wip/rebrand-1.0' into wip/rebrand-develop
# Conflicts:
#	.github/workflows/code-quality-pr.yaml
#	.github/workflows/code-quality-push.yaml
#	.github/workflows/tests.yml
#	README.md
#	composer.json
#	modules/backend/behaviors/ImportExportController.php
#	modules/backend/behaviors/ReorderController.php
#	modules/backend/composer.json
#	modules/backend/models/ExportModel.php
#	modules/cms/ServiceProvider.php
#	modules/cms/classes/Asset.php
#	modules/cms/classes/CmsObject.php
#	modules/cms/classes/CmsObjectCollection.php
#	modules/cms/composer.json
#	modules/system/ServiceProvider.php
#	modules/system/aliases.php
#	modules/system/assets/js/lang/lang.es.js
#	modules/system/assets/js/lang/lang.it.js
#	modules/system/assets/js/lang/lang.zh-tw.js
#	modules/system/assets/ui/storm-min.js
#	modules/system/classes/CombineAssets.php
#	modules/system/classes/ErrorHandler.php
#	modules/system/classes/SystemController.php
#	modules/system/classes/UpdateManager.php
#	modules/system/composer.json
#	modules/system/console/WinterFresh.php
#	modules/system/console/WinterUtil.php
#	modules/system/controllers/updates/_list_toolbar.htm
#	modules/system/providers.php
#	tests/UiTestCase.php
#	tests/functional/backend/AuthTest.php
#	tests/functional/phpunit.xml
#	tests/unit/backend/classes/NavigationManagerTest.php
#	tests/unit/cms/classes/CmsObjectTest.php
#	tests/unit/cms/classes/ControllerTest.php
#	tests/unit/cms/classes/ThemeTest.php
#	tests/unit/plugins/database/PluginModelTest.php
#	tests/unit/plugins/database/ValidationModelTest.php
#	tests/unit/system/console/WinterEnvTest.php
2021-03-11 00:22:09 -06:00
Luke Towers
1e8cfb47af Manual comb through and rebrand following up the bulk patch rebrand 2021-03-10 15:25:57 -06:00
Luke Towers
cfa763b714 Initial rebrand commit generated from the 1.0 rebrand branch patch file 2021-03-10 15:02:53 -06:00
Luke Towers
2cdccb7c3a Rebrand CSS & LESS 2021-03-10 11:14:36 -06:00
Luke Towers
f7fd47ac7e Compiled assets 2021-03-09 10:48:15 -06:00
Luke Towers
048413382c $.oc to $.wn 2021-03-08 02:48:10 -06:00
Luke Towers
d52ea0ccf8 further WIP on rebrand 2021-03-08 02:41:13 -06:00
Luke Towers
62fbbdc182 Further WIP on October -> Winter rebrand 2021-03-07 02:24:21 -06:00
Luke Towers
7d80b771fe Initial work on Winter rebrand for 1.0 branch 2021-03-06 04:06:19 -06:00
Ben Thomson
50816a9556
Add support for defining quick actions in the Backend's main nav (#5344)
Plugins now have the ability to define quick actions through a "registerQuickActions" method, which follows the same configuration as the "registerNavigation" method. It is still recommended and preferred that most plugin functionality be defined in their own main menu items, but this will allow a plugin to easily define a shortcut (or remove one).
2020-11-10 12:53:17 +08:00
Luke Towers
5c7ba9fbe9 Update combined jquery file to 3.4.0, added fix for #5097 2020-05-31 02:32:58 -06:00
Marc Jauvin
29740ea1e8
add input tag id to css selector so it does not get overriden by a more generic css rule (#5057)
Improves on fix to #5054
2020-04-29 15:50:12 -06:00
Luke Towers
35ecf7019d Fix visual bug with remember checkbox on mobile.
Fixes #5054
2020-04-28 09:56:02 -06:00
Ben Thomson
965732bd45
Allow sidePanel to be used independent of sideNav
Also, updated compiled assets
2020-04-15 00:16:29 +08:00
Ben Thomson
460aca5b01
Reset outline to default - roll back #4895 (#5035)
Replaces #4965. Rolls back #4895. Fixes #4964. Partially fixes #4819.

The previous attempts to add a stylised "focus" ring, while with the best intentions, did not take into account how "outline" normally works for people using visual aids. Most high contrast software will effect the outline if its available (ie. make it bolder or more prevalant), thus the "outline" property is paramount to maintaining accessibility.

The previous changes also present issues with elements using box-shadows already, and again, on high contrast, box-shadows are no longer rendered.

This change will bring back the outline property for focus, but with an addition to allow a blue highlight for Firefox, would should keep it in "parity" with WebKit.

Refs:
- https://a11yproject.com/posts/never-remove-css-outlines/
-  http://www.outlinenone.com
- https://stackoverflow.com/questions/52589391/css-box-shadow-vs-outline
2020-04-09 11:50:00 -06:00
Tobias Kündig
32443135c9
Remove JS layout calculations of the backend navbar by using flexbox (#4811) 2020-04-02 10:47:24 -06:00
Samuel Georges
6277f9b44c Event goes off not on 2019-12-13 21:56:39 +11:00
Samuel Georges
0a98afbff8 Remove GPU enablement
It is unsure why this was ever needed, but it appears to fix the overflow issues with the sortable plugin

Refs https://github.com/rainlab/pages-plugin/issues/384
Refs 11be3fede39024f285309f61cbf32ee4d0d5cc28
2019-12-13 21:44:37 +11:00
Samuel Georges
ed2eec6afb Move placeholder upon mouse scroll
This is one step closer to fixing the sorting issues when a scrollbar is present. It still doesn't quite fix the issue, still need to find a way to get the container dimensions to update

Refs https://github.com/rainlab/pages-plugin/issues/384
Refs 1d91c221b0b32592ec93c9f4824d108fc2a5cc5e
2019-12-13 21:34:59 +11:00
Ben Thomson
68c9feb622
Fix copy and paste on alert popups (#4740) 2019-11-16 16:27:37 +08:00
Samuel Georges
b37641e94d Lazyload top navigation icons - refs #4562 2019-09-21 13:12:49 +10:00
Samuel Georges
3291e07191
Update Deprecated code in October into (event.key) (#4489)
Update Deprecated code in October into (event.key)
2019-09-11 21:35:18 +10:00
Samuel Georges
96537033c8 Recompile assets 2019-09-11 20:02:43 +10:00
Samuel Georges
86ff037221
Merge pull request #4279 from ghost/dropzone
Update Dropzone V4.0.1 to V5.5.1
2019-09-11 20:00:16 +10:00
Saifur Rahman Mohsin
ecf75e7e46 Mention the lang dependency (#4551)
Credit to @SaifurRahmanMohsin.
2019-08-15 16:55:07 -06:00
Ben Thomson
199407f1a0
Revert #4401 for build 458.
Reverts commit 22847e7892a2054da91bd85ec183ba6e7bc52094. Will be redeployed in build 459.
2019-08-09 16:07:32 +08:00
Luke Towers
d8cd45163d Fixed the focus outline for no results on the CodeEditor search box. Credit to @ayumihamsaki. Replaces #4483. Fixes #4482. 2019-07-26 15:05:07 -06:00
Ayumi Hamasaki
22847e7892 Improve backend accessibility (#4401)
Credit to @ayumihamsaki. Fixes #4400.

- Added WAI-ARIA to the layout templates files.
- Added Focus-ring polyfill to allow better keyboard navigation and screen reader support.
- Added WAI-ARIA to tabs and created keyboard arrow controls for tabs.
- Added event.key polyfill to allow removal of deprecated event.keyCode, event.charCode and event.which.
- Fixed all the whitespace, tabbing and indent issues with all the lang files.
- Keyboard navigation now allows the following key actions: Tab, Up Arrow, Down Arrow, Left Arrow, Right Arrow, Home and End buttons.
- Added keyboard navigation for tab panels.
2019-07-17 15:07:45 -06:00
Ayumi Hamasaki
884042952f Block off SW running in backend and reduce lookups (#4385)
Credit to @ayumihamsaki. Related #4384
2019-06-25 17:15:11 +03:00
Ayumi Hamasaki
401b7419ee Update Dropzone V4.0.1 to V5.5.1
This is a major update from V4 to V5 and will need some testing to make sure October CMS works ok with this update.
2019-04-20 01:13:27 +01:00
Ayumi Hamasaki
da2b0f6c5b Update jQuery from V3.3.1 to V3.4.0 (#4259)
Credit to @ayumihamsaki.
2019-04-18 23:04:12 -06:00
Samuel Georges
288d9543af Firefox testing
- 4K display fixes
- use doc.ready over win.load
- min-size can be 0.1px and still fix the table spacing issue
2019-03-29 04:33:18 +11:00
Ayumi Hamasaki
dd53206a82 Service Workers Invalid security token and Clear Site Data HTTP Header (#4088)
If a website has a Service Worker installed it would load and register before a User tries to login to the backend causing a "Invalid security token" message. This PR unregisters any installed Service Worker when a User opens the backend Signin webpage.

I have also added the NEW Security Headers to add Protection to October's Cache and Cookies. This includes two new Middleware that first clears any bad cached data before a User tries to login and the second Middleware will clear all the sensitive User Data when a User signs out of the Backend.

For more info on the new Security Header 'Clear Site Data' you can see the spec found here: https://www.w3.org/TR/clear-site-data/

Fixes #4076, fixes #3707.
2019-03-01 16:22:18 -06:00
Ben Thomson
57f358b638 Use 1px for 'min-size' layout rows to fix Firefox spacing issue (#4171)
Fixes #4114. Credit to @bennothommo
2019-02-28 13:08:43 -06:00
Luke Towers
c55cc622ff Added new Inline (no icons) navigation mode to the branding options 2019-02-13 14:55:03 -06:00
Luke Towers
cb87802080 Added support for counter and counterLabel to main menu.
Refs: #16, Refs: 7bcec1bd99a813a2fda8dfdc9f25ce51ed663bf8, Replaces: #4061
2019-02-13 14:54:13 -06:00
Denis Denisov
880d614bc5 Fixes bugs with 'collapsed' saved to cookies (#4080)
Credit to @w20k. Fixes #4047
2019-01-23 01:30:53 -06:00
Denis Denisov
ec2a0d5fb0 Tabs and tabels scrolling fix (#4069)
Fixes #4037. Credit to @w20k
2019-01-21 23:35:27 -06:00
Luke Towers
2d6b9c76a9 Recompile assets 2019-01-15 13:35:12 -06:00
Luke Towers
a9a0544ab0 recompiled stylesheets, retaining newlines for improved diff readability 2019-01-14 11:52:16 -06:00
Luke Towers
44ac62abeb Recompiled LESS using new CSS minification 2018-12-20 13:41:09 -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
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
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
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
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