Commit Graph

880 Commits

Author SHA1 Message Date
Nariman Jelveh
bd91839551 Don't allow background processes to change the browser's URL 2024-09-19 17:41:37 -07:00
KernelDeimos
4311b482fd fix: second half of connectToInstance 2024-09-18 21:02:51 -04:00
KernelDeimos
cb324cc125 fix: error in process.handle_connection 2024-09-18 20:55:00 -04:00
KernelDeimos
f4dd195245 dev: fix previous commit 2024-09-18 17:04:48 -04:00
KernelDeimos
afc0ac8548 dev: attempt to fix process select issue 2024-09-18 17:01:02 -04:00
KernelDeimos
439653458e fix: quick patch to avoid columnify error 2024-09-18 16:22:26 -04:00
KernelDeimos
0456893789 dev: add emulator prod deployment 2024-09-18 16:21:07 -04:00
KernelDeimos
f2acd83b72 fix: upsert subdomain check to insert only 2024-09-18 16:21:07 -04:00
KernelDeimos
8aed3d9454 dev: prep for network build 2024-09-18 16:21:07 -04:00
KernelDeimos
25817bf6a2 dev: add puter-linux app to db migrations 2024-09-18 16:21:07 -04:00
KernelDeimos
4589ed95be dev: handle pty close
Return to phoenix shell when a pty stream is closed by twisp.

Pipes in phoenix with commands from the emulator do not appear to be
working properly, but something in there is working.
2024-09-18 16:21:07 -04:00
KernelDeimos
404fbaa4cb dev: add terminal multiplexing
This involves establishing the protocol through which phoenix instances
run a command on the emulator. The pty is able to communicate with the
terminal in both directions. This commit adds logs to be removed later.

There are a few things left that this commit does not address:
- handling close of delegate process
- handling sigint from phoenix to delegate process
- closing the connection to twisp
2024-09-18 16:21:07 -04:00
KernelDeimos
bc83e90e33 tweak: use virtualization-optimized kernel 2024-09-18 16:21:07 -04:00
KernelDeimos
e3d4a5f3b3 dev: multi-instance many-to-many app-to-app comms
I'll elaborate here because the commit name is confusing. Any time an
app gets a connection to another app, either because it launched that
app (or was launched by that app) or requested a connection to that app,
the ID the app gets to represent the app it's communicating with is now
a pseudo app id rather than the app instance ID. This accomplishes two
things:

1. It's more secure. There are multiple places where GUI assumes that
   knowing an app's instance ID means you can do things as that app.
2. Between the same two apps, there may now be more than one connection.
   This is useful for situations like Phoenix shell talking to the
   emulator in multiple separate instances to pipe commands. (this is
   coming later)
2024-09-18 16:21:07 -04:00
KernelDeimos
62634b0afe feat: add connectToInstance method to puter.ui 2024-09-18 16:21:07 -04:00
KernelDeimos
e2cb6194bb dev: add startup apps, start emulator by default 2024-09-18 16:21:07 -04:00
KernelDeimos
e1ec84877a dev: resize handling 2024-09-18 16:21:07 -04:00
KernelDeimos
db3e0b5ce8 fix: simplify callback listener and fix async bug 2024-09-18 16:21:07 -04:00
KernelDeimos
21383eec3c dev: get basic PTY integration working 2024-09-18 16:21:07 -04:00
KernelDeimos
28adc4e5d5 dev: add emulator page 2024-09-18 16:21:07 -04:00
KernelDeimos
2c0b8428c5 dev: add emulator image build 2024-09-18 16:21:07 -04:00
KernelDeimos
33de98107f fix: email change on account with unverified email
Changing the email address on an account that did not already have a
confirmed email would result in the email_confirmed column never being
set. This commit fixes that.

Additionally, an SQL statement using the unconfirmed email to identify a
row was changed so it now uses the user ID instead, which is safer.

