summaryrefslogtreecommitdiff
path: root/system/api
AgeCommit message (Collapse)Author
2025-02-22fix: all hange s\/github.com\/ponzu-cms/github.com\/haturatu\/ghaturatu
2019-12-30Also add path to db filesMiguel Angel Ajo
2019-04-04removed []byte return on AfterAPIResponse, not needed)Ollie Phillips
2019-03-29passing data to hooksOllie Phillips
2019-03-29api before/after response hooksOllie Phillips
2018-05-09merge contributions (#246)Steve Manuel
* expanded help to mention need to import addon (#243) * Remove unused extra backtick (#239) * remove import for golang.org/net/x/http2, co-locate error message * update CI code to run --dev if on ponzu-dev branch * CI: ensure we have latest from ponzu-dev branch
2018-03-05added count and offset to search api (#232)Tornike Razmadze
2018-01-08Move defer statement into http handler function (#219)Rob Weber
2017-09-22adding data to struct in Update procedureSteve Manuel
2017-08-22fix error message in hookSteve Manuel
2017-08-15update Omittable, Pushable, interface to take res, req pair like Hooks, ↵Steve Manuel
update implementations & hydrate items
2017-06-26fixed problem with saving multiple repeaters closes #59 closes #167Tornike Razmadze
2017-05-24populate item hookable in API updateSteve Manuel
2017-05-24fixing data var redeclarationSteve Manuel
2017-05-24provide delete hooks with the itemPaul Ivanov
2017-05-21make a proper item for Hookable methodsPaul Ivanov
We have all of the information, it's nice to be access the item's members in a natural way, without having to look at the reqest.
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