Commit graph

2998 commits

Author SHA1 Message Date
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
Bill Zimmerman
eabd356bcb
Merge pull request #1529 from RaspAP/dependabot/npm_and_yarn/es5-ext-0.10.63
Bump es5-ext from 0.10.51 to 0.10.63
2024-02-27 08:43:05 +01:00
dependabot[bot]
c8ed440c68
Bump es5-ext from 0.10.51 to 0.10.63
Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.51 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](https://github.com/medikoo/es5-ext/compare/v0.10.51...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-27 02:54:33 +00:00
Bill Zimmerman
a55b7d0605
Update BACKERS.md 2024-02-25 10:17:40 +01:00
billz
1e6b604e7f Update release version 2024-02-24 10:47:18 +01:00
Bill Zimmerman
e2530bbbbf
Merge pull request #1527 from RaspAP/fix/auth-user
Fix: Update user_id session var auth context
2024-02-24 10:42:26 +01:00
Bill Zimmerman
55508262de
Merge pull request #1528 from RaspAP/fix/hostapd-iface-check
Fix: Exec iwgetid with client iface session var
2024-02-24 10:41:50 +01:00
billz
cffcac0c52 Exec iwgetid w/ client iface session var 2024-02-24 10:35:35 +01:00
billz
ae44f5476d Update user_id session var auth context 2024-02-24 10:23:58 +01:00
billz
8ecd542eae Create api general + status tabs 2024-02-19 19:34:59 +01:00
billz
7dc2fd6538 Implement basic display/save settings 2024-02-19 19:33:59 +01:00
billz
9d7058527d Add start/stop restapi.service to sudoers 2024-02-19 18:57:02 +01:00