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
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
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
Nariman Jelveh
8e7306c23b
Add support for dropping multiple Puter items onto Dev Center ( close #311 )
2024-07-17 20:56:36 -07:00
Nariman Jelveh
e6833253c7
close #276
2024-07-17 20:14:07 -07:00
Nariman Jelveh
4d6edff169
Escape arguments passed to dev-center
2024-07-17 18:32:02 -07:00
Nariman Jelveh
45f131f8ea
No scrollbar for session list
2024-07-17 14:05:49 -07:00
Nariman Jelveh
d80f2fa847
fix: fix path issues under win32 platform
2024-07-17 13:36:22 -07:00
KernelDeimos
5c636d4fd2
fix: remove abnoxious debug file
2024-07-17 13:55:55 -04:00
Michal Hobot
8bece96f62
Translation improvements, mainly style and context-based
...
After using a Polish-translated puter I found out several places for improvement
2024-07-17 15:43:23 +02:00
Nariman Jelveh
6c29427e16
close #174
2024-07-16 19:06:46 -07:00
Nariman Jelveh
9bfee0862f
Merge pull request #600 from Koppeks/koppeks/translation-es
...
Translation to Spanish
2024-07-16 18:14:44 -07:00
Koppeks
151527825f
update translation file es.js to be up to date with the file en.js
2024-07-16 20:30:42 -03:00
Michal Hobot
8e297cd7e3
Translate en.js as of 2024-07-10
2024-07-16 17:55:34 +02:00
Nariman Jelveh
c80526900b
Merge pull request #594 from Szab54/patch-1
...
Update translations.js to Hungarian lang
2024-07-15 12:39:07 -07:00
XYCert
69a80ab3d2
Create hu.js hungarian language
2024-07-15 21:04:38 +02:00
XYCert
56820cf6ee
Update translations.js to Hungarian lang
2024-07-15 20:58:31 +02:00
Nariman Jelveh
7f0365202e
Merge pull request #593 from Varun710/tamil-translation
...
Tamil translation
2024-07-14 22:36:13 -07:00
Varun710
81781f80af
Tamil translation
2024-07-15 00:27:35 -05:00
LNLenost
84e31eff2f
Update it.js
2024-07-14 19:34:09 +02:00
Narek
3b8af7cc5c
Update Armenian translation file
2024-07-14 00:11:15 +04:00
Nariman Jelveh
ae04a09c90
Take into account that godmode
might be either integer or boolean
2024-07-11 18:07:09 -07:00
KernelDeimos
e8f4c328bf
fix: read_only fields in ES
2024-07-11 21:00:14 -04:00
KernelDeimos
6a2fbc1925
fix(security): hoist acl check in ll_read
2024-07-11 20:09:39 -04:00
Nariman Jelveh
b790bab9c0
Merge pull request #585 from HeyPuter/eric/rename-traits-to-features
...
refactor(backend): rename traits to features
2024-07-11 14:37:12 -07:00
KernelDeimos
f7d15bae41
refactor(backend): rename traits to features
2024-07-11 16:50:09 -04:00
Waheed Uddin Ahmed
cff488f4f4
Update bn.js file formatting
2024-07-11 06:46:34 +06:00
Waheed Uddin Ahmed
92abc9947f
Issue#530 - Update bengali translations
2024-07-11 06:42:52 +06:00
KernelDeimos
7aadae58ce
fix: remove flag that breaks puter-js webpack
2024-07-10 17:18:54 -04:00
KernelDeimos
5b1924f312
chore: remove duplicate headers
2024-07-10 16:53:54 -04:00
KernelDeimos
6728dd2571
dev(license-headers): fix excludes list
2024-07-10 16:25:14 -04:00
KernelDeimos
fac08c4152
doc: remove extra log in doc snippet
2024-07-10 13:52:20 -04:00
Sergiu Bondor
8440f566b9
Added missing Romanian translations.
2024-07-10 19:49:45 +03:00
Slendi
473b6512c6
Add 2FA Romanian translations
...
Signed-off-by: Slendi <slendi@socopon.com>
2024-07-10 11:37:06 +03:00
askdkc
31748506b7
Create ja.js for Japanese Translation
2024-07-10 11:22:16 +09:00
askdkc
47ec74f0aa
Add Japanese Translation
2024-07-10 11:20:29 +09:00
KernelDeimos
fafa36c73f
move: move dev-server.js back to gui
...
I'm not sure why it was here, I thought I moved it already.
2024-07-09 19:01:49 -04:00
Nariman Jelveh
10d77f17aa
retry npm 3 times to account for the flakiness of the process
2024-07-09 15:12:19 -07:00
micheledinelli
6c4c73a9e8
Add documentation instructions to get started with My Websites
2024-07-09 23:33:11 +02:00
Nariman Jelveh
00eabd7b10
remove duplicate and/or incorrect license headers
2024-07-09 13:50:20 -07:00
Nariman Jelveh
1d52a559ff
Remove more duplicate license headers
2024-07-09 08:14:33 -07:00
Nariman Jelveh
ab164c3a0a
Merge pull request #570 from micheledinelli/main
...
Completing Italian translation based on English file
2024-07-09 07:59:11 -07:00
micheledinelli
f5a8ee1c6a
Completing Italian translation based on English file
2024-07-09 16:55:45 +02:00
Nariman Jelveh
7fa2dd535f
remove all duplicated license headers
2024-07-09 07:51:54 -07:00
micheledinelli
a96abb5793
Completing Italian translation based on English file.
2024-07-09 16:49:19 +02:00
Nariman Jelveh
1f4297f746
Remove extra license header from ar.js
2024-07-09 07:48:35 -07:00
KernelDeimos
3a7221dba5
chore: cleanup root directory
2024-07-09 04:18:55 -04:00
KernelDeimos
bda4aed2e8
chore: add missing license headers
2024-07-09 04:10:33 -04:00
Nariman Jelveh
d3a9ba847a
Move icon credits to the GUI project directory
2024-07-08 22:23:02 -07:00
Nariman Jelveh
338004474f
Add jsdoc-style comments for a number of functions
2024-07-08 17:52:43 -07:00
Nariman Jelveh
535475b3c3
Improve getMimeType
to remove trailing dot in the extension if preset
2024-07-08 17:33:09 -07:00
Matheus Carvalho
42a6b3938a
feat: update BR translation
2024-07-08 18:33:39 -03:00
Nariman Jelveh
7d92304e7f
Update ar.js
2024-07-08 13:59:45 -07:00
Nariman Jelveh
8bdd489eaf
Add missing commas
2024-07-08 13:59:13 -07:00
Med Elm
fe5be7f3cf
Update Arabic translations in src/gui/src/i18n/translations/ar.js to match English version in src/gui/src/i18n/translations/en.js
2024-07-08 13:59:13 -07:00
Nariman Jelveh
26e9b0b2de
Merge pull request #564 from Speedyjet/Russian_and_Ukrainian
...
Russian and ukrainian
2024-07-08 13:18:33 -07:00
Nariman Jelveh
d2c68308bb
Merge branch 'main' into translations_russian_and_ukrainian
2024-07-08 13:08:55 -07:00
Oleh Brusentsov
e61039faf4
Ukrainian updated
2024-07-08 21:44:42 +02:00
Nariman Jelveh
a1dd354787
Merge pull request #561 from julijatol/main
...
Update ru.js issue #547
2024-07-08 12:29:54 -07:00
KernelDeimos
3ed7916856
feat: JSON support for kv driver
2024-07-08 15:27:54 -04:00
Yuliya Tolstikova
17145d0be6
Update ru.js issue #547
2024-07-08 15:12:48 -04:00
Oleh Brusentsov
8836011428
Russian translation fixed
2024-07-08 20:44:53 +02:00
KernelDeimos
1f659f7c01
chore: fix release-please version
2024-07-08 13:47:44 -04:00
Nariman Jelveh
86fd2f4bc4
Delete src/dev-center/.eslintignore
2024-07-08 10:06:09 -07:00
Nariman Jelveh
cb8f0aa359
wtf is wrong with eslint?!
2024-07-07 21:40:53 -07:00
Nariman Jelveh
58ff7c279d
Update .eslintignore
2024-07-07 21:38:39 -07:00
Nariman Jelveh
1f8cd7f613
Create .eslintignore
2024-07-07 21:36:37 -07:00
KernelDeimos
94c0449437
fix: docker runtime fail because stdout columns
2024-07-08 00:31:18 -04:00
Nariman Jelveh
30f9f29982
Merge branch 'main' of https://github.com/HeyPuter/puter into main
2024-07-07 20:44:04 -07:00
Nariman Jelveh
594424444a
make Dev Center aware of the origin of the host environment
2024-07-07 20:43:57 -07:00
KernelDeimos
4078a63fe1
tweak: maximize dev center on start
2024-07-07 23:16:19 -04:00
Nariman Jelveh
ad56091c2f
Merge pull request #559 from TianLangStudio/translation_zh
...
[translation] improve Chinese translation fix issue 549
2024-07-07 19:47:36 -07:00
Nariman Jelveh
fd39f92ea6
get username and appID from puter.js rather than iframe URL in Dev Center
2024-07-07 19:44:28 -07:00
KernelDeimos
283f409a66
fix: fix owner ids for default apps
2024-07-07 22:35:45 -04:00
FusionZhu
a8474054cc
improve Chinese translation fix issue 549
2024-07-08 10:27:53 +08:00
KernelDeimos
10f4d7d50c
feat: register dev center to apps
2024-07-07 22:26:32 -04:00
Nariman Jelveh
e73d55b2c0
Perform getDeveloperProfile
only when on puter.com
2024-07-07 19:22:26 -07:00
Nariman Jelveh
f2b551d5be
Initial commit for Dev Center
2024-07-07 18:52:37 -07:00
KernelDeimos
af083b0800
cleanup: feat: support canonical puter.js url in dev
2024-07-07 20:47:01 -04:00
KernelDeimos
fd41ae217c
feat: support canonical puter.js url in dev
2024-07-07 20:45:02 -04:00
KernelDeimos
a43cab0c93
refactor: move puter gui to workspace
2024-07-07 17:12:55 -04:00
Nariman Jelveh
4c26ebe3ac
Fix key references for the Hindi language
2024-07-07 10:11:17 -07:00
ramanfloyeedee
ce50718f84
Issue no-551 hindi translation
...
I have created hi.js file under src/i18n/translations in the main branch.
please review the file.
Thanks
2024-07-07 21:31:43 +05:30
Nariman Jelveh
cb5184f2f1
Confirming to delete accoutn works with both English and the chosen locale of the user
2024-07-07 08:47:09 -07:00
Nariman Jelveh
ce2b38c084
Merge pull request #556 from mklr19/translate-german
...
Updated german translation file
2024-07-07 08:22:46 -07:00
mklr19
37dca86506
Updated german translation file
2024-07-07 15:42:27 +02:00
etnms
812480bbd0
updated French translation based on English file per issue #513
2024-07-07 10:23:35 +02:00
Nariman Jelveh
d0cb0a96de
Add english_name
attribute for the Polish i18n
file
2024-07-06 11:20:01 -07:00
brodbar
28a9469914
Update locale
2024-07-06 16:47:50 +03:00
Nariman Jelveh
31bf69f10e
add the two missing keys
2024-07-05 21:25:48 -07:00
Sysnajar
5e78690b97
Add Thai translation.
2024-07-06 10:46:58 +07:00
Nariman Jelveh
d0758631ea
Add more English translation keys
2024-07-05 15:35:16 -07:00
Zuhaib Asif
a9c33da151
Updated Urdu translations, added missing entries, and corrected inaccuracies
2024-07-06 02:21:49 +05:00
Nariman Jelveh
dcbca2f829
Add i18n
keys for multiple terms
2024-07-03 13:05:39 -07:00
Nariman Jelveh
3633349700
Merge pull request #516 from guicazaroto/feature/translate-br.js
...
feature: add (pt-br) translation for system settings.
2024-07-02 15:59:23 -07:00
Guilherme Guimarães Cazaroto
77211c4f71
feature: add (pt-br) translation for system settings.
2024-07-02 19:42:49 -03:00
Nariman Jelveh
80ea655d05
close #512
2024-07-01 15:44:48 -07:00
KernelDeimos
d9c4fbbd1d
fix: ui color input attributes
2024-07-01 14:23:49 -04:00
Sam Atkins
b7133760df
tweak: Ensure puter.domain
is always set for launched apps
2024-07-01 12:46:15 -04:00
Nariman Jelveh
91e9fa7c25
improve the ux of "Show Desktop" toolbar button
2024-06-30 23:30:55 -07:00
Nariman Jelveh
95e1268527
Make contextmenu smooth as butter
2024-06-28 12:48:55 -07:00
Nariman Jelveh
fbc02a5f62
Fix the issue with re-opening submenus using keyboard
2024-06-26 09:41:57 -07:00
Nariman Jelveh
8a763eab6f
fix multiple issues with ctx menu event delegation and keyboard navigation
2024-06-26 00:57:12 -07:00
Sam Atkins
d81f6e5ede
chore: Mark globals as being part of the window object
...
Silences eslint
2024-06-24 19:15:02 -04:00
Nariman Jelveh
266e41f95c
Remove extra height for iframe when menu bar is in desktop
mode
2024-06-24 10:24:30 -07:00
Nariman Jelveh
a094ae5683
Update en.js
2024-06-23 10:01:16 -07:00
Nariman Jelveh
a58aa3f2e6
Close #480
2024-06-22 22:09:19 -07:00
Nariman Jelveh
0bd0eaf890
add the ability to pick between desktop and winow menubars
2024-06-22 19:51:29 -07:00
Nariman Jelveh
704a4ead17
Show register form when user receiving a file is not the correctone
2024-06-21 12:16:42 -07:00
Nariman Jelveh
e31625d0da
Update IPC.js
2024-06-21 00:06:01 -07:00
Nariman Jelveh
61961b565e
Update initgui.js
2024-06-20 23:47:35 -07:00
Nariman Jelveh
27ec2d7f1c
Update initgui.js
2024-06-20 19:43:32 -07:00
Nariman Jelveh
88ce871601
Update initgui.js
2024-06-20 19:38:47 -07:00
Nariman Jelveh
2d4f5778a2
Update initgui.js
2024-06-20 19:37:27 -07:00
Nariman Jelveh
5cb5a75455
Verify share_token
when launched
2024-06-20 19:31:03 -07:00
KernelDeimos
bf63144f7a
fix: null email in request to /share
2024-06-20 19:41:41 -04:00
Nariman Jelveh
1c2ba76db2
If items are dropped on the home directory of another user, try to share the items rather than copy/move
2024-06-20 14:06:43 -07:00
Nariman Jelveh
6f0706ffc5
rename show_or_hide_empty_folder_message
to toggle_empty_folder_message
2024-06-20 13:28:45 -07:00
Nariman Jelveh
a834fbcc6c
remove scroll bar from
2024-06-20 11:32:03 -07:00
KernelDeimos
c0fb470719
tweak: update gui
2024-06-20 12:58:04 -04:00
Sam Atkins
2355a43efa
tweak: Re-add mime.js import
...
This got removed in 7006dcc31c
, but we do
need it.
2024-06-20 14:21:41 +01:00
Nariman Jelveh
1500f84d46
close #483
2024-06-19 22:30:42 -07:00
Nariman Jelveh
feabbaf564
close #430
2024-06-19 21:07:41 -07:00
Nariman Jelveh
7006dcc31c
refactor item_icon
2024-06-19 18:39:32 -07:00
Nariman Jelveh
219cb63b73
refactor open_item
2024-06-19 18:27:49 -07:00
Nariman Jelveh
0726a11d11
refactor get_html_element_from_options
2024-06-19 17:59:48 -07:00
Nariman Jelveh
44d340d429
Update UIWindowShare.js
2024-06-19 14:16:48 -07:00
Nariman Jelveh
ad079cdcc5
Use razzle dazzle to display icons of items being shared
2024-06-19 14:06:25 -07:00
Nariman Jelveh
bfd896041e
Update UIWindow.js
2024-06-19 12:13:01 -07:00
Nariman Jelveh
bd958b3820
show the share dialog when items are dropped on a username in the sidebar
2024-06-19 12:11:05 -07:00
Nariman Jelveh
c67674c889
Add license headers
2024-06-19 00:01:12 -07:00
Nariman Jelveh
41e307bd5b
cast selectable_body
and multiselectable
to Boolean
2024-06-18 23:37:28 -07:00
Nariman Jelveh
892750788b
Merge branch 'main' of https://github.com/HeyPuter/puter into main
2024-06-18 23:21:16 -07:00
Nariman Jelveh
4bd62c02dc
close #309
2024-06-18 23:21:07 -07:00
KernelDeimos
5cda51e184
tweak: add missing file for previous commit
2024-06-19 02:10:58 -04:00
Nariman Jelveh
581964b655
Make GUI open the relavant directory when URL is provided
2024-06-18 22:11:14 -07:00
Nariman Jelveh
c1647a5982
wip: bad commit message, I know.
2024-06-18 21:57:34 -07:00
KernelDeimos
e7c0b8320a
feat: add querystring-informed errors
2024-06-19 00:51:16 -04:00
Nariman Jelveh
174e2b7781
Take user to shared directory when clicked on share notif
2024-06-18 21:04:09 -07:00
Nariman Jelveh
1d083efb67
We officially have one of the best web-based Context Menus
2024-06-18 20:25:42 -07:00
Nariman Jelveh
1904b92a9d
Update jquery.menu-aim.js
2024-06-18 18:15:53 -07:00
Nariman Jelveh
5dc640bec1
Add a list of sharing users in the sidebar of Explore
2024-06-18 17:15:46 -07:00
Nariman Jelveh
4aa72eaf15
Update jQuery UI to 1.13.2
2024-06-17 22:35:17 -07:00
Nariman Jelveh
91b7f7db1e
simplify UI for sharing
2024-06-17 21:50:30 -07:00
Nariman Jelveh
7f516896be
Add the ability to share and revoke permission through UiWindowShare
2024-06-17 21:26:00 -07:00
Nariman Jelveh
afe37a69d6
Update IPC.js
2024-06-17 14:51:48 -07:00
Nariman Jelveh
21c537fe22
Refactor to use KV exclusively
2024-06-17 14:33:24 -07:00
Nariman Jelveh
5f8b8a2147
Make sure an iframe is focused after app is loaded
2024-06-17 13:17:37 -07:00
Nariman Jelveh
2a748f1884
Close all other contextmenus when a new menu item is opened
2024-06-17 09:41:22 -07:00
Nariman Jelveh
b2f2c557e9
Update UIWindowShare.js
2024-06-16 23:29:40 -07:00
Nariman Jelveh
ccf6ebef4d
Add support for disabled
context menu items through puter.js
2024-06-16 20:18:11 -07:00
Nariman Jelveh
04adade80e
Update launch_app.js
2024-06-16 19:25:06 -07:00
Nariman Jelveh
f185c02f4c
Update UIContextMenu.js
2024-06-16 19:00:53 -07:00
Nariman Jelveh
4ef6fd6148
Make mouseMoved
event take into account window head height
2024-06-16 18:48:34 -07:00
Nariman Jelveh
b789bb7078
Refactor launch_app
to add support for fullpage apps on landing
2024-06-16 18:10:37 -07:00
Nariman Jelveh
8ebf1cec3f
Update UIContextMenu.js
2024-06-16 13:41:16 -07:00
Nariman Jelveh
0fea080ba9
Blur context menu items when mouse leaves
2024-06-16 13:25:46 -07:00
Nariman Jelveh
c35ecec5a4
Focus back on the parent window when an item in context menu is clicked
2024-06-15 23:17:45 -07:00
Nariman Jelveh
476f408a13
Take into account the menubar height when positioning the contextmenu via puter.js
2024-06-15 22:58:24 -07:00
Nariman Jelveh
0dbc6aad0f
Don't show 'Cut' and 'Delete' options on shared items
2024-06-15 22:14:14 -07:00
Nariman Jelveh
705b9de28c
Add basic sharing UI
2024-06-15 20:36:40 -07:00
Nariman Jelveh
ea84c2f26d
Fix issues with inconsistent path formats for owned files vs shared files
2024-06-15 22:39:47 -04:00
KernelDeimos
079e25a9fe
feat: add /show urls
2024-06-15 22:39:47 -04:00
Nariman Jelveh
1859668257
Add proper handling of the close
event handler in UINotification
2024-06-15 17:28:11 -07:00
KernelDeimos
d5d987ead6
chore: fix typo because acknowledge is not spelled awknowledge in any variant of the english language
2024-06-15 19:25:09 -04:00
KernelDeimos
20542b0565
tweak: update notification format
2024-06-15 18:59:32 -04:00
KernelDeimos
0101f425d4
feat: add mark-read endpoint
2024-06-15 18:59:32 -04:00
KernelDeimos
02fc4d86b7
feat: re-send unreads on login
2024-06-15 18:59:32 -04:00
KernelDeimos
a1e6887bf9
feat: add service for notifications
2024-06-15 18:59:32 -04:00
Nariman Jelveh
7e13ab16c9
Update style.css
2024-06-15 14:24:16 -07:00
Nariman Jelveh
7b724ff1eb
show the "Close All" button on multiple notifications
2024-06-15 13:01:33 -07:00
Nariman Jelveh
b74315c7f5
add "fade up?!" animation to disappearing notifications
2024-06-15 12:31:14 -07:00
Nariman Jelveh
e18766a651
Add support for value
and click
options to UINotification
2024-06-15 12:02:09 -07:00
Nariman Jelveh
82c60414b9
Add support for icon, title, and text in notifications
2024-06-15 11:31:26 -07:00
Nariman Jelveh
40c0ef4567
reimplement stacked notifications
2024-06-15 01:28:35 -07:00
Nariman Jelveh
5a47ba4110
Update UIDesktop.js
2024-06-15 01:02:14 -07:00
Nariman Jelveh
f047c6b738
implement naive notification stacking
2024-06-15 01:01:29 -07:00
KernelDeimos
3ae0773ce8
chore: revive static-assets (for now)
2024-06-14 23:06:38 -04:00
Nariman Jelveh
981066c4a1
Refactor helpers.js
2024-06-14 16:38:07 -07:00
Nariman Jelveh
cb60759687
Fix html encode/decode issue in item rename
2024-06-13 11:46:54 -07:00
Nariman Jelveh
cf08244b6f
Enable keyboard navigation in the menubar
2024-06-13 00:05:48 -07:00
Nariman Jelveh
0c4728fbc1
Refactor
2024-06-12 21:41:02 -07:00
Nariman Jelveh
72641c66a2
Support the modification of individual items withing a menu bar
2024-06-12 19:18:24 -07:00
KernelDeimos
dfdf1dd973
chore: appease linter so it stops ruining my index
2024-06-11 22:46:11 -04:00
Nariman Jelveh
5e9617f6cc
Add support for ContextMenu
icons via Puter.js
2024-06-05 14:39:52 -07:00
KernelDeimos
41f378e403
Somehow this got lost earlier
2024-06-04 16:53:29 -04:00
Nariman Jelveh
66639ea110
Merge pull request #449 from wamynobe/main
...
fix: fix typo
2024-06-03 00:50:31 -07:00
Nariman Jelveh
1ae82b3210
turns out ESLint is garbage
2024-06-02 16:30:29 -07:00
Nariman Jelveh
a81f461b54
Implement the contextMenu
API for Puter.js
2024-06-02 16:15:35 -07:00
Nariman Jelveh
cf8a07286a
Fix typo sanitizeItems
to sanitize_items
2024-06-02 10:23:41 -07:00
Nariman Jelveh
6efff83616
Support separator in the setMenubar
API
2024-06-02 10:21:11 -07:00
Nariman Jelveh
49f61c4782
Update UIContextMenu.js
2024-06-01 15:56:32 -07:00
Mason Nguyen
ce328b7245
fix: fix typo
2024-06-01 11:00:03 +07:00
KernelDeimos
71e2310fa4
tweak(ui): expose UIAlert to service scripts
2024-05-31 18:09:15 -04:00
KernelDeimos
d2b37fc436
tweak(ui): fix NotifCard accessing on_click
2024-05-31 18:03:45 -04:00
Nariman Jelveh
e6e058c0a0
Update UIContextMenu.js
2024-05-31 10:58:18 -07:00
Nariman Jelveh
c9a43ce5c0
Update UIContextMenu.js
2024-05-30 18:16:32 -07:00
Nariman Jelveh
7c8492ba43
Fix the issue of checkmark's wrong color in ctx menu disabled items on hover
2024-05-30 17:09:18 -07:00
Nariman Jelveh
16d5ac6abb
Delay opening the submenu for smoother mouse navigation on the menu
2024-05-30 15:24:50 -07:00
Nariman Jelveh
a8515e0a41
Switch font to Inter 🎉
2024-05-30 15:14:25 -07:00
Eric Dubé
dd1d129693
Merge pull request #444 from HeyPuter/eric/ui-updates
...
UI Updates
2024-05-30 16:48:28 -04:00
KernelDeimos
124596058a
feat(ui): allow component-based settings tabs
2024-05-30 16:14:32 -04:00
KernelDeimos
be38df32ec
tweak(ui): allow setting render more for JustHTML
2024-05-30 16:14:32 -04:00
KernelDeimos
577bd59b6c
feat(ui): add new components
...
This commit adds the following components:
- ActionCard
- Frame
- NotifCard
2024-05-30 16:14:32 -04:00
KernelDeimos
f8780d032b
fix(ui): improve Component base class
...
The following improvements were made:
- do not require empty object in constructor
- allow components to override render mode based on constructor values
- improve error handling in get()
- allow array of property names in on_ready()->listen()
- allow components to be attached to shadow roots
2024-05-30 16:07:16 -04:00
KernelDeimos
38ba42575c
feat(ui): add new components
...
This commit adds the following components:
- Glyph
2024-05-30 16:04:52 -04:00
Nariman Jelveh
60f0ade3c1
Improve the UX of the menubar and context menu
2024-05-30 13:02:00 -07:00
KernelDeimos
8e083d20d2
tweak(ui): allow size changing on spinner
2024-05-30 15:59:05 -04:00
Eric Dubé
d57980c6cb
Merge pull request #421 from AtkinsSJ/exit-status
...
Add exit status codes to `puter.exit()`, and an `exit` builtin to Phoenix
2024-05-30 12:28:36 -04:00
KernelDeimos
d047abf31c
Update eslint
2024-05-28 19:06:00 -04:00
KernelDeimos
e050506a05
Add class registry (second pass)
...
ExportService gets removed and instead a global class registry is added.
The `init.js` file is split into `init_sync.js` and `init_async.js`
so that synchronous code that isn't dependent on imports is guarenteed
to run before initgui.js. The globalThis scope and service-script API
now expose `def`, a function for registering class definitions, and
`use`, a function for obtaining registered classes.
2024-05-28 19:06:00 -04:00
KernelDeimos
51bac4486f
Add class registry (first pass)
...
In the first pass I add a `register` method and update `defineComponent`
so it calls `register` as well. This made it possible to create a
proof-of-concept for registered classes. Additionally ExportService was
added to expose registered classes to service scripts. This first pass
works, but it would be better if all types of classes (components or
otherwise) were registered via the same method.
2024-05-27 21:16:50 -04:00
KernelDeimos
06f41659f5
Add function to import UIWindow from service scripts
2024-05-25 17:20:22 -04:00
KernelDeimos
cbfad2ef7a
refactor(gui): add service scripts
2024-05-24 19:29:07 -04:00
KernelDeimos
4508bfac73
Fix cookie issue
2024-05-23 13:30:02 -04:00
Sam Atkins
7674da4cd2
feat: Add exit status code to apps
...
`puter.exit()` now takes a status code, similar to the exit status on
desktop OSes. This is passed to the appClosed event, so that eg a
parent app can know whether its child app ran successfully.
2024-05-23 12:54:06 +01:00
Eric Dubé
8786024559
Merge pull request #404 from secondtruth/patch-1
...
Update de.js
2024-05-17 15:42:02 -04:00
Eric Dubé
bbb43f53d0
Merge pull request #403 from Zac0511/patch-3
...
Update fr.js
2024-05-17 15:39:06 -04:00
KernelDeimos
e4543c5f35
Fix 8688ggu00 (2)
2024-05-17 12:32:16 -04:00
Zac0511
340b9202c0
Update fr.js
2024-05-17 14:36:54 +02:00
Zac0511
99ca8755f3
Update fr.js
2024-05-17 14:22:22 +02:00
Zac0511
eaf1e96fa2
Update fr.js
2024-05-17 14:19:19 +02:00
Zac0511
f9b5353058
Update fr.js
2024-05-17 14:15:49 +02:00
Zac0511
e0af914c90
Update fr.js
2024-05-17 14:00:43 +02:00
Zac0511
8f19f4dc5b
Update fr.js
...
Complete rework of the file, completly remade from en.js
2024-05-17 13:58:33 +02:00
Zac0511
5f47e7f0fa
Update fr.js
...
Bug repairing... again
2024-05-17 09:55:25 +02:00
Zac0511
9c39b0453d
Update fr.js
...
Little update for some bugs
2024-05-17 09:16:12 +02:00
Zac0511
545fc103b8
Update fr.js
...
Complete rework of the file for the latest updates
2024-05-17 09:10:55 +02:00
KernelDeimos
49b257ecff
fix(security): Move token for socket.io to request body
...
Currently this commit breaks websocket events and needs to
be updated.
2024-05-16 17:58:44 -04:00
KernelDeimos
f042b095f1
Fix 8688gxkuj
2024-05-16 17:25:41 -04:00
Christian Neff
43d0936533
Update de.js
...
Translated:
- 2FA strings
- Task Manager strings
- 2 other scattered strings
2024-05-16 19:51:42 +02:00
KernelDeimos
b68873c5f4
Fix 8688grpf1
2024-05-16 12:48:57 -04:00
Zac0511
e1ae9241af
Update fr.js
2024-05-16 18:27:12 +02:00
Zac0511
b6ea37c517
Update fr.js
...
Since there was a lot of text and menus added, and they were not translated, so i just translated them.
2024-05-16 18:06:21 +02:00
KernelDeimos
bee0e19eaf
Fix 8688ggu00
2024-05-15 20:59:20 -04:00
KernelDeimos
800aef1942
Implement anti-CSRF for logout
2024-05-13 20:40:27 -04:00
KernelDeimos
c2f1694107
Require password entry to disable 2FA
2024-05-13 16:00:07 -04:00
KernelDeimos
23215bd6f7
Move change_email/start to password-protected endpoint
2024-05-13 16:00:07 -04:00
KernelDeimos
9076fddc0d
Add new password change endpoint
2024-05-13 16:00:07 -04:00
Eric Dubé
89ac491120
Merge pull request #391 from AtkinsSJ/truncate-filename
...
refactor: Put truncate_filename() helper in its own file
2024-05-10 12:54:46 -04:00
Sam Atkins
e53bfe6b62
refactor: Put truncate_filename() helper in its own file
...
Every user previously set the max_length as window.TRUNCATE_LENGTH, so
I've moved that constant into the truncate_filename file and set it as
the default if max_length is not specified.
2024-05-10 17:46:09 +01:00
Sam Atkins
9bb4570126
Re-use existing Task Manager rows if possible instead of recreating them
...
Most of the time, we'll already have a TaskManagerRow for the given
process, so we can just update its properties.
Iterating the results from #iter_tasks means we also insert the rows in
the correct order, regardless of their previous order.
2024-05-10 17:41:13 +01:00
Sam Atkins
5b43358219
fix: Only run Component initialization functions once
...
If the Component gets removed from the DOM and then re-added, it already
has contents, and we don't need to create them again. It also has
already had on_ready called, so that doesn't need to happen again
either.
This fix stops Components duplicating their content elements and
listener callbacks whenever they're moved around the document.
2024-05-10 17:41:01 +01:00
Sam Atkins
cf605c8a38
refactor: Convert Task Manager to use Components
...
This currently behaves the same as it did before: It still recreates the
table contents every half a second. It should also look identical,
though it's possible I missed some small differences.
The component structure is:
TaskManagerTable
- Table
- TaskManagerRow
- TaskManagerRow
- TaskManagerRow
- ...
TaskManagerRow is implemented so that we can later move to modifying
them in place as the process tree changes, instead of having to replace
them all.
Otherwise, most of the code is just moved around, and not changed much.
2024-05-10 17:41:01 +01:00
Sam Atkins
e304f6fc3a
Add ability to look up a process by its uuid
2024-05-10 17:38:00 +01:00
Sam Atkins
09cee986f2
Add a Table component, based on the TaskManager table
...
For now, this is quite basic. The main feature is the sticky header.
2024-05-10 17:38:00 +01:00
Eric Dubé
3992fe1a45
Merge pull request #384 from AtkinsSJ/progress-dialogs
...
refactor: Replace several existing progress dialogs with one configurable one
2024-05-10 12:25:32 -04:00
Eric Dubé
17e08cafce
Merge pull request #380 from AtkinsSJ/eslint-ci
...
Run ESLint on CI
2024-05-10 12:24:31 -04:00
ghostxbh
5800350b25
fix: Eliminates duplicate translation keys
2024-05-10 10:41:21 +08:00
KernelDeimos
cd2daa1910
Require email verification for contact form
2024-05-09 19:40:34 -04:00
Sam Atkins
edebbee9e7
feat: Display upload errors in UIWindowProgress dialog
...
The object returned from UIWindowProgress() now has a `show_error()`
method, taking a title and message. Calling it will replace the content
of the window with those messages.
I've made use of this for file uploads. The only other place we
currently have errors we could show is for zipping and downloading
files, but we do not always have a progress dialog in that case, so I'll
leave that for now.
I think ideally, we would always create a progress dialog, and it would
then support being invisible initially, but appearing after a delay.
Then we'd always have an object to call `show_error()` on, and it could
then immediately show the dialog. But I'll get to that another day. :^)
2024-05-09 19:00:55 +01:00
Sam Atkins
c2c87bf0ba
refactor: Replace UIWindowDownloadDirProg with UIWindowProgress
2024-05-09 18:28:39 +01:00
Sam Atkins
e525747002
refactor: Replace UIWindowCopyProgress with UIWindowProgress
2024-05-09 18:28:39 +01:00
Sam Atkins
6d8c709de8
Delete unused UIWindowDownloadProgress.js
2024-05-09 18:28:39 +01:00
Sam Atkins
f07c13a50c
feat: Show "Deleting /foo" in progress window when deleting files
...
Previously we showed "Moving /foo" which was confusing.
Also, make use of i18n replacements instead of gluing strings together,
because other languages might put the words in a different order. For
now, I've modified all the translations so that the "Moving foo" text
will appear as it did before, but these will require someone who
actually knows the different languages to check and correct them.
2024-05-09 18:19:05 +01:00
Sam Atkins
c12312cbd3
refactor: Replace UIWindowMoveProgress with UIWindowProgress
2024-05-09 18:18:27 +01:00
Sam Atkins
cb6c098f95
refactor: Replace UIWindowProgressEmptyTrash with UIWindowProgress
...
I noticed during this that emptying the trash from inside the Trash
window uses a different code path without a progress dialog, so I've
added a TODO to merge that in. I tried just using it directly but the
behaviour is a bit different. (The Trash one makes all the items fade
out.)
2024-05-09 18:17:15 +01:00