Commit Graph
100 Commits
Author SHA1 Message Date
Dominique.Fournier b87bb3840d Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4627 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 14:34:30 +00:00
Dominique.Fournier 32686e29b2 dblayeroo : do not generate an error if there is no parenthesis in parameter for types
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4623 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 13:28:06 +00:00
Dominique.Fournier 9a28d95fea dblayeroo : update the syntax and change a checkRealTypes method name
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4622 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 13:19:55 +00:00
Dominique.Fournier c01a476a9a dblayeroo : Add the "realTypes" support with basic associated tests. If the user want some custom tests, it must extends the class and create checkRealType_XXX tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4621 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-10-24 12:56:55 +00:00
Dominique.Fournier d269917682 The PHP Classes are now with backslash
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4490 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-09-06 07:45:00 +00:00
Dominique.Fournier 6b5158e9d2 route : catch the base of site on "." too
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4489 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-08-24 13:58:56 +00:00
Dominique.Fournier 82ca9f6180 ipaddresses : update CIDR tests : was not catch error if the last char of CIDR was a letter
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4368 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-08-09 08:25:43 +00:00
Dominique.Fournier 897e6cce88 xdiff : domci correction
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4319 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-31 14:09:54 +00:00
Dominique.Fournier 527ca54b3b xdiff : block if provided array are multidimensional arrays
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4317 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-31 12:33:32 +00:00
Dominique.Fournier 321feaed08 xdiff : update PHPDoc
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4316 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-30 14:23:57 +00:00
Dominique.Fournier 1c98af7f14 xdiff : remove not needed code
xdiff : update tests to add Exception tests


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4313 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-30 13:55:52 +00:00
Dominique.Fournier a5efc67431 Update xdiff to not display the ,1 if the length is 1 on unified mode. Add the unit tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4311 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-30 13:31:37 +00:00
Dominique.Fournier ccee53e033 * xdiff : Add XDiff support in pure PHP. Allow to see which lines of two text files are modified, like the "diff" command. See https://en.wikipedia.org/wiki/Diff
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4310 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-30 13:15:36 +00:00
Dominique.Fournier 738b7e82e0 route : allow OPTIONS HTTP method
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4308 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-19 07:06:18 +00:00
Dominique.Fournier 338f4f4063 verify test adding
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4303 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-16 14:53:48 +00:00
Dominique.Fournier 14ef974d35 dblayeroo : do not generate an error on verify if a parameter is not provided
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4301 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-16 14:04:02 +00:00
Dominique.Fournier e6849facc0 Update locales
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4297 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-16 09:52:57 +00:00
Dominique.Fournier c3a4a27387 lintian update
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4296 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-16 09:40:39 +00:00
Dominique.Fournier ff611a0af1 lintian update
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4295 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-16 09:39:55 +00:00
Dominique.Fournier c64223a234 Start packaging for 0.51 version
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4294 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-16 09:38:39 +00:00
Dominique.Fournier 98d5a042fc Update test for dblayerooSQLite
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4293 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-16 09:38:14 +00:00
Dominique.Fournier 1756e8a42f dblayeroo : add listTables test
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4292 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 18:43:51 +00:00
Dominique.Fournier 8669bf4063 dblayeroo : listTables : sort the tables. Do not return the sqlite_sequence table
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4291 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 18:39:16 +00:00
Dominique.Fournier daee67d401 dbayeroo : manage correctely the GROUP_CONCAT and the commas on string
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4290 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 18:29:51 +00:00
Dominique.Fournier e5c67e779e dblayeroo : Manage the GROUP_CONCAT in PgSQL without error of casting
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4289 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 15:49:57 +00:00
Dominique.Fournier 0914b4afab dblayeroo : do not generate an error if a comma is provided to GROUP_CONCAT
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4288 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 15:34:40 +00:00
Dominique.Fournier b18adcc441 dblayeroo : Add test for GROUPBY
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4287 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 08:06:23 +00:00
Dominique.Fournier 5deab3c430 dblayeroo : if there is only one displayed GROUP select, do not add an empty "GROUP BY" in SQL request. The request is invalid.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4286 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 06:48:14 +00:00
Dominique.Fournier 5560ab2943 dblayeroo : allow to orderAdd on aliases too
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4285 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-15 06:07:09 +00:00
Dominique.Fournier c3607d88e3 authentication : Add X-Frame-Options "SAMEORIGIN" to authentication page
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4284 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-13 14:45:48 +00:00
Dominique.Fournier 44ad5a3da8 route : add setter/getter for debug param
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4280 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-11 09:26:42 +00:00
Dominique.Fournier 4a98f6275f domci : do not test PSR1
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4279 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-10 14:52:17 +00:00
Dominique.Fournier 429caff347 console : Add color support
console : Add bold and underline text support


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4277 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-08 18:23:48 +00:00
Dominique.Fournier 4674706687 console : log the history with timestamp
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4276 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-08 12:10:15 +00:00
Dominique.Fournier 6afe1b5c52 console : store the history with timestamp
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4275 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-08 12:06:06 +00:00
Dominique.Fournier 11435d848e console : manage correctely the tmp value stored when using the history
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4274 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-08 09:06:19 +00:00
Dominique.Fournier f76b7dd76b console : when moving to an old history, keep the position of the cursor if the user come back on the tmp stored entry
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4273 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-08 08:59:12 +00:00
Dominique.Fournier e4ec389955 console : record the ESC SEQUENCE in debug
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4272 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-07 19:15:30 +00:00
Dominique.Fournier 8b821dd2fd console : manage correctely the Ctrl+C
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4271 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-07 19:01:13 +00:00
Dominique.Fournier 71aa47a032 dblayeroo : return tor utf8 as indexes can not supports 255 chars
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4269 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-06 18:50:48 +00:00
Dominique.Fournier 2c953b5428 authentication : manage the state of session based on session_id() instead of isset ($_SESSION)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4268 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-06 17:52:13 +00:00
Dominique.Fournier 4459e9595d domci update
Store the version 0.51


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4267 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-06 17:44:35 +00:00
Dominique.Fournier fb361bfaa4 console : manage correctely the bad provided values
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4264 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-06 15:08:18 +00:00
Dominique.Fournier 70dc1ad73a language : do not set the cookie if it is not needed. Update it if it is valid
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4261 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-06 14:38:27 +00:00
Dominique.Fournier cdf192183d authentication: manage the session only if the authentication page is required.
Do not set a session cookie if the user don't need to be authenticated


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4260 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-07-06 14:30:00 +00:00
Dominique.Fournier f5e852cc73 console : domci updates
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4251 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-15 12:02:08 +00:00
Dominique.Fournier 22fdfe5b96 dblayeroo : utf8mb4 instead of utf8 charset in MySQL
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4250 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-15 09:43:28 +00:00
Dominique.Fournier b8c900720c console : manage the autocompletion : add the identical possibilities to the string
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4247 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-14 09:21:31 +00:00
Dominique.Fournier 7cce0f6d1d Add clearScreen to console
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4246 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 18:27:17 +00:00
Dominique.Fournier dacdff19ed console : clear line correctely and call it in the rewriteLine method
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4245 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 14:33:05 +00:00
Dominique.Fournier 778b3184b6 console : remove debug in echo
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4244 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 14:26:39 +00:00
Dominique.Fournier 46a63f57f9 console : clear line correctely with Ctrl+C
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4243 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-06-13 14:26:01 +00:00
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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
Dominique.Fournier 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