Skip to content
Snippets Groups Projects
  1. Apr 24, 2016
    • Jared Hancock's avatar
      files: Require authentication to view attachments · c4579277
      Jared Hancock authored
      This feature adds a setting to the control panel to require signing in to
      view attachments. This is in addition to the security already provided in
      the download URLs. Currently, download URLs are signed for a specific help
      desk, and automatically expire after about 24 hours. The exact timing is the
      following midnight allowing for at least 12 hours cache time.
      
      Administrators can impose this extra security feature to refuse serving
      attachment files if the user is not currently signed in. This could prevent
      third-party users from viewing an attachment if they were able to get access
      to the download URL before it expired.
      c4579277
  2. Mar 30, 2016
  3. Mar 29, 2016
  4. Mar 28, 2016
  5. Mar 27, 2016
  6. Mar 26, 2016
  7. Mar 25, 2016
  8. Mar 24, 2016
  9. Mar 20, 2016
    • Jared Hancock's avatar
      login: Make the backdrop customizable · 463de2e9
      Jared Hancock authored
      This duplicates the custom logo code to allow for custom login backdrops. A
      new page is added to the "Company" settings page which allows for management
      of the uploaded custom backdrops.
      463de2e9
  10. Mar 19, 2016
  11. Mar 18, 2016
    • Jared Hancock's avatar
      orm: Add TTL to APCu cache stores · 57b109dc
      Jared Hancock authored
      57b109dc
    • Jared Hancock's avatar
      orm: Use faster newInstance method, cache ModelMeta · 5c0ac68e
      Jared Hancock authored
      Use APCu, if available, to cache the compiled model meta data.
      5c0ac68e
    • Jared Hancock's avatar
      orm: Migrate create functionality to the constructor · 1ba40e35
      Jared Hancock authored
      Previously, the create method was used to create a new instance of an orm
      model (which would later result in an INSERT when persisted); however, some
      classes require or utilize varying parameters to their create() method,
      which PHP7 considers an error. Methods in subclasses must be defined with a
      calling signature compatible with the parent class.
      
      This patch shifts the concept of model creation to the constructor. Now, the
      constructor of ORM models is required to be compatible with that of
      ModelBase class. Now that most models do not define a constructor, this is
      much easier to control, and much more logical.
      
      Also, remove an issue where assignments on a relationship field to an
      instance of a super class of the foreign model would raise an error. This
      was previously addressed by re-classing the instance in the
      ModelInstanceManager::getOrBuild(); however that design would create
      multiple instances of the same object in memory, which defeats one of the
      primary design concepts of the ORM. This patch addresses the issue by
      allowing super-classes of the declared foreign model in relationship
      assignments.
      1ba40e35
    • Jared Hancock's avatar
      php: Support PHP 7, require at least 5.4 · 9616a61d
      Jared Hancock authored
      This commit attempts to remove all coding standard warnings emitted by PHP
      7.0.
      9616a61d
Loading