Commit graph

3130 commits

Author SHA1 Message Date
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
billz
2d41f74b6a Minor: fix caps in title 2024-02-19 18:31:48 +01:00
billz
4e258b3981 Add sidebar item, template stubs + page actions 2024-02-19 10:08:29 +01:00
billz
bf41d88340 Add constant to config.php + enable with installer 2024-02-19 09:12:33 +01:00
Bill Zimmerman
2e4d76a419
Merge pull request #1521 from RaspAP/fix/uninstaller
Install loader compatibility fix
2024-02-18 08:14:33 +01:00
TCH
1f1fa3711a no posts + everything behind auth 2024-02-17 19:45:39 +00:00
billz
35bb48d050 Install loader compatibility fix 2024-02-16 10:18:17 +01:00
Bill Zimmerman
c50d01d972
Bump Armbian release 2024-02-10 08:29:33 +01:00
Bill Zimmerman
4c6b01729e
Merge pull request #1518 from NL-TCH/patch-2
fix logging typo
2024-02-09 08:23:56 +01:00
NL-TCH
910616ef43 fix path error in servicefile 2024-02-09 02:17:15 +01:00
NL-TCH
aec0279135 change python -> python3 2024-02-09 01:57:59 +01:00
NL-TCH
8eae2d1606 check if python is present 2024-02-09 01:56:02 +01:00
NL-TCH
ccd0d62a5a why am i stupid? 2024-02-09 01:50:46 +01:00
NL-TCH
8c82c41330 parsing of restapi var to common 2024-02-09 00:50:10 +01:00
NL-TCH
08db1e5b66 bruh, i am stupid 2024-02-09 00:38:03 +01:00
NL-TCH
c43d2ea7ab fix installer 2024-02-09 00:08:46 +01:00
NL-TCH
8357fcb5e4 fix typo 2024-02-08 23:57:48 +01:00
NL-TCH
2ac9ba580f pip fix 2024-02-08 23:46:08 +01:00
NL-TCH
04a443a514 add --help option 2024-02-08 23:28:17 +01:00