Commit Graph

5170 Commits

Author SHA1 Message Date
Ben Thomson cb061fe7fe Remove Dusk from dev dependencies 2020-02-13 16:49:03 +08:00
Ben Thomson 28eafd9afc Install RainLab Dusk plugin for browser tests 2020-02-13 16:24:55 +08:00
Ben Thomson 1b8f0cc376 Fix autoload map for tests 2020-02-13 15:39:42 +08:00
Ben Thomson 5e4916148f Revert Laravel Dusk changes (#4919)
The Browser tests will be made into a RainLab plugin. (https://github.com/rainlab/dusk-plugin)
2020-02-07 16:59:39 +08:00
Ben Thomson ef86ddc482 Merge remote-tracking branch 'origin/develop' into wip/laravel-6 2020-02-03 15:56:33 +08:00
Ben Thomson 6b114bf3b2 Drop PHPUnit Selenium requirement 2020-02-03 12:44:45 +08:00
Ben Thomson bb7df3cb61
Tweak code block in README 2020-02-03 12:24:24 +08:00
Ben Thomson 65c3a88179
[Laravel 6] Add support for Laravel Dusk tests (#4919) 2020-02-03 12:21:04 +08:00
Ben Thomson 3f982c25c7
Add "styles" for repeater widgets (#4877)
Can be one of three values:
- "default": Shows all repeater items expanded on load.
- "collapsed": Shows all repeater items collapsed on load.
- "accordion": Shows only the first repeater item expanded on load. When another item is clicked, all other open items are collapsed.

Implements  #4801. Refs: https://github.com/rainlab/builder-plugin/issues/165, #2631
2020-02-02 09:12:01 +08:00
Samuell 45dde59b5f
Add missing backend translations for SK language (#4912) 2020-02-02 09:09:43 +08:00
Samuell a593ceffda
Use middle mouse click to open list row in new window (#4917) 2020-01-29 13:31:19 -06:00
Aurélien Roy 5e7ae1bb72 Add disabled state for unchecked checkbox (#4916) 2020-01-28 11:02:20 -06:00
Luke Towers f700e236d1
Merge branch 'develop' into wip/laravel-6 2020-01-27 12:06:45 -06:00
Luke Towers 5f89a6cd4e Update composer file to use new subsplit repos 2020-01-27 12:06:19 -06:00
Luke Towers a04494e63d Add warning message to app.locale config 2020-01-27 12:04:52 -06:00
Luke Towers e8dca35c15 Include author name in plugin search results.
Fixes #4907
2020-01-23 13:07:18 -06:00
Ben Thomson 6aeb079f8b Add support for Postmark mail transport configuration 2020-01-23 12:28:17 +08:00
Ben Thomson 26944a5f68 Add simple unit tests for HasOneThrough and HasManyThrough relations 2020-01-22 18:16:36 +08:00
Ben Thomson bc1b31f47f Remove wrong branch action 2020-01-22 18:15:45 +11:00
Samuel Georges a0eae4aed4
Merge pull request #4896 from GrahamCampbell/patch-1
Fixed bad version constraint
2020-01-22 08:59:24 +10:00
Graham Campbell ab1df6e719
Fixed bad version constraint 2020-01-21 22:56:28 +00:00
Luke Towers 2b5d811180 Allow plugins to be loaded on routes starting with /combine but not /combine/.
Fixes #4886.
2020-01-21 12:26:20 -06:00
Ayumi a647b48715 Set a consistent focus ring style on all browsers (#4895)
Fixes #4892. Related: #4819
2020-01-21 12:09:04 -06:00
Ben Thomson e33032441b
Drop monkey-patch on mock objects generator.
Reverts 72f85ebc55. No longer needed with PHPUnit 8.
2020-01-21 09:03:49 +08:00
Ben Thomson 0c2dc29f22
Add Discord URL 2020-01-21 08:50:44 +08:00
Ben Thomson c7b85fcd6e
Default to using Bootstrap 3 pagination.
L5.6 introduced Bootstrap 4 validation. While it is likely our pagination is all custom and is using the Storm UI, just to be safe, we'll make sure pagination is using Bootstrap 3 classes in all circumstances to retain current functionality.

This should have no effect on simple pagination, which is overriden with our custom template on the next line.
2020-01-21 08:44:10 +08:00
Ben Thomson 12f5c1794e
Use default October log path for system logs 2020-01-21 08:29:48 +08:00
Ben Thomson 12208e526f Adjust User rules to limit lengths of emails and logins 2020-01-20 16:48:09 +08:00
Ben Thomson 4716084f14 Change User rules to use min for character lengths 2020-01-20 16:39:23 +08:00
Ben Thomson 11b7111413 Use old signature for `where` method in CmsObjectCollection.
Refs: https://github.com/octobercms/october/pull/4893#discussion_r368408407
2020-01-20 16:25:50 +08:00
Ben Thomson 0a63720335 Add JUST the Composer scripts 2020-01-20 16:15:20 +08:00
Ben Thomson 86351cec7f Revert "Add Composer scripts"
This reverts commit a1cfc2aa58.
2020-01-20 16:14:00 +08:00
Ben Thomson a1cfc2aa58 Add Composer scripts 2020-01-20 16:08:15 +08:00
Ben Thomson 60d6825c0d Partially revert and restore bootstrap/autoload.php
As discussed with @daftspunk, we now have to hard-code some overrides to ensure our helpers are loaded first. To keep the code DRY and self-explanatory, we do need to keep the autoload.php file.
2020-01-20 15:11:38 +08:00
Ben Thomson e099b7bdee Move autoloading to index to make it the same as Laravel 6.
Implements work done in https://github.com/octobercms/october/pull/4280.

Credit to @Samuell1
2020-01-20 14:33:14 +08:00
Ben Thomson 9ecad139c4 Comment tweak for CmsObjectCollection::where() 2020-01-20 13:59:29 +08:00
Ben Thomson b2d2d34c10
Fix code quality errors 2020-01-20 12:40:10 +08:00
Ben Thomson ad27116362
Drop code reset and library replacement in automated tests, for now 2020-01-20 12:37:03 +08:00
Ben Thomson a7904d6288
Drop PHP 7.1 tests 2020-01-20 12:33:30 +08:00
Ben Thomson e81101c875
Use updated branch name for library 2020-01-20 11:51:08 +08:00
Ben Thomson cf67e83598
Make slug route param optional for CMS module.
This allows the home page to load.
2020-01-19 23:23:27 +08:00
Ben Thomson f9d7c79de5
Link Input alias to October's Input facade 2020-01-19 23:16:50 +08:00
Ben Thomson 56785bcd3c
Fix missing output when UpdateManager is run within the Backend 2020-01-19 23:15:02 +08:00
Ben Thomson 078eb9191c
Ensure October helpers are loaded before Laravel helpers 2020-01-19 22:58:13 +08:00
Ben Thomson 852ed1afb8
Remove deprecated `getNotes` method from UpdateManager 2020-01-19 22:56:24 +08:00
Ben Thomson d6fc30626c
Un-mark skipped test - seems to be working 2020-01-19 22:41:43 +08:00
Ben Thomson 9be2decce3
Fix guarding for fixtures now that models aren't unguarded by seeders 2020-01-19 22:41:28 +08:00
Ben Thomson 8279bc63e4
Seed admin password that passes our current validation rules 2020-01-19 22:27:12 +08:00
Ben Thomson 4302f8d4f5
Change module seeders to only temporary unguard attributes 2020-01-19 22:26:46 +08:00
Ben Thomson a4c34d1dea
Fix more exception tests 2020-01-19 22:26:21 +08:00