Commit graph

181 commits

Author SHA1 Message Date
4b85869505 Remove editor table 2023-01-06 13:43:10 +01:00
fe5e428b1d Listen on all devices by default 2023-01-06 13:28:00 +01:00
fc475ee73f Remove useless newline 2023-01-05 22:27:58 +01:00
a38be6edcf Start add search for editeurs 2023-01-05 17:17:40 +01:00
ab3ac277e7 Decode incoming request url 2023-01-05 17:17:38 +01:00
652ab3686e Minor change 2023-01-05 16:44:16 +01:00
4e27fee48b Run rust fmt 2023-01-05 16:32:09 +01:00
0ee8a3ecfe Handle a title search request 2023-01-05 16:25:35 +01:00
eb6d89eb20 Handle request in listen method and don't return a value 2023-01-05 15:43:58 +01:00
ba2c373840 Refactor a bit 2023-01-05 15:30:52 +01:00
4504a9b77b Add Status enum to handle status codes cleanly 2023-01-05 12:46:35 +01:00
6c9112a10c Convert read_sql to search_title 2023-01-05 10:24:15 +01:00
afb6e658e9 Remove example crud operations 2023-01-05 10:23:26 +01:00
0224e31fb7 Add explicit mention of title::table instead of title 2023-01-05 10:22:53 +01:00
deb5fd57ea Pass an iterator to add_all_titles instead of using a vector 2023-01-05 10:03:52 +01:00
54e847f8ac Don't borrow when using InsertTitle for the database
We expect the item to be dropped afterwards, because we no longer
need it
2023-01-05 10:01:57 +01:00
14cd3e85e6 Minor comment changes 2023-01-05 09:36:23 +01:00
36b580ca36 We don't need into_iter here 2023-01-04 23:44:41 +01:00
762850abd0 Fix update_title function 2023-01-04 23:44:27 +01:00
9b680b73e1 Update function name 2023-01-04 00:06:53 +01:00
e876acdb28 Move python client to src 2023-01-03 23:58:22 +01:00
8c1011238b Start error handling for parse_url in Ear 2023-01-03 23:56:51 +01:00
Draxilia
ee2e82bc47 première version de mon script, a modifer avec l'avancement du serveur 2023-01-03 23:51:33 +01:00
ef2d666cde Reformat 2023-01-03 23:27:01 +01:00
427a514724 Move listening after the insertion of all titles 2023-01-03 23:10:52 +01:00
b8ff17917f Fix add_titles: when title already present, update, else create 2023-01-03 22:55:28 +01:00
aa5e4cb838 Insert all titles 2023-01-03 22:15:39 +01:00
c53f31d21a Pass all_titles to add_all_titles as a Vec 2023-01-03 21:25:57 +01:00
0728ba9da8 Convert titres to InsertTitle instead of Title 2023-01-03 21:01:42 +01:00
0llino
93fb57153c just changed a few details, it doesnt panic anymore 2023-01-02 19:10:56 +01:00
0llino
b5e9c23917 added a core::panic case. If the user sent too few arguments, crashes 2023-01-01 23:11:35 +01:00
4741cfa877 Convert json elements to Title elements 2023-01-01 22:50:39 +01:00
f3a330216c Return Results wrapped in ApiClientError from ApiClient method calls 2023-01-01 22:50:39 +01:00
81f60d595d Move api_client stuff to lib.rs 2023-01-01 22:50:36 +01:00
0llino
9129fab470 added the parsing functionnality into src/ear.rs; it now returns (TCPstream, struct) 2023-01-01 22:20:26 +01:00
ac4d64b6d4 Add add_all_titles with corrected api_client for call to Mirabel 2023-01-01 15:12:52 +01:00
c3e06b541f Remove API key token for virustotal, we're moving to mirabel 2023-01-01 14:31:30 +01:00
8f1f8cc673 Remove cache name in function 2022-12-31 13:34:42 +01:00
be40f45e12 Adapt sql example to new tables 2022-12-31 13:23:20 +01:00
354b4e4b67 Start replacing cache by title sql table 2022-12-31 11:23:05 +01:00
df3fb57826 Replace cache by editor and title in models 2022-12-31 11:23:05 +01:00
a3d8f49eb0 Add tables title, editor 2022-12-31 11:22:55 +01:00
e7c788e041 Remove Cache 2022-12-31 10:23:52 +01:00
3f18d76784 Update archi 2022-12-30 19:15:01 +01:00
c8e099e59e Add fonctionnalités for mirabel API and more... 2022-12-27 23:21:44 +01:00
2ff127766a Minor changes 2022-12-17 15:04:53 +01:00
65e0a558d0 Make crud functions only visible to parent cache module 2022-12-17 12:49:23 +01:00
3d7a173489 Split cache into submodules 2022-12-17 12:39:22 +01:00
4ed23968bd Explain CRUD operations 2022-12-17 12:07:48 +01:00
9e19025241 Add some documentation 2022-12-17 11:50:43 +01:00