acs-developer-support

  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
add nsshell when available.

making nsshell available:

a) install nsshell from https://bitbucket.org/naviserver/nsshell/

b) configure in your OpenACS config file nsshell:

##################################################################

#

# nsshell configuration (per-server module)

#

ns_section "ns/server/${server}/modules" {

ns_param nsshell tcl

}

ns_section "ns/server/${server}/module/nsshell" {

ns_param url /admin//nsshell

ns_param kernel_heartbeat 5

ns_param kernel_timeout 10

}

##################################################################

file nsshell.adp was initially added on branch oacs-5-10.

file nsshell.tcl was initially added on branch oacs-5-10.

fixed small bug reported by michael aram: ds toolbar could disappear temporarily, when executing ns_eval commands (e.g. blueprint reloading)

    • -8
    • +20
    ./tcl/acs-developer-support-procs.tcl
improve spelling

  1. … 18 more files in changeset.
fix for issue #3399

Replace ad_decode idioms

Replace ad_decode idioms

Replace ad_decode idioms

  1. … 1 more file in changeset.
fix name of doc tag

- improve code sanity

- make user switching somewhat useable for larger sites (postgres only)

- improve comments and code formatting

    • -24
    • +54
    ./tcl/acs-developer-support-procs.tcl
    • -18
    • +0
    ./tcl/acs-developer-support-procs.xql
whitespace cleanup

    • -75
    • +75
    ./tcl/acs-developer-support-procs.tcl
ds_enabled_p should return always false when running without a connection; otherwise search-rendering etc. might return different results when someone activates the developer support

make shell window span the full browser width, provide some styling

improve rowcount expressions

  1. … 75 more files in changeset.
Move file doc into ad_page_contract

use more appropriate status codes for error messages

  1. … 1 more file in changeset.
Remove divergency between oracle and postgres codebase

    • -51
    • +0
    ./tcl/acs-developer-support-procs-oracle.xql
    • -52
    • +0
    ./tcl/acs-developer-support-procs-postgresql.xql
only lowercase proc meta-data is recognized

  1. … 1 more file in changeset.
Prefer individual 'set' operations over 'lassign' in these particular cases

  1. … 6 more files in changeset.
Fix capitalization

  1. … 3 more files in changeset.
Small improvement of css-edit triggered by "ugly" code smell

Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 474 more files in changeset.
Rework variable assigning loops (set -> lassign) + Whitespace changes

  1. … 13 more files in changeset.
regenerated documentation

    • -79
    • +40
    ./www/doc/developer-support-example.adp
  1. … 42 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 70 more files in changeset.
Fix typos

  1. … 31 more files in changeset.
simplify code

whitespace cleanup

replace depreacted proc

add ad_script_abort after ad_returnredirect to make termination intent explicit

  1. … 22 more files in changeset.