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.
      162c6473
  2. 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'.
      9cd58fab
  3. 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.
      b907e1f7
  4. 19 Oct, 2018 1 commit
  5. 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.
      21e7a574
  6. 14 May, 2018 1 commit
  7. 11 May, 2018 1 commit
  8. 06 May, 2018 1 commit
  9. 04 May, 2018 1 commit
  10. 01 Apr, 2018 1 commit
  11. 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
  12. 20 Feb, 2018 1 commit
  13. 19 Feb, 2018 1 commit
  14. 18 Feb, 2018 1 commit
  15. 02 Feb, 2018 1 commit
  16. 09 Jan, 2018 1 commit
  17. 09 Dec, 2017 1 commit
  18. 17 Oct, 2017 1 commit
  19. 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
  20. 14 Aug, 2017 1 commit
    • Malcolm Blaney's avatar
      Add action field to Detail module so that user can set the page they · 3b22aa7d
      Malcolm Blaney authored
      want to use for web actions without using the browser's protocol
      handler. Add discover_endpoint function to microformats.php and
      remove duplicated code from Post and Indieauth modules. This function
      is now also used by webaction.php which will return the config of
      local users and perform webaction endpoint discovery for others.
      Indie-config no longer checks for the web+action protocol handler,
      instead what was a fallback dialog is now shown straight away. A user
      can enter a url to perform webaction config discovery.
      Members module now reloads data when visibility of supplier and
      active columns change. SimplePie get_id can't use full content in
      hash because content can change on every page reload.
      3b22aa7d
  21. 20 Jan, 2017 1 commit
  22. 22 Aug, 2016 1 commit
  23. 21 Jul, 2016 1 commit
  24. 19 Jul, 2016 1 commit
  25. 13 Jul, 2016 1 commit
  26. 23 Jun, 2016 1 commit
    • Malcolm Blaney's avatar
      Better markup in comment module, now updates existing comments when · 672c58d1
      Malcolm Blaney authored
      a duplicate webmention is received. Post module now returns after
      creating a new post and then sends webmentions from a callback.
      Received webmentions are now handled by a queue, and webmentions are
      also resent for links in a post when a comment is received. Reader
      module also uses a queue to process received updates. Notifications
      are now sent to users when a reply is received for any comments
      that have been received via webmention.
      672c58d1
  27. 31 May, 2016 1 commit
  28. 11 May, 2016 1 commit