Commit Graph

1314 Commits

Author SHA1 Message Date
c3a8bf9c22 authjwt : if the JWT is unknown, do not generate a warning , and return anonymous
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5822 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 14:22:20 +00:00
6b64eb453e authentication : bad $auth usage
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5821 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 14:17:47 +00:00
47b3179f1d Update encrypt Tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5820 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 14:03:00 +00:00
2aa98558b9 encrypt : invalid error message
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5819 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 14:02:06 +00:00
891adc818f authjwt : gettext exceptions errors
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5817 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 13:24:30 +00:00
9195426608 Tests/authjwtTest : add logout tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5816 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 13:22:08 +00:00
552fa6ab12 authentication : JWT use now the authJWT library
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5815 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 13:14:22 +00:00
1ab8462266 authjwt : Update to use the local cache to store the identifier data.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5814 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 13:13:40 +00:00
f3337996b9 cachefile || -> &&
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5813 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 13:00:40 +00:00
6d2be7b111 cachefile : || -> &&
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5812 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 12:00:04 +00:00
a62ddd89c3 cachefile : check the parameter before use them
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5811 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 09:54:18 +00:00
a3e4ab6b5b jwt use the encrypt library instead of internal one
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5810 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 09:35:34 +00:00
1638357f75 Add encrypt/decrypt support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5809 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-09 09:31:04 +00:00
f2f7a5f0c6 authjwt : return all the token instead of just email
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5808 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-08 19:26:55 +00:00
40ba4a155a cachefile : domci ending spaces
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5807 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-08 19:26:27 +00:00
cb492c33bf cachefile : update presentation and getter/setter
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5806 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-08 19:12:10 +00:00
82788b91d1 uuid : update presentation
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5805 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-08 18:56:14 +00:00
3481539f18 uuid : update presentation
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5804 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-08 18:55:25 +00:00
66495ee503 rest : rewrite to support the bestChoice of the user, and to be tested
rest : add tests


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5803 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-06 15:51:40 +00:00
df20f6c372 Update http bestChoice to support the priority
Add unittests


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5802 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-06 14:57:38 +00:00
92ba3bb1c3 http : presentation of code
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5801 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-06 14:18:31 +00:00
2c767e7f06 jwt : add a warning on the content of the token, if confidential data must be stored in it
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5795 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-05 13:15:48 +00:00
11d4f7686b Update the Test class name to be the same as the file
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5794 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-05 12:24:05 +00:00
b084803bf6 Change the class name for Tests/authjwtTest.php
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5793 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-05 12:09:43 +00:00
e4ba5d10dd jwt : typo on default value HS255 -> HS256
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5792 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-05 10:04:52 +00:00
c3f0014d5a Update Tests/jwtTest.php
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5791 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-05 10:00:06 +00:00
0dfc77aca3 Add unit test Tests/authjwtTest.php
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5790 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-05 09:59:57 +00:00
5ba79a6ae2 authjwt : as jwt return an object, must cast the result as array
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5789 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-05 09:59:34 +00:00
22470584fa jwt : return (object)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5788 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-05 09:59:01 +00:00
2ddc3ad79c autjwt : manage correctely if the authentication is invalid with a reject
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5787 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-04 15:00:47 +00:00
a06c7464be jwt : return an array
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5786 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-04 15:00:02 +00:00
cc3293bb4d authentication : allow to store the password when the authentication is valid in REST.
authentication : JWT token management


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5785 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-04 14:49:02 +00:00
0aaf30dd6e authimap : add spaces arround =>
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5784 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-04 14:48:07 +00:00
0a23061fd5 modelGraph : missing PHPDoc for two params
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5783 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-04 09:46:03 +00:00
0bd6889427 JWT : allow to encrypt the payload
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5782 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-04 09:44:15 +00:00
23d54f577d authparams : Update comments on JWT
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5781 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-03 15:35:40 +00:00
3a7530ecd1 authjwt : PHPDoc display the not usage of email/password in JWT
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5780 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-12-03 13:08:23 +00:00
94191fa144 Convert : if the value is 0 for humansize, return 0.000
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5731 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-11-15 21:34:10 +00:00
78922b2521 convert : Add folding
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5729 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-11-15 21:05:08 +00:00
e917ef6653 Convert : update humanSize to supports negative numbers or numbers between -1 and 1
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5728 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-11-15 21:01:49 +00:00
7d48458171 modelGraph : Add the database name and date in graph title
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5708 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-11-13 15:38:05 +00:00
93f20b1569 modelGraph : display in Helvetica font
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5707 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-11-13 15:29:38 +00:00
63438fe5ab Add modelGraph.php in Tools
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5706 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-11-13 15:18:17 +00:00
6274f8a05a Update changelog
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5630 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-31 10:32:49 +00:00
6eefa0226e lintian Update developpers to developers in description
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5629 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-31 08:28:32 +00:00
7c5b79632d Start packaging for 0.58
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5628 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-31 08:24:32 +00:00
d79f789830 sitemap : can be application/xml or text/xml too
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5627 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-31 08:22:14 +00:00
7d80c36a51 Route relative is now relative to the base of the website instead of the current directory
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5626 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-31 08:16:41 +00:00
3d45646dd9 domci : form was invalid
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5625 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-31 08:03:16 +00:00
421251aeb7 Update version to 0.58
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5624 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2019-10-30 15:49:28 +00:00