• last updated 35 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- get rid of multiple definitions

- The C-library function tmpnam() is deprecated since a while. Therefore naviserver has deprecated ns_tmpnam as well.

Therefore we introduce a new function "ad_tmpnam" which requires just a minimal change and uses ns_mktemp.

  1. … 27 more files in changeset.
- use numeric comparison operator for truth value comparisons

- flatten nested "lindex" structures

  1. … 3 more files in changeset.
- 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. … 19 more files in changeset.
- 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.

- add missing nonpositional arg

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

- relplace deprecated "item::get_live_revision" by "content::item::get_live_revision"

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

  1. … 4 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

Using acs_permission__permission_p for checking persmissions instead of querying view acs_object_party_privilege_map (for PG >= 8.4).

    • -0
    • +43
    ./file-storage-procs-postgresql.xql
  1. … 4 more files in changeset.
- remove unneeded colon

Fixes Bug#3176 remove extra column from subquery in where clause

1. Package uninstantiate now cleans up the instance's root folder.

2. Package drop works.

  1. … 3 more files in changeset.
1. Merge 2.4.1 to HEAD other than assessment, imsld, lorsm, and views.

2. Bump version numbers to 2.5.0d1.

  1. … 376 more files in changeset.
Removed the condition to build extra_vars so it won't be NULL, otherwise a null value was causing the query to retrieve URLs of items to fail.

Grabbing a folder's parent_id AFTER YOU DELETE THE FOLDER doesn't work all

that well.

Fixed error with fs_context_bar_list: argument extra_vars isn't use. Add extra_vars to query.

Removed duplicated implementation of search::url

1) Fix image handling. Accidentally commented out by a previous

commit!

2) Fix storage type handling. DO NOT SET storage type to empty string

which is always invalid. I have no idea why that was changed. There is

no reason to check the indbp parameter twice.

HTML Strict cleanup

  1. … 12 more files in changeset.
Merged oacs-5-3 branch to HEAD

  1. … 187 more files in changeset.
Fixed link with view package

  1. … 1 more file in changeset.
Fixing bug where label is called but name is meant preventing the proc from dying if the owner does not exist. Also adding the file extension to published file names (if it isn't already at the end of the file) so that a users default application is used instead of asking the user to select an application for a file that may be a doc, pdf, jpg, etc.

Adding support for the categorization of files (if the CategoriesP parameter is enabled for a package instance). Version is increased to 5.4.0d3 and folder, file and simple www/*-edit-2 files were removed and consolidated into www/*-edit.

  1. … 33 more files in changeset.
Added missing implementation for search::url and fixed datasource(title) ($ was missing)

Allow supressing notifications

After tedious searching for the errors, fixed the callbacks and added the missing ones

    • -27
    • +15
    ./file-storage-callback-procs.tcl
Don't call content::type::content_type_p procedure, it does not exist.

Merging dotlrn-all and dotlrn-extras from oacs-5-2

    • -222
    • +20
    ./test/file-storage-procs.tcl
  1. … 881 more files in changeset.