Commit Graph

1273 Commits

Author SHA1 Message Date
d708af89c6 console : remove not needed comments on old tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4242 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 13:47:01 +00:00
57739c624b console : manage the Ctrl+C to clean the line if needed
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4241 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 13:22:49 +00:00
1efb0c395d console : Delete is now working for first char
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4240 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 12:14:30 +00:00
e5e56b66c0 console : allow to set the user proposition when using readline
console : manage correctely the backspace


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4239 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 12:12:54 +00:00
cb93127fa2 console : clear the history lines when using Ctrl+L
console : add a public method to update the window size.


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4238 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 11:13:33 +00:00
a6764f2d8f console : manage correctely the window size
console : Add support to Ctrl+L


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4237 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 10:17:16 +00:00
07e8b0f5c4 console : Add Ctr+D (logout) support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4236 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-12 18:59:44 +00:00
80abee3b12 console : Allow to autocomplete with value+help, or value only
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4235 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-12 18:47:33 +00:00
0f7ef786e8 Manage the historical
Manage the UTF-8 chars
Allow to move cursor with Ctrl+Arrow


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4234 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-12 14:42:14 +00:00
062465ac52 Console : manage the history and the autocompletion
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4233 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-11 19:53:12 +00:00
8baf1bdf54 Add console support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4227 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-08 14:44:13 +00:00
c81a7f3e2f form: add 'file' type to upload
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4180 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-28 11:23:39 +00:00
3b74f55a2d convert : add humanSize conversion (1440 => 1.44KB)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4179 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-27 11:48:26 +00:00
83353fc53c file : add fileinfoMimeType and filesize
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4178 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-27 11:33:22 +00:00
4a681bf314 form : supports multiple forms on the same page
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4177 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-23 15:20:43 +00:00
7b090d1662 dblayeroo : Add support to natural sort in ORDER
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4176 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-23 14:55:43 +00:00
fdb90a0816 form : redirectIfError if the $url is not provided, redirect to the same page, but in method get
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4175 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-21 13:19:45 +00:00
00908b1164 form : Add redirectIfError method to simplify the code in index files
$form = new \form ();
      $values = $form->values ();
      $errors = $spaceObj->verify ($values);
      $form->redirectIfError ($values, $errors, $route, "/admin/space/");
      $spaceuuid = $spaceObj->spaceCreateConceal ($values["spacename"]);
      $route->redirect ("/admin/space/");


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4174 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-21 13:05:00 +00:00
3c0cecd3eb * form : add setters for fields
* form : The label is now optional
* form : add logging support for exceptions


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4173 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-21 10:55:06 +00:00
7c5bdf4cd2 Changelog update due to lintian
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4162 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-13 08:04:55 +00:00
055a3b2c06 Changelog : update due to lintian
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4161 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-13 08:04:24 +00:00
ec960adb4e Start packaging of 0.50 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4160 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-13 08:02:29 +00:00
7864fe8628 Cli : update to solve domci
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4159 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-13 08:01:19 +00:00
ed1e4ee167 cli : Add controllersDir and modelsDir methods to set multiple pathes for controllers and models
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4158 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-10 19:10:45 +00:00
43649cc25d authentication : use the ratelimit dir /tmp/ratelimit to not try to remove all the files in /tmp
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4157 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-09 20:26:38 +00:00
da6358dc3c Cli : remove the auth user from cli : not valid everywhere
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4149 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-06 19:55:52 +00:00
66f5b98e20 tcpclient : manage the SSL CRYPTO options
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4148 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-06 19:55:11 +00:00
2acbd34b61 outputhtml : allow an autoloader class
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4143 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-06 09:27:54 +00:00
1bd2395de9 outputhtml : allow the class to be defined by an autoloader instead of hard wire the class files
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4139 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-05 20:55:31 +00:00
13f7eeea8c Add password management and the associated tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4137 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-04 21:50:01 +00:00
9109290c69 daemon : do not start the daemon if the PID file is finished by a \n
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4093 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-30 19:51:00 +00:00
6e46428c0c logger : to file, add a LOCK_EX to be sure that each message is writing before starting a new one
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4091 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-29 10:56:27 +00:00
a069bde02e tcpclient : Allow to set the SSL options if needed
tcpclient : use the TLS1.1 or TLS1.2 and no more the TLS1.0


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4089 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-29 09:33:12 +00:00
1feab2e762 tcpclient: Get the A and AAAA records before querying the CNAME only if needed (speedup if the CNAME DNS can not be found and hang the request)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4040 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-23 15:38:54 +00:00
8503ca915e ipaddresses : add validIPAddressWithCIDR, validIPAddressIPv4WithCIDR and validIPAddressIPv6WithCIDR
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4039 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-23 09:49:14 +00:00
8c0f10d9d9 tcpclient : generate an exception if the DNS has an error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4037 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-19 10:54:10 +00:00
6de459a4c6 tcpserver: allow the loop to be interrupted by a signal
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4036 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-15 14:47:40 +00:00
c6c01323de tcpserver : catch the errors, as a kill on a pending stream_select display a PHP Warning
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4035 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-15 14:30:03 +00:00
ffdce5eb30 ipaddresses : remove the trailing echo
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4034 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-15 14:11:42 +00:00
6872baa9a9 ipaddresses : Manage the IPv4 blocks in IPv6 : ::ffff:192.168.1.2
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4033 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-15 14:10:18 +00:00
22b21450d2 daemon: add reload method to send Kill -HUP to daemon
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4030 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-12 13:32:01 +00:00
6e10f2d9d4 ipaddresses: domci update docs
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4029 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-12 11:18:13 +00:00
b326bbba24 tcpserver: do not generate a warning on screen if the client reject the crypto enabling
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4028 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-12 11:17:28 +00:00
e12f7c516d * ipaddresses : add validCIDR, validIPv4CIDR, validIPv6CIDR to check the CIDR
* ipaddresses : add compressIP to compress an IPv6 address (remove the 0 and add the :: if possible)
* ipaddresses : add networkFirstIP and networkLastIP to get the first and last address of a network. In IPv4, the first address is network address and the last address is broadcast address.
* ipaddresses : add ipInNetwork to know if the provided ip address is in or outside the network and cidr provided


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4026 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-10 14:34:35 +00:00
20e75710c9 tcpclient: enable crypto : raise an exception in case of error
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4023 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-08 14:00:31 +00:00
d54c0d8aef tcpserver : do not check the client certificate in SSL mode, as there is no certificate provided by it !
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4021 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-05 14:49:53 +00:00
db55ec03b4 tcpclient: test correctely the certificate of the server by setting correctely the name of the peer
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4017 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-05 11:17:10 +00:00
65bae90ec1 Update changelog due to lintian warning
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4016 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-05 10:14:31 +00:00
1f99482558 Start packaging of 0.49 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4015 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-05 10:13:01 +00:00
44b7b34094 Add tcp client and tcp server support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4014 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-01-05 09:47:20 +00:00