Commit graph

3009 commits

Author SHA1 Message Date
billz
5cbe66d99b Set RASPI_RESTAPI_ENABLED flag 2024-03-27 18:35:15 +01:00
Bill Zimmerman
48e7b7abb7
Merge pull request #1556 from RaspAP/maint/installer
Roll up install prompts with _prompt_install_features()
2024-03-26 18:25:48 +01:00
billz
5717d2f4a8 Update package check w/ dpkg-query 2024-03-25 19:47:19 +01:00
billz
fc77f79441 Add _check_incompatible_distro 2024-03-25 15:58:37 +01:00
billz
f4017ef29a Roll up install prompts with _prompt_install_features() 2024-03-24 16:31:21 +01:00
Bill Zimmerman
ee915f95a2
Merge pull request #1552 from nsdoukos/night-mode-fix
Fix night mode when changing theme
2024-03-22 07:52:39 +01:00
Nestoras Sdoukos
02ac421010 Fix night mode when changing theme
Signed-off-by: Nestoras Sdoukos <sdoukos@libre.space>
2024-03-21 22:31:37 +02:00
Bill Zimmerman
5b27f528c9
Update README.md 2024-03-17 20:12:42 +01:00
billz
d1fb8f69d6 Define RASPI_RESTAPI_ENABLED 2024-03-14 21:27:28 +01:00
billz
820621d301 Update release version 2024-03-13 08:38:14 +01:00
Bill Zimmerman
d0592b63de
Merge pull request #1548 from RaspAP/sec/authenticate-ajax
Add authentication to ajax pages, thx @lts-rad
2024-03-12 17:56:30 +01:00
billz
c98d2b0c15 Add authentication to ajax pages, thx @lts-rad 2024-03-11 18:52:34 +01:00
Bill Zimmerman
e92835f89d
Merge pull request #1545 from RaspAP/dependabot/pip/api/fastapi-0.109.1
Bump fastapi from 0.109.0 to 0.109.1 in /api
2024-03-09 15:24:18 +01:00
dependabot[bot]
603038efb1
Bump fastapi from 0.109.0 to 0.109.1 in /api
Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.109.0 to 0.109.1.
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Commits](https://github.com/tiangolo/fastapi/compare/0.109.0...0.109.1)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-09 13:05:59 +00:00
Bill Zimmerman
2de012cc85
Merge pull request #1519 from NL-TCH/REST-API
RestAPI installer integrated
2024-03-09 14:05:30 +01:00
billz
d1be0caf54 Restart restapi.sevice on API key save 2024-03-09 12:23:20 +01:00
billz
8d6b8174d1 Bump position of sidebar item 2024-03-09 12:22:14 +01:00
billz
c408a6f5f8 Add message to en_US locale + compile 2024-03-09 12:21:31 +01:00
billz
220709b698 fix: mv api files /facepalm 2024-03-09 11:24:36 +01:00
billz
3262e3030f Update en_US locale + compile .mo 2024-03-09 09:25:34 +01:00
billz
f81c68de26 Add restAPI doc link when svc is active 2024-03-09 09:25:02 +01:00
billz
1e840abbaf Update installer switches 2024-03-09 09:17:05 +01:00
Bill Zimmerman
95f74c560e
Merge pull request #1542 from RaspAP/sec/providers
Sanitize country POST input
2024-03-08 21:20:08 +01:00
billz
d5009e0c1e Sanitize country POST input 2024-03-08 21:14:33 +01:00
billz
9c5c0cfb88 Remove /wireguard/{config} endpoint 2024-03-08 20:17:22 +01:00
billz
f61e1b5c1a Clean up serviceLog output 2024-03-08 20:14:08 +01:00
billz
19fe43466e Remove --reload from ExecStart 2024-03-08 20:13:20 +01:00
billz
49780d8ec9 Rename tag hostpost -> hotspot 2024-03-08 20:12:30 +01:00
billz
79d33db2bf Revert "Sanitize path to prevent directory traversal"
This reverts commit 2cdf6ef53e.
2024-03-08 11:27:44 +01:00
billz
2cdf6ef53e Sanitize path to prevent directory traversal 2024-03-08 11:15:31 +01:00
billz
ef7b67a445 Set serviceLog from systemctl status 2024-03-08 10:50:02 +01:00
billz
87216bdc02 Update sudoers .env permissions, systemd service user 2024-03-08 10:48:41 +01:00
billz
5d8fed824a Define RASPI_CONFIG_API, update class constructor, load + createEnv 2024-03-08 10:46:45 +01:00
billz
282b839f45 Add gen_apikey to template 2024-03-08 10:45:05 +01:00
billz
95ad90063b Validate client_config path expression 2024-03-08 09:08:53 +01:00
billz
b567f565d9 Disambiguate service name 2024-03-08 09:01:13 +01:00
billz
00f90f1f73 Sanitize user-provided inputs 2024-03-08 08:59:36 +01:00
billz
b80151be28 Fix SyntaxError: positional argument follows keyword 2024-03-07 18:54:15 +01:00
billz
75be1bf04e Add load_dotenv from dotenv 2024-03-07 18:53:17 +01:00
billz
2365c4e251 Add python-dotenv dependecy 2024-03-07 18:52:01 +01:00
billz
edc3a421ca Replace root user with %i, append --reload 2024-03-07 18:51:16 +01:00
billz
95acd497df Move /api dir to $raspap_dir 2024-03-07 18:50:39 +01:00
billz
5b7b968676 Fix: rename systemd service, set serviceStatus flag 2024-03-07 18:44:27 +01:00
billz
2b2cb8fa40 Update en_US locale messages + compile .mo 2024-02-28 19:50:20 +01:00
billz
0b9cbee210 Processed w/ phpcbf 2024-02-28 19:49:46 +01:00
billz
cfa916632b Replace external dependencies w/ native DotEnv class 2024-02-28 19:27:10 +01:00
billz
b835243e57 Add .env to gitignore 2024-02-28 19:24:49 +01:00
billz
5150224e66 Read RASPAP_API_KEY from Dotenv 2024-02-27 11:50:32 +01:00
billz
4bf514c992 Add required php-mbstring to _install_dependencies 2024-02-27 11:49:21 +01:00
billz
def8be88fb Update dependencies + cp vendor/*/src src/ 2024-02-27 11:48:37 +01:00