summaryrefslogtreecommitdiff
path: root/system/api
AgeCommit message (Collapse)Author
2017-03-09ErrNoAuth from either BeforeAcceptUpdate or AcceptUpdate returns 401Kevin Keuning
2017-03-07checking Error() equality on recursive push errSteve Manuel
2017-03-07adding catch for ErrRecursivePush log and ignoring null valuesSteve Manuel
2017-03-05updated loggingKevin Keuning
2017-03-05consolidate UpdateContent into SetContentKevin Keuning
2017-03-02added UpdateContent for merge behavior on api updates, extended HookableKevin Keuning
2017-03-01added logging for failed user validation on api updateKevin Keuning
2017-03-01adding update to apiKevin Keuning
2017-03-01adding updated version of omitSteve Manuel
2017-02-13adding check for nil pusher in gzipResponseWriter typeSteve Manuel
2017-02-13updating omit implementationSteve Manuel
2017-02-13adding item.Omittable interface for field-level omission of data in ↵Steve Manuel
responses, implementation in handler and separating source into individual files for other interface impls
2017-02-09remove req.URL.Path from the push target so non-content paths like uploads ↵Steve Manuel
can be pushed too
2017-02-07adding hooks for before/after accept on external handler and implementation ↵Steve Manuel
in item.Item
2017-02-06[core] add support for DB indexes (#62)Steve
* fix typo in log message * update namespace to use prefix __index_ to avoid possible user conflicts
2017-01-31fixes #56 godoc linkBrian Ketelsen
2017-01-30[core] Return data from api.Externalable requests for client to use in app (#55)Steve
* add json response to externalable requests so client can use data in apps * bump version
2017-01-26[core] Embedded and implement http.Pusher into http.ResponseWriter+gzip ↵Steve
Writer (#47) * added http Pusher interface to gzip response writer * implement Pusher on gzipResponseWriter and pass encoding header to pusher options * providing a generic error view fuction for code that calls a interface method which will have access to the response * fix []byte -> string type for fmt string * adding the res, req pattern for method arguments in interfaces and their method calls * fix for spacing in generic error message * remove default error views displayed in lifecycle hooks - will rely on custom views or redirects inside hook now that user has ResponseWriter. Otherwise, multiple WriteHeader calls would be warned * removing WriteHeader calls before return in external handlers * bump version 0.8.1
2017-01-25[core] implement http.Pusher on our composite gzip/response writer (#45)Steve
2017-01-24[core] System backups (uploads, system.db, analytics.db) (#42)Steve
2017-01-20removing fmt prints. fix is for #38Steve Manuel
2017-01-20adding fix for consistent order in repeaters and multi-value field inputsSteve Manuel
2017-01-19adding CORS middleware to external API endpoints for browser complianceSteve Manuel
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-10adding initial support for third-party addons and the basic framework for ↵Steve Manuel
how they are registered by the system
2017-01-08adding error type rather than string as exported var from itemSteve Manuel
2016-12-30updating error in addond and checking for nil prior to clling method on errSteve Manuel
2016-12-30update Hide method in Hideable interface, change GMT label to UTCSteve Manuel
2016-12-30adding hide to types handlerSteve Manuel
2016-12-30adding Hideable interface and initial implementation, allowing user to ↵Steve Manuel
define content that can be kept private
2016-12-29adding req as param to push, initially to get URL Path for http.Pusher#PushSteve Manuel
2016-12-29adding http package importSteve Manuel
2016-12-29move push func to separate file and adding tidwall/gjson to creditsSteve Manuel
2016-12-29adding initial implementation of HTTP/2 server push to single content api ↵Steve Manuel
reponses
2016-12-25adding more error handling on buffer writes, removing old codeSteve Manuel
2016-12-22adding fix for js in repeaters (mainly FileRepeater) and cleanup of form ↵Steve Manuel
value transforms
2016-12-20indicating analytics in chart are GMTSteve Manuel
2016-12-19moving repository, bosssauce => ponzu-cmsSteve Manuel
2016-12-19[addons] Creating foundation for plugin-like system "Addons" (#24)Steve
* 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
2016-12-14adding db method ContentBySlug to lookup the type & id of content by its ↵Steve Manuel
slug and return it directly
2016-12-13deleting old records after storing in metrics as a cacheSteve Manuel
2016-12-13adding fix for metrics storage and cachingSteve Manuel
2016-12-13testing memory cache of current metrics rather than lookup in dbSteve Manuel
2016-12-13flipping comparison to match previous op changeSteve Manuel
2016-12-13changing or -> and op in checkSteve Manuel
2016-12-13removing debug prints and adding a check for data cached or needs analysisSteve Manuel
2016-12-12adding debug printsSteve Manuel
2016-12-12pulling data range literals out to const, adding check if metric count is 0 ↵Steve Manuel
before writing to cache
2016-12-12using dates as range for metrics putSteve Manuel
2016-12-12inserting metrics data into cacheSteve Manuel