• last updated 6 hours ago
Constraints: committers
Constraints: files
Constraints: dates
Do not assume a package is installed only if it has an entry in the 'apm_package_types' table. This fixes the issue of package upgrade prompting, in not installed packages, that still have an entry in 'apm_package_types'

use "ad_log" instead of "ns_log" in "obscure case"

Allow to undelete a message from acs-lang 'edit-localized-message', instead of showing the option to delete it whatever the state is

Refactor acs-lang 'admin/index' page, adding the new columns 'total' and 'deleted' to the listing, and reworking the query so it is faster (53ms -> 7ms), correct (number of messages by state are computed coherently with other acs-lang pages) and gives more information

file index.xql was initially added on branch oacs-5-10.

    • -0
    • +0
improve spelling

Improve proc documentation

Refactor acs-lang 'message-list', using a single query for counting the different message states instead of one per state, and simplifying tcl logic

Fix xotcl-core cr-items test: modifying IP comes in fact from the cr_item's acs_object (it is also on the revision, but on the items seems to take into account e.g. proxying)

Fix 3 inconsistent log messages in the test

Fix typo

improve spelling

    • -1
    • +1
improve spelling

  1. … 3 more files in changeset.
Rework acs-lang 'package-list' query 'packages_locale_status' query (89ms -> 4ms)

Rework acs-lang 'package-list' query 'packages_locale_status_default' query (48ms -> 2ms)

Prefer portable current_timestamp idiom to NOW()

Exploit existing acs::test::user::create api

Normalize indentation, add editor hints

    • -10
    • +17
    • -0
    • +7
    • -31
    • +38
    • -10
    • +17
Modernize XoTcl idioms

    • -12
    • +11
Use xotcl-core indentation convention

    • -95
    • +96
Whitespace cleanup, normalize indentation, add editor hints

    • -94
    • +100
Use xotcl db idioms

Rollback tests or they will interfere with the others

Reimplement query to obtain user competencies to fix xolp.user_get_competencies automated test

Personal perplexities:

- why do we specify the competency_set_id on the indicator facts? If one fact can be e.g. an exam, this might be related with multiple competency sets

- should we take into account also the validity of an activity?

    • -14
    • +36
Add deleted column to acs-lang 'package-list', and fixed number of messages depending on status, making it coherent with 'message-list'. Also fixed translated/untranslated count on default locale in 'message-list'. Version bump.

file package-list.xql was initially added on branch oacs-5-10.

    • -0
    • +0
Port downstream commit cab327aeda04f1f1f6b8f2310ddc88c7c081a84f from Günter Ernst:

Minor adjustments to ensure install- and uninstallability

Port of downstream commit 9cbc3f04aad075e902e64d0c67d53158160a933c from Felix Möedritscher:

feature / issue #10359: added message keys, extended the xolp API - get_competencies, get_activities_of_package, update_title

    • -0
    • +4
    • -0
    • +4
Fix untranslated count and view on acs-lang 'message-list' + some refactoring

remove .SELF. prefix also in link_info dict

    • -1
    • +2