Nathan van der Werf
0f0d108da0
Remove unused imports
2018-08-24 19:51:59 +02:00
Nathan van der Werf
8b6f11e6ac
Extract child instructions
2018-08-15 19:25:42 +02:00
Nathan van der Werf
62c59a4903
Refactor ternary operators to null coalescing operators
2018-08-15 19:15:13 +02:00
Nathan van der Werf
123145fd54
Remove unnecessary parentheses
2018-08-15 18:49:52 +02:00
Lucas Thurston
85dd0b9968
Add config flag for disabling basedir restrictions for local development only ( #3626 )
...
Fixes #3619 . Credit to @lthurston
2018-07-05 17:07:38 -04:00
Samuel Georges
fb2aa1730c
Fixes security issue
...
Refs #3604
2018-06-22 22:57:38 +10:00
Vojta Svoboda
04cb4ddd2c
Check if given partial name is also file or only folder ( #3190 )
...
Fixes #2383 . Credit to @vojtasvoboda, reviewed by @CptMeatball
2017-10-23 08:48:34 -06:00
Samuel Georges
c0aa03a400
Create an error making trait
...
Widgets can throw fatal errors too
2017-06-11 22:38:03 +10:00
Samuel Georges
0a2b343047
Simplify system events
...
This pipes all event calls through a new EventEmitter trait, which substitutes the October Rain event emitter trait. The view event has been moved to this trait also.
Pass some variables by reference to allow multi-extension.
Fixes #2420
2016-12-10 09:02:06 +11:00
Samuel Georges
0aadcc6675
Merge paths and vars when calling widget handler
...
When an AJAX handler is called for a widget, the view paths and specified variables should be merged in to the controller. This sets the appropriate context:
1) Look at the widget first
2) Fall back to the controller
Fixes #2432
2016-11-02 08:50:15 +11:00
Samuel Georges
57b10704ce
Support for overriding list views
...
For consistency, entry partial for controller behaviors should be called "container"
Added addViewPath() method to ViewMaker
Remove "fa" from icon docs (not necessary)
Fixes #2439
2016-10-29 14:10:21 +11:00
Samuel Georges
808c8f0ca4
Minor tidy and rollback from #1720
2016-02-13 14:41:17 +11:00
Joshua Wilson
6f3d7a58f2
Phpdoc cleanup for System\Traits
...
removed in WidgetMaker trait
phpdoc cleanup of backend traits and classes
Minor fix for cases when file is not found
2016-02-13 14:06:50 +11:00
Samuel Georges
5f9a076025
Remove debug code
2016-01-02 16:19:13 +11:00
Samuel Georges
2213c6f28c
Fix string comparison function
...
Flush stray output on view errors
2016-01-02 16:13:30 +11:00
Vojta Svoboda
16eb704793
Add missing PHPDoc @return tag
2015-10-17 09:17:37 +11:00
Samuel Georges
7f502768dc
Adds new view event system, add event to sign in form
2015-08-28 04:31:41 +10:00
Samuel Georges
9ed73e0cba
Updates for new symbolizePath API, requires latest rain lib code
...
Backend layouts can now be provided by plugins
2015-05-30 15:54:47 +10:00
Samuel Georges
8e69039c0d
Adds folder support for making partials
2015-04-14 22:17:10 +10:00
Samuel Georges
a8389fb1aa
Tooltip now auto initializes
...
initForm can now pass context
Various improvements and bug fixes
2015-03-12 20:50:16 +11:00
Samuel Georges
7032e43b92
Fixes weird issue when a folder named '/files' in the base path kills the CMS
2015-02-26 23:14:08 +11:00
Samuel Georges
b1b700368f
Radical reorg of some classes
2015-01-28 11:49:54 +11:00
Sam Georges
7c0f42d587
Update contributing
2014-11-01 14:47:46 +11:00
Stefan Talen
f85087eac6
Updating modules/system
2014-10-18 11:58:50 +02:00
Sam Georges
bf47eb94ed
Str::getRealClass -> class_basename
2014-09-29 13:12:34 +10:00
Sam Georges
2255b9404e
Adds support for Windows-based paths
2014-09-29 12:59:14 +10:00
Sam Georges
b3936330a6
Moved the PathMaker trait functionality to Filesystem class (see October Rain)
2014-09-29 12:32:07 +10:00
Sam Georges
fbf5cbbb67
Moved ViewMaker
trait to live under system, it can be useful for Models too.
2014-09-29 12:19:19 +10:00