Commit Graph

57 Commits

Author SHA1 Message Date
93093382f4 bugfix, now ResolvDependencies check if depnList map is empty 2025-10-07 16:46:21 -03:00
0a965c67c2 creating packets home dir 2025-10-05 18:16:15 -03:00
147fca375e implemented upgrade, and fixed some bugs 2025-10-05 15:47:21 -03:00
7ef7b60cf5 fixed databaseschema again 2025-10-05 12:17:33 -03:00
4e2d506a01 fixing duplicate column 2025-10-05 11:42:56 -03:00
4b54a9c74b Refactor database schema and update dependency handling in code 2025-10-03 17:03:23 -03:00
f25366d40c Refactor database schema and update dependency handling in code 2025-10-01 22:19:02 -03:00
cadf5fedcb Improving packets with better dependencie resolution, adding a function to auto resolve dependencies. 2025-10-01 18:11:53 -03:00
cfb11cf6e6 New database schema need to change all code files 2025-10-01 17:32:08 -03:00
bb4f221fc9 Adding "-r", to create a system user to not show up on user login screen 2025-09-29 19:21:24 -03:00
9cf5ae61d8 removing the second and useless exec.Command of useradd 2025-09-29 16:37:13 -03:00
ff4c61315e Removing unecessary param and variable on GetSandbox 2025-09-28 21:58:55 -03:00
76450789b0 io can be used, require too, and package 2025-09-28 21:55:50 -03:00
0e8db8b40e Enhance permission handling in package installation and removal commands; add user management functions for improved security. Now for every time packets will execute lua scripts, it will change process euid to an unprivileged user; Now lua scripts can execute more lua default functions 2025-09-28 21:55:13 -03:00
17e1b4b3ab Refactor logging and variable names for consistency; update log messages for clarity 2025-09-28 17:24:17 -03:00
b4f55ad36f Fixing some huge bugs, and implemented remove function 2025-09-28 16:45:51 -03:00
2c322d4de8 progress doing remove cmd, and removing GetPackage function from the pkg package, now GetPackage function can be found on package utils 2025-09-27 00:39:49 -03:00
2735749b12 Added a function to read manifest from the file manifest.toml and not only from a package file 2025-09-23 19:12:08 -03:00
ff986ef943 now InstallPackage function from packets package don't try to read a config.toml, it get the path to install by a param; added async dependency install process 2025-09-21 22:52:03 -03:00
f34308367e Implement UDP socket server and add package installation check utility 2025-09-21 10:34:49 -03:00
68b394523d Add ed25519 public key and enhance package installation error handling
- Embed ed25519 public key for signature verification when doing sync prcess with servidordomal.fun
- Improve error handling in AddToInstalledDB to rollback on failure
- Update InstallPackage function to accept io.Reader instead of *os.File
2025-09-20 21:55:34 -03:00
3929493bfb enhance package database schema and configuration; add dependencies 2025-09-20 19:31:38 -03:00
2620ec00ab implement package synchronization and validation; update database schema and add error handling 2025-09-20 19:12:01 -03:00
9e09b1e3a4 renamed DownloadPackageHTTP function to GetFileHTTP 2025-09-19 23:33:12 -03:00
f8bda68a57 Added a const to index.db 2025-09-19 23:32:50 -03:00
35cbc2e47c Created copydir and copyfile functions in utils, now lua os.copy can copy an entire directory 2025-09-19 22:18:34 -03:00
bdbc580c82 GetSandbox aded on package utils_lua, it returns lua.LState with all sandboxfunctions 2025-09-18 20:40:05 -03:00
3c770c469d better file organization 2025-09-18 20:12:07 -03:00
1c00df24a4 Added ask for lan function 2025-09-13 23:11:48 -03:00
f3ccd6d683 Clean Install function and Download function 2025-09-13 22:57:52 -03:00
8de2eaced7 Doing organization improvements 2025-09-13 22:24:04 -03:00
c0057ca053 Deleting all to rewrite better 2025-09-13 20:45:07 -03:00
0c81469566 missed return in mkdir function 2025-08-20 15:33:12 -03:00
8f07394cc0 I don't want to use a closure in the lua funcition, so i did a global var to set the sandbox path. Added build.requirements() and build.compile() to lua 2025-08-20 13:37:24 -03:00
4cd007886c Improved package messages and added two functions to compile from source code 2025-08-20 13:18:45 -03:00
7d7e2635dd Wrong file name writed 2025-08-13 21:58:21 -03:00
80e5251f21 config.toml for OpenTTY 2025-08-13 16:09:32 -03:00
d1b9e481c0 Added OpenTTY support 2025-08-12 22:09:49 -03:00
3038a0d634 Opening file to write if the destination alredy exists in SafeCopy 2025-08-10 21:15:46 -03:00
a76e29572b don't removing destination on safecopy 2025-08-10 17:30:11 -03:00
50f874a3b8 Fixed creating simbolic links 2025-08-10 17:27:34 -03:00
b0c29ee552 Removing and writing again if the newpath alredy exists while moving, copying and doing symbolic links 2025-08-10 12:48:48 -03:00
359f2838a3 os.remove remove can remove dirs now 2025-08-02 16:30:36 -03:00
6708f705ee os.mkdir(path, perm) lua function added 2025-08-02 16:29:42 -03:00
7a73528838 bug fixed 2025-08-02 13:19:27 -03:00
afb27816df hard 2025-08-02 12:38:36 -03:00
f7dfa0d430 testing 2025-08-02 11:03:44 -03:00
bf4ec434a9 little improvements 2025-08-02 10:18:28 -03:00
4fe636e629 blocking some io functions 2025-08-01 20:08:16 -03:00
d8a11ada67 copy maintain filemode 2025-08-01 19:36:26 -03:00