Samuel Georges
beb818efa5
Merge branch 'develop' into laravel5
...
Conflicts:
modules/cms/classes/CmsCompoundObject.php
modules/system/ServiceProvider.php
2015-02-04 19:35:55 +11:00
Samuel Georges
167d113c12
depends -> dependsOn
...
Hidden fields now retain their container div (hidden when empty)
2015-01-29 20:32:24 +11:00
Samuel Georges
b1b700368f
Radical reorg of some classes
2015-01-28 11:49:54 +11:00
Samuel Georges
7c1de4f728
Add export action to ListController behavior
2015-01-27 20:02:20 +11:00
Samuel Georges
ceae799152
Translate fix
2015-01-25 13:47:32 +11:00
Samuel Georges
228982ed0f
Minor
2015-01-25 13:37:03 +11:00
Samuel Georges
ff415a8542
Tidy up
2015-01-25 13:10:17 +11:00
Samuel Georges
e4d4a29bdd
withDeferred() will add constraints for us
2015-01-25 13:02:28 +11:00
Samuel Georges
b58666b4a0
Massive improvements to RelationController, most button types are available
2015-01-25 13:02:06 +11:00
Samuel Georges
25835e5f55
Implement belongsTo RelationController type
2015-01-21 20:53:19 +11:00
Samuel Georges
39daf773bc
Implement hasOne RelationController type
2015-01-21 19:47:38 +11:00
Samuel Georges
59c9146b4f
Merge pull request #861 from gergo85/master
...
Cleanup
2015-01-05 09:21:09 +11:00
gergo85
f0005d196b
Cleanup
...
Remove whitespaces.
2015-01-03 12:41:23 +01:00
Samuel Georges
4852722ba1
Merge pull request #848 from nicolas-lescop/develop
...
Extend query of the filter options lists
2015-01-03 15:58:34 +11:00
Nicolas Lescop
99d34789a4
Extend query of the filter options lists
2014-12-23 14:57:28 +01:00
Carlos Arroyo
90d5bde28c
When building a relationship Belongs to Many with Pivot Data the lack of a table name causes an sql ambiguous ID error.
2014-12-17 19:14:21 +11:00
Samuel Georges
ea34622840
Clicking a record in readOnly mode will open the manage form in preview mode
...
Use "recordOnClick: null" to retain the original behavior
2014-12-06 15:46:02 +11:00
Samuel Georges
906d97dce4
Add new options to RelationController (view mode): recordUrl, recordOnClick, toolbarButtons
2014-12-06 15:32:20 +11:00
Samuel Georges
3e5d6452fb
Fixes #373 - FormController can now accept different form fields for create,update,preview
2014-12-06 13:48:33 +11:00
Samuel Georges
cafe636f58
Merge pull request #807 from nicolas-lescop/patch-6
...
Permit to display checkBoxes with config file
2014-12-06 09:14:28 +11:00
Samuel Georges
fd811bb115
Merge pull request #812 from nicolas-lescop/patch-9
...
Extend query on relation behavior
2014-12-06 09:03:05 +11:00
Samuel Georges
c485622f5b
FormController is now responsible for purging data from the set (NO_SAVE_DATA)
2014-12-05 16:48:27 +11:00
Samuel Georges
70eb7eaf51
Adds Theme customization feature
...
Adds reset button to settings pages
authorUrl -> homepage
2014-12-04 16:49:52 +11:00
nicolas-lescop
d0cc667c8b
Extend query on relation behavior
...
From a relation behavior config file like this
status:
label: Status
list: @/plugins/path/to/your/relation/config/columns.yaml
emptyMessage: backend::lang.list.no_records
You can extend the list query with this method :
relationExtendQuery($query, $field, $manageMode)
{
if ($field == 'status') $query->where('thing', '=', $this->thing);
}
2014-12-02 15:03:06 +01:00
nicolas-lescop
89cdb3af8b
Permit to display checkBoxes with config file
...
Can be used for those wanting to make a deletable only list.
2014-12-02 11:35:15 +01:00
Dmitriy
d8ed49b8cf
Update _manage_form.htm
...
fix form title for update context
2014-11-23 21:59:48 +02:00
Samuel Georges
7801750767
Adds a way to get the form model after the action has executed
2014-11-19 17:45:23 +11:00
nicolas-lescop
03ccead584
Delete all selected related elements and not just the first element
2014-11-14 14:19:08 +01:00
Sam Georges
f458fb7704
Overhaul Form layouts, adds FormTabs.php class for managing tab properties
2014-11-12 07:33:58 +11:00
Sam Georges
38170d3101
Use popup loading indicator on relationcontroller behavior
2014-11-07 19:38:05 +11:00
Sam Georges
c32ba4cbad
Minor code clean
2014-11-04 17:41:48 +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
Samuel Georges
0bc63fe8a3
Merge pull request #722 from patrickward/develop
...
Correction: change $relatedLabel variable to $relationLabel in pivot for...
2014-10-27 19:07:27 +11:00
Patrick Ward
90313deb53
Correction: change $relatedLabel variable to $relationLabel in pivot form.
2014-10-24 15:07:42 -04:00
Sam Georges
49982b51ed
Clean up code, add listExtendColumns override
2014-10-24 17:15:34 +11:00
Stefan Talen
347dff7e75
Merge branch 'develop' of https://github.com/octobercms/october into feature/PSR-2
...
Conflicts:
modules/backend/behaviors/RelationController.php
modules/backend/classes/WidgetManager.php
modules/cms/classes/CmsCompoundObject.php
modules/cms/twig/Extension.php
modules/cms/twig/PlaceholderNode.php
modules/cms/widgets/TemplateList.php
2014-10-18 11:07:17 +02:00
Sam Georges
df98ae9196
Use getQualifiedKeyName when finding existing IDs
2014-10-17 08:15:16 +11:00
Samuel Georges
c48e10cbf5
Merge pull request #701 from karnold/develop
...
when building belongsToMany relationships in controllers, the lack of a ...
2014-10-17 08:13:19 +11:00
Kris Arnold
c75df3a120
when building belongsToMany relationships in controllers, the lack of a table name
...
alias causes an sql ambigious Id error
2014-10-16 14:28:36 -05:00
Stefan Talen
06890d711a
Merge branch 'develop' of https://github.com/octobercms/october into feature/PSR-2
...
Conflicts:
modules/backend/behaviors/UserPreferencesModel.php
modules/cms/classes/Controller.php
modules/system/classes/CombineAssets.php
2014-10-16 18:44:18 +02:00
Sam Georges
fbaab26bfb
Improve efficiency in settings model behavior
2014-10-16 19:49:28 +11:00
Sam Georges
9f5646d273
BackendSettings -> BrandSettings
...
pageTitle is now translated at the end of the line
Fixed unit tests so they pass
SettingsModels are now cached
2014-10-15 19:53:44 +11:00
Stefan Talen
61cf1ad710
Merge branch 'develop' of https://github.com/octobercms/october into feature/PSR-2
...
Conflicts:
modules/backend/behaviors/FormController.php
modules/backend/classes/AuthManager.php
modules/backend/lang/fa/lang.php
modules/backend/widgets/Form.php
modules/cms/classes/CmsCompoundObject.php
modules/cms/classes/ComponentHelpers.php
modules/cms/formwidgets/Components.php
2014-10-11 11:58:20 +02:00
Sam Georges
dd5a46d815
Refs #599 - Adds method to get the list widget object from the controller
2014-10-11 18:06:14 +11:00
Sam Georges
4504d5bf4c
Improve translation handling
2014-10-11 10:37:48 +11:00
Stefan Talen
b01d3e540f
Updating backend/behaviours
2014-10-10 22:34:57 +02:00
Sam Georges
f542254403
Minor
2014-10-07 18:26:42 +11:00
Sam Georges
80e7a8507e
Add static helpers extendListColumns + extendFormFields
2014-10-05 15:57:55 +11:00
Sam Georges
bf47eb94ed
Str::getRealClass -> class_basename
2014-09-29 13:12:34 +10:00
Sam Georges
04462f5b4c
The manage form should not share its session key with the parent
2014-09-17 09:46:48 +10:00