FreeNAS/freenas 46054c7src/middlewared/middlewared service_exception.py

Travis

Signed-off-by: Brandon Schneider <brandon at ixsystems.com>

FreeNAS/freenas f484352src/middlewared/middlewared service.py, src/middlewared/middlewared/plugins jail.py

Merge pull request #3199 from freenas/NAS-100704

NAS-100704 / 11.3 / Retrieve plugin versions

FreeNAS/freenas ae80dfbsrc/middlewared/middlewared restful.py service_exception.py, src/middlewared/middlewared/utils __init__.py

fix(restful): Catch IndexErrors

We want these to be a 404 instead of a 500.

NAS-102203

Signed-off-by: Brandon Schneider <brandon at ixsystems.com>

FreeNAS/freenas 1ded285src/middlewared/middlewared restful.py

fix(restful): Catch IndexErrors

We want these to be a 404 instead of a 500

NAS-102203

Signed-off-by: Brandon Schneider <brandon at ixsystems.com>

FreeNAS/freenas df5c094tests/api2 jail_plugins.py

adding test to verify transmission is not in installed plugin

FreeNAS/freenas de88759tests/api2 jail_plugins.py

adding delete transmission plugin api test

FreeNAS/freenas aebd4b7tests/api2 jail_plugins.py

adding get list of available plugins with want_cache test

adding verify available plugin with want_cache tests

FreeNAS/freenas f99c082tests/api1 ad_bsd.py ad_osx.py

Merge pull request #3228 from freenas/QE-NAS-102192

QE NAS-102192 Fix API v1 activedirectory testing for osx and bsd

FreeNAS/freenas 664069dtests/api2 replication.py

Merge pull request #3230 from freenas/fix-replication-tests

Fix replication tests

FreeNAS/freenas 32ea36dsrc/middlewared/middlewared/plugins pool.py

Merge pull request #3225 from freenas/NAS-101761-11.3

NAS-101761 / 11.3 / Improve pool.filesystem_choices performance (by themylogin)

FreeNAS/freenas 3f190f2tests/api2 replication.py

Fix replication tests

FreeNAS/freenas e0377efgui choices.py, gui/directoryservice forms.py

