• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use more API when retrieving user info and portrait, streamline queries, put all sql inline

Prefer API over handcrafted queries

remove conditions, which are always true

  1. … 7 more files in changeset.
Portrait management reform and correction

Moved logics to create a portrait in a proc in order to reuse it in other places

such as picture retrieval services (e.g. Bach picture retrieval at WU). Turns out

we were not doing our homeworks here: when the portrait is created into CR, a

cr_child_rel is created. When the portrait was erased though, this was not cleaned

up propely, leaving dangling acs_objects with no reference in cr_child_rels table.

On busy sites, this can grow in the ten thousands order of magnitude. Changes include

also fix for this behavior and tuples cleanup.

  1. … 12 more files in changeset.
fix ad_form definition (moved redirect in after_submit block, ad_return_template at the end of template outside the ad_form) (thanks to Felix Moedritscher)

Use consistently ad_script_abort after ad_return_error.

Break long lines

  1. … 21 more files in changeset.
add ad_script_abort after ad_returnredirect to make termination intent explicit

  1. … 48 more files in changeset.
make sure to call ad_script_abort after ad_returnredirect

  1. … 15 more files in changeset.
make sure to call ad_script_abort after ad_returnredirect

  1. … 2 more files in changeset.
Bug fix: avoid confusion between command argument and option, when argument starts with "-"

  1. … 80 more files in changeset.
Small improvement for portrait management (deletion)

Exploit existing on delete cascade constraints when we delete a portrait, instead of deleting stuff manually.

Also, put remaining logics into a proc and use it in acs_user::delete to address legit use case of people wanting

to remove a user permanently without removing portrait in advance.

  1. … 1 more file in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7824 more files in changeset.
- standardize argument passing to adp-includes, don't perform double i18n and double quoting

  1. … 124 more files in changeset.
- fix and standardize quoting in template properties

  1. … 389 more files in changeset.
- standardize url construction

  1. … 6 more files in changeset.
- standardize url construction to protect against injection attacks

  1. … 55 more files in changeset.
- use type checking for boolean parameters in page_contracts to improve security

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

  1. … 2537 more files in changeset.
Loop over the array names instead of the list to resize portrait

Return to where the user came from after password changed

Title and context cleanup. Pass in the return_url so user is sent back to where she was after submitting.

Fix contexts and page titles.

Set the page title consistently

remove deprecated calls to ad_parameter

  1. … 5 more files in changeset.
Merged from 5.4.2

  1. … 283 more files in changeset.
normalize some more string expressions

  1. … 3 more files in changeset.
Change to use form builder

    • -0
    • +46
    ./portrait/erase.xql
  1. … 1 more file in changeset.
Change to use form builder

    • -0
    • +19
    ./portrait/upload-oracle.xql
    • -0
    • +22
    ./portrait/upload-postgresql.xql
Change to use form builder

Replace english text with message keys. Extract sql to xql file

    • -0
    • +32
    ./portrait/comment-edit.xql