Augusto Dwenger J.
b49018abfc
ui: Fix title in browser tab
2023-12-08 20:07:24 +01:00
Augusto Dwenger J.
9ab413c614
ui: Remove old build script
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/manual/test/1 Pipeline was successful
ci/woodpecker/manual/test/2 Pipeline was successful
ci/woodpecker/manual/test/3 Pipeline was successful
ci/woodpecker/manual/test/4 Pipeline was successful
ci/woodpecker/manual/build/1 Pipeline was successful
ci/woodpecker/manual/build/2 Pipeline was successful
ci/woodpecker/manual/build/3 Pipeline was successful
ci/woodpecker/manual/build/4 Pipeline was successful
ci/woodpecker/manual/build/5 Pipeline was successful
ci/woodpecker/manual/build/6 Pipeline was successful
ci/woodpecker/manual/build/7 Pipeline was successful
ci/woodpecker/manual/build/8 Pipeline failed
2023-11-23 22:56:17 +01:00
Augusto Dwenger J.
99603fc4fc
ui: Remove vs-code configuration
...
Don't checkin editor specific configs.
2023-11-23 22:55:03 +01:00
Augusto Dwenger J.
f844b01309
ui: Update package-lock
2023-11-23 22:24:40 +01:00
Augusto Dwenger J.
ab9d8213ee
ui: Move out of the web package
2023-11-23 21:00:20 +01:00
Augusto Dwenger J.
b8b83baa72
Move into multi module project structure
...
Javalin and Javacord crash if running on same JVM but on different
threads for some reasons. This is should fix it :D
2023-05-16 01:50:56 +02:00
Augusto Dwenger J.
bb9a7e8279
Fix api url in UI
...
Reminding of the local development
2023-05-11 18:45:20 +02:00
Augusto Dwenger J.
a398641172
Change type of user_id and server_id from long to string
...
JS don't support such big numbers.
2023-05-08 18:02:32 +02:00
Augusto Dwenger J.
ceb2fe27a7
Add /api to api endpoints
...
To differentiate beween file access and api call.
2023-05-05 01:22:27 +02:00
Augusto Dwenger J.
abbb02729a
Implement CRUD for user config
2023-05-04 23:46:27 +02:00
Augusto Dwenger J.
e24f80cea5
Implement CRUD on ServerConfigs
2023-05-04 23:39:44 +02:00
Augusto Dwenger J.
40d33a45e6
Fix cutting system message on small messages
...
It will now only cut the message if its longer than 50 characters.
2023-05-04 23:26:13 +02:00
Augusto Dwenger J.
ac43032aab
Fix table rendering with more than one entry
2023-05-04 23:25:24 +02:00
Augusto Dwenger J.
12e807c5ed
Rework how actions work
2023-05-04 21:10:54 +02:00
Augusto Dwenger J.
44c6a3b1a7
Update UserConfigsView to have all entity fields
2023-05-03 20:35:07 +02:00
Augusto Dwenger J.
cf42778103
Add loading server configs
2023-05-03 20:34:45 +02:00
Augusto Dwenger J.
3c1a049dd7
Wrap RouterView in Suspend
...
This should allow us to use async/await in the component setup.
2023-05-03 20:29:02 +02:00
Augusto Dwenger J.
5509126896
Remove allowed views
...
The endpoints no longer exists.
2023-05-03 19:25:19 +02:00
Augusto Dwenger J.
806aee663d
Remove message related views
...
There is currently no way to extract them with the api.
2023-05-03 17:28:44 +02:00
Augusto Dwenger J.
816eddd039
Remove before function to check login state on router
2023-04-30 03:14:33 +02:00
Augusto Dwenger J.
acfec04173
Add Caddy setup for serving the ui
2023-04-30 03:02:46 +02:00
Augusto Dwenger J.
86de126b41
Fix vite build
...
Removes remaining pina references from vuejs setup.
2023-04-30 01:58:20 +02:00
Augusto Dwenger J.
a7388de9f5
Add Servers and Users to the nav menu
2023-04-29 16:41:27 +02:00
Augusto Dwenger J.
b82355ea1a
Remove all login and auth related code
...
I am gonna use something like caddy as revers proxy to expose the service.
Caddy offers the functionality to secure resources with basic auth
and promt the browser on usage. I am gona go with it. It's the simplest
solution.
I still need to remove the basic auth code from the backend and craft
a configuration for caddy.
2023-04-29 16:34:58 +02:00
Augusto Dwenger J.
48cc667d26
Duplicate servers views for users
2023-04-29 15:53:53 +02:00
Augusto Dwenger J.
6cde6438d2
Remove unused action from ServerMessagesView
...
There are no actions for this view.
2023-04-29 15:43:37 +02:00
Augusto Dwenger J.
c096ec17c1
Make actions column in TableComponent optional
2023-04-29 15:42:53 +02:00
Augusto Dwenger J.
656e202abd
Remove event handling in favor of passing function as prop
2023-04-28 15:10:41 +02:00
Augusto Dwenger J.
80b92dd1ea
Add support for defining custom actions
...
Little bit tricky, because Vue will only allow the call of 'inject()'
from inside of the setup method or from a functional component. Using a
functional component is not an option since the value that we want to
inject is not provided by the app, its being provided by the parent
component. Using inject inside the component will also not work, since
we can not call it inside the setup. [1]
Using an handler function that the parent component provides is a
compromise to be still able to be as dynamic as possible.
Refs:
- [1] https://github.com/vueuse/vueuse/issues/1061
2023-04-28 02:44:28 +02:00
Augusto Dwenger J.
cb0633b9a2
Add home header
...
This is to make it look and feel like the server pages.
2023-04-28 00:53:27 +02:00
Augusto Dwenger J.
6d837c514a
Fix license link
...
Point link to the license file on Forgejo.
2023-04-28 00:52:22 +02:00
Augusto Dwenger J.
3c8e2ed5e0
Add views for selecting server and viewing its messages
2023-04-28 00:51:34 +02:00
Augusto Dwenger J.
63b18c3f9f
Add login elements
...
Missing logic though...
2023-04-28 00:19:08 +02:00
Augusto Dwenger J.
170300d67f
Add server configs view
...
Including routing and linking.
2023-04-28 00:10:02 +02:00
Augusto Dwenger J.
56fb3bfe36
Add navigation concept from home to other pages
2023-04-28 00:00:46 +02:00
Augusto Dwenger J.
b0dabe0c61
Move DefaultLayout into App
...
No need to hold the layout in a extra file.
2023-04-27 23:24:50 +02:00
Augusto Dwenger J.
9bf662fc78
Move Footer and Nav component into DefaultLayout
2023-04-27 23:23:03 +02:00
Augusto Dwenger J.
e5194fed4f
Move AllowedServer component into AllowedServersView
2023-04-27 23:20:50 +02:00
Augusto Dwenger J.
6d490ae25f
Remove allowedServer table from home
...
The table/view was moved into the AllowedServersView.
2023-04-27 23:19:32 +02:00
Augusto Dwenger J.
a8fa525a30
Add a footer
...
The footer holds the copyright/license and source code informations.
2023-04-27 23:16:01 +02:00
Augusto Dwenger J.
0af571adf6
Remove unused export maps
2023-04-27 23:01:33 +02:00
Augusto Dwenger J.
6f8b682f0a
Add DefaultLayout as default on App level
2023-04-27 22:59:55 +02:00
Augusto Dwenger J.
8323dd48ba
Fix missing typescript script attribute
...
Not having the 'lang="ts"' produces an type warning.
2023-04-27 22:56:47 +02:00
Augusto Dwenger J.
dca11b2347
Add view for allowed servers
2023-04-27 22:51:14 +02:00
Augusto Dwenger J.
a0204e4da4
Change nav header to be app specific
...
Update content to match app requirements.
2023-04-27 17:29:26 +02:00
Augusto Dwenger J.
9a2861fc3f
Move HomeView layout into DefaultLayout.vue
...
This is to make it easier to have the same layout on all views.
2023-04-27 17:25:34 +02:00
Augusto Dwenger J.
6c267b232c
Add missing header and action buttons
...
The buttons currently don't provide any functionality.
2023-04-27 17:20:38 +02:00
Augusto Dwenger J.
d5a6da0647
Fix router
...
The router wouldn't work, there was a miss configuration regarding
imports and lazy loading components.
2023-04-27 17:19:59 +02:00
Augusto Dwenger J.
9914171dcb
Add table component to show allowed servers entities
2023-04-27 15:29:11 +02:00
Augusto Dwenger J.
b96a544452
Add vue init
2023-04-16 20:40:48 +02:00