billz
|
6b484d383c
|
Progress commit: wg-qr-code
|
2021-03-02 23:15:47 +00:00 |
|
billz
|
9c2cd82562
|
Merge branch 'feature/wireguard' of https://github.com/RaspAP/raspap-insiders into feature/wireguard
|
2021-02-23 20:17:38 +00:00 |
|
billz
|
4378ff7add
|
Implement night mode toggle in top navbar
|
2021-02-15 19:02:13 +00:00 |
|
billz
|
ef09dd0f60
|
Add file utility functions
|
2021-02-07 11:53:57 +00:00 |
|
billz
|
dc03d9ea00
|
Prepend .ovpn filename to client + login
|
2021-02-06 11:03:30 +00:00 |
|
billz
|
3d2d608477
|
Fix warning: check for RASPI_CACHE_PATH
|
2021-02-02 11:15:08 +00:00 |
|
billz
|
f1c85c993e
|
Move getHumanReadableDatasize() to functions
|
2021-01-21 11:54:10 +00:00 |
|
billz
|
31e3afa4a4
|
Create getDefaultNetOpts()
|
2020-12-24 12:29:52 +00:00 |
|
billz
|
9f85daaa86
|
Added getDefaultNetValue()
|
2020-12-05 09:12:47 +00:00 |
|
billz
|
bcab63bb30
|
Bugfix + documentation
|
2020-12-04 21:41:10 +00:00 |
|
billz
|
de787c424a
|
Create functions from procedural code
|
2020-12-04 14:40:54 +00:00 |
|
billz
|
66bd5d5927
|
Added getNetConfig()
|
2020-12-01 18:38:57 +00:00 |
|
billz
|
5b1325803a
|
Added cidr2mask()
|
2020-11-30 12:09:56 +00:00 |
|
billz
|
31edb21a76
|
Fix merge error
|
2020-09-23 09:10:44 +01:00 |
|
billz
|
f8b5f8fdfc
|
Merge branch 'master' into feature/wireguard
|
2020-09-22 18:23:36 +01:00 |
|
billz
|
5189853c19
|
Added validate_host()
|
2020-09-19 22:24:15 +01:00 |
|
billz
|
34b5b4c1b2
|
Add validateCidr()
|
2020-08-28 23:40:46 +01:00 |
|
billz
|
29be22a8d3
|
Create dashboard functions
|
2020-06-30 23:35:46 +01:00 |
|
billz
|
9fef770143
|
Create getThemeOpt
|
2020-06-30 16:53:52 +01:00 |
|
billz
|
3fa5215449
|
Added blocklist last updated
|
2020-04-01 09:09:52 +00:00 |
|
billz
|
ae26f948a4
|
WIP
|
2020-03-26 19:45:39 +00:00 |
|
glaszig
|
29d4653524
|
prevent variable name collision in renderTemplate() function
|
2020-03-06 16:54:48 +01:00 |
|
glaszig
|
cfa3f9cfd3
|
added selectable hosted dns servers
|
2020-03-04 19:43:22 +01:00 |
|
glaszig
|
ad1ca08de3
|
escape qrencode arguments in multibyte-safe way
|
2020-02-27 23:52:35 +00:00 |
|
billz
|
457da91008
|
Processed with phpcbf
|
2020-02-15 17:57:46 +00:00 |
|
billz
|
3292bc580b
|
Added disabled param to SelectorOptions()
|
2019-12-27 03:08:51 +00:00 |
|
billz
|
6d7aa1b401
|
Added optional $event param to SelectorOptions()
|
2019-12-26 06:16:13 +00:00 |
|
billz
|
25d1ddeed6
|
Templatized Tor proxy config
|
2019-11-12 21:05:21 +00:00 |
|
billz
|
e4225086e1
|
Moved DisplayOpenVPNConfig() to new file
|
2019-11-12 16:02:05 +00:00 |
|
billz
|
9d38e6a806
|
Update OpenVPN + Tor to bootstrap4. Todo: templatize
|
2019-10-24 23:35:59 +01:00 |
|
billz
|
b29bbf4f11
|
Replace HTML linebreaks in ConvertToSecurity()
|
2019-10-15 21:07:21 +01:00 |
|
billz
|
8be24381a8
|
Processed with phpcbf for PSR-2 coding standard
|
2019-09-07 16:42:31 +01:00 |
|
glaszig
|
5a49768614
|
fix renderTemplate() function to allow data-less rendering
|
2019-08-19 22:35:29 +02:00 |
|
glaszig
|
20d9e919c3
|
generate only one csrf token per session
some pages issue xhr which lead to new
tokens in the session and a future check
is garuanteed to fail.
|
2019-08-19 03:12:37 +01:00 |
|
Bill Zimmerman
|
5858971762
|
Merge pull request #372 from glaszig/ui/xhr-load-cached-wifi-stations
load wifi stations via ajax, cache the scan result
|
2019-08-17 09:53:13 +02:00 |
|
glaszig
|
f5e3b717ff
|
add missing CSRFTokenFieldTag's
|
2019-08-14 02:41:58 +02:00 |
|
glaszig
|
993dc633a9
|
load wifi stations via ajax, cache the scan result
until the "rescan" button is pressed. speeds up
"configure client" page massively.
|
2019-08-08 03:44:28 +02:00 |
|
glaszig
|
8f3489cd4a
|
remove id attribute from csrf token field due to obsolescence
and if there's multiple form's on the page it would lead to
multiple elements with the same id which is illegal in html
|
2019-08-06 20:55:16 +02:00 |
|
glaszig
|
f36b08c10a
|
rename CSRFToken() to the more apt CSRFTokenFieldTag()
|
2019-08-06 20:55:16 +02:00 |
|
glaszig
|
0a255e8b49
|
don't write the csrf token field to the output buffer
but return and echo it
|
2019-08-06 20:55:16 +02:00 |
|
glaszig
|
6f1ae104f3
|
improve CSRFToken() implementation
|
2019-08-06 20:55:16 +02:00 |
|
glaszig
|
2f6dc2cc05
|
remove superfluous semi-colon
|
2019-08-06 20:55:16 +02:00 |
|
glaszig
|
964dc00fab
|
generate a new csrf token for each request
|
2019-08-06 20:55:16 +02:00 |
|
glaszig
|
7898dc24c8
|
mcrypt_create_iv is deprecated, openssl_random_pseudo_bytes
depends on openssl. php7 has the platform-independent
`random_bytes` to generate "cryptographically secure"
random data. use that for csrf token.
|
2019-08-06 20:55:16 +02:00 |
|
glaszig
|
b9e9b7fe39
|
move csrf token initialization into function
|
2019-08-06 20:55:16 +02:00 |
|
glaszig
|
0967a53152
|
validate token value from csrf token header
if supplied and not overridden by post request param
|
2019-08-06 20:55:16 +02:00 |
|
glaszig
|
20bb9fe42f
|
add csrf meta tag (for use with xhr, for example)
|
2019-08-06 20:55:16 +02:00 |
|
glaszig
|
f989b8060b
|
always verify csrf token for resource-modifying requests,
that is post, put, patch, delete
|
2019-08-06 20:55:16 +02:00 |
|
glaszig
|
d18dbd7def
|
add ui to manage static dhcp leases
* add support to parse duplicate options in ParseConfig()
* add logic, html and js to edit dhcp leases
|
2019-08-01 18:15:32 +02:00 |
|
billz
|
3f9b422f5f
|
Update safefilerewrite with PHP_EOL
|
2019-04-30 22:57:12 +00:00 |
|