• last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- remove misleading SQL statement

Fix spelling errors

  1. … 25 more files in changeset.
.xql overhaul:

- removed misleading sql-statements from db_* calls, which were

ignored due .xql files

- removed bug where same query name was used in a single proc

with different intended sql queries, but the same was picked

up from the .xql file due to the name

- removed multiple entries of same query name from .xql files

(e.g. the entry "package_create_attribute_list.select_type_info" was

7 (!!!) times in a single .xql file)

- removed redundant queries for unsupported versions of the dbms

- added missing xql entries for db-backends, where other db-specific

queries exists (e.g. added an entry to -oracle.xql, where an entry

existed in -postgres.xql)

  1. … 70 more files in changeset.
- remove unneeded xql statements

  1. … 12 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.
- replace deprecated ad_permission_p with permission::permission_p

  1. … 28 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.
Changed to use boolean. Thx to JCD for the tip.

More I18N. Added a new procedure relation:get_objects that returns multiple objects instead of throwing an error if you have multiple relationsships of one type (e.g. on company usually has multiple employees)

  1. … 4 more files in changeset.
utility proc for getting related items

  1. … 1 more file in changeset.
Fix bug when inviting new users via the members page on the main site, where creating the user will already make them a member of the main site, by checking to see if a relation already exists before inserting a new one. The reason for this particular fix is that it will still insert the extra admin_rel relation, if you're chose to make the user an admin.

merge of changes between oacs-5-0-0b4 and oacs-5-0-0-final to HEAD

  1. … 286 more files in changeset.
Made relation_add not bomb with stupid 'can't read rel_id: no such variable' error when relation already exists

merge of changes on oacs-5-0 branch to oacs-5-0-0b4 tag

  1. … 598 more files in changeset.
remove a rel constriant violation check that can never fire

Oracle9i porting changes

- Changed procedure names from delete to del

- Changed view declaration to use actual column names

- Changed "rel_constraints_violated_one" and "rel_constraints_violated_two"

(http://openacs.org/forums/message-view?message_id=81045)

  1. … 275 more files in changeset.
Added relation::get_id

  1. … 1 more file in changeset.
merge of 4.6.3b1 to HEAD

  1. … 107 more files in changeset.
1. Peter's APM changes broke subsite mounting because the old post

instantiate routine wasn't really called until after the site node for

the subsite was mounted. No problem - I changed it to be an after-mount

callback instead (which was the idea all along)

2. Earlier changes made by me broke the adding of users by an admin, because

the main subsite no longer has a group defined by default separate from

registered users. The registered users group *is* the main subsite

membership group. Had to add a special check for this case.

3. Removed the naughty composition rel added by application_group::new. This

caused subsites to have undesirable side-effects (add admin to subsite and

the user magically became an admin of the supersite, if you defined an

admin_rel and adminstrator relational segment in each)

  1. … 9 more files in changeset.
cleanup javadoc tags (eg @cvs_id @cvs @cvs-id: instead if @cvs-id)

  1. … 692 more files in changeset.
removed sql from tcl files and added one missing query to xql file

  1. … 1 more file in changeset.

updated package procs and relation procs to provide better handling of

additional variables. This *may* cause some things to break, and the added

functionality is not yet PG-compatible. It will be soon, though. (ben)

  1. … 2 more files in changeset.
Fix a db_dml

  1. … 1 more file in changeset.
OpenACS 4.x

  1. … 1321 more files in changeset.
Initial revision

    • -0
    • +355
    ./relation-procs.tcl
  1. … 1321 more files in changeset.