Jeremy Stretch
9f91b89467
#11711 : Use CSVModelChoiceField for custom object fields during CSV import
2023-02-13 17:53:01 -05:00
kkthxbye
d748851027
Fixes #11711 - Use CSVModelMultipleChoiceField when importing custom multiple object fields ( #11712 )
...
* Fixes #11711 - Use CSVModelMultipleChoiceField when importing custom multiple object fields
* Fix pep8
---------
Co-authored-by: kkthxbye-code <>
2023-02-13 17:49:08 -05:00
kkthxbye
df499ea8ac
Fixes #11459 - Allow using null in conditions ( #11722 )
...
* Fixes #11459 - Allow using null in conditions
- Update docs to reflect this
- Change docs example from primary_ip to primary_ip4 as computed properties are not serialized when queuing webhooks
* Update netbox/extras/conditions.py
---------
Co-authored-by: Simon Toft <SITO@telenor.dk>
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-02-13 17:44:35 -05:00
jeremystretch
edbd597bf2
Update housekeeping command docs
2023-02-07 16:52:54 -05:00
Maximilian Wilhelm
699edd049c
Closes #11152 : Add support to abort custom script gracefully ( #11621 )
...
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2023-02-02 15:22:55 -05:00
Abhimanyu Saharan
fb2771370c
handled scripts error when only interval is used
2023-02-02 10:25:19 -05:00
jeremystretch
e7ad6eeb74
Fixes #11613 : Correct plugin import logic fix from #11267
2023-01-27 19:56:12 -05:00
Jeremy Stretch
fbc9fea0a5
Fixes #11267 : Avoid catching ImportError exceptions when loading plugins ( #11566 )
...
* Avoid catching ImportErrors when loading plugin URLs
* Avoid catching ImportErrors when loading plugin resources
2023-01-27 16:44:10 -05:00
jeremystretch
55b1549895
Closes #10762 : Permit selection custom fields to have only one choice
2023-01-25 10:27:05 -05:00
kkthxbye-code
fb3d1ef399
Check for the extras.run_script permission when running scripts via. the API
2023-01-17 10:13:18 -05:00
kkthxbye
1354947434
Get the queue from QUEUE_MAPPINGS when deleting JobResults
2023-01-09 08:22:40 -05:00
jeremystretch
0669fda1fd
Fixes #11384 : Correct current time display on script & report forms
2023-01-06 09:42:13 -05:00
Renato Almeida de Oliveira
35273cc87f
Add ExportTemplatesMixin to JournalEntry model ( #11251 )
...
* Add ExportTemplatesMixin to JournalEntry model
* Move mixin ahead of base class
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2023-01-05 16:26:48 -05:00
Robin Schneider
07df622b59
NetBox should always be referred to as NetBox [DATALAD RUNCMD]
...
=== Do not change lines below ===
{
"chain": [],
"cmd": "git ls-files -z . | xargs --null -I '()' find './()' -type f -not -name 'style-guide.md' -print0 | xargs --null sed --in-place --regexp-extended 's/\\bNetbox\\b/NetBox/g;'",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
2023-01-05 16:06:00 -05:00
kkthxbye-code
39985ebdd1
Fix exception when scheduling a job in the past
2023-01-05 13:52:07 -05:00
Alef Burzmali
b7cdbd3d41
Fixes #11248 - Reindex only NetBox apps
2022-12-28 16:35:05 -05:00
Alef Burzmali
ae440c9edf
Fixes #11223 - Accept app_label for reindex
2022-12-28 16:35:05 -05:00
Arthur
98f57f2dba
11297 have custom field form display content-type instead of model
2022-12-27 15:50:08 -05:00
kkthxbye-code
b35b33e798
Use the start time to calculate duration of jobs instead of created time
2022-12-22 09:52:05 -05:00
jeremystretch
064e3ff605
Merge branch 'develop' into feature
2022-12-13 17:17:05 -05:00
jeremystretch
b9888d6f86
Fixes #11109 : Fix nullification of custom object & multi-object fields via REST API
2022-12-13 14:48:40 -05:00
jeremystretch
758030733c
#8366 : Misc cleanup
2022-12-12 15:27:37 -05:00
jeremystretch
3468e8c8ae
#9623 : Misc cleanup
2022-12-12 12:56:38 -05:00
Jeremy Stretch
4297c65f87
Closes #10945 : Enable recurring execution of scheduled reports & scripts ( #11096 )
...
* Add interval to JobResult
* Accept a recurrence interval when executing scripts & reports
* Cleaned up jobs list display
* Schedule next job only if a reference start time can be determined
* Improve validation for scheduled jobs
2022-12-08 18:17:13 -05:00
jeremystretch
6ffd8aa320
Introduce constants for RQ queue names
2022-12-08 09:58:52 -05:00
kkthxbye-code
080a001118
Allow redefining internally used queues
2022-12-08 09:45:21 -05:00
jeremystretch
5a77791f9d
Merge branch 'develop' into feature
2022-12-08 09:31:22 -05:00
kkthxbye-code
0cacac82ee
Disable sorting by object_repr on ObjectChangeTable
2022-12-08 08:44:11 -05:00
Jeremy Stretch
52cf9086a5
Fixes #11046 : Restrict length of indexed search values ( #11076 )
...
* Fixes #11046 : Restrict length of indexed search values
* Reference constant in index declaration
* Remove index from CachedValue.value
2022-12-02 10:07:53 -05:00
jeremystretch
c3dcd8937f
Merge branch 'develop' into feature
2022-11-22 10:08:23 -05:00
jeremystretch
1946e8f053
#10984 : Update test
2022-11-21 16:05:51 -05:00
jeremystretch
d5538c1ca3
Fixes #10241 : Support referencing custom field related objects by attribute in addition to PK
2022-11-21 12:48:13 -05:00
jeremystretch
150cb772fe
Fixes #10984 : Fix navigation menu expansion for plugin menus comprising multiple words
2022-11-21 08:38:44 -05:00
jeremystretch
3a5914827b
Fixes #6389 : Call snapshot() on object when processing deletions
2022-11-17 21:04:55 -05:00
jeremystretch
d4a231585a
Clean up tests
2022-11-17 10:50:05 -05:00
jeremystretch
2f96fdd135
Merge branch 'develop' into feature
2022-11-16 11:42:32 -05:00
jeremystretch
23077821f6
#10052 : Serialize date fields
2022-11-15 16:10:20 -05:00
jeremystretch
0bcc59a1e9
#8366 : Add started field to JobResult
2022-11-15 15:06:11 -05:00
jeremystretch
87727c71f7
#8366 : name scheduled_time to scheduled for consistency with other fields
2022-11-15 13:37:13 -05:00
jeremystretch
23c0ca456f
#4347 : Rename NetBoxModelCSVForm to NetBoxModelImportForm
2022-11-15 12:24:57 -05:00
jeremystretch
640fd8045d
#9887 : Add missing model documentation links
2022-11-15 11:00:13 -05:00
jeremystretch
355678274d
#9623 : Add slug field to SavedFilter
2022-11-15 10:44:12 -05:00
jeremystretch
94dd07e1e6
#10560 : Build search index as part of migration
2022-11-15 10:37:16 -05:00
Jeremy Stretch
a5308ea28e
Closes #10851 : New staging mechanism ( #10890 )
...
* WIP
* Convert checkout() context manager to a class
* Misc cleanup
* Drop unique constraint from Change model
* Extend staging tests
* Misc cleanup
* Incorporate M2M changes
* Don't cancel wipe out creation records when an object is deleted
* Rename Change to StagedChange
* Add documentation for change staging
2022-11-14 13:55:03 -05:00
Arthur Hanson
27bf7b4a9a
4751 Enable plugins to inject content within object list views ( #10901 )
...
* 4751 add plugin buttons to list templates
* 4751 add plugin buttons to list templates
* 4751 add documentation
* 4751 fix object reference
* 4751 update docs
2022-11-14 13:51:58 -05:00
jeremystretch
4a95cfd1c4
Permanently connect change logging & webhook receivers
2022-11-14 09:31:25 -05:00
jeremystretch
cd8943144b
Use context vars instead of thread-local storage for change logging
2022-11-14 09:31:25 -05:00
Arthur
6eba5d4d96
10300 initial translation support use gettext
2022-11-11 08:47:29 -05:00
Arthur Hanson
93e7457e0d
4347 Add JSON/YAML import support for all objects ( #10367 )
...
* 4347 initial code for json import
* 4347 initial code for json import
* Clean up form processing logic
* Consolidate import forms
* Consolidate object import/update logic
* Clean up bulk import view
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-11-10 11:01:52 -05:00
jeremystretch
ea6d86e6c4
Closes #10052 : The cf attribute now returns deserialized custom field data
2022-11-04 14:53:18 -04:00