summaryrefslogtreecommitdiff
path: root/system/api
AgeCommit message (Collapse)Author
2017-04-29adding search, edit/new, and list view for uploadsSteve Manuel
2017-04-25adding support for file upload type and API handler to fetch file infoSteve Manuel
2017-04-21add context cancellation to backup routinesErwin Ticzon
2017-04-17package documentation for godocSteve Manuel
2017-04-13moving search into own package and renaming funcs throughoutSteve Manuel
2017-04-11adding push support to search, only first matched resultSteve Manuel
2017-04-11change implementation of search to opt-in per type, less risky if sensative ↵Steve Manuel
data is added
2017-04-07add initial implementation of api search handler with full-text search by typeSteve Manuel
2017-03-20separate UpdateContent and SetContent to differentiate when data should be ↵Steve Manuel
merged or replaced
2017-03-16Typo fixesferhat elmas
2017-03-15updating DeleteContent signature to remove requirement of url.Values, will ↵Steve Manuel
instead to a lookup in content before the delete to get slug, etc
2017-03-15changing API for external client interaction. Externalable -> Createable, ↵Steve Manuel
+Deleteable, changing Hookable interface methods to conform to pattern: BeforeAPI$ACTION, etc.
2017-03-15changing API for external client interaction. Externalable -> Createable, ↵Steve Manuel
+Deleteable, changing Hookable interface methods to conform to pattern: BeforeAPI$ACTION, etc.
2017-03-15changing API for external client interaction. Externalable -> Createable, ↵Steve Manuel
+Deleteable, changing Hookable interface methods to conform to pattern: BeforeAPI$ACTION, etc.
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