• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make api public, complies with acs-api-browser.graph__bad_calls automated test

  1. … 4 more files in changeset.
overwork get_community_id once more. provide a shortcut is hopless situations, reduce potential warnings and improve comments

make clear that get_community_id_from_url needs connection in case no URL is provided; provide shortcut, when determined package_id is empty

  1. … 2 more files in changeset.
Fix log message, as ad_log supports only one message as argument.

Add "-url" as optional argument to "get_community_id" to ease usage in non-connection threads.

in background threads, get_community_id can be called with either the package_id,

or with the argument. Otherwise, the function is not background-safe

improve spelling

  1. … 4 more files in changeset.
Fix expression logic

Don't be so strict upstream, as here we do not restrict community_key to ltree

Constrain further the characters we allow in the community_key: makes sense upstream as this will become part of a URL, but is even more important downstream, as we implement the community_key as a ltree and therefore we are limited in the type of characters we can allow (See https://www.postgresql.org/docs/current/ltree.html)

Fix typo

Add missing arguments

Rework dotlrn_community::check_community_key_valid_p so that we check also for the community key to not have spaces

Logics have been moved to private api that might or might not become the preferrable api at some point, as it also returns the specific error message together with the boolean

  1. … 1 more file in changeset.
improve spelling

  1. … 6 more files in changeset.
improve spelling: move closer to the linux documentation recommendations

  1. … 7 more files in changeset.
Move rel_segments_* procs in new rel_segment:: namespace to comply with OpenACS naming convention, create deprecated wrappers, replace occurrences

  1. … 10 more files in changeset.
improve spelling

  1. … 3 more files in changeset.
improve spelling

  1. … 21 more files in changeset.
Replace ad_decode idioms

  1. … 2 more files in changeset.
Bring files on oacs-5-10 in sync with HEAD

  1. … 162 more files in changeset.
Fix incorrect default value

Trailing whitespace cleanup

dotlrn cache reform: added missing cache flush; added caching of "community_key"

dotlrn cache reform: move caching from util_memoize into three seperate caches to reduce stress on util_memoize.

These caches are:

- ::dotlrn::dotlrn_cache

Default general purpose cache for dotlrn-wide value (e.g. available applets, etc)

- ::dotlrn::dotlrn_user_cache

Partitioned cache for values specific to a user (e.g. personal_portal_id, theme_id, etc)

- ::dotlrn::dotlrn_community_cache

Partitioned cache for values specific to a community (e.g name, roles, portal_id, etc)

  1. … 11 more files in changeset.
Fix proc doc errors detected by 'documentation__check_parameters'

  1. … 6 more files in changeset.
improve spelling

  1. … 7 more files in changeset.
Remove superflous parentheses

  1. … 29 more files in changeset.
Fix typos

Whitespace changes

Add documentation to public procs (fixes automated tests), uniform doc sytle, streamline idioms, reduce divergencies between oracle and postgres codebase

  1. … 2 more files in changeset.
permission check reform (part 1): provide API for permission cache

  1. … 16 more files in changeset.