Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
'addoon' => 'addon'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This PR enables admins to disable/enable CORS and GZIP from within the admin CMS configuration page. Both are enabled by default.
Note: currently, the GZIP implementation is 100% on the fly, for every qualifying API endpoint request. This could add significant CPU usage, but dramatically decreases bandwidth. Will be considering other better implementations, but for now YMMV.
Possible optimizations:
- pooling gzip Writers vs. creating a new one for each response
- caching gzipped responses (in memory? on disk?)
- enforcing size threshold (only gzip content larger than N bytes)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
initialization func
|
|
how they are registered by the system
|
|
|
|
* adding addons dir and sample addon which enables the use of a new input element in forms for referencing other content. "addons" is a conceptual plugin-like feature, similar to wordpress "plugins" dir, but not as sophisticated
|
|
|
|
add/delete features
|
|
types with "_" as a separator and not face conflicts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
posted content
|
|
run in goroutine on db.Init() as well as any time content is saved via SetContent
|
|
run in goroutine on db.Init() as well as any time content is saved via SetContent
|
|
run in goroutine on db.Init() as well as any time content is saved via SetContent
|
|
run in goroutine on db.Init() as well as any time content is saved via SetContent
|
|
|
|
|
|
from original repo
|
|
|
|
handlers/helper upload func
|
|
|