netzke-basepack 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -547
- data/Gemfile +4 -1
- data/README.md +2 -1
- data/javascripts/basepack.js +9 -2
- data/javascripts/columns.js +224 -0
- data/{lib/netzke/basepack/grid/javascripts/event_handling.js → javascripts/mixins/grid_event_handlers.js} +58 -9
- data/lib/netzke/basepack.rb +1 -3
- data/lib/netzke/basepack/columns.rb +0 -2
- data/lib/netzke/basepack/data_adapters/abstract_adapter.rb +18 -0
- data/lib/netzke/basepack/data_adapters/active_record_adapter.rb +26 -29
- data/lib/netzke/basepack/form.rb +1 -2
- data/lib/netzke/basepack/form/endpoints.rb +35 -0
- data/lib/netzke/basepack/form/services.rb +18 -61
- data/lib/netzke/basepack/grid.rb +6 -7
- data/lib/netzke/basepack/grid/endpoints.rb +0 -1
- data/lib/netzke/basepack/grid/javascripts/extensions.js +2 -0
- data/lib/netzke/basepack/grid/javascripts/grid.js +2 -203
- data/lib/netzke/basepack/grid/services.rb +3 -1
- data/lib/netzke/basepack/search_panel.rb +7 -5
- data/lib/netzke/basepack/search_panel/javascripts/condition_field.js +1 -2
- data/lib/netzke/basepack/tree.rb +223 -0
- data/lib/netzke/basepack/tree/javascripts/extensions.js +101 -0
- data/lib/netzke/basepack/tree/javascripts/tree.js +112 -0
- data/lib/netzke/basepack/version.rb +1 -1
- data/locales/en.yml +18 -0
- metadata +8 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d96ed44b6d5ee2b5aa0b05503385aff0f108a686
|
4
|
+
data.tar.gz: 31f9287e5ea848da4e6acdec06669bc58572d31d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32b4e6e788b42cac6b8d518d48ec3671df5fc93328f5527d351325d6684ec63b2dbb25dedf96b053fa51de3fb2373a60002c1128af2e895349ee96b6f5099127
|
7
|
+
data.tar.gz: 2e7681d35a110b695d0d1dac3c6d86bf5d215c5db6a9fc7c87ab124ba725ca96bd4163fe76f23ea4b7174b1e5e507a49b60eaec56bb31e934c641bc8050831a3
|
data/CHANGELOG.md
CHANGED
@@ -1,550 +1,13 @@
|
|
1
|
-
# 0.12.
|
1
|
+
# 0.12.1 - 2015-05-31
|
2
|
+
* New component: Tree
|
3
|
+
* Fix filtering by association when associtaion method is integer
|
4
|
+
* Fix decimal and float columns in extended search form
|
5
|
+
* Fix showing 0-value in association shown by integer
|
6
|
+
* Fix extended panel browser exceptions
|
7
|
+
* Fix showing null values as 0 in int columns
|
8
|
+
|
9
|
+
# 0.12.0 - 2015-03-18
|
2
10
|
* ExtJS 5
|
3
11
|
* New component: DynamicTabPanel
|
4
12
|
|
5
|
-
|
6
|
-
* Rails 4.2
|
7
|
-
* A few fixes from AlexKovynev
|
8
|
-
|
9
|
-
# 0.10.1 - 2014-06-04
|
10
|
-
* Fix Core dependency version
|
11
|
-
|
12
|
-
# 0.10.0 - 2014-04-02
|
13
|
-
* Rails 4
|
14
|
-
|
15
|
-
# 0.9.0 - 2014-02-08
|
16
|
-
* Ext JS 4.2.0
|
17
|
-
* new
|
18
|
-
* GridLiveSearch plugin - implements flexible "live" search on any grid
|
19
|
-
* Implement multi-sorting support in grids
|
20
|
-
* internal changes
|
21
|
-
* Endpoints renamed in Grid:
|
22
|
-
* `post_data` => `server_create` and `server_update`
|
23
|
-
* `get_data` => `server_read`
|
24
|
-
* `delete_data` => `server_delete`
|
25
|
-
* SECURITY FIX
|
26
|
-
* when a grid had a scope set, it was possible to delete/edit a record outside of the scope by tweaking its id during
|
27
|
-
request
|
28
|
-
* bug fix
|
29
|
-
* datetime field in forms respects `read_only` now
|
30
|
-
* Re-enable piggybacking commands to the client from within Grid's `get_data` endpoint
|
31
|
-
* Searching and filtering in grid by date/datetime columns is fixed
|
32
|
-
* Unchecked checkbox in form gets saved as false now (not nil)
|
33
|
-
* improvements
|
34
|
-
* Raise a meaningful exception when a model doesn't have a primary key, which is required by Grid
|
35
|
-
* Do not let rows in grid disappear after an attempt to create invalid records
|
36
|
-
|
37
|
-
# 0.8.3 - 2013-04-24
|
38
|
-
* improvements
|
39
|
-
* implement advanced searching by association (issue #93)
|
40
|
-
* a few improvements on grid column filtering (by Simon Willmann)
|
41
|
-
* bug fix
|
42
|
-
* was crashing when an attribute with name like `author__id` was attempted to be read on a nil association
|
43
|
-
* boolean search from the search panel works now
|
44
|
-
|
45
|
-
# 0.8.2 - 2013-03-16
|
46
|
-
* improvements
|
47
|
-
* Add grid column config option `filter_with` (by firemind)
|
48
|
-
* Add ActionColumn (move over from Communitypack)
|
49
|
-
* `Grid.column` DSL method now appends the declared column to the list of default columns
|
50
|
-
* Add support for autoSync store option (by scho)
|
51
|
-
* Fix a glitch with Grid context menu
|
52
|
-
* Add `enable_edit_inline` option for Grid; when set to false, all editing is done via forms
|
53
|
-
* Make checkcolumn respect the `read_only` option
|
54
|
-
* Column config option `editable` has been removed, use `read_only` instead
|
55
|
-
|
56
|
-
* bug fix
|
57
|
-
* Fix one-to-many association method falling back to 'id'
|
58
|
-
* Attributes in QueryBuilder displayed as 'null'
|
59
|
-
* Various fixes for virtual attributes (by Paul Donohue)
|
60
|
-
|
61
|
-
# 0.8.1 - 2012-12-15
|
62
|
-
* bug fix
|
63
|
-
* TabPanel now shows the active tab's nested component upon loading
|
64
|
-
* Accordion now shows the active pane's nested component upon loading
|
65
|
-
|
66
|
-
* improvements
|
67
|
-
* Add support for validation errors on `before_destroy` (by firemind)
|
68
|
-
|
69
|
-
# 0.8.0 - 2012-12-09
|
70
|
-
* Basepack component renaming:
|
71
|
-
* GridPanel -> Grid
|
72
|
-
* FormPanel -> Form
|
73
|
-
* AccordionPanel -> Accordion
|
74
|
-
|
75
|
-
* improvements
|
76
|
-
* Grid/Form respect `attr_accessible` and `attr_protected` on the model; set the `role` config option on them to tune mass-assignment security
|
77
|
-
* New `data_store` config option in Grid
|
78
|
-
* Major internal refactorings
|
79
|
-
* Window now also stores its 'maximized' state
|
80
|
-
|
81
|
-
* changes
|
82
|
-
* BorderLayoutPanel is removed. Any component can now enable its items persistence by including `Netzke::Basepack::ItemPersistence` module
|
83
|
-
* Methods like `netzke_attribute`, `netzke_expose_attributes` etc are gone. Define your columns/fields directly in your grids/forms.
|
84
|
-
* Accordion and TabPanel now lazily load the Netzke components by default; set `eager_loading` to true for the components that should be loaded eagerly.
|
85
|
-
|
86
|
-
## Grid
|
87
|
-
|
88
|
-
### Customizing grid's forms
|
89
|
-
|
90
|
-
The windows with a form inside, which is used for adding/(multi-)editing of records, are now referred as: `add_window`, `edit_window` (instead of `add_form` and `edit_form`). Both accept a config param `form_config`, which can be used to configure the contained Form - e.g., to change its layout or even class. For example, to change the layout of a form that is found in the edit window, do the following in your grid class:
|
91
|
-
|
92
|
-
component :edit_window do |c|
|
93
|
-
super(c)
|
94
|
-
c.form_config.items = [:name, :author__name]
|
95
|
-
end
|
96
|
-
|
97
|
-
DSL methods `add_form_config`, `edit_form_config`, `multi_edit_form_config`, `add_form_window_config`, `edit_form_window_config`, `multi_edit_form_window_config` are gone.
|
98
|
-
|
99
|
-
### Customizing columns
|
100
|
-
|
101
|
-
Use the new `column` DSL method that accepts a block:
|
102
|
-
|
103
|
-
column :extra_column do |c|
|
104
|
-
c.text = "Extra"
|
105
|
-
end
|
106
|
-
|
107
|
-
If needed, this can be overridden in the subclass the same way as components and actions can be.
|
108
|
-
|
109
|
-
DSL method `override_column` is gone.
|
110
|
-
|
111
|
-
### Misc
|
112
|
-
|
113
|
-
`Grid.extended_search_available` -> `Grid.advanced_search_available`
|
114
|
-
|
115
|
-
# 0.7.6 - 2012-07-27
|
116
|
-
* Fix netzke-core version dependency in gemspec
|
117
|
-
|
118
|
-
# 0.7.5 - 2012-07-27
|
119
|
-
* Rails 3.2
|
120
|
-
|
121
|
-
* improvements
|
122
|
-
* data-related operations in grids and forms are moved to data adapters; implemented (partial) support for DataMapper and Sequel (see updated README)
|
123
|
-
* afterApply event in forms and grids (pschyska)
|
124
|
-
* apply event fired before apply button is processed in Form (pschyska)
|
125
|
-
|
126
|
-
* bug fix
|
127
|
-
* advanced search panel works again (pididi)
|
128
|
-
* fixed a problem with session and GridPanel
|
129
|
-
|
130
|
-
# 0.7.4 - 2012-03-05
|
131
|
-
* bug fix
|
132
|
-
* :enable_pagination is now respected in GridPanel
|
133
|
-
* Virtual columns are not sortable by default now
|
134
|
-
* Datetime column now works
|
135
|
-
* Make Window respect persistence: false
|
136
|
-
* Disable persistence for search window in GridPanel
|
137
|
-
|
138
|
-
# 0.7.3 - 2011-10-23
|
139
|
-
* bug fix
|
140
|
-
* :sorting_scope is now respected in GridPanel
|
141
|
-
* regression: filtering on association column is fix (covered with tests)
|
142
|
-
|
143
|
-
# 0.7.2 - 2011-10-20
|
144
|
-
* bug fix
|
145
|
-
* Filter on a date column
|
146
|
-
* Using date column caused Form to crash
|
147
|
-
* Virtual columns are no longer editable by default
|
148
|
-
|
149
|
-
* improvements
|
150
|
-
* New DSL method (model) for declaring a model for grids
|
151
|
-
* New DSL method (column) for declaring columns for grids
|
152
|
-
* New :override_columns config option for grid allows overriding specified column config without influencing other columns' order/presence
|
153
|
-
* New DSL method (override_column) to override a specific column config without influencing other columns' order/presence.
|
154
|
-
* Grid's title is set to model's pluralized name by default.
|
155
|
-
* New :read_only option for Form - makes all fields read-only and removes the "Apply" button.
|
156
|
-
* Form implements DSL shortcuts for the following options in default config: :model, :items, :record_id.
|
157
|
-
* GridPanel implements DSL shortcuts for the following options in default config: :model, :add_form_config, :edit_form_config, :multi_edit_form_config.
|
158
|
-
* New Form option :multi_edit - set when the form is used for editing multiple records at a time
|
159
|
-
* Introduce action columns (see BookGridWithColumnActions)
|
160
|
-
|
161
|
-
* API changes
|
162
|
-
* Skip supporting ModelExtensions. The preferred way is using setters and getters on columns/fields.
|
163
|
-
|
164
|
-
# 0.7.1 - 2011-09-04
|
165
|
-
* bug fix
|
166
|
-
* Form: fix the netzke_load endpoint when association fields are present
|
167
|
-
* dates were not displayed in date fields, and submitting a form with date fields might result in erasing those fields
|
168
|
-
|
169
|
-
* Rails 3.1 compatibility
|
170
|
-
* no meta_where dependencies (searching and filtering done with Arel)
|
171
|
-
|
172
|
-
# 0.7.0 - 2011-08-09
|
173
|
-
* Core 0.7.0 and Ext 4 compatibility
|
174
|
-
* API changes
|
175
|
-
* [JS] Removed the helper BorderLayoutPanel#get<Region>Component method altogether. Use Ext 4 Container#child instead
|
176
|
-
|
177
|
-
# v0.6.5 - to be released
|
178
|
-
* enhancements
|
179
|
-
* When columns states are saved in the persistent storage, adding/removing columns (e.g. in the code) will reset the saved states
|
180
|
-
* Moved features and specs to test/basepack_test_app
|
181
|
-
* bug fix
|
182
|
-
* Form with multiple association fields wouldn't submit data correctly
|
183
|
-
* GridPanel's forms take over the `text` configuration option for columns as `fieldLabel` for default fields
|
184
|
-
|
185
|
-
# v0.6.4 - 2011-02-26
|
186
|
-
* API changes
|
187
|
-
* The combo field able to talk to the server has changed its xtype from combobox to netzkeremotecombo. When getting values from the server via AJAX, it expects a 2-dimensional array now, where the first value is the real value (which gets submitted), and the second value is the display value.
|
188
|
-
* xdatetime is no more. datetimefield is used instead.
|
189
|
-
|
190
|
-
* enhancements
|
191
|
-
* Components updated to use Ext.Direct (by @pschyska)
|
192
|
-
* New, improved advanced search for GridPanel and PagingForm.
|
193
|
-
* One-to-many association support in Form/GridPanel reworked to use the foreign id instead of a string. This gives us more flexibility about what to display in the association column/field, and also provides for performance improvements (no more need to search for the associated record based on the value provided from the column/field).
|
194
|
-
* GridPanel now memorizes its columns visibility, position and size (when :persistence is set to true)
|
195
|
-
* I18n for GridPanel
|
196
|
-
* A default value can now also be assigned to association column/field (the value must be the associated record's ID)
|
197
|
-
* Slightly optimized selenium tests (no artificial sleeping whenever possible)
|
198
|
-
|
199
|
-
* bug fix
|
200
|
-
* Long-standing visual issues with datetime columns in grid panel are solved.
|
201
|
-
|
202
|
-
# v0.6.3 - 2011-01-14
|
203
|
-
* compatibility with netzke-core 0.6.5
|
204
|
-
|
205
|
-
* refactoring
|
206
|
-
* GridPanel code restructured, using the new `js_mixin` method
|
207
|
-
|
208
|
-
* bug fix
|
209
|
-
* GridPanel respects strong_default_attrs
|
210
|
-
* TabPanel doesn't fire multiple load requests per tab in case of lazy-loaded tabs and fast clicking
|
211
|
-
* Filtering/sorting on virtual columns is now disabled by default
|
212
|
-
* Filtering on date columns
|
213
|
-
|
214
|
-
* enhancements
|
215
|
-
* I18n for Grid/Form
|
216
|
-
* new `getter` config option for columns/fields, a lambda receiving the record as parameter
|
217
|
-
* new `setter` config option for columns/fields, a lambda receiving the record as first parameter, new value as the second
|
218
|
-
* GridPanel passes columns' default values to the "Add in form" form
|
219
|
-
* Form can now be used without specifying a model
|
220
|
-
* New `commalistcbg` form field for checkboxes, where boxLabels of selected checkboxes are serialized into comma-separated string (the separator is configurable)
|
221
|
-
* New `nradiogroup` form field for radio buttons, where the value is defined by the boxLabel of the selected radio button
|
222
|
-
* New `no_binding` option for configuring a form field. Set it to "true" when you don't want Netzke to expand the field configuration based on the `name` property. May be needed in some cases, e.g. when using checkboxes/radio buttons in the form.
|
223
|
-
* New `nested_attribute` option for configuring data attributes (thus applicable for a column, a field, or a `netzke_attribute` in the model). When set to true for an association attribute (e.g. author__name), assigning a value to it will change the association's attribute, *not* trying to find an association by name and reassign it if found (default behavior).
|
224
|
-
* Form shows the "Updating..." mask while sending values to the server (configurable with updateMask option/property)
|
225
|
-
* Form now can be used in the "lockable" mode (:config => :lockable), which makes it load initially in "display mode", then "unlock" it, change the values, and "lock" it again (updating the values on the server)
|
226
|
-
|
227
|
-
# v0.6.2 - 2010-11-05
|
228
|
-
* compatibility with netzke-core 0.6.4
|
229
|
-
* bug fix
|
230
|
-
* BorderLayoutPanel persistence fix
|
231
|
-
|
232
|
-
# v0.6.1 - 2010-11-04
|
233
|
-
* enhancements
|
234
|
-
* BorderLayoutPanel persistence: remembers region sizes and collapsed/expanded states
|
235
|
-
* tooltips for grid buttons
|
236
|
-
|
237
|
-
* bug fix
|
238
|
-
* auto-detection of association's method when the latter is virtual was broken in 1.9.2
|
239
|
-
|
240
|
-
# v0.6.0 - 2010-10-24
|
241
|
-
* netzke-core 0.6.0 compatibility, thorough refactoring
|
242
|
-
* Much more thorough testing (cucumber and rspec)
|
243
|
-
* Form/GridPanel dynamic column/field configuration has been left out (planned for a separate gem)
|
244
|
-
* different bug fixes
|
245
|
-
|
246
|
-
* enhancements
|
247
|
-
* if omitted in config, a column for the primary key is automatically added to Grid/Form
|
248
|
-
|
249
|
-
* API incompatibilities
|
250
|
-
* in Form, define the fields layout directly in :items, not in :fields or :columns
|
251
|
-
|
252
|
-
* new
|
253
|
-
* Form allows for arbitrary layout of fields
|
254
|
-
|
255
|
-
# v0.5.14 - 2010-09-08
|
256
|
-
* bug fix
|
257
|
-
* fields configurator wouldn't open in some cases
|
258
|
-
* icons location was hardcoded in search panel (credits to @pschyska)
|
259
|
-
* quick fix for datetimes not being displayed in the preferred timezone
|
260
|
-
* ext_config options :enable_edit_in_form and :enable_advanced_search now do have effect
|
261
|
-
* PropertyEditor fixed for Grid/Form
|
262
|
-
* Grid/Form again obeys persistent_config option when loading columns/fields
|
263
|
-
|
264
|
-
* enhancements
|
265
|
-
* numberfield is default in grids also for columns of type float
|
266
|
-
* more narrow exception rescuing in GridPanel code
|
267
|
-
* combobox options can now be searched ("type ahead") also in virtual columns (not efficient though, use at own risk!)
|
268
|
-
* overriding an already existing attribute with `netzke_attribute` now also has effect on association attributes, such as boss__name
|
269
|
-
|
270
|
-
# v0.5.13 - 2010-08-11
|
271
|
-
* regression
|
272
|
-
* combobox options configuration again has effect
|
273
|
-
|
274
|
-
* bug fix
|
275
|
-
* when a TabPanel was used as a standalone widget, the first tab was rendered empty
|
276
|
-
* Grid/Form: dynamically changing of columns doesn't erase those column settings that are not configurable via GUI, but which were specified in the code
|
277
|
-
|
278
|
-
* enhancements
|
279
|
-
* scopes can now be specified for an association combobox in Grid/Forms
|
280
|
-
* GridPanel: you can now configure add/edit/multi_edit/search panels (e.g. to override the fields) and corresponding windows (e.g. to override the title)
|
281
|
-
* minor refactoring GridPanel: moved static js out of grid_panel_js.rb
|
282
|
-
|
283
|
-
# v0.5.12 - 2010-06-21
|
284
|
-
* Fix: when used with Bundler, was crashing with the "uninitialized constant" exception
|
285
|
-
|
286
|
-
# v0.5.11 - 2010-06-20
|
287
|
-
* Fix: Partial fix for IE's (the rest to be fixed in Ext).
|
288
|
-
* Fix: In some circumstances Netzke::ActiveRecord modules were not loading.
|
289
|
-
|
290
|
-
# v0.5.10 - 2010-06-14
|
291
|
-
* Impr: Checkbox replaced with tri-state checkbox in multi-edit form in GridPanel.
|
292
|
-
* Impr: Column renderers reworked, allowing for more flexibility and cleanness.
|
293
|
-
* Fix: After applying changes to a grid disable "Edit in form" action.
|
294
|
-
* Impr: A grid's forms are now getting the same fields as specified for the grid.
|
295
|
-
|
296
|
-
# v0.5.9 - 2010-06-11
|
297
|
-
* !!!: after updating to this version, run script/generate netzke_basepack
|
298
|
-
* New: tri-state checkbox introduced into the search form
|
299
|
-
* Impr: better defaults for the search form
|
300
|
-
* Impr: GridPanel now displays the total amount of records
|
301
|
-
* Fix: GridPanel's "local filters" are back (they were out since the release of Ext 3.0)
|
302
|
-
* Impr: obey "preloaded" option for tabs better: really add the widgets into their respective tabs from the start
|
303
|
-
* Fix: datetime filters now also are take into account when searching in GridPanel is performed
|
304
|
-
* Fix: FieldsConfigurator should now work on Heroku
|
305
|
-
* Fix: GridPanel date filter now should work
|
306
|
-
* New: GridPanel now has a method on_data_changed that can be overridden by children to detect actions that modify data
|
307
|
-
* New: New way of configuring Netzke (virtual) attributes for AR models.
|
308
|
-
* Impr: Grid/Form refactoring.
|
309
|
-
* Impr: Multi-level column/fields configuration reworked and made more consistent.
|
310
|
-
* New: New configuration layer introduced between the AR models and the rest of Netzke widgets. Use AttributesConfigurator to access it.
|
311
|
-
* New: FamFamFam Silk icons support.
|
312
|
-
* Impr: Reworked defining Netzke (virtual) attributes for Grid/Form.
|
313
|
-
|
314
|
-
# v0.5.8 - 2010-03-12
|
315
|
-
* Fix: GertThiel's method_missing-related fix enabling better compatibility with other Ruby libs
|
316
|
-
* Fix: acts_as_list runtime dependency
|
317
|
-
|
318
|
-
# v0.5.7 - 2010-02-26
|
319
|
-
* Regression: column config for GridPanel again accepts a renderer along with its parameters (as array, where the first element is the renderers name, the second - the parameters passed to the renderer, e.g.: :renderer => ["date", "y-m-d"])
|
320
|
-
* Fix: Window resize/move now works correctly
|
321
|
-
* Code: taking care of deprecated methods
|
322
|
-
|
323
|
-
# v0.5.6 - 2010-01-10
|
324
|
-
* Compatibility with latest netzke-core
|
325
|
-
* Compatibility with Ext JS v3.1
|
326
|
-
* Impr: Code reorganization
|
327
|
-
* Impr: Non-standard primary key support in GridPanel and Form
|
328
|
-
* Impr: Search button in GridPanel indicates that records filtering is active
|
329
|
-
* Fix: by default, SearchPanel excludes boolean fields for now (until a 3-state checkbox is introduced)
|
330
|
-
* Impr: made it possible to create new AR records with assigned associations using double-underscore notation, e.g.: Clerk.new(:boss__last_name => "Aguraijuja ")
|
331
|
-
* Impr: specifying an item for Netzke::Window is now optional
|
332
|
-
* Fix: xtype field in FieldsConfigurator is now a combobox
|
333
|
-
* Fix: FieldsConfigurator was crashing when fired consequently for grid and form
|
334
|
-
* Depr: :data_class_name option is deprecated, use :model
|
335
|
-
* Impr: "gear" tool is now hidden on FieldsConfigurator
|
336
|
-
* Impr: Grid/Form layouts are now not stored into the netzke_preferences table unless the defaults are modified (cleaner table)
|
337
|
-
|
338
|
-
# v0.5.5.1 - 2009-11-09
|
339
|
-
* Compatibility with latest netzke-core
|
340
|
-
|
341
|
-
# v0.5.5 - 2009-11-09
|
342
|
-
* Compatibility with latest netzke-core
|
343
|
-
* Regression: pressing "enter" was not submitting the form (Form)
|
344
|
-
* Regression: "Restore defaults" button was not working in FieldsConfigurator and PropertyEditor
|
345
|
-
* Fix: excluding columns in FieldsConfigurator was causing inconsistent column behavior (move/hide/resize)
|
346
|
-
* Fix: resolving conflicts with Ext.form.Form's <tt>submit</tt> and <tt>load</tt> methods
|
347
|
-
* New: rudimentary FileUploadField support in Form (it will do a normal, non-AJAX, form submit)
|
348
|
-
* New: Netzke::Window widget, supports persistent moving/resizing.
|
349
|
-
* New: (experimental) GridPanel's "Add in form" button now opens the new Window widget. Later all other windows will be slowly rewritten to do the same.
|
350
|
-
|
351
|
-
# v0.5.4 - 2009-10-12
|
352
|
-
* Dependencies updated
|
353
|
-
|
354
|
-
# v0.5.3 - 2009-10-12
|
355
|
-
* Compatibility with Ext 3.0 (and dropping compatibility with 2.x).
|
356
|
-
* Compatibility with netzke-core v0.4.4.
|
357
|
-
* Impr: Form/GridPanel-based widgets: more consistent Ext.Action-related functionality and code, like (context) menu, bbar, etc.
|
358
|
-
* Impr: GridPanel: <tt>rows_reordering_available</tt> is now true by default.
|
359
|
-
* Impr: TreePanel now sets "leaf" attribute to true if the node has no children.
|
360
|
-
* Impr: Grid/TreePanel now have persistent config enabled by default.
|
361
|
-
* Impr: if persistent_config is disabled, a widget won't be talking to the server in vain any more.
|
362
|
-
* Fix: GridPanel didn't fire row editing when the first column was a "checkbox" column.
|
363
|
-
* Fix: the GridPanel's <tt>:scopes</tt> parameter now correctly processes named scopes as strings inside the array, e.g.
|
364
|
-
:scopes => ["current", [:id_gt, 100]]
|
365
|
-
* Fix: on deleting records from GridPanel, <tt>destroy</tt> method is being called instead of <tt>delete</tt>.
|
366
|
-
* Fix: FieldsConfigurator made a little bit more stable.
|
367
|
-
* Fix: patching Ext's bug that caused double firing of "columnmove" in GridPanel.
|
368
|
-
* Fix: moving columns around in GridPanel was causing erroneous mapping of data to columns after data reload.
|
369
|
-
|
370
|
-
# v0.5.2 - 2009-09-24
|
371
|
-
* Fix: combobox options for association columns didn't work properly.
|
372
|
-
* Fix: GridPanel's multi-edit functionality didn't work.
|
373
|
-
* Fix: gem dependencies are now correct.
|
374
|
-
|
375
|
-
# v0.5.1 - 2009-09-11
|
376
|
-
* Fix: crash when Form has no data_class_name specified.
|
377
|
-
* New: DataAccessor widgets (Form/GridPanel) now let the underlying model know which widget (i.e. which instance) accesses its data. Can be useful in virtual attributes for generating widget-specific HTML.
|
378
|
-
* Fix: DataAccessor widgets (Form/GridPanel) now don't crash when calculating default columns/fields for the underlying model that has polymorphic columns.
|
379
|
-
* Fix: TabPanel was sending redundant "tabchange" event to server when initially instantiated.
|
380
|
-
* Fix: column filters were making GridPanel crash when the column editor was set to "textarea".
|
381
|
-
* Fix: dongling comma and "delete" object properties caused problems in IE and Safari.
|
382
|
-
* Fix: a stand-alone TabPanel would not render the active item.
|
383
|
-
* New: BasicApp: masquerading as "World". In this mode all the "touched" persistent preferences will be overwritten for all roles and users.
|
384
|
-
* Impr: configuration panel's header now shows the underlying model's name for convenience.
|
385
|
-
* Fix: MasqueradeSelector widget added.
|
386
|
-
|
387
|
-
# v0.5.0 - 2009-09-06
|
388
|
-
* Major refactoring and code reorganization.
|
389
|
-
* Compatibility with netzke-core v0.4.0.
|
390
|
-
* New: GridPanel now supports adding/editing records in a form and extended configurable search.
|
391
|
-
* New: GridPanel now can be loaded along with initial data (saves a request to the server).
|
392
|
-
* New: context menu in GridPanel
|
393
|
-
* New: "scopes" configuration option added to GridPanel to specify the searchlogic-compatible scope for the data.
|
394
|
-
* New: "strong_default_attrs" config option added to GridPanel to specify the attributes that will be assigned to each record that is created or modified by the grid.
|
395
|
-
* Usability: GridPanel's actions now get enabled/disabled according to the current selection.
|
396
|
-
* Configuration panel for grids and forms now works more consistently.
|
397
|
-
* New: some smart defaults for column/fields in Grid/Form.
|
398
|
-
* New: BasicApp supports masquerading and application-wide AJAX activity indicator.
|
399
|
-
|
400
|
-
# v0.4.2 - 2009-05-07
|
401
|
-
* Fix: afterlayout event bind removed completely because of some tricky inconsistent behavior of Ext. BasicApp initializing code put directly into js_after_constructor.
|
402
|
-
|
403
|
-
# v0.4.1 - 2009-05-07
|
404
|
-
* Fix: afterlayout call moved to js_after_constructor in BasicApp
|
405
|
-
* Fix: cleaner persistent_config handling
|
406
|
-
* New: default's configuration enabled for Form on class-level
|
407
|
-
* Fix: differently configured forms on the same page were showing the same columns
|
408
|
-
* Fix: TableEditor was showing config-tool by default (must be hidden)
|
409
|
-
|
410
|
-
# v0.4.0 - 2009-05-07
|
411
|
-
* Refactor: got rid of NetzkeFormField and NetzkeGridPanelColumn classes along with their tables. The layout is now stored in netzke_preferences.
|
412
|
-
* New: dynamic hiding of columns from column menu in GridPanel.
|
413
|
-
* New: Form now supports combo boxes.
|
414
|
-
* Fix: config[:bbar] set to 'false' now works in grids with pagination
|
415
|
-
* New: you can specify :preloaded => true in a tab config in TabPanel to preload the widget in that tab along with the TabPanel itself
|
416
|
-
* New: hideBusy added to Ext.StatusBar
|
417
|
-
* Fix: assigning association (a Boss to a Clerk) by virtual column (like boss__name) works now
|
418
|
-
* Fix: an old bug that made GridPanel misbehave after reordering the columns
|
419
|
-
|
420
|
-
# v0.3.10
|
421
|
-
* BasicApp-based widgets can now introduce arbitrary layout, following the convention of defining "main-panel" and "main-toolbar" panels with layout 'fit'.
|
422
|
-
|
423
|
-
# v0.3.9.1
|
424
|
-
* Bug fix: (regression) appLoaded() in BasicApp gets executed again
|
425
|
-
|
426
|
-
# v0.3.9
|
427
|
-
* AccordionPanel tests added
|
428
|
-
* TabPanel works now
|
429
|
-
* AccordionPanel replaced with more intuitive TabPanel in the configuration window
|
430
|
-
* Code clean-up by using "single" option to call appLoaded() on "afterlayout"
|
431
|
-
* Table editor bug fix
|
432
|
-
|
433
|
-
# v0.3.8
|
434
|
-
* Fixing Ext's EditableItem render problem.
|
435
|
-
* Filters by default enabled again in GridPanel.
|
436
|
-
* GridPanel enhancement: base_params get sent along with post_data.
|
437
|
-
|
438
|
-
# v0.3.7
|
439
|
-
* Netzke-core version sync.
|
440
|
-
* Rails 2.3.2 compatibility.
|
441
|
-
|
442
|
-
# v0.3.6
|
443
|
-
* Netzke-core v0.2.9 compatibility.
|
444
|
-
* Cleaner handling of custom renderers in GridPanel.
|
445
|
-
* New Form-based PropertyEditor replaces PropertyGrid.
|
446
|
-
* Xcheckbox and check-column introduced.
|
447
|
-
* TODO file added.
|
448
|
-
* Bug fix: in TableEditor, the grid now responses on events also after being reconfigured.
|
449
|
-
* Bug fix: a couple of IE-related bugs.
|
450
|
-
* Significant code clean-up.
|
451
|
-
|
452
|
-
# v0.3.5
|
453
|
-
* Netzke-core v0.2.8 compatibility.
|
454
|
-
|
455
|
-
# v0.3.4
|
456
|
-
* Quick tips added to the "tools".
|
457
|
-
* Regression: the "General" configuration panel for GridPanel works again.
|
458
|
-
* GridPanel: rows_per_page configuration is now read from General config panel.
|
459
|
-
|
460
|
-
# v0.3.3.1
|
461
|
-
* Obviously using "new" as a property name in JavaScript isn't liked by Safari. Fixed.
|
462
|
-
|
463
|
-
# v0.3.3
|
464
|
-
* Bug fix: application not loading the widget specified in the URL (Ext.History-related).
|
465
|
-
* Some code refactoring and readability improvements.
|
466
|
-
* Ext.componentCache renamed into Ext.netzke.cache.
|
467
|
-
* New widget: TableEditor (a compound widget containing a grid and a form for editing table data).
|
468
|
-
* BorderLayoutPanel: a function getRegionWidget(region) added to access a widget in the specified region.
|
469
|
-
* Bug fix: BasicApp: FeedbackGhost now gets instantiated before BasicApp.
|
470
|
-
* Clearer handling of requests to non-existing aggregatees.
|
471
|
-
* Bug fix: now Ext 2.2.1 compatible.
|
472
|
-
* Column operations are now handled properly when :persistent_layout is set to false.
|
473
|
-
* Grid/Form fields configuration is extended with "ext_config" field which stores (in JSON-format) all the extra configuration, which gives extra flexibility to individual column/field configuration.
|
474
|
-
* :persistent_layout set to false now makes a widget ignore what's in the DB.
|
475
|
-
* Bug fix: AccordionPanel doesn't crash when no active item is specified.
|
476
|
-
* Bug fix: redundant flash messages for GridPanel.
|
477
|
-
* FeedbackGhost won't be showing anything if given an empty array.
|
478
|
-
* Cleaner handling of validations in GridPanel.
|
479
|
-
* Form ready for the demo.
|
480
|
-
|
481
|
-
# v0.3.2
|
482
|
-
* Minor code restructuring.
|
483
|
-
* Working on Form cont'd.
|
484
|
-
|
485
|
-
# v0.3.1
|
486
|
-
* Added the "conditions" configuration option to GridPanel to limit the search
|
487
|
-
* Basic column editor for grids has been replaced with FieldsConfigurator, which can do a bit more
|
488
|
-
* Added Checkbox column/form-field type for boolean fields
|
489
|
-
* "renderer" configuration option added for grid columns - any Ext.util.Format renderer can be specified there (thanks to Josh Holt for the initial idea)
|
490
|
-
|
491
|
-
# v0.3.0
|
492
|
-
* Added BasicApp widget - the base for a Ext.Viewport based ("application") widget with support for dynamic widget loading, browser history, authentification, and more. See the demo an http://netzke-demo.writelesscode.com
|
493
|
-
|
494
|
-
# v0.2.2
|
495
|
-
* Meta: updated netzke-core version (dependency)
|
496
|
-
|
497
|
-
# v0.2.1
|
498
|
-
* Regression: BorderLayoutPanel now restores the region sizes from the database
|
499
|
-
|
500
|
-
# v0.2.0.1
|
501
|
-
* Meta: updated netzke-core version (dependency)
|
502
|
-
|
503
|
-
# v0.2.0
|
504
|
-
* Some re-factoring and redesign along with netzke-core
|
505
|
-
* Panel widget added
|
506
|
-
* BorderLayoutPanel added
|
507
|
-
* AccordionPanel added
|
508
|
-
* Bug fix: column operations configuration misbehaving
|
509
|
-
* Renamed Grid into GridPanel
|
510
|
-
* Bug fix: exception was thrown at a column operation when no layout_manager was present
|
511
|
-
* Reworked permission handling in GridPanel.
|
512
|
-
|
513
|
-
# v0.1.4.1
|
514
|
-
* Meta: updated netzke-core version (dependency)
|
515
|
-
|
516
|
-
# v0.1.4
|
517
|
-
* Grid#get_columns provides default columns even if none of layout_manager_class & column_manager_class are available
|
518
|
-
|
519
|
-
# v0.1.3.1
|
520
|
-
* Meta: updated netzke-core version (dependency)
|
521
|
-
|
522
|
-
# v0.1.3
|
523
|
-
* Path to javascript for grid filters corrected
|
524
|
-
* Bug with creating new records in the grid fixed
|
525
|
-
* Optimized away redundant sql queries when calling Grid#get_columns (sort of memoization)
|
526
|
-
* README updated
|
527
|
-
|
528
|
-
# v0.1.2.1
|
529
|
-
* Meta: trying to succeed publishing on RubyForge
|
530
|
-
|
531
|
-
# v0.1.2
|
532
|
-
* Updated README with an example of stand-alone widget usage
|
533
|
-
* Meta: updated netzke-core version (dependency)
|
534
|
-
|
535
|
-
# v0.1.1.2
|
536
|
-
* Meta: updated netzke-core version (dependency)
|
537
|
-
|
538
|
-
# v0.1.1.1
|
539
|
-
* Meta: github gem naming convention
|
540
|
-
|
541
|
-
# v0.1.1
|
542
|
-
* Cleaner exception handling while loading data to grid
|
543
|
-
* Column resize & move functionality enabled by default
|
544
|
-
* Column filters added
|
545
|
-
|
546
|
-
# v0.1.0.1
|
547
|
-
* Meta work: replacing underscore with dash in the name
|
548
|
-
|
549
|
-
# v0.1.0 - 2008-12-20
|
550
|
-
* Initial release
|
13
|
+
Please check [0-11](https://github.com/netzke/netzke-basepack/blob/0-11/CHANGELOG.md) for previous changes.
|