Skip to content

Feature: Introduce Template Manage to Overleaf-Pro #6

@ayaka-lab

Description

@ayaka-lab

Following the Overleaf-CEP edition, we are here to build server-pro version's Template Gallery. Here are 2 Server Pro Instance:

It seems that they are all in template v1, also old fashioned, but that doesn't matter, it matters most in feature.

There are 4 apis concerned about template, at least in filestore:

if (settings.filestore.stores.template_files) {
  app.head(
    '/template/:template_id/v/:version/:format',
    keyBuilder.templateFileKeyMiddleware,
    fileController.getFileHead
  )
  app.get(
    '/template/:template_id/v/:version/:format',
    keyBuilder.templateFileKeyMiddleware,
    fileController.getFile
  )
  app.get(
    '/template/:template_id/v/:version/:format/:sub_type',
    keyBuilder.templateFileKeyMiddleware,
    fileController.getFile
  )
  app.post(
    '/template/:template_id/v/:version/:format',
    keyBuilder.templateFileKeyMiddleware,
    fileController.insertFile
  )
}

We need to build our own web modules.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions