Commit Graph

679 Commits

Author SHA1 Message Date
KernelDeimos
dc5a7ca431 Display storage use of host/puter separately 2024-04-06 23:26:18 -04:00
Eric Dubé
95d33eab94
Merge pull request #238 from AtkinsSJ/app-ipc
Implement support for launching child apps, and IPC between a parent and its children
2024-04-06 07:51:17 -04:00
Sam Atkins
725cbf2e20 Add support for launching child apps
Calling `puter.ui.launchApp()` now treats the new app as a child of the
one that launched it.

A child app is given a `puter.parent_instance_id` URL param, containing
its parent's instance ID.

Previously, `launchApp()` would resolve as soon as the app was launched.
This commit changes that, so that it is notified after the child app
sends its READY event to Puter. This means that as soon as `launchApp()`
has completed, the child app is ready to receive messages. The downside
is that launching an app that does not include Puter.js will now not
cause a notification, so `await puter.ui.launchApp()` will not resolve
in that case.
2024-04-06 12:27:36 +01:00
KernelDeimos
beeeb7bcbf Tiny fix 2024-04-06 05:08:38 -04:00
KernelDeimos
b99534ebdf Add WIP color sliders 2024-04-06 02:35:06 -04:00
Sam Atkins
c78927d5db Add messageToApp message
This lets apps communicate with each other, via Puter.

We probably want to limit this in some way, but for now, all apps are
allowed to send messages to any other apps.

The message is:
- `targetAppInstanceID`: The instance ID to send the message to
- `targetAppOrigin`: targetOrigin passed to postMessage(), in case we
  want to restrict which URL can receive the message
