• last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
whitespace changes

Whitespace changes

Add missing 'title' parameter to 'content::item::upload_file', which is checked in the proc and probably not materialized out of thin air.

Use '::content::item::get_content_type' instead of the deprecated '::content::item::content_type'

Use '::content::item::get_content_type' instead of the deprecated '::content::item::content_type'

Trailing whitespace cleanup

Deprecate '::content::item::content_type', which is exactly the same proc as 'content::item::get_content_type'. Weird.

improve spelling

  1. … 15 more files in changeset.
improve spelling

  1. … 8 more files in changeset.
Fix typos

  1. … 5 more files in changeset.
Remove smelly comment, as parameter is there

Modernize tcl

Whitespace removal

Move image::get_info together with its pals procs in the content repository... just to realize it should probably go away at some point

  1. … 1 more file in changeset.
Removed obsolete @arch-tag

    • -2
    • +1
    ./content-revision-procs-postgresql.xql
  1. … 23 more files in changeset.
Removed obsolete @arch-tag

    • -4
    • +1
    ./acs-content-repository-callback-procs.tcl
    • -2
    • +1
    ./test/content-revision-test-procs.tcl
  1. … 17 more files in changeset.
Whitespace changes

  1. … 2 more files in changeset.
Fix parameter name in proc doc and add brief descriptions

  1. … 2 more files in changeset.
Whitespace cleanup

Harmonize parameter names in proc documentation removing unexistent ones

Fix parameter name in proc doc and add brief descriptions

Harmonize parameter names in proc documentation removing unnecessary hyphens

  1. … 4 more files in changeset.
fix backslashes

    • -2
    • +2
    ./test/acs-content-repository-procs.tcl
overwork test cases: moderinze tests, make tested api functions explicit

    • -2
    • +10
    ./test/acs-content-repository-procs.tcl
    • -59
    • +65
    ./test/content-folder-test-procs.tcl
    • -4
    • +24
    ./test/content-image-test-procs.tcl
    • -23
    • +36
    ./test/content-item-test-procs.tcl
    • -27
    • +35
    ./test/content-keyword-test-procs.tcl
    • -8
    • +22
    ./test/content-revision-test-procs.tcl
  1. … 2 more files in changeset.
improve testcases by removing useless expr commands

    • -3
    • +3
    ./test/acs-content-repository-procs.tcl
    • -10
    • +10
    ./test/content-image-test-procs.tcl
    • -15
    • +15
    ./test/content-item-test-procs.tcl
    • -6
    • +6
    ./test/content-revision-test-procs.tcl
  1. … 11 more files in changeset.
improve spelling

  1. … 12 more files in changeset.
Whitespace changes

Delete duplicated parameter in proc doc

Simplify code: set defaults for proc parameters, which are de facto optional, avoiding unnecesary existence checks.

Remove duplication and use more api

This code could not work on oracle... not sure if this was considered, or people just assumed fts was a Postgres-only thing