• last updated 45 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
1. removed some needless LARS notices

2. removed acs_methods and friends from the permissions documentation

and got rid of the commented-out table stubs.

3. dropping of permissions was broken in PG, fixed that.

4. cc_users and registered_users views have been sped up.

5. removed an unused and incorrect proc from revision-procs

6. updated acs-kernel to 4.6.3

-------------------------------------------------------------------------------------

  1. … 11 more files in changeset.
- Adds table cr_extension_mime_type_map,

- Adds function cr_filename_to_mime_type [-create] filename

- Adds function cr_create_mime_type -extension -mime_type -description

- Removes *_maybe_create_new_mime_type

- Updates acs-content-repository to 4.6.3. Ugrade scripts provided.

- Updates dependency information for several packages.

- Adds most mime types plus comprehensive list of extension to mime-typemappings.

- Maps .c .h .c++ .pl etc to text/plain

  1. … 20 more files in changeset.
Merge of all changes from oacs-4-6 to HEAD. All changes up to tag jcd-merge-2

on oacs-4-6 are included.

  1. … 33 more files in changeset.