Skip to content
Snippets Groups Projects
  1. Apr 29, 2016
  2. Apr 28, 2016
  3. Apr 27, 2016
    • Carsten  Rose's avatar
      Upload: first version which really uploads file, saving to destination. · 9c24d2d3
      Carsten Rose authored
      Sanitize.php: new sanitize class ALLBUT. New function safeFilename().
      Support.php: New function mkDirParent().
      Store.php: new system config variable SYSTEM_SITE_PATH.
      QuickFormQuery.php: fills STORE_RECORD before saving the current record.
      Save.php: moving the file to the final destination.
      9c24d2d3
    • Carsten  Rose's avatar
      Support.php: added some phpdoc · 7216390c
      Carsten Rose authored
      7216390c
    • Carsten  Rose's avatar
      Rewrote upload to be concurrent save. · e3da2abe
      Carsten Rose authored
      Store.php: fills arrays direct in $_SESSION - not sure if this works.
      AbstractBuildForm.php: buildFile() extended to create hidden sipUplaod element.
      BuildFormBootstrap.php: support different actions on calling file.php
      File.php, Save.php: rewrote whole logic of uploading files. See CODING.md
      e3da2abe
  4. Apr 26, 2016
  5. Apr 25, 2016
  6. Apr 21, 2016
  7. Apr 19, 2016
  8. Apr 18, 2016
  9. Apr 16, 2016
  10. Apr 14, 2016
    • Carsten  Rose's avatar
      After creating a new record and still open form: a new sip is created and... · 16408b47
      Carsten Rose authored
      After creating a new record and still open form: a new sip is created and transfered to client. Attention: 'new + save + modify + save again' still create two records (error).
      AbstractBuildForm.php: buildNewSip() renamed to buildHiddenSip(). Call of buildHiddenSip() moved from tail() to process(). buildHiddenSip() returns JSON code too.
      BuildFormBootstrap.php, BuildFromPlain.php, BuildFormTable.php : removed call buildNewSip()
      QuickFormQuery.php: After save, reload current record and create new sip
      Save.php: process() returns id of affected record.
      16408b47
  11. Apr 13, 2016
    • Carsten  Rose's avatar
      Preparation to update Form after saving values. · 092e6deb
      Carsten Rose authored
      save.php: return JSON with updated values of all fields.
      AbstractBuildForm.php: updated to deliver values of all form elements
      Constants.php: constants to distinguish all or specific values of FEs. QUERY_TYPE_*
      Database.php: doSQL now returns affectedrows or lastinsertid in case of udpate/inset. Typos fixed.
      QuickFormQuery.php: deliver Values as JSON after save.
      Save.php: return lastinsertid or affectedrows.
      092e6deb
  12. Apr 11, 2016
Loading