• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
changing to always create catalog backup file on export even if one already exists (not sure if this is necessarily the right thing to do, but at least it's what I seem to need most often)

number of processed messages wasn't being counted properly by import_messages proc

changing name of db_dml statement to be more appropriate

adding upgrade_status filter

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

    • -0
    • +3
    ./catalog/acs-lang.en_US.ISO-8859-1.xml
    • -0
    • +27
    ./sql/oracle/upgrade-5.0.0b4-5.0.0b5.sql
    • -7
    • +10
    ./sql/postgresql/message-catalog.sql
    • -0
    • +43
    ./tcl/lang-catalog-procs-oracle.xql
    • -0
    • +45
    ./tcl/lang-catalog-procs-postgresql.xql
    • -130
    • +487
    ./tcl/lang-catalog-procs.tcl
  1. … 584 more files in changeset.
adding missing comma in lang_messages_audit table

bug fixes of import messages and message conflicts pages. Making sure message conflict page works if its called with empty string arguments

adding primary key to the lang_messages_audit table. Fixed upgrade script to version 5.0.0b5 so that sync_time is set for the first revision of each I18N message

    • -27
    • +0
    ./sql/oracle/upgrade-5.0.0b4-5.0.0b5.sql
    • -0
    • +57
    ./sql/oracle/upgrade/upgrade-5.0.0b4-5.0.0b5.sql
file upgrade-5.0.0b4-5.0.0b5.sql was initially added on branch oacs-5-0.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-5.0.0b4-5.0.0b5.sql
adding import/export links on top index page. Making sure all import/export links are only shown to site-wide-admins. Fixing the url of one of the links.

file upgrade-5.0.0b4-5.0.0b5.sql was initially added on branch oacs-5-0.

    • -0
    • +0
    ./sql/oracle/upgrade-5.0.0b4-5.0.0b5.sql
    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-5.0.0b4-5.0.0b5.sql
file message-conflicts.tcl was initially added on branch oacs-5-0.

    • -0
    • +0
    ./www/admin/message-conflicts.tcl
file message-conflicts.adp was initially added on branch oacs-5-0.

    • -0
    • +0
    ./www/admin/message-conflicts.adp
file message-conflict-resolve.tcl was initially added on branch oacs-5-0.

    • -0
    • +0
    ./www/admin/message-conflict-resolve.tcl
file import-messages.tcl was initially added on branch oacs-5-0.

    • -0
    • +0
    ./www/admin/import-messages.tcl
file import-messages.adp was initially added on branch oacs-5-0.

    • -0
    • +0
    ./www/admin/import-messages.adp
file export-messages.tcl was initially added on branch oacs-5-0.

    • -0
    • +0
    ./www/admin/export-messages.tcl
file export-messages.adp was initially added on branch oacs-5-0.

    • -0
    • +0
    ./www/admin/export-messages.adp
Adding support for I18N message catalog upgrades. Any import of

messages from catalog files that is done after the initial import is

considered an upgrade. The message import and upgrade logic is

encapsulated in the proc lang::catalog::import_messages (invoked

through lang::catalog::import).

acs-lang package

- Bumping version of package to 5.0.0b5

- Changes to datamodel:

- Adding columns deleted_p, conflict_p, and sync_time to lang_messages table.

- Removed column upgrade_status from lang_message_keys table

- Adding columns deleted_p, sync_time, conflict_p, upgrade_status to lang_messages_audit table

- Changes to lang::catalog Tcl API:

- Added proc lang::catalog::import_messages that encapsulates the logic for import and upgrade of

messages from catalog files to database.

- Changed the lang::catalog::import_from_file and lang::catalog:import procs to use the new import_messages proc.

- Added the upgrade Tcl API test cases that extensively tests through the import_messages proc with both

en_US and de_DE locales.

- Changes to lang::message Tcl API:

- Changed lang::message::register to take new switches upgrade_sync, upgrade_status, and conlfict. Cleaned up the

proc a little and made it construct SQL dynamically.

- Added procs delete, get, and get_element.

- Added the edit proc that is used when editing attributes of a message other than the message text itself. This

proc will not create a new message revision. It is invoked for example by the delete proc.

- Added the count_conflicts proc.

- Changes to admin UI

- New canonical pages for import/export of catalog files that check for site-wide-admin priv

- Made the message delete page use appropriate Tcl API

- Added the message-conflicts page that shows conflicting messages. Linking to this page from

index page, locale-, and package index pages.

acs-admin package

- Removed the import/export messages pages and using the ones in acs-lang package instead.

    • -0
    • +27
    ./sql/oracle/upgrade-5.0.0b4-5.0.0b5.sql
    • -7
    • +10
    ./sql/postgresql/message-catalog.sql
    • -0
    • +43
    ./tcl/lang-catalog-procs-oracle.xql
    • -0
    • +45
    ./tcl/lang-catalog-procs-postgresql.xql
    • -130
    • +458
    ./tcl/lang-catalog-procs.tcl
    • -5
    • +22
    ./tcl/lang-message-procs-oracle.xql
  1. … 30 more files in changeset.
file conflict-link.adp was initially added on branch oacs-5-0.

    • -0
    • +0
    ./lib/conflict-link.adp
file conflict-link.tcl was initially added on branch oacs-5-0.

    • -0
    • +0
    ./lib/conflict-link.tcl
bump core to 5.0.0b4 for new tarball. update readme.txt and variable.ent to 5.0.0b4.

  1. … 28 more files in changeset.
Fix the package and vendor URLs, remove broken owner emails.

  1. … 73 more files in changeset.
clean up summary and description information

  1. … 51 more files in changeset.
added new string for available-in-this-language

    • -0
    • +3
    ./catalog/acs-lang.en_US.ISO-8859-1.xml
fixing bug 1019 by making sure message keys are deleted and removed from the cache on package deletion. Moving all package deletion logic into proc. Adding an instruction on the package delete page that the server should be restarted after deletion

  1. … 2 more files in changeset.
bugfix #824: needed to add -user_id switch to some lang::user procs to specify the user for which to get the locale; also had to change the default upvar level of lang::message::lookup from 2 to 1

  1. … 1 more file in changeset.
fixed 'langauge' typo

added links to current documentation

bugfix #806: flush cache if guest user changes locale