• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Split up basic user information (one.tcl) and the users contributions (one-contributions)

Without this change, one.tcl becomes unusable for large sites, where some

users have literally millions of objects (e.g. admins migrating some data).

We have seen the query running for several hours. Maybe, one should

limit also in the splitted case the number of presented contributions

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

    • -0
    • +0
    ./www/users/one-contributions.adp
file one-contributions.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/users/one-contributions.tcl
Prefer 'namespace which' over 'info commands', as it is faster (on local tests, around 2x) and returns a single value. Many thanks to Nathan Coulter.

    • -2
    • +2
    ./www/apm/version-callback-add-edit.tcl
  1. … 54 more files in changeset.
use bind variables instead of tcl variable substition in xql fullqueries

  1. … 15 more files in changeset.
Fix proc doc

reduce debugging output

fix listing of batch run

- make links clickable

- modernize Tcl code

added last_contribution based on last created object

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

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

remove stray "from" in last visit information

we have in table "users" no last IP, we could just fall back to a

last contribution field

Improve sql portability

  1. … 4 more files in changeset.
Improve portability, fetch idiom should be supported by "modern Oracle"

    • -2
    • +2
    ./www/auth/authority-set-sort-order.tcl
improve spelling

  1. … 3 more files in changeset.
Basic automated test for acs_admin::require_site_wide_subsite and acs_admin::require_site_wide_package

mprove spelling: move closer to the linux documentation recommendations, standardize variable names

  1. … 11 more files in changeset.
acs::per_request_cache: standardize per-request caching

- added per-request cache verfsy similar to acs::per_thread_cache

- use per-request-cache on several occasions

- bump version number of acs-tcl to 5.10.0d35

  1. … 8 more files in changeset.
improve acs-admin//apm/packages-install

- use usual user interaction for select/unselect all

- add proper handling of no upgrades

- improve HTML markup

- improve code orthogonality

add multiple to page contract

improve variable names

use "ns_dbquotelist" to quote tcl list

use ns_dbquotelist to convert Tcl list to sql

Replace 'ad_url' with 'ad_conn subsite_url'

reduce dependency on xí::db:: calls; still not perfect, since we need a special cache flush, but better than before

revert commit with escaped debugging output

when installation runs into an error, show the error message preformatted

whitespace changes

    • -35
    • +35
    ./www/apm/packages-install-4.tcl
  1. … 1 more file in changeset.
Crosscutting reform to ease configurability of xo* applications

acs-admin

- Provide support for site-wide packages

Site-wide packages can be used to provide a common

place for site-wide admins to configure application packages

and for testing purposes. These packages are mounted

on a special subsite (named "site-die") under acs-admin/

to avoid confusions for end-users of the site.

The site-wide subsite can be used as well for creating testing

instances or for other testing purposes.

- bump version number to 5.10.0d9

xotcl-core

- Added support for site-wide packages.

Packages can define, how site-wide packages

should be configured

- Changed Package-level procs into instprocs

of the meta-class. This way, generic code can be

provided for common handling across packages.

This effects:

- configure_fresh_instance

- get_site_wide_page

- import_prototype_page

- lookup_side_wide_page

- require_site_wide_info

- require_site_wide_pages

- bump version number to 5.10.0d24

xowiki

- provide configurable configuration info for new packages

(including site-wide packages)

- search for prototype pages along inheritance path

- moved Parameter.page prototype here

- added "table-of-contents" prototype page

- perform refactoring due to moving methods to the

meta-class

- reduce usage of anonymous arrays

- bump version number to 5.10.0d49

xowf

- simplify apm callback and use new infrastructure

- provide configurable configuration info for new packages

(including site-wide packages)

- bump version number to 5.10.0d14

  1. … 13 more files in changeset.
file site-wide-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/site-wide-procs.tcl