Commit Graph

60 Commits

Author SHA1 Message Date
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 f74d95392f Fix instances where defineProperties returns nothing
addPurgeableAttribute -> addPurgeable
2016-10-19 07:21:09 +11:00
Samuel Georges 676196d304 Use starts_with instead of regex 2016-07-16 15:34:20 +10:00
Samuel Georges 74a6a71bcb Parameters -> Parameter
(Models should be singular)
2016-05-31 08:17:48 +10:00
Samuel Georges ba57dd8993 clearAssetDefinitions -> flushAssets 2016-04-12 18:04:15 +10:00
Samuel Georges 54d749f034 Like setProperty(), this should not return a value 2016-02-17 17:49:52 +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 b65a653176 Add ability to null asset broadcasting from AJAX 2016-01-16 17:12:54 +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 507bfab768 !!! *BREAKING*: Form widget base class no longer takes a model as the 2nd argument, it should be passed as `model` in the configuration instead. 2015-03-06 20:37:05 +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 7145aac457 Prepare for CDN, config rename cms.plugins|themes|uploadsDir -> cms.plugins|themes|uploadsPath
Deprecate data-trigger-type on triggerapi
Fixes ref to Util class
2015-02-17 20:58:38 +11:00
Samuel Georges fe611b8834 Input fields can now use icons, added icons to datepicker inputs 2015-02-13 22:57:55 +11:00
Samuel Georges 610ea932fc Fixes #856 - Implement a linking policy, defaults to relative 2015-02-09 21:52:17 +11:00
Samuel Georges 9dba058fe5 Remove PATH_APP + PATH_BASE constants 2015-02-07 15:43:49 +11:00
Samuel Georges 03eb949e71 Add illuminate/html package, DB -> Db, HTML -> Html 2015-02-04 20:03:44 +11:00
Samuel Georges b1b700368f Radical reorg of some classes 2015-01-28 11:49:54 +11:00
Samuel Georges 69a3aedffb Fixes an issue where duplicate assets are sent across the AJAX wire 2015-01-13 17:46:46 +11:00
Sam Georges 7c0f42d587 Update contributing 2014-11-01 14:47:46 +11:00
Sam Georges c83797231d Subsequent expressions are on a new line (see developer guide > PSR exceptions) 2014-11-01 12:00:45 +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 776f4dfbaf ConfigMaker now symbolizes paths 2014-09-29 12:32:41 +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
Sam Georges 746f425d88 Added new containerAttributes property to form fields 2014-09-25 18:05:35 +10:00
Sam Georges aa7e1800a4 Fixes path making issue 2014-09-15 08:58:42 +10:00
Sam Georges efbb0351db ViewMaker now uses PathMaker 2014-09-13 15:02:52 +10:00
alekseybobkov df55946b61 Merge branch 'misc-tmp' into develop 2014-09-03 20:01:17 -07:00
Sam Georges 938f9957de Add PathMaker trait, Combiner now supports aliases and dynamic paths 2014-08-29 19:23:57 +10:00
alekseybobkov e7767176ce Updated the treeview control, updated Redactor scripts, the CMS Content is now a compound object 2014-08-22 18:45:05 +11:00
Sam Georges 982b22a676 Fixes #547 - Duplicate assets are pointless 2014-08-16 09:17:09 +10:00
Sam Georges bfc3804a1a If a base classes uses a trait, no need to reuse that trait because Model boots all traits now 2014-08-03 11:57:51 +10:00
Sam Georges 1f64ccf792 Traits use private instead of protected so they can be used/reused in base classes 2014-08-03 10:04:06 +10:00
Sam Georges 6388ecef52 private -> protected 2014-08-01 13:58:59 +10:00
Sam Georges 9381bc3628 When making config, set the original values too 2014-06-30 17:34:11 +10:00
Sam Georges 7802213bcc Fixes #55 - Assets are now referenced correctly as Assets instead of URLs 2014-06-26 17:29:07 +10:00
Sam Georges 41aa8944dd ConfigMaker should validate config no matter what 2014-06-20 17:42:59 +10:00
Sam Georges ab889f0973 Minor improvement 2014-06-06 21:44:35 +10:00
Samuel Georges 8f87c210c4 Merge pull request #258 from hariadi/dev
AssetMaker now can inject external assets
2014-06-06 21:39:56 +10:00
Sam Georges 2b820a20d6 Convert all boolean table columnns to use is_ prefix
Add email template/layout system
2014-06-06 21:39:20 +10:00