Cinque per mille/Technical documentation: differenze tra le versioni
Vai alla navigazione
Vai alla ricerca
m (#SMS) |
|||
| (4 versioni intermedie di 2 utenti non mostrate) | |||
| Riga 1: | Riga 1: | ||
{{Server|intreccio}} | {{Server|intreccio}} | ||
__NOINDEX__ | |||
Technical documentation about the website for the [[cinque per mille]]: | Technical documentation about the website for the [[cinque per mille]]: | ||
| Riga 52: | Riga 52: | ||
<pre> | <pre> | ||
www/wp-content/themes/wikimedia/inc | /var/www/cinquex1000/www/wp-content/themes/wikimedia/inc | ||
</pre> | |||
== Database == | |||
<pre> | |||
mysql cinquexmille_new | |||
DESCRIBE wp_newsite_lead_users; | |||
+-----------------------+--------------+------+-----+---------+----------------+ | |||
| Field | Type | Null | Key | Default | Extra | | |||
+-----------------------+--------------+------+-----+---------+----------------+ | |||
| id | int(11) | NO | PRI | NULL | auto_increment | | |||
| user_id | varchar(50) | NO | | NULL | | | |||
| nome | varchar(255) | NO | | NULL | | | |||
| cognome | varchar(255) | NO | | NULL | | | |||
| email | varchar(255) | NO | | NULL | | | |||
| tel | varchar(255) | NO | | NULL | | | |||
| privacy | tinyint(4) | NO | | NULL | | | |||
| materiale_informativo | tinyint(4) | NO | | NULL | | | |||
| created | datetime | NO | | NULL | | | |||
+-----------------------+--------------+------+-----+---------+----------------+ | |||
</pre> | </pre> | ||
== SMS == | == SMS == | ||
The SMS are sent via an SMS gateway provided by {{Fornitore link|vol}}. | |||
The | The related source code with a modified version of their SDK is located here: | ||
<pre> | <pre> | ||
/var/www/wp-content/themes/wikimedia/inc | /var/www/cinquex1000/www/wp-content/themes/wikimedia/inc | ||
</pre> | </pre> | ||
[[Categoria:Documentazione tecnica|Cinque per mille]] | |||
Versione attuale delle 10:27, 14 lug 2021
Pagina legata al server
⚙️ intreccioTechnical documentation about the website for the cinque per mille:
Overview
The website was designed to inform about how to donate to Wikimedia Italia.
- user submits the phone number or the email address to receive a notification with donation instructions.
- data is stored in a table in the WordPress site
- user receives a notification via mail/#SMS
Note: the #SMS is not sent twice.
The data can be downloaded from the "Download XLS Lead" button here:
Users
These users are allowed to access:
💼 eme- Utente:Erica Pedone (Staff)
- Utente:Valerio Bozzolan (volunteer)
Access
ssh intreccio.wikimedia.it
See Infrastruttura.
Filesystem
Document root:
/var/www/cinquex1000/www
WordPress theme:
/var/www/cinquex1000/www/wp-content/themes/wikimedia
Custom scripts:
/var/www/cinquex1000/www/wp-content/themes/wikimedia/inc
Database
mysql cinquexmille_new DESCRIBE wp_newsite_lead_users; +-----------------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------------------+--------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | user_id | varchar(50) | NO | | NULL | | | nome | varchar(255) | NO | | NULL | | | cognome | varchar(255) | NO | | NULL | | | email | varchar(255) | NO | | NULL | | | tel | varchar(255) | NO | | NULL | | | privacy | tinyint(4) | NO | | NULL | | | materiale_informativo | tinyint(4) | NO | | NULL | | | created | datetime | NO | | NULL | | +-----------------------+--------------+------+-----+---------+----------------+
SMS
The SMS are sent via an SMS gateway provided by 💼 vol.
The related source code with a modified version of their SDK is located here:
/var/www/cinquex1000/www/wp-content/themes/wikimedia/inc