NAS-102197 / 11.3 / Make kerberos principal choices dynamic in legacy UI (#3229)

* Make kerberos principal choices dynamic in legacy UI

FreeNAS/freenas 07dfd47src/freenas/etc/directoryservice/ActiveDirectory ctl, src/freenas/etc/directoryservice/LDAP ctl

Merge pull request #3227 from freenas/NAS-102191

NAS-102191 / 11.2 / Do not start LDAP or AD on passive controller if system dataset not o…

FreeNAS/freenas 9f85481src/middlewared/middlewared/plugins jail.py

Remove unused plugin version retrieval code

This commit removes unused old plugin version code.

FreeNAS/freenas ddde260src/middlewared/middlewared/plugins jail.py

Improve version retrieval for local plugins

This commit improves version retrieval for local plugins doing another checkup with plugin 
name if primary package key is non-existent.

FreeNAS/freenas 1c0f38egui/directoryservice forms.py

flake8 fix

FreeNAS/freenas bc6b5a0gui choices.py, gui/directoryservice forms.py

Make kerberos principal choices dynamic in legacy UI

FreeNAS/freenas 9aabb36src/freenas/etc/directoryservice/ActiveDirectory ctl, src/freenas/etc/directoryservice/LDAP ctl

Clarify conditional in ad and ldap ctl scripts

FreeNAS/freenas 418f5b5tests/api1 ad_bsd.py ad_osx.py

change Disabling_Active_Directory with only "ad_enable": False in ad testing

FreeNAS/freenas 632874esrc/freenas/etc/directoryservice/ActiveDirectory ctl, src/freenas/etc/directoryservice/LDAP ctl

set return value to 0 when we exit ds script early

FreeNAS/freenas 935cfc2tests/api1 ad_bsd.py ad_osx.py

adding Stop_SMB_service in ad_bsd and ad_osx testing

FreeNAS/freenas 079e5aftests/api1 ad_osx.py ad_bsd.py

replace ad_netbiosname_a with ad_netbiosname for ad_bsd and ad_osx

change Disabling_Active_Directory to use only ad_netbiosname ad_idmap_backend 
ad_kerberos_principal and ad_enable

FreeNAS/freenas a093e58src/middlewared/middlewared schema.py

Merge pull request #3226 from freenas/schema_fix

Bug fix for str schema

FreeNAS/freenas f626d0csrc/middlewared/middlewared schema.py

Bug fix for str schema

This commit fixes an issue where time schema's validation would raise an exception as we 
would be checking length of datetime.time object. We convert the type to string before 
checking for length in time schema validation now.

FreeNAS/freenas 80d78b3src/freenas/etc/directoryservice/ActiveDirectory ctl, src/freenas/etc/directoryservice/LDAP ctl

Do not start LDAP or AD on passive controller if system dataset not on boot device
When system dataset is on data pool in 11.2, we generate a stub config.
In this situation, the AD ctl script will fail to start and generate a UI alert about the 
passive controller.
Modify ctl scripts to check for this situation and return early.

FreeNAS/freenas a367eabsrc/middlewared/middlewared schema.py

Bug fix for str schema

This commit fixes an issue where time schema's validation would raise an exception as we 
would be checking length of datetime.time object. We convert the type to string before 
checking for length in str schema validation now.

FreeNAS/freenas 56a6878src/middlewared/middlewared/plugins pool.py

Improve pool.filesystem_choices performance

(cherry picked from commit 7e5274bea2ebb24418e972f7364fd3fcad2cbffc)

FreeNAS/freenas 3119346src/middlewared/middlewared/plugins account.py

Merge pull request #3223 from freenas/fix-nonexistent-home

Fix FileNotFoundError: No such file or directory: /nonexistent

FreeNAS/freenas 59c0c85src/freenas/etc/ix.rc.d ix-update

Merge pull request #3175 from freenas/NAS-100083-11.3

NAS-100083 / 11.3 / Fix attempt to use system_keyvalue before schema migration had a 
chance to create it (by themylogin)

FreeNAS/freenas 0dd062dsrc/middlewared/middlewared/plugins cloud_sync.py

Merge pull request #3222 from freenas/fix-cloud-sync-logs

Ensure that rclone_check_progress is terminated before job.logs_fd is…

FreeNAS/freenas c8557c3tests/api2 jail_plugins.py

adding test to verify plugin info with jail info

FreeNAS/freenas 2a6b75fsrc/middlewared/middlewared/plugins jail.py

Merge pull request #3218 from freenas/NAS-101922

NAS-101922 / 11.3 / Migrate iocage mountpoint

FreeNAS/freenas 8323e98tests/api2 jail_plugins.py

adding test to get transmission jail information

FreeNAS/freenas 418a60ftests/api2 jail_plugins.py

adding test to transmission id jail exist

adding test to get installed plugin list with want_cache

FreeNAS/freenas 62e2543gui/storage forms.py models.py

Merge pull request #3219 from freenas/NAS-102151

NAS-102151 / 11.2 / More fixes for creating/deleting huge pools

FreeNAS/freenas c9edab2src/middlewared/middlewared/plugins crypto.py keychain.py

Merge pull request #3224 from freenas/repl_fix

Set maxlength attribute for replication schema

FreeNAS/freenas 652b5dfsrc/middlewared/middlewared/plugins crypto.py keychain.py

Set maxlength attribute for replication schema

This commit adds max length attribute to certain schemas so they allow a string of more 
then 1024 chars.

FreeNAS/freenas 7395524src/middlewared/middlewared service.py, src/middlewared/middlewared/plugins replication.py

Merge pull request #3220 from freenas/NAS-102137

NAS-102137 / 11.3 / Forbid creating replication tasks with non-unique name

FreeNAS/freenas 8835369src/middlewared/middlewared/plugins zettarepl.py

Merge pull request #3221 from freenas/fix-loading-replication-state

Fix loading replication state

FreeNAS/freenas 59fa3fdsrc/middlewared/middlewared/plugins account.py

Fix FileNotFoundError: No such file or directory: /nonexistent

FreeNAS/freenas be8408dsrc/middlewared/middlewared/plugins cloud_sync.py

Ensure that rclone_check_progress is terminated before job.logs_fd is closed to prevent 
ValueError: write to closed file

FreeNAS/freenas ce19de0src/middlewared/middlewared/plugins zettarepl.py

Fix loading replication state

FreeNAS/freenas 07314d7src/middlewared/middlewared service.py, src/middlewared/middlewared/plugins replication.py

Forbid creating replication tasks with non-unique name

FreeNAS/freenas c83d498gui/storage forms.py models.py

More fixes for creating/deleting huge pools

FreeNAS/freenas 6f691basrc/middlewared/middlewared/plugins jail.py

Migrate iocage mountpoint

This commit makes sure that iocage dataset is mounted under the activated pool and is not 
somewhere else. This helps makes sure that it can be used with other system services 
easily like rsync tasks etc.

FreeNAS/freenas 929cfe7src/middlewared/middlewared/plugins jail.py

Remove unused plugin version retrieval code

This commit removes unused old plugin version code.

FreeNAS/freenas feeab70src/middlewared/middlewared/plugins jail.py

Use jail.retrieve_plugin_versions for retrieving plugin versions

This commit introduces changes which make use of the new method to retrieve plugin 
versions instead of relying on the old one.

FreeNAS/freenas 3646d8asrc/middlewared/middlewared/plugins jail.py

Improve version retrieval for local plugins

This commit improves version retrieval for local plugins doing another checkup with plugin 
name if primary package key is non-existent.

FreeNAS/freenas bdf0f3dsrc/middlewared/middlewared/plugins jail.py

Periodically update plugin versions

This commit introduces changes so we are able to save retrieved plugins data to cache and 
also maakes sure we run a periodic job to keep the plugins updated ( which is executed 
daily ).

FreeNAS/freenas 0f4b287src/middlewared/middlewared service.py

Wait for a job to complete

This commit adds a generic method to wait for a job to complete.