Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move logic away from PHP into Rust backend #24

Open
VermiumSifell opened this issue Oct 15, 2023 · 1 comment
Open

Move logic away from PHP into Rust backend #24

VermiumSifell opened this issue Oct 15, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@VermiumSifell
Copy link
Member

VermiumSifell commented Oct 15, 2023

Summary

Move all database related tasks and backend stuff into Rust code

Motivation

Makes PHP build faster, separation of backend and frontend makes it easier to read the code and improve it, this also allows us to write a new frontend in future without being too much of a hassle

Additional context

Docker #25
Rspamd #40

@VermiumSifell VermiumSifell added the enhancement New feature or request label Oct 15, 2023
@VermiumSifell
Copy link
Member Author

VermiumSifell commented Oct 15, 2023

We need to fix database stuff into diesel.rs first:

Some of the PHP variables are stored here: https://github.com/ZynerOrg/zynerone/blob/master/data/web/inc/vars.inc.php

Function files checked:

REST Endpoints:

Other information:

Update SOGo Static View

  if ($_action != 'get' && in_array($_type, array('domain', 'alias', 'alias_domain', 'resource')) && getenv('SKIP_SOGO') != "y") {
    update_sogo_static_view();
  }

Endpoints:

Other:

@VermiumSifell VermiumSifell added the help wanted Extra attention is needed label Oct 15, 2023
@VermiumSifell VermiumSifell pinned this issue Oct 15, 2023
@VermiumSifell VermiumSifell added this to the 2024-12 milestone Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant