community-core-procs.tcl

  • last updated 24 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- let acs_user::flush_cache succeed in cases, where the privides ID is e-g- a person, but not in cc_users

- one more typo

- fix recent editing bug

- fix documentation of acs_user::get: list full set of returned

attributes in documentation

- acs_user::get: return dict, when no argument "-array" is provided

- mark cc_* functions as deprecated, since more general functions exists in acs_user::, party::, or group:: namespaces

- make "*_not_cached" versions hidden

.xql-file reform of acs-tcl (part 1)

- remove sql statements from the code, where these are provided via .xql

- prefer empty sql statements over various forms of *SQL*

  1. … 7 more files in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- get rid of deprecated calls to acs_sc_call during regression test

  1. … 6 more files in changeset.
Flushing ::party::email_not_cached in case party email has been updated.

Use the same pattern for flushing person::name that has been used to cache it (sigh)

Missed a detail when moving bio back to person.

  1. … 4 more files in changeset.
Moved "bio" back to "person", but with type-specific storage. People can

fight over where such things belong on another day, for now keeping it in

"person" has the advantage that the Tcl API is 100% unchanged so moving it

to type-specific storage won't break .LRN.

  1. … 8 more files in changeset.
Moved "bio" from person/generic storage to user/type-specific storage as TIP'd

(PG only, Oracle to follow soon).

  1. … 6 more files in changeset.
normalize some more expressions

  1. … 6 more files in changeset.
normalize some more expressions

  1. … 5 more files in changeset.
acs_user::flush_cache didn't flush the get_by_username memoized call, causing

problems if you deleted a user then tried to recreate the same user, because

the auth validate data (for a user) code uses this proc.

Fixed problem for signup due to caching

Added procedure to provide the portrait_id of a user

  1. … 1 more file in changeset.
Cached the user_id from username procedure as this will not change that easily / often

  1. … 1 more file in changeset.
Performance increase by a factor of 200

  1. … 1 more file in changeset.
Added procedure to check if a user is actually registered. We should probably change auth::require_login to check if the user is registered instead of just checking for the existance of the cookie

  1. … 2 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Merged acs-core oacs-5-2 (currently 5.2.3) -> HEAD.

TODO:

1. Bump acs-core package version numbers to 5.3.0d1

2. Would be nice to do a test install, wouldn't it?

  1. … 721 more files in changeset.
Added party::name and enhanced person::name

  1. … 3 more files in changeset.
reverting. not because I think I have to but because I'm just sick of discussing this minor change for ages

  1. … 3 more files in changeset.
Allow usage of an email with multiple party_ids. Should not break existing sites (as they would have broken if you have an e-mail twice in the system

  1. … 1 more file in changeset.
adding person::person_p procedure

removed the remaining procs which were -deprecated -warn in 5.0 and fixed most occurances of those procs in the code

  1. … 43 more files in changeset.