Project

General

Profile

Actions

Feature proposal #5590

closed

Redo attachments usage

Added by krileon over 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04 November 2015
Due date:
% Done:

100%

Estimated time:

Description

The attachments usage doesn't make much sense variable wise. Improve the variables and implement additional variable to specify the target so stored usages can specify their target directly.

Actions #1

Updated by krileon over 8 years ago

If there's a title then link to the title and hide the footer URL. If there's a hypertext then always show the footer URL. If there's no title then show footer with hypertext OR just the URL. Then change the "internal" toggle to behave as the _blank target toggling.

Actions #2

Updated by krileon almost 8 years ago

The template for attachments should also be moved out of activity. If it needs to be location specific (probably does as comment attachments probably will look different) then call it activity_attachments.php.

Additionally improve sanity checks on metadata (run Get::clean on them).

Actions #3

Updated by krileon over 7 years ago

  • Target version changed from 754 to 4.0.0
Actions #4

Updated by krileon over 7 years ago

  • % Done changed from 0 to 40
Actions #5

Updated by krileon over 7 years ago

There is no longer a hypertext usage. Translations and substitutions also removed. This is expecting the values to come from a user. Auto actions using it MAY have some invalid output until updated to respect this. Custom media type is meant for plugins to utilize if they need to add a stored attachment. Internal URL usage (when target and nofollow is added) is entirely based off checking if the URL belongs to the site (so this is automatic now and no longer set).

Actions #6

Updated by krileon over 7 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 40 to 100
Actions #7

Updated by krileon about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF