1. 26 Jan, 2019 1 commit
    • Malcolm Blaney's avatar
      Cart module fixed a bug where tabs didn't match up due to special · 43ff4f68
      Malcolm Blaney authored
      characters in html. Also missed a case where tracking wasn't turned
      back on for previously tracked products. Organiser->Parent() was
      returning an empty string when an organisation wasn't found, it now
      returns false in this case as the empty string is a valid group.
      Other changes were required to allow for this. Writer module needs
      to set a default location for posts for Micropub to work. Tried to
      improve how tooltips work in Reader module js. Also unread count is
      accumulative so need to parse the current unread total before
      modifying the page-select button.
      43ff4f68
  2. 16 Jan, 2019 1 commit
    • Malcolm Blaney's avatar
      Cart module added 'cart-unavailable' class to shutdown message for · 375aeb27
      Malcolm Blaney authored
      styling. Stock module fixed a bug where prices were updated from
      base_price but percent was set to 0, which is used elsewhere to
      mean no markup applied. Account module fixed a few bugs sharing
      information when there wasn't permission to edit it. Also
      refactored some more code out of Callback function.
      Other changes are from renaming return value from mysqli queries to
      $mysqli_result due to conflict with $result variable which is also
      used for other purposes.
      375aeb27
  3. 11 Dec, 2018 1 commit
  4. 07 Dec, 2018 1 commit
    • Malcolm Blaney's avatar
      Cart->UpdateItem now takes extra tracking parameter so that Stock · 001ce457
      Malcolm Blaney authored
      module can explicitly turn off cart sync. Cart module no longer
      changes tracking based on stock availability. Stock module now
      also updates wholesale and retail markup prices when the base
      price is changed in the grid. Grid module now responds to browser
      resize events when in wide grid mode. A few small improvements to
      Sell module to make sure data isn't getting loaded twice due to
      different browser events firing. Fixed a bug in session_expired
      where reload wasn't set in some cases.
      001ce457
  5. 28 Nov, 2018 1 commit
  6. 16 Nov, 2018 1 commit
    • Malcolm Blaney's avatar
      Add support for Micropub Media Endpoint to Browser module, and · 3dc7cf27
      Malcolm Blaney authored
      Micropub query config support to auth.php. Improved parse_hcard
      in SimplePie Parser to also cache photos in h-feeds, and
      parse_hcard helper function in microformats.php will now add photos
      from reposts to the nickname cache. Invoice and Purchase modules
      now operate from the assumption that dates for a given day can have
      timestamps anywhere between 00:00:00 and 23:59:59 on the day given.
      Fixed a bug in Purchase module that was using a 12 hour window to
      check purchases rather than following the new rule for timestamps.
      Stock module bug made items that were available to purchase
      unavailable from the supplier, which meant they no longer showed up
      by default on the stock page. Other changes are small UI improvements.
      3dc7cf27
  7. 18 Oct, 2018 1 commit
    • Malcolm Blaney's avatar
      Try fixing mysql authentication bug in gitlab runner. Cart module · 9b1baa02
      Malcolm Blaney authored
      short description is now shown by default and a style rule should
      be added to hide it. Purchase->Search was returning everything
      when no search terms were provided due to a recent change to
      quantity query. Purchase->ListProducts now returns a formatted
      supplier list so that it can be used to format the grid. Stock
      module cart updates no longer depend on the mode the page is in.
      Purchase module all user grid now skips supplierOnly accounts and
      has better formatting. Stock module now fixes grid header row to
      the top of the page when scrolling. core.js now provides a way to
      hide elements when a user is logged in by matching the class name
      "logged-in-display-none". Switch default control bar position from
      "fixed" to "sticky".
      9b1baa02
  8. 10 Oct, 2018 1 commit
    • Malcolm Blaney's avatar
      Improve Stock->Cron updating availability and prices. Category list · 2968e0b1
      Malcolm Blaney authored
      is now more flexible and Cart module now gets called too. Revert
      recent change to Manager module as imported lists need to be
      recorded as orders (ie no quantity adjustments) until they are
      packed. The price is set to zero for items that need to be adjusted
      so that this is triggered when loaded by the Purchase or Sell module.
      2968e0b1
  9. 13 Sep, 2018 2 commits
  10. 12 Sep, 2018 1 commit
  11. 18 Aug, 2018 1 commit
    • Malcolm Blaney's avatar
      Switch all modules that send email to utf-8 charset and added a new · 178049e2
      Malcolm Blaney authored
      function dobrado_mail, that will check if the user allows a given
      module to send them email, and also checks if the user would like to
      forward their mail via an address specified by the system, which
      should then forward the email to the original address. Fixed Stock
      module bug where existing orders could have their prices updated
      when editing purchase prices. Removed vowels from available chars
      when generating new passwords so as not to accidently form words.
      178049e2
  12. 14 Aug, 2018 1 commit
    • Malcolm Blaney's avatar
      Cart module UI improvements to support logged in users, search, · 2d2b01cf
      Malcolm Blaney authored
      user specified pack dates and better item display. Also improved
      the cart editor with options for navigating the item list. Add
      admin user to banking table during Banking->Install. Invite module
      doesn't allow co-hosts, more work required but made first change
      which is allowing more than one host in the invite table. Fixed
      some functions in Purchase module that weren't checking if the
      purchase group had changed. Updated Sell module to use updated
      Cart module Payment factory call. Fixed Stock module bug which
      reset user's default group too early in Stock->AllData. Moved
      dobrado.dateFormat from core.js to core.pub.js as it's now used
      by the Cart module.
      2d2b01cf
  13. 24 Jul, 2018 1 commit
    • Malcolm Blaney's avatar
      Cart module product names must be stored without escaped html, so · 783df598
      Malcolm Blaney authored
      that they match product names in the stock module. Detail module
      now uses a local authorization endpoint, which has also been added
      to this commit. Fixed a bug in Stock module where Cart module
      wasn't getting updated when the cart checkbox was clicked. Fixed
      auth.php callback now that 'me' parameter is no longer specified
      in the Indieauth spec when redirecting.
      783df598
  14. 11 Jun, 2018 1 commit
    • Malcolm Blaney's avatar
      Fix gitlab runner dependency conflict between php 7 and mysql 8. · 434ca4cc
      Malcolm Blaney authored
      Add support to Banking module for BuyerGroup to be called from
      Cart module. Cart module now supports different price levels for
      logged in users, and can display items from the Stock module.
      The Stock module now supports updating images for stock items so
      that they can also be used by the Cart module. The Browser module
      is called from the stock grid, and it now shows upload progress
      and image search. Cart sales are also saved to the purchase and
      payment modules when items are tracked from the Stock module.
      434ca4cc
  15. 17 Apr, 2018 1 commit
  16. 06 Apr, 2018 1 commit
    • Malcolm Blaney's avatar
      A few bug fixes: Keep reading from file handle in Reader->PurgeCache · 2bd7b736
      Malcolm Blaney authored
      to avoid broken pipe. Groupwizard context for opening account dialog
      had got out of sync with sections. Purchase and Sell modules had a
      scrolling bug when editing in the grid, because resetForm is called
      and previously stole focus. Stock add new supplier now dynamically
      adds the account to the import list.
      2bd7b736
  17. 06 Mar, 2018 1 commit
  18. 04 Mar, 2018 1 commit
    • Malcolm Blaney's avatar
      Moved template description inserts from start.php to the respective · 42ba5b2b
      Malcolm Blaney authored
      modules for each template. Added Base->AddTemplateDescription to
      help. Switched SimplePie image handler to just the path rather than
      the full url, which means Reader->ImageHandler can be removed. Bug
      fix / typo in auth.php, $this->user->name should be $domain. Rewrote
      most of start.php and tests/bootstrap.php so they are cleaner and
      share more code, which also makes the latter a better test of the
      former. Also all modules are now installed when testing, though
      there's still a lot of work to do writing tests... made a start on
      that too by improving existing tests and adding a couple of new ones.
      42ba5b2b
  19. 02 Mar, 2018 1 commit
  20. 21 Feb, 2018 1 commit
  21. 19 Feb, 2018 1 commit
  22. 16 Feb, 2018 1 commit
    • Malcolm Blaney's avatar
      Big refactor of the Grid module and other modules that use it: · b98e8e0c
      Malcolm Blaney authored
      autoHeight is now used everywhere, so the Grid module no longer
      sets the height or offers scrolling options. (The idea being that
      the single scrollbar for the page is easier to use.) The Payment
      module previously listed all data in the grid, so this now provides
      it's own paging to reduce the grid height. The Grid module now also
      includes SlickGrid's DataView, which is now heavily used by the
      Stock module, which also received a large number of bug fixes and UI
      improvements.
      b98e8e0c
  23. 08 Feb, 2018 1 commit
    • Malcolm Blaney's avatar
      Purchase module: change wording to submit order and make info about · 3706f815
      Malcolm Blaney authored
      when the order needs submitting more dynamic. Bug fix so that auto
      submitting orders when returning to page is no longer possible once
      the order window has closed. Stock module: Switching between order
      prices and purchase prices not required when 'stock-order-update'
      is not being used.
      3706f815
  24. 30 Oct, 2017 1 commit
  25. 03 Oct, 2017 1 commit
  26. 23 Sep, 2017 1 commit
  27. 19 Sep, 2017 1 commit
  28. 14 Sep, 2017 1 commit
    • Malcolm Blaney's avatar
      A bunch of small improvements: Banking and Payment modules now check · d2dd920d
      Malcolm Blaney authored
      if a supplier account is being set up. Detail module also now sets
      supplier_only flag when an account is created. Accounts without
      email addresses are now ignored by the Invoice module. Stock module
      makes hidden products unavailable to order after an import. Purchase
      and Sell modules reset the page select and hide the 'changing page'
      message in the control when the user is asked to save their purchases.
      Creating a new account now has a 'force' mode so that supplier
      accounts are always created whatever the user types in. The Manage
      Accounts dialog has been simplified for creating supplier accounts.
      d2dd920d
  29. 13 Sep, 2017 1 commit
  30. 10 Sep, 2017 1 commit
  31. 09 Sep, 2017 1 commit
  32. 06 Sep, 2017 1 commit
    • Malcolm Blaney's avatar
      Stock module rewrite for inline grid editing. Refactored column · 89240382
      Malcolm Blaney authored
      editing code from Members module to generic version in the Grid
      module. This is now also used by the Stock module. New SupplierOnly
      function in Detail module which is used to create a supplier select
      which is used when importing supplier lists in the Stock module.
      89240382
  33. 11 Jun, 2017 1 commit
  34. 07 Jun, 2017 1 commit
  35. 06 Jun, 2017 1 commit
    • Malcolm Blaney's avatar
      Improved sanitising user input. Improved html formatting. Purchase · a74a671e
      Malcolm Blaney authored
      module js now only sends back purchases from the browser that
      haven't yet been saved to the server. Show grid area earlier in all
      modules so that column widths are calculated properly. Added
      new-login session variable so that local storage can be cleared
      when a user first logs in.
      a74a671e
  36. 15 May, 2017 1 commit
  37. 12 May, 2017 1 commit
  38. 08 Mar, 2017 1 commit
    • Malcolm Blaney's avatar
      Improve section formatting in Groupwizard module, also provide a · 10b24e4e
      Malcolm Blaney authored
      way to update markup on existing stock list. Improved packing list
      format in Invoice module. Stock module changes to support
      Groupwizard option to update markup. Improve quota display in Grid
      module. Fix Purchase module bug: removing a zeroed row from the
      grid resets editing ability so leave the zero in place.
      10b24e4e
  39. 17 Feb, 2017 1 commit