Documentation ¶
Index ¶
- Constants
- Variables
- type CFeature
- func (f *CFeature) DraftExists(info *editor.File) (present bool)
- func (f *CFeature) EditorMenu(r *http.Request) (m menu.Menu)
- func (f *CFeature) FileExists(info *editor.File) (exists bool)
- func (f *CFeature) Init(this interface{})
- func (f *CFeature) IsEditorFileLocked(fsid, filePath string) (eid string, locked bool)
- func (f *CFeature) ListFileSystemDirectories(r *http.Request, fsid, code, dirs string) (list editor.Files)
- func (f *CFeature) ListFileSystemFiles(r *http.Request, fsid, code, dirs string) (list editor.Files)
- func (f *CFeature) ListFileSystemLocales(fsid string) (list editor.Files)
- func (f *CFeature) ListFileSystems() (list editor.Files)
- func (f *CFeature) LockEditorFile(eid, fsid, filePath string) (err error)
- func (f *CFeature) Make() (feat Feature)
- func (f *CFeature) PrepareEditableFile(r *http.Request, info *editor.File) (editFile *editor.File)
- func (f *CFeature) PrepareRenderFileEditor(w http.ResponseWriter, r *http.Request) (pg feature.Page, ctx context.Context, info *editor.File, currentUser string, ...)
- func (f *CFeature) ProcessMountPointFile(r *http.Request, printer *message.Printer, ...) (ef *editor.File, ignored bool)
- func (f *CFeature) PublishDraft(info *editor.File) (err error)
- func (f *CFeature) ReadDraft(info *editor.File) (contents []byte, err error)
- func (f *CFeature) ReadDraftMatter(info *editor.File) (pm *matter.PageMatter, err error)
- func (f *CFeature) ReadFile(info *editor.File) (data []byte, err error)
- func (f *CFeature) ReceiveFileEditorChanges(w http.ResponseWriter, r *http.Request)
- func (f *CFeature) RemoveDirectory(info *editor.File) (err error)
- func (f *CFeature) RemoveDraft(info *editor.File) (err error)
- func (f *CFeature) RemoveFile(info *editor.File) (err error)
- func (f *CFeature) RenderFileBrowser(w http.ResponseWriter, r *http.Request)
- func (f *CFeature) RenderFileEditor(w http.ResponseWriter, r *http.Request)
- func (f *CFeature) SiteFeatureMenu(r *http.Request) (m menu.Menu)
- func (f *CFeature) Startup(ctx *cli.Context) (err error)
- func (f *CFeature) UnLockEditorFile(fsid, filePath string) (err error)
- func (f *CFeature) WriteDraft(info *editor.File, contents []byte) (err error)
- func (f *CFeature) WriteFile(info *editor.File, data []byte) (err error)
- type Feature
- type MakeFeature
Constants ¶
View Source
const Tag feature.Tag = "fs-editor-themes"
Variables ¶
View Source
var ( DefaultEditorType = "theme" DefaultEditorKey = "themes" )
Functions ¶
This section is empty.
Types ¶
type CFeature ¶
type CFeature struct { fs_editor.CEditorFeature[MakeFeature] }
func (*CFeature) IsEditorFileLocked ¶
func (*CFeature) ListFileSystemDirectories ¶
func (*CFeature) ListFileSystemFiles ¶
func (*CFeature) ListFileSystemLocales ¶
func (*CFeature) ListFileSystems ¶
func (*CFeature) LockEditorFile ¶
func (*CFeature) PrepareEditableFile ¶
func (*CFeature) PrepareRenderFileEditor ¶
func (*CFeature) ProcessMountPointFile ¶
func (*CFeature) ReadDraftMatter ¶
func (*CFeature) ReceiveFileEditorChanges ¶
func (f *CFeature) ReceiveFileEditorChanges(w http.ResponseWriter, r *http.Request)
func (*CFeature) RemoveDirectory ¶
func (*CFeature) RenderFileBrowser ¶
func (f *CFeature) RenderFileBrowser(w http.ResponseWriter, r *http.Request)
func (*CFeature) RenderFileEditor ¶
func (f *CFeature) RenderFileEditor(w http.ResponseWriter, r *http.Request)
func (*CFeature) SiteFeatureMenu ¶
func (*CFeature) UnLockEditorFile ¶
func (*CFeature) WriteDraft ¶
type Feature ¶
type Feature interface { feature.EditorFeature }
type MakeFeature ¶
type MakeFeature interface { feature.EditorMakeFeature[MakeFeature] Make() Feature }
func New ¶
func New() MakeFeature
func NewTagged ¶
func NewTagged(tag feature.Tag) MakeFeature
Click to show internal directories.
Click to hide internal directories.