Resolves: 759
2024-09-10 14:04:32 -04:00
KernelDeimos
6bdcae769d fix: double-echo in phoenix 2024-09-04 23:56:23 -04:00
KernelDeimos
a33d721e21 fix phoenix WINSZ handling 2024-09-04 23:56:23 -04:00
KernelDeimos
4910838ab1 fix: webpack error reporting + unintentional whitespace changes 2024-09-03 14:44:51 -04:00
Nariman Jelveh
57c2d72e21 Update UIWindow.js 2024-09-03 14:24:58 -04:00
Nariman Jelveh
8e56ac5ec7 Update UIWindow.js 2024-09-03 14:14:19 -04:00
KernelDeimos
ed7d6dcbfb fix: dist 2024-09-02 21:30:22 -04:00
KernelDeimos
d35026467e fix: use jq el for focus 2024-09-02 20:52:46 -04:00
KernelDeimos
cd39bb5aa0 fix: fix sourcemap 2024-09-02 20:50:15 -04:00
KernelDeimos
d07929da1b dev: add v86 submodule and app 2024-09-02 20:49:48 -04:00
KernelDeimos
5ab3d88393 cleanup 2024-09-02 17:37:38 -04:00
KernelDeimos
18a24f614f dev: update ipc ready and app launched events 2024-09-02 17:37:38 -04:00
Muhammad Fauzi
3acabc6c79
Merge branch 'HeyPuter:main' into main 2024-08-31 23:46:25 +07:00
Muhammad Fauzi
ddbb4207f2
Update Pictures translation to Gambar, no word repetition for plural
The literal translation for Pictures IS Gambar-gambar, but after reviewing how it looks on live demo Puter, this translation seems a bit off, since other word like Videos is not Video-video, documents is not Dokumen-dokumen.

So, I think it's better to just translate Pictures to Gambar only. Indonesian actually does not care about singular and plural. If we really need to emphasize it plural, we just repeat the word. Which in this context, it is not that necessary to emphasize it.
2024-08-31 23:46:06 +07:00
KernelDeimos
c9d09a78b6 fix: remove now-redundant loadScript call 2024-08-30 15:24:01 -07:00
KernelDeimos
46a0f714d1 fix: env for dev build 2024-08-30 15:24:01 -07:00
KernelDeimos
3092300a01 fix: mistakes 2024-08-30 15:24:01 -07:00
KernelDeimos
4b8910169a fix: add env to EmitPlugin config 2024-08-30 15:24:01 -07:00
KernelDeimos
72946f920c fix: remove accidentally left-over code 2024-08-30 15:24:01 -07:00
KernelDeimos
8ad435a0ea dev: bundle gui in dev 2024-08-30 15:24:01 -07:00
KernelDeimos
a4e9c7bdd7 rename folder 2024-08-29 22:24:55 -04:00
KernelDeimos
cf24c3dd2a rename 2024-08-29 22:21:07 -04:00
KernelDeimos
3361043b9d chore: rename putil 2024-08-29 14:14:35 -07:00
KernelDeimos
5f7d1f589a fix: don't var when no var 2024-08-29 17:03:51 -04:00
Nariman Jelveh
d43fc62d89 Remove menu-aim from the list of statically linked libs 2024-08-29 13:33:37 -07:00
KernelDeimos
1cd21ee658 tweak: cleanup and comment 2024-08-28 19:10:35 -07:00
KernelDeimos
c86df11abd dev: launchApp as registered ipc handler
Add launchApp as a registered ipc handler, which will allow communication
between iframes (apps/puter.js) to be simplified.
2024-08-28 19:10:35 -07:00
KernelDeimos
813ee95cee fix: fallback to read access in /sign 2024-08-28 17:53:36 -04:00
Nariman Jelveh
18cfef65b8 Attempt to open apps from URL only if user is authenticated and desktop is loaded 2024-08-27 20:02:01 -07:00