• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- simplify code

- align with postgres

- fix for bug #2962

Bugfix: not possible to define group types over admin interface:

- Remove dependency on "user_objects" in PostgreSQL code: This table

is an interface to Oracle's data dictionary and gives access to all

defined objects (tables, views, functions, packages, ...) and is

used to check, whether code has to be recompiled after some update.

This code check is now deactivated for PostgreSQL for the time

being.

- Without this change, it was not possible to define group

types in postgres over the admin interface (in acs-subsite)

- fix order of words in command

- default_state should be false and not "", otherwise a tcl error will show up

- write sql statements between curly braces

  1. … 12 more files in changeset.
.xql-file reform of acs-subsite:

- remove queries from .tcl files that can't work

from PostgreSQL (e.g. containing "connect by" or "nvl")

- remove obsolete file www/admin/site-map/parameter-set.tcl

  1. … 6 more files in changeset.
.xql-file reform of acs-subsite:

- remove obsolete queries

email_image::new_item.new_lob_size

email_image::new_item.new_lob_size

group::member_p.group_id_from_name

subsite::default::create_app_group.group_exists

package_mounted_p

- add missing Oracle queries

acs-subsite/tcl/rel-types-procs-oracle.xql

rel_types::additional_rel_types_group_p.group_rel_type_exists

rel_types::additional_rel_types_group_type_p.group_rel_type_exists

www/admin/group-types/new-oracle.xql

select_group_supertypes

- add missing PostgreSQL queries

acs-subsite/tcl/rel-types-procs-postgresql.xql.xql

rel_types::additional_rel_types_group_p.group_rel_type_exists

- remove obsolete files

www/admin/index-oracle.xql

www/admin/index-postgresql.xql

www/admin/index.xql

www/admin/rel-types/roles/new-oracle.xql

www/admin/rel-types/roles/new-postgresql.xql

www/permissions/one.xql

www/pvt/unsubscribe-2-oracle.xql

www/pvt/unsubscribe-2-postgresql.xql

www/pvt/unsubscribe-oracle.xql

www/pvt/unsubscribe-postgresql.xql

www/pvt/unsubscribe.xql

www/register/user-new.xql

www/shared/portrait-bits-oracle.xql

www/shared/portrait-bits-postgresql.xql

www/shared/portrait-bits.xql

    • -11
    • +24
    ./rel-types-procs-postgresql.xql
  1. … 20 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)

    • -40
    • +0
    ./application-group-procs-oracle.xql
    • -40
    • +0
    ./application-group-procs-postgresql.xql
  1. … 56 more files in changeset.
- remove unneeded xql statements

    • -19
    • +0
    ./plsql-utility-procs-postgresql.xql
- no need to use backslash for continuation between curly brackets

- improve readability of code

- modernize tcl

  1. … 12 more files in changeset.
- new api calls "subsite::save_theme_parameters_as_default" and "subsite::update_subsite_theme"

for developers to update the subsite theme parameters

- prefer ns_quotehtml over ad_quotehtml

  1. … 36 more files in changeset.
- revert change from sept 15, introducing display_template_sm (not needed)

- adding display_template_sm, a display template for small displays

- add streaming_head to subsite_themes

  1. … 5 more files in changeset.
- improve indentation, remove tabs

- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 740 more files in changeset.
- fix quoting and typo

  1. … 1 more file in changeset.
- added optional flag -include_all to subsite_navigation::define_pageflow to return all subgroups in the resulting multirow (useful for pull-down menus)

- add missing comma

- handle "merged" user state on more places

  1. … 1 more file in changeset.
- add missing handling for "merged" user state

- add message key

  1. … 2 more files in changeset.
- store ThemeJS in subsite_themes

- Improve robustness of blank-master: malformed lists in subsite

parameters could render a subsite useless and hard to correct.

Now the validity of lists is checked, errors are written to the

error.log, invalid parameters are ignored.

- added flat list syntax for ThemeCSS specs (easier to read)

- added parameter ThemeJS similar to ThemeCSS (ability to add head and

body scripts)

- added generalized function template::add_script with non-pos

parameter "-section" which might be "head" or "body" to make both

kind of scripts available to ThemeJS

  1. … 11 more files in changeset.
- template::resource_path: new function to generalize access to

acs-templating's resource files

- add resource_dir (db) / ResourceDir (package parameter of subsite)

to allow for usage of them specific (adp) resources while preserving

existing semantics

  1. … 13 more files in changeset.
- add parameter "DefaultDimensionalStyle" for theming (similar to DefaultFormStyle)

  1. … 7 more files in changeset.
- whitespace change

- fix typos

  1. … 1 more file in changeset.