Commit graph

540 commits

Author SHA1 Message Date
billz e2111fdf1f Added /etc/raspap/system/app-update.sh to sudoers 2023-11-23 07:43:50 +00:00
billz 5fbcabd3c2 Initial commit 2023-11-23 07:43:33 +00:00
billz 90456e601e Replace mv source > dest with rsync, preserving sys_read_logfile.php 2023-11-22 19:00:32 +00:00
billz e55f4e2395 Update _download_latest_files, install app-update.sh 2023-11-21 20:14:19 +00:00
billz 2151a44729 Minor: add required --path argument to usage() 2023-11-17 12:01:10 +00:00
billz dea5759514 Minor: tweak GPL verbiage 2023-11-16 17:32:04 +00:00
billz 7e8f63863d Fix handling of config.php for different install types 2023-11-16 17:07:36 +00:00
billz 7782956917 Rename _install_mobile_clients, clarify messages 2023-11-16 15:18:20 +00:00
billz e6a90e728f Modify conditions for update/upgrade 2023-11-16 12:16:20 +00:00
billz 387f52a2e4 Improve messages, fixup order of install steps 2023-11-16 10:05:18 +00:00
billz 4c6455f1d9 Update file header, usage examples 2023-11-15 19:27:14 +00:00
billz bfe62fb2c9 Replace comment block with usage() 2023-11-15 18:13:56 +00:00
billz 4c6ec03ea9 Fixup existing config + directory handling for update 2023-11-15 18:06:22 +00:00
billz bc6ec3a9bf Implement --update switch + GitHub user/token auth 2023-11-14 08:49:21 +00:00
billz f6113c47ce Fix: remove systemctl disable raspapd.service 2023-11-07 14:38:32 +00:00
billz de38aa0f9e Fix: _install_log() 2023-11-07 14:06:43 +00:00
Bill Zimmerman fbec4501ed
Merge pull request #1443 from RaspAP/feat/iw-parser
Refactor ISO countries + create IW parsing class
2023-11-07 09:06:57 +01:00
billz 5a6d76defd Replace reboot prompt in uninstall_complete 2023-11-06 12:38:06 +00:00
billz 66f8cc0b75 Replace ISO 2-letter country code literals w/ isoquery (localized) 2023-11-04 19:09:55 +00:00
billz be25ffd06f Update w/ latest distros, php versions, packages + reboot prompt 2023-11-03 12:33:27 +00:00
billz 51673aef32 Fix: move debuglog.sh install to _patch_system_files() 2023-11-03 12:15:28 +00:00
billz 48d29d368a Add _dhcpcd_info() to debug output 2023-11-03 08:49:18 +00:00
billz 99b3767fd6 Read/set wg_option flag 2023-11-03 08:48:48 +00:00
billz 3eb8e5ae3f Check for presence of commands, ini files and defaults.php 2023-11-01 20:33:15 +00:00
billz c3d97182cb Update _initialize() w/ delete log condition, revise separator labels 2023-11-01 11:13:33 +00:00
billz 22cd0ae017 Add system/debuglog.sh to sudoers 2023-11-01 07:46:36 +00:00
billz 9663832f0d Add _usb_info, _wpa_info and -w --write option 2023-11-01 07:45:19 +00:00
billz e99e98d8ca Omit debug logfile write to /tmp 2023-10-31 20:27:56 +00:00
billz 15632a60df Create system debug log dir, copy shell scripts to destination 2023-10-31 15:19:01 +00:00
billz 362feae185 Echo logfile path + file for ajax handler 2023-10-31 15:16:05 +00:00
billz 0176f71944 Initial commit 2023-10-31 14:38:45 +00:00
billz 516de1f080 Update installer output LONG_BIT 2023-10-27 11:36:44 +01:00
billz f481b51c9d Update _download_latest_files() exit on clone failure 2023-10-27 09:26:19 +01:00
billz 0136c32403 Add jq to _install_dependencies(), modify sudoers entry 2023-10-26 13:59:08 +01:00
billz a8f541c659 Update raspap.sudoers with vnstat 2023-10-25 14:08:38 +01:00
billz ada6cbf4d3 Minor: remove whitespace + exit status 2023-10-25 14:08:38 +01:00
billz 1b3e1c3372 Install dhcpcd-base dependency + systemd unit control file 2023-10-25 14:08:38 +01:00
billz a26a3b665e Detect unsupported Raspbian GNU/Linux 12 (bookworm) 32-bit 2023-10-25 14:08:38 +01:00
billz 72cac43c0f Added _install_provider() 2023-10-13 08:46:39 +02:00
billz d3c9b00e89 Added _prompt_install_vpn_providers() 2023-10-12 17:43:54 +02:00
billz a0ff530318 Replace notracking w/ updated blocklist host + domain lists 2023-10-06 14:43:28 +02:00
billz 104b8c340c Update set local file timestamp to when it was downloaded 2023-10-06 14:40:16 +02:00
billz 2ac5f94594 Hotfix: delete _move_config_file (obsolete) 2023-10-02 15:12:39 +01:00
billz cc6fa1d8d0 Install iw package on Debian 12 2023-09-03 09:44:43 +02:00
billz 2ea85a741a Typo fix 2023-08-23 20:01:34 +02:00
billz d035fc804d Update _install_status w/ ! important + add Insiders note 2023-08-23 19:44:59 +02:00
billz 186af54185 Add iw_package when OS = ubuntu 2023-06-04 15:11:25 +00:00
billz a69bf2c6dd Add _check_notify_ubuntu() 2023-06-04 12:26:15 +00:00
billz e3a9919af1 Set php_package for Ubuntu 23.04 2023-06-03 18:43:55 +00:00
billz 20414b9ef1 Detect latest distro releases + set php_package 2023-06-02 12:52:52 +00:00
billz c971c5c9bc Installer hotfix + update release version 2023-04-12 21:09:01 +01:00
billz c838a33deb Update _install_dependencies() 2023-04-11 23:29:04 +01:00
billz cb79429f27 Fix: update _install_dependencies() 2023-04-11 10:03:52 +02:00
ldevillez ac08a2cfaf missing = 2023-04-06 14:38:23 +02:00
billz 10738f5b7b Minor: add missing mkcert option to help 2023-03-30 18:43:24 +02:00
billz 454e5d7ea8 Update remove_packages + disable_services 2023-03-28 18:43:36 +02:00
billz b64faff248 Update w/ apt-get, install_status 2 (warning) on service disable 2023-03-26 12:01:38 +02:00
billz 0ba7833804 Add proceed check to _install_logger() 2023-03-26 10:08:01 +02:00
billz 33d99a0148 Minor: comments 2023-03-25 18:09:41 +01:00
billz 040160564f Create _install_minwrite() + functions 2023-03-25 17:51:00 +01:00
billz 41d21477fd Add -m --minwrite option and loader support 2023-03-25 17:49:52 +01:00
billz e422b4908e Apply functionality to dnsmasq log 2022-09-27 11:46:59 +02:00
billz 1680c43c3e Add /bin/truncate to sudoers 2022-09-26 20:54:29 +01:00
billz 5625e13ef1 Detect Ubuntu 22.04, extended regex to match daemon_conf 2022-06-23 21:05:40 +01:00
Bill Zimmerman e6b6e8eafc
Merge pull request #1183 from RaspAP/feature/ubuntu20-armbian22
Extend support to Ubuntu 20.04 / Armbian 22
2022-06-23 18:12:10 +02:00
Bill Zimmerman c1db8d6409
Set DAEMON_CONF path for hostapd 2022-06-23 17:06:58 +02:00
billz a743f84529 Minor: case change 2022-06-22 11:56:42 +01:00
billz 86bb8458b8 Add sbin/netplan to sudoers 2022-06-08 16:47:00 +00:00
billz 705477a011 Install OS-specific bridge default config 2022-06-08 16:45:56 +00:00
billz 9187691b3e Add --uninstall option to loader 2022-06-08 16:16:56 +00:00
billz 316b161671 Catch error & return install_status on failure 2022-06-08 07:24:36 +01:00
billz fcd3a7f204 Tidy function w/ do loop 2022-06-07 20:46:55 +01:00
billz a75ead776f Created _manage_systemd_services() 2022-06-07 19:58:04 +01:00
billz 6eded85bcd Detect Ubuntu 20.04 / Armbian 22.05 + set php package 2022-06-05 18:36:14 +01:00
billz 9d5088adf0 Backup/apply auth + config with --upgrade. Related to #1162 2022-06-05 13:42:00 +01:00
Federico Frigo 00fe51f005 Reverting files to correct ones 2022-04-10 20:09:23 +02:00
Federico Frigo 592b2ccc77
Merge branch 'master' into master 2022-04-06 09:21:29 +02:00
Flavio Capitao fc2637be6b fix: uninstall script default option #1140 2022-03-14 11:23:54 +01:00
Jonny1797 eeaed09f51
Wrong assumption of default behaviour
As the default behaviour is the reboot, the "yes" option should (like before) stand out. Alternatively one can make default that the device does not reboot.
2022-03-07 17:50:10 +01:00
p0lycarpio 4213d169bf fix: check if file exists 2022-01-16 18:39:02 +01:00
p0lycarpio f315f05073 change scripts order and backup raspap.auth 2022-01-16 14:16:40 +01:00
billz 1617a7c5be Fix: chmod o+r for /var/log/dnsmasq.log 2022-01-05 11:30:09 +00:00
Bill Zimmerman 1c3c6599fe
Update common.sh 2022-01-01 23:47:20 +01:00
billz 0af3e7a7c6 Update wg logging facility 2021-12-31 13:10:27 +00:00
billz 2ca5f25dff Merge First Edition of RaspAP/raspap-insiders 2021-12-29 12:35:57 +00:00
Bill Zimmerman d0564ec946
Merge pull request #49 from RaspAP/feature-firewall
Feature: firewall settings
2021-11-26 22:48:14 +01:00
billz 03d14ed434 Update for for Debian 11 compatibility 2021-11-15 22:14:59 +00:00
Federico Frigo 6a08924dd1 servicestart.sh fixes 2021-10-19 20:23:19 +02:00
Federico Frigo ec2e0af7db Hostname automatic update 2021-10-19 19:30:47 +02:00
Federico Frigo fd1c48b710 Automated ssid and country code updates 2021-10-19 18:51:44 +02:00
Federico Frigo d0c14824e1
Merge branch 'RaspAP:master' into master 2021-10-18 20:33:38 +02:00
billz 0548a05f86 Resolves #1036 2021-10-18 12:27:33 +01:00
Federico Frigo 50ab349d1b Custom settings 2021-09-30 11:04:57 +01:00
zbchristian d07fd0a327 Implement update firewall function
- cleanup firewall.php
- add function updateFirewall
- add standalone script update_firewall.sh to update the firewall rules
2021-09-08 10:59:58 +02:00
Christian Zeitnitz 882535b130 Get VPN state from active tun/wg device 2021-07-25 17:27:31 +02:00
Christian Zeitnitz 5197df18e1 Fix ownership of firewall directory 2021-07-19 17:47:38 +02:00
Christian Zeitnitz 2e1781a2eb Add installation script
Add wireguard iptables rules
2021-07-17 22:26:56 +02:00
Christian Zeitnitz 59abc641d6 Implement firewall
- settings in iptables_rules.json
- creates a script under /tmp/iptables_raspap.sh and executes it
- no installer yet
- to do: deal with Bridge and VPN settings
2021-07-16 21:40:28 +02:00
Bill Zimmerman 78c4dff40b
Merge pull request #45 from RaspAP/feature/wg-extended
Extend WG functionality
2021-07-13 14:03:35 +02:00
billz fbe1348e15 Added sudoers mv /tmp/wg/* 2021-07-07 22:59:51 +01:00