• last updated 4 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
    ./one-contributions.adp
file one-contributions.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./one-contributions.tcl
added last_contribution based on last created object

  1. … 2 more files in changeset.
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 spelling

  1. … 4 more files in changeset.
mprove spelling: move closer to the linux documentation recommendations, standardize variable names

  1. … 19 more files in changeset.
add multiple to page contract

use "ns_dbquotelist" to quote tcl list

Replace 'ad_url' with 'ad_conn subsite_url'

Reduce divergency between oracle and postgres codebase

    • -18
    • +0
    ./member-state-change-postgresql.xql
  1. … 1 more file in changeset.
Reduce divergency between oracle and postgres

  1. … 3 more files in changeset.
Reduce divergency between oracle and postgres codebase

provide a default for pass_through option

add comment and sanity check

fix fresh installation of dotlrn by adding a pass-through parameter to member-state-change

  1. … 3 more files in changeset.
make clear, that just portrait_title is used

pull out 2 queries from .xql to tcl improve readability

fix invalid HTML (closing INPUT tag is not allowed)

  1. … 4 more files in changeset.
Ehm.. revert previous commit: search would use service contract to get the search form, so we should no assume local-search to be used...

  1. … 4 more files in changeset.
Removal of obsolete user search includes

Rationale:

- no mention to these pages anywhere in upstream packages

- local-search fails files__page_contracts automated test

- weird code in local-search (where is authority_id used to filter users?...)

- acs-admin/users/complex-search is a working replacement and duplicates their intended features

- as for TIP#125, in case complex-search was not reusable, probably a minor rework would do

  1. … 4 more files in changeset.
improve rowcount expressions

  1. … 75 more files in changeset.
Fix proc and contract doc elements, so they are properly parsed by apidoc::api_*_documentation.

- @cvs_id -> @cvs-id

- @version -> @cvs-id

- @creation_date -> @creation-date

- @date -> @creation-date

- Different variations of $Id$

- Remove wrong @param entry

- Fix typos

  1. … 368 more files in changeset.
Prefer on-spot api for user-only info

Prefer on-spot api as it is quicker

acs_user::get will not fail anymore with non-existing user

Prefer person-only api to generic user one as is quicker and now properly cached

Prefer on-spot api rather than full-blown acs_user::get

permission check reform (part 1): provide API for permission cache

  1. … 16 more files in changeset.