Commit Graph

155 Commits

Author SHA1 Message Date
KernelDeimos
5fbbfb4c18 Enable background and builtin apps 2024-04-12 20:52:57 -04:00
Aya Moosa
b725c4c7b4 removed commented code causing translation error 2024-04-12 14:39:46 -07:00
Aya Moosa
f8d3fdbefb merge 2024-04-12 14:16:26 -07:00
KernelDeimos
1da3a769c4 Use localstorage instead of cookie for list-sessions 2024-04-12 00:19:07 -04:00
Eric Dubé
8135e076c2
Merge pull request #266 from HeyPuter/eric/session-updates
session management
2024-04-11 22:04:07 -04:00
Nariman Jelveh
9ab3e3ccd8
Merge pull request #244 from HeyPuter/eric/host-storage
Display storage use of host/puter separately
2024-04-11 10:14:45 -07:00
KernelDeimos
09bf422686 Add session manager ui 2024-04-11 00:29:39 -04:00
Sam Atkins
cce6531d45 Notify parents/children when an app closes
Send an appClosed message with the instance ID of the app that was
closed. This will be picked up by Puter.js's AppConnection and reported
as a 'close' event.

To make this work, a `data-parent_instance_id` attribute is set on child
app windows. This is very similar to the `data-parent_uuid` attribute,
which tracks parent windows instead of parent app instances. (Dialogs
have a parent window, but are not apps, so don't have a parent app
instance.) The difference is subtle, and we may want to combine these in
the future, but currently closing an app will close any child windows,
which is not behaviour we want for child apps.
2024-04-09 15:55:14 +01:00
Aya Moosa
80aa87023e working white text, not perfect with all colors 2024-04-08 22:01:00 -07:00
Aya Moosa
626d63c91d working white text, not perfect with all colors 2024-04-08 22:00:12 -07:00
Aya Moosa
5bf0411015 got white text working, restets when other silders are used 2024-04-08 21:24:24 -07:00
Aya Moosa
b2fcb8d104 started light text for color 2024-04-08 15:59:12 -07:00
Sam Atkins
b1f2750cdb Add an error message when login fails because of domain misconfiguration
Previously, we just output whatever err.responseText was. However, that
has some downsides:

- If there's no responseText (as for when we can't find the domain) then
  the user gets a blank message.
- If it's a 404 error, the responseText includes the full HTML for
  Puter's 404 page, which we don't want to dump in the error box! This
  is unlikely to happen in practice, but was easy enough to cater for.

So, add a nicer message in those cases.

The misconfiguration message is taken from here:
https://github.com/HeyPuter/puter/issues/185#issuecomment-2037977592

Resolves #235.
2024-04-08 15:49:00 +01:00
KernelDeimos
b1e6e0c25a Fix i18n 2024-04-07 17:27:09 -04:00
KernelDeimos
f7916cfa74 Add option to reset colors 2024-04-07 17:19:47 -04:00
KernelDeimos
3f37ef2fad Fix i18n 2024-04-07 16:18:59 -04:00
KernelDeimos
3297940bab Improve dialog 2024-04-07 04:53:49 -04:00
KernelDeimos
5661605884 Add ui colors to settings window 2024-04-07 02:53:05 -04:00
KernelDeimos
178f851684 Fix previous fix 2024-04-07 00:28:23 -04:00
KernelDeimos
dc5a7ca431 Display storage use of host/puter separately 2024-04-06 23:26:18 -04: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
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
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
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
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
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
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
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
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
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
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
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
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
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
Nariman Jelveh
51fb668b66
Merge pull request #132 from SondreNjaastad/main
More translation
2024-03-19 15:46:34 -07: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
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
926070ce26 Remove logging, simplify listing supported languages 2024-03-18 18:47:55 +01:00
Sondre Njåstad
2f63c4cadf Fix listing languages
Translate additional fields
2024-03-18 18:47:54 +01:00
Sondre Njåstad
e210630cb2 Fix Login header was not translated 2024-03-18 18:47:54 +01:00
Sondre Njåstad
f5c9ab04f8 Add lanuage selector, norwegian, franch and presistant language preference based on user 2024-03-18 18:47:53 +01: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
86080b0ccf Add i18n for English, Korean, and Chinese
This is WIP. Help make the translations better.
2024-03-17 16:01:06 -07:00
Nariman Jelveh
f3e4a12e57 Refactor helpers.js to reduce file size 2024-03-16 20:13:48 -07:00
Nariman Jelveh
8100edbef9 implement query param passing between browser window and app iframe 2024-03-16 19:57:33 -07:00
vineethvk11
dfc03be3d2 optimising by storing desktop item positions as a map in kv store 2024-03-16 11:32:11 +05:30
Nariman Jelveh
4719d7e076 Update UIContextMenu.js 2024-03-15 17:16:54 -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
ayamoosa
99ab5cec5b works on right side 2024-03-13 09:21:18 -07:00
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
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
Ikko Eltociear Ashimine
e7ca0d1839
Update UIItem.js
seperator -> separator
2024-03-08 00:15:38 +09: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