<?xml version="1.0" ?>
<rss version="2.0">
  <channel>
    <title>Flyspray::</title>
    <lastBuildDate>Thu, 26 Mar 2026 16:42:56 +0000</lastBuildDate>
    <description>Feed for all projects</description>
    <link>https://www.bugs.ulabequipment.com/</link>
        <item>
      <title>FS#80: object_booking month view taking 60+ seconds to render</title>
      <author>Ian Thompson</author>
      <pubDate>Thu, 26 Mar 2026 16:42:49 +0000</pubDate>
      <description><![CDATA[
<p>
The function day_summary() was calling check_no_overlap() for every hour of every day in the calendar.<br />This resulted in approximately 30 days × up to 24 hours ≈ 700+ calls per page load.<br />Each call to check_no_overlap() executed multiple database queries (booking_object, lab_equipment, labs, proximity checks, overlap checks, etc.), leading to an estimated 5,000–6,000 database queries per page render.
</p>

<p>
The function check_no_overlap() is intended for booking validation, not for display logic.
</p>

<p>
Resolution:<br />Replaced calls to check_no_overlap() in the calendar rendering with a lightweight in-memory overlap check - function has_overlap($entriesForDay, $start, $end).
</p>

<p>
Changes made:<br />Refactored/replaced showMonth() with showMonth_2() to minimise queries (old code still present for checking if needed)<br />Added has_overlap() to check booking clashes using the preloaded $entries array<br />Updated day_summary_2() to use has_overlap() instead of check_no_overlap()<br />Updated calling code to pass daily booking entries into day_summary_2()
</p>

<p>
Result:<br />Page load time reduced from approximately 75 seconds to 0.2 seconds, redundant database queries eliminated.<br />Month view now uses a single query with in-memory processing.
</p>
]]></description>
      <link>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=80</link>
      <guid>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=80</guid>
    </item>
        <item>
      <title>FS#79: multiday bookings crossing months were being overcharged in BIF report</title>
      <author>Ian Thompson</author>
      <pubDate>Thu, 05 Mar 2026 16:14:02 +0000</pubDate>
      <description><![CDATA[
<p>
multi-day bookings that were &gt; month, or crossed the month boundary were given an hours value for the entire booking instead of the time used in the month (or date range) requested for the BIF report.  Code updated to limit the charge/hours to the max in the month.<br />
</p>
]]></description>
      <link>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=79</link>
      <guid>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=79</guid>
    </item>
        <item>
      <title>FS#78: include custom booking fields to email confirmation</title>
      <author>Ian Thompson</author>
      <pubDate>Mon, 23 Feb 2026 14:23:36 +0000</pubDate>
      <description><![CDATA[
<p>
update email confirmation sent to booking manager to include any custom booking fields<br />
</p>
]]></description>
      <link>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=78</link>
      <guid>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=78</guid>
    </item>
        <item>
      <title>FS#77: mark equipment as invisible</title>
      <author>Ian Thompson</author>
      <pubDate>Wed, 11 Feb 2026 14:50:08 +0000</pubDate>
      <description><![CDATA[
<p>
add a flag to allow kit to be hidden from regular users, but still visible to equipment owner/editors - allow kit history/data to remain but regular users no longer see it.
</p>

<p>
- combo of hide from search/unbookable?<br />- clear any entries in user watchlists<br />
</p>
]]></description>
      <link>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=77</link>
      <guid>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=77</guid>
    </item>
        <item>
      <title>FS#76: BIF reports wrong contents</title>
      <author>Ian Thompson</author>
      <pubDate>Thu, 05 Feb 2026 11:59:57 +0000</pubDate>
      <description><![CDATA[
<p>
BIF reports containing wrong data.  The cleanFileName function was cutting the filename off at 35 characters, so longer lab names were being shortened and as Bath have similar, long-named labs, this was resulting in the same filename for multiple facilities and cached files resulting in the wrong data in BIF downloads.
</p>

<p>
Fix: updated cleanFileName to default to 120 chars - 39 limit was from legacy need to restrice filename length elsewhere.<br />Fix: updated charging.php as it was stripping the / from tempFiles/filename.csv resulting in files being stored outside of the tempFiles directory<br />
</p>
]]></description>
      <link>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=76</link>
      <guid>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=76</guid>
    </item>
        <item>
      <title>FS#75: Batch service orders - flag any project code that has expired</title>
      <author>Ian Thompson</author>
      <pubDate>Thu, 22 Jan 2026 15:46:04 +0000</pubDate>
      <description><![CDATA[
<p>
Batch service orders - flag any project code that has expired
</p>

<p>
When a user does a batch upload, check each project is still valid, else highlight it so the user can change it.<br />
</p>
]]></description>
      <link>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=75</link>
      <guid>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=75</guid>
    </item>
        <item>
      <title>FS#74: booking not showing on calendar</title>
      <author>Ian Thompson</author>
      <pubDate>Wed, 05 Nov 2025 12:56:53 +0000</pubDate>
      <description><![CDATA[
<p>
<a href="https://www.ulabequipment.com/equipment.php?ID=6506" class="urlextern" title="https://www.ulabequipment.com/equipment.php?ID=6506"  rel="nofollow">https://www.ulabequipment.com/equipment.php?ID=6506</a>
</p>

<p>
had a booking on 26/10/2025 18:00 to 00:00 that wasn&#039;t displaying so user couldn&#039;t delete it.  Booking was immediately after booking from 08:00 to 18:00.  Changing the end time to 23:00 or earlier will make the booking display again.
</p>

<p>
Fixed for user by manually deleting from the database so they can run BIF report
</p>

<p>
same happens on DEV:<br /><a href="https://www.dev.ulabequipment.com/booking/weekview.php?object=3889" class="urlextern" title="https://www.dev.ulabequipment.com/booking/weekview.php?object=3889"  rel="nofollow">https://www.dev.ulabequipment.com/booking/weekview.php?object=3889</a> (view 26th Oct 2025)<br />
</p>
]]></description>
      <link>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=74</link>
      <guid>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=74</guid>
    </item>
        <item>
      <title>FS#73: BIF report by analysis code</title>
      <author>Ian Thompson</author>
      <pubDate>Fri, 24 Oct 2025 13:30:12 +0000</pubDate>
      <description><![CDATA[
<p>
add tool that allows users to generate BIF report using analysis code - use substring of internal ID on each equipment item e.g.<br />CRFCTMSS0001 
</p>

<p>
User may want all CRFCTMSSxxxx equipment bookings<br />→ generate BIF
</p>

<p>
Can re-use charging.php<br /> - add new branch to _GET[&#039;lab&#039;] /  _GET[&#039;object&#039;]  / _GET[&#039;multi&#039;] to check for _GET[&#039;analysis_code&#039;]<br /> - rest of code should work without too much modification
</p>

<p>
need page/tool to get user to select analysis code substring to generate the BIF<br />
</p>
]]></description>
      <link>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=73</link>
      <guid>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=73</guid>
    </item>
        <item>
      <title>FS#72: Add charity option as cost category</title>
      <author>Ian Thompson</author>
      <pubDate>Fri, 22 Aug 2025 15:16:36 +0000</pubDate>
      <description><![CDATA[
<p>
extends FEC option previous asked for so now have 3 cost categories (for Bath/ Fin module users)
</p>

<p>
 $costCategory=array(&quot;0&quot;⇒&quot;Internal&quot;, &quot;1&quot;⇒&quot;FEC&quot;, &quot;2&quot;⇒&quot;Charity&quot;);
</p>

<p>
updates to <br />- project_codes.php [done dev/live]<br />- make_bookable.php &gt; charging tab [done on dev]<br />- project_codes/charging.php [done on dev]
</p>

<p>
 needs testing before going to live [testing complete]
</p>

<p>
moved to live [done]<br />
</p>
]]></description>
      <link>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=72</link>
      <guid>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=72</guid>
    </item>
        <item>
      <title>FS#71: booking list for non-finance user</title>
      <author>Ian Thompson</author>
      <pubDate>Fri, 15 Aug 2025 13:28:17 +0000</pubDate>
      <description><![CDATA[
<p>
Bath have non-Finance users who want to have a &#039;list&#039; view of all bookings on an item of equipment, including the project code. Need ability to modify the project code in the list - driven by need to update any/all TMP_UNKNOWN project codes used at time of booking to actual project codes at month end prior to running BIF report.
</p>

<p>
Would be useful for other users to have a list view of bookings?<br />
</p>
]]></description>
      <link>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=71</link>
      <guid>https://www.bugs.ulabequipment.com/index.php?do=details&amp;task_id=71</guid>
    </item>
      </channel>
</rss>
