Commit Graph

2216 Commits

Author SHA1 Message Date
Bob Mottram afbba27b5c process control 2016-06-11 20:58:18 +01:00
Bob Mottram 849ee8dbec
qtox repo only works with certain architectures 2016-06-10 11:43:17 +01:00
Bob Mottram f6eec19b9c
Spaces 2016-06-10 09:53:21 +01:00
Bob Mottram daaaade8f2
Set the trust level for a gpg key 2016-06-10 09:48:22 +01:00
Bob Mottram 784cee0eda Stop and restart the mail server when backing up
Otherwise mail can arrive during the process
2016-06-08 22:20:41 +01:00
Bob Mottram 282594eb09 Merge branch 'master' of https://github.com/bashrc/freedombone 2016-06-08 22:14:57 +01:00
Bob Mottram 0f7bad4a0b Beginning of usb client 2016-06-08 22:14:19 +01:00
Bob Mottram c565f37033
Recreate firewall to remove RELATED 2016-06-08 12:28:32 +01:00
Bob Mottram e830037a9c
Don't accept RELATED packets 2016-06-08 10:44:29 +01:00
Bob Mottram 4f4354ba19 Check that toxid gets installed 2016-06-07 09:48:33 +01:00
Bob Mottram 3348a0c360 Remove unused compile functions 2016-06-07 09:25:32 +01:00
Bob Mottram ee2dd373ef
Beginning of usb client builds with user interfaces 2016-06-06 17:31:23 +01:00
Bob Mottram b292d24377 Fix monkeysphere emails 2016-06-05 14:51:25 +01:00
Bob Mottram 2637547c15 Create directory if needed 2016-06-05 14:27:33 +01:00
Bob Mottram 776c1696eb dollar 2016-06-05 14:23:39 +01:00
Bob Mottram 7a0912e3db dollar 2016-06-05 14:21:29 +01:00
Bob Mottram a45fb05377 Add PEP to xmpp, to support OMEMO 2016-06-05 11:20:26 +01:00
Bob Mottram 125900faf2 Disable password logins for mesh nodes
If you need to get ssh access then manually add a public key to authorized_keys
2016-06-04 18:13:26 +01:00
Bob Mottram 0e91aafbbf Pass through the minimum password length when creating an image 2016-06-04 17:39:26 +01:00
Bob Mottram f24a136e77 Tidying 2016-06-04 17:34:26 +01:00
Bob Mottram 152360ab96 Standardise password lengths 2016-06-04 14:25:46 +01:00
Bob Mottram f460e0c033 Comments 2016-06-03 22:14:33 +01:00
Bob Mottram b1b2e1a6e8 Add stream management to prosody 2016-06-03 22:04:23 +01:00
Bob Mottram 31c345f100 Add message carbons to prosody 2016-06-03 21:03:28 +01:00
Bob Mottram 5ec55c0467 Add client state indication to prosody 2016-06-03 20:56:05 +01:00
Bob Mottram d51af9b3c4 Add message archive management to prosody 2016-06-03 20:43:05 +01:00
Bob Mottram 59e5b8ac8e Customise gnusocial theme with project logo 2016-05-31 21:42:55 +01:00
Bob Mottram b3114fc58e Set the hostname for mesh peers 2016-05-30 21:05:03 +01:00
Bob Mottram 970417a972 Default to 2G images for mesh nodes 2016-05-30 20:47:40 +01:00
Bob Mottram c202ad4e6e sleep for a while to wait for tox keys to be generated 2016-05-30 18:30:00 +01:00
Bob Mottram a82f68abe4 toxcore directory 2016-05-30 17:49:45 +01:00
Bob Mottram 0f3cd4b7d5 Move systemd commands 2016-05-30 15:37:58 +01:00
Bob Mottram bf11e3c6fd No reload 2016-05-30 15:07:29 +01:00
Bob Mottram 181eaa5d96 Change toxcore daemon 2016-05-30 14:36:02 +01:00
Bob Mottram efae204a4b Move daemon copy 2016-05-30 14:32:14 +01:00
Bob Mottram 8da1ff40a3 Scriptifying more things 2016-05-30 13:56:05 +01:00
Bob Mottram 230479b7e0 directory 2016-05-30 13:15:17 +01:00
Bob Mottram 2ef92742a5 Root 2016-05-30 12:52:48 +01:00
Bob Mottram 00b406144c Script name 2016-05-30 11:52:59 +01:00
Bob Mottram 7a1637daeb Script to install toxcore 2016-05-30 11:39:43 +01:00
Bob Mottram 23deff9409 no need to cd 2016-05-29 16:11:58 +01:00
Bob Mottram 68b0ae84a8 Compile toxid on mesh nodes 2016-05-29 14:12:57 +01:00
Bob Mottram 7bd33c9a44 Run aclocal 2016-05-29 12:36:23 +01:00
Bob Mottram 92af7a68a9 make clean 2016-05-29 11:49:50 +01:00
Bob Mottram c761ea62e6 Exit rather than return 2016-05-29 10:51:43 +01:00
Bob Mottram 39302bd960 Time the compilation 2016-05-29 10:46:41 +01:00
Bob Mottram 24579e62c9 More logging of compile 2016-05-29 10:06:51 +01:00
Bob Mottram 286d796722 Better zeronet daemon replacement 2016-05-29 09:45:02 +01:00
Bob Mottram fb5314f228 Compiling toxcore and toxic 2016-05-28 22:55:55 +01:00
Bob Mottram e611870937 Install avahi on mesh clients 2016-05-28 22:30:06 +01:00
Bob Mottram 399a463d2f Don't try to set the toxic nick 2016-05-28 22:14:50 +01:00
Bob Mottram f76947c90b Import key 2016-05-28 22:06:40 +01:00
Bob Mottram 3538b3335a sudo 2016-05-28 21:59:22 +01:00
Bob Mottram de5d93e5dd Different tox repo 2016-05-28 21:53:48 +01:00
Bob Mottram 2aea610b44 Only install toxic on mesh clients 2016-05-28 21:04:27 +01:00
Bob Mottram 19a749c128 sudo 2016-05-28 20:47:49 +01:00
Bob Mottram 082d023799 Install tox clients on client mesh install 2016-05-28 20:13:11 +01:00
Bob Mottram b58a40c484 calling toxic 2016-05-28 19:52:12 +01:00
Bob Mottram e4645e80de Don't install babel 2016-05-28 19:44:56 +01:00
Bob Mottram f4d06bdb83 -f option 2016-05-28 19:30:20 +01:00
Bob Mottram 7ab7458631 Message to indicate mesh install 2016-05-28 19:17:43 +01:00
Bob Mottram ada6d58fc6 Double quotes 2016-05-28 19:06:34 +01:00
Bob Mottram 978959b0cf sudo 2016-05-28 18:45:28 +01:00
Bob Mottram 982192d679 Give mesh images an indicative filename 2016-05-28 17:52:13 +01:00
Bob Mottram 55a2bd2899 Note on recovery from errors 2016-05-28 17:38:27 +01:00
Bob Mottram 2d4dea010d Typo 2016-05-28 17:03:36 +01:00
Bob Mottram 08c2079e61 Tox nodes 2016-05-28 16:28:31 +01:00
Bob Mottram 67a9eccb9b chown in chroot 2016-05-28 16:23:05 +01:00
Bob Mottram d07212b118 Tidying 2016-05-28 15:17:27 +01:00
Bob Mottram 043862ec9a Compile toxcore and toxic on mesh nodes
This does result in a delay before fully operational but avoids needing to cross compile while building the image, which adds complexity
2016-05-28 15:13:03 +01:00
Bob Mottram a83bf3e8ca Set variant during image build 2016-05-28 13:43:05 +01:00
Bob Mottram e97db260a7 Revert "Revert "Revert "Reinstate mesh script"""
This reverts commit 6e34fee9c0.
2016-05-28 12:55:33 +01:00
Bob Mottram ff69150655 Remove unused parameters 2016-05-28 12:28:00 +01:00
Bob Mottram 1089939777 Move mesh install functions
Otherwise dns lookups fail
2016-05-28 12:16:00 +01:00
Bob Mottram 6e34fee9c0 Revert "Revert "Reinstate mesh script""
This reverts commit fafadac212.
2016-05-28 11:14:21 +01:00
Bob Mottram ee8d20ac9e toxcore 2016-05-28 09:57:19 +01:00
Bob Mottram 07d7a1a45a checkout if commit defined 2016-05-28 09:52:15 +01:00
Bob Mottram ce846f4fb8 Peg toxcore to a commit 2016-05-28 09:34:18 +01:00
Bob Mottram fafadac212
Revert "Reinstate mesh script"
This reverts commit 1af4c14ad3.
2016-05-27 16:44:12 +01:00
Bob Mottram ad501c1083
Revert "Try with no su"
This reverts commit 411e3834e5.
2016-05-27 16:41:17 +01:00
Bob Mottram 411e3834e5
Try with no su 2016-05-27 15:38:49 +01:00
Bob Mottram e48004d3d4
Initialise mesh 2016-05-27 14:18:02 +01:00
Bob Mottram 2b2ce8d78a
Typo 2016-05-27 10:25:50 +01:00
Bob Mottram 6479b5c9d5
No ssh tor config when installing mesh 2016-05-27 09:06:25 +01:00
Bob Mottram 1af4c14ad3
Reinstate mesh script 2016-05-26 17:28:38 +01:00
Bob Mottram ff9dead3df Bump the toxic commit 2016-05-24 20:24:24 +01:00
Bob Mottram e6583a18a3
Add gpg email address or key ID
Sometimes on a profile people only give their key ID
2016-05-24 09:25:18 +01:00
Bob Mottram db6986fdd9 Bump the qvitter commit 2016-05-21 21:12:59 +01:00
Bob Mottram 21b54fa08d Blog password encryption type 2016-05-21 15:30:05 +01:00
Bob Mottram 4bee9fa01d no quotes 2016-05-21 15:24:52 +01:00
Bob Mottram d9795a2c3a Blog password hashing 2016-05-21 14:54:53 +01:00
Bob Mottram 490dcdac4a blog password hash 2016-05-21 14:41:48 +01:00
Bob Mottram 71636c07ae Tidying 2016-05-20 21:39:49 +01:00
Bob Mottram 8af1da00ca gnusocial sharings plugin theme 2016-05-20 21:01:47 +01:00
Bob Mottram 5ea46a9b9c Explicitly configure gogs daemon 2016-05-15 10:33:46 +01:00
Bob Mottram 73851c21b3 For now use the sharings fork to ensure no runtime errors 2016-05-14 20:50:01 +01:00
Bob Mottram 8bffe3dc9c Missing backslash 2016-05-14 20:05:43 +01:00
Bob Mottram 7446b83b08 Make the daemon script more generic 2016-05-14 20:03:11 +01:00
Bob Mottram 9b946e764a Make the gnusocial daemon check hourly 2016-05-14 19:56:24 +01:00
Bob Mottram 5a30e23944 Stop and restart daemons when restoring gnusocial from backup 2016-05-14 19:51:42 +01:00
Bob Mottram 665fe8f761 Script to restart gnusocial daemons if needed 2016-05-14 19:45:55 +01:00
Bob Mottram c5b74fafff Reduce microblog polling time 2016-05-14 14:32:35 +01:00
Bob Mottram 326eb866a1 ownership 2016-05-14 13:42:54 +01:00
Bob Mottram afb33abc0c cronic doesn't report errors 2016-05-14 13:36:19 +01:00
Bob Mottram 97fbdae1aa redirection not needed 2016-05-14 13:00:50 +01:00
Bob Mottram 78086e0e0b Too many cds 2016-05-14 12:53:07 +01:00
Bob Mottram 87a6b1935e Use cronic to prevent email logging of gpg key refreshes 2016-05-14 12:49:52 +01:00
Bob Mottram 4e2d8c711d Enable the gnusocial sharings plugin 2016-05-14 11:11:42 +01:00
Bob Mottram c8b1d70450 Document wifi setup when creating images 2016-05-13 18:19:34 +01:00
Bob Mottram ef4a1be68c Hubzilla security update 2016-05-13 17:11:31 +01:00
Bob Mottram 141aec2619 Don't report every gpg key refresh 2016-05-13 09:55:51 +01:00
Bob Mottram fdc426bbd8 Don't send to stdout 2016-05-12 22:37:17 +01:00
Bob Mottram 4bae0f73ea Different method for refreshing gpg keys 2016-05-12 20:26:48 +01:00
Bob Mottram f2c0f970eb Don't show gogs footer 2016-05-12 15:37:37 +01:00
Bob Mottram 1431511b73 Improve gogs config 2016-05-12 15:17:37 +01:00
Bob Mottram 1d5a5f7913 addon subdirectory 2016-05-12 11:57:25 +01:00
Bob Mottram 321b68e505 Delete any existing branch 2016-05-12 11:44:03 +01:00
Bob Mottram 8db7c19776 Update hubzilla addons 2016-05-12 11:24:59 +01:00
Bob Mottram 518ffc1139 hubzilla 1.6 2016-05-12 11:06:50 +01:00
Bob Mottram 02973a691a Permission on config file 2016-05-10 22:40:35 +01:00
Bob Mottram 8fc2cdec8c
Missing redirects 2016-05-10 09:40:51 +01:00
Bob Mottram c5c690b47d Check that the gogs database template exists 2016-05-10 08:23:37 +01:00
Bob Mottram 73c0ab32ed Populate the gogs database 2016-05-10 08:22:13 +01:00
Bob Mottram 81eebcb0c7 Create the gogs configuration 2016-05-09 23:01:00 +01:00
Bob Mottram 93066abc97 Log only once 2016-05-09 20:26:29 +01:00
Bob Mottram 54f44b85b5 Remove some directories 2016-05-09 20:11:25 +01:00
Bob Mottram c1c99f42f9 standardise gvm_home 2016-05-09 18:32:17 +01:00
Bob Mottram d70d6d97b4
Remove any existing gvm 2016-05-09 16:53:30 +01:00
Bob Mottram 104519024c
Don't create directory 2016-05-09 16:50:15 +01:00
Bob Mottram 6b7060ab0e
Rename gvm directory 2016-05-09 16:46:02 +01:00
Bob Mottram df0c0f8799
Remove any existing gvm directory 2016-05-09 16:24:35 +01:00
Bob Mottram 35a44820ab
Create gvm_root directory 2016-05-09 16:11:30 +01:00
Bob Mottram 2c84b8c064
Moving gvm 2016-05-09 12:12:37 +01:00
Bob Mottram 4bfc7c98df Handle reinstalls of gvm 2016-05-08 19:16:29 +01:00
Bob Mottram 5794a63df0 Remove gogs user if it already exists 2016-05-08 17:41:56 +01:00
Bob Mottram d554d8abcf Sequence 2016-05-07 16:53:25 +01:00
Bob Mottram 24ccc4d271 Safely remove tox identity 2016-05-07 16:52:58 +01:00
Bob Mottram 7ca018673b Remove keys in a safer way 2016-05-07 16:50:00 +01:00
Bob Mottram 84c336528b
Add a back/exit selection 2016-05-05 09:18:19 +01:00
Bob Mottram 72ed2b2cc9
Check that monkeysphere server keys exist 2016-05-04 16:34:12 +01:00
Bob Mottram 1f276cb232
Bring up wlan0 when wifi is enabled 2016-05-04 15:59:36 +01:00
Bob Mottram 749536afcd
Clear value after each wifi network 2016-05-04 15:53:28 +01:00
Bob Mottram 32ed82bd67
Client signing of monkeysphere server keys 2016-05-04 13:56:00 +01:00
Bob Mottram a7745f4cb7
Send monkeysphere server keys to users 2016-05-04 09:53:37 +01:00
Bob Mottram dadb763160
Remove condition 2016-05-04 09:37:04 +01:00
Bob Mottram 1bbc069e33
search anyway 2016-05-04 09:32:35 +01:00
Bob Mottram 5dc85c071d
Test for error 2016-05-04 09:29:08 +01:00
Bob Mottram 51c0a2a530
change variable 2016-05-04 09:22:46 +01:00
Bob Mottram d44fc9e5a6 Improve the signing instructions 2016-05-02 22:05:35 +01:00
Bob Mottram 93aac9a07d Obtain key to sign if needed 2016-05-02 21:56:13 +01:00
Bob Mottram 57ab59f08f Tidying 2016-05-02 19:30:51 +01:00
Bob Mottram a7572eabc1 Command option to register a website with monkeysphere 2016-05-02 19:08:29 +01:00
Bob Mottram 988ceb0281 Refresh gpg keys from user control panel 2016-05-02 16:40:59 +01:00
Bob Mottram 24c1b859c9 Sign a key from the user control panel 2016-05-02 16:36:08 +01:00
Bob Mottram 83907dad8a My 2016-05-02 14:30:20 +01:00
Bob Mottram de784e6f88 Description 2016-05-02 14:28:41 +01:00
Bob Mottram 067598b4e9 Option to enable monkeysphere on the client 2016-05-02 11:24:33 +01:00
Bob Mottram c4b2822abf Option to enable monkeysphere on the client 2016-05-02 11:20:11 +01:00
Bob Mottram 5d2a8c3206 Add an argument 2016-05-02 10:04:03 +01:00
Bob Mottram 87f76b3edd Refresh gpg keys at a random time 2016-05-02 10:01:46 +01:00
Bob Mottram f87db99db6 Run gpg key refresh as root 2016-05-02 09:58:54 +01:00
Bob Mottram a4415c5de4 Refresh gpg keys for all users 2016-05-02 09:54:56 +01:00
Bob Mottram 110a2f08d4 Refresh gpg keys on client 2016-05-01 19:51:00 +01:00
Bob Mottram 12ab51351e Refresh gpg keys every few hours 2016-05-01 19:41:45 +01:00
Bob Mottram 90d317ceab Comment out monkeysphere until enabled on server 2016-05-01 18:29:07 +01:00
Bob Mottram 5be82ed463 Improve ssh client config 2016-05-01 18:22:45 +01:00
Bob Mottram efcaaed9d6 Create ssh client config 2016-05-01 18:15:21 +01:00
Bob Mottram 25863b1e0a Use name 2016-05-01 18:11:22 +01:00
Bob Mottram 071f36a915 Add certifier when enabling monkeysphere 2016-05-01 17:27:44 +01:00
Bob Mottram a23d0efb16 Enable monkeysphere via security settings 2016-05-01 17:11:00 +01:00
Bob Mottram 1e2a2d5b02 Update monkeysphere after change of ssh host keys 2016-04-30 20:51:00 +01:00
Bob Mottram 08a022a1cb import ssh host key to monkeysphere 2016-04-30 20:31:35 +01:00
Bob Mottram 593c7ae36c Obtain ssh parameters from the main project file 2016-04-30 10:16:00 +01:00
Bob Mottram 03e7d379c7 Client mesh install is optional 2016-04-30 10:08:19 +01:00
Bob Mottram a77f47f404 Remove unused functions from client install 2016-04-30 10:03:27 +01:00
Bob Mottram d8d95b40aa Restore monkeysphere identifier 2016-04-29 23:41:52 +01:00
Bob Mottram 191b624871 Restore monkeysphere users 2016-04-29 19:54:33 +01:00
Bob Mottram 1619659805 Permission on monkeysphere ids 2016-04-29 19:47:48 +01:00
Bob Mottram afb9db2d39
Monkeysphere ids 2016-04-29 17:00:30 +01:00
Bob Mottram af1c64912d
Backup and restore any monkeysphere ids 2016-04-29 16:46:44 +01:00
Bob Mottram d6badcc4cc
gvm 2016-04-29 15:08:46 +01:00
Bob Mottram 9780201e97
gvm root 2016-04-29 14:50:40 +01:00
Bob Mottram ace9bf07c3
Test for gopath 2016-04-29 14:22:28 +01:00
Bob Mottram 81ed974d4b
Improved handling of Go version 2016-04-29 13:55:17 +01:00
Bob Mottram d334fbf399
Move to gvm script directory 2016-04-29 10:25:45 +01:00
Bob Mottram 0d77074a93
Don't wait for bashrc 2016-04-29 09:43:24 +01:00
Bob Mottram 09bac71090
Don't wait for bashrc 2016-04-29 09:36:25 +01:00
Bob Mottram eb11257b77
Split echoes 2016-04-29 09:29:37 +01:00
Bob Mottram ccd6da693d
Maybe don't need subkey 2016-04-29 09:20:51 +01:00
Bob Mottram 2e2884e53a
Remove directory after install failure 2016-04-29 09:19:49 +01:00
Bob Mottram 1c80216623
Deal with the aftermath of aggressive-indent 2016-04-28 14:36:45 +01:00
Bob Mottram e2f66dcb6c
Wifi 2016-04-28 14:05:37 +01:00
Bob Mottram f4a93a3f71
Add monkeysphere subkey 2016-04-28 10:29:24 +01:00
Bob Mottram f01e792ce1
Install monkeysphere 2016-04-28 09:58:38 +01:00
Bob Mottram e106d3a181 Tidying 2016-04-27 19:50:31 +01:00
Bob Mottram cb43975bd5 manpage for wifi command 2016-04-27 19:48:36 +01:00
Bob Mottram 066aa18ff5 Initial wifi networks file comments 2016-04-27 19:30:31 +01:00
Bob Mottram d1ac3cddad Wifi status 2016-04-27 19:15:11 +01:00
Bob Mottram e1a82b205f
Enabling or disabling wifi 2016-04-27 17:54:26 +01:00
Bob Mottram 91871787cd
Option to disable wifi 2016-04-27 17:41:19 +01:00