• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fixes for download-zip:

- require login for zip-downloads (keep away spiders)

- return "not found" on if ids are no acs-objects

- clean temp-files on errors

- add missing message key

    • -0
    • +2
    ./catalog/file-storage.en_US.ISO-8859-1.xml
- fix bracing

- new style string expressions

- brace expressions to allow for tcl compilation

- use "in" or not in (ni) operator instead of lsearch

- bump version number

  1. … 9 more files in changeset.
- use "lassign" instead of "foreach ... break" idiom

  1. … 4 more files in changeset.
- completing/improving .info files of major packages

  1. … 9 more files in changeset.
- use standard "not found" message instead of deprecated calls

- fix bug with exporting multiple "unnamed files" to the file-system

When there are multiple "unnamed files" in a directory,

the constructed full_name might exist already. This

would lead to an error in the "file copy"

operation. Therefore, the code generates a new name with an

alternate suffix in such cases.

- fix incorrect message key names

- add missing message key

    • -1
    • +1
    ./catalog/file-storage.en_US.ISO-8859-1.xml
- use property "doc(title)" throughout oacs-5-8 instead of "title" to get rid of warnings in error.log of the form:

Warning: /forums/message-view has no doc(title) set.

Using doc(title) is required in blank-master.tcl but was used so far only in a few packages

  1. … 323 more files in changeset.
- add missing nonpositional arg

- replace deprecated "item::get_url" by "content::item::get_virtual_path"

- add default value

- replace deprecated "export_url_vars" by "export_vars -url"

- fix bracing in "export_vars -form"

  1. … 119 more files in changeset.
- bump version numbers

  1. … 39 more files in changeset.
- modernize tcl

  1. … 4 more files in changeset.
- replace deprecated "ad_parameter" by "parameter::get"

  1. … 7 more files in changeset.
- relplace deprecated "item::get_live_revision" by "content::item::get_live_revision"

- replace deprecated "ad_parameter" by "parameter::get"

- replace deprecated "ad_require_permission" by "permission::require_permission"

  1. … 59 more files in changeset.
- replace deprecated ad_permission_p with permission::permission_p

  1. … 28 more files in changeset.
- update release dates in .info files to make it easier to spot, what old versions are installed

  1. … 36 more files in changeset.
- require for all packages in oacs-5-8 branch acs-kernel 5.8.0

  1. … 13 more files in changeset.
provide package_id to cr_import_content calls within fs::add procs so that objects reflect the package they are created in

- added victor's patch to omit deprecated messages of "ns_info tcllib". Background: naviserver supports multiple (virtual) servers, which might have different tcllibs. Therefore, the preferred command to query this was moved to "ns_server ?-server s? tcllib" and "ns_info tcllib" was deprecated. From the OpenACS point of view, one wants to locate the actual library. Since the variable does not change, it is fine to store it in a per-thread variable which can be efficiently accessed.

  1. … 21 more files in changeset.
Using acs_permission__permission_p for checking persmissions instead of querying view acs_object_party_privilege_map (for PG >= 8.4).

    • -0
    • +43
    ./tcl/file-storage-procs-postgresql.xql
- fix $$ quoting in upgrade scripts

  1. … 2 more files in changeset.
- fix collateral damage in upgrade scripts of file-storage

- update postgres function to modern style plpgsql definitions using dollar quoting

    • -12
    • +13
    ./sql/postgresql/file-storage-create.sql
    • -8
    • +15
    ./sql/postgresql/file-storage-drop.sql
    • -26
    • +33
    ./sql/postgresql/file-storage-notifications-create.sql
    • -292
    • +408
    ./sql/postgresql/file-storage-package-create.sql
    • -258
    • +325
    ./sql/postgresql/upgrade/upgrade-4.2-4.6.sql
    • -21
    • +37
    ./sql/postgresql/upgrade/upgrade-4.6.1-4.6.2.sql
    • -85
    • +94
    ./sql/postgresql/upgrade/upgrade-4.6.2-4.6.3.sql
    • -28
    • +31
    ./sql/postgresql/upgrade/upgrade-4.6.3-5.0.0.sql
  1. … 27 more files in changeset.