Commit Graph

4387 Commits

Author SHA1 Message Date
Nariman Jelveh
8fc533338a implement an extension event for IPC messages coming in (#1776) 2025-10-16 16:52:01 -07:00
Daniel Salazar
686c2bc966 fix: permission writeback to flat kv perissions (#1774) 2025-10-16 16:30:17 -07:00
KernelDeimos
1404f10333 devex: remove verbose logging on copy and paste 2025-10-16 19:17:53 -04:00
Nariman Jelveh
d2346ff1c7 cleanup usage reporting (#1772) 2025-10-16 15:25:33 -07:00
KernelDeimos
9529d87e31 devex: add log tracing feature
simply set `trace_logs` to `true` in your config and you can easily
figure out where logs are coming from.
2025-10-16 18:00:04 -04:00
KernelDeimos
dc6a931a23 fix: error logs are too verbose
There were some extra logs when an error triggers an alarm that don't
need to be there.
2025-10-16 18:00:04 -04:00
KernelDeimos
294fda2433 devex: cosmetic log fixes 2025-10-16 18:00:04 -04:00
KernelDeimos
68d3ccc774 devex: misc. log changes
- removes extra log from dev socket service
- changes SYSTEM logs so they don't look like warnings
- adds optional hiding of INFO label
2025-10-16 18:00:04 -04:00
KernelDeimos
da0228b19f devex: hide system actor from extension log fields 2025-10-16 18:00:04 -04:00
KernelDeimos
6cdf91fbc9 devex: add log level support for extensions 2025-10-16 18:00:04 -04:00
KernelDeimos
fd602aabac devex: get extensions on the service logger 2025-10-16 18:00:04 -04:00
KernelDeimos
abcb2e9580 dev: handle 'console.log' through log service 2025-10-16 18:00:04 -04:00
KernelDeimos
13a70f5394 devex: update notices and better ANSI handling 2025-10-16 18:00:04 -04:00
KernelDeimos
5e6b628491 devex: more log reduction (2) 2025-10-16 18:00:04 -04:00
KernelDeimos
77b167eb0a doc: document the dev socket 2025-10-16 18:00:04 -04:00
KernelDeimos
cd279f7355 devex: more log reduction 2025-10-16 18:00:04 -04:00
KernelDeimos
3a8bab920d devex: remove logs that print when uploading 2025-10-16 18:00:04 -04:00
KernelDeimos
c6dc55d362 devex: add support for 'stars' to notice() 2025-10-16 18:00:04 -04:00
KernelDeimos
0373f20de6 devex: misc. log cleanups 2025-10-16 18:00:04 -04:00
Nariman Jelveh
b1f70fa63e Put some stars around the credentials box 2025-10-16 18:00:04 -04:00
KernelDeimos
8efecdec18 devex: update default admin password output 2025-10-16 18:00:04 -04:00
KernelDeimos
482d88639c doc: document log configuration 2025-10-16 18:00:04 -04:00
KernelDeimos
8f05a13918 devex: re-enable Puter logo by default 2025-10-16 18:00:04 -04:00
KernelDeimos
b53dc01b45 devex: show full time in dev log output 2025-10-16 18:00:04 -04:00
KernelDeimos
0892e476bd devex: disable dev console by default, add socket 2025-10-16 18:00:04 -04:00
KernelDeimos
c68457c91c devex: no more tip of the day unless you ask for it 2025-10-16 18:00:04 -04:00
KernelDeimos
afea8fe80d dev: introduce NullDevConsoleService
In the prod environment there is no instance of DevConsoleService. If
methods are called on the service without a check to see if it exists,
this results in "read on undefined" errors that can only be produced in
a prod environment. This was the cause of the issue caused by the
previous log cleanup PR where it looked like "websockets were broken".
The missing undefined check is fixed by #1734, but the change in this
commit will catch future cases.

Additionally, this change will help with moving away from the dev
console.
2025-10-16 18:00:04 -04:00
KernelDeimos
75a759015c devex: introduce service-level log configuration 2025-10-16 18:00:04 -04:00
KernelDeimos
0b6b871144 devex: disable logs for missing fsentries and cache
Often fsentry stats are used to see if an fsentry exists, so fsentry not
found logs are common and expected. This commit disables those by
default. Additionally, logging for cache events is disabled as well,
since those are only helpful when debugging cache specifically.
2025-10-16 18:00:04 -04:00
KernelDeimos
441622d526 devex: make http logs configurable 2025-10-16 18:00:04 -04:00
KernelDeimos
354da08f64 clean: non-functional changes to WebServerService 2025-10-16 18:00:04 -04:00
KernelDeimos
20c9ac7539 sync: package-lock.json 2025-10-16 18:00:04 -04:00
Nariman Jelveh
00e122d3d1 cleanup usage reporting (#1771) 2025-10-16 14:29:57 -07:00
Daniel Salazar
9bdb139f7a fix: bad null check (#1770) 2025-10-16 14:00:20 -07:00
Daniel Salazar
c38da86293 fix: bad math check for max consumed credits (#1769) 2025-10-16 13:56:52 -07:00
Daniel Salazar
fc7a51bd2f fix: NaN value for consumedPurchaseCredits accounting (#1767) 2025-10-16 13:21:11 -07:00
Nariman Jelveh
74f583024d Improve usage report UI (#1766)
* Update style.css

* take into account credits added to monthly allowances
2025-10-16 13:03:35 -07:00
Daniel Salazar
b7cee87370 feat: purchase addons logic in metering (#1765) 2025-10-16 13:02:19 -07:00
Daniel Salazar
08e26af85d feat: enforce new metering + get rid of old methods (#1762)
* feat: enforce new metering + get rid of old methods

* fix: make openrouter metering more robust
2025-10-16 10:33:17 -07:00
Daniel Salazar
15b65dab7d fix: app monthly usage details error (#1761) 2025-10-16 00:50:05 -07:00
Nariman Jelveh
61fbc45e3c Add refresh button for updating usage data in Settings (#1760) 2025-10-15 23:42:18 -07:00
Nariman Jelveh
aca1292886 adjust usage table styling (#1759) 2025-10-15 18:49:12 -07:00
jelveh
206633293c Update UITabUsage.js 2025-10-15 12:35:39 -07:00
jelveh
33f9036abc usage unit format hot fix 2025-10-15 12:26:55 -07:00
jelveh
9cdcb2f108 Update UITabUsage.js 2025-10-15 12:21:24 -07:00
Nariman Jelveh
ed5d629e02 Detailed usage report (#1752)
* Implement detailed usage report table

- Added `number_format` function for flexible number formatting with options for decimals, separators, and negative formatting.
- Updated `UITabUsage.js` to include a toggle for viewing driver usage details, fetching and displaying usage data dynamically.
- Improved CSS styles for driver usage details to improve layout and interactivity.

* Update style.css

* Refactor driver usage display in UITabUsage.js

- Updated UITabUsage.js to improve the layout of driver usage information, including a new header structure for better organization.
- Added CSS styles for the new header layout and adjusted existing styles for improved visual consistency and interactivity.

* fix progress bar logic
2025-10-15 12:12:45 -07:00
Daniel Salazar
b4cafaa5bb fix: alowance typo (#1756) 2025-10-15 12:09:57 -07:00
Daniel Salazar
7e8842e35d feat: add alarms to meteringService if cost for service is unexpectedly 0 (#1755)
* feat: add alarms to meteringService if cost for service is unexpectedly 0

* fix: better sub checks
2025-10-15 12:05:15 -07:00
Daniel Salazar
24a51c59ae fix: metering typos (#1754) 2025-10-15 10:39:18 -07:00
Daniel Salazar
e51d0c4600 feat: metering service allowence checks and subscription integration 🚀 (#1749)
* feat: metering allowence checks

* fix: bad math
2025-10-15 02:28:25 -07:00