• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Fix bug where content_type is not set. We need to check if an uploaded

file's mime type is mapped to image. Later the code uses the passed in

other_type or image_type parameter to set the actual content type of

the item created. The code only checks for image or not image, so we

don't need to find out every type mapped to the upload file's mime type.

  1. … 1 more file in changeset.
Fix cr_import_content. Removed additional call to cr_registered_type_for_mime_type used inappropirately. Restored query removed in error on last commit.

  1. … 1 more file in changeset.
Closes bug#2520. Remove query to select content type from mime type. The content type must be passed in to cr_import_content (if it is not content_revision)

  1. … 1 more file in changeset.
Removed custom code from Heidelberg

throw a NOT_FOUND error for not found so we can 404 in things like photo-album/www/image/index.vuh

bugfix: default values for creation_user and creation_ip in item::new

  1. … 1 more file in changeset.
reverting back custom code

adding defaults to creation_user, creation_ip, content_type to content::item::new

  1. … 7 more files in changeset.
change ad_verify_and_get_user_id to ad_conn user_id, change ad_maybe_redirect_for_registration to auth::require_login, make some db_ and dt_ function -public

  1. … 689 more files in changeset.
commit to HEAD of merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040724 and jcd-merge-5-1-20050111

  1. … 2275 more files in changeset.
Fix documentation so it doesn't show up under the author tag.

merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040517 and jcd-merge-5-1-20040628 to HEAD

  1. … 687 more files in changeset.
Return content as string when string_p is true for file storage type.

Fixed bug#1823

merge changes on oacs-5-1 branch to head, changes between jcd-merge-20040420 and jcd-merge-5-1-20040517 were merged, head pre changes is jcd-merge-pre-20040517 and post is jcd-merge-post-20040517

  1. … 834 more files in changeset.
Make sure content_length is returned as 0 if its set to NULL in

cr_revisions.

merge all the changes on the oacs-5-1 and dotlrn-2-0 branches up to tag jcd-merge-20040420

  1. … 647 more files in changeset.
Allow images that are not subtypes of image to be uploaded, ie: for file-storage

  1. … 1 more file in changeset.
workaround another aolserver bug, this time with fastpath enabled ns_returnfile size 0 files fails

Add support for Content-Length header and HEAD method to cr_write_content for

lob storage method.

Include Jeff's trick to output a correct content-length for file storage

items from ns_returnfile.

Fix content-length support to use proper header name and actually check in

the queries that grab content length from cr_revisions.

  1. … 2 more files in changeset.
Fix reference to outputheaders, it should have been all lowercase.

send a content-length 0 header for empty files.

Remerge Timo's changes for tip 42,43, cf tip 53

  1. … 97 more files in changeset.
rollback of Timo's name, package_id commit; see TIP 53

  1. … 96 more files in changeset.
TIP#42,43: adding package_id and title to acs_objects table

  1. … 96 more files in changeset.
1. I made it possible to let content_template.new(), and its PG equivalent,

create a revision of the template by simply providing the template in the 'text'

param.

2. Bug-fixed content::init, content::get_content and some other procs related

to the index.vuh in the CR. Virtual URLs are now more or less supported for items

of any content type if they have a content template associated with them.

If a content item associates a template to it (by registering it), it will have precedence

over the type's template. It will transparently act as a default, in other words.

  1. … 16 more files in changeset.
merge of 4.6.3b1 to HEAD

  1. … 101 more files in changeset.