Project

General

Profile

Actions

Feature proposal #6213

closed

Implement additional assets

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

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
19 September 2016
Due date:
% Done:

100%

Estimated time:

Description

connections = display the gallery owner and his connections media only
connectionsonly = display the gallery owners connections media only

self = sets asset to the viewing user
self.connections = same as connections, but with gallery owner changed to viewer
self.connectionsonly = same as connectionsonly, but with gallery owner changed to viewer

displayed = sets the asset to the displayed user
displayed.connections = same as connections, but with gallery owner changed to displayed
displayed.connectionsonly = same as connectionsonly, but with gallery owner changed to displayed

user = sets the asset to the displayed user if available otherwise fallback to self
user.connections = same as connections, but with gallery owner changed to displayed or viewer
user.connectionsonly = same as connectionsonly, but with gallery owner changed to displayed or viewer

These should all be handled directly in the _constructor with query additions for connections/connections only. This means they'd translate as follows in constructor.

connections = profile.42.connections
connectionsonly = profile.42.connectionsonly

The below assumes we're viewing the user with id of 68 and logged in with id of 42.

self = profile.42
displayed = profile.68
user = profile.68

Actions #1

Updated by krileon about 8 years ago

Combine displayed and user as just displayed. A gallery can't function without an asset and adding checks all over the place for this condition isn't acceptable.

Actions #2

Updated by krileon about 8 years ago

n/m user and displayed can work as originally noted. Just needs to set user to guest to hide the results as needed.

Actions #3

Updated by krileon about 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

All implemented as shown above.

Actions #4

Updated by krileon almost 8 years ago

  • Target version changed from 2.1.0 to 2.0.1
Actions #5

Updated by krileon over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF