KernelDeimos
e0b9072129
fix: issue with service scripts that use TestView
2024-10-19 21:17:57 -04:00
Nariman Jelveh
90e7098cc7
Merge pull request #787 from 4nshuman/issue/zip-operation
...
Issue/zip operation
2024-10-19 15:45:39 -07:00
KernelDeimos
b5535ae3ca
dev: add dev2 env
2024-10-19 18:22:09 -04:00
KernelDeimos
0fb4f73d76
chore: remove noisy logs
2024-10-19 17:31:46 -04:00
4nshuman
63b4da5be8
connected upload's inbuilt progress counter
2024-10-20 02:07:07 +05:30
4nshuman
fabc21ecf7
fixed sorting logic on directory list
2024-10-20 02:00:58 +05:30
4nshuman
a646b02e45
provide incremental directories to mkdir
2024-10-20 02:00:35 +05:30
jelveh
c29122c23f
tweak: use different icons for system directories in the sidebar
2024-10-19 12:59:24 -07:00
4nshuman
4fdea7db66
offloaded write operations to Upload module
2024-10-20 00:06:30 +05:30
4nshuman
f32b1cfce8
added option to create parent directories for programmatic file drops
2024-10-20 00:05:40 +05:30
4nshuman
fc461c8735
added absolute file path processing
2024-10-20 00:04:36 +05:30
4nshuman
d39b7a8972
record unique directory list
2024-10-19 23:52:21 +05:30
jelveh
74baab49f4
tweak: improve welcome window footer link color
2024-10-19 10:35:56 -07:00
jelveh
564ff65363
feat: welcome screen to quickly explain what Puter is
2024-10-19 10:28:03 -07:00
KernelDeimos
480d996279
dev: proof-of-concept for fs postMessage relay
...
Adds a filesystem relay service to GUI-side which currently reports an
exmaple fsentry for /stat and /readdir. Added filesystem services for
both sides. Moved filesystem implementations from src/modules to src/lib
since they're being called by services now rather than modules.
This functionality is effectively disabled unless
src/puter-js/src/services/Filesystem.js is updated to use init_app_fs_()
when the environment is 'app'.
2024-10-19 03:46:47 -04:00
KernelDeimos
6e5d5c2021
dev: clone property descriptors in Context
2024-10-19 03:45:41 -04:00
KernelDeimos
c2a475f3c0
dev: lay the groundwork for client FS relay
...
Adds XDIncomingService to manage messages from another window. IPC now
registers with XDIncoming and reports whether it was handled, that way
messages intended to reach GUI can be reliably ignored.
On GUI-side, XDIncomingService will be used by FSRelayService (not yet
implemented) to handle requests for filesystem operations from another
window.
On App-side, XDIncomingService might be used by the PostMessageFS
client-side filesystem implementation terminal to listen for filesystem
events that were relayed by GUI (after a permission check) from their
original websocket source. Either that, or we'll open a filesystem
socket for each app using that app's token.
NoPuterYetService was added because IPC.js is loaded before
globalThis.puter exists, and was the easiest way to still allow IPC's
listener to be registered with XDIncomingService.
APIAccessService was added. This service currently holds auth_token and
api_token and does nothing else. FilesystemService listens to this to
maintain a websocket connection. APIAccessService will help to manage
the complexity of all further code dependent on being informed about
changes to the auth token or origin. Currently in puter.js these are
passed around to several modules which manage the same piece of state
information independantly.
2024-10-18 23:10:19 -04:00
KernelDeimos
bc5d09fe31
dev: hooks and sequencing functions for ServiceManager
2024-10-18 23:10:19 -04:00
jelveh
2f6f2b7d7c
Set autoDedupe
to true
for creating new apps in Dev Center
2024-10-18 18:44:06 -07:00
KernelDeimos
143cfb5654
fix: 1954f8-related issue #2
...
mkdir operation was passing user instead if actor. I really think I
changed this already; getting a crazy deja-vu feeling about it. Maybe a
commit was lost somewhere along the road, but not sure.
2024-10-18 21:24:05 -04:00
jelveh
b1411cd622
Add dedupeName
for to puter.apps
and Dev Center
2024-10-18 18:02:37 -07:00
jelveh
8ed5db1734
Merge branch 'main' of https://github.com/heyputer/puter
2024-10-18 17:50:25 -07:00
jelveh
14fc963dd4
Show approval badges and lock in Dev Center
2024-10-18 17:48:14 -07:00
KernelDeimos
b9c157b28e
tweak: start from 1
2024-10-18 20:48:09 -04:00
KernelDeimos
66e8b37f70
dev: add dedupe_name option for app creation
2024-10-18 20:42:41 -04:00
KernelDeimos
4ce2dccc76
dev: update app approved_for props visibility
...
Allows owner users to read the approved_for properties on their own apps
2024-10-18 20:12:19 -04:00
KernelDeimos
f5865daede
fix: 1954f8-related issue
...
get-user-app-token was calling ll_mkdir with 'user' instead of 'actor'
2024-10-18 19:58:44 -04:00
KernelDeimos
1954f86680
fix(security): always use actor
2024-10-18 19:15:40 -04:00
KernelDeimos
94e15dbfa8
test: fix topics test and ServiceManager
2024-10-18 19:13:06 -04:00
jelveh
598a08ec45
Allow users to cancel a deploy operation before start
2024-10-18 16:07:01 -07:00
KernelDeimos
3c5d2af8c8
fix: small issue in Service.js
2024-10-18 15:53:40 -04:00
jelveh
29f5820129
Fix settings sidebar margin
2024-10-18 12:45:27 -07:00
KernelDeimos
fb1216d488
fix: prevent code from breaking just because it was bundled
2024-10-18 15:06:08 -04:00
KernelDeimos
7922314840
dev: add generic pub/sub system for use anywhere
...
Dispatching and listening to events is non-trivial. The apparent
triviality is in implementing a list of listeners and calling them. The
non-triviality is in the nature of what happens to a system when it has
multiple different interfaces to register listeners and publish events.
This commit adds TopicsFeature, which allows any class extending
AdvancedBase to declare topics. A topic is a simple pub/sub channel.
TopicsFeature will manage the state of listeners so the class doesn't
need to. A GC-friendly mechanism for detaching listeners is also provided.
2024-10-17 22:56:00 -04:00
KernelDeimos
9b1f1817f5
dev: move service interface to trait
2024-10-17 22:56:00 -04:00
KernelDeimos
273a51fc53
dev: add ServiceManager
...
The ServiceManager will replace manual management of services within
initgui, and will also be used within puter.js. Eventually Puter's
backend might use this instead of the existing Container class, although
this will be a large change that needs to be done incrementally.
The difference between ServiceManager and Container is the logic behind
when initialization occurs. Rather than have all services initialized at
once when Container's init() method is called, services are initialized
as soon as their dependencies have been initialized.
2024-10-17 22:56:00 -04:00
jelveh
2a81825a6b
Update default apps in the Launch menu
2024-10-17 16:14:24 -07:00
KernelDeimos
7980aafbd9
doc: add devlog from puter.js
2024-10-17 01:19:06 -04:00
ProgrammerIn-wonderland
f0b7214a07
working persistence
2024-10-15 18:30:08 -04:00
ProgrammerIn-wonderland
aae6fff340
adding locking to puter-save
2024-10-15 18:30:08 -04:00
ProgrammerIn-wonderland
f0bc10f1e8
WIP persistence
2024-10-15 18:30:08 -04:00
KernelDeimos
1ea6d270f8
dev: add endpoint for GUI to query app file access
2024-10-15 16:19:11 -04:00
KernelDeimos
fd7bd339ca
dev: add Context to putility
2024-10-15 16:17:37 -04:00
KernelDeimos
149684de01
dev: allow emulator app to access user files
2024-10-14 15:46:19 -04:00
KernelDeimos
9e88096e7e
clean: remove a console.log
2024-10-14 15:19:52 -04:00
KernelDeimos
e011df1a20
move: PuterAPIFilesystem
2024-10-14 15:19:18 -04:00
KernelDeimos
6d23369512
sync: add new page
2024-10-14 12:18:04 -04:00
KernelDeimos
3762037576
dev: oops
2024-10-12 00:01:33 -04:00
KernelDeimos
11fbcb27b0
dev: cache readdir
2024-10-11 23:51:38 -04:00
KernelDeimos
77f6bdcd6d
dev: make puter.fs cache togglable
2024-10-11 18:39:58 -04:00
KernelDeimos
6ee7caaee1
dev: apply TTL cache for stat entries
...
Adds CachedFilesystem layer to client filesystem chain. Currently only
stat is implemented. The stat implementation will hold onto an entry for
3 seconds as per hardcoded configuration. Eventually, once invalidation
via websockets is working, this TTL should be extended.
2024-10-11 18:39:58 -04:00
KernelDeimos
fc9a371e09
dev: add more to NariMethodsFeature
2024-10-11 18:39:58 -04:00
KernelDeimos
43c5402b7c
feat(putility): trait method override support
...
Support for trait method overrides will make it possible to use putility
traits with the decorator pattern while using a proxy class to avoid
redundant re-implementation of proxy methods.
Use of the pattern described above will occur in the implementation of
client-side filesystem caching.
2024-10-11 18:39:58 -04:00
KernelDeimos
c12ae2a923
dev: prepare puter.js fs for decorator pattern
...
- de-coupled xhr callback passing from the interface of the underlying
filesystem implementation.
- This makes the interface to delegate calls more suitable for use with
the decorator pattern.
- The decorator pattern will be used to manage the complexity of the
caching layer by separating the concerns of different caching methods.
2024-10-11 18:39:58 -04:00
ProgrammerIn-wonderland
4f8304ec15
switch ne2k_pci to virtio
2024-10-11 18:14:38 -04:00
ProgrammerIn-wonderland
d9805c0cab
delete prompt-path
2024-10-11 17:06:32 -04:00
ProgrammerIn-wonderland
fb41d2a51c
change PWD to not use prompt-path and fix unicode issues
2024-10-11 17:06:32 -04:00
KernelDeimos
010282edf2
fix: don't display all apps for extensionless files
...
This hides database entries with empty types from the list of suggested
apps for files that have no extension. These entries should also be
removed from the database and the bug causing them should be fixed in
dev center.
2024-10-11 14:51:52 -04:00
KernelDeimos
38dcb60d3f
fix: creating app shortcut in self-hosted
...
For some reason ll_write has an undefined `actor` when clicking "Add
Shortcut to Desktop" from Dev Center. This should be investigated
further.
2024-10-11 14:50:35 -04:00
Nariman Jelveh
3157186f4f
close #798
2024-10-10 17:40:17 -07:00
KernelDeimos
d4b96a17c8
dev: add RWLock to putility
2024-10-10 18:47:07 -04:00
KernelDeimos
37e7b6ad70
fix: disable thumbnails for AppData uploads
2024-10-10 15:03:22 -04:00
KernelDeimos
823ab28448
test: update test invocation
2024-10-10 03:19:28 -04:00
ProgrammerIn-wonderland
979bd06d70
9p automounting
2024-10-09 20:36:03 -04:00
ProgrammerIn-wonderland
b145e30a90
feat: v86 9p server support
2024-10-09 20:36:03 -04:00
Nariman Jelveh
d449367db5
Update loading.svg
2024-10-09 10:04:09 -07:00
Nariman Jelveh
9890e3a8be
close #771
2024-10-08 19:51:57 -07:00
Nariman Jelveh
d0940ccd21
close #776
2024-10-08 18:59:14 -07:00
KernelDeimos
7f1b870d30
feat: support readdir for directory symlinks
2024-10-08 18:31:39 -04:00
KernelDeimos
c2a9506b48
fix: thumbnail service updates
2024-10-08 01:41:18 -04:00
ProgrammerIn-wonderland
ed0a83ca9d
dev: update v86, switch twisp to epoxy-server with twisp feature
2024-10-07 22:04:41 -04:00
4nshuman
822d850513
purge JSZip
2024-10-06 21:25:46 +05:30
4nshuman
e252567c88
Added progress dialog details
2024-10-06 21:19:42 +05:30
4nshuman
f0f8e454f9
added Promises to handle multiple file creation and closing progress dialog
2024-10-06 20:27:12 +05:30
4nshuman
a09dd29416
added empty directory check and file creation
2024-10-06 20:25:40 +05:30
4nshuman
e992e4d5d4
unzipped directory creation
2024-10-06 20:25:10 +05:30
4nshuman
2a82579eb8
added unzip error handler
2024-10-06 20:23:10 +05:30
4nshuman
a79cc040e8
implemented fflate unzip operation
2024-10-06 20:22:50 +05:30
4nshuman
e5f0f46633
added blob to uInt8Array conversion
2024-10-06 20:22:07 +05:30
4nshuman
9a2e701683
eleminate JSZip invocation
2024-10-06 20:21:29 +05:30
4nshuman
00f2dbdcf0
added window hide delay config
2024-10-06 20:18:30 +05:30
4nshuman
b9d7a1d2a1
added zip support for empty directories
2024-10-06 17:33:30 +05:30
4nshuman
b9b8229099
fixed comments phrasing
2024-10-06 16:19:46 +05:30
4nshuman
5b477c2cac
fixed module name
2024-10-06 16:10:40 +05:30
4nshuman
09d10cb29b
rectified progress window for unzip operation
2024-10-06 16:03:09 +05:30
4nshuman
f6541fc793
convention implemented definition header
2024-10-06 16:01:18 +05:30
4nshuman
deb8c4e13b
added status message terms
2024-10-06 16:00:01 +05:30
4nshuman
a93236118f
redirected unzip to helper method
2024-10-06 15:32:31 +05:30
4nshuman
a9bebdd7f0
fixed typo
2024-10-06 15:26:26 +05:30
4nshuman
dfe71d5965
modified zipping operationand integrated fflate
2024-10-05 23:47:22 +05:30
4nshuman
f05f7454e9
added helper method to convert binary large object to uInt8Array for zipping operations
2024-10-05 23:45:54 +05:30
4nshuman
582c411c00
added fflate min js to the library
2024-10-05 23:44:04 +05:30
4nshuman
f3625ed907
added terms for status message on zip operation
2024-10-05 23:43:43 +05:30
4nshuman
4c7b75ed67
added fflate on static asset and libPath
2024-10-05 23:43:15 +05:30
4nshuman
1929aaf5ef
added fflate on libPath on puter-gui
2024-10-05 23:42:43 +05:30
4nshuman
01aaa07e87
added zip progress counter configurations
2024-10-05 23:41:45 +05:30
KernelDeimos
c135649551
move: notes.md
2024-10-03 18:20:51 -04:00
KernelDeimos
196531d118
dev: update handling of duplicate emails
2024-10-03 17:04:47 -04:00
KernelDeimos
822f3b8c45
dev: add notes and some updates to email logic
2024-10-03 14:54:40 -04:00
KernelDeimos
2c3065a70f
test: register test for CleanEmailService
2024-10-02 21:30:14 -04:00
KernelDeimos
054b9c2864
dev: add service for cleaning email addresses
2024-10-02 17:51:43 -04:00
KernelDeimos
9db55fc5f7
fix: remove redundant openai model fallback
2024-10-02 15:14:46 -04:00
KernelDeimos
29fd595cf9
dev: rootfs-v0.2.0
2024-10-02 15:13:57 -04:00
KernelDeimos
9985996686
fix: app pseudonym in wrong conditional block
2024-09-30 20:38:25 -04:00
KernelDeimos
4febd81169
dev: app pseudonyms
2024-09-30 19:35:34 -04:00
KernelDeimos
8bc4122bea
tweak: change phoenix help text when launched with -c
2024-09-30 19:16:10 -04:00
KernelDeimos
5ed8823a16
tidy: remove a console log
2024-09-30 18:11:25 -04:00
KernelDeimos
5317adf8a4
feat: allow passing cli args via url
2024-09-30 18:09:28 -04:00
KernelDeimos
b6c0cb6abc
feat: add -c flag for phoenix
2024-09-30 16:50:18 -04:00
KernelDeimos
6e1ed7ab04
dev: update emu load indicator
2024-09-30 16:50:03 -04:00
KernelDeimos
04c05a5bb8
fix: properly add owner object to fsentries
2024-09-27 16:30:13 -04:00
KernelDeimos
a70d0dd088
fix: add progress bar fix
2024-09-27 15:08:19 -04:00
KernelDeimos
eab2721f89
dev: use streaming decompression
2024-09-26 18:49:29 -04:00
KernelDeimos
545ac0097f
tweak: ascii tux (important)
2024-09-26 18:28:13 -04:00
KernelDeimos
45cd3b79bb
tweak: disable grace period by default
2024-09-26 15:47:47 -04:00
KernelDeimos
259877b677
fix: allow ETX to propagate to bash
2024-09-26 15:47:35 -04:00
KernelDeimos
08601ae2af
feat: progress indicator for emulator
2024-09-25 23:47:10 -04:00
KernelDeimos
d0535cf10b
dev: add wasm bench
2024-09-25 21:45:03 -04:00
KernelDeimos
fff8993200
fix: error deleting entry from My Websites window
...
This could not be tested locally due to another but only affecting
self-hosted installations. This will be tested in staging in the
meantime while the other bug is being fixed.
2024-09-23 17:55:54 -04:00
KernelDeimos
b1b725a2eb
tweak: image from CDN (for real this time)
2024-09-23 15:07:26 -04:00
KernelDeimos
68c4274dc3
tweak: image from CDN
2024-09-23 14:54:01 -04:00
Nariman Jelveh
288411c377
Update style.css
2024-09-22 15:46:48 -07:00
KernelDeimos
27b66254e3
dev: compress default image with brotli
2024-09-22 17:49:00 -04:00
Nariman Jelveh
3ce8da37eb
close #772
2024-09-22 12:40:38 -07:00
KernelDeimos
07d3592d88
tweak: don't auto-start puter-linux for now
2024-09-21 15:39:19 -04:00
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
KernelDeimos
d1d0a9cccc
tweak: update license for puter-wisp
2024-08-27 22:40:27 -04:00
KernelDeimos
a4766278e4
tweak: package name for @heyputer/puter-wisp
2024-08-27 22:37:22 -04:00
KernelDeimos
2d1cb0050d
dev: puter-wisp
2024-08-27 22:20:32 -04:00
Nariman Jelveh
2385457d12
Remove the redundant image/
prefix in base64 encoded app icons in dev center
2024-08-27 18:04:04 -07:00
Nariman Jelveh
d285c2097f
use flexbox for app navbar in dev center
2024-08-27 17:34:09 -07:00
Nariman Jelveh
b1c91758da
Fix sort bug in dev center
2024-08-27 17:27:40 -07:00
Nariman Jelveh
45925bacb6
Improve the usability of the Settings tab in Dev Center
2024-08-27 17:11:48 -07:00
KernelDeimos
aa61c3009c
fix: typo in a default file
2024-08-26 17:43:33 -04:00
KernelDeimos
d2c7477b3b
fix(docker): ensure temp admin pass shows
2024-08-26 17:42:15 -04:00
decipher
155aab57d3
Removed else statement for closing registration in signup.js
2024-08-26 04:59:08 +02:00
Nariman Jelveh
da5635b576
Show an error if file containing puter.js is loaded using the file:
protocol
2024-08-25 14:38:19 -07:00
KernelDeimos
9a622004ea
fix: fix 500 when check-app has bad url
2024-08-25 16:54:19 -04:00
decipher
222d7dede3
Added configuration option for closing registration
...
Set config.registration_closed=true; in ./src/backend/src/config.js to close registration
2024-08-25 19:28:12 +02:00
Nariman Jelveh
b43ecb490a
Place github link and icon in the toolbar
2024-08-24 11:41:42 -07:00
KernelDeimos
eb18550f41
fix(puterai): close streams
2024-08-23 19:42:53 -04:00
KernelDeimos
5a616f67dd
fix(puterjs): fix settings object check
2024-08-23 16:39:30 -04:00
KernelDeimos
7f9d1e90b1
chore(puterai): update model
2024-08-23 16:09:22 -04:00
KernelDeimos
53e7a91f18
feat(puterai): add groq
2024-08-23 00:16:29 -04:00
KernelDeimos
937528f767
fix(security): signing in public folders
2024-08-22 23:48:30 -04:00
Nariman Jelveh
2d39b9be77
Update index.js
2024-08-22 20:47:02 -07:00
KernelDeimos
055c628afd
feat(puterai): add mistral
2024-08-22 23:28:08 -04:00
KernelDeimos
fd86934bc9
feat: add method to list models
2024-08-22 22:24:03 -04:00
KernelDeimos
7600d9b07c
feat: add streaming to XHR driver client
2024-08-22 14:28:43 -04:00
Nariman Jelveh
67e5219639
Merge branch 'main' of https://github.com/HeyPuter/puter into main
2024-08-21 20:59:51 -07:00
Nariman Jelveh
6135054b3b
add stream flag to the chat()
method of puter.ai
2024-08-21 20:59:42 -07:00
KernelDeimos
c08b897d4a
fix(puterai): adapt message role for claude
2024-08-21 23:50:09 -04:00
Nariman Jelveh
3bface8c66
if first args in puter.chat
is a string, it's the prompt
2024-08-21 20:38:03 -07:00
Nariman Jelveh
dadaf5e8b1
Merge branch 'main' of https://github.com/HeyPuter/puter into main
2024-08-21 20:19:34 -07:00
Nariman Jelveh
43c18377eb
Add support for multiple AI drivers via puter.js
2024-08-21 20:19:26 -07:00
KernelDeimos
21539a1651
tweak: let driver be called service
2024-08-21 23:18:12 -04:00
KernelDeimos
bdfdf2331b
feat(puterai): add togetherai
2024-08-21 23:17:02 -04:00
KernelDeimos
7b254e8676
tweak(puerai): add model parameter
2024-08-21 23:15:53 -04:00
KernelDeimos
439f52b5a3
feat(puterjs): add drivers module
2024-08-21 18:31:16 -04:00
KernelDeimos
32f0edb93a
feat(api): add /lsmod
2024-08-21 18:31:16 -04:00
KernelDeimos
d009cd0aaf
feat(puterai): add claude
2024-08-21 18:31:16 -04:00
KernelDeimos
9d5963cdf5
feat(puterai): add streaming
2024-08-21 18:31:16 -04:00
Nariman Jelveh
7024e2ec91
Add ketboards.js
to prod dependencies
2024-08-20 19:51:21 -07:00
Nariman Jelveh
921f522732
Remove redundant console.log
2024-08-20 19:37:35 -07:00
Nariman Jelveh
0b97bff1a2
Open public folders via URL only if deskotp has finished loading
2024-08-20 19:29:11 -07:00
Nariman Jelveh
5caf59f1bc
make logger return empty string
2024-08-20 19:05:34 -07:00
KernelDeimos
a002ad08e5
fix(security): remove unconfirmed_email from /whoami for apps
2024-08-20 21:42:42 -04:00
KernelDeimos
a7cdb70251
fix: ll_write
2024-08-19 21:27:53 -04:00
Nariman Jelveh
0705c2919f
Remove redundant console.log()
s
2024-08-19 15:21:51 -07:00
KernelDeimos
cb4cab529a
fix: don't try to sanitize null owners
2024-08-19 16:46:49 -04:00
KernelDeimos
3d92d0c619
tweak: show full scan in dev console
2024-08-19 14:50:32 -04:00
KernelDeimos
14820481b9
fix: missing key for feature flag perm check
2024-08-19 14:49:17 -04:00
KernelDeimos
6b4a19e12a
fix: implicit app permissions bug
2024-08-19 00:58:23 -04:00
KernelDeimos
48fea77a20
fix: share services and features with apps
2024-08-18 22:44:27 -04:00
KernelDeimos
3819584d11
fix: admin user public folder
2024-08-18 15:55:01 -04:00
KernelDeimos
2386d87229
feat: add writable attribute to fs items
2024-08-18 15:55:01 -04:00
KernelDeimos
b6b64d3bcc
fix: add anti-csrf token for /revoke-session
2024-08-18 01:07:04 -04:00
KernelDeimos
9fa12d43fc
fix: only show 2fa when available
2024-08-18 00:42:58 -04:00
KernelDeimos
6e325fa000
fix: requirement for email_confirmed in backend
2024-08-18 00:42:58 -04:00
KernelDeimos
ef245b70df
fix: do primary read of user after setting email_confirmed
2024-08-17 17:20:31 -04:00
KernelDeimos
0519b4a71b
fix: require confirmed email for public folder
2024-08-17 16:36:59 -04:00
Nariman Jelveh
3f520e13f3
remove cover iframe for public folders
2024-08-17 12:29:32 -07:00
KernelDeimos
ceecf54357
chore: sync versions
2024-08-17 15:13:12 -04:00
Nariman Jelveh
4e37064f47
fix issues public folder paths
2024-08-17 11:34:53 -07:00
Nariman Jelveh
88e8e33dc2
take into account feature flags for sharing
2024-08-17 11:11:36 -07:00
KernelDeimos
4561b8937d
feat: report feature flags in /whoami
2024-08-15 19:14:59 -04:00
Ikko Eltociear Ashimine
959a0f4e39
chore: update SystemFSEntryService.js
...
propery -> property
2024-08-16 00:25:30 +09:00
KernelDeimos
d032ab7d24
chore: update tiktoken
2024-08-14 21:08:29 -04:00
KernelDeimos
a821dc67d5
tweak: add driver to implicit admin permissions
2024-08-14 19:42:57 -04:00
KernelDeimos
209555c1d9
feat: make public folders a config opt-in
2024-08-14 17:20:49 -04:00
KernelDeimos
461ea3eae6
feat: add feature flag for /share
2024-08-14 17:20:49 -04:00
KernelDeimos
d4319ea072
fix: sqlite condition in MonthlyUsageService
2024-08-14 17:20:09 -04:00
Ranegg
cb8d0fa011
Added Finnish translations related to issue #536
2024-08-12 19:35:41 +03:00
Joel Sjögren
0c4690e39c
completed translation english to swedish in sv.js
2024-08-11 10:54:57 +02:00
Nariman Jelveh
37edb78fe9
Merge pull request #658 from NGunjyal01/fix/533/Translation-English-To-Danish
...
completed translation english to danish in da.js
2024-08-10 16:30:46 -07:00
KernelDeimos
3f07ead1b9
fix: add context to event listener aiife
2024-08-09 16:50:39 -04:00
unknown
00e8b81d16
completed translation english to danish in da.js
2024-08-09 23:16:52 +05:30
unknown
200cc4680b
Completed Transaltion of English To Portuguese from Portugal
2024-08-09 20:34:23 +05:30
KernelDeimos
e60632343b
sync: cross origin + small gui updates
2024-08-08 21:24:10 -04:00
KernelDeimos
783cf57934
sync: update hardcoded permissions
2024-08-08 17:23:30 -04:00
KernelDeimos
5b74b4affa
fix: missing method in SLink
2024-08-08 17:22:34 -04:00
KernelDeimos
e2f35b4844
dev: CLink and SLink classes
2024-08-08 15:13:32 -04:00
KernelDeimos
c213b21bee
move: BroadcastService to [+] BroadcastModule
2024-08-08 15:13:32 -04:00
KernelDeimos
cea29645fe
feat: add message encryption between Puter peers
2024-08-08 15:13:32 -04:00
KernelDeimos
476acae0e0
fix: disable unconfigured ai services
2024-08-05 16:04:25 -04:00
KernelDeimos
7aece26f4b
tweak: add default driver mapping
2024-08-03 21:07:56 -04:00
KernelDeimos
9a9bd5eaf0
feat: add test_mode flag
2024-08-03 21:07:56 -04:00
KernelDeimos
78fa77d920
feat: add tts driver to puterai module
2024-08-03 21:07:56 -04:00
KernelDeimos
fb26fdbc56
feat: add image generation driver to puterai module
2024-08-03 21:07:56 -04:00
KernelDeimos
4e3bd1831e
feat: add chat completions driver to puterai module
2024-08-03 21:07:56 -04:00
KernelDeimos
ef6671da18
feat: add --overwrite-config and configurable uuid masking
...
This is in preparation for the chat completions driver. OpenAI asks that
a user ID be provided in requests when service is being provided to
other users, so we deterministically generate different UUIDs for this
purpose to prevent user information from being exposed.
2024-08-03 21:07:56 -04:00
KernelDeimos
f924d48b02
feat: add textract driver to puterai module
2024-08-03 21:07:56 -04:00
KernelDeimos
b520783bf4
fix: add missing driver parameter to /call endpoint
2024-08-03 21:07:56 -04:00
KernelDeimos
1f059c330c
dev: update FileFacade to use LLRead
2024-08-03 21:07:56 -04:00
Nariman Jelveh
475eb13fb3
add checkmark to selected language in the settings window
2024-08-02 14:00:44 -07:00
Nariman Jelveh
fcb38aee87
Update translations.js
to add Hebrew files
2024-08-01 23:53:56 -07:00
Razy F
fa2702183c
Add the new he.js translation filee
2024-08-02 09:06:34 +03:00
Nariman Jelveh
a2255521f2
Escape rootItems
in Dev Center before printing
2024-08-01 18:54:10 -07:00
Nariman Jelveh
11658beb18
Merge branch 'main' into main
2024-08-01 00:03:03 -07:00
Nariman Jelveh
ed4d74d27d
Merge pull request #648 from ljyamada/issue514
...
Complete Korean translation #541
2024-07-31 23:53:54 -07:00
Noru V
e8b57debe9
Updated plural suffix problem related to showing the number of items when you use Explorer
2024-08-01 11:09:18 +09:00
Noru V
1063b6c1ab
Updated Korean translation file
2024-08-01 10:28:24 +09:00
haruto
eeda878554
Complete Korean translation #541
...
Complete Korean translation based on English file #541
2024-08-01 10:00:19 +09:00
Nariman Jelveh
b35428ddd3
Merge pull request #646 from RandomStrangerOnTheInternet/main
...
Update Dutch translations
2024-07-31 17:07:16 -04:00
KernelDeimos
8b11937365
dev: fix incomplete support for multipart driver requests
2024-07-31 17:06:50 -04:00
KernelDeimos
7a09c5c47a
doc: add example requests
2024-07-31 17:06:50 -04:00
KernelDeimos
c28f2cb4df
dev: add service to test images through drivers
2024-07-31 17:06:50 -04:00
Nariman Jelveh
ade66bd1da
escape unescaped single quote causing syntax error
2024-07-31 17:04:22 -04:00
RandomStrangerOnTheInternet
c7ab7e04a6
Update Dutch translations (fixes https://github.com/HeyPuter/puter/issues/543 )
2024-07-31 22:56:36 +02:00
Nariman Jelveh
1e753843d2
Remove some of the unused component imports
2024-07-28 12:41:52 -07:00
KernelDeimos
02504690cf
test: add database migration tests
2024-07-28 04:02:16 -04:00
KernelDeimos
d0e461e206
fix: sqlite migrations error
...
This issue was caused by an INSERT statement which adds the admin user
to the admin group. The admin user is created at initialization, so for
new installs it does not exist at the time migration scripts are run.
Additionally, new javascript-coded migrations (.mig.js) would not have
run for new installs because of redundant (WET; not DRY) code for
initial setup.
This commit also improves error handling of the migration service, which
was necessary to diagnose this issue.
In the future, setup always needs to be tested after updating migration
scripts, even though migration of existing databases is where most of
the issues will happen.
Resolves : #639
2024-07-27 18:54:17 -04:00
Nariman Jelveh
c717746646
Use the english version of the license header but retain the credit to Bryar Ghafoor
2024-07-27 14:07:24 -07:00
Bryar Ghafoor
fe119756b5
Update Kurdish language template
2024-07-27 23:19:24 +03:00
KernelDeimos
70787ffa2c
tweak: print new password when resetting pass via server console
2024-07-26 22:43:11 -04:00
Muhammad Fauzi
033643b0e7
feat: Add Indonesian Translation for i18n
2024-07-27 02:45:05 +07:00
KernelDeimos
654e0b9333
move: move selfhosting-related services to a module
2024-07-26 01:23:22 -04:00
KernelDeimos
6213806aba
dev: move driver arg types to a registry
2024-07-25 23:19:54 -04:00
KernelDeimos
af3180a57f
dev: add monthly usage to new call method
2024-07-25 23:19:54 -04:00
KernelDeimos
8be7a7d219
dev: add logical rate-limit to new call method
2024-07-25 23:19:54 -04:00
KernelDeimos
780a993465
dev: move policy selection to call_new_
2024-07-25 23:19:54 -04:00
KernelDeimos
ea409d1578
dev: begin using Invoker for driver calls
2024-07-25 23:19:54 -04:00
KernelDeimos
20b58ddcb5
dev: add Invoker
2024-07-25 23:19:54 -04:00
KernelDeimos
9e38e048c1
dev: prepare to implement policy enforcer
2024-07-25 23:19:54 -04:00
KernelDeimos
e514dfcf50
fix: prevent large logs from service events (2)
2024-07-25 23:19:54 -04:00
KernelDeimos
d5ec40078f
dev: begin adding new driver call method
2024-07-25 23:19:54 -04:00
KernelDeimos
e0d30f041b
dev: move implied system perms
2024-07-25 23:19:54 -04:00
KernelDeimos
984ae9e6a2
feat: add password reset from server console
2024-07-25 23:19:54 -04:00
KernelDeimos
580fbdb113
tweak: record time for permission scans
2024-07-25 23:19:54 -04:00
KernelDeimos
cca19ad495
dev: remove svc_permission.check
2024-07-25 23:19:54 -04:00
KernelDeimos
191be84e32
dev: migrate svc_permission check() to scan()
2024-07-25 23:19:54 -04:00
KernelDeimos
3b85e4eeba
dev: migrate ACLService to use scan()
2024-07-25 23:19:54 -04:00
KernelDeimos
a0f0151446
dev: improve permission scan reading
2024-07-25 23:19:54 -04:00
KernelDeimos
4a6055d239
dev: add user-app to permission scanning
2024-07-25 23:19:54 -04:00
KernelDeimos
54471fada9
feat: add server command to scan permissions
2024-07-25 23:19:54 -04:00
KernelDeimos
c9ded89b22
feat: grant user driver perms from admin
2024-07-25 23:19:54 -04:00
KernelDeimos
f0c36a1cdf
feat: replace default_user with admin
2024-07-25 23:19:54 -04:00
KernelDeimos
d1261460ba
dev: obtain driver permission from system user
2024-07-25 23:19:54 -04:00
KernelDeimos
ab156297a7
feat: add system user
2024-07-25 23:19:54 -04:00
KernelDeimos
2cd68100d2
refactor: add traits and services as drivers
2024-07-25 23:19:54 -04:00
KernelDeimos
8beda66328
data: add extra sound
2024-07-25 18:28:16 -04:00
KernelDeimos
5fee393b67
data: add startup and shutdown chimes
2024-07-25 18:01:10 -04:00
Nariman Jelveh
f30bbbd375
Add translation template for Kurdish
2024-07-25 14:48:12 -07:00
Nariman Jelveh
22d7134802
Pass window.crossOriginIsolated
value to the popup
2024-07-24 12:36:19 -07:00
KernelDeimos
48c819ac73
chore: update SLA for chat model
...
Resolves : #630
2024-07-24 13:35:26 -04:00
KernelDeimos
fa9cc8efcf
fix: prevent large logs from service events (1)
2024-07-24 02:31:45 -04:00
KernelDeimos
5d5f5660b4
feat: add options to disable winston and devwatch
2024-07-24 01:52:07 -04:00
Nariman Jelveh
cc0800d60a
Remove unnecessary console.log
calls
2024-07-22 19:43:50 -07:00
Nariman Jelveh
5d58764316
Use join. to build target path
2024-07-22 16:38:45 -07:00
KernelDeimos
5d2a6fce30
fix: fix templates
2024-07-22 17:10:58 -04:00
Nariman Jelveh
1f7f094282
Merge pull request #627 from Koppeks/koppeks/templates_folder_contextmenu
...
Templates folder feature
2024-07-22 11:33:02 -07:00
Nariman Jelveh
d8dd218089
Don't show No templates found
for now.
2024-07-22 11:31:01 -07:00
Nariman Jelveh
a9801fc10d
place available_templates
call in update_auth_data
to guarantee that user
object exists
2024-07-22 11:07:57 -07:00
Nariman Jelveh
2d5a0bb894
closes #614
2024-07-21 17:01:24 -07:00
Koppeks
a0113788f9
remove extra comments
2024-07-21 17:32:33 -03:00
enweazudaniel
382fb24dbb
Update ig.js
2024-07-21 17:04:33 +01:00
KernelDeimos
8f87770ceb
fix: popup login in co isolation mode
2024-07-20 20:46:03 -04:00
KernelDeimos
2a5cec7ee9
fix: add necessary iframe attributes for co isolation
2024-07-20 18:54:08 -04:00
pvhuwung
02e1b1e8f5
chore: fix confirm for type_confirm_to_delete_account
2024-07-21 04:03:37 +07:00
Pham Viet Hung *David
f4a45d74e7
Merge branch 'HeyPuter:main' into i18n/vietnamese-translation
2024-07-21 04:53:48 +08:00
pvhuwung
c2d3d69dbe
feat: add vietnamese localization-a
2024-07-21 03:53:14 +07:00
Nariman Jelveh
71f4b4d71f
When setting size/position of app window make sure it's not an empty string
2024-07-20 13:34:36 -07:00
Nariman Jelveh
3a09e84838
fix: syntax error and formatting issue
2024-07-20 08:05:14 -07:00
WHL
b9e73b7288
Update zhtw.js, Complete Traditional Chinese translation based on English file #550
2024-07-20 22:18:05 +08:00
Koppeks
f897e84498
Temporal commit for issue #432
2024-07-19 19:42:47 -03:00
Nariman Jelveh
eae51e945b
Merge branch 'main' of https://github.com/HeyPuter/puter into main
2024-07-19 13:11:35 -07:00
Nariman Jelveh
98e69642d0
fix: launch_app
not considering explorer
as a special case
2024-07-19 13:11:26 -07:00
Nariman Jelveh
f2bb551e75
Change english_name
from English
to Tamil
2024-07-19 08:52:19 -07:00
Alfika07
8a3d0430f3
Add Tamil translation to translations.js
2024-07-19 09:46:04 +02:00
Alfika07
333d6e3b65
Move Tamil translation to the rest of translations
2024-07-19 09:43:23 +02:00
KernelDeimos
e58da265ba
try cross-origin isolation only on sites
2024-07-18 20:58:09 -04:00
KernelDeimos
7043b9400c
fix: well kinda (HOSTNAME in phoenix)
2024-07-18 20:16:08 -04:00
Nariman Jelveh
eeda9fb568
close #409
2024-07-18 16:06:45 -07:00
KernelDeimos
74adcddc1d
fix: fix CI attempt #5
2024-07-18 16:36:44 -04:00
Nariman Jelveh
d9a90a67c1
let me try fixing mocha!
2024-07-18 13:30:05 -07:00
Nariman Jelveh
82fa2d0862
close #169
2024-07-18 13:01:14 -07:00
KernelDeimos
ad3d318d07
fix: make webpack output not look like errors
2024-07-18 14:50:53 -04:00
KernelDeimos
e539932070
feat: add cross_origin_isolation option
2024-07-18 14:23:03 -04:00
KernelDeimos
8c8904cb36
doc: update documentation for boot sequence
2024-07-18 14:23:03 -04:00
Nariman Jelveh
f9333b3d1e
feat: add option to disable temporary users
2024-07-18 12:59:42 -04:00
KernelDeimos
ba50d0f96d
feat: add some default groups
2024-07-18 01:08:49 -04:00