Commit Graph

886 Commits

Author SHA1 Message Date
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