Commit Graph

2588 Commits

Author SHA1 Message Date
KernelDeimos 169c1aa3a7 doc: generate puterai docs and is a docgen bug 2024-12-04 16:58:45 -05:00
KernelDeimos 8848055f1b doc: update CONTRIBUTING.md 2024-12-04 16:33:45 -05:00
KernelDeimos 9992252083 doc: add file structure image 2024-12-04 16:32:30 -05:00
KernelDeimos 7eb5e59d94 dev: move some utils, LogService, to new module 2024-12-04 14:45:42 -05:00
KernelDeimos 5c3a65060d dev: include library functions in module docgen 2024-12-04 14:42:22 -05:00
KernelDeimos 5fa0a0263d dev: cleanup docgen and add method logging 2024-12-04 14:42:22 -05:00
KernelDeimos 0b36e72c80 doc: re-comment LogService 2024-12-04 14:42:22 -05:00
KernelDeimos 2453baa234 dev: make a module where utilities will go 2024-12-04 14:42:22 -05:00
Nariman Jelveh 5e7ea5f3b0 Merge pull request #985 from Agastya18/farsi-translation
Translate billing-related strings to Persian in fa.js
2024-12-04 10:20:35 -08:00
Nariman Jelveh a99ee51b00 Update fa.js 2024-12-04 10:19:09 -08:00
agastya gaur e395571256 Translate billing-related strings to Persian in fa.js 2024-12-04 22:32:45 +05:30
KernelDeimos 9e5429b9ab dev: improve module docgen
- fixes some bugs
- adds list of relative requires
2024-12-04 10:43:49 -05:00
Nariman Jelveh c0257c482f Merge pull request #982 from rowin-C/hindi-translation
tweak: added missing hindi translation
2024-12-04 07:00:23 -08:00
Nariman Jelveh cc7683a7fe Update hi.js 2024-12-04 06:59:59 -08:00
Nariman Jelveh b6e4f518fd Merge pull request #984 from ulaski/add-missing-turkish-translations
Add missing turkish translations
2024-12-04 06:53:04 -08:00
Nariman Jelveh 8cfefebfb6 Update tr.js 2024-12-04 06:52:36 -08:00
Ulas Kilicaslan e2f603d792 Add missing turkish translations 2024-12-04 15:12:25 +03:00
ron 4f82658d94 tweak: added missing hindi translation 2024-12-04 14:26:04 +05:30
Nariman Jelveh 70c2fd6ee5 Merge pull request #980 from LeeMEow23/warning_dialog
Added the warning dialog
2024-12-03 19:17:32 -08:00
jelveh 59ac89db85 handle the return value of skipWarning 2024-12-03 19:10:14 -08:00
jelveh b4938659d1 disable copy/paste from local environment.
It never worked and has ruined the experience with regular copy/paste on Puter
2024-12-03 18:58:22 -08:00
Your Name 5302d3a62e Added the warning dialog
If the system detects any sensitive files, it will pop up the dialog showing the warning and provide the user with options of continuing or not.
2024-12-03 18:08:08 -05:00
jelveh 02e62f1625 wake up babe new i18n keys dropped 2024-12-03 14:18:19 -08:00
KernelDeimos c1bcd84715 chore: update package-lock.json 2024-12-03 17:07:37 -05:00
KernelDeimos 67ab8a1710 doc: first run of module documenter 2024-12-03 17:07:37 -05:00
KernelDeimos ac372204fa dev: move web service utilities 2024-12-03 17:07:37 -05:00
KernelDeimos 1922feab1e dev: add module documentation generator 2024-12-03 17:07:37 -05:00
Nariman Jelveh 46263cc1ad Update #DoesItRunPuter.md 2024-12-03 12:05:19 -08:00
KernelDeimos 10f6e5458e refactor: move WebServerService and socketio to module 2024-12-03 14:19:26 -05:00
KernelDeimos 3887ce05da dev: de-couple legacy mkdir and remove it
A legacy mkdir function was still being used by the
generate_system_fsentries function. However, it wasn't necessary because
we now associate fsentries by uuid, eliminating the requirement to
create the home directory separately from its subdirectories.

The old mkdir function was removed, and generate_system_fsentries was
moved to a new service called UserService, which is intended to
eventually hold all methods related creating, removing, and updating
users.
2024-12-03 13:04:12 -05:00
KernelDeimos 87db20de14 dev: add user.email-changed event 2024-12-03 10:05:24 -05:00
Nariman Jelveh e8d4408dca Revert "File association format (#946)" (#947)
This reverts commit f0d1de7e44.
2024-12-03 06:43:40 -08:00
Sauhbagya Prasad f0d1de7e44 File association format (#946)
* added validation function

* tagify implementation (incomplete)

* tagify implementation (completed)

* feat:implemented Tagify and filetype validation on filetype associaction in dev center

* tweak: removed unnessary tagify from dependency (its streamed from CDN)

* removed unnecessary tagify import
2024-12-03 06:43:16 -08:00
KernelDeimos 614f065e17 tweak: disable 4o-mini and mistral in comment writer 2024-12-02 12:18:46 -05:00
KernelDeimos b40d4534a7 fix: correct AI comment faults
Currently the AI comment writer is trusting the AI to write comment
markers. This means sometimes the syntax of a source file is broken by
comment generation. The instructions in the prompt were pretty clear, so
rather than --fixup'ing the previous commit I'm adding these changes
separately as an interesting case study of how different models behave.

Following this result, I am going to be removing mistral from the
comment writer. It is the most likely to misbehave.

I will also be removing gpt-4o-mini, which sometimes included source
lines despite the "no surrounding text" instruction.
2024-12-02 12:05:13 -05:00
KernelDeimos f75010b355 doc: (skip if using git bisect) ai comments 2024-12-02 11:47:47 -05:00
KernelDeimos 0a1be464d1 tweak: fix "all" option 2024-12-02 11:45:13 -05:00
KernelDeimos aadb261b29 dev: interactive prompt for file limit 2024-12-02 11:09:50 -05:00
KernelDeimos ac44aaf393 doc: make comment writer self-commented 2024-12-02 11:01:23 -05:00
KernelDeimos 7e4ae19aff dev: tweak comment writer to fix some problems 2024-12-02 11:00:50 -05:00
KernelDeimos 857718538b fix: update package-lock.json 2024-12-02 10:26:52 -05:00
KernelDeimos 7a8687cd2c doc: ai generated comments 2024-12-02 10:26:52 -05:00
KernelDeimos 2dfeeeda27 dev: update comment generator 2024-12-02 10:22:58 -05:00
Nariman Jelveh 67ee264239 Merge pull request #945 from MherFrangyan/patch-1
Update hy.js
2024-12-01 22:30:05 -08:00
jelveh 40dccb7741 Update en.js 2024-12-01 22:27:40 -08:00
Mher 1d217e2d59 Update hy.js
added translate
2024-12-02 10:24:09 +04:00
jelveh 6e6bd34463 Update en.js 2024-12-01 22:09:39 -08:00
jelveh 61f54369d7 add more i18n keys for billing 2024-12-01 19:20:25 -08:00
jelveh 9dda9c8dbf add more i18n keys 2024-12-01 19:13:51 -08:00
jelveh 349ae24636 add more keys for billing i18n 2024-12-01 18:51:47 -08:00