Commit Graph

308 Commits

Author SHA1 Message Date
David Kalmakoff b08b5ae82c
fix: table overflow and word wrapping (#720)
- applications (table)
- clients (table)
- plugins (table, info card word wrapping, and card padding)

Co-authored-by: David Kalmakoff <david@localhost.localdomain>
2024-11-05 11:06:33 +00:00
饺子w (Yumechi) 81564025b4
test: Wait for some time for the client list to update (#722)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-03 04:22:54 -06:00
饺子w (Yumechi) a58b0be362
bug: fixed a race condition in database test (#690)
* bug: fixed a race condition in database test and plugin integration test

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-09-20 05:00:17 -05:00
Jannis Mattheis 7a27e64d0f fix(ui): serving /index.html 2024-07-02 21:23:34 +02:00
Leon Schmidt 12c7164f2e
Loading animations instead of "no messages" (#660) 2024-06-22 19:31:50 +00:00
iarp 02c9613ac1 change: removal of disabled flag from messages Refresh button 2024-03-11 15:14:39 -04:00
mateuscelio 92916f0117
Add applications icons in sidebar (#602) 2023-10-22 09:24:53 +00:00
eternal-flame-AD 7bf80ee6f1 Add last used to client & application 2023-08-06 12:30:22 +02:00
chrispruitt 72bd8c8ba6
Add default message priority for applications
Co-authored-by: Jannis Mattheis <contact@jmattheis.de>
2023-07-19 18:15:01 +00:00
饺子w (Yumechi) aedc3e2ba6
Migrate from packr to go:embed (#581) 2023-07-15 08:32:31 +00:00
Zlendy 8cfd827814 Add copy secret button 2023-05-09 20:48:35 +02:00
Pander 5852bbb4ac
Unify display of app icon 2023-01-10 17:41:36 +00:00
Tert0 2fce3bdcac Add priority colors 2022-10-21 20:39:50 +02:00
Tert0 3eb0467239 Fix bracketSameLine prettier 2022-10-08 15:19:20 +02:00
Tert0 17b9b52d95 Add delete confirmation dialog 2022-10-08 15:15:29 +02:00
Jannis Mattheis e68c5560e1 Update puppeteer 2022-09-10 16:50:01 +02:00
Rene Weselowski 13b878781b Fix login form password-manager support 2022-05-26 08:16:12 +00:00
Jannis Mattheis a23666aaf0 Fix too much whitespace on markdown message
Fixes #463
2022-01-12 19:00:05 +01:00
Jannis Mattheis 6b3467b1d7 Format 2021-12-04 21:14:27 +01:00
Jannis Mattheis e272343deb Recreate yarn.lock & update node version 2021-12-04 21:14:27 +01:00
Christian Wischenbart b1f442ffbd Render favicons from original svg.
- removed jpg artifacts
- minified pngs with pngcrush to reduce size
2021-10-07 17:41:08 +02:00
Jannis Mattheis 36eb8d8b2b Inject register & version information into index.html
The registration form will always be shown inside the dev mode,
because there is no api that transmits if registration is enabled.
2021-08-04 19:39:43 +02:00
pigpig c172590b92 Add registration
Can be enabled via the registration config flag. (disabled per default)

Fixes gotify/server#395

Co-authored-by: pigpig <pigpig@pig.pig>
Co-authored-by: Karmanyaah Malhotra <32671690+karmanyaahm@users.noreply.github.com>
Co-authored-by: Jannis Mattheis <contact@jmattheis.de>
2021-08-04 19:39:43 +02:00
Jannis Mattheis 7e261be304 Fix flaky e2e-tests 2021-06-19 09:39:15 +00:00
Jannis Mattheis 98f937ca4a Update caniuse 2021-06-19 09:39:15 +00:00
Jannis Mattheis a2d44968e5 Format 2021-06-19 09:39:15 +00:00
Jannis Mattheis 819a881557 Update ui deps 2021-06-19 09:39:15 +00:00
Jannis Mattheis 11aac90be4 Remove serviceWorker 2021-04-16 17:42:45 +00:00
Jannis Mattheis 6c50f8287c Update other deps 2021-04-16 17:42:45 +00:00
Jannis Mattheis 977e481b78 Update puppeteer 2021-04-16 17:42:45 +00:00
Jannis Mattheis fd691e47c0 Update axios 2021-04-16 17:42:45 +00:00
Jannis Mattheis 36c0c467ec Update prettier 2021-04-16 17:42:45 +00:00
Jannis Mattheis 43c4eba0fa Update react-scripts & fix eslint 2021-04-16 17:42:45 +00:00
Jannis Mattheis 14d15abd94 Update @material-ui/* 2021-04-16 17:42:45 +00:00
Kassim 346396fa83
Fix message overflow with big images 2021-03-27 13:01:28 +00:00
Stewart Thomson 1cbd273974
Fix sidebar height & hide ScrollUpButton until scrolled (#384) 2021-01-24 19:58:50 +00:00
Jannis Mattheis 0d65ca6d3f TSLint -> ESLint 2020-09-12 14:19:43 +00:00
Jannis Mattheis 33c0e01dae Update ui deps 2020-09-12 14:19:43 +00:00
D. Domig 7993d0eef8 Change pass to password 2020-09-02 16:33:24 +00:00
D. Domig aecd3d8081 Change token 2020-09-02 16:28:37 +00:00
Jannis Mattheis e1a6847c84 Format 2020-05-08 15:16:43 +02:00
Jannis Mattheis 1ee817dc2b yarn upgrade --latest 2020-05-08 15:16:43 +02:00
Jannis Mattheis f80c9d2270 Update puppeteer 2020-05-08 15:16:43 +02:00
Jannis Mattheis 7b90b8a8f5 Use v2 in package path 2020-05-08 10:43:17 +02:00
Stewart Thomson d22326bba8
Open github link in new tab (#294) 2020-04-14 13:56:00 +00:00
Jannis Mattheis fc1ac65954 Fix flaky plugin ui test
Sad thing, I don't really know why it doesn't work on travis-ci,
but somehow, the click doesn't register or atleast doesn't do what it
should.
2020-03-22 10:02:24 +01:00
Yasa Akbulut e6bd7c03dd Make Message cards responsive
On breakpoints smaller than 'sm', the date of the message will wrap
to a new line; and the image will be 32x32 instead of 70x70
2020-03-22 10:02:24 +01:00
Yasa Akbulut 07b0226412 Wrap control buttons on DefaultPage 2020-03-22 10:02:24 +01:00
Yasa Akbulut 0f7c7dd717 Use FC as SFC is deprecated in favor of it 2020-03-22 10:02:24 +01:00
Yasa Akbulut c46bbdc01f Make layout responsive 2020-03-22 10:02:24 +01:00
Yasa Akbulut e858d5ad3f Bump material-ui/core and material-ui/icons 2020-03-22 10:02:24 +01:00
Yasa Akbulut ce056faed8 Use react-scripts proxy for development
Setting the `defaultDevConfig.url` to use the default port and
proxying requests via the react-scripts proxy overcomes CORS issues
and reduces friction for ui contributions
2020-03-22 10:02:24 +01:00
Jannis Mattheis 0863aba9cb Update packr/v2 2020-03-07 20:15:25 +01:00
Raphael e56f7bc4c7
Add notification sound for incoming messages (#267) 2020-02-12 18:21:35 +01:00
Jannis Mattheis 3d52a117b1 Add button for requesting notification permission 2020-02-06 20:15:14 +01:00
PSSGCSim 6dc783d99d Break long words in webui 2019-12-14 15:16:21 +00:00
Jannis Mattheis c9c6246c4c Properly close ui websocket connections on browser close 2019-11-28 21:39:47 +01:00
quthla dc741493b4 Fix web socket reconnect on web socket close (#242) 2019-11-28 20:01:23 +01:00
quthla 9715ecaeb1 Show banner on server errors. 2019-10-24 21:35:36 +02:00
foxbit19 ed254547db Set main page link and add GitHub icon (#234)
Fixes #159
2019-10-20 19:40:09 +02:00
Jannis Mattheis 6edfd8400e
Remove color styles from plugin detail view (#232) 2019-10-19 09:42:48 +02:00
foxbit19 bdb6372235 Add refresh button to messages list
Fixes #171
2019-10-19 09:15:10 +02:00
foxbit19 4938a4a0ac Add auto reconnect on connection loss (#228) 2019-10-13 16:57:35 +02:00
Jannis Mattheis 3069867fcc Fix flaky test 2019-09-28 21:09:47 +02:00
Jannis Mattheis 956c089abb Update axios 2019-09-28 21:09:47 +02:00
Jannis Mattheis 2bbe0b6149 numeric -> align="right" 2019-09-28 21:09:47 +02:00
Jannis Mattheis 81ad026e9d raised -> contained 2019-09-28 21:09:47 +02:00
Jannis Mattheis afbbb82199 Update @material-ui 2019-09-28 21:09:47 +02:00
Jannis Mattheis 3c55a1d884 Suppress type error (for now)
From what I see it should be correct.
2019-09-28 21:09:47 +02:00
Jannis Mattheis 4b1996534c Update typescript 2019-09-28 21:09:47 +02:00
Jannis Mattheis b4395f02f1 Add tslint as implicit dependency 2019-09-28 21:09:47 +02:00
Jannis Mattheis 06f3cbad9a Add missing env props
They are now required
2019-09-28 21:09:47 +02:00
Jannis Mattheis f90318205e Formatting and better type definitions 2019-09-28 21:09:47 +02:00
Jannis Mattheis 97d8837d0a Fix await on string 2019-09-28 21:09:47 +02:00
Jannis Mattheis 70c68a4d6f Fix warning
See https://mathiasbynens.github.io/rel-noopener/
2019-09-28 21:09:47 +02:00
Jannis Mattheis 147ff271f8 Use Record<string,*> instead of Record<number,*>
Objects in js are alwais indexed by strings.
2019-09-28 21:09:47 +02:00
Jannis Mattheis d302940da6 Initialize with null 2019-09-28 21:09:47 +02:00
Jannis Mattheis 6138d7ad92 Implicit import interfaces 2019-09-28 21:09:47 +02:00
Jannis Mattheis f92f5e6f4c Move to yarn 2019-09-28 21:09:47 +02:00
Jannis Mattheis 15096a98bb Move to react-scripts
react-scripts-ts is outdated.
2019-09-28 21:09:47 +02:00
Jannis Mattheis 05a1aa2651
Display 500 errors via a snack (#193) 2019-05-26 20:55:25 +02:00
Jannis Mattheis 2ad7409750 Use extra property to determine the content type 2019-04-13 10:14:35 +02:00
Jannis Mattheis e9bbe17fa4
Allow markdown in messages (#180) 2019-03-30 11:08:51 +01:00
Jannis Mattheis 62854d8e11 Show banner on network lost 2019-03-27 21:13:53 +01:00
Jannis Mattheis b66d58c372 Fix formatting with zsh 2019-03-27 21:13:53 +01:00
Jannis Mattheis ba609d4e37 Do not logout clientside if a network error occurs 2019-03-27 21:13:53 +01:00
Jannis Mattheis 61578d4a9d Remove unused interface 2019-03-16 22:59:46 +01:00
Jannis Mattheis 144f5fb8e4 Prevent 'still loading' image requests 2019-03-16 22:59:46 +01:00
GianOrtiz e32359ed15 Add update client api and dialog (#164) 2019-03-16 11:18:51 +01:00
饺子w 79b3a0c3da Run webui e2e test in prod mode (#157) 2019-03-15 19:24:24 +01:00
eternal-flame-AD 4f29464297 use js-base64 for password base64 encoding 2019-03-10 09:12:27 +01:00
饺子w ec5b1f8c30 Support reverse proxy with path rewrite (#127) 2019-02-13 18:47:48 +01:00
Anton Harniakou 347f3ce39e Save theme settings to localStorage 2019-02-13 17:53:11 +01:00
eternal-flame-AD ccbe64a117 use gzip middleware for WebUI 2019-02-09 13:24:44 +01:00
eternal-flame-AD 23442bfb68 fix configurer WebUI update bug 2019-02-09 12:52:01 +01:00
eternal-flame-AD e5b24f4c92 Add plugin feature
Fixed database migration
Added a plugin system based on the go plugin package
2019-02-09 12:52:01 +01:00
eternal-flame-AD de09aae987 add extras to message model 2019-02-02 13:06:30 +01:00
Jannis Mattheis ade175119a Remove typeface-roboto-mono 2019-01-21 19:28:07 +01:00
Jannis Mattheis e6c3a5938e Remove js source maps from build 2019-01-21 19:28:07 +01:00
ImgBotApp eafb5caed5 [ImgBot] Optimize images
*Total -- 790.57kb -> 743.57kb (5.95%)

/logo.png -- 97.08kb -> 78.71kb (18.92%)
/ui.png -- 36.75kb -> 31.98kb (12.97%)
/ui/public/static/mstile-310x150.png -- 106.20kb -> 99.79kb (6.04%)
/ui/public/static/mstile-310x310.png -- 180.26kb -> 171.75kb (4.72%)
/ui/public/static/mstile-150x150.png -- 83.33kb -> 80.76kb (3.08%)
/ui/public/static/defaultapp.png -- 50.55kb -> 49.02kb (3.03%)
/ui/public/static/favicon-196x196.png -- 50.55kb -> 49.02kb (3.03%)
/ui/public/static/apple-touch-icon-152x152.png -- 32.56kb -> 31.79kb (2.35%)
/ui/public/static/apple-touch-icon-144x144.png -- 29.16kb -> 28.52kb (2.18%)
/ui/public/static/mstile-144x144.png -- 29.16kb -> 28.52kb (2.18%)
/ui/public/static/apple-touch-icon-114x114.png -- 19.81kb -> 19.48kb (1.67%)
/ui/public/static/apple-touch-icon-120x120.png -- 19.98kb -> 19.67kb (1.53%)
/ui/public/static/favicon-128.png -- 20.51kb -> 20.21kb (1.45%)
/ui/public/static/mstile-70x70.png -- 20.51kb -> 20.21kb (1.45%)
/ui/public/static/favicon-96x96.png -- 14.19kb -> 14.12kb (0.48%)
2019-01-20 12:00:36 +01:00