1. 23 Sep, 2016 2 commits
    • Adam Wujek's avatar
      [Bug: 1219] rootfs/www: fix problem with uploading the firmware · a71cbce8
      Adam Wujek authored
      PHP code of the web interface was updating values of "upload_max_filesize"
      and "post_max_size" in the /etc/php.ini. Besides it is extremely bad idea to
      do that, such changes to take place require restart of lighttpd, which was
      never performed. Luckily after the update of /etc/php.ini it was also copied
      to flash at the location /usr/etc/php.ini. Because of this update via
      webinterface worked only when:
      --firmware.php was opened via web browser
      --restart of a switch was performed
      
      The fix contains a patch to set these values in the php.ini and remove
      the update of php.ini by php code.
      
      Set maximum upload limit size to 30M in php.ini.
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      a71cbce8
    • Adam Wujek's avatar
      rootfs/www: clean up webinterface's code · 7061b6f7
      Adam Wujek authored
      Following changes were made in this commit:
      --Add quotas to the arrays in the file var/www/data/wrs-data.php
      --Change CONFIG_PORT00_PARAMS to CONFIG_PORT01_PARAMS in the
        var/www/endpointcalibration.php. It looks like it was missed during
        interface renaming.
      --Change "file" into "firmware" in the firmware input form
      --Remove the help when mouse hovers over the form. The help wasn't filled
        anyway (remove title="'.$row["help"].).
      --fix part of the shell_exec command: awk '{print $NF}'
        escape the $
      --use index 0..5 in the sfpcalibration.php
      --remove unlink after calling "rename" function
      Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
      7061b6f7
  2. 05 Sep, 2016 5 commits
  3. 31 Aug, 2016 1 commit
  4. 30 Aug, 2016 17 commits
  5. 22 Aug, 2016 1 commit
  6. 15 Aug, 2016 1 commit
  7. 12 Aug, 2016 9 commits
  8. 11 Aug, 2016 4 commits