Commit Graph

926 Commits

Author SHA1 Message Date
KernelDeimos
e59f4e6c16 devex: reduce webpack verbosity 2025-10-08 19:25:53 -04:00
Nariman Jelveh
64cfa8158d feat: immprove UIPopover and UIWindow behavior for sidepanel visibility (#1711)
- Adjust `UIPopover` positioning when a sidepanel is visible.
- Update `UIWindow` to manage visibility states and adjust toolbar positions accordingly.
- Modify CSS for AI Button to change z-index for better layering.
2025-10-08 15:40:14 -07:00
jelveh
a70a621dd5 Update style.css 2025-10-08 12:33:56 -07:00
Nariman Jelveh
508ed920f6 Update globals.js (#1702) 2025-10-07 15:23:56 -07:00
Nariman Jelveh
b02e6c86b0 Update helpers.js (#1701) 2025-10-07 14:36:02 -07:00
Daniel Salazar
d9c64a9378 feat: manage permission for user to user and dev to app file sharing (#1567)
* perf: move user-user perm checks to flat kv entries

* feat: manage permission for user to user and dev to app file sharing

* fix typings cuz macos sucks

* fix: mac os typecase

* fix: chore macOs typecase

* fix: bad join of permissions

* feat: add check-permissions endpoint for checking an users perms

* Add 'manage' to permission lists in the Sharing dialog

* fix: manage being allowed through our ACL

---------

Co-authored-by: Nariman Jelveh <nj@puter.com>
2025-10-07 13:46:00 -07:00
Nariman Jelveh
84a28b9637 Sidepanel (#1694)
* add AI side panel to UIDesktop

* integrated `UIAIChat` component into `UIDesktop` for AI interactions.
* added styles for AI side panel, including buttons and chat message formatting in style.css, enhancing user experience with AI features.

* add support for window-based side panels

* remove window resizing logic that is simply broken

* whitelisting added

* Add `showWindow` and `hideWindow` methods to Puter.js
2025-10-06 18:40:44 -07:00
Rajeshwar Singh
3120d6a057 feat(Translation): added support for Armenian and also added Bulgarian (Closes #1523) (#1676)
* feat(Translation): added support for Armenian and also added Bulgarian

* fixed

* add license header to bg.js

* Update package-lock.json

---------

Co-authored-by: jelveh <nj@puter.com>
2025-10-05 22:59:58 -07:00
Nariman Jelveh
5b09dbb1f5 Update UIDesktop.js (#1682) 2025-10-04 18:14:54 -07:00
Nariman Jelveh
4dae0d6370 I18n for sys dirs (#1679)
* improve UIItem and UIWindow to support internationalization for system directory names. Updated UIItem to display localized names for trash, desktop, home, documents, pictures, videos, and public directories. Modified UIWindow to set the window title using localized names for the desktop and home paths.

* refactor UIWindow to use i18n for system directory titles. Updated window title settings for desktop, documents, pictures, videos, public, and trash paths to use localized names, improving user experience across different languages.
2025-10-04 13:04:31 -07:00
Nariman Jelveh
2cedb05a8a add option to automatically set window title to opened file's name (#1678)
* add option to automatically set window title to opened file's name

A new checkbox in the app edit section to allow users to automatically set the window title to the name of the opened file. Updated related functions to handle this new setting, ensuring it is saved and reset correctly.

* Update launch_app.js
2025-10-04 12:13:57 -07:00
gulizar Elhalil
3d44609d80 Update ku.js (#1677)
* Update ku.js

translation has been added.

* Update ku.js

---------

Co-authored-by: Nariman Jelveh <nj@puter.com>
2025-10-04 11:24:04 -07:00
Nariman Jelveh
db66fecadf Update style.css (#1671) 2025-10-03 16:24:44 -07:00
Nariman Jelveh
44bc7b7437 Replace "Save As..." with i18n('Save As…') (#1670) 2025-10-03 15:54:43 -07:00
Hariz
4eab7167e6 Disable browser context menu on launcher popover (#1648)
* Disable browser context menu on launcher popover

* Allow system context menu on launch search bar

* Remove extraneous debug log
2025-10-02 20:40:42 -07:00
Dan Tran
a17ab22ab7 feat: Add missing Vietnamese translations (#1641) 2025-10-02 10:18:43 -07:00
Yukirin
94c0490f34 Update id.js (#1638)
Added missing translations and re-translated some of existing translations
2025-10-01 10:46:43 -07:00
biranzegelman97
916f419e0f added missing hebrew translations + fixed some existing translation + changed he.js export variable from en to he (#1634)
* added missing hebrew translations + fixed some existing translation + changed he.js export variable from en to he

* remove "Missing translations" comment?

---------

Co-authored-by: Nariman Jelveh <nj@puter.com>
2025-09-30 19:16:35 -07:00
Hariz
62f5cc54cf Fix bug with context menu positioning on page load (#1636)
* Fix bug with context menu positioning on page load

* Fix double context menu bug on mobile
2025-09-30 18:58:54 -07:00
Nariman Jelveh
6ee60f9c13 Closes #629 2025-09-30 18:27:33 -07:00
Hariz
6429dcf15e Add 'Set as Desktop Background' context menu item to images (#1635)
* Add 'Set as Desktop Background' context menu item

* Use the `mime` library to detect images in the `UIItem` context menu

---------

Co-authored-by: Nariman Jelveh <nj@puter.com>
2025-09-30 18:06:09 -07:00
Nariman Jelveh
eaa31ba18f Update copyright headers that were translated to non-english 2025-09-30 12:54:00 -07:00
Nariman Jelveh
343f042f39 feat: add tar and untar functionality for file management
- Implemented `tarItems` function to create tar archives from selected files or directories.
- Added `untarItem` function to extract tar archives.
- Updated UI to include options for downloading and tarring files.
- Enhanced item icon handling to display tar file icons.
- Added translations for tar and untar operations.

- Fixes #1629
2025-09-30 10:35:55 -07:00
jelveh
740089aff1 fixes #1622 2025-09-27 00:03:49 -07:00
Haitam
733c7b638d feat: Complete missing Ukrainian, Turkish and Thai translations (#1616)
* feat: Complete missing Ukrainian, Turkish and Thai translations

* add the trailing comma

---------

Co-authored-by: jelveh <nj@puter.com>
2025-09-26 21:40:20 -07:00
mrtbgau
b8263fd8e0 feat: add missing Persian and Finnish translations (#1614)
* feat: add missing Persian translations

* feat: add missing Finnish translations

* Remove "Missing translations" comment

---------

Co-authored-by: Nariman Jelveh <nj@puter.com>
2025-09-26 15:05:04 -07:00
Onitsag
1cff4fd46a feat: Add missing Portuguese translations (#1615)
* feat: Add missing Portuguese translations

* feat: Add missing Swedish translations

* remove missing translations comment

---------

Co-authored-by: Nariman Jelveh <nj@puter.com>
2025-09-25 11:47:04 -07:00
Thomas NGUYEN
72ee05fefb feat: Add missing Urdu translations (#1618) 2025-09-25 10:58:46 -07:00
Nariman Jelveh
8b7e764af9 add instancesOpen to puter.js UI 2025-09-24 17:03:36 -07:00
Khilfi KA
99ebbfa00d Add Bahasa Malaysia (Malay) i18n Support (#1609)
* Complete Bahasa Malaysia (Malay) translation of Puter

* Fix code styling

* Add Malay README.md

* Removed dash from `sub-projek`

* Make `Library` italic

* Add Malay language to `Translations` section
2025-09-24 12:44:41 -07:00
ProgrammerIn-wonderland
cf05413b83 ux: Whitelist onlyoffice applications from copy dialog in IPC 2025-09-23 18:10:54 -04:00
Hariz
67be35b6a0 Don't raise window if close/minimize btn clicked (#1589) 2025-09-22 18:52:57 -07:00
Nariman Jelveh
32962211b4 Revert "Enhance login GUI: improve layout and add show/hide password (#1599)" (#1600)
This reverts commit 9e07fa74b7.
2025-09-21 09:53:12 -07:00
SaifAttar003
9e07fa74b7 Enhance login GUI: improve layout and add show/hide password (#1599) 2025-09-21 09:52:55 -07:00
Hariz
3de3c21f66 Add context menu to apps in the start menu (#1487)
* Add context menu to apps in the start menu

* Start menu context menus: Close other menus

* More bugfixes for start menu context menus

* Start menu context menus: Add/remove from taskbar

* Bugfixes for adding to taskbar through start menu

* Highlight start menu icons when ctxmenu is opened

* Close context menus on start menu kbd navigation

* Reset start menu icon state when ctx menu closed

* Fix multiple start item context menus opening simultaneously

* Remove parent argument from start icon context menus
2025-09-20 18:52:14 -07:00
coluccifrancesco
0c60ebd1d0 Update it.js (#1588)
I translated the last part of the document for the italian language.
All the updates are typo-checked for errors , and there's none.
The translation has been made keeping in mind the italian use of various terms, some of the english words haven't been translated due to the extended use of the orignal term in everyday vocabulary.
2025-09-19 11:07:02 -07:00
jelveh
654dfa9124 Update style.css 2025-09-18 23:03:16 -07:00
jelveh
c0b03e147b add redundant readdir to cache the home dir 2025-09-18 21:03:28 -07:00
Nariman Jelveh
31fffb087d Refactor file system operations in GUI and puter.js to use eventual consistency (#1579)
* Refactor file system operations in GUI and puter.js to use eventual consistency for stat and readdir calls

This update modifies multiple instances of file system operations to include a consistency option set to 'eventual'. This change aims to improve performance and responsiveness by allowing for eventual consistency in file system interactions across various components, including helpers, UI elements, and IPC handling.

* Update cache expiration time for file system operations in readdir and stat to 1 hour

* feat: add network connectivity monitoring and cache purging

This update introduces a new feature that monitors network connectivity and purges the cache when the connection is lost. The implementation includes event listeners for online/offline changes and visibility changes to ensure cache consistency during network disruptions.

* clean up logs
2025-09-18 17:13:39 -07:00
software developer, self taught
89d5030ae3 Add missing polish translation (#1584)
* add missing polish translation

* Clean up comments in pl.js translations

Removed comments about missing translations from the Polish translations file.

---------

Co-authored-by: Nariman Jelveh <nj@puter.com>
2025-09-18 13:58:35 -07:00
jelveh
abc0d7b16c Update refresh_item_container.js 2025-09-17 16:12:35 -07:00
Nariman Jelveh
e37166dae0 Cache is king baby! Let's go 🚀 (#1574)
* Implement the first naive version of `readdir` cache

* Purge the entire cache on every single mutation

Right now we're going to use the very naive, but safe, approach to purge the entire cache whenever there is change in the user's fs. We're going to incrementally improve this; but for now, better safe than sorry!

* Add socket event listeners to flush cache on file system item changes

This update introduces event listeners for 'item.added', 'item.renamed', and 'item.moved' events, triggering a cache flush on each event to ensure data consistency in the file system module.

* increase exp time for the cache

* Update readdir.js

* Update index.js
2025-09-17 15:36:42 -07:00
Amritpandey5
214fd3010e added missing values (#1577)
* added missing values

* Update de.js

---------

Co-authored-by: jelveh <nj@puter.com>
2025-09-17 14:09:35 -07:00
aaryan
f4af6874b0 doc: added missing Dutch translations (#1575)
* doc: added missing Dutch translations
- fixes #1515

* Update nl.js

---------

Co-authored-by: jelveh <nj@puter.com>
2025-09-17 08:56:06 -07:00
Nariman Jelveh
079d060747 Make templates non blocking (#1573)
* refactor: update available_templates function for non-blocking template loading

- Changed the available_templates function to initiate loading templates asynchronously without blocking the UI.
- Initialized window.file_templates with an empty array and updated it once the templates are loaded.
- Added a console log in UIDesktop to track transaction duration upon completion.

* Update UIDesktop.js
2025-09-16 14:57:01 -07:00
Nariman Jelveh
6d17385f09 add getDuration() to the Transaction class 2025-09-16 14:31:55 -07:00
Jatin Sharma
b6da8ba9ce Complete Missing Hungarian Translations in hu.js (#1572)
* Update Hungarian translations in hu.js

* Update hu.js

---------

Co-authored-by: Nariman Jelveh <nj@puter.com>
2025-09-16 13:39:32 -07:00
dtakahashi333
42302b12ac fix: add Japanese translations (#1519) (#1570) 2025-09-16 12:30:09 -07:00
Thiago (Teet)
b2d38e2058 Fixes to PT-BR translation (br.js) (#1568)
Fixed spelling and missing accentuations

Adjusted capitalization for consistency with other strings

Made wording more natural in PT-BR (e.g. “site” instead of “website”, “Login” instead of “Início de Sessão”)
2025-09-15 23:39:36 -07:00
Barnak
47acb141da Updating ru.js (#1566)
* Update ru.js

Added missing translations from english to russian

* Update ru.js

* Update ru.js

---------

Co-authored-by: Nariman Jelveh <nj@puter.com>
2025-09-15 12:06:03 -07:00