Commit Graph

5160 Commits

Author SHA1 Message Date
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
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
Ben Thomson 2c529cf753
Update unit tests to not rely on deprecated methods of testing 2020-01-19 17:27:38 +08:00
Ben Thomson 662b1c2e45
Fix incompatible `where` method in CmsObjectCollection
Signature for the `where` method changes in L6, so a wrapper has been put in place.
2020-01-19 16:35:01 +08:00
Ben Thomson ae63b096f7
Fix test case incompatibilities, clean up ignores 2020-01-19 16:33:06 +08:00
Ben Thomson 74cc4d4666
Updated Composer dependencies for L6.
Temporarily removed the October subsplits until they are supporting L6.
2020-01-19 16:28:20 +08:00
Ben Thomson 5d3d4ad0b2
Merge branch 'develop' into wip/laravel-5.9 2020-01-18 21:00:40 +08:00
Samuel Georges e3b42b2f10 Make cms.backendForceSecure an explicit setting
This no longer hinges on app.debug because it creates confusion for devops engineers. This is based on three independent reports coming from app environments that use a reverse proxy. The engineer will follow the proper security instructions by disabling debug mode, which in turn creates an infinite redirect loop when opening the back-end area, only to leave them scratching their heads

Ultimately it is the web server configuration's job to handle the enforcement of HTTPS, the app no longer enforces it as a strong opinion, but we still keep the setting available as a convenient security check for standard environments that do not use a reverse proxy
2020-01-18 18:05:26 +11:00
Scott Bedard 60ffd91064 Fix small typo in number range filter widget (#4891)
When a `max` is defined with no `min`, the filter should read "Negative infinity → max". Right now, it reads "Infinity → max", which is not accurate.
2020-01-17 12:11:38 -06:00
Ayumi 06b1f57755 Expand the character limit of error messages in Event log list (#4830) 2020-01-16 20:37:38 +08:00
Ben Thomson c046466913 Set Dropzone.js uploaders to have no time limit (#4878)
The upgrade to the latest Dropzone.js brought in a new `timeout` configuration variable, which defaults to 30s. This removes the time limit and restores original functionality.

Fixes #4869
2020-01-14 16:47:25 -06:00
Flynsarmy 0bbc12af45 Remove excess spaces from tab title hovers (#4876) 2020-01-14 19:58:54 +08:00