netzke-basepack 0.11.1 → 0.11.2

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