FCLT#74310 Share&Meet verder uitfaseren

svn path=/Website/trunk/; revision=57261
This commit is contained in:
Jos Groot Lipman
2022-09-13 12:50:44 +00:00
parent 0d2c6c66f9
commit b24a108892
5 changed files with 1 additions and 107 deletions

View File

@@ -12,14 +12,6 @@
- het menu toont die opties waarvoor user_key geautoriseerd is.
*/
var orghome = Session("ORGHOME");
if (orghome) // Share and meet
{
//Session.Contents.Remove("ORGHOME"); gewoon laten staan voor als iemand 'back' drukt
Response.Redirect(orghome);
}
%>
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="./resultset_table.inc" -->

View File

@@ -370,7 +370,6 @@ if (rsv_ruimte_key == -1)
// - gegroepeerd per locaties (indien meer dan 1/niet opgegeven)
// - dan per ruimte een (1) vermelding rond het genoemde tijdstip
// - met vermelding Beschikbaar van X to Y
// ** indien Share&Meet: optie om het verzoek aan externe FACILITORs te vragen.
// 4. Met een keuze uit deze opties is veel bepaald:
// - ruimte
// - datum (was al)

View File

@@ -2077,97 +2077,6 @@ res = {
return existing_res;
},
// Wordt bij Share&Meet via API opgevraagd
user_lopend_info: function _user_lopend_info (params)
{
var showall = false; // TODO?
// ....
var sql = "SELECT rr.res_rsv_ruimte_host_key prs_perslid_key"
+ " , res_srtactiviteit_prefix || TO_CHAR (rr.res_reservering_key) || '/' || rr.res_rsv_ruimte_volgnr item"
+ " , rr.res_rsv_ruimte_key item_key"
+ " , 'reservering' xmlnode"
+ " , rr.res_rsv_ruimte_van datum"
+ " , COALESCE (rr.res_rsv_ruimte_omschrijving, " + lcl.xsql('ra.res_activiteit_omschrijving', 'res_activiteit_key') + ") detail"
+ " , ' ' status"
+ " , res_rsv_ruimte_satisfaction satisfaction"
+ " , res_rsv_ruimte_satisfaction_op satisfaction_op"
+ " , DECODE (res_rsv_ruimte_dirtlevel, 0, rr.res_status_fo_key, -1) status_key"
+ " , rr.res_status_bo_key bo_status_key"
//+ sqlTracking("rr.res_rsv_ruimte_key","reservering")
+ " FROM res_v_aanwezigrsv_ruimte rr"
+ " , res_activiteit ra"
+ " , res_srtactiviteit rsa"
+ " , fac_tracking tr"
+ " , fac_srtnotificatie str"
+ " WHERE rr.res_activiteit_key = ra.res_activiteit_key"
+ " AND ra.res_srtactiviteit_key = rsa.res_srtactiviteit_key"
+ " AND ( ( rr.res_status_bo_key IN (2))"
+ " OR ( rr.res_status_bo_key IN (5, 6) "
+ " AND tr.fac_tracking_datum > SYSDATE - " + S("facilities_flike_past")
+ " AND str.fac_srtnotificatie_code = 'RESAFM')"
+ " OR ( rr.res_status_bo_key NOT IN (5, 6) "
+ " AND rr.res_rsv_ruimte_tot > SYSDATE - " + S("facilities_flike_past") + ")"
+ " )"
+ " AND rr.res_rsv_ruimte_key = tr.fac_tracking_refkey(+)"
+ " AND tr.fac_srtnotificatie_key = str.fac_srtnotificatie_key(+)"
+ (!showall
? " AND (rr.res_rsv_ruimte_van BETWEEN SYSDATE - " + S("facilitiespast_res") + " AND SYSDATE + " + S("facilitiesfuture_res") + " OR rr.res_rsv_ruimte_van IS NULL)"
: "")
+ " UNION "
+ "SELECT rr.res_rsv_ruimte_contact_key prs_perslid_key"
+ " , res_srtactiviteit_prefix || TO_CHAR (rr.res_reservering_key) || '/' || rr.res_rsv_ruimte_volgnr item"
+ " , rr.res_rsv_ruimte_key"
+ " , 'reservering' xmlnode"
+ " , rr.res_rsv_ruimte_van datum"
+ " , COALESCE (rr.res_rsv_ruimte_omschrijving, " + lcl.xsql('ra.res_activiteit_omschrijving', 'res_activiteit_key') + ") detail"
+ " , ' ' status"
+ " , res_rsv_ruimte_satisfaction satisfaction"
+ " , res_rsv_ruimte_satisfaction_op satisfaction_op"
+ " , DECODE (res_rsv_ruimte_dirtlevel, 0, rr.res_status_fo_key, -1) status_key"
+ " , rr.res_status_bo_key bo_status_key"
//+ sqlTracking("rr.res_rsv_ruimte_key","reservering")
+ " FROM res_v_aanwezigrsv_ruimte rr"
+ " , res_activiteit ra"
+ " , res_srtactiviteit rsa"
+ " WHERE rr.res_activiteit_key = ra.res_activiteit_key"
+ " AND ra.res_srtactiviteit_key = rsa.res_srtactiviteit_key"
+ " AND rr.res_status_bo_key IN (2)"
+ (!showall
? " AND (rr.res_rsv_ruimte_van BETWEEN SYSDATE - " + S("facilitiespast_res") + " AND SYSDATE + " + S("facilitiesfuture_res") + " OR rr.res_rsv_ruimte_van IS NULL)"
: "");
var sqln = "SELECT prs_perslid_key"
+ " , item"
+ " , item_key"
+ " , xmlnode"
+ " , datum"
+ " , detail"
+ " , status"
+ " , satisfaction"
+ " , satisfaction_op"
+ " , status_key"
// + " , recentdatum"
+ " , bo_status_key"
+ " FROM (" + sql + ")"
+ " WHERE prs_perslid_key = " + params.prs_key
// + module_filter
+ " ORDER by datum";
var oRs = Oracle.Execute(sqln);
var user_res = Oracle.rs2hash(oRs);
oRs.Close();
// Bepaal de URL waar user straks op kan klikken
if (params.mobile)
var deepurl = HTTP.urlzelf() + "/appl/pda/reservering.asp?fac_id=" + customerId + "&rsv_ruimte_key=";
else
var deepurl = HTTP.urlzelf() + "/?fac_id=" + customerId + "&u=reservering&k=" ;
for (var r in user_res)
{
user_res[r].deepurl = deepurl + user_res[r].item_key
}
return user_res;
},
hour_px: function (width_px, nr_days)
{
var nr_hours = nr_days * (S("res_t2") - S("res_t1"));

View File

@@ -314,9 +314,6 @@ FCLTHeader.Requires({plugins: ["jQuery"]})
function res_print()
{
var url = '../res/res_xml.asp?res_key=<%=rrr.reservering_key%>&print_rsv_ruimte_key=<%=rsv_ruimte_key%>';
// Share&Meet in een IFRAME gaf anders session expired
// TODO: Conditioneel maken
url += "<%= "&fac_id=" + customerId %>";
FcltMgr.windowopen(url);
}
@@ -508,7 +505,7 @@ FCLTHeader.Requires({plugins: ["jQuery"]})
// Opstelling
for( i=0; i<res_ruimte_data.RoomConfigs.length; i++ )
{
if (res_ruimte_data.RoomConfigs[i].ruimte_opstel_key == rrr.ruimte_opstel_key)
if (res_ruimte_data.RoomConfigs[i].ruimte_opstel_key == rrr.ruimte_opstel_key)
ROFIELDTR("fld", L("lcl_config"), res_ruimte_data.RoomConfigs[i].opstelling_omschrijving + " (" + res_ruimte_data.RoomConfigs[i].bezoekers + " " + L("lcl_prs_pers") + ")");
}
}

View File

@@ -275,9 +275,6 @@ else
Response.AddHeader("Strict-Transport-Security", "max-age=" + S("hsts_maxage")); // Geen includeSubDomains, dat nekt http://facilitor.nl
}
if (Request.QueryString("orghome").Count>0) // Remember it. Share&Meet's
Session("orghome") = String(Request.QueryString("orghome"));
// Merk op: door onze Server.Transfer's met API's of inloggen zie je in Fiddler wel
// eens dat X-Frame-Options twee keer in de header komt. Slordig maar acceptabel.
if (typeof NO_ADDHEADER == "undefined" && !S("allow_framed_facilitor"))