- `contents`: The message to send to the target
2024-04-05 16:38:12 +01:00
Ikko Eltociear Ashimine
26e9822344
Update download.js
minor fix
2024-04-06 00:22:22 +09:00
vineethvk11
6006767a9f fixing issues in copy while overwriting 2024-04-05 09:11:39 +05:30
KernelDeimos
08838c989e Fix fragmented if..else seq (fix app tokens) 2024-04-04 17:44:54 -04:00
KernelDeimos
6cd77384a5 Update default text for explorer-error-message 2024-04-02 16:50:22 -04:00
KernelDeimos
5290d78e20 Display error in directory when readdir fails 2024-04-02 16:46:34 -04:00
KernelDeimos
6f7264b60b Fix logout for invalid sessions 2024-04-02 04:19:12 -04:00
Nariman Jelveh
0049c9ef00
Merge pull request #205 from AtkinsSJ/fix-i18n-typo
Fix issues with translation keys, and check these in CI
2024-04-01 11:18:43 -07:00
Nariman Jelveh
4009f4f331
Merge branch 'main' into #141 2024-04-01 11:02:37 -07:00
Sam Atkins
29b3b4ecba Add or correct missing i18n keys
'save_account_to_publish' isn't used anywhere, so I assume that
'save_account_to_publish_website' is supposed to use that.
2024-04-01 12:10:31 +01:00
Sam Atkins
b111e05ef7 Fix typo in 'change_always_open_with' i18n key 2024-04-01 12:00:58 +01:00
Sam Atkins
c2f73c37c5 Correct capitalisation of i18n() keys
Found by searching for `i18n\(\'[^\']*[A-Z]+[^\']*\'\)`
2024-04-01 11:26:07 +01:00
Humberto
14996439a0
Update pt.js
Correct many instances of PT-BR to PT-PT. The original had some typos too. Kept “Password” as “Password” instead of a mix of “Senha” and “Palavra Chave”.
2024-03-31 20:06:03 +01:00
vineeth kumar
5da46a15fb
Merge branch 'main' into #141 2024-03-31 13:02:11 +05:30
vineethvk11
9438355a36 removing html inside translation strings 2024-03-31 12:53:53 +05:30
Zac0511
3a0f913d9f
Update fr.js
Integrating @ambr0sial 's modifications to the french file.
Source :  b3935da823
2024-03-30 23:03:19 +01:00
Nariman Jelveh
51bb41863e remove more calls to deprecated endpoints 2024-03-30 09:05:54 -07:00
Nariman Jelveh
0094e2e2cf
Merge pull request #191 from meetqy/main
Make showing/hiding the clock configurable
2024-03-29 21:34:52 -07:00
Nariman Jelveh
8883c892ed Fix auto not being triggered when changing visibility 2024-03-29 21:25:03 -07:00
Nariman Jelveh
db245f9ba2 Fix spelling mistake 2024-03-29 20:59:50 -07:00
Nariman Jelveh
b4be6aa4a6 remove deprecated sharing endpoints and event handlers 2024-03-29 20:49:53 -07:00
meetqy
9fd32468ad fix: Make showing/hiding the clock configurable #159 2024-03-30 10:57:57 +08:00
meetqy
4aaa44a487
Merge branch 'HeyPuter:main' into main 2024-03-30 10:54:14 +08:00
meetqy
514abf030c fix: Make showing/hiding the clock configurable #159 2024-03-30 10:53:39 +08:00
meetqy
5d45bfbfe1 language 2024-03-30 10:33:35 +08:00
Nariman Jelveh
fe0cd891e1 Pass API origin to apps 2024-03-28 19:10:03 -07:00
meetqy
69beb1ff7d not save to server 2024-03-28 11:09:47 +08:00
meetqy
0271950b78 clock page 2024-03-28 10:44:52 +08:00
Andre Mesquita
c427ca2213 export fixed 2024-03-27 15:27:13 +00:00
Andre Mesquita
4d3eaac346 linked 2024-03-27 15:19:38 +00:00
Andre Mesquita
f6a8f02173 fix translations 2024-03-27 14:54:41 +00:00
Andre Mesquita
8cac1344e8 New translations Brazilian Portuguese (translations/br.js) and Portuguese (translations/pt.js) 2024-03-27 14:42:35 +00:00
Tom Delalande
f7d29e7dfe Fix typo in parameter name 2024-03-26 15:10:35 +08:00
Nariman Jelveh
907ecbed45
Merge pull request #156 from vineeth-vk11/#154
handling context submenus on mobile devices
2024-03-25 21:41:42 -07:00
Nariman Jelveh
28acf71ad1
Merge pull request #163 from vineeth-vk11/i18n_encoding_issue
fixing html encoding issue in i18n
2024-03-25 21:22:50 -07:00
Nariman Jelveh
1eababd8af
Merge pull request #178 from BatsKikker/BatsKikker-patch-2
Added Dutch translation
2024-03-25 15:47:03 -07:00
BatsKikker
6105429961
Update en.js
replace_all was German, replaced with English.
2024-03-25 22:24:27 +01:00
BatsKikker
7b316fc52e
Updated en.js from HeyPuter 2024-03-25 22:23:30 +01:00
BatsKikker
a05827e856
Update nl.js
Added new translations same as new en.js
2024-03-25 22:18:56 +01:00
BatsKikker
55967298ca
Update nl.js
Replaced spaces with tabs.
2024-03-25 22:00:40 +01:00
BatsKikker
1fcfc8737f
Update translations.js
Added nl.js
2024-03-25 21:47:05 +01:00
Sam Atkins
734387d535 Fix size of "clear" button in launcher search box
Fixes #179.
2024-03-25 11:49:42 +00:00
Sondre Tungesvik Njåstad
e341f1f054 Fix incorrect casing 2024-03-25 08:32:09 +01:00
Nariman Jelveh
ac93928851
Merge pull request #172 from HeyPuter/settings
Implement the Settings App
2024-03-24 21:41:01 -07:00
Nariman Jelveh
2f385240cb Update style.css 2024-03-24 21:36:16 -07:00
Nariman Jelveh
42636ea36d menuAim should only be activated on menu items that have submenus 2024-03-24 21:24:07 -07:00
Nariman Jelveh
d2d03dee35 Clean up and use i18n() instead of hard-coded strings 2024-03-24 20:57:57 -07:00
Nariman Jelveh
d13ae6958c Add support for account deletion 2024-03-24 17:39:46 -07:00
BatsKikker
bd4dee268d
Added Dutch translation 2024-03-24 23:29:15 +01:00
Nariman Jelveh
80021bd327 Fixes styling of the button to remain on the left 2024-03-24 13:25:47 -07:00
Nariman Jelveh
52d1bd1f03 remove settings options from the user menu 2024-03-24 13:19:56 -07:00
sebe324
c507e3ead7 Fixed Copy link button bug in the refer window
Also changed one word in the polish translation because I forgot to change it
2024-03-24 20:05:22 +01:00
Nariman Jelveh
3aab04a245 First version of Settings 2024-03-24 00:41:27 -07:00
sebe324
7b54a1e752 Added the polish translation 2024-03-24 02:07:07 +01:00
vineethvk11
f1742faa24 fixing html encoding issue in i18n 2024-03-23 13:52:50 +05:30
vineethvk11
17a82f316d minor fix in disallowing items arrange over task bar 2024-03-23 09:22:11 +05:30
Nariman Jelveh
4981d1c490
Merge pull request #157 from SondreNjaastad/feature/user_selected_default_app
Synchronized user defined default apps for files
2024-03-22 11:54:55 -07:00
Nariman Jelveh
1e3fcc8bdb Set default Python icon and improve logic for default app prompt dialog 2024-03-22 11:49:57 -07:00
meetqy
be7859edb3 fix: Icons under taskbar #114 2024-03-22 23:03:19 +08:00
Sondre Tungesvik Njåstad
b31c5a672d The user can now choose to always use a given app (when double clicking the icon) after rightclicking and clicking "open with" 2024-03-22 13:46:55 +01:00
Nariman Jelveh
7496a2ac63 Add auto_arrange to the emoji language 2024-03-21 22:25:31 -07:00
Nariman Jelveh
a09dffb13d Add translation for auto_arrange in English and Farsi 2024-03-21 21:54:02 -07:00
Nariman Jelveh
4a1169dc38 Remove unused, phased out windows 2024-03-21 18:20:16 -07:00
vineethvk11
da8351dc82 handling context submenus on mobile devices 2024-03-22 01:34:17 +05:30
Sam Atkins
afd733024b Fix some i18n-related typos 2024-03-21 10:53:06 +00:00
Sam Atkins
0d8039eddc Add copyright to i18n files 2024-03-21 10:53:05 +00:00
Nariman Jelveh
726f0111ae
Merge pull request #147 from BrowserBox/puter-143-Safari-embedded-cookie-permissions
Update UIWindow.js to permit Safari to store cookies for embedded apps
2024-03-20 21:42:27 -07:00
Nariman Jelveh
198507fce4
Merge pull request #120 from meetqy/main
fix: Automatic Adjustment of Puter Windows to Stay Within Viewport on Browser Resize #12
2024-03-20 17:22:53 -07:00
Nariman Jelveh
ddf6af60cc
Merge pull request #151 from AtkinsSJ/modules
Migrate to JavaScript modules
2024-03-20 17:04:58 -07:00
Nariman Jelveh
f2e23eb410
Merge pull request #150 from SaiUddisa/main
Added Warning about self-xss attack in browser's console
2024-03-20 09:45:53 -07:00
Nariman Jelveh
24b23ef46f
Merge pull request #146 from ahmedTalha07/main
adding a new(Urdu) language
2024-03-20 09:44:54 -07:00
Sam Atkins
5f18032737 Migrate to JavaScript modules 2024-03-20 14:10:39 +00:00
Sai Uddisa
b7da6a0434 Added Warning about self-xss attack in browser console 2024-03-20 18:19:20 +05:30
Cris
1ba8ce2353
Update UIWindow.js
Adding `allow-storage-access-by-user-activation` which is important for permitting Safari to ask the user if the embedded app can use cookies, which enhances security, privacy and user consent.

