• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- use "unset -nocomplain ..." instead of exists test

- get rid of "global" statements

- use naviserver's urldecode when available (for speed and currectness)

Removing unneeded emptiness check against item_id. 'string is integer' w/out the -strict switch returns 1 in case variable is empty.

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Performance improvements for rp_filter and parameter:

- improve performance of rp_filter (which is run on every

non-resources request) significantly (often a factor of 2)

- improve scalability by reducing number of required mutex locks

(e.g. for secret token handling)

checking that item_id is a valid integer iff it has been provided.

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
- fix fetch_entry_label for cr-item attributes

- add git to the list of ignored directories for apm loading

- use usual style non-poistional arguments in ad_proc

- use tcl 8.5 operations

- apm_file loader: ignore directories www/resources/, catalog/, upgrade/

- apm_file loader: ignore extensions .html .gif .png .jpg .ico .pdf .js .css .xsl .tgz .zip .gz .java .sql

- align implementation of apm_backup_file_p with documentation

- avoid duplicate load of acs-lang

Renaming parameters used on recursive query in order to avoid name clashing with function parameters ( seems to happen just in pg 8.4 ).

Using acs_permission__permission_p for checking persmissions instead of querying view acs_object_party_privilege_map (for PG >= 8.4).

Using acs_permission__permission_p for checking persmissions instead of querying view acs_object_party_privilege_map (for PG >= 8.4).

Rewriting acs_permission__permission_p function to use recursive queries ( available in PG since 8.4 ) and modifiying

queries around core packages to avoid checking persmissions using a subquery on the acs_object_party_privilege_map view.

    • -1
    • +1
    /openacs-4/packages/acs-tcl/acs-tcl.info
- make test cases more robust

- beautify code

    • -34
    • +98
    /openacs-4/packages/xowiki/www/admin/test.tcl
- make cleanup code more robust with broken installations

- fix collateral damage

- fix $$ quoting in upgrade scripts

- add more cases of $$ quoting

- fix collateral damage in upgrade scripts of file-storage

- update postgres function to modern style plpgsql definitions using dollar quoting

  1. … 27 more files in changeset.
- update postgres function to modern style plpgsql definitions using dollar quoting

- replace deprecated command "ns_unlink" with native tcl command "file delete"

- annotate currently failing test

    • -3
    • +4
    /openacs-4/packages/xowiki/www/admin/test.tcl
- fix logic for validity check for tag links

    • -3
    • +3
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
- naviserver compatiblity fix

- update postgres function to modern style plpgsql definitions using dollar quoting

- update postgres function to modern style plpgsql definitions using dollar quoting

- update postgres function to modern style plpgsql definitions using dollar quoting