Commit Graph

15 Commits

Author SHA1 Message Date
mniip
ab9aea90d6
Logging (#100)
* Refactor logging, using katip now

* Remove TH and use a more minimal log formatter

* Do better logging when calling control scripts

* Fix formatting

* Run with --debug --minimal when running a local dev instance

* Escape newlines in bracket formatter, pass logging options via env

* Fix fourmolu

* more efficient tabulate

* minimal -> not prodLogs

* default to non-debug prod logs

Co-authored-by: iko <ilyakooo0@gmail.com>
2021-10-13 17:06:43 +03:00
iko
6846403b7f
frontend hotfixes (#120)
* Fixed override editing

* Fixed debouncing overrides
2021-09-29 23:23:44 +03:00
iko
a2c8ab0915
refined calling control scripts (#116)
* Show errors from stdout to user in config check command

* Renamed control script arguments

* renamed variables
2021-09-29 14:49:21 +03:00
iko
3047ac3cfa
Added 30 minute timeout to all control scripts (#114) 2021-09-27 19:40:18 +03:00
iko
7f58a37427
Started catching cleanup failures (#113)
* Started catching cleanup failures

* Don't fail script
2021-09-27 16:58:19 +03:00
iko
071d58d0d2
Removed separate tag field, added config check and unified control script arguments (#109)
* Introduced config check

* Remove tag from frontend and redid all of search

* Added migrations

* Fixed layout

* Fixed search ordering

* Refined markup

* Imporved text for empty overrides

* Refined text

* Unified control scripts

* Formatting

* Fixed octo CLI

* Fixed build
2021-09-26 17:54:20 +03:00
iko
7303b130c1
Added caching of default overrides and keys (#99)
* Created Control.CacheMap

* Use record syntax

* Things seem to work

* Actually now use the defaults everywhere
2021-09-14 15:27:05 +03:00
iko
f0b4e4950f
Added an unarchive script (#89) 2021-09-07 14:12:41 +03:00
iko
4ce72d3408
Added override keys and default overrides scripts (#88)
* Refactored CS args

* format

* WIP

* Call scripts from backend

* Refactored frontend

* Added defaults to frontend

* Delay request

* Added keys

* things somewhat work

* things update

* Loading state

* better loop breaking

* Added bad loading animation

* Overrides are now stable

* Default values are now properly restored

* added sleep

* Removed unused functions

* wip: cleaned up api

* Added Data.UniqMap

* Cleaned up actions

* Extracted working overrides

* Minor refactoring

* new items appear at the top

* Use the CSV parser

* Disabled default key text fields
2021-09-07 14:01:06 +03:00
iko
648e654ece
Nixified css (#61)
* Nixified frontend

* Use single nixpkgs

* wip

* Remove prod folder and create www

* Format

* Nixified first dev scripts

* Moved all caddy to nix
2021-08-20 19:31:28 +03:00
iko
24ff550a49
Fixed override issue on frontend (#55)
Co-authored-by: iko <iko@Daryas-MBP.lan>
2021-07-28 14:27:37 +03:00
iko
9309794079
Removed TLS Auth in favour of headers (#54)
* Removed TLS Auth in favour of headers

* chart changes to work with auth header instead of certs

* chart version bump up

* Warnings and formatting

* Removed extra deps

* Split module sources

* Removed extra TLS args

* Slimmed down docker images and added certs to octo cli

* Simplified docker images

* Increased swap

* Added entrypoint to env veriables in docker images

* refactor cli options + get rid of tls options

Co-authored-by: Aleksei Sizov <a.sizov@typeable.io>
Co-authored-by: iko
2021-07-28 14:27:37 +03:00
iko
ac83908e80 Refactored status changes and added deployment locking (#24)
* First stab at refactoring status transitions

* Removed 'archived' column from database

* Added deployment locking

* Added transition possibility assertion at the start of background tasks

* Added a notification control script (#27)

* Added notification script

* Updated docs

* Fixed link

* fixed link

* Fixed response error body rendering

* Resolved comments and fixed some bugs after rebasing

* added info script back in
2021-07-16 15:56:18 +03:00
iko
fe69f08eec Added Kubernetes Dashboard button to Web UI (#14)
* Added logs url support to the frontend

* Added k8s dashboard URL to charts and deployment guide

* Added troubleshooting to FAQ

* Tweaked docs.

* Resolved comments

* Renamed button to Details
2021-01-25 18:40:35 +03:00
iko
9bcfdcf065 Improved handling metadata links (#9)
* Added link titles

* Preserve metadata ordering

* Added dev run commands to Makefile

* Added explanation to the development guide

* Made caddy 2 the only config since we probably don't want to maintain two versions.

* Use `id` instead of `ord`

* Added ghcid version of Caddyfile

* Renamed staging to deployment
2021-01-25 18:40:35 +03:00