Project

General

Profile

Actions

Feature proposal #5097

closed

Implement CBLib API classes

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

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
19 February 2015
Due date:
% Done:

100%

Estimated time:

Description

Pull out the API and turn it into CBLib API classes so it can be better utilized by other plugins and support auto loading. It show allow for easy gallery folder/item creation and display.

Actions #1

Updated by krileon over 8 years ago

This should function kind of like CB Activity. Basically a gallery API class that can render any gallery. Don't bother with heavy ajax functionality, but instead just use standard page views except use return handling like GJ is for returning to the correct location. This will allow custom galleries for basically anything.

Actions #2

Updated by krileon about 8 years ago

  • Target version changed from 724 to 2.0.0
Actions #3

Updated by krileon almost 8 years ago

Asset usage will be more strict here. Stream was a different beast and needed global stream capabilities, but galleries will always be specific to their asset (as will 99% other API usages).

Actions #4

Updated by krileon almost 8 years ago

Implement new way to pass stream parameters. Currently this is done via POST/GET variable, but as parameters are added this can get huge. Instead on gallery output store the params to user session by an id generated from asset (so it's obscured.. simple md5 is fine) then simply pass the id between pages to rebuild the gallery. This usage should be implemented in CB Activity as well. If the session data is lost and the id doesn't exist in session then the gallery construction should fail (and error).

Actions #5

Updated by krileon over 7 years ago

  • % Done changed from 0 to 80
Actions #6

Updated by krileon over 7 years ago

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

Updated by krileon over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF