-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCHANGELOG
624 lines (405 loc) · 17 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
<!-- towncrier release notes start -->
## [5.0.15] - 2024-12-26
### Feature
- Helper to properly serialize date objects to JSON
## [5.0.14] - 2024-12-23
### Feature
- DateRangeFilter is now available for __searchF__() to filter dates between two dates
## [5.0.14] - 2024-12-23
### Feature
- DateRangeFilter is now available for __searchF__() to filter dates between two dates
## [5.0.13] - 2024-12-20
### Feature
- In GenList when filtering numbers next wildcards are supported:
>23 will filter all numbers greater than 23
<23 will filter all numbers lower than 23
>=23 will filter all numbers greater or equal to 23
<=23 will filter all numbers lower or equal to 23
23 will filter all numbers equal to 23
23..45 will filter all numbers between 23 and 45
23.. will filter all numbers greater or equal to 23
..45 will filter all numbers lower or equal to 45
23,45 will filter all numbers equal to 23 or 45
23,45,67 will filter all numbers equal to 23, 45 or 67
- New filter 'percent' for CODENERIX AngularJS Filtes that works as 'round' and adding the '%' symbol at the end
## [5.0.12] - 2024-10-21
### Feature
- Allow columns to specify to show their content in the title attribute of the cell
## [5.0.11] - 2024-10-21
### Feature
- New filter 'humanize' for CODENERIX AngularJS Filtes to humanize numbers
## [5.0.10] - 2024-10-10
### Feature
- The AngularJS 'codenerix-html-compile' directive now provides 'codenerix_inner_element' as a variable to the inner element so filters can bring the innert element back during the filtering process.
## [5.0.9] - 2024-10-10
### Buffix
- DynamicSelect corrected so '*' will show all the elements received.
## [5.0.8] - 2024-10-08
### Feature
- Added new filter named shorttext for GenList to shorten long texts in the list view and allow the user to click on the text to get the full text.
## [5.0.7] - 2024-08-07
### Feature
- GenForeignKey now supports limit and limit_all attributes to provide a limited result when there is a search string or when the user request all results.
## [5.0.6] - 2024-08-01
### Bugfix
- MultiDynamicSelect won't initialize the select box with all elements
## [5.0.5] - 2024-08-01
### Bugfix
- Updated "RESULTS_CACHE_SIZE" to 100 to improve Debug Toolbar cache
## [5.0.4] - 2024-06-24
### Feature
- New version of django-debug-toolbar
## [5.0.3] - 2024-06-17
### Bugfix
- Improved Log listing
## [5.0.2] - 2024-06-14
### Bugfix
- Corrected bug that prevented StaticSelect and DynamicSelect to use their foreignkey buttons.
## [5.0.1] - 2024-06-12
### Feature
- Major version number will match with lates Django version supported
### Bugfix
- Corrected bug when MultiStaticSelect or MultiDynamicSelect are filled and then made empty.
## [4.0.98] - 2024-06-12
### Bugfix
- Corrected typo at clean method for SelectMultiple
## [4.0.97] - 2024-06-12
### Bugfix
- Widget MultiStaticSelect is now rendering properly when there is a ManyToManyField with not widget specified
- Widget MultiDynamicSelect is now working as expected
## [4.0.96] - 2024-06-06
### Bugfix
- Added missing gotoback() function on modal windows
## [4.0.95] - 2024-06-05
### Bugfix
- Detail Modal now avoid loading codenerixInlineServices from Detail view
## [4.0.94] - 2024-06-05
### Feature
- Support for 'datetime_filter="field_name"' on GenList to get filtered the list by a datetime field
## [4.0.93] - 2024-06-05
### Feature
- On delete of foreign key elements, GenLog will set to NULL the relationship
## [4.0.92] - 2024-06-04
### Feature
- On Angular the link filter supports new options
## [4.0.91] - 2024-06-04
### Feature
- Allow to create People with unusable password on GenPerson
## [4.0.90] - 2024-06-04
### Feature
- Dynamic search now requires 2 characters to start searching instead 3 characters
## [4.0.89] - 2024-06-03
### Bugfix
- Typo
## [4.0.88] - 2024-06-03
### Feature
- Added callback argument to Angular modalinfo()
## [4.0.87] - 2024-06-02
### Feature
- Added a new kind 'bool' for 'codenerix' Angular filter
## [4.0.86] - 2024-06-02
### Feature
- More confortable copytoclipboard filter
## [4.0.85] - 2024-06-01
### Feature
- Improvements to link filter and added codenerix-copy-to-clipboard directive
## [4.0.84] - 2024-06-01
### Feature
- Added new Angular filter 'link_blank'
## [4.0.83] - 2024-05-31
### Feature
- Angular QR filter and helpers to generate QR codes
- Authentication backend (OTPAuth) and middleware (OTPAuthMiddleware) for OTP authentication
## [4.0.82] - 2024-05-30
### Feature
- Translations
## [4.0.81] - 2024-05-30
### Features
- Added parent_pk with the main PK of the Detailed Object and is available in Sublists inside GenDetail view
- Added static_controllers_row loading for Sublists
- Brought to template tabs_js_obj as an object
- GenUpdate and GenDetail includde in Django's context self_pk with the actual PK of the object
## [4.0.80] - 2024-05-29
### Bugfix
- Resolved bug on GenLog while deleting all elements in a model and the object can not be represented
## [4.0.79] - 2024-05-29
### Bugfix
- Limit Log.object_repr to 200 characters to avoid errors when saving logs with long object_repr
## [4.0.78] - 2024-05-29
### Feature
- MODELINFO (info argument) in __searchF__ has the attribute __searchQ_serach with the string that is being searched in the main search box
## [4.0.77] - 2024-05-29
### Bugfix
- Corrected partial for automatic Log rendering
## [4.0.76] - 2024-05-29
### Bugfix
- Corrected save() arguments for GenLog and GenRemoteLog to standarize
## [4.0.75] - 2024-05-28
### Feature
- Support autodiscovery for templates, partials and controllers using group names
## [4.0.74] - 2024-05-28
### Bugfix
- Style for bottom page marker for GenList has been fixed
## [4.0.73] - 2024-05-23
### Feature
- Support for keyboard event to submit & new when alt+enter is pressed in a form
## [4.0.72] - 2024-05-23
### Feature
- On GenDetails, inside groups, cols for each field maybe None so it won't be shown in the DetailView
## [4.0.71] - 2024-05-23
### Feature
- Allow get_foreignkey() processor to understand lists and querysets as an answer
## [4.0.70] - 2024-04-09
### Changed
- New translations
### Removed
- Managemente command 'check_dependencies' has been removed
## [4.0.69] - 2024-04-08
### Changed
- Removed all depencendies on django-codenerix lib.debugger library which is now DEPRECATED
- Library codenerix-lib.debugger will be used instead
## [4.0.68] - 2024-04-04
### Feature
- Properties are now usable on GenList inside __fields__() method
### Added
- A readonly=True attribute has been added to GenList as an alias for linkadd=False and linkedit=False
- A readonly=True attribute has been added to GenDetails as an alias for linkedit=False, linkdelete=False
- A readonly=True attribute has been added to GenModify as an alias for linkdelete=False, linksavenew=False and linksavehere=False
## [4.0.67] - 2024-04-01
#### Changed
- requirements updated
## [4.0.66] - 2024-04-01
### Feature
- On lists, it will show an hyphen symbol when a multi elements cell is empty
## [4.0.65] - 2024-03-18
### Feature
- Avoid mypy warning when validating GENPERMISSIONS attribute in settings
## [4.0.64] - 2024-03-18
### Feature
- Typing and error detection added on GenList authorization system
## [4.0.63] - 2024-03-06
### Bugfixes
- Export feature will process all registers and not only those selected by the user on the screen
## [4.0.62] - 2024-03-05
### Bugfixes
- Repair Django 4.x compatibility
## [4.0.61] - 2024-03-05
### Bugfixes
- Repair Django 4.x compatibility
## [4.0.60] - 2024-03-04
### Bugfixes
- Repair StaticSelect widget to process properly Django 5.x choices detecting BlankChoiceIterator as a list object instead a queryset
- Repair get_success_url() method to work correctly on Django 5.x and stay compatible with Django 4.x
## [4.0.59] - 2024-02-14
### Features
- Verified to work with Django 5.x
### Bugfixes
- Repair export lists in any format when having None columns and complex columns with dictionaries inside them
## [4.0.58] - 2024-02-14
### Bugfixes
- Repair exporting lists in XLS format
## [4.0.57] - 2024-01-30
### Bugfixes
- Limited requirements to Django < 5 since CODENERIX is not yet compatible
## [4.0.56] - 2024-01-30
### Bugfixes
- Improved JSON encoding with DjangoJSONEncoder in a few places where no other encoder was used
## [4.0.55] - 2024-01-26
### Bugfixes
- Added CustomFilters dependency to AngularJS so the user Custom Filters will work as expected
## [4.0.55] - 2024-01-24
### Features
- Requirements updated
## [4.0.54] - 2024-01-24
### Bugfixes
- Little bug corrected when tryin to parse dates on Export to Excel
## [4.0.53] - 2024-01-23
### Features
- Suppot for new export formats like: CSV, JSON, JSONL and BSON (all of them disabled by default, use export_csv=True, export_json=True, export_jsonl=True, export=bson=True to enable them on GenList views)
- __searchF__ filtering function support lists or tuples for choices (before was only lists)
### Bugfixes
- Export to Excel now works with newer versions of openpyxl
## [4.0.52] - 2024-01-18
### Features
- Added support for 'request', 'user', 'codenerix_uuid' and 'codenerix_request' to be able to use it on GenDetail while using limitQ on GenList
## [4.0.51] - 2024-01-11
### Bugfixes
- On GenList 'default_rows_per_page' now behaves as expected
## [4.0.50] - 2024-01-09
### Bugfixes
- Undeclared variable produces a warning on the console, I just prevented the error from happening
## [4.0.49] - 2024-01-09
### Features
- GenList now support 'autorefresh' attribute to refresh the list automatically after a given time in miliseconds
## [4.0.48] - 2023-12-29
### Bugfixes
- Rewritten the places where class attributes 'codenerix_request' and 'codenerix_uuid' are set
- Moved the class attributes 'codenerix_request' and 'codenerix_uuid' in bodybuilder to the if statement where objects are processed not fixed values from optimized queries
## [4.0.47] - 2023-12-29
### Features
- Class attributes 'codenerix_request' and 'codenerix_uuid' are now generally available in all classes that inherit from GenBase, GenList, GenCreate, GenUpdate, GenDelete, GenDetail, GenForeignKey, CodenerixModel, CodenerixForm & CodenerixModelForm
## [4.0.46] - 2023-12-18
### Features
- Added a new method decorator to control group access to a method.
## [4.0.45] - 2023-12-15
### Bugfixes
- Basic types where being converted to string during lists answer generation. Now int, float and bool won't be converted to string and they will be returned as they are.
## [4.0.44] - 2023-12-15
### Features
- At AngularJS userbehaviour answer is copied to the $scope
## [4.0.43] - 2023-12-13
### Features
- Added a new filter to support rounding of values in AngularJS templates (Usage: round:8 & codenerix:round:7)
- Translations to Spanish
## [4.0.42] - 2023-12-13
### Features
- Added SearchFAutoFilter to helper library so it makes quicker to build serachF filters
## [4.0.41] - 2023-12-12
### Bugfixes
- Correction on permission system
## [4.0.40] - 2023-12-12
### Bugfixes
- Added missing auth for superuser to allow evertyhing without checks
## [4.0.39] - 2023-12-07
### Bugfixes
- Allow detail view to show functions as a fields when the function is not a custom function from the user that has a first argument as a request. This is commonly used for get_XXXXX_display() functions.
## [4.0.38] - 2023-12-07
### Bugfixes
- Prevent GenList from raising a Http404 error when the DetailView is not found.
## [4.0.37] - 2023-12-07
### Features
- Improved permission system to provide better information when a user is denied access to a resource.
- Improved documentation for permission and permission_group in GenList
## [4.0.36] - 2023-11-30
### Features
- Added support for towncrier
## [4.0.36] - 2023-11-27
### Added
- Enabled access to request object in Forms and Models in addition to Views (Django) using self.codenerix_request
### Changed
- CODENERIX UUID is now accesible by self.codenerix_uuid in Views, Forms and Models
## [4.0.35] - 2023-11-27
### Added
- Support for CODENERIX UUID on submirts
- Passes through CODENERIX UUID to views, forms and models
### Changed
- The way that UserBehaviour is logged, now it uses CODENERIX UUID instead of a generic UUID
- Windows focus is also sent as an UserBehaviour variable
## [4.0.34] - 2023-11-24
### Fixed
- Added UUID field to UserBehaviour
## [4.0.33] - 2023-11-23
### Fixed
- On UserBehaviour it prevents Angular JS from removing the last slash on URL
## [4.0.32] - 2023-11-23
### Added
- Add support for UserBehaviour automatic logger, that logs into the server the actual Location of the user to /userbehaviour (documentation can be found at /codenerix/static/codenerix/js/notify.js). This funtionality is enabled only if cnf_user_behaviour is set to true in JS environment.
## [4.0.31] - 2023-11-23
### Fixed
- GenLog, corrected a bug that prevented data gathering from related fields when deleting an object.
## [4.0.30] - 2023-11-10
### Fixed
- Bug that prevented forms from behaving as expected on invalid form fields
## [4.0.29] - 2023-11-07
### Fixed
- Important error on GenLog that prevent Log dependent models from saving data as expected
## [4.0.28] - 2023-10-27
### Added
- Addedm missing migration file for LOG model
### Fixed
- Fixed some bugs in management commands
## [4.0.27] - 2023-10-27
### Fixed
- multiform have renamed their form_valid() and form_invalid() methods to multiform_valid() and multiform_invalid()
## [4.0.26] - 2023-10-27
### Added
- Full update to existing code
- Clean up and PEP8 standardization
- get_object() queryset argument added
- delete() method in models improved to support extra fields
### Fixed
- Several bugs repaired
## [4.0.25] - 2023-10-23
### Added
- Added new feature to GenModify to enable 'return_invalid_json' that will make the form to return a 409 Conflict HTTP ERROR with a json including invalid fields and the reason why they are invalid.
- Support for data injection from views into Angular forms
- Few of PEP8
## [4.0.24] - 2023-05-12
### Fixed
- PEP8 refactoring and a quick mypy type revision
- Skipped version 4.0.23
## [4.0.22] - 2023-02-23
### Fixed
- Improved genmail to support better SSL and clean_memcache changed to clean_caches and now it supports cleaning several cache entries in configuration using settings.CACHES
## [4.0.21] - 2023-02-21
### Fixed
- Memcache CMD correction
## [4.0.20] - 2023-01-26
### Fixed
- Support for Pyinstruments added
## [4.0.19] - 2022-11-09
### Fixed
- meunify upgraded for URLs since _ is not recommended on SEO, it will be replaced with -
## [4.0.18] - 2022-11-07
### Fixed
- Resolved bug "AttributeError: type object 'Meta' has no attribute 'extend'"
## [4.0.17] - 2022-10-27
### Added
- Extend system on forms
- Translations
## [4.0.16] - 2022-10-21
### Fixed
- Resolved bug "type object 'Meta' has no attribute 'widgets'"
## [4.0.15] - 2022-10-21
### Added
- CODENERIX will respect the widgets added by the user in the Meta section of the forms
## [4.0.14] - 2022-09-12
### Fixed
- On forms resolves "'EmailValidator' object has no attribute 'domain_whitelist'" which is deprectated on Django >= 4.0.6
## [4.0.13] - 2022-09-12
### Fixed
- On GenList frontend, it prevents empty cells when rendering columns which renders lists with duplicated entries
## [4.0.12] - 2022-08-16
### Added
- Added support on DynamicSelects to allow Angular JS query the selected element details
- Style cleanup on widgets.py
## [4.0.11] - 2022-07-14
### Fixed
- Added missing dependency over codenerix_lib package
## [4.0.10] - 2022-07-11
### Changed
- Push all sites to prevent BUG CVE-2022-34265: SQL injection on Trunc() and Extract()
## [4.0.9] - 2022-06-18
### Changed
- Dependency system simplified for setup.py and restricted to Django>=4.0.1 (Python 2.x not supported anymore)
## [4.0.8] - 2022-06-18
### Fixed
- Repaired GenForm that was preventing rendering of forms on specific situations
## [4.0.7] - 2022-06-18
### Fixed
- "authjson_details" is using DjangoJSONEncoder for json.dumps(), which prevents authjson_details from failing on newer Django.
## [4.0.6] - 2022-06-13
### Changed
- AUTHENTICATION_DEBUG improved debugging output
## [4.0.5] - 2022-06-12
### Added
- Support for AUTHENTICATION_DEBUG in config which helps debugging Authentication problems
## [4.0.4] - 2022-05-27
### Changed
- Template filters static64, media64 and file64 to simple_tags for easier usage
## [4.0.3] - 2022-05-27
### Added
- New templatetags in codenerix_special library for templates: static64, media64 and file64 to serve files from disk as base64 text. Intended to embed binary data in templates.
## [4.0.2] - 2022-05-18
### Added
- Added missing folder in last published version in pypy
## [4.0.1] - 2022-05-17
### Added
- Django 4.x is fully supported
### Fixed
- Resolved XLS export problems with float
- FileAngularInput repaired on details when adding new entry