Commit graph

46 commits

Author SHA1 Message Date
Miraty
9173336714 Check that account still exists when doing something 2022-11-30 23:38:02 +01:00
Miraty
f15681999b Internal ID, Argon2 for usernames, username changes 2022-11-30 23:12:42 +01:00
Miraty
05db184fa6 ht: More restrictive directory names 2022-11-28 17:16:30 +01:00
Miraty
922f649a08 Use a hash as internal username 2022-11-26 21:45:48 +01:00
Miraty
dc3c976d37 Make services reloading systemd-agnostic 2022-11-23 22:21:34 +01:00
Miraty
567034b8fe Fix regDeleteDomain security flaw + D regex modifier
regDeleteDomain() in fn/reg.php used too loose pattern matching for data deletion, that also deleted other domains that included the deleted domain
2022-11-20 18:17:03 +01:00
Miraty
18d976217b Use single quotes instead of double quotes 2022-11-20 15:11:54 +01:00
Miraty
e3f358a62c Direct zone file edition through <textarea> 2022-11-20 01:05:03 +01:00
Miraty
14506ab9e2 Lower time_cost Argon2 param 2022-11-01 00:28:50 +01:00
Miraty
54c4f8ab68 Minor changes 2022-10-09 23:36:35 +02:00
Miraty
938dbe4040 ht: limit directory size to 64 chars 2022-10-09 23:32:04 +02:00
Miraty
f372bbbce7 Log Certbot error messages 2022-10-07 13:29:47 +02:00
Miraty
ba18c13747 Use a token to link account to external resource 2022-10-06 13:12:04 +02:00
Miraty
77f6dfaada Token bucket rate limiting 2022-09-17 00:49:07 +02:00
Miraty
c65dedf9de Merge TITLES and DESCRIPTIONS into PAGES 2022-09-15 21:23:49 +02:00
Miraty
763762f08b fn success/userError/serverError > output($code) 2022-09-15 19:18:48 +02:00
Miraty
3571c456fd Delete unused le_enabled in "sites" table 2022-09-14 18:34:44 +02:00
Miraty
5885f7a416 Factorize "INSERT INTO" SQL queries with insert() 2022-09-14 17:19:17 +02:00
Miraty
f06e42645a ht: Allow domains ending with a dot 2022-09-14 13:49:15 +02:00
Miraty
5561393403 Use more PAGE_URL 2022-09-13 01:09:40 +02:00
Miraty
3f46159f1e Display page even if errors, recursive executePage() 2022-09-07 18:44:49 +02:00
Miraty
674dd1f699 Integrate Let's Encrypt into (add|del)-http-dns.php 2022-09-06 02:40:18 +02:00
Miraty
ea0ffab14a Use kdig for zone-add dns check + add equalArrays() 2022-09-03 18:12:49 +02:00
Miraty
e3af4c946d router.php + process form before display
The webservers now need to send every request to router.php, which will call appropriate files.

Forms will be treated before being displayed.
2022-09-01 04:21:17 +02:00
Miraty
1a8691f7e3 Remove regIsFree 2022-08-30 00:43:14 +02:00
Miraty
7d1537e3eb Use <nav> for indexes 2022-08-11 16:39:31 +02:00
Miraty
e64b6f5f56 Allow reserved IP adresses 2022-08-11 16:36:54 +02:00
Miraty
d984dd2f20 Allow private IP adresses 2022-08-07 00:09:56 +02:00
Miraty
a63cf55c72 Add linkToDocs() 2022-07-20 20:03:45 +02:00
Miraty
bd5497fe2f Use <output> 2022-06-29 00:30:14 +02:00
Miraty
17f6f486fc Allow any unicode letter and number in user's values 2022-06-25 16:43:58 +02:00
Miraty
9fa902f768 Store Tor config and keys in $username/$dir 2022-06-22 00:37:06 +02:00
Miraty
6dbc63a36a Add form to delete account
Move service-specific deletion code to functions
2022-06-18 04:22:05 +02:00
Miraty
4cafad3310 redir() 2022-06-17 15:45:52 +02:00
Miraty
9bcf3a57a2 Add formatAbsoluteDomain, remove regGetUpperDomain 2022-06-15 15:30:18 +02:00
Miraty
40cb0729ad redirUrl() and warning when not logged in on a form 2022-06-15 12:42:30 +02:00
Miraty
90d8e2fce7 More emojis, displayIndex, descriptions in pages.php 2022-06-14 18:21:09 +02:00
Miraty
41568a9684 Split zone.php and use arrays for page titles 2022-06-12 03:28:43 +02:00
Miraty
265097aa85 Use the query() function more 2022-06-12 01:31:16 +02:00
Miraty
6c7cc99abd Add options to disable each service 2022-06-12 00:04:18 +02:00
Miraty
d9440231ac del-http-onion.php + query() 2022-06-11 23:42:48 +02:00
Miraty
6b602eb43f Update auth forms 2022-06-10 21:14:47 +02:00
Miraty
5e6da92d01 Cleaner ht.php 2022-06-10 16:42:55 +02:00
Miraty
ab09c84514 Remove niver.log 2022-06-10 03:14:58 +02:00
Miraty
a6873d6ea6 knotcExec: abort transition on failure 2022-06-10 00:38:05 +02:00
Miraty
fac61531dd Create fn/ directory 2022-05-31 19:12:14 +02:00