Luke Towers
252c9b7f58
Merge branch 'develop' into wip/laravel-6
2020-05-27 12:44:54 -06:00
Dieter Holvoet
40d8bb453e
Get file and folder metadata for media items using a single network call if possible ( #5046 )
...
Co-Authored-By: Ben Thomson <ben@abweb.com.au>. Fixes #5045 .
2020-05-26 03:20:41 -06:00
Ben Thomson
3241cf7d64
Fix deprecated PHPUnit calls in ControllerTest
2020-05-19 12:57:10 +08:00
Luke Towers
4b22d06c60
Merge branch 'develop' into wip/laravel-6
2020-04-04 14:11:05 -06:00
Dan Harrin
903b5b01ea
Add support for "soft" components ( #4539 )
2020-04-05 01:02:43 +08:00
Luke Towers
44cc5d371b
Merge branch 'develop' into wip/laravel-6
2020-04-04 02:32:16 -06:00
Marc Jauvin
600fbd7cfa
Improve code readability for exists method ( #5022 )
2020-04-02 08:33:58 -06:00
Marc Jauvin
9aa6b9d9d1
Add more unit tests for the PluginManager ( #4838 )
2020-04-01 21:47:06 -06:00
Ben Thomson
64ba17ee75
Drop assertContains calls in OctoberEnv test
2020-03-29 16:20:51 +08:00
Ben Thomson
98a2fb150f
Merge remote-tracking branch 'origin/develop' into wip/laravel-6
2020-03-29 15:45:31 +08:00
Ben Thomson
a92597064b
october:env command fixes
...
- Adds quotes around all strings inserted into config files, preventing them from being interpreted as constants.
- Changed all private methods in OctoberEnv.php to protected.
- Updated test to check some config files for expected changes.
2020-03-29 15:42:46 +08:00
Luke Towers
82238ba3a4
Fix for Laravel 6 upgrade
2020-03-27 12:20:31 -06:00
Ben Thomson
ef606c76c5
Merge branch 'develop' into wip/laravel-6
2020-03-27 14:52:15 +08:00
Ben Thomson
6dbfdd7e65
Allow quotes to be correctly handled by october:env ( #4986 )
...
This fix will apply quotes around string environment variables which contain either a single, or double, quote as well as any variables with a hash symbol - escaping any double-quotes encountered. When artisan october:env is run, this should correctly transfer all configuration values from the config files to the .env file.
Fixes #4979 .
2020-03-26 23:40:01 +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
65c3a88179
[Laravel 6] Add support for Laravel Dusk tests ( #4919 )
2020-02-03 12:21:04 +08:00
Ben Thomson
26944a5f68
Add simple unit tests for HasOneThrough and HasManyThrough relations
2020-01-22 18:16:36 +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
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
ae63b096f7
Fix test case incompatibilities, clean up ignores
2020-01-19 16:33:06 +08:00
Ben Thomson
5d3d4ad0b2
Merge branch 'develop' into wip/laravel-5.9
2020-01-18 21:00:40 +08:00
Larry Barker
2b05d01c6c
Support additional file name and path characters in media manager ( #4564 )
...
* Support additional file name and path characters in media manager
When working with abstract file names that may contain additional characters, such as quotes or ampersands, the media manager would throw an error. This PR adds two additional characters to the character whitelist.
* Add unicode filename to tests
2019-12-05 19:44:04 +11:00
Ben Thomson
7e3136564f
Merge branch 'develop' into wip/laravel-5.9
2019-11-21 23:18:25 +08:00
Samuell
348040a4e4
Add permission support for fields, columns and filter scopes ( #4520 )
...
Credit to @Samuell1. Fixes #1837 .
2019-10-09 16:41:53 -06:00
Ben Thomson
07d74ebb1b
Fix sync command, minor cleanup ( #4645 )
...
Fixes #4642 , adds some unit testing for the AutoDatasource. Credit to @bennothommo
2019-10-09 08:54:13 -06:00
Dan Harrin
919835e5de
Add method removePermission() for AuthManager ( #4522 )
...
Allows programmatic removal of permissions being listed in Permission selection widget.
Credit to @DanHarrin.
2019-09-21 23:42:11 +08:00
Ben Thomson
a67ccfe993
Allow decompiled Backend JS assets ( #4549 )
...
This change will allow the individual JS assets that are compiled into a full compilation file to be loaded individually instead, allowing the developer to see their changes immediately. It introduces a new configuration variable, `cms.decompileBackendAssets`, that controls this functionality. By default, it is false and not tied to the debug value, requiring it to be explicitly enabled.
2019-08-16 16:19:16 +08:00
Dan Harrin
67c9decb20
Standardise use of [] vs array() ( #4548 )
...
Credit to @DanHarrin
2019-08-14 20:46:36 -06:00
Ben Thomson
a59d3b83eb
Code quality clean up ( #4449 )
...
Credit to @bennothommo
2019-07-18 08:50:37 -06:00
Tobias Kündig
604f0d060d
Make plugin dependency checks case-insensitive ( #4337 )
...
Normalize the plugin identifier before lookup in the `hasPlugin` call, which should allow plugin dependencies to resolve if mis-cased in the Plugin `$require` property.
Credit to @tobias-kuendig.
2019-07-02 22:12:29 +08:00
Ben Thomson
5b80ad2501
Add additional test cases for PluginManager ( #4427 )
...
- Add dependency tests
- Add tests that check wrong casing in requirements
- Clean up current tests
- Provides test case for https://github.com/octobercms/october/pull/4337
2019-07-02 15:34:41 +08:00
Luke Towers
c7a026c253
Add support for PHPUnit 7.0
2019-06-12 10:22:20 -06:00
Panagiotis Koursaris
8811c3dcd4
Fix: Hard-coded URL in ControllerTest::testThemeUrl ( #4378 )
2019-06-11 11:15:01 +03:00
Maria Vilaró
faf3069656
Add tests for optional wildcard ( #3964 )
...
Related: https://github.com/octobercms/library/pull/363
2019-06-11 11:08:08 +03:00
Siarhei Karavai
2e0d2d3888
Allow subdirectories in migration file names ( #4225 )
...
Credit to @GinoPane. Fixes #4224 .
2019-03-31 08:46:33 -06:00
Luke Towers
9113e6f418
Another deprecated class reference updated
2019-03-27 13:15:59 -06:00
Siarhei Karavai
8606db9e77
Add support for file names with multiple dots ( #4211 )
...
Fixes #4210 . Credit to @GinoPane
2019-03-25 09:57:06 -06:00
Denis Denisov
b66084287e
fix(build): Marked test as skipped for further investigation ( #4191 )
2019-03-09 12:14:48 +02:00
Siarhei Karavai
9581b23d1e
Allow multiline changelog messages, preserve correct order of updates ( #4083 )
...
Credit to @GinoPane
2019-02-19 11:11:43 -06:00
Ben Thomson
2002fd6b4b
Prevent plugins that cannot be instantiated from being loaded ( #3956 )
...
Credit to @bennothommo
2018-12-04 11:22:07 -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
Nicolas Da Mutten
aeb7616d06
Automatically use local asset path when attempting to combine injected assets ( #3802 )
...
Credit to @cleverer. Fixes #3264 .
2018-09-24 14:17:00 -06:00
chrisbethelepb
0ffdbc5efd
Relax restrictions on MediaLibrary filenames ( #3778 )
...
Fixes #3741 . Credit to @chrisbethelepb
2018-09-12 11:37:21 -06:00
Samuel Georges
fb2aa1730c
Fixes security issue
...
Refs #3604
2018-06-22 22:57:38 +10:00
Viamage
749cbace1b
MediaLibrary test updates ( #3580 )
...
Updates for depreciated methods and empty tests
2018-06-04 16:48:45 -06:00
Luke Towers
b0f82adb99
Fix unit tests
...
Fix to use private files instead as a result of da17a96926
2018-04-19 01:57:27 -06:00
Samuel Georges
ba4eba183d
Keep the good unit test from #3195
2018-04-06 11:05:31 +10:00
Arthur Kushman
c78b3ef786
Code formatting changes ( #3363 )
...
Code formatting improvements submitted by @arthurkushman.
2018-03-22 10:55:13 -06:00