Commit Graph

3665 Commits

Author SHA1 Message Date
KernelDeimos
502204a7b7 test: update tests, migrate backend to vitest
Backend had tests written in mocha as well as a test written for jest
(created by an AI utility, wasn't compatible with mocha tests). The AI
generated test had merit so it was migrated to vitest along with all the
mocha tests, which supports conventions from both frameworks.

Vitest also has an excellent watcher cli.

The root repo package.json now runs unit tests in backend. Before it was
only running tests defined in the _test method of backend services.
2025-07-04 18:21:45 -04:00
Nariman Jelveh
87e15cac2d Update SECURITY.md to use the warning tag in the markdown 2025-07-04 06:51:48 -07:00
Xiaochen Cui
ade213b88b fix: return proper error message when the model is not found (#1331)
* fix: return proper error message when the model is not found

* use global source for the domain

Co-authored-by: Eric Dubé <eric.alex.dube@gmail.com>

---------

Co-authored-by: Eric Dubé <eric.alex.dube@gmail.com>

Closes #1326
2025-07-03 17:58:04 -04:00
KernelDeimos
c7970fd1a8 fix: include base reserved words by default 2025-07-03 17:41:10 -04:00
jelveh
b0b131f214 add expire mthod to puter.kv 2025-07-02 22:54:55 -07:00
jelveh
6df1d4d5f2 Fix puter.js test for incr and decr in KV 2025-07-02 22:31:25 -07:00
jelveh
2bad220602 Update KVStoreInterfaceService.js 2025-07-02 20:10:00 -07:00
jelveh
0947b90c87 Make puter.js tests print out error results 2025-07-02 20:06:25 -07:00
jelveh
37d09a63d4 Only support language and voice (ordered) in puter.js txt2speech 2025-07-02 18:08:54 -07:00
Nariman Jelveh
aa3032da8e Add preliminary support for different voices (#1325) 2025-07-02 17:09:48 -07:00
jelveh
62e786faa6 Do not activate toolbar when desktop selectable is active 2025-07-02 16:14:18 -07:00
jelveh
7285a27be4 Fix toolbar autohide/hide timing 2025-07-01 22:42:50 -07:00
Nariman Jelveh
2103374854 Dynamic toolbar: allow users to customize toolbar sticky (#1330)
* close #1329
2025-07-01 18:37:36 -07:00
Nariman Jelveh
485f9a6f14 Don't hide the toolbar on mobile and tablet (#1328) 2025-06-30 17:18:56 -07:00
Nariman Jelveh
9700488aff Merge pull request #1324 from HeyPuter/dynamic-toolbar
Dynamic toolbar
2025-06-30 16:53:35 -07:00
jelveh
edf00a5fd4 Update style.css 2025-06-30 10:24:24 -07:00
jelveh
278bb29ee5 better coloring and delay 2025-06-30 07:01:16 -07:00
jelveh
0864be054c When a window is being dragged don't activate toolbar (duh!) 2025-06-29 19:36:03 -07:00
jelveh
40260a9fb2 full support for fullpage mode 2025-06-29 19:17:58 -07:00
jelveh
ad68ddeacc make window snap animation appear faster 2025-06-29 17:36:58 -07:00
jelveh
54ae9c1ca9 the first time toolbar is shown, keep it open until user hovers over it at least once 2025-06-29 16:57:24 -07:00
jelveh
b1de89e1ec Update tr.js 2025-06-29 16:03:41 -07:00
jelveh
3db99aa67b Puter will now support only one type of menubar, and that's the in-window type 2025-06-29 15:58:53 -07:00
jelveh
0895418f0c Improve the logic behind hiding the toolbar after clicks and other interactions 2025-06-29 15:18:20 -07:00
jelveh
b0fdf1f63d Implement the basics of a dynamic toolbar
Dynamic toolbar will hide and show automatically depending on user actions and state of the app. This is to save screen real estate.
2025-06-29 14:21:40 -07:00
jelveh
657a615d9e Update AI.js 2025-06-28 23:28:31 -07:00
Nariman Jelveh
2ddd26b13d Merge pull request #1319 from Krisss46/fixing-arrow-key-behaviour
fix: arrow key navigation in Explorer (#1089)
2025-06-28 20:44:56 -07:00
Krisss46
5fd5017080 fix: arrow keys unresponsive when selecting items with offset center points 2025-06-29 03:05:17 +01:00
jelveh
9a847760bc Fix #1231 2025-06-28 12:38:39 -07:00
Nariman Jelveh
a135c354fb Merge pull request #1318 from XiaochenCui/xiaochen/dev
dev: extension prefix update, doc helper & docs update
2025-06-28 11:29:24 -07:00
Krisss46
ae07a5e316 fix: arrow key navigation 2025-06-28 16:12:12 +01:00
Nariman Jelveh
9b9733c9c2 Merge pull request #1219 from rodrick-mpofu/feature/desktop-shortcut-link
feat: add desktop link shortcuts (refs #682)
2025-06-27 23:27:51 -07:00
jelveh
06f5601a2e Update package.json 2025-06-27 23:10:53 -07:00
jelveh
75d22b010c Update package-lock.json 2025-06-27 23:09:25 -07:00
jelveh
c4e32474b2 Remove some redundant checks and favicon handling logic 2025-06-27 23:05:53 -07:00
jelveh
ad62182566 Update new_context_menu_item.js 2025-06-27 22:53:49 -07:00
jelveh
1df874c581 remove refresh_item_container since it's not used 2025-06-27 22:49:58 -07:00
jelveh
aeac392a7c Remove mods and favicons 2025-06-27 22:46:34 -07:00
Nariman Jelveh
196f996435 Merge branch 'main' into feature/desktop-shortcut-link 2025-06-27 22:45:38 -07:00
XiaochenCui
0b7474340f dev: extension prefix update, doc helper & docs update 2025-06-27 16:29:16 -07:00
KernelDeimos
7f6b302636 fix: remaining issues with fake-chat/costly 2025-06-27 14:31:26 -04:00
KernelDeimos
f46d47d2a8 fix: cost testing model 2025-06-27 14:19:03 -04:00
jelveh
1ad113bbbf Update package-lock.json 2025-06-26 22:59:02 -07:00
Nariman Jelveh
c7f4df63da Merge pull request #1314 from bilalkhantanoli/nn-translation-completion
fix(i18n): Complete Norwegian Nynorsk translation
2025-06-26 22:45:56 -07:00
KernelDeimos
ae4dc23c37 fix: incorrect pricing 2025-06-26 22:06:32 -04:00
KernelDeimos
60a9be12ba fix: update package-lock.json 2025-06-25 15:00:07 -04:00
Bilal
807d7bd698 fix: complete Norwegian Nynorsk translation 2025-06-22 12:25:22 +05:00
jelveh
7896c59ef8 Remove terminal and draw from Launch menu 2025-06-21 22:42:48 -07:00
KernelDeimos
2d9526ba40 fix: install 2025-06-21 22:00:26 -04:00
KernelDeimos
43122801bf fix: various AI fixes
- fix mis-handling of aliased models and DRY so it doesn't happen again
- fix where we try to get model details for a pseudo model
  (usage-limited)
- fix metering with non-streaming mistral requests
2025-06-21 21:39:52 -04:00