This repository was archived by the owner on Aug 23, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 814
Things to deprecate
Rick Bergfalk edited this page Apr 6, 2020
·
2 revisions
Things to maybe deprecate maybe and why.
-
debugmode- Added mock driver and additional logging
- Already in the process of being removed as it is more of a dev config item
- Replaced by
- log level "debug" will log more info than you probably want
- sqlite driver means using local embedded db for development and testing (no need for mock driver)
- HTTPS via Node.js (
certPath,keyPath,certPassphrase,httpsPort)- Added to run SQLPad under https without front-end proxy
- Why deprecate?
- Node.js doesn't handle cpu intensive tasks well
- Fronting node with nginx or other is recommended
- Base url (
baseUrl/SQLPAD_BASE_URL)- Added to "mount" sqlpad under a certain url base (like
somedomain.com/sqlpadinstead of using subdomain likesqlpad.somedomain.com - Why deprecate?
- Current creative workarounds in place to make this a config-level change as opposed to a build-step change
- front-end code splitting does not work as module loading calls are incorrect
- Removing this simplifies the build step and related code
- Added to "mount" sqlpad under a certain url base (like
-
tableChartLinksRequireAuth- Allowed accessing table/chart only pages without authentication if disabled
- Why deprecate?
- Implementing this exposes certain APIs to be widely open, for all queries.
- It will be easier to maintain routes securely when removed
- A special sharing link can be implemented in place if necessary (unsure how many are using this feature)