mirror of
https://github.com/YunoHost-Apps/teampass_ynh.git
synced 2024-09-03 20:26:37 +02:00
Update to teampass 2.1.25.
This commit is contained in:
parent
ac31f5dfd6
commit
580b2b8684
2 changed files with 9 additions and 9 deletions
|
@ -5,25 +5,23 @@ ALTER DATABASE `teampass` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||||
USE `teampass`;
|
USE `teampass`;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `teampass_items` (
|
CREATE TABLE IF NOT EXISTS `teampass_items` (
|
||||||
`id` int(12) NOT null AUTO_INCREMENT,
|
`id` int(12) NOT NULL,
|
||||||
`label` varchar(100) NOT NULL,
|
`label` varchar(100) NOT NULL,
|
||||||
`description` text NOT NULL,
|
`description` text NOT NULL,
|
||||||
`pw` varchar(400) DEFAULT NULL,
|
`pw` text,
|
||||||
`pw_iv` text NOT NULL,
|
`pw_iv` text NOT NULL,
|
||||||
`pw_len` int(5) NOT NULL,
|
`pw_len` int(5) NOT NULL,
|
||||||
`url` varchar(250) DEFAULT NULL,
|
`url` varchar(250) DEFAULT NULL,
|
||||||
`id_tree` varchar(10) DEFAULT NULL,
|
`id_tree` varchar(10) DEFAULT NULL,
|
||||||
`perso` tinyint(1) NOT null DEFAULT '0',
|
`perso` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
`login` varchar(200) DEFAULT NULL,
|
`login` varchar(200) DEFAULT NULL,
|
||||||
`inactif` tinyint(1) NOT null DEFAULT '0',
|
`inactif` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
`restricted_to` varchar(200) NOT NULL,
|
`restricted_to` varchar(200) NOT NULL,
|
||||||
`anyone_can_modify` tinyint(1) NOT null DEFAULT '0',
|
`anyone_can_modify` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
`email` varchar(100) DEFAULT NULL,
|
`email` varchar(100) DEFAULT NULL,
|
||||||
`notification` varchar(250) DEFAULT NULL,
|
`notification` varchar(250) DEFAULT NULL,
|
||||||
`viewed_no` int(12) NOT null DEFAULT '0',
|
`viewed_no` int(12) NOT NULL DEFAULT '0',
|
||||||
`complexity_level` varchar(2) NOT null DEFAULT '-1',
|
`complexity_level` varchar(2) NOT NULL DEFAULT '-1'
|
||||||
PRIMARY KEY (`id`),
|
|
||||||
KEY `restricted_inactif_idx` (`restricted_to`,`inactif`)
|
|
||||||
) CHARSET=utf8;
|
) CHARSET=utf8;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `teampass_log_items` (
|
CREATE TABLE IF NOT EXISTS `teampass_log_items` (
|
||||||
|
|
|
@ -130,6 +130,8 @@ sudo cp ../conf/sk.php $path_sk_file/sk.php
|
||||||
sudo chown -R root:www-data $path_sk_file
|
sudo chown -R root:www-data $path_sk_file
|
||||||
sudo chmod 750 $path_sk_file
|
sudo chmod 750 $path_sk_file
|
||||||
sudo cp ../conf/settings.php $final_path/includes/settings.php
|
sudo cp ../conf/settings.php $final_path/includes/settings.php
|
||||||
|
sudo cp $final_path/includes/libraries/csrfp/libs/csrfp.config.sample.php $final_path/includes/libraries/csrfp/libs/csrfp.config.php
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Ajout des utilisateurs actuels dans la base yunohost
|
# Ajout des utilisateurs actuels dans la base yunohost
|
||||||
|
|
Loading…
Add table
Reference in a new issue