• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix spelling errors

  1. … 49 more files in changeset.
Trust the users's mime_type when acceptable, or content names that are not filenames won't have a mime_type

Created new proc cr_check_mime_type, centralizing the retrieval of the mime_type from uploaded file's information.

Applied the new proc to the different situations in the system when we require mime_type retrieval: content-repository, file-storage and xotcl CrItem

TODO: get the real mime_type from the file content, but this would require some modification in the data model.

  1. … 7 more files in changeset.
- fix lob interface (especially for portraits)

  1. … 5 more files in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
Avoid log file pollution on systems that lack a (full) content repository (e.g. development-clones of large production systems)

Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- fix invalid @param declarations for API browser

  1. … 10 more files in changeset.
- use "in" operator instead of "lsearch"

- use numeric comparison operator for truth value comparisons

  1. … 3 more files in changeset.
- make ad_return deprecated; maybe this function was useful for ancient versions of tcl, but as it is, it does not make sense (see comment in code)

  1. … 1 more file in changeset.
- modernize tcl

  1. … 9 more files in changeset.
- use standard error message reporting

  1. … 1 more file in changeset.
- get rid of empty_string_p

  1. … 3 more files in changeset.
- Don't require ad_returnfile_background to be a proc

Implements TIP #142: Administration UI to manage mime types and extension map

  1. … 15 more files in changeset.
Avoid implict binary encoding by setting encoding flag explicitly; see http://openacs.org/forums/message-view?message_id=2478560

deactivate background_delivery for connections via nsopenssl

deactivate background_delivery for connections via nsopenssl

Support for relative file locations which might even reside on a windows drive and therefore start with d:\

  1. … 6 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Fix Bug#3056. sn_gifsize should be ns_gifsize.

Fix Bug#3056. sn_gifsize should be ns_gifsize.

Fix typo sn_gifsize should be ns_gifsize. Bug#3056. Thanks to Jon

Griffin for finding it and for the patch.

Reverted all changes from Mannheim

  1. … 222 more files in changeset.
Mannheim update, fix and merge bugbash

  1. … 197 more files in changeset.
Added background delivery of files

Merged acs-core oacs-5-2 (currently 5.2.3) -> HEAD.

TODO:

1. Bump acs-core package version numbers to 5.3.0d1

2. Would be nice to do a test install, wouldn't it?

  1. … 721 more files in changeset.
Allow png to be uploaded as images

We had the issue that some content was not uploaded properly and we want to make sure to give back some kind of error to the user. This is why we wrap it.

Rolling in daveb's mime type patches from oacs-5-2

  1. … 1 more file in changeset.