Commit graph

181 commits

Author SHA1 Message Date
6b6779934a Update archi images 2023-01-12 13:46:56 +01:00
0llino
6cfb78b2f6 added case if the postgresql service is off 2023-01-12 13:42:29 +01:00
e6506221f3 Replace hello filenames to ping 2023-01-12 13:34:46 +01:00
efde577b7a Handle error on fileaccess for sending soap 2023-01-12 13:33:19 +01:00
6f5b23a464 Make file sending a private method 2023-01-12 13:09:14 +01:00
450ce9e2c6 Replace SOAP hello by ping, pong 2023-01-12 12:52:44 +01:00
917bc381b7 Add DELETE request 2023-01-12 08:35:30 +01:00
bf58239866 Fix artemis and include SOAP request 2023-01-11 22:30:08 +01:00
709857fc0c Add WSDL and SOAP response files 2023-01-11 21:46:36 +01:00
1bdbdcebe7 Permit hephaistos to send wsdl on GET and SOAP response on POST 2023-01-11 21:31:11 +01:00
77b68f4654 Write more logging messages 2023-01-10 23:10:13 +01:00
cc70b573f0 Add error messages for logging in parse_uri 2023-01-10 22:38:08 +01:00
258ecbfbe0 Change comments, print messages and move ear::new to top of run() 2023-01-10 22:24:45 +01:00
33299d1440 Formatting 2023-01-10 22:17:21 +01:00
db022cfa15 Add DELETE /api/favoris/<id> 2023-01-10 22:14:11 +01:00
f37b6e1b63 Move high level logic from ear to lib 2023-01-10 21:47:00 +01:00
1d0d8fdba8 Remove TODO constraint for editor from table title, we're not dealing with that 2023-01-10 21:32:38 +01:00
6bb63b6861 Use expect for bind errors 2023-01-10 21:29:54 +01:00
da6f295027 Move json_to_insertitle to database module 2023-01-10 21:17:41 +01:00
2dea10ca62 Minor changes 2023-01-10 21:12:42 +01:00
b0704f50a4 Remove 'allow unused' macro and handle the warnings therefrom 2023-01-10 21:12:25 +01:00
0llino
573ae6ef9a added the support of historique functionnality into the client 2023-01-10 09:49:06 +01:00
8f389b5137 Wrongly renamed something 2023-01-09 08:00:17 +01:00
1b29beec11 Handle errors for extract_first_line_of_request 2023-01-08 23:36:49 +01:00
d02a4a9350 Don't unwrap in parse_uri anymore 2023-01-08 23:08:29 +01:00
56881725aa Add GET /api/historique 2023-01-08 22:50:37 +01:00
783a83ef05 Remove unused Split import 2023-01-08 22:30:45 +01:00
0d9f606960 Make incoming HTTP method an enum 2023-01-08 22:30:45 +01:00
0llino
2416c47f67 added the client.py and several functionalities. Not finished yet tho. 2023-01-08 20:00:24 +01:00
daa34863d5 Send SOAP for GET /api/hello 2023-01-08 14:47:20 +01:00
b2da1dcb6a Update uri parser to handle different accepted uri lengths 2023-01-08 14:44:06 +01:00
24bd6e50ef Add function Mouth::send_soap_xml 2023-01-08 14:01:48 +01:00
8b848a6fc0 Rename send_data to send_json_data 2023-01-08 13:39:54 +01:00
dc2f0334b6 Write xml file for SOAP response to GET /api/hello 2023-01-08 13:10:39 +01:00
b5becee084 Add inserting to history at every request 2023-01-08 11:02:41 +01:00
75d94d3d4f Add table history 2023-01-08 10:47:33 +01:00
4a09f7a3b4 Format 2023-01-07 10:46:39 +01:00
925ac6310c Fix send_bad_request 2023-01-07 10:46:00 +01:00
268d6c390b Use is_empty() istead of len() == 0 2023-01-07 10:31:37 +01:00
af80b3b62f Hide Mouth::send_data as private, use wrapper functions to send stuff 2023-01-07 10:29:53 +01:00
52b54bfb84 Split handle_request into two subfunctions for get and post 2023-01-07 09:23:43 +01:00
f00ccab096 Add GET favoris 2023-01-07 09:13:06 +01:00
0f15c38cd3 Rename functions 2023-01-07 08:27:27 +01:00
e67de50ea7 Adding PHP client 2023-01-06 17:46:31 +01:00
29b7a1e134 Add print statement for logging the request 2023-01-06 17:46:10 +01:00
e5b28029c9 Return Title when inserting favorite 2023-01-06 17:31:31 +01:00
b8a0190d91 Handle POST favoris 2023-01-06 16:02:14 +01:00
8509a32cbf Permit adding a new favorite 2023-01-06 15:31:19 +01:00
820c848a99 Add favorite table 2023-01-06 14:58:36 +01:00
b33cdc6a78 Finish parsing the API uri 2023-01-06 14:17:23 +01:00