1. 30 Oct, 2018 1 commit
    • Malcolm Blaney's avatar
      Refactored Reader module and SimplePie Parser to handle microformats · 162c6473
      Malcolm Blaney authored
      more cleanly. Some properties are now stored using Media RSS extension
      so that they can be accessed as enclosures using SimplePie API. Also
      moved custom lightbox code to Reader module. Image handler needs to be
      the full url for Microsub clients. Other changes are mostly formatting
      and a few small bug fixes.
  2. 26 Oct, 2018 2 commits
  3. 25 Oct, 2018 1 commit
    • Malcolm Blaney's avatar
      Turn off autocomplete for some input fields. Fixed a potential bug · 9cd58fab
      Malcolm Blaney authored
      in Purchase module when ordering page is left open and then ordering
      window closes. Post->LookupAuthor() has been refactored to
      Base->LookupNickname() as it's now also used by the Reader module.
      Reader module will now try and save author details in nickname cache
      and then also use them when rendering content. SimplePie image
      handler now returns default spacer.png so as not to break image tags
      on cache miss. parse_hcard() no longer defaults author name to
      'someone', so updated Notification module to first fall back to
      domain from the provided url, and then to use 'someone'.
  4. 24 Oct, 2018 1 commit
    • Malcolm Blaney's avatar
      Reader module now uses cache location set by SimplePie. Improve · b907e1f7
      Malcolm Blaney authored
      PurgeCache by listing by access time rather than modification time,
      and limit how many files need to be opened by piping through head.
      Control module js now displays content in edit mode that was
      previously hidden for logged in users. Improved microformats image
      parsing to use lightbox effect more often, also now displays two
      of the image set by default, side by side. jQuery UI icons are now
      shown for reader items that have been marked up as like-of or
      repost-of, to be consistent with in-reply-to. Improved the image
      handler used by SimplePie to cache external images. Files where the
      image content was previously removed to save space are now re-cached
      since the file now has a more recent access time. Also added a new
      function to SimplePie to resize large images before they get cached.
  5. 19 Oct, 2018 10 commits
  6. 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".
  7. 17 Oct, 2018 1 commit
    • Malcolm Blaney's avatar
      Added new microsub and token endpoints. Switched use of mt_rand() · 21e7a574
      Malcolm Blaney authored
      to bin2hex(random_bytes()) for more secure random strings. Renamed
      parse_microformats helper function to parse_hentry, to reflect what
      it's used for. Also added new helper function parse_happ, which is
      now used by the authorisation endpoint to display the details of
      the application requesting authorisation. Reader module now has
      initial support for Microsub API. Code that consumes parsed
      microformats now follows summary fallback algorithm when
      unrecognised properties are found.
  8. 13 Oct, 2018 2 commits
  9. 11 Oct, 2018 1 commit
  10. 10 Oct, 2018 2 commits
  11. 03 Oct, 2018 1 commit
  12. 02 Oct, 2018 2 commits
  13. 18 Sep, 2018 1 commit
  14. 13 Sep, 2018 5 commits
  15. 12 Sep, 2018 3 commits
  16. 21 Aug, 2018 2 commits
  17. 20 Aug, 2018 2 commits
  18. 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.
  19. 17 Aug, 2018 1 commit
    • Malcolm Blaney's avatar
      Added a new function decimalString to javascript files wherever · d5a4943c
      Malcolm Blaney authored
      toFixed(2) is used, to deal with rounding issues for some floating
      point numbers. Also fixed a few bugs in Sell module: changing a
      username would overwite existing unsaved data, and the quantity
      adjustment update was getting run twice due to bad price comparison.