summaryrefslogtreecommitdiff
path: root/system/db/addon.go
AgeCommit message (Collapse)Author
2017-01-16[core] Adding toggle for CORS, GZIP in admin/cms configuration (#30)Steve
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)
2017-01-11attempting to force item.Types to be populated before the db Init stepSteve Manuel
2017-01-11adding []byte driven api vs. url.Values where ever possibleSteve Manuel
2017-01-10minor UI change and docs updateSteve Manuel
2017-01-10adding Init check in func called early in processSteve Manuel
2017-01-10adding db open back to Init and calling Init from other files init()Steve Manuel
2017-01-10now that we possibly create the __addon bucket here, tx type needs to be ↵Steve Manuel
writable
2017-01-10adding bucket in advance in case it doesnt exist and addon init is called ↵Steve Manuel
before db Init
2017-01-10adding initial support for third-party addons and the basic framework for ↵Steve Manuel
how they are registered by the system