See here for more discussion: https://github.com/HeyPuter/puter/issues/143#issuecomment-2008692100
2024-03-20 16:13:17 +08:00
ahmedTalha07
9009ef8650 adding a new(Urdu) language 2024-03-20 11:19:14 +05:00
ppppp313
d480d5502d Add Thai translation 2024-03-20 12:55:07 +07:00
Nariman Jelveh
2e26397db8 fix indentation 2024-03-19 16:24:23 -07:00
Nariman Jelveh
8ea7458753
Merge branch 'main' into main 2024-03-19 16:13:27 -07:00
Nariman Jelveh
d96247e8fb
Merge pull request #144 from SondreNjaastad/emoji_language
Add emoji language 🌍
2024-03-19 15:54:45 -07:00
Nariman Jelveh
51fb668b66
Merge pull request #132 from SondreNjaastad/main
More translation
2024-03-19 15:46:34 -07:00
Sondre Njåstad
feb30d6d83 Fix 2024-03-19 21:52:51 +01:00
Sondre Njåstad
b53c91d53e Add missing translations.js entry 2024-03-19 21:45:02 +01:00
Sondre Njåstad
93b6404bc4 Add emoji language 2024-03-19 21:43:14 +01:00
Nariman Jelveh
44dae31fb2
Merge pull request #134 from jfzazo/main
Add Spanish
2024-03-19 11:28:59 -07:00
Jose Fernando Zazo
2386c58950 Add Spanish 2024-03-19 19:23:51 +01:00
1ilit
591664a045 Add Armenian translation 2024-03-19 19:28:06 +02:00
LFakh
a2e9ca7252
Update translations.js 2024-03-19 18:17:14 +01:00
ZestYeah
cafb91e065 fixed_arab_translation 2024-03-19 18:11:27 +01:00
Nariman Jelveh
6e5b97dd1f
Merge pull request #138 from SondreNjaastad/base
Presist language user_preference
2024-03-19 09:45:47 -07:00
meetqy
ad31998816 add original position 2024-03-19 21:59:48 +08:00
meetqy
e2cc409635
Merge branch 'HeyPuter:main' into main 2024-03-19 21:26:53 +08:00
ZestYeah
0cf83fee29 Add a new translation_arabic 2024-03-19 13:53:32 +01:00
Nariman Jelveh
0f867d9015 Allow gamepad on iframes 2024-03-18 23:48:53 -07:00
Sondre Njåstad
ae335df11e Presist language user_preference 2024-03-19 06:13:39 +01:00
Nariman Jelveh
7c69583307 configm -> confirm 2024-03-18 20:26:47 -07:00
Sondre Njåstad
409e8acafa revert value requirement 2024-03-19 04:22:17 +01:00
Sondre Njåstad
bf75ebd4dd We require value. Using label will be very messy with translation 2024-03-19 04:04:41 +01:00
Sondre Njåstad
9a0d612dff Fix comments 2024-03-19 04:00:03 +01:00
Nariman Jelveh
c495d9f8fd Allow manual arrangement only if item is being dropped directly on the Desktop 2024-03-18 18:20:05 -07:00
Nariman Jelveh
c0d2472860
Merge branch 'main' into #10 2024-03-18 17:30:47 -07:00
Sondre Njåstad
38f30f7138 More translation 2024-03-18 21:29:27 +01:00
Sondre Njåstad
8e1dbc8189 Fix broken dialogboxes 2024-03-18 21:16:33 +01:00
Sondre Njåstad
592a30ca6d Translation WIP 2024-03-18 21:07:29 +01:00
Sondre Njåstad
bcaf387050 add languages to prepare for rebase 2024-03-18 18:45:19 +01:00
Sondre Njåstad
088913fbf0 Add German 2024-03-18 17:44:39 +01:00
Sondre Njåstad
5bc60ecd31 Remove logging, simplify listing supported languages 2024-03-18 16:17:03 +01:00
Sondre Njåstad
24b1bd7cb3 Fix listing languages
Translate additional fields
2024-03-18 16:09:32 +01:00
Sondre Njåstad
19bfd93b47 Merge branch 'main' of https://github.com/NazagamerITA/puter into NazagamerITA-main 2024-03-18 14:53:07 +01:00
NazagamerITA
0fe4d6dd52
Update i18n.js 2024-03-18 14:40:13 +01:00
Sondre Njåstad
5f5a6d67f7 Alphabetical order 2024-03-18 14:11:41 +01:00
Sondre Njåstad
09f9700310 Add Danish
Add Sweedish
2024-03-18 14:09:21 +01:00
Sondre Njåstad
a6584284c0 Fix Login header was not translated 2024-03-18 13:42:32 +01:00
Sondre Njåstad
db23095469 more translation work 2024-03-18 13:33:05 +01:00
Sondre Njåstad
c1b812a404 Add lanuage selector, norwegian, franch and presistant language preference based on user 2024-03-18 12:40:09 +01:00
Sondre Njåstad
6116d9626e Remove ES module line 2024-03-18 08:51:25 +01:00
Sondre Njåstad
20ab5a8304 Add Norwegian Bokmål 2024-03-18 08:49:58 +01:00
Nariman Jelveh
3e2ad61189 Fix issue with detecting whether positions is an object or not 2024-03-17 21:16:15 -07:00
vineethvk11
8ef6167915 adding language support for auto arrange word 2024-03-18 09:29:23 +05:30
vineeth kumar
a2fedfcd97
Merge branch 'main' into #10 2024-03-18 09:17:34 +05:30
vineethvk11
ed663c0824 fixing issues in auto arrange while moving items 2024-03-18 09:14:51 +05:30
Nariman Jelveh
798174b993 add Farsi 2024-03-17 19:21:25 -07:00
Nariman Jelveh
8bcaf5203d Update i18n.js to remove redundant words 2024-03-17 18:15:15 -07:00
Nariman Jelveh
5b9577c31e set default language to English 2024-03-17 16:02:46 -07:00
Nariman Jelveh
86080b0ccf Add i18n for English, Korean, and Chinese
This is WIP. Help make the translations better.
2024-03-17 16:01:06 -07:00
meetqy
2d608b5fd7 Merge branch 'main' of github.com:meetqy/puter
# Conflicts:
#	src/globals.js
2024-03-17 22:54:44 +08:00
meetqy
e8e32352ed fix: Automatic Adjustment of Puter Windows to Stay Within Viewport on Browser Resize #12 2024-03-17 22:52:34 +08:00
vineethvk11
c63e546a9c minor bug fix in desktop item positions arrangement 2024-03-17 09:52:02 +05:30
Nariman Jelveh
f3e4a12e57 Refactor helpers.js to reduce file size 2024-03-16 20:13:48 -07:00
Nariman Jelveh
ec984ac81d Remove redundant logic 2024-03-16 19:59:36 -07:00
Nariman Jelveh
8100edbef9 implement query param passing between browser window and app iframe 2024-03-16 19:57:33 -07:00
Nariman Jelveh
509a6cbd31 refactor to account for signup window and the location of the code 2024-03-16 12:08:11 -07:00
vineethvk11
dfc03be3d2 optimising by storing desktop item positions as a map in kv store 2024-03-16 11:32:11 +05:30
meetqy
68cd3f420e code format 2024-03-16 13:56:36 +08:00
meetqy
404a6a5aa5 format 2024-03-16 13:53:25 +08:00
meetqy
06b075b1a4 fix: #90 2024-03-16 13:48:11 +08:00
Nariman Jelveh
4719d7e076 Update UIContextMenu.js 2024-03-15 17:16:54 -07:00
Nariman Jelveh
a5584317c8 Allow apps to resize/reposition their windows
The resizing and repositioning is safe from abuse in that the window's position and size cannot cause it to escape the viewport. More could be done here, e.g. rate limit resize/repos. I will request rate-limiting in a separate issue.
2024-03-15 16:53:05 -07:00
ayamoosa
8ec0e63d7b fixed left/right issue. Feature is ready 2024-03-15 12:31:40 -07:00
ayamoosa
23a7f852b4 Merge remote-tracking branch 'origin/master' into slow-sub-v2 2024-03-15 10:38:05 -07:00
ayamoosa
f88cfc750f need to work on submenuDirection reactivity 2024-03-15 09:15:40 -07:00
vineethvk11
fddda77523 adding ability to customise desktop by arranging items 2024-03-15 20:32:47 +05:30
Nariman Jelveh
e1c44d91c5
Merge pull request #71 from vineeth-vk11/#9
Adding ability to undo actions
2024-03-13 21:32:05 -07:00
vineethvk11
64e3e2082c minor fix in renaming get html from options function 2024-03-14 08:13:56 +05:30
Nariman Jelveh
549ec6b362 Add security.txt and SECURITY-ACKNOWLEDGEMENTS.md 2024-03-13 17:00:39 -07:00
Nariman Jelveh
8d99e49904
Merge pull request #92 from vineeth-vk11/#5
Disallow uploading files directly to trash
2024-03-13 14:09:35 -07:00
vineethvk11
b2087f77fc Disallow uploading files directly to trash 2024-03-14 02:11:12 +05:30
vineethvk11
1ae905bd7a Adding ability to undo move and delete actions 2024-03-14 01:45:28 +05:30
ayamoosa
99ab5cec5b works on right side 2024-03-13 09:21:18 -07:00
ayamoosa
39e73b3f4d added menu-aim plugin 2024-03-13 08:13:52 -07:00
Nariman Jelveh
b41a88be57 Remove jquery-ui-1.12.1
It wasn't used anyway!
2024-03-13 00:14:39 -07:00
vineethvk11
20dd9b87cf adding ability to undo copy 2024-03-12 23:48:15 +05:30
vineethvk11
2413bd7816 adding ability to undo upload and minor fix in undo rename 2024-03-11 14:37:53 +05:30
vineethvk11
09c706a99d adding ability to undo rename action 2024-03-10 20:05:58 +05:30
vineethvk11
a18ec1efdb adding ability to undo create file/folder action 2024-03-10 19:48:17 +05:30
Nariman Jelveh
03d3ddbfa9 Set copy_progress_hide_delay back to 1000
In an issue I requested that we set the delay to 2000. This seems excessive in practice so I'm reverting the delay back to 1000.
2024-03-09 21:50:39 -08:00
Nariman Jelveh
4e1fb06b94
Merge pull request #69 from vineeth-vk11/#6
delaying progress window for quick move/copy operations
2024-03-09 21:42:57 -08:00
vineethvk11
2afb1a295b delaying progress window for quick move/copy operations 2024-03-10 10:56:49 +05:30
Nariman Jelveh
61c3d3571d Apply user preferences every time Desktop is loaded 2024-03-08 20:02:17 -08:00
Sun Jia Cheng
e39e38da11 Implement 'Show Hidden Files' feature 2024-03-09 11:37:34 +08:00
Nariman Jelveh
b56392cf3a
Merge pull request #41 from eltociear/patch-1
Update UIItem.js
2024-03-08 02:03:00 -08:00
Lynan
40182fbf58 style: fix tooltip shadow on taskbarItem 2024-03-08 16:11:39 +08:00
vineethvk11
34c0bd6b7f Adding shortcut to permanently delete files bypassing trash 2024-03-08 01:50:47 +05:30
Ikko Eltociear Ashimine
e7ca0d1839
Update UIItem.js
seperator -> separator
2024-03-08 00:15:38 +09:00
Nariman Jelveh
64336bfc4e close #27
This was easier than expected. Added a number of atttributes to the `manifest.json` file that allows for proper PWA installation.
2024-03-05 19:31:50 -08:00
jamesxu1288
5735b75528 Add password toggle on login form 2024-03-04 23:03:11 -08:00
Nariman Jelveh
99980d38b2 Change Puter.com to Puter in some license headers 2024-03-04 18:15:52 -08:00
Nariman Jelveh
a3cf96d6cd
Update PuterDialog.js to remove irrelevant comment 2024-03-04 18:04:14 -08:00
Nariman Jelveh
f8b72cbfd2 Adjust the size of the Launch icon to keep it consistent with other default Taskbar icons 2024-03-04 13:19:51 -08:00
Nariman Jelveh
0fba3a03c2
Merge pull request #14 from HeyPuter/object-field-duplicates
Remove duplicate object keys
2024-03-04 13:06:01 -08:00
Nariman Jelveh
e04da6d8b1 fix license formatting
Prefix lines with ' * ' and use the correct repo name.
2024-03-04 13:00:26 -08:00
Sam Atkins
f0e2bb3633 Remove duplicate object keys
These serve no purpose except to confuse you, and make my IDE draw some
red wiggly underlines.
2024-03-04 20:10:08 +00:00
Sam Atkins
53dc639cae Don't delete files when delete key is pressed while renaming something 2024-03-04 20:07:15 +00:00
Nariman Jelveh
17f0709a42 Add license headers
lame but necessary
2024-03-02 19:59:32 -08:00
Nariman Jelveh
fa42b0871e Initial commit 2024-03-02 18:39:14 -08:00