• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
New automated test doing the roundrtrip of group-type related API

Note that this is currently failing due to a bug in package_instantiate_object, which triggered the creation of this test.

Move logics to delete a group type into the API

    • -1
    • +31
    ./tcl/group-type-procs-postgresql.xql
    • -62
    • +6
    ./www/admin/group-types/delete-2.tcl
    • -14
    • +0
    ./www/admin/group-types/delete-2.xql
Fix quoting of group type

Remove unneeded variable

Add (trivial) ad_include_contract

Avoid unnecessary computations

Reduce divergency between oracle and postgres codebase and bring portable sql inline

    • -39
    • +0
    ./tcl/application-group-procs-oracle.xql
    • -41
    • +0
    ./tcl/application-group-procs-postgresql.xql
Reuse return url over subsites, remove dummy sql

Use best practice list idiom

Avoid useless check

Use ad_include_contract for this include page

    • -25
    • +29
    ./www/admin/groups/elements-by-rel-type.tcl
Move remaining portable queries to tcl file

Remove obsolete partial query

Remove obsolete partial query: no reference was found in upstream code

Streamline retrieval of mapped host nodes

Move query into tcl file

Avoid setting the whole array in the api and just return what we need

Avoid asking for an array in the api

Use api and portable idioms to reduce divergency between oracle and postgres codebase

Replace queries with api and already available information

Fix typos in query

Move some quoting in the api

Fix typo: new relation would be added always for the latest segment

Replace stored procedures with inline queries and reduce divergency between oracle and postgres codebase

Fix typos

Recover include intended behavior:

this include was supposedly looking at subgroups of the provided group_id (clearly stated in the doc), while in fact scope was always forcefully set on package_id from the connection

Streamline multirow creation

Redefine include as ad_include_contract with docs and parameters in the right place

    • -27
    • +31
    ./www/admin/groups/elements-by-group-type.tcl
Remove unneeded statements

Fix typo