• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add missing 'title' parameter to 'content::item::upload_file', which is checked in the proc and probably not materialized out of thin air.

    • -9
    • +7
    ./acs-content-repository/tcl/content-item-procs.tcl
Use '::content::item::get_content_type' instead of the deprecated '::content::item::content_type'

    • -2
    • +2
    ./project-manager/tcl/project-manager-callback-procs.tcl
add procdic for private function

Cookie security reform:

- fix handling of persistent logins while addressing problems of last commits

- increase usage of try/throw to be able to distinguish exceptions

- fix handling of LoginTimeout 0 in cryptographic expiration

- use [ad_conn behind_secure_proxy_p] on more occasions, where

security::secure_conn_p is used (maybe fold these together in the future)

- new private proc security::log to ease debugging of cookie management

- further improved documentation

    • -126
    • +197
    ./acs-tcl/tcl/security-procs.tcl
provide ip address to be stored in acs_objects on save operation

improve comments

    • -2
    • +4
    ./acs-authentication/tcl/authentication-procs.tcl
whitespace changes

    • -12
    • +10
    ./acs-authentication/tcl/authentication-procs.tcl
prefer dict over Tcl array

reduce redundant lookups in auth::check_local_account_status

    • -18
    • +28
    ./acs-authentication/tcl/authentication-procs.tcl
Use '::content::item::get_content_type' instead of the deprecated '::content::item::content_type'

    • -2
    • +2
    ./acs-content-repository/tcl/content-item-procs.tcl
Use '::content::item::get_content_type' instead of the deprecated '::content::item::content_type'

    • -2
    • +2
    ./acs-content-repository/tcl/content-revision-procs.tcl
Trailing whitespace cleanup

    • -2
    • +2
    ./acs-content-repository/tcl/content-item-procs.tcl
Deprecate '::content::item::content_type', which is exactly the same proc as 'content::item::get_content_type'. Weird.

    • -15
    • +12
    ./acs-content-repository/tcl/content-item-procs.tcl
Wrap legacy and current ns_http api behavior in a proc with a common interface in a way that people with newer Naviserver can exploit e.g. ns_http run capabilities (in particular, not being forced to queue and potentially block concurrent HTTP requests)

    • -54
    • +118
    ./acs-tcl/tcl/http-client-procs.tcl
- fix serveral documentation bugs (align decumentation with implementation)

- use "throw" as well for invalid cookies (in addition to non-existent cookies)

    • -23
    • +51
    ./acs-tcl/tcl/security-procs.tcl
Use ad_include_contract for this include page

Replace removed query in xotcl implementation as well

Init cache using values from db instead than cached api (fixes install from scratch)

Move remaining portable queries to tcl file

    • -5
    • +26
    ./acs-subsite/tcl/subsite-procs.tcl
    • -41
    • +0
    ./acs-subsite/tcl/subsite-procs.xql
Remove obsolete partial query

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

    • -6
    • +0
    ./acs-subsite/tcl/subsite-procs-oracle.xql
    • -6
    • +0
    ./acs-subsite/tcl/subsite-procs-postgresql.xql
Reduce code duplication (passes automated tests)

    • -21
    • +8
    ./acs-tcl/tcl/00-database-procs.tcl
Streamline retrieval of mapped host nodes

    • -7
    • +0
    ./acs-subsite/tcl/subsite-procs-oracle.xql
    • -8
    • +0
    ./acs-subsite/tcl/subsite-procs-postgresql.xql
    • -11
    • +0
    ./acs-subsite/tcl/subsite-procs.xql
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

    • -13
    • +0
    ./acs-subsite/tcl/subsite-procs-oracle.xql
    • -13
    • +0
    ./acs-subsite/tcl/subsite-procs-postgresql.xql
Make test locale-aware

    • -1
    • +2
    ./acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Replace queries with api and already available information

    • -9
    • +12
    ./acs-subsite/tcl/subsite-procs.tcl
    • -25
    • +0
    ./acs-subsite/tcl/subsite-procs.xql
Fix typos in query

Move some quoting in the api