45 Commits

Author SHA1 Message Date
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
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
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
Ben Thomson
a59d3b83eb Code quality clean up (#4449)
Credit to @bennothommo
2019-07-18 08:50:37 -06: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
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
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
Arthur Kushman
c78b3ef786 Code formatting changes (#3363)
Code formatting improvements submitted by @arthurkushman.
2018-03-22 10:55:13 -06:00
Samuel Georges
fb0121b426 Fixes unit test 2017-11-19 15:43:57 +11:00
Samuel Georges
6aa60305a0 Add test for sensitivity component partial overrides
Refs #1854
Laravel looks like it broke ->contains($model), fix test for now
2017-06-27 05:05:24 +10:00
Quezler
cc17b679f1 Code dusting (#2826)
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Samuel Georges
26b4a64854 Fixes unit test
Throwing a guarded / mass assign exception
2017-03-22 07:47:11 +11:00
Samuel Georges
b32176682f Add validation model test
Refs #2676
2017-03-22 07:31:38 +11:00
Samuel Georges
e45dc9601c Add database test for import model
Refs #2446
2016-11-03 07:09:47 +11:00
Samuel Georges
359461d93e Styling fix to the welcome widget
Add unit test for constraining by pivot data
2016-10-25 07:33:24 +11:00
Jérémy Gaulin
e3812036da Allow usage of namespace alias in the code section a a CMS page, with
unit test. Fixes #2006
2016-05-21 16:27:15 +02:00
Samuel Georges
518dee7730 Write MorphOne model test
Refs #1868
2016-04-05 00:03:09 +10:00
Samuel Georges
f45692ce84 (Minor) Fixes test 2016-03-25 17:34:16 +11:00
Samuel Georges
beb851bf5c Add viewBag tests, this is core functionality now 2016-03-17 19:21:41 +11:00
Samuel Georges
d76863a3ec Merge branch 'develop' into stable
Conflicts:
	composer.json
2016-02-27 14:55:52 +11:00
Mariano Custiel
c94706ed05 Added the ability to create instances of components from factories to allow injection of dependencies in components
Fixed descriptions

Added missing new lines at the end of fixture components

Fixed problem with include path

Fixed code as suggested. Now everything is solved through app::make

Removed tests that are not needed anymore since last changes
2016-02-22 09:44:14 +01:00
Samuel Georges
4d113dd041 Write collision tests for sluggable
Refs #1793
Test concatenated slugs while we're here
2016-02-20 17:15:58 +11:00
scottbedard
88f94a35d8 Add tests for Nullable trait 2016-01-24 21:39:46 -07:00
Samuel Georges
f07bd4ba4b Write tests for morphTo simple value get/set 2016-01-25 10:15:58 +11:00
Samuel Georges
631304abc2 Tests for model delete event cascading 2016-01-13 20:11:39 +11:00
Samuel Georges
e5aa1d651c Prepare tests for BelongsToMany relation type 2016-01-06 18:51:31 +11:00
Samuel Georges
471ca41d6f Merge pull request #1582 from JoelESvensson/rename-stub-file
Add .stub extension to stub file
2015-11-28 15:33:41 +11:00
Samuel Georges
4e1d2ca445 Write tests for listsNested on tree traits 2015-11-28 14:12:50 +11:00
Joel E. Svensson
52090e8a9b Added .stub extension as namespaces.php is not a valid php file 2015-11-04 20:41:53 +01:00
Samuel Georges
9dc683ba16 Tests for hasOne get/set simple values + deferred binding 2015-10-17 17:51:46 +11:00
Samuel Georges
91d3d4dbde Swap FileHelper methods for new Ini parser 2015-10-03 07:30:11 +10:00
Samuel Georges
3f7aa9f9f7 Write tests for revisionable trait 2015-09-19 05:36:58 +10:00
Samuel Georges
d9090b3210 Write tests for Tree traits 2015-09-19 05:32:49 +10:00
Samuel Georges
cd1edcb055 Add new suite for database testing 2015-09-09 19:28:47 +10:00
Samuel Georges
2c5f9eba6b Write tests that verify the truth of #1373 2015-08-15 13:39:44 +10:00
Samuel Georges
904db06f5e Write tests that verify truth of #1272
Content files with .txt extensions should not be interpreted as HTML
2015-08-08 12:03:20 +10:00
Samuel Georges
bb4c2da404 Revert change from #1315, fixes original issue, write tests 2015-07-28 18:52:12 +10:00
Samuel Georges
4344a5a245 Forgot to declare the form widgets 2015-07-25 11:07:51 +10:00
Samuel Georges
c7f54ef010 Fixes WidgetManagerTest 2015-07-25 11:05:58 +10:00
Samuel Georges
a324f01678 CmsCompoundObject::hasComponent() now resolves registered codes for comparison 2015-03-07 20:28:17 +11:00
Samuel Georges
8c1d0aa7da Move plugin/theme fixtures so they are shared 2015-02-10 17:45:07 +11:00
Sam Georges
22daf299f0 Fixes #724 - Rem useless placeholders 2014-11-01 17:22:22 +11:00
Sam Georges
73feabaf18 Fixes unit tests, also rename October\Test to October\Tester to remove conflict between real plugin of that name 2014-09-20 17:59:19 +10:00
Sam Georges
71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00