From b80bc3ab0b7b65c07d5f8fee766f18d0c5b91f29 Mon Sep 17 00:00:00 2001 From: cbalde Date: Wed, 2 Mar 2022 11:41:31 +0100 Subject: [PATCH] update 02/03/2022 - 11h30 --- Log/log_file.log | 347 +++++++++++++++++++++++++++++++++++++++ ela_index_bdd_classes.py | 4 + ela_user_account.py | 22 +-- wrapper.py | 24 ++- 4 files changed, 378 insertions(+), 19 deletions(-) diff --git a/Log/log_file.log b/Log/log_file.log index 457b392..99afab8 100644 --- a/Log/log_file.log +++ b/Log/log_file.log @@ -205390,3 +205390,350 @@ INFO:werkzeug: * Restarting with stat WARNING:werkzeug: * Debugger is active! INFO:werkzeug: * Debugger PIN: 144-871-946 INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 09:02:38.137341 : update_partner_pwdLe mot de passe du partenaire a bien ete mis à jour =61e538fab80f67195de32dd2 +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:02:38] "GET /myclass/api/update_partner_pwd/ HTTP/1.1" 200 - +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:05:37] "GET //myclass/api/change_user_pwdchange_user_pwd HTTP/1.1" 404 - +INFO:root:2022-03-02 09:06:00.023300 : change_user_pwd Le mot de passe est vide +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:06:00] "GET //myclass/api/change_user_pwd/ HTTP/1.1" 200 - +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 09:09:10.541771 : change_user_pwd Le mot de passe est vide +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:09:10] "GET //myclass/api/change_user_pwd/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_user_account.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 09:10:37.061188 : La valeur 'pwd' n'est pas presente dans liste +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:10:37] "GET //myclass/api/change_user_pwd/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_user_account.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 09:11:32.284870 : change_user_pwd Le mot de passe est vide +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:11:32] "GET //myclass/api/change_user_pwd/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_user_account.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 09:12:33.087688 : change_user_pwd Le mot de passe est vide +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:12:33] "GET //myclass/api/change_user_pwd/ HTTP/1.1" 200 - +INFO:root:2022-03-02 09:12:49.817206 : change_user_pwd - Les mots de passe ne sont pas identiques +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:12:49] "GET //myclass/api/change_user_pwd/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_user_account.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 09:14:48.864838 : change_user_pwd - Les mots de passe ne sont pas identiquescherifbalde cmp to toto +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:14:48] "GET //myclass/api/change_user_pwd/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_user_account.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 09:16:15.051622 : Le token n'est pas valide +INFO:root:2022-03-02 09:16:15.051622 : L'email ou le token ne sont pas valident +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:16:15] "GET //myclass/api/change_user_pwd/ HTTP/1.1" 200 - +INFO:root:2022-03-02 09:17:34.685772 : La modif a bien ete faite =61e55be85aab832cf37b587d +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:17:34] "GET //myclass/api/change_user_pwd/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_user_account.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 09:20:34.653515 : Le mot de passe n'a pas été mis à jour +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:20:34] "GET //myclass/api/change_user_pwd/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_user_account.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_user_account.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_user_account.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_user_account.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_user_account.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_user_account.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_user_account.py', reloading +INFO:werkzeug: * Restarting with stat +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 09:46:09.115125 : change_user_pwd Impossible de mettre à jour le password du user : recid = c288bb4e8392aa081f50d5834884d05c5abbc95c744406265a +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:46:09] "GET //myclass/api/change_user_pwd/ HTTP/1.1" 200 - +INFO:root:2022-03-02 09:46:50.126677 : unsupported operand type(s) for +: 'ObjectId' and 'str' +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:46:50] "GET //myclass/api/change_user_pwd/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_user_account.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 09:48:36.446895 : change_user_pwd Le mot de passe de l'utilisateur (recid) =c288bb4e8392aa081f50d5834884d05c5abbc95c744406265a a été modifié +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:48:36] "GET //myclass/api/change_user_pwd/ HTTP/1.1" 200 - +INFO:root:2022-03-02 09:54:39.270445 : change_user_pwd Impossible de mettre à jour le password du user : recid = c288bb4e8392aa081f50d5834884d05c5abbc95c744406265a +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 09:54:39] "GET //myclass/api/change_user_pwd/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\ela_index_bdd_classes.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 10:33:09.301779 : On recehrche la phrase +'InDesign' +INFO:root:2022-03-02 10:33:09.699729 : store_recherche on va stocker {'search_text': 'InDesign', 'user_recid': 'None', 'certif': '1', 'date_update': '2022-03-02 10:33:09.302776', 'valide': '1'} id = +INFO:root:2022-03-02 10:33:09.710687 : store_recherche La recherche a été bien enregistrée. Id = '621f39d5870639faee991079' +INFO:root:2022-03-02 10:33:09.768532 : pour phrase : #InDesign#, voici la liste des formations +INFO:root:2022-03-02 10:33:09.768532 : ['PA17219', 'PA12219', 'PA12019'] +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 10:33:09] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:root:2022-03-02 10:33:36.101068 : On recehrche la phrase +'InDesign' +INFO:root:2022-03-02 10:33:36.105058 : store_recherche on va stocker {'search_text': 'InDesign', 'user_recid': 'None', 'date_update': '2022-03-02 10:33:36.101068', 'valide': '1'} id = +INFO:root:2022-03-02 10:33:36.120547 : store_recherche La recherche a été bien enregistrée. Id = '621f39f0870639faee99107b' +INFO:root:2022-03-02 10:33:36.138499 : pour phrase : #InDesign#, voici la liste des formations +INFO:root:2022-03-02 10:33:36.138499 : ['PA17219', 'PA12219', 'PA12019'] +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 10:33:36] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:root:2022-03-02 10:33:40.384985 : On recehrche la phrase +'InDesign' +INFO:root:2022-03-02 10:33:40.387978 : store_recherche on va stocker {'search_text': 'InDesign', 'user_recid': 'None', 'date_update': '2022-03-02 10:33:40.384985', 'valide': '1'} id = +INFO:root:2022-03-02 10:33:40.391968 : store_recherche La recherche a été bien enregistrée. Id = '621f39f4870639faee99107d' +INFO:root:2022-03-02 10:33:40.404933 : pour phrase : #InDesign#, voici la liste des formations +INFO:root:2022-03-02 10:33:40.404933 : ['PA17219', 'PA12219', 'PA12019'] +INFO:root:2022-03-02 10:33:40.405930 : COMBINED = {'token': '', 'search_text': 'InDesign', 'external_code': 'PA17219', 'title': 'L’essentiel d’InDesign', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '1730', 'url': 'https://pyramyd-formation.com/formation/l-essentiel-d-indesign', 'duree_formation': '3', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': 'Créer et réaliser des documents simples (flyers, affiches, plaquettes…) et / ou corriger des fichiers existants', 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:33:40.405930', 'type_view': 'summary', 'class_id': ObjectId('61f10781c689ebcc85ffe383')} +INFO:root:2022-03-02 10:33:40.407924 : COMBINED = {'token': '', 'search_text': 'InDesign', 'external_code': 'PA12219', 'title': 'InDesign - Niveau 2', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2000', 'url': 'https://pyramyd-formation.com/formation/indesign-niveau-2-pyramyd', 'duree_formation': '4', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': 'Réaliser des publications complexes et structurées', 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:33:40.407924', 'type_view': 'summary', 'class_id': ObjectId('61f10781c689ebcc85ffe387')} +INFO:root:2022-03-02 10:33:40.408922 : COMBINED = {'token': '', 'search_text': 'InDesign', 'external_code': 'PA12019', 'title': 'InDesign - Niveau 1', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '0'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2370', 'url': 'https://pyramyd-formation.com/formation/indesign-niveau-1-pyramyd', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': "Comprendre les principes d'InDesign pour créer ou modifier des publications professionnelles", 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:33:40.408922', 'type_view': 'summary', 'class_id': ObjectId('61f10781c689ebcc85ffe388')} +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 10:33:40] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\wrapper.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 10:44:06.468090 : On recehrche la phrase +'InDesign' +INFO:root:2022-03-02 10:44:06.833644 : store_recherche on va stocker {'search_text': 'InDesign', 'user_recid': 'None', 'date_update': '2022-03-02 10:44:06.468090', 'valide': '1'} id = +INFO:root:2022-03-02 10:44:06.839630 : store_recherche La recherche a été bien enregistrée. Id = '621f3c66c67c60129b9e2e54' +INFO:root:2022-03-02 10:44:06.855592 : pour phrase : #InDesign#, voici la liste des formations +INFO:root:2022-03-02 10:44:06.855592 : ['PA17219', 'PA12219', 'PA12019'] +INFO:root:2022-03-02 10:44:06.858578 : recherche_text_simple -filter must be an instance of dict, bson.son.SON, or any other type that inherits from collections.Mapping - Line : 457 +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 10:44:06] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\wrapper.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 10:45:00.236352 : On recehrche la phrase +'InDesign' +INFO:root:2022-03-02 10:45:00.885453 : store_recherche on va stocker {'search_text': 'InDesign', 'user_recid': 'None', 'date_update': '2022-03-02 10:45:00.236352', 'valide': '1'} id = +INFO:root:2022-03-02 10:45:00.902412 : store_recherche La recherche a été bien enregistrée. Id = '621f3c9c30198c777906480d' +INFO:root:2022-03-02 10:45:00.922338 : pour phrase : #InDesign#, voici la liste des formations +INFO:root:2022-03-02 10:45:00.922338 : ['PA17219', 'PA12219', 'PA12019'] +INFO:root:2022-03-02 10:45:00.927322 : recherche_text_simple -filter must be an instance of dict, bson.son.SON, or any other type that inherits from collections.Mapping - Line : 457 +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 10:45:00] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\wrapper.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 10:45:24.397373 : On recehrche la phrase +'InDesign' +INFO:root:2022-03-02 10:45:24.739029 : store_recherche on va stocker {'search_text': 'InDesign', 'user_recid': 'None', 'date_update': '2022-03-02 10:45:24.397373', 'valide': '1'} id = +INFO:root:2022-03-02 10:45:24.745010 : store_recherche La recherche a été bien enregistrée. Id = '621f3cb4eea3b83e0bd20462' +INFO:root:2022-03-02 10:45:24.762963 : pour phrase : #InDesign#, voici la liste des formations +INFO:root:2022-03-02 10:45:24.762963 : ['PA17219', 'PA12219', 'PA12019'] +INFO:root:2022-03-02 10:45:24.765955 : recherche_text_simple -filter must be an instance of dict, bson.son.SON, or any other type that inherits from collections.Mapping - Line : 457 +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 10:45:24] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\wrapper.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 10:46:01.761001 : On recehrche la phrase +'InDesign' +INFO:root:2022-03-02 10:46:02.159820 : store_recherche on va stocker {'search_text': 'InDesign', 'user_recid': 'None', 'date_update': '2022-03-02 10:46:01.761998', 'valide': '1'} id = +INFO:root:2022-03-02 10:46:02.164808 : store_recherche La recherche a été bien enregistrée. Id = '621f3cda3135910a892b1fd8' +INFO:root:2022-03-02 10:46:02.192767 : pour phrase : #InDesign#, voici la liste des formations +INFO:root:2022-03-02 10:46:02.193730 : ['PA17219', 'PA12219', 'PA12019'] +INFO:root:2022-03-02 10:46:02.194727 : COMBINED = {'token': '', 'search_text': 'InDesign', 'external_code': 'PA17219', 'title': 'L’essentiel d’InDesign', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '1730', 'url': 'https://pyramyd-formation.com/formation/l-essentiel-d-indesign', 'duree_formation': '3', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': 'Créer et réaliser des documents simples (flyers, affiches, plaquettes…) et / ou corriger des fichiers existants', 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:46:02.194727', 'type_view': 'summary', 'class_id': ObjectId('61f10781c689ebcc85ffe383')} +INFO:root:2022-03-02 10:46:02.195725 : COMBINED = {'token': '', 'search_text': 'InDesign', 'external_code': 'PA12219', 'title': 'InDesign - Niveau 2', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2000', 'url': 'https://pyramyd-formation.com/formation/indesign-niveau-2-pyramyd', 'duree_formation': '4', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': 'Réaliser des publications complexes et structurées', 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:46:02.195725', 'type_view': 'summary', 'class_id': ObjectId('61f10781c689ebcc85ffe387')} +INFO:root:2022-03-02 10:46:02.195725 : COMBINED = {'token': '', 'search_text': 'InDesign', 'external_code': 'PA12019', 'title': 'InDesign - Niveau 1', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '0'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2370', 'url': 'https://pyramyd-formation.com/formation/indesign-niveau-1-pyramyd', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': "Comprendre les principes d'InDesign pour créer ou modifier des publications professionnelles", 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:46:02.195725', 'type_view': 'summary', 'class_id': ObjectId('61f10781c689ebcc85ffe388')} +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 10:46:02] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\wrapper.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 10:47:41.555844 : On recehrche la phrase +'InDesign' +INFO:root:2022-03-02 10:47:41.897939 : store_recherche on va stocker {'search_text': 'InDesign', 'user_recid': 'None', 'date_update': '2022-03-02 10:47:41.555844', 'valide': '1'} id = +INFO:root:2022-03-02 10:47:41.912901 : store_recherche La recherche a été bien enregistrée. Id = '621f3d3deab33c4630b1bee1' +INFO:root:2022-03-02 10:47:41.939855 : pour phrase : #InDesign#, voici la liste des formations +INFO:root:2022-03-02 10:47:41.939855 : ['PA17219', 'PA12219', 'PA12019'] +INFO:root:2022-03-02 10:47:41.942856 : COMBINED = {'token': '', 'search_text': 'InDesign', 'title': 'L’essentiel d’InDesign', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '1730', 'url': 'https://pyramyd-formation.com/formation/l-essentiel-d-indesign', 'duree_formation': '3', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': 'Créer et réaliser des documents simples (flyers, affiches, plaquettes…) et / ou corriger des fichiers existants', 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:47:41.942856', 'type_view': 'summary', 'class_id': ObjectId('61f10781c689ebcc85ffe383')} +INFO:root:2022-03-02 10:47:41.943844 : COMBINED = {'token': '', 'search_text': 'InDesign', 'title': 'InDesign - Niveau 2', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2000', 'url': 'https://pyramyd-formation.com/formation/indesign-niveau-2-pyramyd', 'duree_formation': '4', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': 'Réaliser des publications complexes et structurées', 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:47:41.943844', 'type_view': 'summary', 'class_id': ObjectId('61f10781c689ebcc85ffe387')} +INFO:root:2022-03-02 10:47:41.944849 : COMBINED = {'token': '', 'search_text': 'InDesign', 'title': 'InDesign - Niveau 1', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '0'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2370', 'url': 'https://pyramyd-formation.com/formation/indesign-niveau-1-pyramyd', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': "Comprendre les principes d'InDesign pour créer ou modifier des publications professionnelles", 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:47:41.944849', 'type_view': 'summary', 'class_id': ObjectId('61f10781c689ebcc85ffe388')} +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 10:47:41] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 10:48:17.697932 : On recehrche la phrase +'InDesign' +INFO:root:2022-03-02 10:48:18.082944 : store_recherche on va stocker {'search_text': 'InDesign', 'user_recid': 'None', 'date_update': '2022-03-02 10:48:17.697932', 'valide': '1'} id = +INFO:root:2022-03-02 10:48:18.097902 : store_recherche La recherche a été bien enregistrée. Id = '621f3d623695af72bd07af7d' +INFO:root:2022-03-02 10:48:18.123858 : pour phrase : #InDesign#, voici la liste des formations +INFO:root:2022-03-02 10:48:18.123858 : ['PA17219', 'PA12219', 'PA12019'] +INFO:root:2022-03-02 10:48:18.125828 : COMBINED = {'token': '', 'search_text': 'InDesign', 'title': 'L’essentiel d’InDesign', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '1730', 'url': 'https://pyramyd-formation.com/formation/l-essentiel-d-indesign', 'duree_formation': '3', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': 'Créer et réaliser des documents simples (flyers, affiches, plaquettes…) et / ou corriger des fichiers existants', 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:48:18.125828', 'type_view': 'summary', 'class_id': ObjectId('61f10781c689ebcc85ffe383')} +INFO:root:2022-03-02 10:48:18.126825 : COMBINED = {'token': '', 'search_text': 'InDesign', 'title': 'InDesign - Niveau 2', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2000', 'url': 'https://pyramyd-formation.com/formation/indesign-niveau-2-pyramyd', 'duree_formation': '4', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': 'Réaliser des publications complexes et structurées', 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:48:18.125828', 'type_view': 'summary', 'class_id': ObjectId('61f10781c689ebcc85ffe387')} +INFO:root:2022-03-02 10:48:18.126825 : COMBINED = {'token': '', 'search_text': 'InDesign', 'title': 'InDesign - Niveau 1', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '0'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2370', 'url': 'https://pyramyd-formation.com/formation/indesign-niveau-1-pyramyd', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': "Comprendre les principes d'InDesign pour créer ou modifier des publications professionnelles", 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:48:18.126825', 'type_view': 'summary', 'class_id': ObjectId('61f10781c689ebcc85ffe388')} +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 10:48:18] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\wrapper.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 10:48:55.392417 : On recehrche la phrase +'InDesign' +INFO:root:2022-03-02 10:48:55.754056 : store_recherche on va stocker {'search_text': 'InDesign', 'user_recid': 'None', 'date_update': '2022-03-02 10:48:55.392417', 'valide': '1'} id = +INFO:root:2022-03-02 10:48:55.770011 : store_recherche La recherche a été bien enregistrée. Id = '621f3d879f6241df300ba8ac' +INFO:root:2022-03-02 10:48:55.795944 : pour phrase : #InDesign#, voici la liste des formations +INFO:root:2022-03-02 10:48:55.795944 : ['PA17219', 'PA12219', 'PA12019'] +INFO:root:2022-03-02 10:48:55.797938 : COMBINED = {'token': '', 'search_text': 'InDesign', 'title': 'L’essentiel d’InDesign', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '1730', 'url': 'https://pyramyd-formation.com/formation/l-essentiel-d-indesign', 'duree_formation': '3', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': 'Créer et réaliser des documents simples (flyers, affiches, plaquettes…) et / ou corriger des fichiers existants', 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:48:55.797938', 'type_view': 'summary'} +INFO:root:2022-03-02 10:48:55.798935 : COMBINED = {'token': '', 'search_text': 'InDesign', 'title': 'InDesign - Niveau 2', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2000', 'url': 'https://pyramyd-formation.com/formation/indesign-niveau-2-pyramyd', 'duree_formation': '4', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': 'Réaliser des publications complexes et structurées', 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:48:55.798935', 'type_view': 'summary'} +INFO:root:2022-03-02 10:48:55.798935 : COMBINED = {'token': '', 'search_text': 'InDesign', 'title': 'InDesign - Niveau 1', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '0'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2370', 'url': 'https://pyramyd-formation.com/formation/indesign-niveau-1-pyramyd', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'indexed': '1', 'indexed_desc': '1', 'indexed_obj': '0', 'description': "Comprendre les principes d'InDesign pour créer ou modifier des publications professionnelles", 'indexed_title': '1', 'valide': '1', 'locked': '0', 'partner_owner_recid': '1ba5aacb6f00d37cf9017858118d281ab8776dbd7916ae1899', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:48:55.798935', 'type_view': 'summary'} +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 10:48:55] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\wrapper.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\wrapper.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\wrapper.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\wrapper.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\wrapper.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 10:56:55.512182 : On recehrche la phrase +'InDesign' +INFO:root:2022-03-02 10:56:55.928079 : store_recherche on va stocker {'search_text': 'InDesign', 'user_recid': 'None', 'date_update': '2022-03-02 10:56:55.512182', 'valide': '1'} id = +INFO:root:2022-03-02 10:56:55.935063 : store_recherche La recherche a été bien enregistrée. Id = '621f3f67a255c6b00ed9dc60' +INFO:root:2022-03-02 10:56:55.953012 : pour phrase : #InDesign#, voici la liste des formations +INFO:root:2022-03-02 10:56:55.953012 : ['PA17219', 'PA12219', 'PA12019'] +INFO:root:2022-03-02 10:56:55.955006 : COMBINED = {'token': '', 'search_text': 'InDesign', 'external_code': 'PA17219', 'title': 'L’essentiel d’InDesign', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '1730', 'url': 'https://pyramyd-formation.com/formation/l-essentiel-d-indesign', 'duree_formation': '3', 'lang': 'fr', 'certif': 'oui', 'description': 'Créer et réaliser des documents simples (flyers, affiches, plaquettes…) et / ou corriger des fichiers existants', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:56:55.955006', 'type_view': 'summary'} +INFO:root:2022-03-02 10:56:55.956003 : COMBINED = {'token': '', 'search_text': 'InDesign', 'external_code': 'PA12219', 'title': 'InDesign - Niveau 2', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2000', 'url': 'https://pyramyd-formation.com/formation/indesign-niveau-2-pyramyd', 'duree_formation': '4', 'lang': 'fr', 'certif': 'oui', 'description': 'Réaliser des publications complexes et structurées', 'user_rec_id': 'None', 'date_update': '2022-03-02 10:56:55.956003', 'type_view': 'summary'} +INFO:root:2022-03-02 10:56:55.957998 : COMBINED = {'token': '', 'search_text': 'InDesign', 'external_code': 'PA12019', 'title': 'InDesign - Niveau 1', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '0'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2370', 'url': 'https://pyramyd-formation.com/formation/indesign-niveau-1-pyramyd', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'description': "Comprendre les principes d'InDesign pour créer ou modifier des publications professionnelles", 'user_rec_id': 'None', 'date_update': '2022-03-02 10:56:55.957998', 'type_view': 'summary'} +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 10:56:55] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\wrapper.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:werkzeug: * Detected change in 'C:\\Perso\\myclass.com\\Ela_back\\MySy_Back_Office\\wrapper.py', reloading +INFO:werkzeug: * Restarting with stat +WARNING:werkzeug: * Debugger is active! +INFO:werkzeug: * Debugger PIN: 144-871-946 +INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) +INFO:root:2022-03-02 11:23:38.669433 : On recehrche la phrase +'title:"’essentiel"' +INFO:root:2022-03-02 11:23:39.071358 : store_recherche on va stocker {'search_text': 'title:"’essentiel"', 'user_recid': 'None', 'date_update': '2022-03-02 11:23:38.669433', 'valide': '1'} id = +INFO:root:2022-03-02 11:23:39.077342 : store_recherche La recherche a été bien enregistrée. Id = '621f45ab61fe5f8421ef9e49' +INFO:root:2022-03-02 11:23:39.122223 : pour phrase : #title:"’essentiel"#, voici la liste des formations +INFO:root:2022-03-02 11:23:39.123221 : [] +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 11:23:39] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:root:2022-03-02 11:23:57.151183 : On recehrche la phrase +'title:"essentiel"' +INFO:root:2022-03-02 11:23:57.155171 : store_recherche on va stocker {'search_text': 'title:"essentiel"', 'user_recid': 'None', 'date_update': '2022-03-02 11:23:57.151183', 'valide': '1'} id = +INFO:root:2022-03-02 11:23:57.160158 : store_recherche La recherche a été bien enregistrée. Id = '621f45bd61fe5f8421ef9e4b' +INFO:root:2022-03-02 11:23:57.161172 : Une recherche par tips a été identifiée +INFO:root:2022-03-02 11:23:57.165144 : store_recherche on va stocker {'search_text': 'title:essentiel', 'user_recid': 'None', 'date_update': '2022-03-02 11:23:57.161172', 'valide': '1'} id = +INFO:root:2022-03-02 11:23:57.171128 : store_recherche La recherche a été bien enregistrée. Id = '621f45bd61fe5f8421ef9e4c' +INFO:root:2022-03-02 11:23:57.172125 : Le tips recherché est title. Sa distance de Levenshtein =0 +INFO:root:2022-03-02 11:23:57.193070 : pour phrase : #essentiel# , Pour le tips #title#, voici la liste des formations +INFO:root:2022-03-02 11:23:57.194069 : ['VP14120', 'PA17219'] +INFO:root:2022-03-02 11:23:57.202044 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"essentiel"', 'external_code': 'VP14120', 'title': "L'essentiel d'After Effects", 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'video', 'presentiel': {'presentiel': '1', 'distantiel': '0'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '1660', 'url': 'https://pyramyd-formation.com/formation/l-essentiel-d-after-effects', 'duree_formation': '3', 'lang': 'fr', 'certif': 'oui', 'description': 'Réaliser et créer des animations simples', 'date_update': '2022-03-02 11:23:57.202044', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:root:2022-03-02 11:23:57.205038 : COMBINED = {'token': '', 'search_text': 'title:"essentiel"', 'external_code': 'PA17219', 'title': 'L’essentiel d’InDesign', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '1730', 'url': 'https://pyramyd-formation.com/formation/l-essentiel-d-indesign', 'duree_formation': '3', 'lang': 'fr', 'certif': 'oui', 'description': 'Créer et réaliser des documents simples (flyers, affiches, plaquettes…) et / ou corriger des fichiers existants', 'user_rec_id': 'None', 'date_update': '2022-03-02 11:23:57.205038', 'type_view': 'summary'} +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 11:23:57] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:root:2022-03-02 11:24:11.214698 : On recehrche la phrase +'title:"Effects" | ' +INFO:root:2022-03-02 11:24:11.218689 : store_recherche on va stocker {'search_text': 'title:"Effects" | ', 'user_recid': 'None', 'date_update': '2022-03-02 11:24:11.214698', 'valide': '1'} id = +INFO:root:2022-03-02 11:24:11.224671 : store_recherche La recherche a été bien enregistrée. Id = '621f45cb61fe5f8421ef9e4f' +INFO:root:2022-03-02 11:24:11.224671 : Une recherche par tips a été identifiée +INFO:root:2022-03-02 11:24:11.228660 : store_recherche on va stocker {'search_text': 'title:Effects', 'user_recid': 'None', 'date_update': '2022-03-02 11:24:11.224671', 'valide': '1'} id = +INFO:root:2022-03-02 11:24:11.233647 : store_recherche La recherche a été bien enregistrée. Id = '621f45cb61fe5f8421ef9e50' +INFO:root:2022-03-02 11:24:11.233647 : Le tips recherché est title. Sa distance de Levenshtein =0 +INFO:root:2022-03-02 11:24:11.253593 : pour phrase : #effects# , Pour le tips #title#, voici la liste des formations +INFO:root:2022-03-02 11:24:11.253593 : ['VP14120', 'VP11519', 'VP10619', 'VP105', 'VP10419'] +INFO:root:2022-03-02 11:24:11.260573 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | ', 'external_code': 'VP14120', 'title': "L'essentiel d'After Effects", 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'video', 'presentiel': {'presentiel': '1', 'distantiel': '0'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '1660', 'url': 'https://pyramyd-formation.com/formation/l-essentiel-d-after-effects', 'duree_formation': '3', 'lang': 'fr', 'certif': 'oui', 'description': 'Réaliser et créer des animations simples', 'date_update': '2022-03-02 11:24:11.260573', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:root:2022-03-02 11:24:11.261572 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | ', 'external_code': 'VP11519', 'title': 'After Effects et la typographie animée', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'video', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '1340', 'url': 'https://pyramyd-formation.com/formation/after-effects-et-la-typographie-animee', 'duree_formation': '2', 'lang': 'fr', 'certif': 'oui', 'description': 'Maîtriser les fondamentaux de l’animation typographique', 'date_update': '2022-03-02 11:24:11.261572', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:root:2022-03-02 11:24:11.262569 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | ', 'external_code': 'VP10619', 'title': 'After Effects et les effets', 'trainer': 'PYRAMYD', 'type': 'cours', 'support': 'video', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2350', 'url': 'www.sdss.com', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'description': 'Maîtriser l’ensemble des effets visuels en motion design', 'date_update': '2022-03-02 11:24:11.262569', 'distantiel': '1', 'domaine': 'ffff', 'mots_cle': 'motcle 222', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:root:2022-03-02 11:24:11.263566 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | ', 'external_code': 'VP105', 'title': 'After Effects et la 3D', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'video', 'presentiel': '1', 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2350', 'url': 'undefined', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'description': 'Maîtriser un flux de production 3D en intégrant des scènes Cinema 4D et des objets 3D', 'date_update': '2022-03-02 11:24:11.263566', 'domaine': 'sss', 'distantiel': '1', 'mots_cle': 'mot1', 'plus_produit': 'sss', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:root:2022-03-02 11:24:11.264563 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | ', 'external_code': 'VP10419', 'title': 'After Effects', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '0', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2350', 'url': 'www.sdsds', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'description': 'Maîtriser les fondamentaux de l’animation et du compositing 2D', 'date_update': '2022-03-02 11:24:11.264563', 'distantiel': '1', 'domaine': 'domaine2', 'mots_cle': 'motcleee', 'plus_produit': 'kes pluss produit\r\nencore plus proid', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 11:24:11] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:root:2022-03-02 11:24:36.878250 : On recehrche la phrase +'title:"Effects" | desc:"production"' +INFO:root:2022-03-02 11:24:36.882241 : store_recherche on va stocker {'search_text': 'title:"Effects" | desc:"production"', 'user_recid': 'None', 'date_update': '2022-03-02 11:24:36.879247', 'valide': '1'} id = +INFO:root:2022-03-02 11:24:36.886230 : store_recherche La recherche a été bien enregistrée. Id = '621f45e461fe5f8421ef9e56' +INFO:root:2022-03-02 11:24:36.887227 : Une recherche par tips a été identifiée +INFO:root:2022-03-02 11:24:36.890221 : store_recherche on va stocker {'search_text': 'title:Effects', 'user_recid': 'None', 'date_update': '2022-03-02 11:24:36.887227', 'valide': '1'} id = +INFO:root:2022-03-02 11:24:36.896202 : store_recherche La recherche a été bien enregistrée. Id = '621f45e461fe5f8421ef9e57' +INFO:root:2022-03-02 11:24:36.896202 : Le tips recherché est title. Sa distance de Levenshtein =0 +INFO:root:2022-03-02 11:24:36.912162 : pour phrase : #effects# , Pour le tips #title#, voici la liste des formations +INFO:root:2022-03-02 11:24:36.912162 : ['VP14120', 'VP11519', 'VP10619', 'VP105', 'VP10419'] +INFO:root:2022-03-02 11:24:36.916151 : store_recherche on va stocker {'search_text': 'desc:production', 'user_recid': 'None', 'date_update': '2022-03-02 11:24:36.912162', 'valide': '1'} id = +INFO:root:2022-03-02 11:24:36.929657 : store_recherche La recherche a été bien enregistrée. Id = '621f45e461fe5f8421ef9e58' +INFO:root:2022-03-02 11:24:36.930654 : Le tips recherché est desc. Sa distance de Levenshtein =0 +INFO:root:2022-03-02 11:24:36.933648 : ela_recherche_tokens_source_field - Le champ 'desc' n'existe pas, requete annulée +INFO:root:2022-03-02 11:24:36.933648 : pour phrase : #production# , Pour le tips #desc#, voici la liste des formations +INFO:root:2022-03-02 11:24:36.933648 : False +INFO:root:2022-03-02 11:24:36.939630 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | desc:"production"', 'external_code': 'VP14120', 'title': "L'essentiel d'After Effects", 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'video', 'presentiel': {'presentiel': '1', 'distantiel': '0'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '1660', 'url': 'https://pyramyd-formation.com/formation/l-essentiel-d-after-effects', 'duree_formation': '3', 'lang': 'fr', 'certif': 'oui', 'description': 'Réaliser et créer des animations simples', 'date_update': '2022-03-02 11:24:36.939630', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:root:2022-03-02 11:24:36.940627 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | desc:"production"', 'external_code': 'VP11519', 'title': 'After Effects et la typographie animée', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'video', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '1340', 'url': 'https://pyramyd-formation.com/formation/after-effects-et-la-typographie-animee', 'duree_formation': '2', 'lang': 'fr', 'certif': 'oui', 'description': 'Maîtriser les fondamentaux de l’animation typographique', 'date_update': '2022-03-02 11:24:36.940627', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:root:2022-03-02 11:24:36.941625 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | desc:"production"', 'external_code': 'VP10619', 'title': 'After Effects et les effets', 'trainer': 'PYRAMYD', 'type': 'cours', 'support': 'video', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2350', 'url': 'www.sdss.com', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'description': 'Maîtriser l’ensemble des effets visuels en motion design', 'date_update': '2022-03-02 11:24:36.941625', 'distantiel': '1', 'domaine': 'ffff', 'mots_cle': 'motcle 222', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:root:2022-03-02 11:24:36.941625 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | desc:"production"', 'external_code': 'VP105', 'title': 'After Effects et la 3D', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'video', 'presentiel': '1', 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2350', 'url': 'undefined', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'description': 'Maîtriser un flux de production 3D en intégrant des scènes Cinema 4D et des objets 3D', 'date_update': '2022-03-02 11:24:36.941625', 'domaine': 'sss', 'distantiel': '1', 'mots_cle': 'mot1', 'plus_produit': 'sss', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:root:2022-03-02 11:24:36.942623 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | desc:"production"', 'external_code': 'VP10419', 'title': 'After Effects', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '0', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2350', 'url': 'www.sdsds', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'description': 'Maîtriser les fondamentaux de l’animation et du compositing 2D', 'date_update': '2022-03-02 11:24:36.942623', 'distantiel': '1', 'domaine': 'domaine2', 'mots_cle': 'motcleee', 'plus_produit': 'kes pluss produit\r\nencore plus proid', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 11:24:36] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - +INFO:root:2022-03-02 11:25:39.389482 : On recehrche la phrase +'title:"Effects" | desc:"animations"' +INFO:root:2022-03-02 11:25:39.396463 : store_recherche on va stocker {'search_text': 'title:"Effects" | desc:"animations"', 'user_recid': 'None', 'date_update': '2022-03-02 11:25:39.391476', 'valide': '1'} id = +INFO:root:2022-03-02 11:25:39.402447 : store_recherche La recherche a été bien enregistrée. Id = '621f462361fe5f8421ef9e5e' +INFO:root:2022-03-02 11:25:39.402447 : Une recherche par tips a été identifiée +INFO:root:2022-03-02 11:25:39.406437 : store_recherche on va stocker {'search_text': 'title:Effects', 'user_recid': 'None', 'date_update': '2022-03-02 11:25:39.402447', 'valide': '1'} id = +INFO:root:2022-03-02 11:25:39.420399 : store_recherche La recherche a été bien enregistrée. Id = '621f462361fe5f8421ef9e5f' +INFO:root:2022-03-02 11:25:39.420399 : Le tips recherché est title. Sa distance de Levenshtein =0 +INFO:root:2022-03-02 11:25:39.444335 : pour phrase : #effects# , Pour le tips #title#, voici la liste des formations +INFO:root:2022-03-02 11:25:39.444335 : ['VP14120', 'VP11519', 'VP10619', 'VP105', 'VP10419'] +INFO:root:2022-03-02 11:25:39.449321 : store_recherche on va stocker {'search_text': 'desc:animations', 'user_recid': 'None', 'date_update': '2022-03-02 11:25:39.444335', 'valide': '1'} id = +INFO:root:2022-03-02 11:25:39.456303 : store_recherche La recherche a été bien enregistrée. Id = '621f462361fe5f8421ef9e60' +INFO:root:2022-03-02 11:25:39.456303 : Le tips recherché est desc. Sa distance de Levenshtein =0 +INFO:root:2022-03-02 11:25:39.462287 : ela_recherche_tokens_source_field - Le champ 'desc' n'existe pas, requete annulée +INFO:root:2022-03-02 11:25:39.462287 : pour phrase : #animations# , Pour le tips #desc#, voici la liste des formations +INFO:root:2022-03-02 11:25:39.462287 : False +INFO:root:2022-03-02 11:25:39.470265 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | desc:"animations"', 'external_code': 'VP14120', 'title': "L'essentiel d'After Effects", 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'video', 'presentiel': {'presentiel': '1', 'distantiel': '0'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '1660', 'url': 'https://pyramyd-formation.com/formation/l-essentiel-d-after-effects', 'duree_formation': '3', 'lang': 'fr', 'certif': 'oui', 'description': 'Réaliser et créer des animations simples', 'date_update': '2022-03-02 11:25:39.470265', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:root:2022-03-02 11:25:39.472261 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | desc:"animations"', 'external_code': 'VP11519', 'title': 'After Effects et la typographie animée', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'video', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '1340', 'url': 'https://pyramyd-formation.com/formation/after-effects-et-la-typographie-animee', 'duree_formation': '2', 'lang': 'fr', 'certif': 'oui', 'description': 'Maîtriser les fondamentaux de l’animation typographique', 'date_update': '2022-03-02 11:25:39.472261', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:root:2022-03-02 11:25:39.475252 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | desc:"animations"', 'external_code': 'VP10619', 'title': 'After Effects et les effets', 'trainer': 'PYRAMYD', 'type': 'cours', 'support': 'video', 'presentiel': {'presentiel': '1', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2350', 'url': 'www.sdss.com', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'description': 'Maîtriser l’ensemble des effets visuels en motion design', 'date_update': '2022-03-02 11:25:39.475252', 'distantiel': '1', 'domaine': 'ffff', 'mots_cle': 'motcle 222', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:root:2022-03-02 11:25:39.477247 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | desc:"animations"', 'external_code': 'VP105', 'title': 'After Effects et la 3D', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'video', 'presentiel': '1', 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2350', 'url': 'undefined', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'description': 'Maîtriser un flux de production 3D en intégrant des scènes Cinema 4D et des objets 3D', 'date_update': '2022-03-02 11:25:39.476249', 'domaine': 'sss', 'distantiel': '1', 'mots_cle': 'mot1', 'plus_produit': 'sss', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:root:2022-03-02 11:25:39.478245 : COMBINED = {'token': 'UWfAk6LFOB5Dmw6SyUD3Vpzj_2Im3kXT7Q', 'search_text': 'title:"Effects" | desc:"animations"', 'external_code': 'VP10419', 'title': 'After Effects', 'trainer': 'PYRAMYD', 'type': 'mixte', 'support': 'mixte', 'presentiel': {'presentiel': '0', 'distantiel': '1'}, 'location': {'rue': '2, avenue de la republique', 'ville': 'Paris', 'cp': '75009', 'pays': 'France'}, 'institut_formation': 'PYRAMYD', 'price': '2350', 'url': 'www.sdsds', 'duree_formation': '5', 'lang': 'fr', 'certif': 'oui', 'description': 'Maîtriser les fondamentaux de l’animation et du compositing 2D', 'date_update': '2022-03-02 11:25:39.478245', 'distantiel': '1', 'domaine': 'domaine2', 'mots_cle': 'motcleee', 'plus_produit': 'kes pluss produit\r\nencore plus proid', 'user_rec_id': 'None', 'type_view': 'summary'} +INFO:werkzeug:127.0.0.1 - - [02/Mar/2022 11:25:39] "GET /myclass/api/recherche_text_simple/ HTTP/1.1" 200 - diff --git a/ela_index_bdd_classes.py b/ela_index_bdd_classes.py index 65303e5..53dbdcb 100644 --- a/ela_index_bdd_classes.py +++ b/ela_index_bdd_classes.py @@ -11,6 +11,10 @@ db = client["cherifdb"] ''' Cette fonction indexe une formation +Par defaut sont pris en compte : +- le titre et +- la description + ''' def ela_index_class(external_code="", source_field = ""): try: diff --git a/ela_user_account.py b/ela_user_account.py index fd7a612..feb03bd 100644 --- a/ela_user_account.py +++ b/ela_user_account.py @@ -676,11 +676,11 @@ def change_user_pwd(diction): Une fois qu'on a controlé que toutes les clés mise dans l'API sont correcte. etape precedente, On controle que les champs obligatoires sont presents dans la liste ''' - field_list_obligatoire = ['token','new_pwd'] + field_list_obligatoire = ['token', 'pwd', 'new_pwd', 'conf_new_pwd'] for val in field_list_obligatoire: if val not in diction: mycommon.myprint(" La valeur '" + val + "' n'est pas presente dans liste ") - return False, " Impossible de recuperer le user account" + return False, " Impossible de mettre à jour le mot de passe" # recuperation des paramettre @@ -717,24 +717,24 @@ def change_user_pwd(diction): if ( len(str(pwd)) <= 0): mycommon.myprint(str(inspect.stack()[0][3]) + " Le mot de passe est vide") - return False, "Le token est vide" + return False, "Le mot de passe est vide" if (str(new_pwd) != str(conf_new_pwd)): - mycommon.myprint(str(inspect.stack()[0][3]) + " - Les mots de passe ne sont pas identiques") + mycommon.myprint(str(inspect.stack()[0][3]) + " - Les mots de passe ne sont pas identiques. nouveau pass :'"+str(new_pwd) +"', la oonfirmation envoyées est "''+str(conf_new_pwd)+"' ") return False, " Les mots de passe ne sont pas identiques " retval = mycommon.check_token_validity("", token_value) if retval is False: - mycommon.myprint("L'email ou le token ne sont pas valident") - return False, "L'email ou le token ne sont pas valident" + mycommon.myprint(str(inspect.stack()[0][3]) + " Le token est invalide") + return False, "Le token est invalide" # Recuperation du recid du user user_recid = mycommon.get_user_recid_from_token(token_value) if user_recid is False : - mycommon.myprint(" Impossible de recuperer le recid du user") + mycommon.myprint(str(inspect.stack()[0][3]) + " Impossible de recuperer le recid du user. Le token envoyé est :"+str(token_value)) return False, " Impossible de mettre à jour le mot de passe" @@ -746,22 +746,22 @@ def change_user_pwd(diction): coll_name = dbname['user_account'] print(" le recid = "+user_recid+" mydata = "+str(mydata)) - ret_val = coll_name.find_one_and_update({'recid': user_recid, 'locked': '0'}, + ret_val = coll_name.find_one_and_update({'recid': user_recid, 'locked': '0', 'active':'1', 'pwd':pwd}, {"$set": mydata}, return_document=ReturnDocument.AFTER ) if (ret_val and ret_val['_id']): - mycommon.myprint("La modif a bien ete faite =" + str(ret_val['_id'])) + mycommon.myprint(str(inspect.stack()[0][3]) + " Le mot de passe de l'utilisateur (recid) =" + str(user_recid)+" a été modifié") return True, "Le mot de passe a bien été mise à jour " else: - mycommon.myprint(" Le mot de passe n'a pas été mis à jour") + mycommon.myprint(str(inspect.stack()[0][3]) + " Impossible de mettre à jour le password du user : recid = "+str(user_recid)) return False, "Impossible de mettre à jour le password" except Exception as e: mycommon.myprint(e) - return False, "Impossible de mettre à jour le password" + return False, "Impossible de mettre à jour le mot de passe de l'utilisateur" diff --git a/wrapper.py b/wrapper.py index 9d724ba..77d6dcf 100644 --- a/wrapper.py +++ b/wrapper.py @@ -49,7 +49,8 @@ def get_recherche_gle_class(sentence): coll_name = dbname['myclass'] insertObject = [] - for x in coll_name.find({"external_code": {"$in": tab_training}}, {"_id": 0}): + for x in coll_name.find({"external_code": {"$in": tab_training}}, {"_id": 0, "indexed": 0, "indexed_desc": 0, "indexed_obj": 0, "indexed_title": 0, "valide": 0, + "locked": 0, "partner_owner_recid": 0, }): mycommon.myprint(x) user = x insertObject.append(JSONEncoder().encode(user)) @@ -74,7 +75,8 @@ def get_class_by_list_attr(attribut, list_values): coll_name = dbname['myclass'] insertObject = [] - for x in coll_name.find({attribut:{ "$in":ela_array}},{"_id": 0}): + for x in coll_name.find({attribut:{ "$in":ela_array}},{"_id": 0, "indexed": 0, "indexed_desc": 0, "indexed_obj": 0, "indexed_title": 0, + "valide": 0, "locked": 0, "partner_owner_recid": 0, }): mycommon.myprint(x) user = x insertObject.append(JSONEncoder().encode(user)) @@ -97,7 +99,8 @@ def update_class_by_attribut(objId, attribut, value): coll_name = dbname['myclass'] insertObject = [] - for x in coll_name.find({attribut: value}, {"_id": 0}): + for x in coll_name.find({attribut: value}, {"_id": 0, "indexed": 0, "indexed_desc": 0, "indexed_obj": 0, + "indexed_title": 0, "valide": 0, "locked": 0, "partner_owner_recid": 0, }): mycommon.myprint(x) user = x insertObject.append(JSONEncoder().encode(user)) @@ -173,7 +176,8 @@ def get_all_class(diction): coll_name = dbname['myclass'] insertObject = [] - for x in coll_name.find({'valide':'1', 'locked':'0'}, {"_id": 0}): + for x in coll_name.find({'valide':'1', 'locked':'0'}, {"_id": 0, "indexed": 0, "indexed_desc": 0, "indexed_obj": 0, "indexed_title": 0, + "valide": 0, "locked": 0, "partner_owner_recid": 0, }): mycommon.myprint(x) user = x insertObject.append(JSONEncoder().encode(user)) @@ -388,7 +392,8 @@ def recherche_text_simple(diction): si ce n'est pas le cas, il faudra à la fin enregistrer la requete avec un result a vide''' nb_result = 0 for x in coll_name.find(({"$and": [{"external_code": {"$in": final_message2}}, - certif_crit, lang_crit, type_crit, price_crit, support_crit]})): + certif_crit, lang_crit, type_crit, price_crit, support_crit]}), + {"_id": 0, "indexed": 0, "indexed_desc": 0, "indexed_obj": 0, "indexed_title": 0, "valide": 0, "locked": 0, "partner_owner_recid": 0, }): nb_result = nb_result +1 my_recid = {} @@ -455,7 +460,8 @@ def recherche_text_simple(diction): nb_result = 0 insertObject = [] for x in coll_name.find(({"$and": [{"external_code": {"$in": tab_training}}, - certif_crit,lang_crit, type_crit,price_crit, support_crit ]})): + certif_crit,lang_crit, type_crit,price_crit, support_crit ]} + ), {"_id": 0, "indexed": 0, "indexed_desc": 0, "indexed_obj": 0, "indexed_title": 0, "valide": 0, "locked": 0, "partner_owner_recid": 0, }): nb_result = nb_result + 1 my_recid = {} my_recid['user_rec_id'] = str(user_recid) @@ -836,10 +842,11 @@ def recherche_tips(diction): # field_list. ''' - print(" RRRRR "+str(diction)) + field_list = ['search_text', 'token', 'support', 'id', 'type', 'lang', 'level', 'dist', 'price', 'certif', 'source', 'name','valide'] + incom_keys = diction.keys() for val in incom_keys: if val not in field_list: @@ -933,7 +940,8 @@ def recherche_tips(diction): coll_name = dbname['myclass'] insertObject = [] - for x in coll_name.find({"external_code": {"$in": tab_training}}, {"_id": 0}): + for x in coll_name.find({"external_code": {"$in": tab_training}}, {"_id": 0, "indexed": 0, "indexed_desc": 0, "indexed_obj": 0, "indexed_title": 0, + "valide": 0, "locked": 0, "partner_owner_recid": 0, }): mycommon.myprint(x) user = x insertObject.append(JSONEncoder().encode(user))