1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 21:33:18 +01:00
Commit Graph

32 Commits

Author SHA1 Message Date
Amir Raminfar
ee37d7c30e Adds i18n support with vue-i18n (#1870)
* Adds asset changes for i18n

* Adds asset changes for i18n

* Adds vite configs

* Adds auto import and cleans up props

* Initital localzation

* Fixes dockerfile

* Fixes tests

* Updates fixutres

* Updates default lang
2022-09-08 15:40:26 -07:00
Amir Raminfar
c835f51cc4 Support for JSON logs (#1759)
* WIP for using json all the time

* Updates to render

* adds a new component for json

* Updates styles

* Adds nesting

* Adds field list

* Adds expanding

* Adds new composable for event source

* Creates an add button

* Removes unused code

* Adds and removes fields with defaults

* Fixes jumping when adding new fields

* Returns JSON correctly

* Fixes little bugs

* Fixes js tests

* Adds vscode

* Fixes json buffer error

* Fixes extra line

* Fixes tests

* Fixes tests and adds support for search

* Refactors visible payload keys to a composable

* Fixes typescript errors and refactors

* Fixes visible keys by ComputedRef<Ref>

* Fixes search bugs

* Updates tests

* Fixes go tests

* Fixes scroll view

* Fixes vue tsc errors

* Fixes EOF error

* Fixes build error

* Uses application/ld+json

* Fixes arrays and records

* Marks for json too
2022-08-16 13:53:31 -07:00
Amir Raminfar
7901c21843 Pinia (#1606)
* Migrates to pinia

* Does more pinia migration

* Fixes types

* Move pinia

* Adds search cleans up pinia

* Removes unused files

* Removes vuex

* More clean up

* Makes js tests pass

* Fixes bugs and removing active container
2021-11-20 15:22:13 -08:00
Amir Raminfar
412a10256d Vue3 (#1594)
* WIP vue3

* WIP vue3

* WIP vue3

* Migrates to vitejs

* Fixes js tests and removes not needed modules

* Fixes unmount

* Updates to use css instead for space

* Fixes tests and rebases one more time

* Uses orgua

* Fixes migrations bugs with oruga and fixes scroll

* Fixes v-deep

* Fixes icons to prod

* Fixes icons to prod

* Adds favicon back

* Transitions some to composition api

* Updates another component to comp api

* Cleans defineProps

* Updates log messages

* Moves more to compose api

* Cleans up styles and rewrites event source

* Tries to fix DOMPurify

* Removes postcss

* WIP typescript

* Improves importing

* Converts all to ts

* Converts main to ts

* Makes changes for tsconfig

* Moves more to ts

* Adds typing to store

* More typing

* Updates to ts

* Updates the rest to ts

* Fixes computes

* Fixes unmount

* Adds cypress with custom base fixed

* Fixes jest tests

* Fixes golang tests

* Adds gitignore for cypress

* Removes int in favor of e2e with cypress

* Tries to fix int tests again

* Adds title

* Updates e2e tests

* Uses vue for isMobile

* Removes app spec

* Cleans up docker

* Adds drop down for settings

* Fixes bug with restart

* Fixes scroll up bug

* Adds tests for light mode
2021-11-16 10:55:44 -08:00
James Cote
49b39fb3af Add clear logs functionality (#1584)
* Add clear logs functionality

Other Changes:
- Add actions toolbar for actions pertaining to container logs
- Move Download button to actions toolbar, remove text and margin to match clear logs button
- Move search box below actions toolbar
- Turn off pointer events for scroll progress component so that Download button can be clicked
- Adjust spacing of container bar to accomodate the new actions toolbar

* Change actions toolbar into a floating menu

Other Changes:
- Move actions toolbar into its own component
- Move clear hotkey from LogEventSource to LogActionsToolbar, where the button is
- Move search back to where it was before
- Add tooltip component from buefy to annotate action buttons
- Add CSS variable for action toolbar background color, changes based on theme
2021-11-04 18:48:51 -07:00
Amir Raminfar
6bde7be53c Fixes nil pointer exception 2021-05-26 13:52:14 -07:00
Amir Raminfar
fc4a3d90d5 Fixes bug 2021-05-26 13:27:33 -07:00
Amir Raminfar
920acf4256 Fixes reconnection bugs (#1256)
* Fixes reconnect by sending lastEventId see #1246

* Cleans up colors and spacing

* Fixes tests
2021-05-26 12:05:55 -07:00
Amir Raminfar
04f3f56aa3 Reconnects if container starts running again (#1250)
* Cleans up code a little

* Tries to reconnect if container starts again
2021-05-25 14:53:26 -07:00
Amir Raminfar
ed80bff954 Set maximum buffer size fixes #1135 2021-04-09 14:24:42 -07:00
Amir Raminfar
e269cc4f63 Keep spaces. Maybe fixes #838 (#840) 2020-11-21 17:58:34 -08:00
Amir Raminfar
b148367618 Changes scroll progress to behave differently when fetching scroll back content. (#640) 2020-08-19 12:47:28 -07:00
Amir Raminfar
25ec792acb Uses console.error instead 2020-07-19 19:25:47 -07:00
Amir Raminfar
7ae9230e32 Adds cancel 2020-07-19 19:19:35 -07:00
Amir Raminfar
2ebb6d128d Created reset() 2020-07-19 17:16:39 -07:00
Amir Raminfar
cd7ea2f904 Uses .flush() 2020-07-19 17:13:05 -07:00
Bart Meuris
58fad3d105 Added ${config.base} when calling /api/logs?id=... (#582)
Co-authored-by: Bart Meuris <bart@mebasys.com>
2020-07-17 09:02:14 -07:00
Amir Raminfar
19ce70ba1c Removes html for templates 2020-05-23 16:20:54 -07:00
Amir Raminfar
ed3672cb54 Reverts onmessage 2020-05-13 19:12:54 -07:00
Amir Raminfar
14373f5123 Uses addEventListenr 2020-05-13 15:20:53 -07:00
Amir Raminfar
ca20f7c0a3 Makes changes to show all containers and event streams (#448) 2020-05-11 17:05:21 -07:00
Amir Raminfar
99f7e0d980 Implements Content-Security-Policy (#442) 2020-05-08 19:45:08 -07:00
Amir Raminfar
254faa7145 Fixes buffer bug 2020-05-07 15:22:47 -07:00
Amir Raminfar
d277b4e878 Fixes bad date 2020-04-27 15:07:04 -07:00
Amir Raminfar
682822eef7 Adds debug mode 2020-04-27 14:35:56 -07:00
Raphael Piccolo
d794ca1c7f support more timestamp formats (#405) 2020-04-27 12:03:51 -07:00
Amir Raminfar
024dd22896 Reformats code 2020-03-30 16:20:23 -07:00
Amir Raminfar
678b197d6a Fixes mobile to use document as container for scrolling (#223)
* Uses intersectionObserver instead

* Use intersectionObserver

* Updates mods

* Adds title when more than one container is active

* Updates logic to use native scrolling when only one logger view is open

* Fixes broken test

* Uses close instead of closed

* Fixes scrollingParent
2020-01-06 16:28:45 -08:00
Amir
04b219236c Uses from and to find a good time range 2019-12-18 17:24:21 -08:00
Amir Raminfar
c938b2ea1b Fetch more (#209)
* Adds code to fetch more

* Adds working in progress

* Adds debugging test

* Cleans up and creates a new component

* Adds debug logs

* Adds debounce for messages

* Fixes scrolling

* Fixes go code to handle length

* Fixes tests

* Adds loader

* Fixes tests
2019-12-17 14:58:29 -08:00
Amir Raminfar
63f132c820 Adds the ability to split panes and view multiple logs (#186)
* Fixes css to have full containers

* Adds split panes

* Fixes background color

* Fixes splitter

* Fixes tests

* Adds more tests

* Updates tests

* Adds vuex

* Moves splitpane to app

* Moves the panes to app

* Fixes columns with min-width

* Update packages

* Updates html to have better components

* Updates npm packages

* Fixes scrollar

* Creates a scrollable view

* Fixes App specs

* Adds vuex for component

* Updates to use splitpanes

* Styles splitter

* Removes fetch-mock
2019-11-25 15:26:42 -08:00
Amir Raminfar
63dd413296 Refactors code to decouple view with event source (#177)
* Decouples provider and viewer

* Fixes title

* Clean up

* Fixes tests
2019-11-09 18:10:02 -08:00