Commit Graph

1263 Commits

Author SHA1 Message Date
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
89738ec9ae fork : allow to clean without blocking
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4010 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-12-22 14:46:25 +00:00
2835eafd12 Add daemon support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4009 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-12-22 14:03:29 +00:00
63dd033864 fork: Add name of the child process for "ps -edf"
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4008 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-12-22 14:03:10 +00:00
8822ec580e fork : add startDetachedChild
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4007 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-12-22 12:37:23 +00:00
75f2df3da6 Add fork support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4006 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-12-22 12:09:20 +00:00
8495ce241b form: select field : allow the provided value to be an integer and work correctely in comparison with the string defaults values
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4005 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-12-01 08:36:01 +00:00
a80a51c862 dblayeroo: the post execute select must not convert a NULL to INT if a column definition is INTEGER
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4004 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-11-30 10:57:29 +00:00
4fccb57e7a dblayeroo: allow the foreign keys to be a NOT NULL field, then not be tested
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4002 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-11-16 13:13:22 +00:00
fc21407614 route : Add proxy support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3989 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-10-30 19:50:45 +00:00
f125cbc0f0 Add Changelog for 0.48 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3987 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-10-30 09:43:13 +00:00