summaryrefslogtreecommitdiff
path: root/system/admin/server.go
AgeCommit message (Collapse)Author
2025-02-22fix: all hange s\/github.com\/ponzu-cms/github.com\/haturatu\/ghaturatu
2019-12-29Allow data directories outside pwdMiguel Angel Ajo
Running ponzu-cms inside a docker container, and maintaining data files in a volume (or several) was not possible with the previous directory schema without copying files or binaries to the volume. This commit adds several environment variables to allow the administrator to specify paths for directories while retaining backwards compatibility. - PONZU_DATA_DIR : is the directory where all the data and other directories will be stored, still the other directories can be controlled by the other env variables. - PONZU_TLS_DIR : is the directory to store devcerts and autocerts - PONZU_ADMINSTATIC_DIR : directory where the admin static files are served from. - PONZU_UPLOAD_DIR: upload files directory - PONZU_SEARCH_DIR: index directory for searches
2017-05-29adding --docs and --docs-port flags to config and run local docs serverSteve Manuel
2017-05-15adding csv format interface and handler implSteve Manuel
2017-04-29add delete procedure and implementation for uploadsSteve Manuel
2017-04-29adding search, edit/new, and list view for uploadsSteve Manuel
2017-04-29fmt bytes to readable and update setupload logic to allow editsSteve Manuel
2017-04-29adding view and links to admin/managerSteve Manuel
2017-01-24[core] System backups (uploads, system.db, analytics.db) (#42)Steve
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-11moving addon handlers back into admin packageSteve Manuel
2017-01-11moving addon handlers to addon package to avoid import issuesSteve Manuel
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-02minor cleanup, removal of old codeSteve Manuel
2016-12-19moving repository, bosssauce => ponzu-cmsSteve Manuel
2016-12-06re-order middleware so Record is called even if cache is activeSteve Manuel
2016-12-06adding cache (client-based, Etag) to API responses in addition to static ↵Steve Manuel
files uploaded
2016-12-06/*post?s*/ => /*content?s*/ substitutionSteve Manuel
2016-11-16testing restricted file server to limit public access from listing directory ↵Steve Manuel
contents
2016-11-09adding initial partial implementation of account recovery flowSteve Manuel
2016-10-30adding initial code for merging pending to private contentSteve Manuel
2016-10-29initial set up for external/internal toggle viewSteve Manuel
2016-10-22adding initial support to edit and add admin usersSteve Manuel
2016-10-13adding admin server handler for deleting contentSteve Manuel
2016-10-10removing debug and old codeSteve Manuel
2016-10-09adding static file server, new implementationSteve Manuel
2016-10-09adding static file server, new implementationSteve Manuel
2016-10-09adding static file server, new implementationSteve Manuel
2016-10-09returning absolute import paths, will move to vendor in future commitSteve Manuel
2016-10-09renaming import paths globally to ensure build is using new files, not ones ↵Steve Manuel
from original repo
2016-10-09updating import pathsSteve Manuel
2016-10-07adding cache control and etags to responses for static assets + moved ↵Steve Manuel
handlers/helper upload func
2016-10-06moved all handlers outside of callers. may need to split up handlers in to ↵Steve Manuel
grouped files
2016-10-06adding authentication & token-based persistence for users, init setup for ↵Steve Manuel
first-use, pulling out some handlers into separate file for readability and navigation
2016-10-05removing some debug printlnsSteve Manuel
2016-10-04implementing support for file uploads, fixing some content issues with ↵Steve Manuel
non-standard characters, removing base64 encoding of content
2016-10-02adding new routes, UI and admin interface stylesSteve Manuel
2016-09-29added parsing and formatting code for inbound data formatted specially for ↵Steve Manuel
gorilla/schema struct decoding. these values are normalized for db insertion
2016-09-24creating JSON API server, initial version workingSteve Manuel