You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new currency api layer interface.. move currency calls to api to api class
* the new currency api class will handle multicalls to vrious backend api,
so we can configure various api backends and if some of them fails,
we will try next other..
* move and sanitize button look based on data available, if the data is present
renders a stop icon, so indicates to user that is not necesary to call api cos
we already has data stored. But still able to call it, we need to manange
this in new behaviour by permission
* check curren user and current api calls on each call, so user_id and codkey
must be parsed on api calls
* provide and fix the missing json response on api call from older
broken controller Currency_Manager when moves to Currency_Api
closes https://gitlab.com/codeigniterpower/codeigniter-currencylib/-/issues/6
* remove common calls for jquery and datatables javascripts libraries
andmoves to header loading, the delayed ones moved to footer
* footer was remade to only be loaded by internal views, the footer
showed at login and index are hardcoded.. this must be managed
refers https://gitlab.com/codeigniterpower/codeigniter-currencylib/-/issues/7
so we just try to fit but still is an issue
$config['codkey'] = 'SHAR265ql-23krjhnou2q34rhi2';//' this is a key that our own clients can use to retrieve secrelty data from this app.. so we can avoid using external paids to others apis;
9
+
$config['telegramnews'] = 'https://t.me/s/open_tecnologies';//' https://t.me/s/open_tecnologies the 's' uri section means can be used in a widget.. witout then the phone will load the app ;
log_message('error', __METHOD__ .' POST : ' . print_r($codkey, TRUE) . ' codkey is not valid : '.print_r($validfields, TRUE));
109
+
$error = json_encode(array('result' =>'codkey is not valid'));
110
+
echo$error;
111
+
return$error;
112
+
}
113
+
114
+
$data = array();
115
+
// example invokation http://localhost/~general/codeigniter-currencylib/cweb/index.php/Currency_Manager/callapitodb/SHAR265ql-23krjhnou2q34rhi2?dateapi=2023-02-03&curbase=USD
116
+
// example shot base "index.php/Currency_Manager/callapitodb/SHAR265ql-23krjhnou2q34rhi2?dateapi=2023-02-03&curbase=USD"
// example invokation http://localhost/~general/codeigniter-currencylib/cweb/index.php/Currency_Manager/callapitodb/SHAR265ql-23krjhnou2q34rhi2?dateapi=2023-02-03&curbase=USD
160
-
// example shot base "index.php/Currency_Manager/callapitodb/SHAR265ql-23krjhnou2q34rhi2?dateapi=2023-02-03&curbase=USD"
0 commit comments