Commit graph

252 commits

Author SHA1 Message Date
Miraty
ba18c13747 Use a token to link account to external resource 2022-10-06 13:12:04 +02:00
Miraty
01d5dff22b Allow 2 chars IP (::) 2022-10-01 15:58:56 +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
35d1c6ea09 Change UI texts 2022-09-14 13:30:45 +02:00
Miraty
109df94b5a reg: Prevent registration of some subdomains 2022-09-13 23:48:38 +02:00
Miraty
7e2644a5c1 Use <code> for table zone display 2022-09-13 01:25:03 +02:00
Miraty
5561393403 Use more PAGE_URL 2022-09-13 01:09:40 +02:00
Miraty
bd37c14ef9 Use getTitlesLineage() to check if page exists 2022-09-09 22:15:52 +02:00
Miraty
9775de3a40 Merge html.php into router.php 2022-09-09 21:53:31 +02:00
Miraty
21e20c9008 Recursive function getTitlesLineage() 2022-09-09 20:16:48 +02:00
Miraty
173f7b15d3 Allow more than two levels in URL 2022-09-09 20:15:10 +02:00
Miraty
d53a6e1258 Minor enhancements and bugfixes 2022-09-07 18:47:17 +02:00
Miraty
3f46159f1e Display page even if errors, recursive executePage() 2022-09-07 18:44:49 +02:00
Miraty
7f20fcf47e List sites on ht/index 2022-09-07 02:47:50 +02:00
Miraty
674dd1f699 Integrate Let's Encrypt into (add|del)-http-dns.php 2022-09-06 02:40:18 +02:00
Miraty
72f4ce3605 Use sudo rm --recursive for /srv/niver/ht/username 2022-09-06 02:23:59 +02:00
Miraty
e7b2856f92 sftpgo-auth: check user existence before password 2022-09-03 18:56:40 +02:00
Miraty
15b7e09826 Add ipvX_listen_address configuration for ht/ 2022-09-03 18:15:22 +02:00
Miraty
ea0ffab14a Use kdig for zone-add dns check + add equalArrays() 2022-09-03 18:12:49 +02:00
Miraty
1292a22b02 Log out user after deleting account 2022-09-02 18:49:59 +02:00
Miraty
c13ec1829a public/ > pages/ 2022-09-01 04:23:36 +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
7a35ebccc5 Check upstream NS for ns/ and AAAA/A for ht/ 2022-08-30 22:34:09 +02:00
Miraty
6a547808e6 Use CONF['ns']['servers'] to generate zone file 2022-08-30 00:48:41 +02:00
Miraty
1a8691f7e3 Remove regIsFree 2022-08-30 00:43:14 +02:00
Miraty
247c814d5d ns/ & ht/: check that domain isn't already used 2022-08-30 00:37:37 +02:00
Miraty
9be11ea27a Set CNPLv7+ as license 2022-08-29 19:19:13 +02:00
Miraty
7d1537e3eb Use <nav> for indexes 2022-08-11 16:39:31 +02:00
Miraty
9e4fdacfac Better informations 2022-08-11 16:38:45 +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
1167b52fc6 ns: add CNAME, DNAME and LOC records forms 2022-06-30 01:14:58 +02:00
Miraty
bd5497fe2f Use <output> 2022-06-29 00:30:14 +02:00
Miraty
a81016a73a Merge branch 'main' of https://code.antopie.org/Niver/core 2022-06-28 22:09:54 +02:00
Miraty
18364c1ff6 Set user's quota_files in SFTPGo 2022-06-28 22:08:34 +02:00
Miraty
17f6f486fc Allow any unicode letter and number in user's values 2022-06-25 16:43:58 +02:00
Miraty
6365ac617c Move everything in /srv/niver 2022-06-23 19:19:39 +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
b579c57200 Delete Tor keys in del-http-onion.php 2022-06-17 00:28:22 +02:00
Miraty
aef17741e6 Add pages to display domains contents 2022-06-16 15:08:50 +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