• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove leftover xql files

    • -19
    • +0
    ./acs-admin/www/index-postgresql.xql
Use api to remove difference between oracle and postgres codebase

    • -5
    • +14
    ./acs-subsite/www/admin/host-node-map/index.tcl
Reduce divergency between oracle and postgres codebase

    • -22
    • +0
    ./rss-support/www/subscrs-include-oracle.xql
    • -22
    • +0
    ./rss-support/www/subscrs-include-postgresql.xql
    • -1
    • +14
    ./rss-support/www/subscrs-include.tcl
Avoid two times the same query just because we might filter by forum

    • -20
    • +2
    ./forums/lib/search/search-chunk-postgresql.xql
    • -12
    • +10
    ./forums/lib/search/search-chunk.tcl
Pass user_name through the message array, as message-view expects it there

This obscure script doesn't do much (basically, displays the content of a message), but nevertheless was passing arrays, defining queries, duplicating code... streamlined to the bones

    • -46
    • +0
    ./forums/lib/message/content-updater-oracle.xql
    • -8
    • +0
    ./forums/lib/message/content-updater.adp
    • -45
    • +0
    ./forums/lib/message/content-updater.tcl
Remove redundant variables, dead code and bring variables closer to where they are actually used... still room for improvement here

    • -10
    • +4
    ./forums/lib/message/thread-chunk-postgresql.xql
    • -19
    • +15
    ./forums/lib/message/thread-chunk.tcl
Use more api to streamline queries and reduce divergency between oracle and postgres codebase

    • -22
    • +4
    ./forums/tcl/messages-procs-oracle.xql
    • -28
    • +6
    ./forums/tcl/messages-procs-postgresql.xql
While working on reducing divergencies between oracle and postgres codebase and testing changes I have found the following issues:

- fs::add_created_version.new_text_revision query was defined in postgres only

- version-delete and folder-delete were broken in case notification was enabled,

because this was issued after object was deleted and therefore all references

needed to build notification message were missing (and query failed looking up the object)

    • -25
    • +0
    ./file-storage/tcl/file-storage-procs-oracle.xql
    • -43
    • +0
    ./file-storage/tcl/file-storage-procs-postgresql.xql
    • -61
    • +78
    ./file-storage/tcl/file-storage-procs.tcl
    • -39
    • +13
    ./file-storage/www/folder-delete.tcl
    • -26
    • +17
    ./file-storage/www/version-delete.tcl
Remove leftover sql and unused variables

    • -45
    • +0
    ./calendar-portlet/www/calendar-portlet-oracle.xql
    • -45
    • +0
    ./calendar-portlet/www/calendar-portlet-postgresql.xql
    • -13
    • +5
    ./calendar-portlet/www/calendar-portlet.tcl
Whitespace changes

    • -3
    • +3
    ./file-storage/tcl/file-storage-procs.tcl
new feature: offer swa the ability to view compiled template

    • -7
    • +9
    ./acs-api-browser/tcl/acs-api-documentation-procs.tcl
    • -2
    • +3
    ./acs-api-browser/www/content-page-view.adp
    • -6
    • +28
    ./acs-api-browser/www/content-page-view.tcl
Reduce divergency between oracle and postgres codebase and remove redundant statements

    • -43
    • +0
    ./file-storage/www/file-postgresql.xql
Remove leftover statement

    • -2
    • +2
    ./acs-content-repository/tcl/filter-procs.tcl
remove empty, unused, privated function acs_reference_get_db_structure

    • -21
    • +0
    ./acs-reference/tcl/acs-reference-procs.tcl
whitespace changes

    • -13
    • +13
    ./acs-tcl/tcl/object-type-procs.tcl
remove unused private function acs_object_type::acs_object_instance_of

    • -17
    • +1
    ./acs-tcl/tcl/object-type-procs.tcl
fix broken API function acs_object_type::get_table_name (broken since 13 years) and use API instead of direct SQL queries

    • -1
    • +1
    ./acs-content-repository/acs-content-repository.info
    • -11
    • +4
    ./acs-content-repository/tcl/content-item-procs.tcl
    • -5
    • +2
    ./acs-content-repository/tcl/content-revision-procs.tcl
    • -0
    • +1
    ./acs-content-repository/tcl/filter-procs.tcl
    • -9
    • +0
    ./acs-content-repository/tcl/filter-procs.xql
    • -5
    • +10
    ./acs-tcl/tcl/object-type-procs.tcl
    • -19
    • +0
    ./acs-tcl/tcl/object-type-procs.xql
remove outdated file, maintained version of the code is in the function apm_build_repository

    • -313
    • +0
    ./acs-admin/www/apm/build-repository.tcl
Whitespace cleanup

    • -12
    • +12
    ./acs-core-docs/tcl/acs-core-docs-procs.tcl
Fix singular/plural phrasing

    • -2
    • +2
    ./acs-core-docs/tcl/acs-core-docs-procs.tcl
Fix typos

    • -4
    • +4
    ./acs-authentication/tcl/authentication-procs.tcl
    • -1
    • +1
    ./acs-content-repository/tcl/publish-procs.tcl
Fix wording

    • -3
    • +3
    ./acs-authentication/tcl/sync-procs.tcl
Fix typos and duplicated word

    • -2
    • +2
    ./acs-mail-lite/tcl/email-inbound-procs.tcl
    • -2
    • +2
    ./acs-mail-lite/tcl/imap-inbound-procs.tcl
    • -2
    • +2
    ./acs-mail-lite/tcl/maildir-inbound-procs.tcl
Whitespace cleanup

    • -3
    • +3
    ./acs-mail-lite/tcl/acs-mail-lite-init.tcl
    • -170
    • +170
    ./acs-mail-lite/tcl/email-inbound-procs.tcl
    • -50
    • +50
    ./acs-mail-lite/tcl/imap-inbound-procs.tcl
    • -38
    • +38
    ./acs-mail-lite/tcl/maildir-inbound-procs.tcl
    • -10
    • +10
    ./acs-mail-lite/tcl/utils-procs.tcl
Reduce divergencies between oracle and postgres codebase

    • -48
    • +7
    ./acs-service-contract/tcl/acs-service-contract-procs-oracle.xql
    • -45
    • +6
    ./acs-service-contract/tcl/acs-service-contract-procs-postgresql.xql
    • -3
    • +19
    ./acs-service-contract/tcl/acs-service-contract-procs.tcl
    • -0
    • +19
    ./acs-service-contract/tcl/acs-service-contract-procs.xql
Use the actual tag name when retrieving its parameter, otherwise it would cause a missleading error message

Make all sql in this page portable and inline

    • -28
    • +0
    ./acs-admin/www/auth/authority-oracle.xql
    • -29
    • +0
    ./acs-admin/www/auth/authority-postgresql.xql
Remove leftover xql

Make sql in this page portable by avoiding unnecessary pl/pgsql

    • -5
    • +9
    ./acs-subsite/www/admin/rel-segments/new-2.tcl