• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
adding missing comma in lang_messages_audit table

  1. … 1 more file in changeset.
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

    • -2
    • +32
    ./upgrade/upgrade-5.0.0b4-5.0.0b5.sql
  1. … 3 more files in changeset.
file upgrade-5.0.0b4-5.0.0b5.sql was initially added on branch oacs-5-0.

    • -0
    • +0
    ./upgrade/upgrade-5.0.0b4-5.0.0b5.sql
  1. … 1 more file in changeset.
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
    ./upgrade/upgrade-5.0.0b4-5.0.0b5.sql
  1. … 43 more files in changeset.
upgrade script fix: lang_messages_audit audit table was not created with columns that it had at the time

upgrade script fix: Oracle table def was mistakenly copied into PG upgrade script

using create view instead of create or replace view for PG 7.2 support. Adding creation of lang_messages_audit in upgrade script. It was missing

  1. … 1 more file in changeset.
making sure only one locale per language is default

  1. … 2 more files in changeset.
adding the columns creation_user and creation_date to lang_messages. At least on the translation server those are useful. Those columns replace the table lang_messages_created in the messages-audit.sql file (now removed)

    • -0
    • +45
    ./upgrade/upgrade-5.0d2-5.0d3.sql
  1. … 7 more files in changeset.
fixing misspelled charset in Arabic locales

  1. … 3 more files in changeset.
To speed up package installation we made en_US be the only enabled locale by default. Changed catalog loading to only load files for enabled locales. Added a link in UI so that catalog files can be loaded for a certain enabled locale after installation

  1. … 6 more files in changeset.
adding Portugese locale from translation server

  1. … 2 more files in changeset.
adding Arabic Lebanese locale from translation server

    • -0
    • +4
    ./upgrade/upgrade-5.0d1-5.0d2.sql
  1. … 2 more files in changeset.
making danish, french, and finnish enabled by default, fixing Tcl API tests

  1. … 3 more files in changeset.
fixing typo in column name in lang_messages_audit - changing from comment to comment_text

changing create or replace to create for PG 7.2 compatibility

Adding description to message keys

  1. … 2 more files in changeset.
1. Comments on messages

2. Rename lang_messages_audit.message to old_message

  1. … 2 more files in changeset.
1. Added search for words in messages feature.

2. Added locale enable/disable feature

3. Cleaned up translation UI

4. Improved batch message edit

    • -0
    • +13
    ./upgrade/upgrade-4.7d9-5.0d1.sql
  1. … 39 more files in changeset.
adding the british locale

  1. … 1 more file in changeset.
removing duplicate locales from datamodel and upgrade scripts

  1. … 2 more files in changeset.
adding new locales from the translation server

    • -0
    • +41
    ./upgrade/upgrade-4.7d8-4.7d9.sql
  1. … 3 more files in changeset.
adding missing locales ast_ES and gl_EST

  1. … 1 more file in changeset.
making catalog messages cascade when packages are deleted

    • -0
    • +21
    ./upgrade/upgrade-4.7d7-4.7d8.sql
  1. … 3 more files in changeset.
allowing for 3 character ISO 639-2 language codes

    • -0
    • +30
    ./upgrade/upgrade-4.7d6-4.7d7.sql
  1. … 6 more files in changeset.
the upgrade to acs-lang 4.7d5 would break if server already had swedish locale, added check to fix that

  1. … 1 more file in changeset.
upgrade of acs-lang 4.7d4-4.7d5 adding locales from the translation server

    • -0
    • +79
    ./upgrade/upgrade-4.7d4-4.7d5.sql
  1. … 2 more files in changeset.
adding all locales from the dotlrn translation server. Kudos to all the translators.

  1. … 1 more file in changeset.
message catalog upgrade support - adding upgrade_status columns to tables lang_messages and lang_message_keys

    • -0
    • +9
    ./upgrade/upgrade-4.7d3-4.7d4.sql
  1. … 2 more files in changeset.
Bug: acs-lang had a default sysdate. Changed to default now()