Commit Graph

275 Commits

Author SHA1 Message Date
shamoon
38079badc8 Pixel-perfect aligned edges 2023-09-16 02:37:24 -07:00
Denis Papec
5109facf1c
Fix layouts for initial tab (#1996) 2023-09-15 09:55:23 -07:00
shamoon
ee0afaa638 Fix activeTab with no layout settings
Closes #1995
2023-09-15 09:22:37 -07:00
shamoon
6dc3be6029
Fix: slugify tab names (#1994) 2023-09-15 08:17:57 -07:00
shamoon
ec1cf2f3ca
Resolve bad setState warning in tabprovider (#1993) 2023-09-15 08:00:08 -07:00
Denis Papec
8a520e07a5
Fix for broken layout when layout is not defined (#1989)
* Fix for broken layout when layout is not defined

* code style

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-09-15 07:41:56 -07:00
Denis Papec
2d8160512f
Feature: tabbed layouts (#1981) 2023-09-14 14:55:14 -07:00
shamoon
768107cde8 Update index.jsx 2023-09-14 00:18:43 -07:00
TheRolf
b39c79bea1
Custom JS and CSS (#1950)
* First commit for custom styles and JS

* Adjusted classes

* Added ids and classes for services and bookmarks

* Apply suggestions from code review

* Remove mime dependency

* Update settings.json

* Detect custom css / js changes, no refresh

* Added preload to custom scripts and styles so they can load earlier

* Added data attribute name for bookmarks too

* Update [path].js

* code style, revert some pointer changes

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-09-10 14:36:54 -07:00
Vojislav
0741ef0427
Added start_url in manifest.json to fulfill requirements for installable app (#1955)
Co-authored-by: Vojislav Zelić <vodzo@Vojislavs-MacBook-Air.local>
2023-09-09 11:25:29 -07:00
shamoon
95635fca04
Revert "Enhancement: forward cookies from request (#1804)" (#1946)
This reverts commit d4edd432d8.
2023-09-09 06:07:04 -07:00
James Waters
d4edd432d8
Enhancement: forward cookies from request (#1804) 2023-09-08 16:50:32 -07:00
shamoon
ae3634e9d4 Change crossorigin to crossOrigin
Co-Authored-By: Shagon94 <9140783+shagon94@users.noreply.github.com>
2023-09-08 07:16:36 -07:00
shamoon
4517409dbd Support mixing services & bookmarks layout 2023-09-03 07:50:04 -07:00
Georges-Antoine Assi
9529553102
Enhancement: apply layout settings to bookmarks (#1902)
* Apply layout settings to bookmarks

* merge columnMap const

* Remove bookmarksOnTop setting

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-09-03 07:05:25 -07:00
Spideramn
76013b32b3 Add crossorigin="use-credentials" to manifest link tag. 2023-08-31 11:58:51 +02:00
shamoon
494a1c50d5 Update index.jsx 2023-08-29 09:48:32 -07:00
shamoon
98baf0507b Fix location of quicklaunch, some focus issues 2023-08-29 09:33:58 -07:00
shamoon
7cede1318e Support extra headers in widgets 2023-08-22 21:42:53 -07:00
shamoon
70b4f4e1e6 Apply cardBlur to header boxed / boxedWidgets 2023-08-21 08:51:35 -07:00
shamoon
1e60553904 Allow coinmarketcap slugs 2023-07-13 21:39:45 -07:00
Jon Seager
ca396ce96b
Override config directory with env var.
Until this change, the config directory was assumed
to be located at '/config'. This patch retains that
default behaviour, but enables users/devs to override
that behaviour by setting the HOMEPAGE_CONFIG_DIR
variable.
2023-07-10 15:48:51 +01:00
shamoon
b32d610532 Adds collapsible feature to bookmarks 2023-06-22 11:51:38 -07:00
Alex Higgins
041fae1fb3 Adds ability to collapse layout sections
Reverts pnpm lock file changes

Make entire section above list clickable.

Implement in headlessui instead of pulling in new library.

Remove unecessary packages and clean up ESLint errors
2023-06-22 10:00:04 -07:00
Denis Papec
1622069063
Fixes for existing header styles, fix for glances
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-12 01:15:46 +01:00
Denis Papec
cd5162e39c
Refactored information widgets, improve widget-boxed style
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-12 01:15:19 +01:00
Denis Papec
c5b6dcc1e0
Add optional boxed styling and error component to information widgets
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-12 01:15:09 +01:00
shamoon
1fb7be7457 Retrieve ping url from config rather than as query parameter 2023-06-11 09:50:41 -07:00
shamoon
6b2930ab8d
Revert "Added optional boxed styling for information widgets and refactored information widgets" 2023-06-10 23:30:44 -07:00
Ben Phelps
347761fcad
Merge pull request #1574 from denispapec/widget-boxed
Added optional boxed styling for information widgets and refactored information widgets
2023-06-11 08:02:20 +03:00
shamoon
68b6192d8c Fix full height layout on tall screens 2023-06-09 09:01:19 -07:00
Denis Papec
d4fd923be5
Refactored information widgets, improve widget-boxed style
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-03 03:01:21 +01:00
Denis Papec
c79d45f91e
Add optional boxed styling and error component to information widgets
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-03 02:14:38 +01:00
shamoon
bd5c10e907 Handle k8s widget metrics call fails 2023-05-28 19:57:39 -07:00
Georges-Antoine Assi
cdd7b2d44b
Enhanced glances widget (#1534)
* Enhanced glances widget (resource match)

* Make widget clickable + cleanup helperrs

* Prevent unused glances API calls

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-22 10:50:58 -07:00
shamoon
f1a33f10ed Add try catch for ping 2023-05-20 09:48:18 -07:00
shamoon
7e005e51cc Fix background filters outside viewport 2023-05-20 03:17:47 -07:00
shamoon
8a92d92b22 Make background wrapper full height 2023-05-20 02:43:07 -07:00
shamoon
bbc343abae
Merge pull request #1448 from juanmanuelbc/space
Fix: save space when services or bookmarks are not in use
2023-05-02 09:43:32 -07:00
Juan Manuel Bennàssar Carretero
3556d7c183 Fix: save space when services or bookmarks are not in use 2023-05-02 08:13:53 -07:00
Ciy
1b34db1109
solving docker multiple names 2023-04-30 14:45:27 +08:00
shamoon
55bc247c9e Support blur, saturation & brightness filters for background images 2023-04-18 22:51:46 -07:00
shamoon
6d1db78709 Accept http 401 / 403 for ping 2023-04-14 12:05:28 -07:00
shamoon
91646888cd Move 5th column behind setting 2023-04-07 22:35:42 -07:00
shamoon
6701e3bd77 Use HOMEPAGE_BUILDTIME to revalidate container restart/recreate 2023-04-04 22:55:26 -07:00
shamoon
489132269e Update [...service].js 2023-03-31 08:06:19 -07:00
shamoon
9303302ce7 Update [...service].js 2023-03-31 08:05:08 -07:00
shamoon
9ff977b339 Update [...service].js 2023-03-31 08:00:14 -07:00
shamoon
f830faf8af update glances widget 2023-03-29 14:35:48 -07:00
shamoon
b51af4377f Add uptime to resources widget 2023-03-29 14:35:48 -07:00
shamoon
f46addf20a Add cputemp to resources widget 2023-03-29 14:35:48 -07:00
shamoon
d4a3ba84e9 Convert resources widget to systeminformation dependency
Update resources.js
2023-03-29 14:35:48 -07:00
shamoon
af147c0da0 Support open url in quicklaunch 2023-02-27 20:06:30 -08:00
Dan Brezeanu
9eafac346b Configuration option for removing bottom version 2023-02-21 10:11:24 +02:00
Jason Fischer
45946ddfe1
Merge pull request #963 from benphelps/fix-settings-after-container-update
Fix settings after container update
2023-02-18 22:56:53 -08:00
shamoon
e35a66d3f1 Suppory body in widget endpoint mappings 2023-02-18 22:18:27 -08:00
shamoon
ae7a77d247 Use replica count for swarm status
Co-Authored-By: Raphaël Catarino <raphcatarino@gmail.com>
2023-02-14 10:41:12 -08:00
shamoon
f74275293a Prefer swarm task containers locally for status / stats 2023-02-14 10:09:12 -08:00
Vorotynsky Maxim
f558d27e8c
Move the footer to the bottom 2023-02-12 15:32:50 +01:00
shamoon
73c8ff7ee6 Use buildtime in config hash 2023-02-08 00:37:46 -08:00
shamoon
7b474d4cef Revert "Merge pull request #609 from benphelps/fix-576"
This reverts commit a7f290dfdd, reversing
changes made to cf38395100.
2023-02-08 00:19:33 -08:00
shamoon
b9b989fd11
Revert "feat: Custom CSS" 2023-02-06 14:07:11 -08:00
Lukas Holota
147a165bbc Allow Custom CSS 2023-01-31 07:25:36 -08:00
shamoon
046f2986a8 lint support custom search provider in quicklaunch 2023-01-31 00:58:29 -08:00
shamoon
7a5a3a6608 Compatible with quicklaunch internet search 2023-01-31 00:36:11 -08:00
shamoon
1f5912c232 Support custom search in quicklaunch web search 2023-01-31 00:33:30 -08:00
shamoon
11d03be4de Use configured search provider, allow disable internet search 2023-01-30 23:38:37 -08:00
Michael Shamoon
c8116fc9e8 Better error output for docker integration 2023-01-22 14:23:14 -08:00
Jason Fischer
627ce179ef
Merge pull request #448 from jameswynn/kubernetes
Support for Kubernetes and Longhorn
2023-01-18 14:54:38 -08:00
Jason Fischer
a7f290dfdd
Merge pull request #609 from benphelps/fix-576
Fix: settings not picked up after first container creation
2023-01-09 16:53:24 -08:00
James Wynn
e15ba1c82c Merge branch 'main' into kubernetes 2022-12-31 11:19:42 -06:00
James Wynn
7ac862be75 removed overly verbose logging message 2022-12-31 11:13:52 -06:00
Michael Shamoon
d17a17bd3c Use server-side endpoint to properly cache GH release data 2022-12-28 18:33:14 -08:00
Vinay Dawani
9188f5cdd9 cleanup 2022-12-11 12:49:23 -05:00
Vinay Dawani
fb883c7b27 added yaml file variable for swarm mode checks 2022-12-11 03:03:20 -05:00
Vinay Dawani
f51e755216 Merge remote-tracking branch 'forkorigin/main' into features/basic-docker-swarm 2022-12-11 02:42:22 -05:00
James Wynn
51ff424d98 added check for nodes without disks 2022-12-09 17:00:05 -06:00
James Wynn
09eb172079 new status format, new podSelector field, more accurate pod stats
* renamed pod label prefix from "homepage" to "gethomepage.dev"
  which is more inline with typical kubernetes practices
2022-12-08 16:04:33 -06:00
James Wynn
174cb651b4 Merge branch 'main' into kubernetes 2022-12-08 09:57:51 -06:00
Michael Shamoon
535a7d2f2d Add optional tz 2022-12-05 09:41:19 -08:00
Michael Shamoon
c01b60dbd1 try to detect invalid settings load 2022-12-03 00:14:07 -08:00
Michael Shamoon
94678be85e retry ping > 500 too 2022-11-30 00:46:35 -08:00
Michael Shamoon
33bd349e43 Add fallback to HTTP GET for ping 2022-11-30 00:34:18 -08:00
Jason Fischer
07385dc91e
Add container health details to status 2022-11-27 09:46:18 -08:00
Jason Fischer
354f819041
Merge pull request #505 from benphelps/ping-and-redesign-status
Feature: Service ping, redesign docker status
2022-11-20 10:03:43 -08:00
James Wynn
a1f2003a77 Merge branch 'main' into kubernetes 2022-11-19 09:09:23 -06:00
Michael Shamoon
a282538782 Fix viewport tag location lost in merge 2022-11-18 22:32:26 -08:00
shamoon
d76a18565c
Merge branch 'main' into fix/icon 2022-11-18 22:26:23 -08:00
James Wynn
1ca61114ef
Merge branch 'benphelps:main' into kubernetes 2022-11-18 18:02:53 -06:00
James Wynn
fdb143304f Separated kubernetes widgets from resources widgets 2022-11-18 18:02:23 -06:00
Michael Shamoon
f473d324df Fix docker status error display 2022-11-18 15:24:07 -08:00
Michael Shamoon
2bcfc36bc2 use grid-cols instead of flex-basis for bookmarks
Fixes #507
2022-11-08 10:33:11 -08:00
Michael Shamoon
1c456b70c0 Re-create service ping, docker status changes
See #388
2022-11-07 11:35:13 -08:00
James Wynn
056e26dfd3 Improved handling of empty or disabled kubernetes configuration 2022-11-06 06:58:52 -06:00
James Wynn
4fc6db49ca Improved kubernetes error handling 2022-11-06 06:58:52 -06:00
James Wynn
8887fcc3ee longhorn support
* longhorn widget for showing storage stats as "disks"
2022-11-06 06:58:52 -06:00
James Wynn
c4333fd2dc Kubernetes support
* Total CPU and Memory usage for the entire cluster
* Total CPU and Memory usage for kubernetes pods
* Service discovery via annotations on ingress
* No storage stats yet
* No network stats yet
2022-11-06 06:58:52 -06:00
Michael Shamoon
49a764e864 openmeteo right-algned like other weather widgets 2022-10-30 08:18:02 -07:00
Michael Shamoon
c14ae6ee72 Fix missing column gap for bookmarks
https://github.com/benphelps/homepage/issues/235#issuecomment-1292261927
2022-10-26 09:56:53 -07:00
Ivan Bravo Bravo
99b2ba8944 added basic support for Docker Swarm services 2022-10-26 00:12:46 -05:00