• last updated 5 hours ago
Constraints: committers
Constraints: files
Constraints: dates
Comment deprecated proc, which was before defined as private, because of a false positive in acs-api-browser.callgraph__bad_library_calls: the "Authenticate" operation in the spec of auth::authentication::create_contract is mistakenly interpreted as the deprecated proc

Make proc public, as was intended

passing "-debug" flag explicitly to nsf::proc

whitespace changes

fix last commit (many thanks to Thomas Renner)

made includelet "categories" folder aware (on can pass "parent" in form of a page-ref to the includelet)

refactored some of the code to increase reusability

    • -30
    • +1
make treeview more compact

Deprecated trivial private ad_user_login wrapper, which is already a public api

Promote logics in auth::authentication::Authenticate to a public api, which unfortunately cannot be the same due to the inconsistent naming, hence we have to create a new alias


- the proc provides some value to the user by choosing the right contract implementation depending on the authority

- we found occurrences in other packages downstream, and as internally this proc is calling only public api, one could just duplicate the whole thing and be compliant with our standards, which is not an improvement IMO

- the proc was already tested and documented

Update doc following the acs_named_objects phasing out, this escaped the commit back in the days

Remove leftover

Refactoring, as proctoring files are not only pictures, make api public, write automated test

break overlong lines

stick to content-repository API instead of duplicating code here.

Use better timing idiom

Fixed var name and add warning for 'cr_file_name' being empty (the latter ported from downstream, originally made by Günter Ernst)

new function: ::content::revision::export_to_filesystem

This change moves functionality from file-storage to acs-content-repository.

all application packages should be free of internals, such as the storage

type. Storage_type should be handeled in the content-repository package.

We are not yet done, there is still more to do in this respect in

the file-storage package.

break overlong lines

improve comments

make actions changed from the background state-safe

    • -3
    • +3
Implement a checksum + cache mechanism to check whether user is sending the same file multiple times:

this is needed to address the problem of timeouts, where the server might process a request even when the client has given up and rescheduled the upload. We now store the latest checksum that has been received and compare it with the new picture.

file proctoring-support-init.tcl was initially added on branch oacs-5-10.

Whitespace changes + Editor hints

Replace deprecated API

Update spanish message keys

Update spanish message keys

    • -0
    • +4
Improve fix: do not even fetch the context_id for revisions, so we do not touch it when saving

Make sure that the context_id of a CRItem is always fetched from that of the item, rather than the revision, otherwise we could break object_id = context_id constraint on saving

write mutual overwrites to the system log

improve spelling

  1. … 3 more files in changeset.